Data processing apparatus, data processing method, and program

The data processing device effectively processes multiple vouchers by identifying common character strings and applying rules to create relevant data, addressing the inefficiencies of existing systems.

JP2024144106AInactive Publication Date: 2024-10-11FAST ACCOUNTING INC

Patent Information

Application Number
JP2024005421
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-01-17
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing systems require users to read vouchers one by one, leading to processing of non-target documents and character strings, and lack efficient methods for simultaneously processing multiple vouchers.

Method used

A data processing device and method that includes a data acquisition unit, a character string specifying unit, and a data creation unit to identify and process common character strings across multiple vouchers, creating processed data based on rules and excluding non-common strings.

Benefits of technology

Enables appropriate processing of information from multiple vouchers, ensuring only relevant data is processed and facilitating efficient data creation and classification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024144106000001_ABST
    Figure 2024144106000001_ABST
Patent Text Reader

Abstract

To provide a data processing apparatus, a data processing method, and a program for appropriately processing information indicated by character strings included in a voucher based on image data created by simultaneously reading a plurality of vouchers.SOLUTION: In a data processing system that includes a data processing apparatus and an image reading apparatus, the data processing apparatus 1 comprises: a data acquisition unit 131 for acquiring voucher image data created by simultaneously reading a plurality of vouchers from an image processing apparatus or another apparatus; a character string identifying unit 132 for identifying a common character string included in the plurality of vouchers based on the voucher image data; and a data creation unit 133 for creating processed data by processing at least a part of a plurality of character strings other than the common character string included in the plurality of vouchers based on a predetermined rule corresponding to the common character string.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a data processing device, a data processing method, and a program. [Background technology]

[0002] 2. Description of the Related Art Conventionally, there has been known a device that creates journal data based on image data obtained by reading evidence such as a receipt, invoice, or bill (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-071991 [Patent Document 2] JP 2016-186773 A Summary of the Invention [Problem to be solved by the invention]

[0004] In order to create processed data based on evidence image data using the device described in Patent Document 1, the user had to read the evidence one by one. As described in Patent Document 2, the user can process multiple evidences collectively by reading multiple evidences collectively using a flatbed scanner or digital camera. In this case, even if the multiple evidences read by the user include evidence that is not the target of processing, the character strings written on the evidence are also processed.

[0005] Therefore, the present invention has been made in consideration of these points, and aims to make it possible to appropriately process information indicated by character strings contained in evidence based on image data created by simultaneously reading multiple evidence. [Means for solving the problem]

[0006] A data processing device of a first aspect of the present invention includes a data acquisition unit that acquires evidence image data created by simultaneously reading multiple evidences, a string identification unit that identifies a common string that is commonly contained in multiple evidences based on the evidence image data, and a data creation unit that creates processed data by processing at least a portion of a plurality of strings other than the common string that are contained in the multiple evidences based on predetermined rules corresponding to the common strings.

[0007] The data creation unit may create the processed data including data contained in a plurality of the evidences that include the common character string, and not including data contained in the evidences that do not include the common character string.

[0008] The data creation unit may create first processed data based on data contained in multiple evidences that include the first common string, and second processed data based on data contained in multiple evidences that include the second common string.

[0009] The common string may be an issuer name common to multiple evidence, or an issuer name in the same industry that is common to multiple evidence, and the data creation unit may create the processed data in which data other than the common string that is included in the multiple evidences that include the issuer name is associated with the issuer name.

[0010] The common string is a string indicating an issue date common to multiple evidences, and the data creation unit may create the processed data in which data other than the common string contained in multiple evidences that have an issue date corresponding to the common string is associated with the issue date.

[0011] The common string is a string indicating an issue date common to multiple vouchers, and the data creation unit may create the processed data in which strings indicating the amounts included in each of the multiple vouchers that have an issue date corresponding to the common string are arranged in order of the issue date.

[0012] Each of the multiple evidences may be a receipt indicating the name of the purchased product and the amount of the purchased product, the common string is a string indicating the name of the purchased product, and the data creation unit may create the processed data in which the name of the purchased product is associated with a total amount obtained by adding up the amounts for each of the purchased product names.

[0013] The data creation section may create the processed data in which an account item corresponding to the purchased product name is associated with the total amount.

[0014] The data creation unit may create data indicating a warning when a plurality of character strings included in the plurality of evidences do not satisfy a predetermined condition.

[0015] The data creation unit may create data indicating the warning when there is no predetermined correlation between the plurality of character strings included in the plurality of evidences.

[0016] The data processing device may further have a memory unit that stores area data indicating a relationship between a position of a specified character string in the evidence and an area of ​​the evidence, and the string identification unit may identify a plurality of character strings contained within the area of ​​each of the plurality of evidences identified by referring to the area data associated with the identified common string, as a plurality of evidence-specific character strings described on each of the plurality of evidences, and the data creation unit may create the processed data further based on the plurality of evidence-specific character strings identified by the string identification unit.

[0017] The area data is data indicating the positions of at least two vertices or three edges of the evidence based on the position of the specified character string, and the character string identification unit may identify the multiple evidence-specific character strings within an area surrounded by three edges of the evidence identified based on the area data.

[0018] The area data is data indicating the positions of the four vertices or four sides of the voucher based on the position of a first specified character string that is above the center of the voucher and the position of a second specified character string that is below the center of the voucher, and the character string identification unit may identify the multiple voucher-specific character strings within an area surrounded by the four sides of the voucher identified based on the area data.

[0019] A data processing method of a second aspect of the present invention includes the steps of: acquiring evidence image data created by simultaneously reading multiple evidences, executed by a computer; identifying a common string contained in multiple evidences based on the evidence image data; and creating processed data by processing at least a portion of multiple strings other than the common string contained in the multiple evidences based on predetermined rules corresponding to the common strings.

[0020] A program of a third aspect of the present invention is a program for causing a computer to function as a data acquisition unit that acquires evidence image data created by simultaneously reading multiple evidences, a string identification unit that identifies a common string that is commonly contained in multiple evidences based on the evidence image data, and a data creation unit that creates processed data by processing at least a portion of multiple strings other than the common string that are contained in the multiple evidences based on predetermined rules that correspond to the common strings. Effect of the Invention

[0021] According to the present invention, it is possible to appropriately process information indicated by character strings included in evidence based on image data created by simultaneously reading a plurality of evidences. [Brief description of the drawings]

[0022] [Figure 1] FIG. 1 is a diagram for explaining an overview of a data processing system S. [Diagram 2] FIG. 1 is a diagram illustrating a configuration of a data processing device 1. [Diagram 3] FIG. 4 is a diagram illustrating an example of area data. [Figure 4] FIG. 11 is a diagram showing another example of area data. [Diagram 5] FIG. 13 is a diagram showing an example of evidence image data created by reading a plurality of evidences. [Figure 6] FIG. 13 is a diagram showing an example of evidence image data created by reading a plurality of evidences. [Figure 7] 13 is a diagram showing an example of journal data created by the data creation unit 133. FIG. [Figure 8] 13 is a diagram showing another example of journalization data created by the data creation unit 133. FIG. [Figure 9] FIG. 13 is a diagram showing an example of processed data created by the data creation unit 133 in which character strings are arranged in the order in which the evidence vouchers were created. [Figure 10] 13 is a diagram showing an example of a plurality of processed data created by the data creation unit 133. FIG. [Figure 11] 3 is a flowchart showing a process flow of the data processing device 1. [Figure 12] 13 is a flowchart showing the flow of the process (S15) executed by data creation unit 133. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] [Outline of Data Processing Device System S] FIG. 1 is a diagram for explaining an overview of a data processing system S. The data processing system S is a system for processing data written on a plurality of vouchers, such as receipts, invoices, delivery notes, or bills, which are scanned collectively. Each of the plurality of vouchers is, for example, a receipt on which the issuer's name, the date of issue, the name of the purchased item, and the price of the purchased item are written. The data processing system S has a data processing device 1 and an image reading device 2, and the data processing device 1 creates processed data classified based on, for example, character strings (e.g., issuer's name, date of issue) that are commonly written on the plurality of vouchers scanned by the image reading device 2.

[0024] The image reading device 2 is, for example, a flatbed type scanner or a digital camera. The data processing device 1 may obtain the evidence image data directly from the image reading device 2, or may obtain the evidence image data from another device (for example, a computer). The following describes an example in which the evidence is a receipt issued at a store.

[0025] [Configuration of data processing device 1] 2 is a diagram showing the configuration of the data processing device 1. The data processing device 1 is, for example, a computer, and is used in a company that processes evidence and creates processed data. The data processing device 1 may be a cloud server.

[0026] The data processing device 1 includes a communication unit 11, a storage unit 12, and a control unit 13. The control unit 13 includes a data acquisition unit 131, a character string specification unit 132, and a data creation unit 133.

[0027] The communication unit 11 has a communication interface for receiving evidence image data from an external device (e.g., the image reading device 2). The communication unit 11 inputs the received evidence image data to the data acquisition unit 131. The communication unit 11 also transmits the processed data created by the data creation unit 133 to an external device (e.g., a display, a printer, or a computer used by an accounting clerk).

[0028] The storage unit 12 has storage media such as a ROM (Read Only Memory), a RAM (Random Access Memory), and an SSD (Solid State Drive). The storage unit 12 stores a program executed by the control unit 13. The storage unit 12 also temporarily stores the evidence image data received by the communication unit 11. The storage unit 12 stores various data used by the control unit 13 to create processed data.

[0029] The storage unit 12 stores, for example, a string dictionary used by the string identification unit 132 to identify multiple strings included in the evidence. The string dictionary is dictionary data including words that should be recognized as strings by the string identification unit 132. The string dictionary may include information indicating the type of word for each of multiple words. The word type may be, for example, an organization name (including a store name), a product name, an address, or a term specific to an invoice (for example, "consumption tax", "total"). In the string dictionary, multiple types may be associated with one word.

[0030] The storage unit 12 may store rules corresponding to common character strings included in multiple vouchers in association with character strings that identify the issuer of the voucher, such as the issuer's name, the issuer's logo, or the store name, character strings that indicate the time of issuance of the voucher, such as the date, or character strings that indicate the product name. The common character string is, for example, the issuer's name, the time of issuance of the voucher, or the product name that is common to multiple vouchers.

[0031] The rule corresponding to the common character string is, for example, a rule for the data creation unit 133 to create processed data including a character string other than the common character string written on the voucher for each issuer common to multiple vouchers, for each issuance time of the voucher, or for each product. The rule corresponding to the common character string may be a rule for the data creation unit 133 to create processed data for each business type of the issuer of the voucher. The issuance time is expressed by any one of the year, month, day, or day of the week. Which of the year, month, day, or day of the week is to be used as the issuance time may be set by a user (e.g., an accountant) who creates the processed data using the data processing device 1.

[0032] The storage unit 12 may store area data indicating the relationship between the position of a predetermined character string in the voucher and the area of ​​the voucher, in association with each of a plurality of vouchers issued by a plurality of different organizations. The area data is data indicating the positions of at least two vertices or three sides of the voucher based on the position of the common character string. The area data may be data indicating the positions of four vertices or four sides of the voucher based on the position of a first predetermined character string above the center of the voucher and the position of a second predetermined character string below the center of the voucher. The predetermined character string is a character string indicating the issuer of the voucher, and may be the name of the issuer, a mark indicating the issuer, a catchphrase unique to the issuer, or the like.

[0033] FIG. 3 is a diagram showing an example of area data. As shown in FIG. 3(a), the area data includes, for example, a distance D1 from the left end of a character string indicating the issuer name of the voucher (e.g., store name) to the left side of the voucher, and a distance D2 from the right end of the character string indicating the issuer name to the right side of the voucher. As shown in FIG. 3(b), the area data may include a distance D3 from the top end of a first predetermined character string indicating the issuer name to the top side of the voucher, and a distance D4 from the bottom end of a second predetermined character string different from the store name (e.g., "total") to the bottom side of the voucher. When the distances D1 to D4 vary even for vouchers issued by one organization, the area data may include a value indicating the range of the distances D1 to D4.

[0034] Fig. 4 is a diagram showing another example of area data. The area data shown in Fig. 4(a) includes a horizontal distance D1 and a vertical distance D3 from the top left of the character string indicating the issuer's name to the top left vertex of the voucher, and a horizontal distance D2 and a vertical distance D3 from the top right of the character string indicating the issuer's name to the top right vertex of the voucher. The line segment connecting the two vertices becomes the top edge of the voucher, and two line segments that pass through each of the two vertices and are perpendicular to the line segment connecting the two vertices become the left and right edges of the voucher.

[0035] The area data shown in Figure 4(b) further includes a horizontal distance D5 and a vertical distance D4 from the bottom left of the second predetermined character string "Total" to the bottom left vertex of the voucher, and a horizontal distance D6 and a vertical distance D4 from the bottom right of "Total" to the bottom right vertex of the voucher. The quadrilateral formed by the four vertices becomes the outline of the voucher.

[0036] The storage unit 12 may store journal entry data used by the data creation unit 133 to create journal entry data. In the journal entry data, account items such as stationery expenses, food expenses, and communication expenses are associated with product names or service names.

[0037] The control unit 13 includes, for example, a CPU (Central Processing Unit). The control unit 13 executes the programs stored in the storage unit 12 to function as a data acquisition unit 131, a character string specification unit 132, and a data creation unit 133.

[0038] The data acquisition unit 131 acquires various data via the communication unit 11. For example, the data acquisition unit 131 acquires evidence image data created by simultaneously reading a plurality of evidence documents from the image reading device 2. The data acquisition unit 131 inputs the acquired evidence image data to the character string identification unit 132.

[0039] The data acquisition unit 131 may acquire instruction data indicating a user's instruction via the communication unit 11. The instruction data is, for example, data specifying a type of common character string. The instruction data may be data indicating the content of a process to be executed by the data creation unit 133. The instruction data may be data specifying a rule corresponding to the common character string. The data acquisition unit 131 notifies the content of the instruction data to the character string specification unit 132 or the data creation unit 133. The data acquisition unit 131 may store the content of the instruction data in the storage unit 12.

[0040] The character string specification unit 132 executes an OCR (Optical Character Recognition) process to specify a plurality of characters included in the evidence image based on the evidence image data acquired by the data acquisition unit 131. The character string specification unit 132 specifies a plurality of character strings based on the specified plurality of characters by referring to a character string dictionary stored in the storage unit 12.

[0041] The character string identifying unit 132 identifies a common character string that is included in common among the multiple evidences from among the multiple identified character strings. The character string identifying unit 132 identifies multiple character strings that exist in the evidence image data as candidates for the common character string. From among the candidates for the common character string, the character string identifying unit 132 identifies, for example, a character string indicating an issuer that is common to the multiple evidences as a common character string. The character string identifying unit 132 identifies a character string that matches a word whose word type in the character string dictionary is a company name as a common character string indicating an issuer of the multiple evidences. The common character string may be a character string indicating an issue time that is common to the multiple evidences.

[0042] The character string identifying unit 132 may identify a common character string as a common character string on the condition that the distance between each of the identified candidates for the common character string is equal to or greater than the minimum vertical length and the minimum horizontal length of the voucher indicated by the size stored in the storage unit 12 as the minimum value of the size of one piece of evidence. In this way, the character string identifying unit 132 can identify a character string that is included only once in each of multiple pieces of evidence as a common character string, without identifying a character string that is included multiple times in one piece of evidence, such as "circle".

[0043] The character string specification unit 132 may specify the area of ​​each of the plurality of evidences corresponding to each of the plurality of identified common character strings by referring to the area data associated with the identified common character string. The character string specification unit 132 specifies the plurality of character strings included in the area of ​​each of the identified plurality of evidences as the plurality of evidence-specific character strings described in each of the plurality of evidences.

[0044] The character string specification unit 132 specifies, for example, a plurality of document-specific character strings in an area surrounded by three sides of the document specified based on the area data shown in Fig. 3. The character string specification unit 132 may specify a plurality of document-specific character strings in an area surrounded by four sides of the document specified based on the area data.

[0045] 5 and 6 are diagrams showing examples of evidence image data created by reading multiple evidence. In FIG. 5, images of four receipts issued by "A Shop" are included. In this case, the character string identifying unit 132 identifies the common character string "A Shop" and the common character string "Total", and identifies the regions R1, R2, R3, and R4 as the regions of each evidence by referring to the region data shown in FIG. 3 or FIG. 4. The character string identifying unit 132 identifies the evidence-specific character string included in each region. By identifying the region in this manner, the character string identifying unit 132 can correctly identify the region of each evidence even if the outline of each evidence is unclear in the evidence image data. As a result, the character string identifying unit 132 can correctly identify the evidence-specific character string corresponding to each evidence.

[0046] In FIG. 6, the issuer of the receipts included in areas R1 and R2 is "Shop A", and the issuer of the receipts included in areas R3 and R4 is "Shop B". In such a case, the character string identification unit 132 identifies areas R1 and R2 as areas corresponding to the common character string "Shop A", and identifies areas R3 and R4 as areas corresponding to "Shop B". The character string identification unit 132 may identify areas R1 to R4 as areas containing the common character string "March 2023" or "Total". The character string identification unit 132 associates the voucher-specific character strings identified for each identified area with the common character string and notifies the data creation unit 133.

[0047] The data creation unit 133 creates processed data by processing at least a portion of the multiple character strings other than the common character string contained in the multiple evidence (i.e., the multiple evidence-specific character strings identified by the character string identification unit 132) based on predetermined rules corresponding to the common character strings.

[0048] As an example, when a common character string is an issuer name common to multiple vouchers, or an issuer name of the same business type common to multiple vouchers, the data creation unit 133 creates processed data in which data other than the common character string included in the multiple vouchers containing the issuer name is associated with the issuer name. For example, the data creation unit 133 creates processed data in a table format in which multiple character strings defined as character strings to be extracted in a rule corresponding to "Shop A" identified as the common character string are arranged in a format defined in the rule.

[0049] For example, the data creation unit 133 creates processed data that includes data contained in multiple vouchers that contain a common character string indicating an issuer common to the multiple vouchers, and does not include data contained in vouchers that do not contain the common character string. In the example shown in Figure 5, the data creation unit 133 creates processed data that includes character strings contained in each of the four receipts whose issuer is "Shop A." In the example shown in Figure 6, the data creation unit 133 creates processed data that includes character strings contained in each of the three receipts whose issuer is "Shop A," and does not include character strings contained in the receipt whose issuer is "Shop B."

[0050] If the business type of "Shop A" and "Shop B" is "convenience store," the data creation unit 133 may create processed data associated with "convenience store" that includes character strings contained in each of the three receipts issued by "Shop A" and character strings contained in the receipt issued by "Shop B." If processed data is created for each business type, the data creation unit 133 may create the processed data by processing based on rules corresponding to the business type.

[0051] Here, it is assumed that the rule corresponding to "Shop A" is "Create journal data for products with a tax rate of 10%." In this case, the data creation unit 133 extracts character strings indicating products with a tax rate of 10% from the character strings included in the multiple regions R1 to R4, and creates journal data based on the amounts corresponding to the extracted character strings.

[0052] Fig. 7 is a diagram showing an example of journal data created by the data creation unit 133. Fig. 7(a) shows journal data created by the data creation unit 133 based on the voucher image data shown in Fig. 5, and Fig. 7(b) shows journal data created based on the voucher image data shown in Fig. 6.

[0053] In the case of the evidence image data shown in Fig. 5, the data creation unit 133 extracts "ballpoint pen 120 yen," "sticky notes 300 yen," "copy paper 500 yen," and "printer ink 1250 yen" from area R1, area R2, and area R4, respectively, as character strings indicating products corresponding to a tax rate of 10%. The data creation unit 133 refers to the journalization data stored in the storage unit 12, classifies the total amount of "ballpoint pen" and "sticky notes" of 420 yen as the account item "stationery expenses," and classifies the total amount of "copy paper" and "printer ink" of 1750 yen as the account item "printing expenses," thereby creating the journalization data shown in Fig. 7(a).

[0054] In the case of the evidence image data shown in Fig. 6, the data creation unit 133 extracts "ballpoint pen 120 yen," "sticky notes 300 yen," and "copy paper 500 yen" from area R1 as character strings indicating products corresponding to a tax rate of 10%. The data creation unit 133 refers to the journalization data stored in the storage unit 12, classifies the total amount of "ballpoint pen" and "sticky notes" of 420 yen under the account item "stationery expenses," and classifies the amount of "copy paper" of 500 yen under the account item "printing expenses," thereby creating the journalization data shown in Fig. 7(b).

[0055] The character string identification unit 132 may identify a character string indicating an issuance date that is common to multiple vouchers as a common character string, and the data creation unit 133 may create processed data in which data other than the common character string that is included in the multiple vouchers that include an issuance date corresponding to the common character string is associated with the issuance date.

[0056] Fig. 8 is a diagram showing another example of journal data created by the data creation unit 133 based on the voucher image data shown in Fig. 6. The journal data shown in Fig. 8 is created when the issue date (year and month) is specified as the common character string, and the character string identification unit 132 identifies March 2023 as the common character string. Here, the rule when the common character string is the issue date is assumed to be "creating journal data by classifying products included in vouchers issued at the time corresponding to the common character string into account items."

[0057] In this case, the data creation unit 133 creates the journalization data shown in Fig. 8 by classifying the products listed on all receipts corresponding to areas R1 to R4 of the evidence image data shown in Fig. 6 into the corresponding account items. If part of the evidence image data includes a voucher issued in a month other than March 2023, the data creation unit 133 creates journalization data that is not based on the evidence-specific character string corresponding to that voucher.

[0058] The data creating unit 133 may create processed data in which character strings indicating amounts included in each of the multiple evidences including the issuance date corresponding to the common character string are arranged in the order of issuance date of the evidence. FIG. 9 is a diagram showing an example of processed data created by the data creating unit 133 in which character strings are arranged in the order of issuance date of the evidence based on the evidence image data shown in FIG. 5 or FIG. 6. In the processed data shown in FIG. 9, the issuance date (year / month / day) of the evidence, the product name, the amount, and the amount of consumption tax are associated with each other. By creating such processed data by the data creating unit 133, the user can easily understand the contents of the multiple evidences included in the evidence image data. The processed data in which character strings are arranged in the order of issuance date is suitable for settling bills during business trips.

[0059] If the common character string is the issue time, the data creation unit 133 may create processed data by extracting pre-registered products and amounts. The pre-registered products are, for example, products that employees are permitted to invoice the company for. By the data creation unit 133 creating such processed data, a user (e.g., an accountant) can easily determine which expenses should be paid to an employee among the expenses listed on multiple receipts when an employee has paid for a product in advance.

[0060] If the common character string is a character string indicating the name of a purchased product, the data creation unit 133 may create processed data in which the purchased product name is associated with a total amount obtained by adding up the amounts for each purchased product name. For example, the data creation unit 133 creates processed data in which an account item corresponding to the purchased product name is associated with the total amount.

[0061] In the example of the evidence image data shown in FIG. 5 or FIG. 6, the character string specification unit 132 specifies "tea" as a common character string, and the data creation unit 133 adds up the 500 yen for "tea" included in area R1 and the 200 yen for "tea" included in area R3, and creates processed data in which "tea" is associated with "700 yen." The data creation unit 133 may create processed data that further includes other product names and amounts. By the data creation unit 133 creating such processed data, when multiple evidence documents include products with the same name, the user can easily grasp the total amount of the products.

[0062] The data creation unit 133 may create first processed data based on data included in the multiple vouchers containing the first common character string, and second processed data based on data included in the multiple vouchers containing the second common character string. The common character string may be the name of the issuer of the vouchers, the time of issue, or the product name.

[0063] Figure 10 shows examples of multiple processed data created by the data creation unit 133 based on the evidence image data shown in Figure 6. Figure 10(a) shows an example of the first processed data based on receipts corresponding to areas R1 and R2 containing the first common character string "A Shop." Figure 10(b) shows an example of the second processed data based on receipts corresponding to areas R3 and R4 containing the second common character string "B Shop."

[0064] In the case where the multiple vouchers include a mixture of vouchers issued in March 2023 and vouchers issued in April 2023, the data creation unit 133 may create a first processed data based on multiple receipts including the first common character string "March 2023" and a second processed data based on multiple receipts including the second common character string "April 2023." In this way, the data creation unit 133 creates processed data corresponding to each of the multiple common character strings, thereby creating multiple processed data in which character strings included in the multiple vouchers are classified according to the needs of the user, making it easier for the user to utilize the data included in the vouchers.

[0065] The data creation unit 133 may create data indicating a warning when multiple character strings included in multiple evidences do not satisfy a predetermined condition. The predetermined condition is a condition specified by a user or a condition stored in advance in the storage unit 12. For example, the data creation unit 133 creates data indicating a warning when multiple character strings included in multiple evidences do not have a predetermined association.

[0066] As an example, the data creation unit 133 creates data indicating a warning when a common character string (e.g., "A Shop") contained in some of the multiple vouchers (vouchers in areas R1 and R2) is not contained in other vouchers (vouchers in areas R3 and R4) like the voucher image data shown in Fig. 6. The data creation unit 133 may output a warning message indicating that a predetermined condition is not satisfied via the communication unit 11, or may output processed data containing a warning.

[0067] The data creation unit 133 may create warning data when the account title to which some products included in some vouchers belong is different from the account title to which products included in other vouchers belong. For example, the data creation unit 133 creates warning data when the voucher image data includes multiple receipts for stationery and only one receipt for taxi fare. The data creation unit 133 may create warning data when the distance between the locations of issuers (e.g., stores) of multiple vouchers is equal to or greater than a threshold value, based on the addresses written on the vouchers or the addresses corresponding to the issuer names stored in the memory unit 12.

[0068] The data creation unit 133 may output warning data including information for identifying evidence that does not satisfy a predetermined condition. In the case of the evidence image data shown in Fig. 6, the data creation unit 133 may output, as warning data, image data in which the areas R3 and R4 are displayed in a different display mode from the other areas.

[0069] [Processing flow in data processing device 1] 11 is a flowchart showing the flow of processing of the data processing device 1. The flowchart shown in FIG.

[0070] The data acquisition unit 131 acquires the evidence image data created by the image reading device 2 (S11). The character string identification unit 132 identifies a common character string included in the evidence image data (S12). The character string identification unit 132 identifies a plurality of evidence areas corresponding to the identified common character string by referring to the area data (S13). Next, the character string identification unit 132 identifies a plurality of character strings included in each of the identified plurality of evidence areas as evidence-specific character strings (S14).

[0071] Next, the data creation unit 133 executes a process based on the identified multiple character strings (S15). The process executed by the data creation unit 133 will be described in detail later. The data creation unit 133 creates processed data based on the result of the process (S16) and outputs the created processed data via the communication unit 11 (S17).

[0072] 12 is a flowchart showing the flow of the process (S15) executed by the data creation unit 133. The data creation unit 133 judges whether or not to process multiple character strings for each issuer based on the instruction data acquired by the data acquisition unit 131 (S151). When the data creation unit 133 judges that multiple character strings are to be processed for each issuer (YES in S151), it executes accounting processing based on the character strings indicating the product and the character strings indicating the amount included in the vouchers issued by the same issuer (S152).

[0073] When the data creation unit 133 determines that multiple character strings are not to be processed by issuer but by issuance time (NO in S151, YES in S153), it executes accounting processing based on the character strings indicating the products and the character strings indicating the amounts included in multiple vouchers with the same issuance time (S154).When the data creation unit 133 determines that multiple character strings are not to be processed by issuance time (NO in S153), it executes accounting processing based on all character strings indicating the products and the character strings indicating the amounts included in the voucher image data (S155).

[0074] [Effects of Data Processing Device 1] As described above, the data processing device 1 has a string identification unit 132 that identifies a common string contained in multiple evidences based on evidence image data created by simultaneously reading multiple evidences, and a data creation unit 133 that creates processed data by processing at least a portion of multiple strings other than the common string contained in the multiple evidences based on predetermined rules corresponding to the common strings.

[0075] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. For example, all or part of the device can be configured by distributing or integrating functionally or physically in any unit. In addition, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment resulting from the combination combines the effect of the original embodiment. [Explanation of symbols]

[0076] 1 Data Processing Device 2. Image reader 11 Communications Department 12 Storage section 13 Control section 131 Data Acquisition Section 132 Character string specification part 133 Data Creation Department

Claims

1. a data acquisition unit that acquires document image data created by simultaneously reading a plurality of documents; A character string identifying unit that identifies a common character string included in a plurality of the vouchers based on the voucher image data; a data creation unit that creates processed data by processing at least a part of a plurality of character strings other than the common character string included in the plurality of evidences based on a predetermined rule corresponding to the common character string; A data processing device having:

2. the data creation unit creates the processed data including data included in the plurality of vouchers including the common character string, and not including data included in the vouchers not including the common character string.

2. A data processing apparatus according to claim 1.

3. the data creation unit creates the first processed data based on data included in the plurality of vouchers including the first common character string, and the second processed data based on data included in the plurality of vouchers including the second common character string.

2. A data processing apparatus according to claim 1.

4. The common character string is a name of an issuer common to a plurality of the vouchers, or a name of an issuer of the same business type common to a plurality of the vouchers, the data creation unit creates the processed data in which data other than the common character string included in the plurality of vouchers including the issuer name is associated with the issuer name.

2. A data processing apparatus according to claim 1.

5. The common character string is a character string indicating an issuance date common to a plurality of the vouchers, the data creation unit creates the processed data in which data other than the common character string included in the plurality of vouchers including an issuance date corresponding to the common character string is associated with the issuance date.

2. A data processing apparatus according to claim 1.

6. The common character string is a character string indicating an issuance date common to a plurality of the vouchers, the data creation unit creates the processed data in which character strings indicating amounts included in each of the plurality of vouchers, each of which has an issuance date corresponding to the common character string, are arranged in order of the issuance date.

2. A data processing apparatus according to claim 1.

7. Each of the plurality of vouchers is a receipt indicating the name and price of the purchased product, The common character string is a character string indicating the name of the purchased product, the data creation unit creates the processed data in which the purchased product names are associated with the total amount obtained by adding up the amounts for each of the purchased product names.

2. A data processing apparatus according to claim 1.

8. the data creation unit creates the processed data in which an account item corresponding to the purchased product name is associated with the total amount.

8. A data processing apparatus according to claim 7.

9. the data creation unit creates data indicating a warning when a plurality of character strings included in the plurality of evidences do not satisfy a predetermined condition.

2. A data processing apparatus according to claim 1.

10. the data creation unit creates data indicating the warning when there is no predetermined correlation between the plurality of character strings included in the plurality of evidences.

10. A data processing apparatus according to claim 9.

11. The method further includes a storage unit that stores area data indicating a relationship between a position of a predetermined character string in the evidence and an area of ​​the evidence, the character string identification unit identifies a plurality of character strings included in the respective areas of the plurality of evidences identified by referring to the area data associated with the identified common character string as a plurality of evidence-specific character strings described on each of the plurality of evidences; The data creation unit creates the processed data further based on the plurality of document-specific character strings identified by the character string identification unit. A data processing device according to any one of claims 1 to 10.

12. the area data is data indicating the positions of at least two vertices or three sides of the evidence based on the position of the predetermined character string; the character string specification unit specifies the plurality of document-specific character strings within an area surrounded by three sides of the document specified based on the area data; A data processing apparatus according to claim 11.

13. the area data is data indicating the positions of four vertices or four sides of the voucher based on a position of a first predetermined character string above the center of the voucher and a position of a second predetermined character string below the center of the voucher; the character string specification unit specifies the plurality of document-specific character strings within an area surrounded by four sides of the document specified based on the area data; A data processing apparatus according to claim 11.

14. The computer executes acquiring document image data created by simultaneously reading a plurality of documents; Identifying a common character string included in common in a plurality of the vouchers based on the voucher image data; creating processed data by processing at least a part of a plurality of character strings other than the common character string included in the plurality of evidences based on a predetermined rule corresponding to the common character string; A data processing method comprising the steps of:

15. Computer, a data acquisition unit that acquires document image data created by simultaneously reading a plurality of documents; A character string identifying unit that identifies a common character string included in a plurality of the vouchers based on the voucher image data; a data creation unit that creates processed data by processing at least a part of a plurality of character strings other than the common character string included in the plurality of evidences based on a predetermined rule corresponding to the common character string; A program to function as a

Citation Information

Patent Citations

  • Processing image acquisition method and accounting processing system with the same

    JP2016186773A

  • Voucher determination device, accounting processing device, voucher determination program, voucher determination system, and voucher determination method

    JP2021071991A

Cited By

  • Superconducting magnet device, NMR device, and MRI device

    US12382844B2