CN113643082A - Invoice processing method and device based on artificial intelligence, computer equipment and medium - Google Patents

Invoice processing method and device based on artificial intelligence, computer equipment and medium Download PDF

Info

Publication number
CN113643082A
CN113643082A CN202111005065.1A CN202111005065A CN113643082A CN 113643082 A CN113643082 A CN 113643082A CN 202111005065 A CN202111005065 A CN 202111005065A CN 113643082 A CN113643082 A CN 113643082A
Authority
CN
China
Prior art keywords
invoice
information
picture
authenticity
thread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111005065.1A
Other languages
Chinese (zh)
Other versions
CN113643082B (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.)
Ping An International Financial Leasing Co Ltd
Original Assignee
Ping An International Financial Leasing 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 Ping An International Financial Leasing Co Ltd filed Critical Ping An International Financial Leasing Co Ltd
Priority to CN202111005065.1A priority Critical patent/CN113643082B/en
Priority claimed from CN202111005065.1A external-priority patent/CN113643082B/en
Publication of CN113643082A publication Critical patent/CN113643082A/en
Application granted granted Critical
Publication of CN113643082B publication Critical patent/CN113643082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the field of artificial intelligence, in particular to an invoice processing method, an invoice processing device, computer equipment and an invoice processing medium based on artificial intelligence. The method comprises the following steps: receiving the uploaded invoice picture, and extracting invoice basic information from the invoice picture; calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture; when the verification result of the invoice picture is true, analyzing the invoice picture to obtain invoice information; acquiring a preset rule input by a service terminal, and grouping the invoice information according to the preset rule; and processing the invoice information of the same group to obtain an object list. By adopting the method, only the invoice basic information is extracted, so that the authenticity verification is carried out according to the invoice basic information, the efficiency is improved, the invoice is preprocessed to obtain the object list, the follow-up additional process treatment is avoided, and the time is saved.

Description

Invoice processing method and device based on artificial intelligence, computer equipment and medium
Technical Field
The present application relates to the field of artificial intelligence technology, and in particular, to an invoice processing method, apparatus, computer device and medium based on artificial intelligence.
Background
OCR (Optical Character Recognition) is a technology for converting characters in a paper document into an image file of a black-and-white dot matrix optically for print characters, and converting the characters in the image into a text format through Recognition software for further editing and processing by word processing software.
The invoice information is required to be identified and is input into the system in the traditional invoice identification process, so that the invoice information in the system is directly input into the system, the information is stored in a messy mode, and additional processes are required when the invoice is subsequently processed and applied.
Disclosure of Invention
In view of the above, there is a need to provide an artificial intelligence based invoice processing method, apparatus, computer device and medium that can save time.
An artificial intelligence based invoice processing method, the method comprising:
receiving the uploaded invoice picture, and extracting invoice basic information from the invoice picture;
calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture;
when the verification result of the invoice picture is true, analyzing the invoice picture to obtain invoice information;
acquiring a preset rule input by a service terminal, and grouping the invoice information according to the preset rule;
and processing the invoice information of the same group to obtain an object list.
In one embodiment, the receiving the uploaded invoice picture and extracting invoice basic information from the invoice picture includes:
receiving an invoice selection instruction, and acquiring batch invoice pictures according to the invoice selection instruction;
counting the invoice number of the selected batch invoice images;
generating identification threads corresponding to the thread quantity according to the invoice quantity;
and calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
In one embodiment, before obtaining the batch invoice images according to the invoice selection instruction, the method further includes:
and judging whether the selected invoice picture is the selected invoice picture, and if so, outputting a prompt.
In one embodiment, the invoking an invoice verification interface according to the extracted invoice basic information to perform authenticity verification on the invoice picture includes:
opening a truth thread corresponding to the truth quantity according to the invoice quantity, and distributing the extracted invoice information to the truth thread;
and calling an invoice verification interface in the authenticity thread to verify the authenticity of the invoice picture.
In one embodiment, the distributing the extracted invoice information to the authenticity thread includes:
acquiring a corresponding random number generation range according to the invoice number;
generating a random number corresponding to the invoice basic information according to the random number generation range;
and determining a corresponding authenticity thread according to the random number, and distributing the invoice basic information to the determined authenticity thread.
In one embodiment, after processing the invoice information of the same group to obtain the object list, the method includes:
outputting the object list and acquiring the information which is not input in the object list;
receiving standard information corresponding to the information which is not input;
and inputting the standard information into an object list.
An artificial intelligence based invoice processing apparatus, the apparatus comprising:
the first receiving module is used for receiving the uploaded invoice pictures and extracting invoice basic information from the invoice pictures;
the verification module is used for calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture;
the analysis module is used for analyzing the invoice picture to obtain invoice information when the verification result of the invoice picture is true;
the grouping module is used for acquiring a preset rule input by a service terminal and grouping the invoice information according to the preset rule;
and the object list acquisition module is used for processing the invoice information of the same group to obtain an object list.
In one embodiment, the first receiving module includes:
the receiving unit is used for receiving the invoice selection instruction and acquiring batch invoice pictures according to the invoice selection instruction;
the statistical unit is used for counting the invoice number of the selected batch invoice images;
the thread generating unit is used for generating identification threads corresponding to the thread quantity according to the invoice quantity;
and the identification unit is used for calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the invoice processing method, the invoice processing device, the computer equipment and the medium based on the artificial intelligence, only the invoice basic information is extracted, authenticity verification is conducted according to the invoice basic information, efficiency is improved, complete analysis is conducted to obtain the invoice information when a verification result is true, and finally the invoice is preprocessed according to the invoice information and preset rules to obtain the object list, so that follow-up additional process processing is avoided, and time is saved.
Drawings
FIG. 1 is a flow diagram illustrating a method for an object manifest acquisition module in one embodiment;
FIG. 2 is a flowchart illustrating the steps of the thread assignment process in one embodiment;
FIG. 3 is a block diagram illustrating an exemplary object manifest obtaining module;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, an invoice processing method based on artificial intelligence is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the steps of:
s102: and receiving the uploaded invoice picture, and extracting invoice basic information from the invoice picture.
Specifically, the invoice picture is selected by a terminal or a server, and in this embodiment, the terminal is taken as an example for description, and the invoice picture may be one or a batch of invoice pictures. The invoice basis information refers to information for invoice verification, which may include four elements of the invoice, such as invoice code, invoice number, amount, and invoice date.
Specifically, when extracting the invoice basic information, the terminal firstly acquires the type of the invoice in the invoice picture, preferably, the type of the invoice in the invoice picture can be acquired according to the name of the invoice picture, then determines the rough position of the invoice basic information according to the type of the invoice, extracts the corresponding to-be-identified area from the invoice picture according to the rough position, and then identifies the to-be-identified area to obtain the invoice basic information.
S104: and calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture.
Specifically, the invoice verification interface is an interface used for verifying the authenticity of the invoice picture, the authenticity of the invoice can be verified through the interface, specifically, the terminal sends invoice basic information to the invoice verification interface, and therefore the invoice verification interface performs invoice authenticity verification according to the invoice basic information.
In practical application, the terminal takes the invoice basic information as an interface to enter the reference, the invoice verification interface is called, and after the calling is successful, the invoice verification interface returns the full invoice information and the invoice authenticity result.
S106: and when the invoice picture is verified to be true, analyzing the invoice picture to obtain invoice information.
Specifically, when the verification result of the invoice picture is true, the terminal analyzes the invoice picture, for example, the terminal uses an area other than the rough position of the invoice basic information as an area to be analyzed, and analyzes the area to be analyzed. Specifically, the other information of the invoice includes, but is not limited to, goods or taxable labor name, specification model, unit price, unique identification and the like, and specifically can be understood as equipment name, equipment model, unit price of the invoice, quantity, invoice number and the like.
S108: and acquiring a preset rule input by the service terminal, and grouping the invoice information according to the preset rule.
Specifically, the preset rule may be input in advance by a service terminal, where the service rule may be different according to the type of the invoice and the difference of the service, so that the terminal acquires the corresponding preset rule according to the type of the invoice and the service type, and then groups the corresponding invoice pictures according to the invoice information through the preset rule, that is, groups the invoice information.
Optionally, the terminal may divide the invoice information corresponding to the same device into a group according to the device information in the invoice information, and then perform calculation.
S110: and processing the invoice information of the same group to obtain an object list.
Specifically, the terminal can perform summary calculation for a group according to the same equipment, and after the calculation is successful, a rental bill is automatically generated according to the rental entry elements, wherein the system automatically extracts the equipment name, the equipment model, the ticket unit price, the number and the invoice number on the invoice.
Therefore, during the subsequent operation of the business, the business personnel user does not need to log in the value-added tax inspection platform to perform one-to-one authenticity inspection aiming at the invoice with successful authenticity inspection. For invoices which fail to be verified, the system can prompt the failure reason for the user to verify and confirm, and the invoices can be manually judged to pass after being error-free.
In the above embodiment, only the invoice basic information is extracted, so that the authenticity verification is performed according to the invoice basic information, the efficiency is improved, when the verification result is true, the invoice information is obtained through complete analysis, and finally the invoice is preprocessed according to the invoice information and the preset rule to obtain the object list, so that the follow-up additional process treatment is avoided, and the time is saved.
In one embodiment, receiving the uploaded invoice picture, and performing invoice basic information extraction on the invoice picture includes: receiving an invoice selection instruction, and acquiring batch invoice pictures according to the invoice selection instruction; counting the invoice number of the selected batch invoice images; generating identification threads corresponding to the thread quantity according to the invoice quantity; and calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
Specifically, the invoice selection instruction is received by the terminal, the invoice pictures to be processed are selected according to the invoice selection instruction, batch selection can be performed, namely multiple invoice pictures are selected at one time, the terminal can count the invoice number of the selected invoice pictures in the selection process, identification threads corresponding to the thread number are generated according to the invoice number, the invoice pictures are uniformly distributed to the generated identification threads, corresponding invoice interfaces are called through the identification threads to perform parallel processing on the invoice pictures to obtain corresponding invoice information, and therefore the invoice basic information identification efficiency is improved. And all the identification threads do not influence each other, so that the extraction of basic invoice information for a long time is avoided.
In the embodiment, the corresponding thread number is generated according to the invoice number, so that thread resources are saved, and the processing efficiency of the invoice information is ensured.
In one embodiment, before obtaining the batch invoice images according to the invoice selection instruction, the method further includes: and judging whether the selected invoice picture is the selected invoice picture, and if so, outputting a prompt.
Specifically, in order to avoid repeated processing, when the terminal selects the invoice picture, the terminal can judge whether the invoice picture is selected and processed through the name of the invoice picture, and if so, a prompt is output to avoid processing again.
For example, the terminal judges whether the invoice is selected and processed according to the invoice name, if so, the information that the invoice is processed is output, and if the user still selects the invoice picture, the invoice picture is selected, and the invoice identification and invoice verification information is directly called from the database without performing the invoice identification and invoice verification when the invoice identification and invoice verification are performed, so that repeated processing is avoided. Therefore, when the invoice picture is processed each time, the processing result is stored in the database, so that when the invoice is selected again, the terminal can identify, and then when a new selected invoice picture is processed, the invoice picture is divided into a processed picture and an unprocessed picture according to the identification, the unprocessed picture is still processed according to the method, and for the processed invoice picture, the processed information is obtained from the database, so that the repeated identification and verification of the invoice are avoided.
In one embodiment, calling an invoice verification interface to perform authenticity verification on an invoice picture according to the extracted invoice basic information, including: opening a truth thread corresponding to the truth quantity according to the invoice quantity, and distributing the extracted invoice information to the truth thread; and calling an invoice verification interface in the authenticity thread to verify the authenticity of the invoice picture.
Specifically, the number of the authenticity threads can be generated according to the number of the invoices, preferably, the number of the authenticity threads is half of the number of the invoices, the extraction speed of the invoice basic information in the identification threads is different, so that the output time of the invoice basic information is different, after the invoice basic information is output, the terminal directly acquires the corresponding invoice basic information, distributes the invoice basic information to the corresponding authenticity threads, and calls the invoice verification interface through the authenticity threads to verify the authenticity of the invoice picture.
In the embodiment, the number of the true and false threads is generated according to the number of the invoices, so that thread resources are saved, and the processing efficiency of the invoice information is ensured.
In one embodiment, referring to fig. 2, the step of distributing the extracted invoice information into the authenticity thread includes:
s202: and acquiring a corresponding random number generation range according to the invoice number.
Specifically, the random number generation range, that is, the generation manner of the random number generated according to the preset weight values of different numbers of the authenticity threads, may include: acquiring preset weight configuration values of true and false threads with different quantities; generating a list with preset length according to the weight configuration value, wherein the list stores the corresponding relation between each authenticity thread and the corresponding random number; and obtaining the random number generation range according to the length of the list.
S204: and generating a random number corresponding to the invoice basic information according to the random number generation range.
The terminal sets weight configuration values for different numbers of authenticity threads corresponding to the invoice verification interface, which may be set in a manner of percentage or other forms, then generates a list with a preset length, for example, a list with a shortest length is generated according to the weight configuration values, and identifiers of the authenticity threads with different numbers, which may be generated according to the proportion of the weight configuration values, are stored in the list, so that a random number generator is constructed according to the length of the list, wherein the random number generation range of the random number generator for generating the random number is equal to the length of the list, and the probability of the random number generator for generating the random number corresponds to the weight configuration values, that is, the invoice basic information is distributed to the corresponding authenticity threads according to the probability corresponding to the weight configuration values.
For example, assuming that three xyz authenticity threads are generated, the configured weight configuration value is x: y: z is 30%: 50%: and 20%, the terminal generates a list with the length of 100, wherein the list comprises 100% by 30% of a, 100% by 50% of b and 100% by 20% of c, the a, b and c are arranged in a row, the maximum number of the Secure random number is the same as the length of the list, namely 100, the minimum number is 1, and therefore, the random number generation range is 1-100. In other embodiments, the weight configuration value may be x: y: z is 30%: 20%: and 20%, the terminal generates a list with the length of 70, wherein 70 × 30% of a, 70 × 20% of b, and 70 × 20% of c are arranged in a row, the maximum number of the SecureRandom random number is the same as the length of the list, namely 70, the minimum number is 1, and therefore, the random number generation range is 1-70.
S206: and determining a corresponding authenticity thread according to the random number, and distributing the invoice basic information to the determined authenticity thread.
After the terminal acquires the random number generation range, it acquires a pre-constructed secure random number generator, and generates a random number within the random number generation range through the random number generator, in the above example, a number within 100 is randomly generated through the random number generator.
Because the corresponding relation between the random number and the corresponding authenticity thread is stored in the List, the terminal can read the authenticity thread corresponding to the random number in the List, for example, the authenticity thread identifier on the corresponding random number position is obtained by the get (int index) method of the List in java, so that the corresponding authenticity thread can be selected to process the ticket basic information.
In the embodiment, the speed of identification of the basic information of each invoice is fully considered, and a foundation is laid for the efficiency of subsequent authenticity verification of the basic information of the invoice.
In one embodiment, after processing the invoice information of the same group to obtain the object list, the method includes: outputting an object list and acquiring information which is not input in the object list; receiving standard information corresponding to the information which is not recorded; standard information is input to the object manifest.
After the invoice information is input into the object list, the customer manager checks and completes other information to be input (other information of equipment and information on non-invoices), and then the input of the lease item list can be completed, so that the invoice information can be automatically extracted and the authenticity of the invoice can be checked on line in batches, the probability of manual error is reduced, and the working efficiency of personnel is greatly improved.
In the embodiment, the invoice identification and verification function provided by the system can quickly and batch check the authenticity of the invoices and return the full invoice face information by leading the invoice photo compression packet into the invoice photo compression packet in batch by the user. The method helps the user to generate the rental bill, reduces the probability of manual entry errors, reduces the frequency of flow change, and greatly improves the working efficiency of personnel.
It should be understood that although the steps in the flowcharts of fig. 1 and 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in FIG. 3, there is provided an artificial intelligence based invoice processing apparatus comprising: a first receiving module 301, a verifying module 302, a parsing module 303, a grouping module 304 and an object list obtaining module 305, wherein:
the first receiving module 301 is configured to receive the uploaded invoice picture and extract invoice basic information from the invoice picture;
the verification module 302 is used for calling an invoice verification interface to verify authenticity of the invoice picture according to the extracted invoice basic information;
the analysis module 303 is configured to analyze the invoice picture to obtain invoice information when the verification result of the invoice picture is true;
the grouping module 304 is used for acquiring a preset rule input by the service terminal and grouping the invoice information according to the preset rule;
and an object list acquiring module 305, configured to process the invoice information of the same group to obtain an object list.
In one embodiment, the first receiving module 301 comprises:
the receiving unit is used for receiving the invoice selection instruction and acquiring batch invoice pictures according to the invoice selection instruction;
the statistical unit is used for counting the invoice number of the selected batch invoice images;
the thread generating unit is used for generating identification threads corresponding to the thread quantity according to the invoice quantity;
and the identification unit is used for calling the corresponding invoice identification interface in the identification thread to identify the invoice picture so as to obtain invoice information.
In one embodiment, the above-mentioned artificial intelligence-based invoice processing apparatus further includes:
and the judging module is used for judging whether the selected invoice picture is the selected invoice picture or not, and if so, outputting a prompt.
In one embodiment, the verification module 302 includes:
the distribution unit is used for opening the authenticity threads corresponding to the authenticity number according to the invoice number and distributing the extracted invoice information to the authenticity threads;
and the verification unit is used for calling the invoice verification interface in the authenticity thread to verify the authenticity of the invoice picture.
In one embodiment, the verification unit includes:
the range acquisition subunit is used for acquiring a corresponding random number generation range according to the invoice number;
the random number generating subunit is used for generating a random number corresponding to the invoice basic information according to the random number generating range;
and the distribution unit is used for determining the corresponding authenticity thread according to the random number and distributing the invoice basic information to the determined authenticity thread.
In one embodiment, the above-mentioned artificial intelligence-based invoice processing apparatus further includes:
the output module is used for outputting the object list and acquiring the information which is not input in the object list;
the second receiving module is used for receiving standard information corresponding to the information which is not recorded;
and the input module is used for inputting the standard information into the object list.
For specific limitations of the artificial intelligence based invoice processing apparatus, reference may be made to the above limitations of the artificial intelligence based invoice processing method, which are not described herein again. The various modules in the artificial intelligence based invoice processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an artificial intelligence based invoice processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: receiving the uploaded invoice picture, and extracting invoice basic information from the invoice picture; calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture; when the verification result of the invoice picture is true, analyzing the invoice picture to obtain invoice information; acquiring a preset rule input by a service terminal, and grouping invoice information according to the preset rule; and processing the invoice information of the same group to obtain an object list.
In one embodiment, the receiving of the uploaded invoice picture and the extraction of the invoice basic information from the invoice picture, which are implemented when the processor executes the computer program, includes: receiving an invoice selection instruction, and acquiring batch invoice pictures according to the invoice selection instruction; counting the invoice number of the selected batch invoice images; generating identification threads corresponding to the thread quantity according to the invoice quantity; and calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
In one embodiment, before the obtaining of the batch invoice pictures according to the invoice selection instruction when the processor executes the computer program, the method further includes: and judging whether the selected invoice picture is the selected invoice picture, and if so, outputting a prompt.
In one embodiment, the calling the invoice verification interface to verify the authenticity of the invoice picture according to the extracted invoice basic information when the processor executes the computer program includes: opening a truth thread corresponding to the truth quantity according to the invoice quantity, and distributing the extracted invoice information to the truth thread; and calling an invoice verification interface in the authenticity thread to verify the authenticity of the invoice picture.
In one embodiment, the allocation of the extracted invoice information into the authenticity thread, as implemented by the processor executing the computer program, comprises: acquiring a corresponding random number generation range according to the number of the invoices; generating a random number corresponding to the invoice basic information according to the random number generation range; and determining a corresponding authenticity thread according to the random number, and distributing the invoice basic information to the determined authenticity thread.
In one embodiment, the processing of invoice information of the same group into the object list when the processor executes the computer program includes: outputting an object list and acquiring information which is not input in the object list; receiving standard information corresponding to the information which is not recorded; standard information is input to the object manifest.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving the uploaded invoice picture, and extracting invoice basic information from the invoice picture; calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture; when the verification result of the invoice picture is true, analyzing the invoice picture to obtain invoice information; acquiring a preset rule input by a service terminal, and grouping invoice information according to the preset rule; and processing the invoice information of the same group to obtain an object list.
In one embodiment, the receiving of the uploaded invoice picture and the extraction of the invoice base information from the invoice picture, which are implemented when the computer program is executed by the processor, includes: receiving an invoice selection instruction, and acquiring batch invoice pictures according to the invoice selection instruction; counting the invoice number of the selected batch invoice images; generating identification threads corresponding to the thread quantity according to the invoice quantity; and calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
In one embodiment, before the computer program is executed by the processor to obtain the batch invoice pictures according to the invoice selection instruction, the method further includes: and judging whether the selected invoice picture is the selected invoice picture, and if so, outputting a prompt.
In one embodiment, the computer program, when executed by the processor, for invoking an invoice verification interface to verify authenticity of the invoice picture according to the extracted invoice basic information, includes: opening a truth thread corresponding to the truth quantity according to the invoice quantity, and distributing the extracted invoice information to the truth thread; and calling an invoice verification interface in the authenticity thread to verify the authenticity of the invoice picture.
In one embodiment, the computer program, when executed by the processor, implements the distribution of the extracted invoice information into the authenticity thread, comprising: acquiring a corresponding random number generation range according to the number of the invoices; generating a random number corresponding to the invoice basic information according to the random number generation range; and determining a corresponding authenticity thread according to the random number, and distributing the invoice basic information to the determined authenticity thread.
In one embodiment, the processing of invoice information of the same group into the object list when the computer program is executed by the processor includes: outputting an object list and acquiring information which is not input in the object list; receiving standard information corresponding to the information which is not recorded; standard information is input to the object manifest.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An artificial intelligence based invoice processing method, characterized in that the method comprises:
receiving the uploaded invoice picture, and extracting invoice basic information from the invoice picture;
calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture;
when the verification result of the invoice picture is true, analyzing the invoice picture to obtain invoice information;
acquiring a preset rule input by a service terminal, and grouping the invoice information according to the preset rule;
and processing the invoice information of the same group to obtain an object list.
2. The method according to claim 1, wherein the receiving the uploaded invoice picture and performing invoice basic information extraction on the invoice picture comprises:
receiving an invoice selection instruction, and acquiring batch invoice pictures according to the invoice selection instruction;
counting the invoice number of the selected batch invoice images;
generating identification threads corresponding to the thread quantity according to the invoice quantity;
and calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
3. The method according to claim 2, wherein before obtaining the batch invoice picture according to the invoice selection instruction, further comprising:
and judging whether the selected invoice picture is the selected invoice picture, and if so, outputting a prompt.
4. The method according to claim 1, wherein the calling an invoice verification interface according to the extracted invoice basic information to perform authenticity verification on the invoice picture comprises:
opening a truth thread corresponding to the truth quantity according to the invoice quantity, and distributing the extracted invoice information to the truth thread;
and calling an invoice verification interface in the authenticity thread to verify the authenticity of the invoice picture.
5. The method of claim 4, wherein the distributing the extracted invoice information into the authenticity thread comprises:
acquiring a corresponding random number generation range according to the invoice number;
generating a random number corresponding to the invoice basic information according to the random number generation range;
and determining a corresponding authenticity thread according to the random number, and distributing the invoice basic information to the determined authenticity thread.
6. The method according to any one of claims 1 to 5, wherein after processing the invoice information of the same group to obtain the object list, the method comprises:
outputting the object list and acquiring the information which is not input in the object list;
receiving standard information corresponding to the information which is not input;
and inputting the standard information into an object list.
7. An artificial intelligence-based invoice processing apparatus, characterised in that the apparatus comprises:
the first receiving module is used for receiving the uploaded invoice pictures and extracting invoice basic information from the invoice pictures;
the verification module is used for calling an invoice verification interface according to the extracted invoice basic information to verify the authenticity of the invoice picture;
the analysis module is used for analyzing the invoice picture to obtain invoice information when the verification result of the invoice picture is true;
the grouping module is used for acquiring a preset rule input by a service terminal and grouping the invoice information according to the preset rule;
and the object list acquisition module is used for processing the invoice information of the same group to obtain an object list.
8. The apparatus of claim 7, wherein the first receiving module comprises:
the receiving unit is used for receiving the invoice selection instruction and acquiring batch invoice pictures according to the invoice selection instruction;
the statistical unit is used for counting the invoice number of the selected batch invoice images;
the thread generating unit is used for generating identification threads corresponding to the thread quantity according to the invoice quantity;
and the identification unit is used for calling a corresponding invoice identification interface in the identification thread to identify the invoice picture to obtain invoice information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202111005065.1A 2021-08-30 Invoice processing method and device based on artificial intelligence, computer equipment and medium Active CN113643082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111005065.1A CN113643082B (en) 2021-08-30 Invoice processing method and device based on artificial intelligence, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111005065.1A CN113643082B (en) 2021-08-30 Invoice processing method and device based on artificial intelligence, computer equipment and medium

Publications (2)

Publication Number Publication Date
CN113643082A true CN113643082A (en) 2021-11-12
CN113643082B CN113643082B (en) 2024-05-14

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109461247A (en) * 2018-10-29 2019-03-12 北京慧流科技有限公司 Note validating method and device, electronic equipment and storage medium
CN110175899A (en) * 2019-04-15 2019-08-27 深圳壹账通智能科技有限公司 A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice
CN111489246A (en) * 2020-04-09 2020-08-04 贵州爱信诺航天信息有限公司 Electronic integrated posting system for value-added tax invoice
CN113139408A (en) * 2020-01-20 2021-07-20 珠海金山办公软件有限公司 Bill checking method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109461247A (en) * 2018-10-29 2019-03-12 北京慧流科技有限公司 Note validating method and device, electronic equipment and storage medium
CN110175899A (en) * 2019-04-15 2019-08-27 深圳壹账通智能科技有限公司 A kind of method, apparatus, computer equipment and readable storage medium storing program for executing for checking invoice
CN113139408A (en) * 2020-01-20 2021-07-20 珠海金山办公软件有限公司 Bill checking method, device and storage medium
CN111489246A (en) * 2020-04-09 2020-08-04 贵州爱信诺航天信息有限公司 Electronic integrated posting system for value-added tax invoice

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN110490721B (en) Financial voucher generating method and related product
CN108628748B (en) Automatic test management method and automatic test management system
CN108764239B (en) Invoice verification method and device, computer equipment and storage medium
CN109446837B (en) Text auditing method and device based on sensitive information and readable storage medium
CN113723288B (en) Service data processing method and device based on multi-mode hybrid model
CN107862425B (en) Wind control data acquisition method, device and system and readable storage medium
CN111475144A (en) Wind control decision method, device, equipment and computer readable storage medium
CN111444692A (en) Intelligent environment experiment comprehensive control method, system, computer and storage medium
CN109933362A (en) A kind of platform feature call method, system and equipment
CN112085078A (en) Image classification model generation system, method and device and computer equipment
CN112381092A (en) Tracking method, device and computer readable storage medium
CN111352846A (en) Test system number making method, device, equipment and storage medium
CN113034421A (en) Image detection method, device and storage medium
CN113918232A (en) Method, device, server and storage medium for calling algorithm service
CN112541688A (en) Service data checking method and device, electronic equipment and computer storage medium
CN113643082B (en) Invoice processing method and device based on artificial intelligence, computer equipment and medium
CN113643082A (en) Invoice processing method and device based on artificial intelligence, computer equipment and medium
CN116126291A (en) Quick development method, device, equipment and storage medium based on information management
CN110717732A (en) Information authentication method and system
CN114896161A (en) File construction method and device based on artificial intelligence, computer equipment and medium
CN114581130A (en) Bank website number assigning method and device based on customer portrait and storage medium
CN114386853A (en) Data auditing processing method, device and equipment based on universal auditing model
CN113888760A (en) Violation information monitoring method, device, equipment and medium based on software application
EP3798898A1 (en) Computer-implemented method for optical character recognition

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
GR01 Patent grant