CN103793990B - The verification method of invoice and system - Google Patents

The verification method of invoice and system Download PDF

Info

Publication number
CN103793990B
CN103793990B CN201210434420.1A CN201210434420A CN103793990B CN 103793990 B CN103793990 B CN 103793990B CN 201210434420 A CN201210434420 A CN 201210434420A CN 103793990 B CN103793990 B CN 103793990B
Authority
CN
China
Prior art keywords
invoice
information
image
code
data base
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210434420.1A
Other languages
Chinese (zh)
Other versions
CN103793990A (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

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Embodiments provide verification method and the system of a kind of invoice.The method specifically includes that and is arranged on electronic edition invoice by the Quick Response Code comprising cipher-text information, position and the direction of Quick Response Code in invoice image is determined according to the position sensing figure behind location, obtain image in 2 D code, cleartext information and the cipher-text information of Quick Response Code is extracted from image in 2 D code, AES and encryption key is utilized to extract the element information of invoice from cipher-text information, element information according to the invoice extracted is inquired about in data base in invoice and is carried out matching inquiry, determines the result of invoice according to matching inquiry result.The embodiment of the present invention is checked server unification by invoice and the invoice image of above-mentioned paper invoice is verified, and solves when domestic consumer carries out true from false of bills checking and needs the equipment such as Quick Response Code scanner, with high costs, the shortcoming of profit inconvenient to carry.

Description

The verification method of invoice and system
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to verification method and the system of a kind of invoice.
Background technology
For a long time, the management problems of invoice annoyings basic taxation department always, and the attention degree of managing bill is inadequate, 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 specification managing bill, State General Taxation Administration proposes the invoice of " with ticket pipe tax " theory and opens pattern.It is have " make out an invoice online, the verification of real-time query, ticket table, with ticket pipe tax, closed loop management " a kind of brand-new managing bill pattern of function that invoice is opened, comprehensively, accurate recording taxpayer business activities, it is ensured that the uniqueness of invoice circulation, verity and safety.True from false of bills checking is an important ring in managing bill pattern, to alleviating tax authority's work load, improves taxpayer and discerns the false from the genuine ability, reduce the invoice case of violation of law and all have positive meaning.
Current true from false of bills checking, relies primarily on manual examination and verification and ticket checking, it is impossible to put in place from quality and quantitatively certified invoice management.Therefore, developing a kind of high efficiency true from false of bills verification method is a problem demanding prompt solution.
Summary of the invention
The embodiment provides the verification method of a kind of invoice and system, to realize the true and false of invoice is verified effectively.
A kind of verification method of invoice, including:
Step A, by the AES set and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, in invoice, the element information of described invoice, AES and encryption key are inquired about data base store, described electronic edition invoice is carried out printing and obtains paper invoice;
Step B, described paper invoice is taken pictures obtains invoice image, position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cleartext information and cipher-text information;
Step C, inquire about in data base in invoice according to described cleartext information and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that described cipher-text information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result.
A kind of checking system of invoice, including:
Make out an invoice terminal, for the AES by setting and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, AES and encryption key are transferred to network billing server, described electronic edition invoice are carried out printing and obtains paper invoice;
Invoice examination client, for the position sensing figure in invoice image is positioned, described invoice image is obtain by described paper invoice is taken pictures, position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server;
Invoice examination server, inquire about in invoice inquiry data base for checking the cleartext information in the 2 D code information that client sends over according to described invoice, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result.
A kind of checking system of invoice, including:
Make out an invoice terminal, for the AES by setting and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, AES and encryption key are transferred to network billing server, described electronic edition invoice are carried out printing and obtains paper invoice;
Invoice examination client, for obtaining the invoice image of described paper invoice, described invoice image is obtain by described paper invoice is taken pictures, and described invoice image is sent to image processing server;
Image processing server, for the position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cleartext information and cipher-text information, described 2 D code information is sent to invoice examination server;
Invoice examination server, inquire about in data base in invoice for the cleartext information in the 2 D code information that sends over according to described image processing server and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result.
The technical scheme provided by embodiments of the invention described above can be seen that, the embodiment of the present invention is by being arranged in paper invoice by the Quick Response Code of the element information carrying invoice, checked server unification by invoice the invoice image of above-mentioned paper invoice is verified, solve when domestic consumer carries out true from false of bills checking and need the equipment such as Quick Response Code scanner, with high costs, the shortcoming of profit inconvenient to carry.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below the accompanying drawing used required 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 skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be the embodiment of the present invention one propose a kind of invoice verification method realize schematic diagram;
Fig. 2 is the concrete process chart of the verification method of a kind of invoice that the embodiment of the present invention one proposes;
Fig. 3 is the example schematic of a kind of Quick Response Code that the embodiment of the present invention one proposes;
Fig. 4 is the sequence of modules schematic diagram of a kind of position sensing figure that the embodiment of the present invention one proposes;
Fig. 5 is the principle schematic sitting calibration method of a kind of central point determining position sensing region that the embodiment of the present invention one proposes;
Fig. 6 is the principle schematic in a kind of direction determining image in 2 D code that the embodiment of the present invention one proposes;
Fig. 7 is that a kind of user of examination that the embodiment of the present invention one proposes checks, by invoice, the process chart that invoice is verified by client;
Fig. 8 is the concrete structure figure of the checking system of a kind of invoice that the embodiment of the present invention two proposes;
The structure chart of the checking system of the another kind of invoice that Fig. 9 provides for the embodiment of the present invention two.
Detailed description of the invention
For ease of the understanding to the embodiment of the present invention, it is further explained explanation below in conjunction with accompanying drawing for several specific embodiments, and each embodiment is not intended that the restriction to the embodiment of the present invention.Due to most popular in invoice field in Quick Response Code be QR-CODE, therefore in the present invention use QR-CODE citing, this method is also applied for the Quick Response Code of other code systems.
Embodiment one
The embodiment of the present invention combines based on image and Quick Response Code fixation and recognition technology, the printing Quick Response Code containing the relevant information such as invoice codes 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 effective monitoring.This embodiment proposes the verification method of a kind of invoice, the method realize schematic diagram as it is shown in figure 1, concrete handling process is as in figure 2 it is shown, include following process step:
Element information and the cleartext information of invoice are arranged in Quick Response Code by step 21, terminal of making out an invoice, and above-mentioned Quick Response Code is printed on the appointment position of invoice.
Quick Response Code is the chequered with black and white graphic recording data symbol information being distributed in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure, coding utilizes the concept of " 0 ", " 1 " bit stream constituting computer-internal logical foundations dexterously, use several geometrical bodies corresponding with binary system to represent word numerical information, automatically processed to realize information by image input device or photoelectric scanning device automatically identifying and reading.
The example of a kind of Quick Response Code that this embodiment provides is as it is shown on figure 3, Quick Response Code has following feature:
1, high density coding, information capacity is big, can hold up to 1850 capitalizations or 2710 numerals or 1108 bytes, or more than 500 Chinese character, about higher than common bar code information capacity tens times.
2, coding range is wide: this bar code digitized information can be encoded image, sound, word, signature, fingerprint etc., shows by bar code;Polyglot word can be represented;View data can be represented.
3, fault-tolerant ability is strong, has error correction: this make two-dimensional bar code because of perforation, stained etc. cause local damage time, recognition can be correctly obtained in the same old way, damaged area reaches 50% still can recover information.
When needs issue invoice to user, above-mentioned Quick Response Code by encoding setting in Quick Response Code, then is arranged on the appointment position of invoice after utilizing encryption key and AES to be encrypted by the element information of invoice by terminal of making out an invoice by drawer.Above-mentioned encryption key is that drawer is obtained by register flow path, and drawer needs register flow path when using and make out an invoice terminal first, interacts with bill billing server, including carrying out identification authorization and obtaining encryption key.After obtaining encryption key, terminal of making out an invoice just can be encrypted and generated 2 D code information and be printed with the paper invoice of two-dimension code image.
Above-mentioned Quick Response Code is bipartite, and Part I is cleartext information, mainly includes the information of the side of making out an invoice, and including the side's of making out an invoice identifier, extension number (obtains for decruption key and uses), AES labelling.Part II is cipher-text information, mainly includes the element information of the invoice of encryption, including invoice codes, invoice number, the amount of money, the side's of making out an invoice duty paragraph, security code, type of making out an invoice, payer, the information such as time of making out an invoice.
The cleartext information of above-mentioned invoice, element information, AES and encryption key and electronic ticket are transferred to the network billing server of tax office by terminal of making out an invoice by drawer, the cleartext information of above-mentioned invoice, element information, AES and encryption key and electronic ticket are associated storage by this network billing server in invoice Production database, then, terminal of making out an invoice is to user's print paper invoice.
The present invention arranges invoice verification server and invoice inquiry data base at server end, and this invoice inquiry data base and above-mentioned invoice Production database need to synchronize at set time intervals.Inquire about in data base in invoice and also to store revoking status information, information of making out an invoice and opening the information such as state of invoice.
Step 22, when checking user and needing the true and false verifying above-mentioned paper invoice, use imaging device (as first-class in imaged) to obtain the invoice image of paper invoice comprising 2 D code information.
Step 23, invoice examination client obtains above-mentioned invoice image, and invoice examination client first verifies that the identity of examination user, if it find that examination user does not check authority then directly to examination user feedback " not having invoice examination authority ";If the authentication of examination user is passed through, then judge whether invoice examination client arranges image processing module, if it is, perform step 24;Otherwise, step 25 is performed.
Step 24, the present invention can check at invoice and arrange image processing module in client, and this image processing module needs that above-mentioned invoice image carries out pretreatment, Quick Response Code location and 2 D code information and extracts operation.
Above-mentioned preprocessing process is as follows: due to the impact by photo environment and illumination etc., obtain view data or be subject to sound pollution, or it is image blurring, brightness is partially dark, or geometrically angled inclination, above-mentioned invoice examination client needs above-mentioned image carries out relevant pretreatment, in order to the identification of Quick Response Code.
Above-mentioned image carries out the conversion of form, and the general image obtained is all the data form compressed such as jpg or jpeg, it is necessary to convert thereof into the bmp form without compression.Next, if coloured image, in addition it is also necessary to carry out ash value and process, the image of reading is all unified to convert to the gray level image of bmp form, it is simple to the process of subsequent algorithm.
Then, carry out above-mentioned invoice image removing process of making an uproar, the image that above-mentioned imaging device obtains is typically subject to the pollution of noise, affect the correct reading of view data, make an uproar it is thus desirable to carry out image removing, in Quick Response Code removes and makes an uproar, the more commonly used method is medium filtering denoising, adopts the rectangular window of 5 × 5.
Finally, above-mentioned invoice image being carried out binary conversion treatment, the binary conversion treatment of gray level image is exactly that the gray scale saying the point on image is set to 0 or 255, namely says that whole image presents obvious black and white effect.Chosen by suitable threshold values by the gray level image of 256 brightness degrees and obtain and still can reflect that image is overall and the binary image of local feature.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..
Position sensing figure in described invoice image is positioned by the image processing module in invoice examination client, determines position and the direction of Quick Response Code in described invoice image according to the position sensing figure behind location.
As shown in Figure 3, the upper left corner at Quick Response Code, the upper right corner, lower right-hand corner has 3 identical position sensing figures for location positioning, each position sensing figure can be regarded as and is made up of 3 overlapping concentric squares, the sequence of modules schematic diagram of each position sensing figure is as shown in Figure 4, it is made up of a dark color-light color-dark color-light color-dark color order, respectively 7 × 7 dark modules, 5 × 5 light module and 3 × 3 dark modules, the ratio of each module relative width is 1: 1: 3: 1: 1, the size allowed band of the square that width tolerance is 0.5(and individual module of module is 0.5~1.5, the width of the square of 3 module widths allows size range to be 2.5~3.5).
Image is carried out detection both horizontally and vertically by the image processing module in invoice examination client, graphic characteristics according to the position sensing figure in above-mentioned Quick Response Code obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions.Determine the principle schematic sitting calibration method of central point in position sensing region 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 this square outermost pixel line in the horizontal direction, record this square outermost pixel line in the vertical direction, obtaining four straight lines, namely the center taking defined rectangle detects the central point of figure.
Utilize above-mentioned processing procedure can obtain the center point coordinate of 3 position sensing figures respectively, after position sensing figure is positioned, according to the center point coordinate of 3 position sensing figures by calculating the centre coordinate that can obtain image in 2 D code.Determine the principle schematic in direction of image in 2 D code as shown in Figure 6, may determine that the deflection angle of Quick Response Code according to the deflection angle of the level of line of 3 position sensing centre of figure points, vertical direction, so that it is determined that the direction of image in 2 D code.If image in 2 D code has deformation geometrically, it is possible to use bilinear transformation interpolation method, image in 2 D code is carried out geometry rotational correction.
The coordinate of the central point according to described image in 2 D code and the direction of described image in 2 D code, extract image in 2 D code from described invoice image.Then, from image in 2 D code, 2 D code information is extracted.First, read in Quick Response Code format information and version information, eliminate mask, then carrying out error correction inspection, if needing error correction, carrying out error-correction operation, then carry out numeric data code decoded operation, finally output decoding result and 2 D code information.Described 2 D code information is the Quick Response Code comprising cipher-text information and cleartext information (mainly including 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.
Perform step 26.
Step 25, image processing server is set at server end, the image of the above-mentioned paper invoice comprising 2 D code information is sent to image processing server by invoice examination client, the image processing module that this image processing server is checked in client with above-mentioned invoice is the same, above-mentioned image is carried out the pretreatment in above-mentioned steps 24, Quick Response Code location and 2 D code information and extracts operation, obtain image in 2 D code, from this image in 2 D code, extract the 2 D code information comprising cleartext information and cipher-text information.
Above-mentioned 2 D code information is sent to invoice examination server by image processing server.Perform step 26.
Step 26, invoice examination server is inquired about in invoice inquiry data base according to the cleartext information in the 2 D code information received, and obtains encryption key and the encryption key of the invoice of storage in invoice inquiry data base.
Cipher-text information in 2 D code information is decrypted by invoice examination server according to the encryption key of AES set in advance and acquisition.If invoice decryption error illustrates that 2 D code information is wrong, then it is assumed that be abnormal invoice;If invoice deciphering is correct, the element information of invoice can be obtained, including invoice codes, invoice number, the amount of money, the side's of making out an invoice duty paragraph, security code, type of making out an invoice, payer, make out an invoice the time etc..
The element information of the invoice that step 27, invoice examination server obtains according to deciphering is inquired about in data base in described invoice and is carried out matching inquiry, revoking status information, information of making out an invoice and opening status information of the described invoice of storage in data base is inquired about, it is determined that whether described invoice is the result that described invoice determined by normal invoice according to described matching inquiry result and described invoice.
Examination user by invoice examination client handling process that invoice is verified as it is shown in fig. 7, specifically processing procedure is as follows:
First, invoice codes and invoice number are carried out matching inquiry, in invoice inquiry data base, matching inquiry is carried out according to the invoice codes in the element information deciphering the invoice obtained and invoice number, if inquiring invoice codes and the invoice number of correspondence, then the match is successful, illustrate selling invoices information has this invoice information, jump to second step;If it fails to match, then illustrate that what network opened system not this invoice sells information, assert that this invoice is for abnormal invoice, and forward invoice information true and false processing procedure to.
Second, according to inquire invoice inquiry data base in this invoice revoke status information, 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, display inquiry invoice status (loss etc.), and it is labeled as abnormal invoice;Otherwise forward the 3rd step to.
3rd, information of making out an invoice according to this invoice in the invoice inquiry data base inquired, judge whether information of making out an invoice gathers, namely whether this invoice has been opened successfully, if this invoice is but without opening, then jumping to invoice information true and false feedback processing process, information is sold in display, the prompting information of making out an invoice does not gather, and is labeled as abnormal invoice;Otherwise forward the 4th step to.
4th, according to inquire invoice inquiry data base in this invoice open status information, it is judged that whether invoice issuing state is normally fill out.Reimbursement voucher is cannot function as owing to filling out voided check and blank invalidated ticket.So when finding the invoice issuing abnormal state of inquiry, jumping to invoice information true and false feedback processing process, display invoice issuing state (is filled out with calcellation, blank calcellation etc.), and is labeled as abnormal invoice;Otherwise forward invoice information true and false feedback processing process and the detailed ticket information according to different ticket kind display inquiry invoices to.
The processing procedure of above-mentioned invoice information true and false feedback processing process includes:
If the details of invoice are successfully sent to invoice information true and false feedback module by invoice matching inquiry, if it fails to match for invoice, then check labelling false tickets information in data base at network, process in order to tax office.
Invoice information true and false feedback module feedback true from false of bills result.Result according to the examination of Quick Response Code invoice information, feeds back in two kinds of situation:
First, if invoice checks successfully (namely Quick Response Code invoice information examination module the 4th step judge mark is the branch of "Yes"), then inquiring about, from above-mentioned invoice, the detailed electronic ticket surface information extracting this invoice data base, user is by the electronic ticket information fed back and papery ticket information comparison.
If electronic ticket information and papery ticket information are completely the same, then illustrate that invoice is normal invoice.
If electronic ticket information and papery ticket information are inconsistent, user can report.This invoice of labelling is abnormal invoice by system, and is sent to (invoice monitoring system), treats that tax staff processes.
Second, if invoice is checked unsuccessfully, then the directly corresponding error message of feedback user.Colleague's labelling invoice is abnormal invoice, and is sent to (invoice monitoring system), treats that tax staff processes.
Embodiment two
This embodiment offers the checking system of a kind of invoice, its concrete structure as shown in Figure 8, the unit including following:
Make out an invoice terminal 81, for the AES by setting and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, AES and encryption key are transferred to network billing server, described electronic edition invoice are carried out printing and obtains paper invoice;
Invoice examination client 82, for the position sensing figure in invoice image is positioned, described invoice image is obtain by described paper invoice is taken pictures, position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server;
Invoice examination server 83, inquire about in invoice inquiry data base for checking the cleartext information in the 2 D code information that client sends over according to described invoice, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result.
Concrete, described terminal 81 of making out an invoice, it is additionally operable to when needs issue invoice to user, AES and encryption key is determined alternately by carrying out information with network billing server, utilize described AES and encryption key that the element information of invoice is encrypted and obtain cipher-text information, by encoding, described cipher-text information is arranged in Quick Response Code, described Quick Response Code also sets up cleartext information, this cleartext information includes the information of the side of making out an invoice of invoice, and described Quick Response Code is arranged on the appointment position of invoice;
Interact with network billing server, the electronic ticket of described invoice, cleartext information, element information, AES and encryption key are transferred to described network billing server, to user's print paper invoice.
Concrete, described invoice examination client 82 may include that
Pretreatment module 821, for when needing to verify the true and false of paper invoice comprising Quick Response Code, imaging device is used to obtain the invoice image of described paper invoice, described invoice image is carried out pretreatment, this pretreatment includes the gray level image that described invoice picture converts to uncompressed format, carries out described gray level image removing make an uproar process and binary conversion treatment;
Image in 2 D code locating module 822, for described invoice image is carried out detection both horizontally and vertically, graphic characteristics according to the position sensing figure in the Quick Response Code set obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions;
Position and the coordinate of central point according to described 3 position sensing regions pass through to calculate the coordinate of the central point obtaining image in 2 D code, determine the direction of image in 2 D code according to the deflection angle of the level of line of the central point of described 3 position sensing figures, vertical direction;
2 D code information extraction module 823, the direction according to 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 the information of Quick Response Code.First, read in Quick Response Code format information and version information, eliminate mask, then carrying out error correction inspection, if needing error correction, carrying out error-correction operation, then carry out numeric data code decoded operation, finally output decoding result and 2 D code information.Described 2 D code information is the Quick Response Code comprising cipher-text information and cleartext information.Described 2 D code information is sent to invoice examination server.
Concrete, described invoice examination server 83 may include that
2 D code information deciphering module 831, inquire about in invoice inquiry data base for checking the cleartext information in the 2 D code information that client sends over according to described invoice, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice;
Invoice information enquiry module 832, in described invoice inquiry data base, matching inquiry is carried out for the invoice codes in the element information according to described invoice, according to described matching inquiry result and described invoice inquire about the described invoice of storage in data base revoke status information, information of making out an invoice and open status information, determine the result of described invoice, it is judged that whether described invoice is normal invoice;
Described invoice information enquiry module, has and carries out matching inquiry for being inquired about in data base in described invoice by the invoice codes in the element information of described invoice, if the invoice codes and invoice number that match can be inquired, then performs step A;Otherwise, it determines the invoice codes of described invoice it fails to match;
Step A, according to inquire invoice inquiry data base in described invoice revoke status information, it is judged that whether described invoice belongs to invoice out of control, if it is not, then perform step B;Otherwise, it determines the invoice codes of described invoice it fails to match;
The information of making out an invoice of the described invoice in the invoice inquiry data base that step B, basis inquire, it is judged that whether the information of making out an invoice of described invoice is acquired, if it is, perform step C;Otherwise, it determines the information of making out an invoice of described invoice does not gather;
Step C, according to inquire invoice inquiry data base in described invoice open status information, it is judged that whether the state of opening of described invoice is normally fill out, if it is, determine that described invoice is normal invoice;Otherwise, it determines the information of making out an invoice of described invoice does not gather.
Invoice information true and false feedback module 833, for determine the invoice codes of described invoice at described invoice information enquiry module it fails to match or described invoice belong to the information of making out an invoice of invoice out of control or described invoice do not gather or the state of opening of described invoice be not normally fill out after, determine that described invoice is for abnormal invoice, to the examination corresponding error message of user feedback;Determine that described invoice is normal a/d at described invoice information enquiry module, described invoice is inquired about the electronic ticket of the described invoice of storage in data base and is sent to described invoice examination client, so that described examination user checks client by described invoice and the electronic ticket of described invoice and the papery ticket of described invoice contrasted.
The structure of the checking system of the another kind of invoice that this embodiment provides is as it is shown in figure 9, include following unit:
Make out an invoice terminal 91, for the AES by setting and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, AES and encryption key are transferred to network billing server, described electronic edition invoice are carried out printing and obtains paper invoice;
It is additionally operable to when needs issue invoice to user, AES and encryption key is determined alternately by carrying out information with network billing server, utilize described AES and encryption key that the element information of invoice is encrypted and obtain cipher-text information, by encoding, described cipher-text information is arranged in Quick Response Code, described Quick Response Code also sets up cleartext information, this cleartext information includes the information of the side of making out an invoice of invoice, and described Quick Response Code is arranged on the appointment position of invoice;Interact with network billing server, the electronic ticket of described invoice, cleartext information, element information, AES and encryption key are transferred to described network billing server, to user's print paper invoice.
Invoice examination client 92, for obtaining the invoice image of described paper invoice, described invoice image is obtain by described paper invoice is taken pictures, and described invoice image is sent to image processing server;
Image processing server 93, position sensing figure for described invoice is checked in the invoice image that client sends over positions, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cleartext information and cipher-text information, described 2 D code information is sent to invoice examination server;
Invoice examination server 94, inquire about in data base in invoice for the cleartext information in the 2 D code information that sends over according to described image processing server and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result.
Concrete, described image processing server 93 may include that
Pretreatment module 931, for described invoice image is carried out pretreatment, this pretreatment includes the gray level image that described invoice picture converts to uncompressed format, carries out described gray level image removing make an uproar process and binary conversion treatment;
Image in 2 D code locating module 932, for described invoice image is carried out detection both horizontally and vertically, graphic characteristics according to the position sensing figure in the Quick Response Code set obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions;
Position and the coordinate of central point according to described 3 position sensing regions pass through to calculate the coordinate of the central point obtaining image in 2 D code, determine the direction of image in 2 D code according to the deflection angle of the level of line of the central point of described 3 position sensing figures, vertical direction;
2 D code information extraction module 933, the direction according to 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 the information of Quick Response Code.First, read in Quick Response Code format information and version information, eliminate mask, then carrying out error correction inspection, if needing error correction, carrying out error-correction operation, then carry out numeric data code decoded operation, finally output decoding result and Quick Response Code content.Described 2 D code information is sent to invoice examination server.
Concrete, described invoice examination server 94 may include that
2 D code information deciphering module 941, inquire about in data base in invoice for the cleartext information in the 2 D code information that sends over according to described image processing server and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that described cipher-text information is decrypted, obtain the element information of invoice;
Invoice information enquiry module 942, in described invoice inquiry data base, matching inquiry is carried out for the invoice codes in the element information according to described invoice, revoking status information, information of making out an invoice and opening status information according to the described invoice stored in described matching inquiry result and described invoice inquiry data base, determine the result of described invoice, it is judged that whether described invoice is normal invoice.
Invoice codes in the element information of described invoice is inquired about in data base in described invoice and carries out matching inquiry, if the invoice codes and invoice number that match can be inquired, then perform step A;Otherwise, it determines the invoice codes of described invoice it fails to match;
Step A, according to inquire invoice inquiry data base in described invoice revoke status information, it is judged that whether described invoice belongs to invoice out of control, if it is not, then perform step B;Otherwise, it determines the invoice codes of described invoice it fails to match;
The information of making out an invoice of the described invoice in the invoice inquiry data base that step B, basis inquire, it is judged that whether the information of making out an invoice of described invoice is acquired, if it is, perform step C;Otherwise, it determines the information of making out an invoice of described invoice does not gather;
Step C, according to inquire invoice inquiry data base in described invoice open status information, it is judged that whether the state of opening of described invoice is normally fill out, if it is, determine that described invoice is normal invoice;Otherwise, it determines the information of making out an invoice of described invoice does not gather.
Invoice information true and false feedback module 943, for determine the invoice codes of described invoice at described invoice information enquiry module it fails to match or described invoice belong to the information of making out an invoice of invoice out of control or described invoice do not gather or the state of opening of described invoice be not normally fill out after, determine that described invoice is for abnormal invoice, to the examination corresponding error message of user feedback;Determine that described invoice is normal a/d at described invoice information enquiry module, described invoice is inquired about the electronic ticket of the described invoice of storage in data base and is sent to described invoice examination client, so that described examination user checks client by described invoice and the electronic ticket of described invoice and the papery ticket of described invoice contrasted.
The detailed process carrying out invoice validation by the system of the embodiment of the present invention is similar with preceding method embodiment, repeats no more herein.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
One of ordinary skill in the art will appreciate that: the module in equipment in embodiment can describe in the equipment being distributed in embodiment according to embodiment, it is also possible to carries out respective change and is disposed other than in one or more equipment of the present embodiment.The module of above-described embodiment can merge into a module, it is also possible to is further split into multiple submodule.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such 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-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
In sum, the embodiment of the present invention is by being arranged in paper invoice by the Quick Response Code of the element information carrying invoice, checked server unification by invoice the invoice image of above-mentioned paper invoice is verified, solve when domestic consumer carries out true from false of bills checking and need the equipment such as Quick Response Code scanner, with high costs, the shortcoming of profit inconvenient to carry.
The invoice validation method of the embodiment of the present invention have easy to operate simply, it is not necessary to installing image recognition and drive, Quick Response Code discrimination is high, and error correcting capability is strong, the characteristics such as the suitability is strong.Domestic consumer has only to general photographic head, or sectional drawing software gets invoice image, and invoice image is sent to invoice examination server can be verified true from false of bills.Reduce the acquisition cost of invoice validation special equipment, alleviate the burden of domestic consumer, accelerate the popularization of invoice anticounterfeiting.
The above; being only the present invention preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (14)

1. the verification method of an invoice, it is characterised in that including:
Step A, by the AES set and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, in invoice, the element information of described invoice, AES and encryption key are inquired about data base store, described electronic edition invoice is carried out printing and obtains paper invoice;
Step B, described paper invoice is taken pictures obtains invoice image, position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cleartext information and cipher-text information;
Step C, inquire about in data base in invoice according to described cleartext information and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that described cipher-text information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result;
Described step A specifically includes:
When needs issue invoice to user, terminal of making out an invoice determines AES and encryption key alternately by carrying out information with network billing server, described terminal of making out an invoice utilizes described AES and encryption key that the element information of invoice is encrypted to obtain cipher-text information, by encoding, described cipher-text information is arranged in Quick Response Code, described Quick Response Code also sets up cleartext information, this cleartext information includes the information of the side of making out an invoice of invoice, and described Quick Response Code is arranged on the appointment position of invoice;
Described terminal of making out an invoice interacts with network billing server, the electronic ticket of described invoice, cleartext information, element information, AES and encryption key are transferred to described network billing server, utilize described network billing server the electronic ticket of described invoice, cleartext information, element information, AES and encryption key to be inquired about in invoice and data base is associated storage, then, terminal of making out an invoice described in is to user's print paper invoice.
2. the verification method of invoice according to claim 1, it is characterised in that when checking and arrange image processing module at invoice in client, described step B specifically includes:
When the true and false of paper invoice needing checking to comprise Quick Response Code, imaging device is used to obtain the invoice image of described paper invoice;
Invoice examination client obtains described invoice image, described invoice image is carried out pretreatment by the image processing module in invoice examination client, this pretreatment includes the gray level image that described invoice image converts to uncompressed format, carries out described gray level image removing make an uproar process and binary conversion treatment;
Described invoice image is carried out detection both horizontally and vertically by described image processing module, graphic characteristics according to the position sensing figure in the Quick Response Code set obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions;
Described image processing module passes through to calculate the coordinate of the central point obtaining image in 2 D code according to the position in described 3 position sensing regions and the coordinate of central point, determines the direction of image in 2 D code according to the deflection angle of the level of line of the central point of described 3 position sensing figures, vertical direction;
The direction of the described image processing module coordinate according to the central point of described image in 2 D code and described image in 2 D code, image in 2 D code is extracted from described invoice image, extracting the 2 D code information comprising cipher-text information and cleartext information from described image in 2 D code, described 2 D code information is sent to invoice examination server by described invoice examination client.
3. the verification method of invoice according to claim 1, it is characterised in that when arranging image processing server at server end, described step B specifically includes:
When the true and false of paper invoice needing checking to comprise Quick Response Code, imaging device is used to obtain the invoice image of described paper invoice;
Invoice examination client obtains described invoice image, described invoice image is sent to image processing server, described invoice image is carried out pretreatment by described image processing server, this pretreatment includes the gray level image that described invoice image converts to uncompressed format, carries out described gray level image removing make an uproar process and binary conversion treatment;
Described invoice image is carried out detection both horizontally and vertically by described image processing server, graphic characteristics according to the position sensing figure in the Quick Response Code set obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions;
Described image processing server passes through to calculate the coordinate of the central point obtaining image in 2 D code according to the position in described 3 position sensing regions and the coordinate of central point, determines the direction of image in 2 D code according to the deflection angle of the level of line of the central point of described 3 position sensing figures, vertical direction;
The direction of the described image processing server coordinate according to 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 comprising cipher-text information and cleartext information;
Described 2 D code information is sent to invoice examination server by described image processing server.
4. the verification method of the invoice according to Claims 2 or 3, it is characterised in that described step C includes:
C1, described invoice examination server is inquired about in invoice inquiry data base according to the cleartext information in the 2 D code information received, and obtains corresponding encryption key and AES;
The cipher-text information of described Quick Response Code is decrypted by C2, described invoice examination server according to the encryption key obtained and AES, obtains the element information of described invoice;
C3, element information according to described invoice, inquire about in data base in described invoice and carry out matching inquiry, if the billing information matched can be inquired, it is determined that the result of described invoice is true, otherwise determines that the result of described invoice is false.
5. the verification method of invoice according to claim 4, it is characterised in that described step C3 includes:
Invoice codes in the element information of described invoice is inquired about in data base in described invoice and is carried out matching inquiry by C31, described invoice examination server, if the invoice codes matched can be inquired, then performs step C32;Otherwise, it determines described invoice is abnormal invoice;
C32, described invoice examination server revokes status information according to this invoice in the invoice inquiry data base inquired, it is judged that whether described invoice belongs to invoice out of control, if being not belonging to invoice out of control, then performs step C33;Otherwise, it determines described invoice is abnormal invoice;
C33, the described invoice examination server information of making out an invoice according to this invoice in the invoice inquiry data base inquired, it is judged that whether the information of making out an invoice of described invoice is acquired, if it is, perform step C34;Otherwise, it determines described invoice is abnormal invoice, described in the information of making out an invoice include: the side's of making out an invoice duty paragraph, security code, type of making out an invoice and make out an invoice the time;
C34, described invoice examination server opens state according to what the invoice that inquires inquired about this invoice in data base, it is judged that whether the state of opening of described invoice is normally fill out, if it is, determine that the authentication result of described invoice is true;Otherwise, it determines described invoice is abnormal invoice.
6. the verification method of invoice according to claim 5, it is characterised in that described step C also includes:
Described invoice is inquired about the electronic ticket of the described invoice of storage in data base and is sent to described invoice examination client by described invoice examination server, the electronic ticket of described invoice and the papery ticket of described invoice is contrasted so that examination user checks client by described invoice.
7. the checking system of an invoice, it is characterised in that including:
Make out an invoice terminal, for the AES by setting and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, AES and encryption key are transferred to network billing server, described electronic edition invoice are carried out printing and obtains paper invoice;
Invoice examination client, for the position sensing figure in invoice image is positioned, described invoice image is obtain by described paper invoice is taken pictures, position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server;
Invoice examination server, inquire about in invoice inquiry data base for checking the cleartext information in the 2 D code information that client sends over according to described invoice, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result;
Described terminal of making out an invoice, it is additionally operable to when needs issue invoice to user, AES and encryption key is determined alternately by carrying out information with network billing server, utilize described AES and encryption key that the element information of invoice is encrypted and obtain cipher-text information, by encoding, described cipher-text information is arranged in Quick Response Code, also setting up cleartext information in described Quick Response Code, this cleartext information includes the information of the side of making out an invoice of invoice, and described Quick Response Code is arranged on the appointment position of invoice;
Interact with network billing server, the electronic ticket of described invoice, cleartext information, element information, AES and encryption key are transferred to described network billing server, to user's print paper invoice.
8. the checking system of invoice according to claim 7, it is characterised in that described invoice examination client includes:
Pretreatment module, for when needing to verify the true and false of paper invoice comprising Quick Response Code, imaging device is used to obtain the invoice image of described paper invoice, described invoice image is carried out pretreatment, this pretreatment includes the gray level image that described invoice image converts to uncompressed format, carries out described gray level image removing make an uproar process and binary conversion treatment;
Image in 2 D code locating module, for described invoice image is carried out detection both horizontally and vertically, graphic characteristics according to the position sensing figure in the Quick Response Code set obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions;
Position and the coordinate of central point according to described 3 position sensing regions pass through to calculate the coordinate of the central point obtaining image in 2 D code, determine the direction of image in 2 D code according to the deflection angle of the level of line of the central point of described 3 position sensing figures, vertical direction;
2 D code information extraction module, the coordinate of the central point according to described image in 2 D code and the direction of described image in 2 D code, image in 2 D code is extracted from described invoice image, from described image in 2 D code, extract the 2 D code information comprising cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server.
9. the checking system of the invoice according to claim 7 or 8, it is characterised in that described invoice examination server includes:
2 D code information deciphering module, inquire about in invoice inquiry data base for checking the cleartext information in the 2 D code information that client sends over according to described invoice, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice;
Invoice information enquiry module, in described invoice inquiry data base, matching inquiry is carried out for the invoice codes in the element information according to the invoice extracted, revoking status information, information of making out an invoice and opening status information according to the described invoice stored in described matching inquiry result and described invoice inquiry data base, it is determined that whether described invoice is normal invoice;
Invoice information true and false feedback module, for determine the invoice codes of described invoice at described invoice information enquiry module it fails to match or described invoice belong to the information of making out an invoice of invoice out of control or described invoice do not gather or the state of opening of described invoice be not normally fill out after, it is determined that described invoice is abnormal invoice;Determine that described invoice is normal a/d at described invoice information enquiry module, described invoice is inquired about the electronic ticket of the described invoice of storage in data base and is sent to described invoice examination client, so that examination user checks client by described invoice, the electronic ticket of described invoice and the papery ticket of described invoice are contrasted.
10. the checking system of invoice according to claim 9, it is characterised in that:
Described invoice information enquiry module, has and carries out matching inquiry for being inquired about in data base in described invoice by the invoice codes in the element information of described invoice, if the invoice codes and invoice number that match can be inquired, then performs step A;Otherwise, it determines the invoice codes of described invoice it fails to match;
Step A, according to inquire invoice inquiry data base in described invoice revoke status information, it is judged that whether described invoice belongs to invoice out of control, if it is not, then perform step B;Otherwise, it determines the invoice codes of described invoice it fails to match;
The information of making out an invoice of the described invoice in the invoice inquiry data base that step B, basis inquire, it is judged that whether the information of making out an invoice of described invoice is acquired, if it is, perform step C;Otherwise, it determines the information of making out an invoice of described invoice does not gather;
Step C, according to inquire invoice inquiry data base in described invoice open status information, it is judged that whether the state of opening of described invoice is normally fill out, if it is, determine that described invoice is normal invoice;Otherwise, it determines the information of making out an invoice of described invoice does not gather.
11. the checking system of an invoice, it is characterised in that including:
Make out an invoice terminal, for the AES by setting and encryption key the element information of invoice is encrypted and obtains cipher-text information, the Quick Response Code comprising described cipher-text information is arranged on electronic edition invoice, the element information of described invoice, AES and encryption key are transferred to network billing server, described electronic edition invoice are carried out printing and obtains paper invoice;
Invoice examination client, for obtaining the invoice image of described paper invoice, described invoice image is obtain by described paper invoice is taken pictures, and described invoice image is sent to image processing server;
Image processing server, for the position sensing figure in described invoice image is positioned, position and the direction of Quick Response Code in described invoice image is determined 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 comprising cleartext information and cipher-text information, described 2 D code information is sent to invoice examination server;
Invoice examination server, inquire about in data base in invoice for the cleartext information in the 2 D code information that sends over according to described image processing server and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice, element information according to described invoice is inquired about in data base in described invoice and is carried out matching inquiry, determines the result of described invoice according to matching inquiry result;
Described terminal of making out an invoice, it is additionally operable to when needs issue invoice to user, AES and encryption key is determined alternately by carrying out information with network billing server, utilize described AES and encryption key that the element information of invoice is encrypted and obtain cipher-text information, by encoding, described cipher-text information is arranged in Quick Response Code, also setting up cleartext information in described Quick Response Code, this cleartext information includes the information of the side of making out an invoice of invoice, and described Quick Response Code is arranged on the appointment position of invoice;
Interact with network billing server, the electronic ticket of described invoice, cleartext information, element information, AES and encryption key are transferred to described network billing server, to user's print paper invoice.
12. the checking system of invoice according to claim 11, it is characterised in that described image processing server includes:
Pretreatment module, for described invoice image is carried out pretreatment, this pretreatment includes the gray level image that described invoice image converts to uncompressed format, carries out described gray level image removing make an uproar process and binary conversion treatment;
Image in 2 D code locating module, for described invoice image is carried out detection both horizontally and vertically, graphic characteristics according to the position sensing figure in the Quick Response Code set obtains 3 position sensing regions in described invoice image, and marks the coordinate of the central point in described 3 position sensing regions;
Position and the coordinate of central point according to described 3 position sensing regions pass through to calculate the coordinate of the central point obtaining image in 2 D code, determine the direction of image in 2 D code according to the deflection angle of the level of line of the central point of described 3 position sensing figures, vertical direction;
Image in 2 D code extraction module, the coordinate of the central point according to described image in 2 D code and the direction of described image in 2 D code, image in 2 D code is extracted from described invoice image, from described image in 2 D code, extract the 2 D code information comprising cipher-text information and cleartext information, described 2 D code information is sent to invoice examination server.
13. the checking system of the invoice according to claim 11 or 12, it is characterised in that described invoice examination server includes:
2 D code information deciphering module, inquire about in data base in invoice for the cleartext information in the 2 D code information that sends over according to described image processing server and inquire about, obtain corresponding encryption key and AES, utilize described AES and encryption key that the cipher-text information in described 2 D code information is decrypted, obtain the element information of invoice;
Invoice information enquiry module, in described invoice inquiry data base, matching inquiry is carried out for the invoice codes in the element information according to described invoice, revoking status information, information of making out an invoice and opening status information according to the described invoice stored in described matching inquiry result and described invoice inquiry data base, it is judged that whether described invoice is normal invoice;
Invoice information true and false feedback module, for determine the invoice codes of described invoice at described invoice information enquiry module it fails to match or described invoice belong to the information of making out an invoice of invoice out of control or described invoice do not gather or the state of opening of described invoice be not normally fill out after, it is determined that described invoice is abnormal invoice;Determine that described invoice is normal a/d at described invoice information enquiry module, described invoice is inquired about the electronic ticket of the described invoice of storage in data base and is sent to described invoice examination client, so that examination user checks client by described invoice, the electronic ticket of described invoice and the papery ticket of described invoice are contrasted.
14. the checking system of invoice according to claim 13, it is characterised in that:
Described invoice information enquiry module, has and carries out matching inquiry for being inquired about in data base in described invoice by the invoice codes in the element information of described invoice, if the invoice codes and invoice number that match can be inquired, then performs step A;Otherwise, it determines the invoice codes of described invoice it fails to match;
Step A, according to inquire invoice inquiry data base in described invoice revoke status information, it is judged that whether described invoice belongs to invoice out of control, if it is not, then perform step B;Otherwise, it determines the invoice codes of described invoice it fails to match;
The information of making out an invoice of the described invoice in the invoice inquiry data base that step B, basis inquire, it is judged that whether the information of making out an invoice of described invoice is acquired, if it is, perform step C;Otherwise, it determines the information of making out an invoice of described invoice does not gather;
Step C, according to inquire invoice inquiry data base in described invoice open status information, it is judged that whether the state of opening of described invoice is normally fill out, if it is, determine that described invoice is normal invoice;Otherwise, it determines 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 CN103793990A (en) 2014-05-14
CN103793990B true 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)

Families Citing this family (43)

* 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
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
CN105809492A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Bill management system and management method
CN104504092A (en) * 2014-12-29 2015-04-08 浪潮软件集团有限公司 Invoice checking system and method based on Internet
CN105809015A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Electronic ticket information hiding and verifying method, device and system
CN104951726B (en) * 2015-06-25 2017-12-08 福建联迪商用设备有限公司 Method and device for QR Quick Response Code position sensings
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
CN106780951B (en) * 2016-11-22 2019-10-25 泰康保险集团股份有限公司 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
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
CN107403503B (en) * 2017-08-04 2020-01-17 航天科工哈尔滨风华有限公司电站设备分公司 Invoice checking and comparing system
CN107729058B (en) * 2017-10-20 2021-08-31 四川长虹电器股份有限公司 Method for automatically analyzing identification result of value-added tax invoice
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
CN109636414B (en) * 2018-11-28 2022-03-08 深圳高灯计算机科技有限公司 Electronic invoice voiding system and voiding method based on block chain
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
CN109993877B (en) * 2019-03-07 2021-11-02 北京航天泰坦科技股份有限公司 Anti-counterfeiting invoice identification method based on position information
CN109948760B (en) * 2019-03-28 2022-05-17 尤尼泰克(嘉兴)信息技术有限公司 Information presentation method and device based on two-dimensional code
CN110021106B (en) * 2019-04-17 2021-03-30 尤尼泰克(嘉兴)信息技术有限公司 Bill identification method and equipment based on two-dimensional code
CN110288755B (en) * 2019-05-21 2023-05-23 平安银行股份有限公司 Invoice checking method based on text recognition, server and storage medium
CN110288754B (en) * 2019-06-05 2021-11-09 上海票据交易所股份有限公司 Bill delivery receipt verification method, client, server 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
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

Family Cites Families (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
CN101894411B (en) * 2010-07-20 2012-03-14 浪潮齐鲁软件产业有限公司 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

Also Published As

Publication number Publication date
CN103793990A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
CN103793990B (en) The verification method of invoice and system
US9946865B2 (en) Document authentication based on expected wear
RU2681696C2 (en) Two dimensional barcode and method of authentication of such barcode
US8477379B2 (en) Secure document workflow
US11121879B2 (en) Computer implemented method for automatically certifying documents with integrity and authenticity guarantees and computer programs thereof
US20090261158A1 (en) Authentication of cheques and the like
WO2014098136A1 (en) Information code, method for generating information code, device for reading information code, and system for using information code
EP3543891B1 (en) A computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof
GB2375421A (en) Document printed with graphical symbols which encode information
CN102113026A (en) Method and device for identifying document printing plate
CN106157100A (en) Improvement contract managing bill level and the system and method for usefulness
CN106710032B (en) Entrance guard opening method and device
JP6201706B2 (en) Information code usage system
CN105809814A (en) Invoice certification system supporting multiple invoice types and method
CN109840875A (en) A kind of anti-counterfei waterprint generation method, device, electronic equipment and storage medium
CN101488246A (en) Check verification method, check verification apparatus and check verification system
US9277097B2 (en) Method for authenticating a document
CN104094285A (en) Forensic verification utilizing forensic markings inside halftones
WO2001003077A1 (en) Document verification system
Veličković et al. Application of Watermark in the Form of QR Code in COVID Certificate Validation
Dhanva et al. Cheque image security enhancement in online banking
Teraura et al. Implementation of digital signature on QR symbol by area division using rhombic sub-cells
Teraura et al. A QR Symbol with ECDSA for Both Public and Secret Areas using Rhombic Sub-cells
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
US20230356539A1 (en) Systems and methods for token authentication

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