Invoice information acquisition method and device, electronic equipment and storage medium
Through multiple information collection terminals and comparison mechanisms, the problem of low efficiency in manually entering invoice information is solved, and the rapid and accurate collection of invoice information is achieved, and the collection efficiency and success rate are improved.
Patent Information
- Application Number
- CN202411432139.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-10
AI Technical Summary
In the prior art, enterprises manually enter invoice information when conducting purchase and sales activities, resulting in low work efficiency, high error rate, and long information verification time, which affects the timely completion of invoice tasks.
By obtaining the demand information of the enterprise side, using multiple information collection ends (such as scanners, scanners, cameras, etc.) to collect invoice information, combined with comparison and similarity calculation, we determine the target information collection end to collect missing information to ensure information Integrity.
It realizes rapid collection of invoice information, improves collection efficiency, reduces labor intensity, enhances collection success rate, and reduces collection time.
Smart Images

Figure CN119295165A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an invoice information collection method, device, electronic device and storage medium. Background Art
[0002] When an enterprise conducts purchase and sales activities with upstream companies or downstream companies, it needs to collect invoice information from upstream companies, downstream companies, etc., and complete the task of invoicing for upstream companies and downstream companies based on the invoice information.
[0003] At present, the invoice information required for invoicing is collected through manual entry, and the information collection method is single. In particular, when the business volume of an enterprise is large, entering a large amount of invoice information into the system only through manual entry not only has low work efficiency, but also has a high probability of error. Once an error occurs, it takes a long time to verify the information later, resulting in the invoicing task not being completed in time. Summary of the invention
[0004] In view of the above-mentioned shortcomings of the prior art, the present application provides an invoice information collection method, device, electronic device and storage medium to solve the above-mentioned technical problems.
[0005] The present invention provides an invoice information collection method, comprising: obtaining demand information from an enterprise end and multiple information collection ends, wherein the multiple information collection ends have different information collection methods, and the demand information is determined according to the usage requirements of the enterprise; in response to a first information request from the enterprise end, the multiple information collection ends respectively feed back first invoice information to the enterprise end to obtain multiple first invoice information, wherein the first information request includes the demand information, and the multiple first invoice information has a one-to-one correspondence with the multiple information collection ends; the enterprise end compares the combination of the multiple first invoice information with the demand information, and based on the comparison result, determines the integrity of the demand information; if it is determined that the demand information is complete, the invoice information collection process is terminated; if it is determined that the demand information is missing, based on the missing demand information and the multiple first invoice information, determines a target information collection end for collecting the missing demand information from all the information collection ends, and collects invoice information through the target information collection end.
[0006] In one embodiment of the present invention, the process in which the enterprise side compares a combination of multiple first invoice information with the demand information includes: if the combination of multiple first invoice information is consistent with all the invoice information in the demand information, the enterprise side will take the complete comparison success as the comparison result; if the combination of multiple first invoice information is consistent with part of the invoice information in the demand information, the enterprise side will take the partial comparison success as the comparison result.
[0007] In one embodiment of the present invention, based on the comparison result, the process of judging the integrity of the demand information includes: if the comparison result is that all comparisons are successful, then the demand information is judged to be complete; if the comparison result is that part of the comparison is successful, then the demand information is judged to be missing.
[0008] In one embodiment of the present invention, before determining the target information collection end for collecting the missing demand information from all the information collection ends based on the missing demand information and the multiple first invoice information, the method includes: obtaining the second invoice information, where the second invoice information is the invoice information newly added by the information collection end; comparing the combination of the multiple first invoice information with the second invoice information; if the combination of the multiple first invoice information is consistent with the second invoice information, the second invoice information is not combined with the multiple first invoice information, and the missing demand information is not updated; if the combination of the multiple first invoice information is inconsistent with the second invoice information, the second invoice information is combined with the multiple first invoice information to obtain updated combination information, and the demand information is compared with the updated combination information. If the demand information is successfully compared with the updated combination information, the invoice information collection process ends; if the demand information is not successfully compared with the updated combination information, the missing demand information is updated.
[0009] In one embodiment of the present invention, the process of determining a target information collection end for collecting the missing demand information from all the information collection ends based on the missing demand information and multiple first invoice information includes: if the missing demand information is not updated, respectively calculating the similarities between multiple first invoice information and the missing demand information to obtain multiple first similarities; selecting the first invoice information corresponding to the maximum first similarity from the multiple first similarities, and using the information collection end corresponding to the first invoice information as the target information collection end for collecting the missing demand information; or, respectively comparing the multiple first similarities with the first similarity threshold, if the first similarity is greater than or equal to the first similarity threshold, selecting the first invoice information corresponding to the first similarity, and using the information collection end corresponding to the first invoice information as the target information collection end for collecting the missing demand information; if the first similarity is less than the first similarity threshold, not selecting any information collection end as the target information collection end for collecting the missing demand information end; if the missing demand information is updated, the similarities between multiple first invoice information and the updated missing demand information, and the similarities between the second invoice information and the updated missing demand information are calculated respectively to obtain multiple first similarities; the first invoice information or the second invoice information corresponding to the maximum first similarity is selected from the multiple first similarities, and the information collection end corresponding to the first invoice information or the second invoice information is used as the target information collection end for collecting the updated missing demand information; or, the multiple first similarities are compared with the first similarity threshold respectively, if the first similarity is greater than or equal to the first similarity threshold, the first invoice information or the second invoice information corresponding to the first similarity is selected, and the information collection end corresponding to the first invoice information or the second invoice information is used as the target information collection end for collecting the updated missing demand information; if the first similarity is less than the first similarity threshold, no information collection end is selected as the target information collection end for collecting the updated missing demand information.
[0010] In one embodiment of the present invention, the process of determining a target information collection end for collecting the missing demand information from all the information collection ends according to the missing demand information and the plurality of the first invoice information includes: obtaining sample missing demand information and a plurality of sample invoice information, wherein the sample invoice information has a first corresponding relationship with the information collection end; respectively calculating the similarities between the plurality of sample invoice information and the sample missing demand information to obtain a plurality of second similarities; if the second similarities are greater than or equal to a second similarity threshold, determining that a second corresponding relationship exists between the sample missing demand information and the sample invoice information; establishing a third corresponding relationship between the sample missing demand information and the information collection end based on the first corresponding relationship and the second corresponding relationship; establishing a collection end prediction model through the third corresponding relationship, and training the collection end prediction model to obtain a trained collection end prediction model; simultaneously inputting the missing demand information and the plurality of the first invoice information into the trained collection end prediction model to obtain a target information collection end for collecting the missing demand information, or simultaneously inputting the updated missing demand information, the second invoice information and the plurality of the first invoice information into the trained collection end prediction model to obtain a target information collection end for collecting the updated missing demand information.
[0011] In one embodiment of the present invention, the process of collecting invoice information through the target information collection end includes: if the missing demand information is not updated, in response to the second information request of the enterprise end, the target information collection end collects invoice information and feeds back the third invoice information to the enterprise end, the second information request includes the missing demand information; the third invoice information and a combination of multiple first invoice information are compared with the demand information; if the combination of the third invoice information and multiple first invoice information are consistent with all the invoice information in the demand information, it is determined that the demand information is complete, and the invoice information collection process is terminated; if the combination of the third invoice information and multiple first invoice information are consistent with part of the invoice information in the demand information, it is determined that the demand information is missing, and the missing demand information is updated, and according to the updated missing demand information, the third invoice information and multiple first invoice information, the target information collection end for collecting the updated missing demand information is re-determined from all the information collection ends, and invoice information is collected through the target information collection end until the demand information is complete; if The missing demand information is updated, and in response to the second information request from the enterprise side, the target information collection end collects invoice information and feeds back the third invoice information to the enterprise side, wherein the second information request includes the updated missing demand information; a combination of multiple first invoice information, second invoice information and third invoice information is compared with the demand information; if the combination of multiple first invoice information, second invoice information and third invoice information is consistent with all the invoice information in the demand information, it is determined that the demand information is complete, and the invoice information collection process is terminated; if the combination of multiple first invoice information, second invoice information and third invoice information is consistent with part of the invoice information in the demand information, it is determined that the demand information is missing, and the updated missing demand information is updated again, and according to the updated missing demand information, the second invoice information, the third invoice information and multiple first invoice information, the target information collection end for collecting the updated missing demand information is re-determined from all the information collection ends, and invoice information is collected through the target information collection end until the demand information is complete.
[0012] According to one aspect of an embodiment of the present invention, there is provided an invoice information collection device, comprising: an information acquisition module, for acquiring demand information from an enterprise side, a plurality of information collection terminals, the plurality of information collection terminals having different information collection modes, the demand information being determined according to the use requirements of the enterprise; an information collection module, for responding to a first information request from the enterprise side, the plurality of information collection terminals respectively feeding back first invoice information to the enterprise side, and obtaining a plurality of the first invoice information, the first information request including the demand information, the plurality of the first invoice information having a one-to-one correspondence with the plurality of the information collection terminals; an information comparison module, for the enterprise side comparing a combination of the plurality of the first invoice information with the demand information, and judging the integrity of the demand information based on the comparison result; a collection end module, for terminating the invoice information collection process if it is determined that the demand information is complete; and a loop collection module, for determining a target information collection terminal for collecting the missing demand information from all the information collection terminals according to the missing demand information and the plurality of the first invoice information if it is determined that the demand information is missing, and collecting the invoice information through the target information collection terminal.
[0013] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the invoice information collection method as described above.
[0014] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the invoice information collection method described above.
[0015] Beneficial effects of the present invention: The present invention obtains demand information from the enterprise side and multiple information collection terminals. In response to the first information request from the enterprise side, the multiple information collection terminals respectively feed back the first invoice information to the enterprise side to obtain multiple first invoice information. The enterprise side compares the combination of the multiple first invoice information with the demand information. Based on the comparison result, the integrity of the demand information is judged. If it is determined that the demand information is complete, the invoice information collection process is terminated. If it is determined that the demand information is missing, the target information collection terminal for collecting the missing demand information is determined from all information collection terminals based on the missing demand information and the multiple first invoice information, and the invoice information is collected through the target information collection terminal. In the above process, invoice information is collected simultaneously through multiple information collection terminals, and when the demand information is complete, the invoice information collection process is terminated, thereby realizing the rapid collection of invoice information. It not only avoids the single method of invoice information collection, but also improves the efficiency of invoice information collection and reduces the labor intensity of staff. When the demand information is incomplete, invoice information is collected through the target information collection terminal, thereby improving the success rate of invoice information collection and making invoice information collection more efficient, thereby further reducing the time spent on invoice information collection.
[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0018] Figure 1 is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application;
[0019] Figure 2 is a flow chart of an invoice information collection method shown in an exemplary embodiment of the present application;
[0020] Figure 3 A block diagram of an invoice information collection device suitable for implementing an embodiment of the present application is shown;
[0021] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0022] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0023] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0024] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0025] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0026] The technical solutions of the embodiments of the present application involve computer and other related technologies, which are specifically described through the following embodiments:
[0027] Figure 1 It is a schematic diagram of an exemplary system architecture shown in an exemplary embodiment of the present application.
[0028] Reference Figure 1As shown, the system architecture may include a storage device 101 and a computer device 102. The computer device 102 may be at least one of a desktop graphics processing unit (GPU) computer, a GPU computing cluster, a neural network computer, etc. Relevant technicians may use the computer device 102 to obtain the demand information of the enterprise end and multiple information collection ends, and respond to the first information request of the enterprise end. The multiple information collection ends respectively feedback the first invoice information to the enterprise end to obtain multiple first invoice information. The enterprise end compares the combination of the multiple first invoice information with the demand information, and based on the comparison result, determines the integrity of the demand information. If the demand information is determined to be complete, the invoice information collection process is terminated. If the demand information is determined to be missing, the target information collection end for collecting the missing demand information is determined from all the information collection ends according to the missing demand information and the multiple first invoice information, and the invoice information is collected through the target information collection end. The storage device 101 is used to store the demand information of the enterprise end and multiple information collection ends, and provide them to the computer device 102 for processing.
[0029] Illustratively, after the computer device 102 obtains the demand information and multiple information collection terminals of the enterprise side in the storage device 101, in response to the first information request of the enterprise side, the multiple information collection terminals respectively feed back the first invoice information to the enterprise side to obtain multiple first invoice information. The enterprise side compares the combination of the multiple first invoice information with the demand information, and judges the integrity of the demand information based on the comparison result. If it is determined that the demand information is complete, the invoice information collection process is terminated. If it is determined that the demand information is missing, the target information collection terminal for collecting the missing demand information is determined from all the information collection terminals based on the missing demand information and the multiple first invoice information, and the invoice information is collected through the target information collection terminal. In the above process, invoice information is collected simultaneously through multiple information collection terminals, and when the demand information is complete, the invoice information collection process is terminated, thereby realizing the rapid collection of invoice information, not only avoiding the single method of invoice information collection, but also improving the efficiency of invoice information collection and reducing the labor intensity of staff. When the demand information is incomplete, invoice information is collected through the target information collection terminal, thereby improving the success rate of invoice information collection and making invoice information collection more efficient, thereby further reducing the time spent on invoice information collection.
[0030] It should be noted that the invoice information collection method provided in the embodiment of the present application is generally executed by the computer device 102 , and accordingly, the invoice information collection device is generally set in the computer device 102 .
[0031] The implementation details of the technical solution of the embodiment of the present application are described in detail below:
[0032] Figure 2is a flowchart of an invoice information collection method shown in an exemplary embodiment of the present application. The invoice information collection method can be executed by a computing processing device. The computing processing device can be Figure 1 The computer device 102 shown in FIG. Figure 2 As shown, the invoice information collection method at least includes steps S210 to S250, which are described in detail as follows:
[0033] In step S210, demand information from the enterprise side and multiple information collection terminals are obtained.
[0034] In one embodiment of the present application, multiple information collection terminals have different information collection methods, and the demand information is determined according to the usage requirements of the enterprise.
[0035] In this embodiment, the information collection end can be a scanning gun, a scanner, a camera or a computer, for example, when the information collection end is a scanning gun, the scanning gun obtains the invoice information by scanning the invoice QR code; when the information collection end is a scanner, the scanner obtains the invoice information by scanning the invoice QR code; when the information collection end is a camera, the camera obtains the invoice information by taking a photo of the invoice; when the information collection end is a computer, the invoice information is obtained by acquiring the electronic invoice data stored in the computer, and the electronic invoice data includes invoice data stored in different storage locations such as electronic archives and mailboxes.
[0036] In step S220, in response to the first information request from the enterprise side, multiple information collection terminals respectively feed back the first invoice information to the enterprise side, and obtain multiple first invoice information.
[0037] In this embodiment, the first information request includes demand information, and the plurality of first invoice information has a one-to-one correspondence with the plurality of information collection terminals.
[0038] In this embodiment, the first information request is sent to multiple information collection terminals in a broadcast or multicast manner. The first information request is encapsulated by the demand information, the sender address, the broadcast address, etc. in a predetermined message format, or the first information request is encapsulated by the demand information, the sender address, the multicast address, etc. in a predetermined message format, and the predetermined message format is a TCP (Transmission Control Protocol) message format or a UDP (User Datagram Protocol) message format, etc.
[0039] In step S230, the enterprise compares the combination of the multiple first invoice information with the demand information, and determines the integrity of the demand information based on the comparison result.
[0040] In this embodiment, the process of comparing the combination of multiple first invoice information with the demand information by the enterprise side includes: if the combination of multiple first invoice information is consistent with all the invoice information in the demand information, the enterprise side will take the complete comparison success as the comparison result; if the combination of multiple first invoice information is consistent with part of the invoice information in the demand information, the enterprise side will take the partial comparison success as the comparison result.
[0041] In this embodiment, based on the comparison result, the process of judging the integrity of the demand information includes: if the comparison result is that all the comparisons are successful, then the demand information is judged to be complete; if the comparison result is that some of the comparisons are successful, then the demand information is judged to be missing.
[0042] In step S240, if it is determined that the required information is complete, the invoice information collection process is terminated.
[0043] In this embodiment, invoice information is collected simultaneously through multiple information collection terminals, and when the combination of multiple first invoice information is consistent with the required information, the invoice information collection process is terminated, thereby achieving rapid collection of invoice information, which not only avoids the single method of invoice information collection, but also improves the efficiency of invoice information collection and reduces the labor intensity of staff.
[0044] In step S250, if it is determined that the demand information is missing, a target information collection terminal for collecting the missing demand information is determined from all information collection terminals based on the missing demand information and the plurality of first invoice information, and invoice information is collected through the target information collection terminal.
[0045] In this embodiment, when the demand information is incomplete, invoice information is collected through the target information collection terminal, which improves the success rate of invoice information collection and makes invoice information collection more efficient, thereby further reducing the time spent on invoice information collection.
[0046] In one embodiment of the present application, the process of comparing the combination of multiple first invoice information with the demand information at the enterprise end includes:
[0047] If the combination of multiple first invoice information is consistent with all the invoice information in the demand information, the enterprise side will regard all the comparisons as successful as the comparison result.
[0048] In this embodiment, the process of combining multiple first invoice information includes: (1) selecting one of the multiple first invoice information as the initial invoice information; (2) deleting the parts of the other first invoice information that are consistent with the initial invoice information, and adding the parts of the other first invoice information that are inconsistent with the initial invoice information to the initial invoice information, and updating the initial invoice information until all the first invoice information are compared with the initial invoice information to obtain a combination of multiple first invoice information.
[0049] In this embodiment, if the combination of multiple first invoice information is consistent with all the invoice information in the demand information, it means that all the information in the demand information has been collected, and the invoice information collection process ends.
[0050] If the combination of multiple first invoice information is consistent with the partial invoice information in the demand information, the enterprise side will take the partial comparison success as the comparison result.
[0051] In this embodiment, if the combination of multiple first invoice information is consistent with part of the invoice information in the demand information, it means that some information in the demand information has not been collected and needs to be collected again by the target information collection terminal.
[0052] In an embodiment of the present application, based on the comparison result, the process of determining the integrity of the demand information includes:
[0053] If the comparison result is that all comparisons are successful, it is determined that the demand information is complete.
[0054] In this embodiment, if the combination of multiple first invoice information is consistent with all the invoice information in the demand information, it is determined that the demand information is complete, indicating that the invoice information collection process is completed, and the rapid collection of invoice information is achieved.
[0055] If the comparison result is a partial success, it is determined that the required information is missing.
[0056] In this embodiment, if the combination of multiple first invoice information is consistent with part of the invoice information in the demand information, it is determined that the demand information is missing, indicating that some information in the demand information has not been collected and needs to be collected again through the target information collection terminal to improve the accuracy of invoice information collection.
[0057] In one embodiment of the present application, before determining a target information collection end for collecting the missing demand information from all information collection ends according to the missing demand information and the plurality of first invoice information, the process includes:
[0058] Get the second invoice information, which is the invoice information newly added by the information collection end.
[0059] In this embodiment, the information collection end can periodically collect invoice information and compare the newly collected invoice information with the historical invoice information. If the newly collected invoice information is inconsistent with the historical invoice information, the newly collected invoice information will be used as the second invoice information and actively fed back to the enterprise end; the information collection end can also collect invoice information and feed back to the enterprise end after receiving the information request from the enterprise end, and use the invoice information as the first invoice information.
[0060] The combination of the plurality of first invoice information is compared with the second invoice information.
[0061] In this embodiment, after obtaining the second invoice information, the enterprise side needs to compare the combination of multiple first invoice information with the second invoice information to determine whether the second invoice information is the invoice data newly added by the enterprise side.
[0062] If the combination of multiple first invoice information is consistent with the second invoice information, the second invoice information will not be combined with the multiple first invoice information, and the missing requirement information will not be updated.
[0063] In this embodiment, if the second invoice information is consistent with the first invoice information, it means that the second invoice information is not new invoice data on the enterprise side, and the second invoice information is not combined with multiple first invoice information, and the missing demand information is not updated.
[0064] If the combination of multiple first invoice information is inconsistent with the second invoice information, the second invoice information is combined with multiple first invoice information to obtain updated combination information, and the demand information is compared with the updated combination information. If the demand information is successfully compared with the updated combination information, the invoice information collection process ends; if the demand information is unsuccessful, the missing demand information is updated.
[0065] In this embodiment, if the combination of multiple first invoice information is inconsistent with the second invoice information, it means that the second invoice information is newly added invoice information on the enterprise side, then the second invoice information is combined with multiple first invoice information to obtain updated combination information, and if the demand information is successfully compared with the updated combination information, the invoice information collection process ends; if the demand information is unsuccessful compared with the updated combination information, the missing demand information is updated.
[0066] In this embodiment, the process of combining the second invoice information with the plurality of first invoice information includes the same process as the process of combining the plurality of first invoice information.
[0067] In one embodiment of the present application, the process of determining a target information collection end for collecting missing demand information from all information collection ends according to the missing demand information and the plurality of first invoice information includes:
[0068] If the missing demand information is not updated, the similarities between multiple first invoice information and the missing demand information are calculated respectively to obtain multiple first similarities; the first invoice information corresponding to the maximum first similarity is selected from the multiple first similarities, and the information collection end corresponding to the first invoice information is used as the target information collection end for collecting the missing demand information; or, the multiple first similarities are compared with the first similarity threshold respectively, if the first similarity is greater than or equal to the first similarity threshold, the first invoice information corresponding to the first similarity is selected, and the information collection end corresponding to the first invoice information is used as the target information collection end for collecting the missing demand information; if the first similarity is less than the first similarity threshold, no information collection end is selected as the target information collection end for collecting the missing demand information.
[0069] In this embodiment, the similarity between the first invoice information and the missing demand information can be measured by cosine similarity, mutual information or Pearson correlation coefficient, etc. The first similarity threshold can be set according to actual conditions and is not limited here.
[0070] If the missing demand information is updated, the similarities between multiple first invoice information and the updated missing demand information, as well as the similarities between the second invoice information and the updated missing demand information are calculated respectively to obtain multiple first similarities; the first invoice information or the second invoice information corresponding to the maximum first similarity is selected from the multiple first similarities, and the information collection end corresponding to the first invoice information or the second invoice information is used as the target information collection end for collecting the updated missing demand information; or, the multiple first similarities are compared with the first similarity threshold respectively, if the first similarity is greater than or equal to the first similarity threshold, the first invoice information or the second invoice information corresponding to the first similarity is selected, and the information collection end corresponding to the first invoice information or the second invoice information is used as the target information collection end for collecting the updated missing demand information; if the first similarity is less than the first similarity threshold, no information collection end is selected as the target information collection end for collecting the updated missing demand information.
[0071] In this embodiment, the number of target information collection terminals can be one or more. Invoice information collection is performed again through the target information collection terminal to improve the success rate of invoice information collection, make invoice information collection more efficient, and further reduce the time spent on invoice information collection.
[0072] In one embodiment of the present application, the process of determining a target information collection end for collecting missing demand information from all information collection ends according to the missing demand information and the plurality of first invoice information includes:
[0073] Get sample missing demand information and multiple sample invoice information.
[0074] In this embodiment, the sample invoice information has a first corresponding relationship with the information collection terminal, and the sample missing requirement information and multiple sample invoice information are obtained by pre-collection.
[0075] In this embodiment, the quantity and type of sample invoice information required can be set according to actual conditions. The quantity and type of sample invoice information required can be set according to actual conditions.
[0076] The similarities between the multiple sample invoice information and the sample missing demand information are calculated respectively to obtain multiple second similarities. The second similarities are measured by cosine similarity, mutual information or Pearson correlation coefficient.
[0077] If the second similarity is greater than or equal to the second similarity threshold, it is determined that there is a second corresponding relationship between the sample missing requirement information and the sample invoice information. The second similarity threshold can be limited according to actual conditions, and is not limited here.
[0078] Based on the first corresponding relationship and the second corresponding relationship, a third corresponding relationship between the sample missing requirement information and the information collection end is established.
[0079] In this embodiment, based on the same sample invoice information, the information collection end is matched with the sample missing demand information, thereby establishing a third corresponding relationship between the sample missing demand information and the information collection end.
[0080] Through the third corresponding relationship, a collection end prediction model is established, and the collection end prediction model is trained to obtain a trained collection end prediction model.
[0081] In this embodiment, the acquisition-end prediction model may be a neural network model (eg, a Transformer network model), or a generative pre-trained transformers (GPT for short) model based on a transformer.
[0082] In this embodiment, the process of training the acquisition-end prediction model through the third corresponding relationship is not limited.
[0083] The missing demand information and multiple first invoice information are simultaneously input into the trained collection end prediction model to obtain a target information collection end for collecting the missing demand information, or the updated missing demand information, the second invoice information and multiple first invoice information are simultaneously input into the trained collection end prediction model to obtain a target information collection end for collecting the updated missing demand information.
[0084] In this embodiment, when the missing demand information is not updated, the target information collection end for collecting the missing demand information is obtained; when the missing demand information is updated, the target information collection end for collecting the updated missing demand information is obtained.
[0085] In this embodiment, invoice information is collected through the target information collection terminal, which improves the success rate of invoice information collection and makes invoice information collection more efficient, thereby further reducing the time spent on invoice information collection.
[0086] In one embodiment of the present application, the process of collecting invoice information through the target information collection terminal includes:
[0087] If the missing demand information is not updated, in response to the second information request from the enterprise side, the combination of the third invoice information and multiple first invoice information is compared with the demand information; if the combination of the third invoice information and multiple first invoice information is consistent with all the invoice information in the demand information, the demand information is determined to be complete, and the invoice information collection process is terminated; if the combination of the third invoice information and multiple first invoice information is consistent with part of the invoice information in the demand information, the demand information is determined to be missing, and the missing demand information is updated, and based on the updated missing demand information, the third invoice information and multiple first invoice information, the target information collection end for collecting the updated missing demand information is re-determined from all information collection ends, and invoice information is collected through the target information collection end until the demand information is complete.
[0088] In this embodiment, the target information collection end collects invoice information and feeds back the third invoice information to the enterprise end, and the second information request includes missing demand information.
[0089] In this embodiment, the second information request is obtained by encapsulating the missing demand information, the enterprise end address, the target information collection end address, etc., and the message format of the second information request is the same as that of the first information request.
[0090] In this embodiment, the process of combining the third invoice information with the plurality of first invoice information is the same as the process of combining the second invoice information with the plurality of first invoice information.
[0091] In this embodiment, the process of updating the missing demand information is to delete part of the invoice information that is the same as the combination of the third invoice information and the plurality of first invoice information from the demand information to obtain updated missing demand information.
[0092] In this embodiment, the process of re-determining the target information collection end for collecting the updated missing demand information from all information collection ends based on the updated missing demand information, the third invoice information and multiple first invoice information is the same as the process of determining the target information collection end for collecting the missing demand information from all information collection ends based on the missing demand information and multiple first invoice information.
[0093] If the missing demand information is updated, in response to the second information request from the enterprise side, the target information collection end collects invoice information and feeds back the third invoice information to the enterprise side, and the second information request includes the updated missing demand information; the combination of multiple first invoice information, second invoice information and third invoice information is compared with the demand information; if the combination of multiple first invoice information, second invoice information and third invoice information is consistent with all the invoice information in the demand information, it is determined that the demand information is complete, and the invoice information collection process is terminated; if the combination of multiple first invoice information, second invoice information and third invoice information is consistent with part of the invoice information in the demand information, it is determined that the demand information is missing, and the updated missing demand information is updated again, and based on the updated missing demand information, the second invoice information, the third invoice information and multiple first invoice information, the target information collection end that collects the updated missing demand information is re-determined from all information collection ends, and invoice information is collected through the target information collection end until the demand information is complete.
[0094] In this embodiment, the process of combining the plurality of first invoice information, the second invoice information and the third invoice information is the same as the process of combining the second invoice information and the plurality of first invoice information.
[0095] In this embodiment, the process of updating the updated missing demand information is to delete part of the invoice information that is the same as the combination of the third invoice information, the second invoice information and the plurality of first invoice information from the demand information to obtain the updated missing demand information again.
[0096] In this embodiment, the process of re-determining the target information collection end for collecting the missing demand information after re-update from all information collection ends based on the missing demand information after re-update, the second invoice information, the third invoice information and multiple first invoice information is the same as the process of determining the target information collection end for collecting the missing demand information from all information collection ends based on the missing demand information and multiple first invoice information.
[0097] The following describes an embodiment of the device of the present application, which can be used to execute the invoice data collection method in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the invoice data collection method in the above embodiment of the present application.
[0098] Figure 3A block diagram of an invoice data collection device suitable for implementing the embodiment of the present application is shown. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the computer device 102. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0099] like Figure 3 As shown, the exemplary invoice data collection device includes:
[0100] The information acquisition module 301 is used to acquire demand information from the enterprise side and multiple information collection terminals.
[0101] The information collection module 302 is used to respond to the first information request from the enterprise side. Multiple information collection terminals respectively feed back the first invoice information to the enterprise side to obtain multiple first invoice information. The first information request includes demand information. The multiple first invoice information has a one-to-one correspondence with the multiple information collection terminals.
[0102] The information comparison module 303 is used by the enterprise to compare the combination of multiple first invoice information with the demand information, and based on the comparison result, determine the integrity of the demand information.
[0103] The collection end module 304 is used to end the invoice information collection process if it is determined that the required information is complete.
[0104] The circular collection module 305 is used to determine the target information collection end for collecting the missing demand information from all information collection ends according to the missing demand information and multiple first invoice information if it is determined that the demand information is missing, and collect the invoice information through the target information collection end.
[0105] In one embodiment of the present application, multiple information collection terminals have different information collection methods, and the demand information is determined according to the usage requirements of the enterprise.
[0106] In this embodiment, the information collection end can be a scanning gun, a scanner, a camera or a computer, for example, when the information collection end is a scanning gun, the scanning gun obtains the invoice information by scanning the invoice QR code; when the information collection end is a scanner, the scanner obtains the invoice information by scanning the invoice QR code; when the information collection end is a camera, the camera obtains the invoice information by taking a photo of the invoice; when the information collection end is a computer, the invoice information is obtained by acquiring the electronic invoice data stored in the computer, and the electronic invoice data includes invoice data stored in different storage locations such as electronic archives and mailboxes.
[0107] In this embodiment, the first information request includes demand information, and the plurality of first invoice information has a one-to-one correspondence with the plurality of information collection terminals.
[0108] In this embodiment, the first information request is sent to multiple information collection terminals in a broadcast or multicast manner. The first information request is encapsulated by the demand information, the sender address, the broadcast address, etc. in a predetermined message format, or the first information request is encapsulated by the demand information, the sender address, the multicast address, etc. in a predetermined message format, and the predetermined message format is a TCP (Transmission Control Protocol) message format or a UDP (User Datagram Protocol) message format, etc.
[0109] In this embodiment, the process of comparing the combination of multiple first invoice information with the demand information by the enterprise side includes: if the combination of multiple first invoice information is consistent with all the invoice information in the demand information, the enterprise side will take the complete comparison success as the comparison result; if the combination of multiple first invoice information is consistent with part of the invoice information in the demand information, the enterprise side will take the partial comparison success as the comparison result.
[0110] In this embodiment, based on the comparison result, the process of judging the integrity of the demand information includes: if the comparison result is that all the comparisons are successful, then the demand information is judged to be complete; if the comparison result is that some of the comparisons are successful, then the demand information is judged to be missing.
[0111] In this embodiment, invoice information is collected simultaneously through multiple information collection terminals, and when the combination of multiple first invoice information is consistent with the required information, the invoice information collection process is terminated, thereby achieving rapid collection of invoice information, which not only avoids the single method of invoice information collection, but also improves the efficiency of invoice information collection and reduces the labor intensity of staff.
[0112] In this embodiment, when the demand information is incomplete, invoice information is collected through the target information collection terminal, which improves the success rate of invoice information collection and makes invoice information collection more efficient, thereby further reducing the time spent on invoice information collection.
[0113] It should be noted that the invoice data collection device provided in the above embodiment and the invoice data collection method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the invoice data collection device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0114] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the invoice data collection method provided in the above-mentioned embodiments.
[0115] Figure 4 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 4 The computer system 400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403, such as executing the method in the above embodiment. In the RAM 403, various programs and data required for system operation are also stored. The CPU 401, ROM 402 and RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0117] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.
[0118] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 409, and / or installed from a removable medium 411. When the computer program is executed by a central processing unit (CPU) 401, various functions defined in the system of the present application are executed.
[0119] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0120] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0121] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0122] Another aspect of the present application provides a computer-readable storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the invoice data collection method provided in the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
[0123] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0124] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0125] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0126] It should be understood that the above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection required by the claims.
Claims
1. A method for collecting invoice information, characterized in that: include: Obtaining demand information from the enterprise side and multiple information collection terminals, wherein the multiple information collection terminals have different information collection methods, and the demand information is determined according to the usage requirements of the enterprise; In response to the first information request of the enterprise end, the plurality of information collection ends respectively feed back the first invoice information to the enterprise end, and obtain the plurality of the first invoice information, the first information request includes the demand information, and the plurality of the first invoice information has a one-to-one correspondence with the plurality of the information collection ends; The enterprise end compares the combination of the plurality of the first invoice information with the demand information, and determines the integrity of the demand information based on the comparison result; If it is determined that the required information is complete, the invoice information collection process ends; If it is determined that the demand information is missing, a target information collection terminal for collecting the missing demand information is determined from all the information collection terminals based on the missing demand information and the plurality of the first invoice information, and invoice information is collected through the target information collection terminal.
2. The invoice information collection method according to claim 1, characterized in that: The process of the enterprise end comparing the combination of the plurality of the first invoice information with the demand information includes: If the combination of the plurality of first invoice information is consistent with all the invoice information in the demand information, the enterprise side will take all the successful comparisons as the comparison result; If a combination of multiple first invoice information is consistent with part of the invoice information in the demand information, the enterprise side will take the partial comparison success as the comparison result.
3. The invoice information collection method according to claim 2, characterized in that: Based on the comparison results, the process of judging the integrity of the demand information includes: If the comparison result is that all comparisons are successful, it is determined that the demand information is complete; If the comparison result is that the partial comparison is successful, it is determined that the demand information is missing.
4. The invoice information collection method according to any one of claims 1 to 3, characterized in that: Before determining a target information collection terminal for collecting the missing demand information from all the information collection terminals according to the missing demand information and the plurality of the first invoice information, the method includes: Acquire second invoice information, where the second invoice information is invoice information newly added by the information collection end; comparing the combination of the plurality of the first invoice information with the second invoice information; If the combination of the plurality of first invoice information is consistent with the second invoice information, the second invoice information is not combined with the plurality of first invoice information, and the missing demand information is not updated; If the combination of the multiple first invoice information is inconsistent with the second invoice information, the second invoice information is combined with the multiple first invoice information to obtain updated combination information, and the demand information is compared with the updated combination information. If the demand information is successfully compared with the updated combination information, the invoice information collection process ends; if the demand information is unsuccessful, the missing demand information is updated.
5. The invoice information collection method according to claim 4, characterized in that: The process of determining a target information collection terminal for collecting the missing demand information from all the information collection terminals according to the missing demand information and the plurality of the first invoice information includes: If the missing demand information is not updated, the similarities between the multiple first invoice information and the missing demand information are calculated respectively to obtain multiple first similarities; the first invoice information corresponding to the maximum first similarity is selected from the multiple first similarities, and the information collection end corresponding to the first invoice information is used as the target information collection end for collecting the missing demand information; or, the multiple first similarities are compared with the first similarity threshold respectively, if the first similarity is greater than or equal to the first similarity threshold, the first invoice information corresponding to the first similarity is selected, and the information collection end corresponding to the first invoice information is used as the target information collection end for collecting the missing demand information; if the first similarity is less than the first similarity threshold, no information collection end is selected as the target information collection end for collecting the missing demand information; If the missing demand information is updated, the similarities between multiple first invoice information and the updated missing demand information, as well as the similarities between the second invoice information and the updated missing demand information are calculated respectively to obtain multiple first similarities; the first invoice information or the second invoice information corresponding to the maximum first similarity is selected from the multiple first similarities, and the information collection end corresponding to the first invoice information or the second invoice information is used as the target information collection end for collecting the updated missing demand information; or, the multiple first similarities are compared with the first similarity threshold respectively, if the first similarity is greater than or equal to the first similarity threshold, the first invoice information or the second invoice information corresponding to the first similarity is selected, and the information collection end corresponding to the first invoice information or the second invoice information is used as the target information collection end for collecting the updated missing demand information; if the first similarity is less than the first similarity threshold, no information collection end is selected as the target information collection end for collecting the updated missing demand information.
6. The invoice information collection method according to claim 4, characterized in that: The process of determining a target information collection terminal for collecting the missing demand information from all the information collection terminals according to the missing demand information and the plurality of the first invoice information includes: Obtaining sample missing demand information and multiple sample invoice information, wherein the sample invoice information has a first corresponding relationship with the information collection end; Calculating the similarities between the plurality of sample invoice information and the sample missing demand information respectively to obtain a plurality of second similarities; If the second similarity is greater than or equal to a second similarity threshold, it is determined that there is a second corresponding relationship between the sample missing requirement information and the sample invoice information; Based on the first corresponding relationship and the second corresponding relationship, establishing a third corresponding relationship between the sample missing requirement information and the information collection end; Establishing a collection end prediction model through the third corresponding relationship, and training the collection end prediction model to obtain a trained collection end prediction model; The missing demand information and multiple first invoice information are simultaneously input into the trained collection end prediction model to obtain a target information collection end for collecting the missing demand information, or the updated missing demand information, the second invoice information and multiple first invoice information are simultaneously input into the trained collection end prediction model to obtain a target information collection end for collecting the updated missing demand information.
7. The invoice information collection method according to claim 4, characterized in that: The process of collecting invoice information through the target information collection terminal includes: If the missing demand information is not updated, in response to the second information request of the enterprise end, the target information collection end collects invoice information and feeds back the third invoice information to the enterprise end, the second information request including the missing demand information; the third invoice information and a combination of the plurality of the first invoice information are compared with the demand information; if the third invoice information and a combination of the plurality of the first invoice information are consistent with all the invoice information in the demand information, it is determined that the demand information is complete, and the invoice information collection process is terminated; if the third invoice information and a combination of the plurality of the first invoice information are consistent with part of the invoice information in the demand information, it is determined that the demand information is missing, and the missing demand information is updated, and according to the updated missing demand information, the third invoice information and the plurality of the first invoice information, the target information collection end for collecting the updated missing demand information is re-determined from all the information collection ends, and invoice information is collected through the target information collection end until the demand information is complete; If the missing demand information is updated, in response to the second information request from the enterprise side, the target information collection end collects invoice information and feeds back the third invoice information to the enterprise side, wherein the second information request includes the updated missing demand information; a combination of multiple first invoice information, second invoice information and third invoice information is compared with the demand information; if the combination of multiple first invoice information, second invoice information and third invoice information is consistent with all the invoice information in the demand information, it is determined that the demand information is complete, and the invoice information collection process is terminated; if the combination of multiple first invoice information, second invoice information and third invoice information is consistent with part of the invoice information in the demand information, it is determined that the demand information is missing, and the updated missing demand information is updated again, and the target information collection end for collecting the updated missing demand information is re-determined from all the information collection ends based on the updated missing demand information, the second invoice information, the third invoice information and multiple first invoice information, and invoice information is collected through the target information collection end until the demand information is complete.
8. An invoice information collection device, characterized in that: include: An information acquisition module is used to acquire demand information from an enterprise end, multiple information acquisition ends, and the multiple information acquisition ends have different information acquisition methods. The demand information is determined according to the use requirements of the enterprise; An information collection module, configured to respond to the first information request of the enterprise end, and the plurality of information collection ends respectively feed back first invoice information to the enterprise end to obtain a plurality of first invoice information, wherein the first information request includes the demand information, and the plurality of first invoice information has a one-to-one correspondence with the plurality of information collection ends; An information comparison module, used for the enterprise to compare a combination of the plurality of first invoice information with the demand information, and to determine the integrity of the demand information based on the comparison result; A collection end module, used to end the invoice information collection process if it is determined that the required information is complete; A circular collection module is used to determine a target information collection terminal for collecting the missing demand information from all the information collection terminals based on the missing demand information and the plurality of the first invoice information if it is determined that the demand information is missing, and collect invoice information through the target information collection terminal.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the invoice information collection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the invoice information collection method described in any one of claims 1 to 7.