CN110175899A - A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice - Google Patents

A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice Download PDF

Info

Publication number
CN110175899A
CN110175899A CN201910300303.8A CN201910300303A CN110175899A CN 110175899 A CN110175899 A CN 110175899A CN 201910300303 A CN201910300303 A CN 201910300303A CN 110175899 A CN110175899 A CN 110175899A
Authority
CN
China
Prior art keywords
invoice
examination
website
verification
contents
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.)
Pending
Application number
CN201910300303.8A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910300303.8A priority Critical patent/CN110175899A/en
Publication of CN110175899A publication Critical patent/CN110175899A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice, this method comprises: invoice examination platform is obtained to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, and n is positive integer;The invoice examination platform opens simultaneously n invoice examination website using web crawler, and carries out pinging operation to each invoice in verification of contents on each invoice examination website respectively;The invoice examination platform obtains examination from each invoice examination website as a result, forming examination destination file, and the examination destination file is sent to default terminal respectively;Wherein, the examination destination file includes the examination result to the n in verification of contents invoices.The present invention provides a kind of quick, convenient, batch and the examination invoice modes of automation, save a large amount of human cost, improve invoice examination efficiency.

Description

A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice
Technical field
The present invention relates to field of computer technology, and in particular to it is a kind of check the method, apparatus of invoice, computer equipment and Readable storage medium storing program for executing.
Background technique
In daily life, financial staff is frequently necessary to check the true and false of invoice by invoice examination website;But It is that current invoice examination website has the following problems: (1) user needs to be manually entered identifying code when carrying out invoice validation, And the case where often will appear identifying code input error;(2) website is checked using existing invoice, one can only be once sent out Ticket is checked, and cannot carry out batch query to multiple invoices, user is needed to operate repeatedly;(3) since the state of invoice can be with It changes at any time, so user is needed to carry out secondary examination for an invoice, and existing invoice examination website cannot Effective monitoring is carried out to invoice status, wastes user time;Therefore, existing invoice query web that there are pinging operations is cumbersome, Ping procedure is not convenient enough, cannot provide the defect of invoice status monitoring function.
Summary of the invention
The purpose of the present invention is to provide it is a kind of check invoice method, apparatus, computer equipment and readable storage medium storing program for executing, A kind of quick, convenient, batch and the examination invoice mode automated are provided, a large amount of human cost is saved, improves hair Ticket checks efficiency.
The present invention is to solve above-mentioned technical problem by following technical proposals:
According to an aspect of the invention, there is provided a kind of method for checking invoice, this method comprises the following steps:
Invoice is checked platform and is obtained to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, And n is positive integer;
The invoice examination platform opens simultaneously n invoice examination website using web crawler, and respectively each Invoice is checked and carries out pinging operation to each invoice in verification of contents on website;
The invoice examination platform obtains examination from each invoice examination website respectively as a result, forming examination result text Part, and the examination destination file is sent to default terminal;Wherein, the examination destination file includes described to verification of contents In n invoice examination result.
Further, before the acquisition is to verification of contents, the method also includes:
The invoice examination platform receives the scanned picture for needing n invoices of batch examination, utilizes Text region algorithm Invoice information is extracted from every scanned picture with semantic analysis algorithm, it is described to verification of contents to be formed.
Further, described that each invoice in verification of contents is carried out on each invoice examination website respectively Pinging operation, comprising:
It is operated using browser automated test frame Selenium analog subscriber input, is inputted on invoice examination website The invoice information of invoice;
Screenshot is carried out to the identifying code region on invoice examination website, and the screenshot is sent to preset stamp and is put down Platform, so that the stamp platform identifies identifying code from the screenshot;
The identifying code sent by the stamp platform is received, and is operated using Selenium analog subscriber input, The identifying code is input in the identifying code input frame on invoice examination website;
Using Selenium analog subscriber clicking operation, the examination button on invoice examination website is clicked, to carry out Invoice examination.
Further, examination result includes: true and false information and invoice status information;
Wherein, invoice status information includes: normal, calcellation, red punching.
Further, it is described the examination destination file is sent to default terminal after, the method also includes:
Invoice information and examination that invoice examination platform storage has been checked are as a result, and periodically again according to setting time Execute pinging operation;
Whether the examination result and stored examination result that the invoice examination platform judgement is checked again are consistent;
In the case where the examination result and stored examination result checked again are inconsistent, the invoice checks platform By corresponding invoice information and again the examination result checked is sent to the default terminal.
To achieve the goals above, the present invention also provides a kind of device for checking invoice, which is specifically included with the following group At part:
Module is obtained, for obtaining to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, And n is positive integer;
Module is checked, for opening simultaneously n invoice examination website using web crawler, and respectively in each invoice It checks and pinging operation is carried out to each invoice in verification of contents on website;
Feedback module, for obtaining examination from each invoice examination website as a result, forming examination destination file respectively, and The examination destination file is sent to default terminal;Wherein, the examination destination file includes described to the n in verification of contents Open the examination result of invoice.
Further, the examination module, is specifically used for:
It is operated using browser automated test frame Selenium analog subscriber input, is inputted on invoice examination website The invoice information of invoice;Screenshot is carried out to the identifying code region on invoice examination website, and the screenshot is sent to preset Stamp platform, so that the stamp platform identifies identifying code from the screenshot;What reception was sent by the stamp platform The identifying code, and operated using Selenium analog subscriber input, the identifying code is input to the invoice and checks website On identifying code input frame in;Using Selenium analog subscriber clicking operation, the examination on invoice examination website is clicked Button, to carry out invoice examination.
Further, described device further include:
Tracking module, for storing the invoice checked after the examination destination file is sent to default terminal Information and examination are as a result, and periodically re-execute pinging operation according to setting time;Judge the examination result checked again with Whether the examination result of storage is consistent;In the case where the examination result and stored examination result checked again are inconsistent, By corresponding invoice information and again the examination result checked is sent to the default terminal.
To achieve the goals above, the present invention also provides a kind of computer equipment, which is specifically included: storage Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the processor The step of method of examination invoice of above-mentioned introduction is realized when executing described program.
To achieve the goals above, the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer Program, realized when described program is executed by processor above-mentioned introduction examination invoice method the step of.
Method, apparatus, computer equipment and the readable storage medium storing program for executing of examination invoice provided by the invention, can be looked by invoice It tests platform and batch examination disposably is carried out to multiple invoices, invoice examination platform can be opened simultaneously more using web crawlers technology A invoice checks website, using pinging operation of the Selenium frame analog subscriber on invoice examination website, and will acquire Examination result formed for user download and consult examination destination file.It is also possible to periodically to having checked The invoice status of invoice be monitored, and remind user when invoice status changes.With this, on the one hand, the present invention can be fast Fast, convenient, batch and invoice is automatically checked, saves a large amount of human cost, improve invoice and check efficiency;On the other hand, originally Invention can carry out tracing and monitoring to the invoice status for the invoice checked, and remind user in invoice status change, improve The Experience Degree of user.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of optional flow diagram of the method for the examination invoice that embodiment one provides;
Fig. 2 is a kind of optional program module schematic diagram of the device for the examination invoice that embodiment two provides;
Fig. 3 is a kind of optional hardware structure schematic diagram for the computer equipment that embodiment three provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
Embodiment one
The method of examination invoice provided by the invention is illustrated with reference to the accompanying drawing.
Fig. 1 is a kind of optional flow diagram of the method for present invention examination invoice, as shown in Figure 1, this method can be with The following steps are included:
Step S101: invoice is checked platform and is obtained to verification of contents;Wherein, described to verification of contents includes n invoices Invoice information, and n is positive integer.
Preferably, to verification of contents it is preferable to use Microsoft Excel file (such as: XXXX_01.xlsx), certainly, Other kinds of file can also be selected to be used as to verification of contents according to actual needs;Comprising needing to carry out in verification of contents The invoice information of one or more invoice of examination.
Specifically, before the acquisition is to verification of contents, the method also includes:
The invoice examination platform receives the scanned picture for needing n invoices of batch examination, utilizes Text region algorithm Invoice information is extracted from every scanned picture with semantic analysis algorithm, it is described to verification of contents to be formed.
It should be noted that due to there is VAT invoice and two kinds of value-added tax common invoice on the market now;When Invoice examination land identification goes out when being VAT invoice, the invoice information packet for needing to extract from scanned picture It includes: invoice codes, invoice number, make out an invoice date and amount issued (without tax);It is to increase when invoice examination land identification goes out When being worth tax common invoice, the invoice information for needing to extract from scanned picture includes: invoice codes, invoice number, makes out an invoice day 6 after phase and check code.
Certainly, described to be also possible to be uploaded to the text of invoice examination platform filled in advance by user to verification of contents Part;For VAT invoice, user need to only fill in invoice codes, invoice number in file to be checked, make out an invoice the date and Amount issued (is free of tax);For value-added tax common invoice, user need to only fill in invoice codes, invoice number in file to be checked 6 after code, make out an invoice date and check code;Invoice examination platform can determine invoice type according to the invoice information of every invoice.
It,, can be with so in the present embodiment due to may include the invoice information of multiple invoices in verification of contents with this Disposably the true and false of multiple invoices and state are inquired using invoice examination platform, multiple invoices are carried out to reach The effect of batch examination, and then improve examination efficiency, reduce manual operation number, improve user experience.
Step S102: the invoice examination platform opens simultaneously n invoice examination website using web crawler, and divides Pinging operation is not carried out to each invoice in verification of contents on each invoice examination website.
Wherein, web crawler is a kind of program that can be oriented crawl target webpage resource and download target webpage; Preferably, Python can be used and writes web crawler.
In the present embodiment, when invoice examination platform get it is described when verification of contents, according to described to verification of contents In the number n to be checked for issuing after examination and approval ticket, open simultaneously n identical invoices examination websites, each invoice examination website is one corresponding Invoice to be checked carries out batch pinging operation to n invoices to be checked simultaneously using n invoice examination website;In reality In, uses State Tax Administration's whole nation VAT invoice to check website as invoice and check website.
Specifically, described respectively look into each invoice in verification of contents on each invoice examination website Test operation, comprising:
Step A1: being operated using browser automated test frame Selenium analog subscriber input, checks net in invoice The invoice information of invoice is inputted on standing;
Step A2: screenshot is carried out to the identifying code region on invoice examination website, and the screenshot is sent to preset Stamp platform, so that the stamp platform identifies identifying code from the screenshot;
Wherein, stamp platform be third party exploitation the platform for image recognition, can based on screenshot to be included in section Number, letter or text in figure are identified, to be verified code;
Step A3: the identifying code sent by the stamp platform is received, and defeated using Selenium analog subscriber Enter operation, the identifying code is input in the identifying code input frame on invoice examination website;
Step A4: utilizing Selenium analog subscriber clicking operation, clicks the examination button on invoice examination website, To carry out invoice examination.
It should be noted that introducing browser automatic test frame when writing web crawler using Python Frame Selenium executes the operation such as input, click, verifying, opening in invoice examination website with analog subscriber.
With this, in the present embodiment, the web crawler comprising Selenium frame is write using Python, with The operation for executing invoice inquiry automatically on multiple invoices examination website for realizing multithreading, without user's manual operation, is reduced Query time;In the present embodiment, identifying code identification also is carried out using third party's stamp platform, is manually entered verifying without user Code, to avoid the identifying code of user's input error.
Step S103: the invoice examination platform obtains examination from each invoice examination website respectively and looks into as a result, being formed Destination file is tested, and the examination destination file is sent to default terminal;Wherein, the examination destination file include it is described to The examination result of n invoices in verification of contents.
Preferably, it is preferable to use Microsoft Excel files for examination destination file, it is of course also possible to according to practical need It asks and selects other kinds of file as examination destination file.
Specifically, examination result includes: true and false information and invoice status information;
Wherein, invoice status information includes: normal, calcellation, red punching.
With this, compared with traditional invoice checks mode, the invoice examination mode introduced in the present embodiment can be disposable To multiple invoices carry out batch query, improve search efficiency;And the invoice examination mode introduced in the present embodiment is more Automation and facilitation, user need to only input the invoice information of each invoice in verification of contents, and later period invoice checks platform Meeting automated log on invoice checks website, analog subscriber fills in invoice information, automatically identifies identifying code and fill in identifying code, automatic It carries out invoice pinging operation and examination result is automatically formed into examination destination file so that user's downloading is checked.
Further, it is described the examination destination file is sent to default terminal after, the method also includes:
Step B1: the invoice information and check as a result, and according to setting time that the invoice examination platform storage has been checked Periodically re-execute pinging operation;
Step B2: the examination result and stored examination result that invoice examination platform judgement is checked again whether one It causes;
Step B3: in the case where the examination result and stored examination result checked again are inconsistent, the invoice The examination result that examination platform is checked by corresponding invoice information and again is sent to the default terminal.
Since invoice itself includes: normal, three kinds of calcellation, red punching invoice status, so with the propulsion of time, invoice shape State may change;For example, the invoice status in examination result is normal for the first time, but the examination knot inquired after one month Invoice status in fruit may become calcellation or red punching;Invoice examination in the prior art website cannot have invoice status Effect monitoring needs user periodically manually to carry out secondary examination to invoice according to demand;It through this embodiment, can be using regular The mode of dynamic training in rotation carries out permanently effective monitoring to the state of invoice, and notifies to use in time when invoice status changes Family improves the Experience Degree of user.
With this, the present embodiment is that the new invoice examination that developed on the basis of existing invoice query web is put down Platform, user can carry out the batch query of multiple invoices on the platform, and to the condition monitoring for having inquired invoice, and existing Invoice searching platform compare, have efficient, convenient and fast beneficial effect.
Embodiment two
The method of the examination invoice provided in one based on the above embodiment provides a kind of dress for checking invoice in the present embodiment It sets, specifically, Fig. 2 shows the optional structural block diagram of the device of the examination invoice, the device of the examination invoice is divided into One or more program modules, one or more program module are stored in storage medium, and are handled by one or more Performed by device, to complete the present invention.The so-called program module of the present invention is the series of computation machine for referring to complete specific function Program instruction section is more suitable for implementation procedure of the device of description examination invoice in storage medium than program itself, is described below The function of each program module of the present embodiment will specifically be introduced.
As shown in Fig. 2, the device for being applied to the examination invoice of invoice examination platform specifically includes consisting of part:
Module 201 is obtained, for obtaining to verification of contents;Wherein, described to believe to the invoice that verification of contents includes n invoices Breath, and n is positive integer.
Preferably, to verification of contents it is preferable to use Microsoft Excel file (such as: XXXX_01.xlsx), certainly, Other kinds of file can also be selected to be used as to verification of contents according to actual needs;Comprising needing to carry out in verification of contents The invoice information of one or more invoice of examination.
Specifically, obtaining module 201, it is also used to:
Before the acquisition is to verification of contents, the scanned picture for needing n invoices of batch examination is received, text is utilized Recognizer and semantic analysis algorithm extract invoice information from every scanned picture, described to verification of contents to be formed.
It should be noted that due to there is VAT invoice and two kinds of value-added tax common invoice on the market now;When When the invoice examination land identification is out VAT invoice, need to obtain what module 201 was extracted from scanned picture Invoice information includes: invoice codes, invoice number, make out an invoice date and amount issued (without tax);When the invoice checks platform Identify that when being value-added tax common invoice, needing to obtain the invoice information that module 201 is extracted from scanned picture includes: invoice 6 after code, invoice number, make out an invoice date and check code.
Module 202 is checked, for opening simultaneously n invoice examination website using web crawler, and respectively each Invoice is checked and carries out pinging operation to each invoice in verification of contents on website.
Wherein, web crawler is a kind of program that can be oriented crawl target webpage resource and download target webpage; Preferably, Python can be used and writes web crawler.
Specifically, examination module 202, is used for:
It is operated using browser automated test frame Selenium analog subscriber input, is inputted on invoice examination website The invoice information of invoice;Screenshot is carried out to the identifying code region on invoice examination website, and the screenshot is sent to preset Stamp platform, so that the stamp platform identifies identifying code from the screenshot;What reception was sent by the stamp platform The identifying code, and operated using Selenium analog subscriber input, the identifying code is input to the invoice and checks website On identifying code input frame in;Using Selenium analog subscriber clicking operation, the examination on invoice examination website is clicked Button, to carry out invoice examination.
In the present embodiment, the web crawler comprising Selenium frame is write using Python, to realize The operation for executing invoice inquiry automatically on multiple invoices examination website of multithreading, without user's manual operation, reduces inquiry Time;In the present embodiment, identifying code identification also is carried out using third party's stamp platform, is manually entered identifying code without user, To avoid the identifying code of user's input error.
Feedback module 203, for obtaining examination from each invoice examination website respectively as a result, forming examination result text Part, and the examination destination file is sent to default terminal;Wherein, the examination destination file includes described to verification of contents In n invoice examination result.
Preferably, it is preferable to use Microsoft Excel files for examination destination file, it is of course also possible to according to practical need It asks and selects other kinds of file as examination destination file.
Specifically, examination result includes: true and false information and invoice status information;
Wherein, invoice status information includes: normal, calcellation, red punching.
Further, described device further include:
Tracking module, for storing the invoice checked after the examination destination file is sent to default terminal Information and examination are as a result, and periodically re-execute pinging operation according to setting time;Judge the examination result checked again with Whether the examination result of storage is consistent;In the case where the examination result and stored examination result checked again are inconsistent, By corresponding invoice information and again the examination result checked is sent to the default terminal.
Since invoice itself includes: normal, three kinds of calcellation, red punching invoice status, so with the propulsion of time, invoice shape State may change;For example, the invoice status in examination result is normal for the first time, but the examination knot inquired after one month Invoice status in fruit may become calcellation or red punching;Invoice examination in the prior art website cannot have invoice status Effect monitoring needs user periodically manually to carry out secondary examination to invoice according to demand;It through this embodiment, can be using regular The mode of dynamic training in rotation carries out permanently effective monitoring to the state of invoice, and notifies to use in time when invoice status changes Family improves the Experience Degree of user.
Embodiment three
The present embodiment also provides a kind of computer equipment, can such as execute the smart phone, tablet computer, notebook of program Computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server are (including independent Server cluster composed by server or multiple servers) etc..As shown in figure 3, the computer equipment 30 of the present embodiment to It is few to include but is not limited to: memory 301, the processor 302 of connection can be in communication with each other by system bus.It should be pointed out that Fig. 3 illustrates only the computer equipment 30 with component 301-302, it should be understood that being not required for implementing all show Component, the implementation that can be substituted is more or less component.
In the present embodiment, memory 301 (i.e. readable storage medium storing program for executing) includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD etc..In some embodiments, memory 301 can be the internal storage unit of computer equipment 30, such as the calculating The hard disk or memory of machine equipment 30.In further embodiments, memory 301 is also possible to the external storage of computer equipment 30 The plug-in type hard disk being equipped in equipment, such as the computer equipment 30, intelligent memory card (Smart Media Card, SMC), peace Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 301 can also both include meter The internal storage unit for calculating machine equipment 30 also includes its External memory equipment.In the present embodiment, memory 301 is commonly used in depositing Storage is installed on the operating system and types of applications software of computer equipment 30, for example, embodiment two examination invoice device journey Sequence code etc..In addition, memory 301 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 302 can be in some embodiments central processing unit (Central Processing Unit, CPU), Controller, microcontroller, microprocessor or other data processing chips.The processor 302 is commonly used in control computer equipment 30 overall operation.
Specifically, in the present embodiment, the method that processor 302 is used to execute the examination invoice stored in processor 302 Program, the program of method of the examination invoice is performed realization following steps:
Invoice is checked platform and is obtained to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, And n is positive integer;
The invoice examination platform opens simultaneously n invoice examination website using web crawler, and respectively each Invoice is checked and carries out pinging operation to each invoice in verification of contents on website;
The invoice examination platform obtains examination from each invoice examination website respectively as a result, forming examination result text Part, and the examination destination file is sent to default terminal;Wherein, the examination destination file includes described to verification of contents In n invoice examination result.
The specific embodiment process of above method step can be found in first embodiment, and the present embodiment is not repeated to go to live in the household of one's in-laws on getting married herein It states.
Example IV
The present embodiment also provides a kind of computer readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD, server, App are stored thereon with computer program, the computer program is held by processor using store etc. Following method and step is realized when row:
Invoice is checked platform and is obtained to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, And n is positive integer;
The invoice examination platform opens simultaneously n invoice examination website using web crawler, and respectively each Invoice is checked and carries out pinging operation to each invoice in verification of contents on website;
The invoice examination platform obtains examination from each invoice examination website respectively as a result, forming examination result text Part, and the examination destination file is sent to default terminal;Wherein, the examination destination file includes described to verification of contents In n invoice examination result.
The specific embodiment process of above method step can be found in first embodiment, and the present embodiment is not repeated to go to live in the household of one's in-laws on getting married herein It states.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method for checking invoice, which is characterized in that the described method includes:
Invoice is checked platform and is obtained to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, and n is Positive integer;
The invoice examination platform opens simultaneously n invoice examination website using web crawler, and respectively in each invoice It checks and pinging operation is carried out to each invoice in verification of contents on website;
The invoice examination platform obtains examination from each invoice examination website as a result, forming examination destination file respectively, and The examination destination file is sent to default terminal;Wherein, the examination destination file includes described to the n in verification of contents Open the examination result of invoice.
2. the method for examination invoice according to claim 1, which is characterized in that before the acquisition is to verification of contents, The method also includes:
The invoice examination platform receives the scanned picture for needing n invoices of batch examination, utilizes Text region algorithm and language Adopted parser extracts invoice information from every scanned picture, described to verification of contents to be formed.
3. the method for examination invoice according to claim 1, which is characterized in that described to check website in each invoice respectively On pinging operation is carried out to each invoice in verification of contents, comprising:
It is operated using browser automated test frame Selenium analog subscriber input, inputs invoice on invoice examination website Invoice information;
Screenshot is carried out to the identifying code region on invoice examination website, and the screenshot is sent to preset stamp platform, with Identifying code is identified from the screenshot for the stamp platform;
The identifying code sent by the stamp platform is received, and is operated using Selenium analog subscriber input, by institute It states in the identifying code input frame that identifying code is input on invoice examination website;
Using Selenium analog subscriber clicking operation, the examination button on invoice examination website is clicked, to carry out invoice Examination.
4. the method for examination invoice according to claim 1, which is characterized in that examination result includes: true and false information and hair Ticket status information;
Wherein, invoice status information includes: normal, calcellation, red punching.
5. the method for examination invoice according to claim 4, which is characterized in that send out the examination destination file described It send to default terminal, the method also includes:
The invoice information and check as a result, and periodically being re-executed according to setting time that the invoice examination platform storage has been checked Pinging operation;
Whether the examination result and stored examination result that the invoice examination platform judgement is checked again are consistent;
In the case where the examination result and stored examination result checked again are inconsistent, the invoice examination platform will be right The invoice information answered and the examination result checked again are sent to the default terminal.
6. a kind of device for checking invoice, which is characterized in that described device includes:
Module is obtained, for obtaining to verification of contents;Wherein, it is described to verification of contents include n invoice invoice information, and n For positive integer;
Module is checked, for opening simultaneously n invoice examination website using web crawler, and is checked respectively in each invoice Pinging operation is carried out to each invoice in verification of contents on website;
Feedback module, for obtaining examination as a result, forming examination destination file from each invoice examination website respectively, and by institute It states examination destination file and is sent to default terminal;Wherein, the examination destination file includes described to the n in verification of contents hairs The examination result of ticket.
7. the device of examination invoice according to claim 6, which is characterized in that the examination module is specifically used for:
It is operated using browser automated test frame Selenium analog subscriber input, inputs invoice on invoice examination website Invoice information;Screenshot is carried out to the identifying code region on invoice examination website, and the screenshot is sent to preset stamp Platform, so that the stamp platform identifies identifying code from the screenshot;It receives described in being sent as the stamp platform Identifying code, and operated using Selenium analog subscriber input, the identifying code is input on invoice examination website In identifying code input frame;Using Selenium analog subscriber clicking operation, the examination button on invoice examination website is clicked, To carry out invoice examination.
8. the device of examination invoice according to claim 6, which is characterized in that described device further include:
Tracking module, for storing the invoice information checked after the examination destination file is sent to default terminal With examination as a result, and periodically re-executing pinging operation according to setting time;Judge the examination result checked again and has stored Examination result it is whether consistent;It, will be right in the case where the examination result and stored examination result checked again are inconsistent The invoice information answered and the examination result checked again are sent to the default terminal.
9. a kind of computer equipment, the computer equipment includes: memory, processor and is stored on the memory simultaneously The computer program that can be run on the processor, which is characterized in that the processor realizes right when executing described program It is required that the step of any one of 1 to 5 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed The step of any one of claim 1 to 5 the method is realized when device executes.
CN201910300303.8A 2019-04-15 2019-04-15 A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice Pending CN110175899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910300303.8A CN110175899A (en) 2019-04-15 2019-04-15 A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910300303.8A CN110175899A (en) 2019-04-15 2019-04-15 A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice

Publications (1)

Publication Number Publication Date
CN110175899A true CN110175899A (en) 2019-08-27

Family

ID=67689509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910300303.8A Pending CN110175899A (en) 2019-04-15 2019-04-15 A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice

Country Status (1)

Country Link
CN (1) CN110175899A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536091A (en) * 2021-07-14 2021-10-22 深圳市链融科技股份有限公司 Invoice crawler checking method and device, computer equipment and storage medium
CN113643082A (en) * 2021-08-30 2021-11-12 平安国际融资租赁有限公司 Invoice processing method and device based on artificial intelligence, computer equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7617136B1 (en) * 2003-07-15 2009-11-10 Teradata Us, Inc. System and method for capturing, storing and analyzing revenue management information for the travel and transportation industries
CN104700169A (en) * 2013-12-05 2015-06-10 航天信息股份有限公司 Method and system for inspecting and managing invoices
CN104992495A (en) * 2015-07-09 2015-10-21 胡昭 Cloud intelligent invoice examination self-service terminal, and examination system and method thereof based on the same
CN108062468A (en) * 2017-12-25 2018-05-22 南京烽火软件科技有限公司 A kind of web crawlers method based on picture validation code identification
CN108255442A (en) * 2018-01-15 2018-07-06 任海鹏 A kind of electronic invoice examination print system and method
CN108595583A (en) * 2018-04-18 2018-09-28 平安科技(深圳)有限公司 Dynamic chart class page data crawling method, device, terminal and storage medium
CN108921240A (en) * 2018-06-12 2018-11-30 新乡学院 A kind of invoice code identification sorting system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7617136B1 (en) * 2003-07-15 2009-11-10 Teradata Us, Inc. System and method for capturing, storing and analyzing revenue management information for the travel and transportation industries
CN104700169A (en) * 2013-12-05 2015-06-10 航天信息股份有限公司 Method and system for inspecting and managing invoices
CN104992495A (en) * 2015-07-09 2015-10-21 胡昭 Cloud intelligent invoice examination self-service terminal, and examination system and method thereof based on the same
CN108062468A (en) * 2017-12-25 2018-05-22 南京烽火软件科技有限公司 A kind of web crawlers method based on picture validation code identification
CN108255442A (en) * 2018-01-15 2018-07-06 任海鹏 A kind of electronic invoice examination print system and method
CN108595583A (en) * 2018-04-18 2018-09-28 平安科技(深圳)有限公司 Dynamic chart class page data crawling method, device, terminal and storage medium
CN108921240A (en) * 2018-06-12 2018-11-30 新乡学院 A kind of invoice code identification sorting system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536091A (en) * 2021-07-14 2021-10-22 深圳市链融科技股份有限公司 Invoice crawler checking method and device, computer equipment and storage medium
CN113643082A (en) * 2021-08-30 2021-11-12 平安国际融资租赁有限公司 Invoice processing method and device based on artificial intelligence, computer equipment and medium
CN113643082B (en) * 2021-08-30 2024-05-14 平安国际融资租赁有限公司 Invoice processing method and device based on artificial intelligence, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN111241389B (en) Sensitive word filtering method and device based on matrix, electronic equipment and storage medium
CN110442712B (en) Risk determination method, risk determination device, server and text examination system
CN109783365A (en) Automated testing method, device, computer equipment and storage medium
CN111125598A (en) Intelligent data query method, device, equipment and storage medium
CN111639480A (en) Text labeling method based on artificial intelligence, electronic device and storage medium
CN109583827A (en) Invoice collation method, apparatus, computer equipment and storage medium
US20210392144A1 (en) Automated and adaptive validation of a user interface
CN113220657B (en) Data processing method and device and computer equipment
CN111859076B (en) Data crawling method, device, computer equipment and computer readable storage medium
CN110334144A (en) Message methods of exhibiting, device, computer equipment and storage medium
CN110503564A (en) Save case processing method, system, equipment and storage medium from damage based on big data
CN117033249A (en) Test case generation method and device, computer equipment and storage medium
CN112711640A (en) Method and device for configuring business handling process
CN110414989A (en) Method for detecting abnormality and device, electronic equipment and computer readable storage medium
CN110175899A (en) A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice
CN109461016A (en) Data methods of marking, device, computer equipment and storage medium
CN110363667A (en) Order financing processing method, apparatus, computer equipment and storage medium based on AI
CN113989020A (en) Loan overdue information processing method and device, computer equipment and storage medium
CN111476633A (en) Product service recommendation platform, product service path recommendation method and medium
CN111143434A (en) Intelligent data checking method, device, equipment and storage medium
CN106294115A (en) The method of testing of a kind of application system animal migration and device
US11875374B2 (en) Automated auditing and recommendation systems and methods
CN115686495A (en) Application generation method and device and server
CN114358903A (en) RPA-based multi-system accounting checking method and device and computer equipment
CN114511314A (en) Payment account management method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination