CN117670451A - Purchasing settlement method, device, equipment and storage medium based on bill - Google Patents

Purchasing settlement method, device, equipment and storage medium based on bill Download PDF

Info

Publication number
CN117670451A
CN117670451A CN202311604657.4A CN202311604657A CN117670451A CN 117670451 A CN117670451 A CN 117670451A CN 202311604657 A CN202311604657 A CN 202311604657A CN 117670451 A CN117670451 A CN 117670451A
Authority
CN
China
Prior art keywords
information
bill
ticket
purchase
carrying
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
CN202311604657.4A
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.)
China Merchants Bank Co Ltd
Original Assignee
China Merchants Bank 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 China Merchants Bank Co Ltd filed Critical China Merchants Bank Co Ltd
Priority to CN202311604657.4A priority Critical patent/CN117670451A/en
Publication of CN117670451A publication Critical patent/CN117670451A/en
Pending legal-status Critical Current

Links

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Evolutionary Computation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Multimedia (AREA)
  • Character Input (AREA)

Abstract

The application discloses a purchase settlement method, device, equipment and storage medium based on bills, and belongs to the technical field of data processing. The method comprises the steps of obtaining a purchase warehouse entry to be settled and ticket information related to purchase; extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information; and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result, namely, extracting characteristic information in bill information, and carrying out corresponding integrated processing on the characteristic information, so that the extracted characteristic information can be integrated according to corresponding requirements, and the requirement of the characteristic information of a user is met, thereby carrying out data matching on the integrated result and the purchase warehouse entry, and further realizing the effect of accurately matching the warehouse entry and the bill information.

Description

Purchasing settlement method, device, equipment and storage medium based on bill
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a ticket-based purchase settlement method, device, apparatus, and storage medium.
Background
In the purchasing bill, the same purchasing party may correspond to a plurality of sellers, and the transaction amount and the transaction content between the purchasing party and each seller may be different, so when the bill information is obtained, the bill information and the purchasing bill are matched, and consistent content is established, so that accurate data can be accurately queried when related data of the bill is queried later.
However, in the current technology, the purchase settlement process mainly comprises warehouse entry information checking, invoice collection, invoice matching, warehouse entry, invoice information confirmation and settlement initiation, wherein in the process, a plurality of steps relate to data matching checking, the workload is large, errors are easy to occur, the checking of warehouse entry information only stays in data statistics, or the manual invoice correlation is needed, the operation is inconvenient and the experience is poor.
Content of the application
The main purpose of the application is to provide a purchase settlement method, a device, equipment and a storage medium based on bills, and aims to solve the technical problem of low abnormal state investigation efficiency of monitoring equipment.
In order to achieve the above object, the present application provides a ticket-based purchase settlement method, comprising the steps of:
acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information;
and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result.
Optionally, when the bill information is information in a picture format, the step of extracting feature information in the bill information includes:
comparing the bill information with prestored bills in a preset template database;
selecting a bill template suitable for the bill information from the preset template database according to the comparison result, wherein the bill template is a template for presetting the position of the characteristic information on the corresponding bill;
and extracting characteristic information from the bill information according to the bill template.
Optionally, the step of comparing the ticket information with pre-stored tickets in a preset template database includes:
extracting a preset number of first check graphs from the bill information according to preset positioning points, and extracting a preset number of second check graphs from prestored bills in a preset template database; the first check image and the second check image are images with preset sizes;
and comparing the first check map with the second check map.
Optionally, the step of comparing the first check map with the second check map includes:
if the comparison result is not matched, directly comparing the bill information with the prestored bill;
if the result of the direct comparison is not matched, the bill information is sent to a related person for the related person to settle accounts manually, and the bill information is added into the preset template database as a pre-stored bill.
Optionally, the step of integrating the feature information further includes:
acquiring a specified statistical requirement of a user;
and carrying out directional integration processing on the extracted multiple feature information according to the bill template and the specified statistical requirement to obtain a multiple feature information group corresponding to the specified statistical requirement.
Optionally, before the step of extracting the feature information in the bill information and performing the integration processing on the feature information, the method further includes:
verifying the bill information, and removing part of bill information which does not meet the preset standard to obtain a verification screening result;
and matching from a preset template database according to the verification screening result to obtain a corresponding bill template, wherein the preset template database consists of bill templates constructed by corresponding to different types of bills.
Optionally, the step of verifying the ticket information includes:
identifying the text region position of the bill information;
analyzing the format of the Chinese content in the bill information according to the position of the text area, and generating a positioning frame at the position of the text area according to the format;
and identifying and obtaining the text information in the positioning frame, and checking the bill information according to the text information.
In addition, in order to achieve the above object, the present application further provides a ticket-based purchase settlement apparatus, the ticket-based purchase settlement apparatus comprising:
the acquisition module is used for acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
the extraction module is used for extracting the characteristic information in the bill information and carrying out integration processing on the characteristic information;
and the matching module is used for carrying out data matching on the result of the integration processing and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the result of the data matching.
In addition, in order to achieve the above object, the present application further provides a ticket-based purchase settlement apparatus, comprising: a memory, a processor, and a ticket-based purchase settlement program stored on the memory and executable on the processor, the ticket-based purchase settlement program configured to implement the steps of the ticket-based purchase settlement method as described above.
In addition, in order to achieve the above object, the present application further provides a computer-readable storage medium having stored thereon a ticket-based purchase settlement program which, when executed by a processor, implements the steps of the ticket-based purchase settlement method as described above.
The method comprises the steps of obtaining a purchase warehouse entry to be settled and ticket information related to purchase; extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information; and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result, namely, extracting characteristic information in bill information, and carrying out corresponding integrated processing on the characteristic information, so that the extracted characteristic information can be integrated according to corresponding requirements, and the requirement of the characteristic information of a user is met, thereby carrying out data matching on the integrated result and the purchase warehouse entry, and further realizing the effect of accurately matching the warehouse entry and the bill information.
Drawings
FIG. 1 is a flow chart of a first embodiment of a ticket-based purchase settlement method of the present application;
FIG. 2 is a flowchart of step S20 in a second embodiment of a ticket-based purchase settlement method of the present application;
fig. 3 is a schematic diagram of a verification chart obtained by extracting according to preset positioning points in the embodiment of the application;
FIG. 4 is a flow chart of a third embodiment of a ticket-based purchase settlement method;
FIG. 5 is a schematic diagram of a bill-based purchase settlement process in an embodiment of the present application;
FIG. 6 is a block diagram illustrating one embodiment of a ticket-based purchase settlement apparatus according to the present application;
fig. 7 is a schematic device structure diagram of a hardware running environment according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a ticket-based purchase settlement method of the present application.
In a first embodiment, the ticket-based purchase settlement method includes the steps of:
s10, acquiring a purchase warehouse entry to be settled and ticket information related to purchase.
It is understood that a purchase order refers to a record of a target user or target unit (typically referred to as a purchasing party) purchasing a large quantity of goods or other items, which record typically requires importing a corresponding database for filing.
It is understood that purchase-related ticket information refers to tickets, such as invoices, that are generated between the purchasing and selling parties based on the transaction.
It should be noted that the same purchasing party may correspond to a plurality of sellers, and transaction amounts and transaction contents between the purchasing party and each seller may be different, so when the bill information is obtained, the bill information and the purchasing warehouse entry form are also required to be matched, and consistent contents are established to ensure that accurate data can be accurately queried when related data records of the warehouse entry form are queried later, and meanwhile, the purchasing settlement process mainly comprises warehouse entry information verification, invoice collection, invoice matching, warehouse entry, invoice information confirmation and settlement initiation.
Therefore, in order to solve the above-mentioned problem, in this embodiment, a scheme is proposed for accurately and efficiently checking and matching purchase warehouse entry and bill information, and the main purpose of the scheme is how to quickly card and integrate bills of different types, different sellers and different contents, that is, to perform data normalization processing on bills of different data, thereby achieving the effect of efficient purchase settlement.
The bill information is usually a papered bill and an electronic bill, and in this embodiment, the papered bill and the electronic bill may be unified into picture type data, or the papered bill and the electronic bill may be converted into text type data, so as to facilitate a subsequent purchasing and settlement process.
S20, extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information.
It is understood that the characteristic information refers to information of the bill information having corresponding characteristics, and the information of the characteristics may include the serial number of the bill, the purchasing and transaction parties involved in the bill, the amount of the bill, the anti-counterfeiting information of the bill, and the like.
It should be understood that the feature information of the bill information is compared and rejected, and in different purchasing settlement scenarios, different feature information may be required, for example, in the bill verification link, the authenticity of the bill needs to be verified, at this time, the transaction content of the bill and the anti-counterfeiting information of the bill are required during purchasing settlement, and for example, in the link that only the bill amount needs to be verified, the corresponding information of the amount is directly pulled without corresponding data of the purchasing party, the transaction party and the like.
Therefore, in this embodiment, before the extracted feature information and the purchase order are subjected to data matching, the corresponding data needs to be integrated and carded, so as to achieve the effect of accurate data matching.
The process of the integration processing mainly can extract different characteristic information for integration according to the requirements of users, so that different users and different data can be catered to the statistical targets for checking, and different purchasing settlement effects are generated.
And S30, carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result.
It can be understood that after the feature information is integrated, the result of the integration processing and the purchase warehouse entry form can be subjected to data matching, and the data matching can realize different data matching and statistical effects according to different information dimensions of a plurality of feature information related in the result of the integration processing.
The embodiment obtains the purchase warehouse entry to be settled and the ticket information related to purchase; extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information; and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result, namely, extracting characteristic information in bill information, and carrying out corresponding integrated processing on the characteristic information, so that the extracted characteristic information can be integrated according to corresponding requirements, and the requirement of the characteristic information of a user is met, thereby carrying out data matching on the integrated result and the purchase warehouse entry, and further realizing the effect of accurately matching the warehouse entry and the bill information.
As shown in fig. 2, a second embodiment of the ticket-based purchase settlement method according to the present application is provided based on the first embodiment, and in this embodiment, step S20 specifically includes:
s21, comparing the bill information with prestored bills in a preset template database.
It should be noted that, when extracting feature information of bill information, text content in a picture is locked and identified mainly through an image text recognition technology, and the identified content is automatically converted into text information, however, such a manner has drawbacks, when performing text recognition on an image, all content of the bill information is identified, and the efficiency of matching subsequent data is affected.
Specifically, in this embodiment, a corresponding preset template database is set, where the database includes different notes and note templates corresponding to the different notes, the notes in the database are taken as pre-stored notes, and classification and induction of the pre-stored notes can be performed according to attributes of the notes and types of the notes according to different categories, so as to implement accurate management of the data, where the note templates should have a corresponding relationship with the pre-stored notes, and positioning data can be preset in the template according to text formats of the pre-stored notes, and by using the positioning data, the positions of important information of the pre-stored notes can be directly locked, for example, three data including transaction amount, transaction party and anti-counterfeiting information of the pre-stored notes are characteristic information of the notes, and corresponding tags are set in the note templates to represent specific positions of the three data in the pre-stored notes and meanings expressed in the pre-stored notes.
Therefore, in this embodiment, in order to quickly extract feature information of the bill information, a pre-stored bill consistent with the bill information may be obtained by first matching from the pre-set template database, and according to the pre-stored bill, a corresponding bill template is selected from the pre-set template database, so that the feature information of the bill information is quickly extracted by using the bill template.
In the process of comparing the bill information with the prestored bills, as the data of the prestored bills in the preset template database are more, if the bill information is compared with all the prestored bills in the database, the time required for comparison is longer, and in order to provide a scheme for rapidly comparing the difference between the bill information and the prestored bills in the embodiment, the method is also provided.
Specifically, a preset number of first check graphs can be extracted from the bill information according to preset positioning points, and a preset number of second check graphs can be extracted from prestored bills in a preset template database; the first check image and the second check image are images with preset sizes, and the first check image and the second check image are compared.
It can be understood that the preset positioning point refers to a preset point for extracting the verification chart, for example, the upper left corner of a table in the bill information is taken as a positioning point, or a logo pattern in the bill information is taken as a positioning point, wherein the selection of the positioning point is mainly determined according to the characteristic point of the bill information, and in particular, reference can be made to fig. 3.
It can be understood that, according to the preset positioning points, a preset number of first check graphs and second check graphs can be extracted from bill information and prestored bills, wherein the preset number can be three or five, and the like, and the specific requirement is determined according to the type of the bill, for example, the bill has more characteristic points, and a plurality of preset positioning points can be set, wherein the first check graphs and the second check graphs refer to pictures with preset sizes, which are cut out at the preset positioning points, and the preset sizes need to be smaller than the picture sizes of the picture type information corresponding to the bill information, and the form of the check graphs can refer to fig. 3.
It should be noted that, through comparing the first check chart and the second check chart, the comparison between the bill information and the pre-stored bill can be realized, namely, the comparison is equivalent to that the small-volume picture characteristic information is extracted from the bill information and the pre-stored bill respectively through the preset positioning points, the total quantity of the information required to be compared is reduced in a small-volume picture comparison mode, the time required by the comparison between the pre-stored bill and the bill information is reduced, and therefore the efficiency required by the comparison between the pre-stored bill and the bill information is improved.
The comparison process can calculate Han Ming distance between bill information and picture information corresponding to pre-stored bills, and can set corresponding classification models to match and classify the bill information and the pre-stored bills, so that the comparison effect of the bill information and the pre-stored bills is realized.
Further, if the comparison result is not matched, directly comparing the bill information with the pre-stored bill, if the direct comparison result is not matched, sending the bill information to related personnel for manual settlement by the related personnel, and adding the bill information as the pre-stored bill into the preset template database.
It can be understood that in the above matching process, even if a pre-stored bill consistent with the bill information exists in the preset template database, the pre-stored bill cannot be matched due to the fact that the extracted check chart is ambiguous, so that in order to ensure the normal implementation of the subsequent purchase settlement, in this embodiment, if the comparison result between the first check chart and the second check chart is empty, the bill information and the complete picture information of the pre-stored bill need to be compared, thereby ensuring accurate comparison and avoiding the situation of wrong comparison and omission.
The preset template database is provided with a preset template information, and the preset template database is provided with a preset template information, wherein the preset template information is stored in the preset template database, and the preset template information is stored in the preset template database.
The relevant personnel adds the bill information to a preset template database, corresponding preset positioning points are required to be set in the bill information, the preset positioning points are the same positions on each prestored bill, the same positions can also be determined by extracting common characteristics of all prestored bills, and the method is not particularly limited.
S22, selecting a bill template suitable for the bill information from the preset template database according to the comparison result, wherein the bill template is a template for presetting the position of the characteristic information on the corresponding bill.
It can be understood that, according to the comparison result, the situation that the result is directly matched to obtain the corresponding pre-stored bill is taken as an example for explanation, and after the corresponding pre-stored bill is obtained by matching, the bill template suitable for bill information can be selected from the pre-stored template database according to the pre-stored bill.
S23, extracting feature information from the bill information according to the bill template.
It should be noted that, the location of the feature information on the corresponding bill is predetermined on the bill template, for example, the anti-counterfeiting information in the current bill and the transaction information in the bill are important, and the template can directly extract the corresponding anti-counterfeiting information and transaction information from the bill information according to the preset location of the anti-counterfeiting information and the preset location of the transaction information.
It can be understood that when corresponding feature information is extracted from bill information according to a bill template, the specified statistical requirement of a user can be obtained, and the extracted feature information is subjected to directional integration processing according to the bill template and the specified statistical requirement, so as to obtain a multi-feature information group corresponding to the specified statistical requirement.
The specified statistical requirement refers to the requirement situation of the user in different scenes, for example, when the current user performs data checking of purchasing settlement, the situation of the seller and the transaction amount need to be checked at the same time, after the characteristics are extracted, the information of the seller and the transaction amount need to be integrated, so that different requirements of the user are met, and different data matching effects are achieved.
The multi-feature information set refers to an information set composed of a plurality of different features, and the feature information set can select different combination modes of the feature information according to different application scenes.
It should be noted that, the directional integration is equivalent to the directional integration of the feature information according to the specified statistical requirement given by the user.
In the embodiment, the bill information is compared with prestored bills in a preset template database; selecting a bill template suitable for the bill information from the preset template database according to the comparison result, wherein the bill template is a template for presetting the position of the characteristic information on the corresponding bill; according to the bill template, the characteristic information is extracted from the bill information, so that the characteristic information corresponding to different bills can be rapidly extracted from the bill information in the bill template mode, bills of different types and different contents can be flexibly and efficiently processed, and the data matching efficiency of the bills and purchase orders is improved.
As shown in fig. 4, a third embodiment of the ticket-based purchase settlement method according to the present application is provided based on the first embodiment, where in this embodiment, the method further includes:
s41, checking the bill information, and removing part of bill information which does not meet the preset standard to obtain a checking and screening result.
It will be appreciated that the currently acquired ticket information need not be all tickets that meet the data processing requirements, for example, the acquired ticket may be partially pseudo-created or there may be duplication of the acquired ticket.
Therefore, in this embodiment, the pretreatment of verifying the bill information is also required, in this process, it is equivalent to first determining whether the bill information meets the requirement, taking whether the bill is legal and valid as an example, and whether the bill is counterfeit or not can be determined by the anti-counterfeit information on the bill information, if not, whether there is a repeated bill with the bill, where the repeated bill refers to the content repetition of the bill, and the bill may be a bill with a different format.
The method can judge whether repeated bills exist by identifying the difference of the related information in the two bills, for example, whether the two transaction parties (the purchasing party and the selling party) in the two bills are consistent, whether the corresponding articles and the corresponding amounts of the two bills are consistent, whether the numbers of the two bills are consistent, and the like.
The preset standard refers to the above-mentioned true and false condition standard of the bill, repetition condition standard of the bill, and other standards may be set, for example, a condition that a part of picture formats corresponding to the bill is blurred, a condition that the bill is not fully verified, and the like may be used as one standard for checking and screening.
And after the verification link, the bill information meeting the preset standard can be reserved, and the bill information not meeting the preset standard is removed, so that a verification screening result is obtained.
The method comprises the steps of carrying out true and false verification on bill information, specifically identifying the text region position of the bill information, analyzing the format of Chinese content in the bill information according to the text region position, generating a positioning frame at the text region position according to the format, identifying and obtaining text information in the positioning frame, and verifying the bill information according to the text information.
It is understood that the text region position refers to a position where each text information content is located in the bill information, for example, a transaction amount, a transaction party, and the like are included in the middle position of the bill information, so that the format of the bill information can be analyzed according to the text region position, the format mainly identifies the text content in the text region position, and the specific position where each text content is located in the bill information is determined, and the specific position refers to the format.
Furthermore, by the format, the anti-counterfeiting information for judging the authenticity of the bill information can be preferentially locked, and other information contents for proving the bill information to be true can be locked, so that a corresponding positioning frame can be generated at the position of the text area, and the corresponding text information can be further locked according to the positioning frame, thereby realizing the link of verifying the bill information, and the specific flow can be refer to fig. 5.
In addition, when checking the bill, a corresponding template for checking can be set so as to realize the effect of quickly extracting the information for checking, thereby improving the corresponding checking efficiency.
S42, according to the verification screening result, matching to obtain a corresponding bill template from a preset template database, wherein the preset template database consists of bill templates constructed by corresponding to different types of bills.
It can be understood that after the corresponding verification screening result is obtained, the corresponding bill template can be obtained by matching from the preset template database according to the result.
In the embodiment, the bill information is checked, and part of bill information which does not meet the preset standard is removed, so that a checking and screening result is obtained; and according to the verification screening result, matching to obtain a corresponding bill template from a preset template database, wherein the preset template database consists of bill templates constructed by corresponding bills of different categories, so that part of bill information which does not accord with a preset standard is removed through verification of the bills, the abnormal purchasing settlement caused by abnormal bill information in the subsequent purchasing settlement process is avoided, and the accuracy of matching of the bills and the purchasing bill is improved.
In addition, the embodiment of the application also provides a purchase settlement apparatus based on bill, referring to fig. 6, the purchase settlement apparatus based on bill includes:
the acquisition module 10 is used for acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
the extracting module 20 is used for extracting the characteristic information in the bill information and carrying out integration processing on the characteristic information;
and the matching module 30 is used for carrying out data matching on the result of the integration processing and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the result of the data matching.
The embodiment obtains the purchase warehouse entry to be settled and the ticket information related to purchase; extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information; and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result, namely, extracting characteristic information in bill information, and carrying out corresponding integrated processing on the characteristic information, so that the extracted characteristic information can be integrated according to corresponding requirements, and the requirement of the characteristic information of a user is met, thereby carrying out data matching on the integrated result and the purchase warehouse entry, and further realizing the effect of accurately matching the warehouse entry and the bill information.
It should be noted that each module in the above apparatus may be used to implement each step in the above method, and achieve a corresponding technical effect, which is not described herein again.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a device of a hardware running environment according to an embodiment of the present application.
As shown in fig. 7, the apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is not limiting of the apparatus and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
As shown in fig. 7, an operating system, a network communication module, a user interface module, and a ticket-based purchase settlement program may be included in a memory 1005 as one type of computer storage medium.
In the device shown in fig. 7, the network interface 1004 is mainly used for data communication with an external network; the user interface 1003 is mainly used for receiving an input instruction of a user; the apparatus calls a ticket-based purchase settlement program stored in the memory 1005 through the processor 1001, and performs the following operations:
acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information;
and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result.
Further, the processor 1001 may call the ticket-based purchase settlement program stored in the memory 1005, and further perform the following operations:
comparing the bill information with prestored bills in a preset template database;
selecting a bill template suitable for the bill information from the preset template database according to the comparison result, wherein the bill template is a template for presetting the position of the characteristic information on the corresponding bill;
and extracting characteristic information from the bill information according to the bill template.
Further, the processor 1001 may call the ticket-based purchase settlement program stored in the memory 1005, and further perform the following operations:
extracting a preset number of first check graphs from the bill information according to preset positioning points, and extracting a preset number of second check graphs from prestored bills in a preset template database; the first check image and the second check image are images with preset sizes;
and comparing the first check map with the second check map.
Further, the processor 1001 may call the ticket-based purchase settlement program stored in the memory 1005, and further perform the following operations:
if the comparison result is not matched, directly comparing the bill information with the prestored bill;
if the result of the direct comparison is not matched, the bill information is sent to a related person for the related person to settle accounts manually, and the bill information is added into the preset template database as a pre-stored bill.
Further, the processor 1001 may call the ticket-based purchase settlement program stored in the memory 1005, and further perform the following operations:
acquiring a specified statistical requirement of a user;
and carrying out directional integration processing on the extracted multiple feature information according to the bill template and the specified statistical requirement to obtain a multiple feature information group corresponding to the specified statistical requirement.
Further, the processor 1001 may call the ticket-based purchase settlement program stored in the memory 1005, and further perform the following operations:
verifying the bill information, and removing part of bill information which does not meet the preset standard to obtain a verification screening result;
and matching from a preset template database according to the verification screening result to obtain a corresponding bill template, wherein the preset template database consists of bill templates constructed by corresponding to different types of bills.
Further, the processor 1001 may call the ticket-based purchase settlement program stored in the memory 1005, and further perform the following operations:
identifying the text region position of the bill information;
analyzing the format of the Chinese content in the bill information according to the position of the text area, and generating a positioning frame at the position of the text area according to the format;
and identifying and obtaining the text information in the positioning frame, and checking the bill information according to the text information.
The embodiment obtains the purchase warehouse entry to be settled and the ticket information related to purchase; extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information; and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result, namely, extracting characteristic information in bill information, and carrying out corresponding integrated processing on the characteristic information, so that the extracted characteristic information can be integrated according to corresponding requirements, and the requirement of the characteristic information of a user is met, thereby carrying out data matching on the integrated result and the purchase warehouse entry, and further realizing the effect of accurately matching the warehouse entry and the bill information.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a bill-based purchase settlement program, and the bill-based purchase settlement program realizes the following operations when being executed by a processor:
acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information;
and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result.
The embodiment obtains the purchase warehouse entry to be settled and the ticket information related to purchase; extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information; and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result, namely, extracting characteristic information in bill information, and carrying out corresponding integrated processing on the characteristic information, so that the extracted characteristic information can be integrated according to corresponding requirements, and the requirement of the characteristic information of a user is met, thereby carrying out data matching on the integrated result and the purchase warehouse entry, and further realizing the effect of accurately matching the warehouse entry and the bill information.
It should be noted that, when the computer readable storage medium is executed by the processor, each step in the method may be further implemented, and meanwhile, the corresponding technical effects are achieved, which is not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. A ticket-based purchase settlement method, characterized in that the ticket-based purchase settlement method comprises the following steps:
acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
extracting characteristic information in the bill information, and carrying out integration processing on the characteristic information;
and carrying out data matching on the integrated processing result and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the data matching result.
2. The ticket-based purchase settlement method as set forth in claim 1, wherein the step of extracting feature information in the ticket information when the ticket information is in a picture format, comprises:
comparing the bill information with prestored bills in a preset template database;
selecting a bill template suitable for the bill information from the preset template database according to the comparison result, wherein the bill template is a template for presetting the position of the characteristic information on the corresponding bill;
and extracting characteristic information from the bill information according to the bill template.
3. The ticket-based purchase settlement method as recited in claim 2, wherein the step of comparing the ticket information with pre-stored tickets in a pre-set template database comprises:
extracting a preset number of first check graphs from the bill information according to preset positioning points, and extracting a preset number of second check graphs from prestored bills in a preset template database; the first check image and the second check image are images with preset sizes;
and comparing the first check map with the second check map.
4. The ticket-based purchase settlement method as recited in claim 3, wherein the step of comparing the first verification map and the second verification map comprises:
if the comparison result is not matched, directly comparing the bill information with the prestored bill;
if the result of the direct comparison is not matched, the bill information is sent to a related person for the related person to settle accounts manually, and the bill information is added into the preset template database as a pre-stored bill.
5. The ticket-based purchase settlement method as recited in claim 2, wherein the step of integrating the feature information further comprises:
acquiring a specified statistical requirement of a user;
and carrying out directional integration processing on the extracted multiple feature information according to the bill template and the specified statistical requirement to obtain a multiple feature information group corresponding to the specified statistical requirement.
6. The ticket-based purchase settlement method as recited in claim 1, wherein before the step of extracting feature information in the ticket information and performing an integration process on the feature information, the method further comprises:
verifying the bill information, and removing part of bill information which does not meet the preset standard to obtain a verification screening result;
and matching from a preset template database according to the verification screening result to obtain a corresponding bill template, wherein the preset template database consists of bill templates constructed by corresponding to different types of bills.
7. The ticket-based purchase settlement method as recited in claim 6, wherein the step of verifying the ticket information comprises:
identifying the text region position of the bill information;
analyzing the format of the Chinese content in the bill information according to the position of the text area, and generating a positioning frame at the position of the text area according to the format;
and identifying and obtaining the text information in the positioning frame, and checking the bill information according to the text information.
8. A ticket-based purchase settlement apparatus, the ticket-based purchase settlement apparatus comprising:
the acquisition module is used for acquiring a purchase warehouse entry to be settled and ticket information related to purchase;
the extraction module is used for extracting the characteristic information in the bill information and carrying out integration processing on the characteristic information;
and the matching module is used for carrying out data matching on the result of the integration processing and the purchase warehouse entry, and carrying out data settlement on the purchase warehouse entry according to the result of the data matching.
9. A ticket-based purchase settlement apparatus, the ticket-based purchase settlement apparatus comprising: a memory, a processor, and a ticket-based purchase settlement program stored on the memory and executable on the processor, the ticket-based purchase settlement program configured to implement the steps of the ticket-based purchase settlement method according to any one of claims 1 to 7.
10. A storage medium, wherein a program for realizing the ticket-based purchase settlement method is stored on the storage medium, the program for realizing the ticket-based purchase settlement method being executed by a processor to realize the steps of the ticket-based purchase settlement method according to any one of claims 1 to 7.
CN202311604657.4A 2023-11-27 2023-11-27 Purchasing settlement method, device, equipment and storage medium based on bill Pending CN117670451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311604657.4A CN117670451A (en) 2023-11-27 2023-11-27 Purchasing settlement method, device, equipment and storage medium based on bill

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311604657.4A CN117670451A (en) 2023-11-27 2023-11-27 Purchasing settlement method, device, equipment and storage medium based on bill

Publications (1)

Publication Number Publication Date
CN117670451A true CN117670451A (en) 2024-03-08

Family

ID=90063361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311604657.4A Pending CN117670451A (en) 2023-11-27 2023-11-27 Purchasing settlement method, device, equipment and storage medium based on bill

Country Status (1)

Country Link
CN (1) CN117670451A (en)

Similar Documents

Publication Publication Date Title
CN106384273B (en) Malicious bill-swiping detection system and method
US9626555B2 (en) Content-based document image classification
WO2021042747A1 (en) Invoice picture recognition and verification method and system, device, and readable storage medium
CN110851677A (en) Reimbursement certificate processing method, device, terminal and computer readable storage medium
CN108334797B (en) File scanning method, device and computer readable storage medium
CN110288755A (en) The invoice method of inspection, server and storage medium based on text identification
KR20130033915A (en) System and method for processing insurance contracts based on cloud computing and related business management tool
CN111858977B (en) Bill information acquisition method, device, computer equipment and storage medium
US20210264583A1 (en) Detecting identification tampering using ultra-violet imaging
CN110634223A (en) Bill verification method and device
CN112487982A (en) Merchant information auditing method, system and storage medium
CN111598099B (en) Image text recognition performance testing method, device, testing equipment and medium
CN109214362B (en) Document processing method and related equipment
CN111462388A (en) Bill inspection method and device, terminal equipment and storage medium
CN111242788A (en) Service data processing method and device, storage medium and computer equipment
CN111784423B (en) Invoice matching method and device, electronic equipment and storage medium
CN112990868A (en) Method, system, equipment and storage medium for automatic vehicle insurance claims
US20140279642A1 (en) Systems and methods for enrollment and identity management using mobile imaging
US11030450B2 (en) System and method for determining originality of computer-generated images
CN112307101A (en) Project pricing auditing method, device, computer equipment and system
CN116798061A (en) Bill auditing and identifying method, device, terminal and storage medium
CN117670451A (en) Purchasing settlement method, device, equipment and storage medium based on bill
CN113537964A (en) Application form processing method, device, storage medium and device
CN111967887B (en) Remote authentication method, system and computer readable storage medium for digital stamp and coin
CN110929725B (en) Certificate classification method, device and computer readable 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