Document management support system, document management support method, and document management support program

The document management system addresses the challenge of non-standardized forms by using definition information to extract, correct, and calculate item values, ensuring accurate data structuring and management in trade operations.

JP7955528B2Active Publication Date: 2026-11-24LOGISTEED LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2025556149
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2026-11-24
Estimated Expiration
2043-11-10

AI Technical Summary

Technical Problem

Existing document management systems struggle with structuring data from non-standardized forms, particularly in trade operations where multiple item values are associated with a single attribute, leading to inefficiencies in data extraction and management.

Method used

A document management system that utilizes definition information to associate document items with item values, including layer levels, step processing flags, and notation patterns to extract, correct, and calculate item values, generating structured data considering the correspondence between multiple values.

Benefits of technology

Enables effective structuring and management of documents with multiple values associated with items, ensuring accurate data extraction and management by considering the correspondence between item values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955528000001
    Figure 0007955528000001
  • Figure 0007955528000002
    Figure 0007955528000002
  • Figure 0007955528000003
    Figure 0007955528000003
Patent Text Reader

Abstract

[Problem] In the present invention, a document is structuralized in order to assist with data management of the document. [Solution] This document management assistance system retains, in a storage device, definition information including, for each item, a layer level that represents a layer relationship between items, a step processing flag that indicates how many steps of a process are required to structuralize a document, and a notation pattern that is obtained by associating item notation names and notation position pattern information pertaining to an item value for each item notation name, wherein: a processor executes up to one or two steps of the process on the basis of the step processing flag for each item; the first step of the process involves extracting the item name of an item and an item value corresponding to the item name from an inputted document on the basis of the notation pattern; and the second step of the process involves correcting, on the basis of a correspondence relationship between the item values in reference to the layer level, the item value of the item for which the item value was extracted in the first step of the process and generating structuralization information obtained by associating the item name of the item and either the item value corresponding to the item name or the item value that has been corrected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a document management support system, a document management support method, and a document management support program for supporting document management.

Background Art

[0002] As a form data acquisition technology for automatically acquiring form data as data based on a form document from a form, there is a technology disclosed in, for example, Japanese Patent Application Laid-Open No. 2021-179747 (Patent Document 1). Patent Document 1 describes that "a character string attribute model for acquiring the probability of a character string attribute in a form from learning form data, and an attribute positional relationship rule indicating a rule for the positional relationship of character string attributes in the form can be created. By applying the character string attribute model to the character string in the character recognition result for the form image to acquire the probability of the attribute, and correcting the probability based on the position of the character string in the form in the character recognition result for the form image and the attribute positional relationship rule, the appropriateness of the form data automatically acquired from the form can be improved."

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] In trade operations, since the data format of forms issued by each company is not standardized, the man-hours for system registration of data are large.

[0005] In particular, tables included in shipping packing lists (PLs) list item information for multiple item types (case number, contract number, quantity, weight, size, etc.) on separate rows. However, due to circumstances such as several items being linked to the same contract or several items being combined into a single package, not all data is always listed on each row. In such situations, it is necessary to correctly extract the relationships between which data are related and structure the data accordingly.

[0006] Patent Document 1 corrects the position of the report attribute string in the report and the attribute position relationship rules. However, although the attribute position relationship rules consider the positional relationships between multiple attribute groups and the positional relationships between multiple attributes within an attribute group, they do not anticipate situations where multiple item values ​​exist for a single attribute or item name (key) in the report, and therefore it was not possible to structure the data while considering the correspondence between multiple values ​​between items.

[0007] Therefore, the present invention aims to provide a document management support system, a document management support method, and a document management support program for data management of documents in which multiple values ​​are associated with items, by structuring said documents while considering the correspondence between multiple values ​​between items. [Means for solving the problem]

[0008] To solve the above problems, the document management system of the present invention comprises a processor and a storage device, The storage device holds definition information that defines the conditions for structuring a document by associating the document items with item values, The definition information includes, for each item, a layer level representing the layer relationship between items, a step processing flag indicating how many steps of processing are required to structure the document for each item, and a notation pattern for each item that associates the item notation name with the notation position pattern information of the item value for each item notation name. The aforementioned processor, For each of the above items, based on the step processing flag of the definition information, up to one or two steps of processing are performed. The first stage of processing involves extracting the item name and the corresponding item value from the input document based on the notation pattern of the definition information. The second stage of processing involves correcting the item values ​​of the items from which the item values ​​were extracted in the first stage of processing, based on the correspondence with the item values ​​of items in lower layers of the item identified by referring to the layer level of the definition information. This method is characterized by generating structured information that associates the item name of the aforementioned item with the item value or corrected item value corresponding to that item name. [Effects of the Invention]

[0009] According to the present invention, a document in which multiple values ​​are associated with an item can be structured and managed as data, taking into account the correspondence between the multiple values ​​in the item. [Brief explanation of the drawing]

[0010] [Figure 1] This is a schematic diagram of the document management support system in this embodiment. [Figure 2] This is a block diagram showing the hardware configuration of a computer system for realizing the document management support system in this embodiment. [Figure 3A] This is a functional block diagram showing an example configuration of the document management support system in this embodiment. [Figure 3B] This is a functional block diagram showing a modified configuration of the document management support system in this embodiment. [Figure 4] This figure shows an example of a document to be processed by the document management support system in this embodiment. [Figure 5] This shows an example of the structure and stored values ​​of the definition file used in the processing of the document management support system in this embodiment. [Figure 6]It is explanatory drawing of the layer level showing the layer relationship between the items of the processing target document of the document management support system in this embodiment. [Figure 7] An example of a definition file used for processing of the document management support system in this embodiment will be shown. [Figure 8] It is a flowchart which shows the whole processing of the document management support system in this embodiment. [Figure 9] It is explanatory drawing which shows the data transition in structuring of the document by the document management support system in this embodiment. [Figure 10] It is a flowchart which shows the structuring basic information creation processing by the document management support system in this embodiment. [Figure 11] It is a flowchart which shows the stage processing by the document management support system in this embodiment. [Figure 12] It is a flowchart which shows the correction processing based on the layer level by the document management support system in this embodiment. [Figure 13] It is a flowchart which shows correction by the combining process by the document management support system in this embodiment. [Figure 14] It is a flowchart which shows the item value combining process by the document management system in this embodiment. [Figure 15] It is a flowchart which shows the blank filling processing (step S1206 in FIG. 12) by the document management support system in this embodiment. [Figure 16] It is a flowchart which shows the complement processing by the document management support system in this embodiment. [Figure 17] It is explanatory drawing of an example of the item calculation formula in the embodiment of the present invention. [Figure 18] It is a figure which shows an example of the tsv file which the document management support system in this embodiment generated. [Figure 19] It is a figure which shows an example of the 1st structured data JSON file which the document management support system in this embodiment generated. [Figure 20]This figure shows an example of a format file generated by the document management support system in this embodiment. [Figure 21] This figure shows an example of a second structured data JSON file generated by the document management support system in this embodiment. [Figure 22] This figure shows an example of a final structured data JSON file generated by the document management support system in this embodiment. [Modes for carrying out the invention]

[0011] An embodiment of the present invention will be described in detail below with reference to the drawings, but the present invention is not limited to the following embodiment, and various modifications and applications are also included within the scope of the technical concept of the present invention.

[0012] <Document Management System Configuration> Figure 1 is a schematic diagram of the document management support system 100 in this embodiment. The document management support system 100 is a system that converts documents in which multiple item values ​​are associated with item names into structured data for management purposes, and is connected to the client device 200 in any way. A document is a document in which multiple item values ​​(also called Values) are associated with item names (also called Keys), and which contains item values ​​that have a one-to-many relationship between items. These documents include documents created with document creation software or spreadsheet software, as well as logistics-related documents such as trade invoices (IVs) or delivery packing lists (PLs).

[0013] The client device 200 sends the document D it holds to the document management support system 100 via the GUI (Graphical User Interface) of the web browser 201. If the document is a form related to logistics, the client device 200 is, for example, a terminal of one of the parties involved in the distribution of goods (e.g., the company that sends the goods, the transportation company, etc.).

[0014] The Web&APP server 101 of the document management support system 100 includes a converter 102 that converts the received document D into structured data, such as JSON (JavaScript Object Notation) format data. Specifically, it converts the document D, which contains a one-to-many relationship between item names and item values, into structured data in which item names and item values ​​are associated one-to-one, and the item values ​​between items are associated one-to-one.

[0015] On the client device 200, the client checks the structured data converted by the document management support system 100, and if there are any errors, it sends a correction request to the document management support system 100. The document management support system 100 corrects the structured data according to the correction request and stores it in the database 103.

[0016] Next, the computer system 300 included in the document management support system 100 will be described. Figure 2 is a block diagram showing the hardware configuration of the computer system 300 in this embodiment. The client device 200 also includes the computer system 300, similar to the document management support system 100.

[0017] The computer system 300 includes a processor 301, a memory (main memory) 302, an auxiliary storage device 303, an output device 304, an input device 305, and a communication interface (I / F) 306. These components are connected to each other by a bus. The memory 302 and the auxiliary storage device 303 are storage devices that store programs and data used by the processor 301.

[0018] The processor 301 can consist of a single processing unit or multiple processing units, and may include one or more arithmetic units or multiple processing cores. The processor 301 can be implemented as one or more central processing units, microprocessors, microcomputers, microcontrollers, digital signal processors, state machines, logic circuits, graphics processing units, chip-on systems, and / or any device that manipulates signals based on control instructions.

[0019] Memory 302 is composed of, for example, semiconductor memory and is mainly used to hold the currently running program and data. The processor 301 performs various processes according to the program stored in memory 302. As the processor 301 operates according to the program, various functional units described later (see Figures 3A, 3B, etc.) are realized.

[0020] The auxiliary storage device 303 is comprised of a large-capacity storage device, such as a hard disk drive or a solid-state drive, and is used to retain programs and data for a long period of time. Examples of data stored in the auxiliary storage device 303 will be described later.

[0021] Programs and data stored in the auxiliary storage device 303 are loaded into the memory 302 at startup or when necessary, and the processor 301 executes the program, thereby executing various processes of the computer system 300 that constitute the document management support system 100. Therefore, in the following description, the processes executed by the document management support system 100 are processes executed by the processor 301 according to the program.

[0022] The output device 304 is a hardware device that displays various images for input and output, such as a display device or a printing device. The communication I / F 306 is an interface for connecting to a network. The input device 305 is a hardware device for inputting user instructions and information into the document management support system 100.

[0023] The computer system 300 may include two or more processors 301. Furthermore, the functions of the document management support system 100 can be implemented across multiple computer systems 300. In this case, the multiple computer systems 300 communicate via a network. For example, some of the functions of the document management support system 100 may be implemented in one computer system 300, while other functions may be implemented in other computer systems.

[0024] Figure 3 is a functional block diagram of the document management support system 100 of this embodiment. Figure 3A is a functional block diagram showing the case where the document management support system 100 processes document D into structured data and holds the data necessary for this process. On the other hand, Figure 3B is a functional block diagram that is a modified version of Figure 3A, where the process of converting document D into structured data is performed by the client device, and the document management support system 100 holds the data necessary for this process.

[0025] As shown in Figure 3A, the document management support system 100 communicates with the client device 200 via the network N.

[0026] The document management support system 100 includes a control unit 111, a communication unit 112, a row / column / text extraction unit 113, a structured basic information creation processing unit 114, a value correction unit 115, a value completion unit 116, a definition file storage unit 120, a TSV file storage unit 121, a structured data storage unit 122, a format storage unit 123, and an item calculation formula storage unit 124.

[0027] The control unit 111 controls the functions of the communication unit 112 to the value completion unit 116, and the access of each of these units to the definition file storage unit 120 to the item calculation formula storage unit 124. The control unit 111 is realized in the computer system 300 that realizes the document management support system 100 when the processor 301 executes a program stored in the memory 302. The row / column / text extraction unit 113 to the value completion unit 116 are implemented in the computer system 300 that realizes the document management support system 100 by the processor 301 executing a program stored in memory 302. In other words, the processing performed by each of the above units in the following description is actually performed by the processor 301. The communication unit 112 is realized in the computer system 300 that implements the document management support system 100 by having the processor 301 execute a program stored in memory 302 and control the communication interface 306.

[0028] The communication unit 112 transmits and receives information with the client device 200 via the network N.

[0029] The definition file storage unit 120 to the item calculation formula storage unit 124 are included in the database 103 in Figure 1 and are implemented by the storage area of ​​the auxiliary storage device 303. These storage units store the information necessary to realize the functions of the document management support system 100. The information stored in these storage units will be described later.

[0030] The client device 200 includes a control unit 211, a communication unit 212, a display unit 213, and an input unit 214.

[0031] The control unit 211 has the function of controlling the communication unit 212 to the input unit 214. The control unit 211 is realized in the computer system 300 that realizes the client device 200 by the processor 301 executing a program stored in the memory 302.

[0032] The communication unit 212 has the function of communicating with the document management support system 100 via the network N. The display unit 213 has the function of displaying information to the user of the client device 200. The input unit 214 has the function of receiving information input from the user of the client device 200. The communication unit 212 to the input unit 214 are realized in the computer system 300 that implements the client device 200 by having the processor 301 execute a program stored in the memory 302 and control the communication I / F 306, output device 304, and input device 305, respectively.

[0033] The configuration in Figure 3B is the same as in Figure 3A, except that the row / column / text extraction unit 113 to the value completion unit 116 are included in the client device 200B rather than the document management support system 100B. The row / column / text extraction unit 113 to the value completion unit 116 are implemented in the computer system 300 that realizes the client device 200 by the processor 301 executing a program stored in memory 302.

[0034] The document management support processes performed by the document management support system 100, whose configuration is shown in Figure 3, will be explained below using Figures 4 to 22. First, we will explain document D, which undergoes document management support processing and is converted into structured data, and definition file 500, which is used for document management support processing. Then, we will explain the processing flow of document management support processing.

[0035] Document D, as described above, has multiple item values ​​associated with item names, contains item values ​​that have a one-to-many relationship with each other, and has a hierarchical relationship with each other. For example, it is the packing list (PL) document 400 shown as a sample document in Figure 4. The PL document 400 shown in Figure 4 is a tabular document consisting of row number 401 and column number 402.

[0036] The definition file 500 is stored in the definition file storage unit 120, and defines the conditions necessary for structuring each type of document. The definition file 500 is created in advance based on domain knowledge of the field to which the document belongs and rule learning from sample documents. For example, in the case of PL documents, the definition file is created based on logistics domain knowledge and the PL documents of each vendor. The definition file 500 may be multiple files separated by document type, etc., or it may be a single file.

[0037] Figure 5 shows an example of the structure and stored values ​​of definition file 500. The structure table 510 of the definition file 500 shows the information structure to be described in the definition file and includes the document type 511, items 512, stage processing flags 513, layer level 514, notation pattern 515, and extraction conditions 516.

[0038] Document type 511 stores the type of document. For example, in the case of trade documents, this could be an invoice (IV) or a packing list (PL). As shown in Figure 5, the definition file 500 used for PL documents 400 stores "PL," which means packing list, in document type 511. Item 512 stores the data items described for each item in document D. As shown in Figure 5, the items in the PL document include "Quantity" and "Description".

[0039] The step-by-step processing flag 513 stores a flag in document management support processing that indicates how many steps of processing are possible for an item. The step-by-step processing flag 513 is pre-set based on known information about the document, such as the document's domain knowledge and the rule base of a sample document.

[0040] In this embodiment, an item with the stage processing flag 513 set to "1" is an item that has no layer relationship with other items and performs only one stage of processing (the first stage of processing). The first stage of processing is the structured basic information generation process, which will be described later. Items with the step-by-step processing flag 513 set to "2" are items that have a layer relationship with other items and may undergo two-step processing, that is, processing in addition to the first-step processing. The second-step processing is a correction process based on the layer level of step-by-step processing, which will be described later. Items with the step-by-step processing flag 513 set to "3" are items that have a layer relationship with other items and whose item value can be calculated based on other items in that layer relationship, and which may undergo three stages of processing, namely, a first-stage process, a second-stage process, and / or a third-stage process. The third-stage process is a supplementary process based on the layer level and item calculation formula, which will be described later.

[0041] For example, although not shown in Figure 5, the step-by-step processing flag 513 for the item "Date" in PL document 400 is set to "1". In PL document 400, "Date" has no layer relationship with other items and cannot be calculated from other items, so there is no need to perform the second and third steps of processing; only one step of processing is required.

[0042] Furthermore, as shown in Figure 5, the step-by-step processing flag for item "Quantity" in PL document 400 is set to "2". This is because item "Quantity" has a layer relationship with other items (item name "Case_No."), so a second-step correction process may occur. However, it is difficult to calculate from other items, and a third-step process is not possible, so a two-step process is performed.

[0043] Furthermore, the step-by-step processing flag for the item "Qty_per_Pkg," which is not listed in PL document 400, is set to "3." This is because the item "Qty_per_Pkg" has a layer relationship with other items, and its value can be calculated from the item values ​​of other items, so there is a possibility of performing a third step of processing, adding an extra step.

[0044] Returning to Figure 5, layer level 514 stores the layer levels of items that have a layer relationship with other items. Layer level 514 is pre-set based on multiplicity-inclusive layer relationships derived from the correspondence between multiple item values, based on known information about the document, such as the document's domain knowledge and the rule base of the sample document.

[0045] For example, items that do not have a corresponding relationship with other items will have their layer level set to "0" because they do not have a layer level.

[0046] For items that have a correspondence with other items, the layer level of the item at the lowest layer level (1st layer) is set to "1". As you move up the layers based on the correspondence including multiplicity, the layer level increases by +1 for each layer, and the layer level of the item in the 2nd layer is set to "2".

[0047] Here, we will explain the layer levels, which represent the layer relationships between items, using Figure 6. As shown in the PL document 400 in Figure 4, the document lists item information for each of the multiple item types (case number, contract number, quantity, weight, size, etc.) on separate lines. However, due to circumstances such as several items being linked to the same contract or several items being consolidated into a single package, not all data is always listed on each line.

[0048] For example, line 37 of PL document 400 contains the values ​​for the fields "DESCRIPTION" and "QUANTITY," but not the value for the field "CASE_NO."

[0049] Since multiple "QUANTITY" notations (e.g., "32", "2") may be linked to a single "CASE_NO." notation (e.g., "5"), "CASE_NO." is set to a layer above "QUANTITY".

[0050] Similarly, multiple “CASE_NO.” notations (e.g., “1-4”, “5”, “6-24”) may be linked to a single “CONTRACT_NO.” notation (e.g., “HY21052103”). In this case, the layer for “CONTRACT_NO.” is set to the layer one level above “CASE_NO.”. As a result, “QUANTITY” belongs to the lowest layer, the 1st layer, and its layer level is set to “1”. “CASE_NO.” belongs to the next layer after “QUANTITY,” the 2nd layer, and its layer level is set to “2”. “CONTRACT_NO.” belongs to the next layer after “CASE_NO.”, the 3rd layer, and its layer level is set to “3”.

[0051] Returning to Figure 5, notation pattern 515 contains rules extracted from a large number of sample documents, and stores the document's item name matching name (also called item notation name) and the parameters of the item value position pattern in association. Note that one or more item name matching names are set, and one or more parameters of the item value position pattern are associated with each item name matching name.

[0052] The notation pattern 515 will be explained in detail using the example definition file shown in Figure 7. Figure 7 shows an example of a definition file in this embodiment. In the example definition file shown in Figure 7, the item name for the item "Quantity" (the string enclosed in a dotted rectangle) is set to "Qty", "QUANTITY", "Quantity", and "Q'TY".

[0053] The parameters of the item value position pattern are associated with the item name matching name and include a position difference parameter that represents the position difference from the item name matching name, a unique position parameter that represents the unique position information of the item name matching name, and a termination condition parameter that represents the termination condition for extracting item values.

[0054] Specifically, in the example definition file shown in Figure 7, the positional difference parameters include the parameter `shift_row`, which represents the difference in the number of rows compared to the item name, and the parameter `shift_col`, which represents the difference in the number of columns compared to the item name.

[0055] The unique position parameter includes a multiline parameter, `multiline`, which indicates whether the field name consolidation name should be displayed on multiple lines. If `multiline` is set to "false", the field name consolidation name will be displayed on a single line, while if `multiline` is set to "true", the field name consolidation name will be displayed on multiple lines.

[0056] The termination condition parameter includes `blank_rows`, which represents the number of blank rows to terminate the extraction of item values. Note that the parameters for the item value position pattern are not limited to those described above.

[0057] Returning to Figure 5, the extraction criteria 516 stores conditions that represent the common characteristics of the item values ​​of each item extracted from a large number of sample documents. These conditions may include, for example, the data type of the item value (e.g., string type, numeric type) and matching conditions (e.g., whether it contains a specific string), and multiple conditions may be set. Note that the extraction criteria 516 are not limited to those described above.

[0058] Next, the processing flow of the document management support process executed by the document management support system 100 in this embodiment will be described. Figure 8 is a flowchart showing the overall document management support process performed by the document management support system 100 in this embodiment, and Figure 9 is an explanatory diagram showing the flow of how document D is structured by the document management support system 100 in this embodiment. Using the PL document 400 shown in Figure 4 and the definition file 500 shown in Figure 7, we will explain the results of each process performed by the document management support process on the PL document 400, illustrating these results.

[0059] First, the row / column / text extraction unit 113 extracts text and the row / column numbers in document D where that text is written, and converts document D into a tsv file 402 that associates row / column numbers with text, performing row / column / text extraction processing (step S801).

[0060] As shown in Figure 9, a document D in format such as docx / xlsx may be converted to an XML (Extensible Markup Language) file 401, and then converted to a TSV file 402. The XML and TSV files are just examples; the document D may be converted to any other file format as long as the text in the document and the corresponding line / column number are described.

[0061] The generated TSV file 402 will be explained using Figure 18. Figure 18 shows an example of the TSV file 402 generated in step S801, using PL document 400 as input. As shown in the figure, the tsv file 402 contains information that associates the text extracted from PL document 400 with the line and column numbers in which that text is located. In the example in Figure 18, it is shown that the text "TIANJIN,CHINA" is located in line 5, column 1 of PL document 400.

[0062] Returning to Figure 8, the structured basic information creation processing unit 114 refers to the definition file 500 and extracts the item values ​​corresponding to the item names from the tsv file 402 for all items, generates a first structured data JSON file 403 that associates the item names with the item values, and saves it to the structured data storage unit 122. Furthermore, the structured basic information creation processing unit 114 extracts the row / column numbers of the extracted item values, generates a format file 404 that associates the item name with the row / column number of the item value, and saves it to the format storage unit 123 (step S802). Note that the JSON file is just an example; any file format other than the one described above is acceptable as long as it can describe a data structure that associates item names with item values. Details of the structured basic information generation process in step S802 will be explained in Figure 10 below.

[0063] The generated first structured data JSON file 403 and format file 404 will be explained using Figures 19 and 20. Figure 19 shows an example of a first structured data JSON file 403 generated in step S802, using the tsv file 402 generated in step S801 as input.

[0064] As shown in the figure, the first structured data JSON file 403 stores arrays in "Header" and "Products" that associate item names with item values. Any number, 0, 1, or multiple item values ​​can be associated with an item name. For example, the item name "Date" is associated with the item value ["Aug.09,2021"], and the item name "Case_No." is associated with an array of multiple item values ​​["1-75", "76-78", "79", "80", "1-4", "5", "6-24"].

[0065] Next, Figure 20 shows an example of a format file 404 generated in step S802, with the tsv file 402 generated in step S801 as input. As shown in the diagram, format file 404 stores arrays in “Header” and “Products” that associate item names with the row / column numbers of the item values. For example, the item name “Date” is associated with the row / column number [“4,6”], which indicates that the item value “Aug.09,2021” is located in the 4th row and 6th column of PL document 400. Also, the item name “Case_No.” is associated with an array of multiple row / column numbers [“18,1”,“21,1”,“24,1”,“27,1”,“31,1”,“34,1”,“40,1”]. Note that the row / column number “18,1” indicates that the item value “1-75” is located in the 18th row and 1st column of PL document 400.

[0066] Returning to Figure 8, the Value Correction Unit 115 and the Value Completion Unit 116 perform step-by-step processing on all items of the first structured data JSON file 403 generated in step S802, based on the format file 404 also generated in step S802, the definition file 500 of the definition file storage unit 120, and the item calculation formula 600 of the item calculation formula storage unit 124, to generate the second structured data JSON file 405, and then generate the final structured data JSON file 406 (step S803).

[0067] In detail, first, the Value Correction Unit 115 determines the stage processing flag in the definition file 500. Next, for items that the Value Correction Unit 115 determines should undergo second-stage processing, it refers to the layer levels defined in the definition file 500 and corrects the item values ​​of those items from the first structured data JSON file 403 and the format file 404 based on the item values ​​of items in lower layers. Then, the Value Correction Unit 115 updates the first structured data JSON file 403 with the corrected item values. Once the Value Correction Unit 115 has completed processing for all items in the first structured data JSON file 403, it generates the updated first structured data JSON file 403 as the second structured data JSON file 405.

[0068] The generated second structured data JSON file 405 will be explained using Figure 21. Figure 21 shows an example of the second structured data JSON file 405 generated in step S803.

[0069] As shown in the figure, in the second structured data JSON file 405, the item values ​​of the items "Description" and "Case_No." are corrected. For the item "Description," the first item value "TS-M1U2-ED11196" and the second item value "CD-LOAD" of the item "Description" in the first structured data JSON file 403 are combined, and in the second structured data JSON file 405, the first item value of the item "Description" is corrected to "TS-M1U2-ED11196,CD-LOAD." The same applies to the second and subsequent item values. Furthermore, regarding the item "Case_No.", in the first structured data JSON file 403, there are no spaces "", but in the second structured data JSON file 405, spaces "" are inserted between the 6th item value "5" and the 7th item value "6-24".

[0070] Next, the Value Completion Unit 116 determines the stage processing flag in the definition file 500. Then, for the items that the Value Completion Unit 116 determines should undergo the third stage processing, it calculates the item value of the item using the layer level defined in the definition file 500, the item calculation formula 600 in the item calculation formula storage unit 124, and the first structured data JSON file 403. The Value Completion Unit 116 then updates the second structured data JSON file 405 with the calculation results. Once the Value Completion Unit 116 has completed processing for all items in the definition file 500, it generates the updated second structured data JSON file 405 as the final structured data JSON file 406.

[0071] The generated final structured data JSON file 406 will be explained using Figure 22. Figure 22 shows an example of the final structured data JSON file 406 generated in step S803.

[0072] For example, in the second structured result JSON file 405 after the second stage of processing shown in Figure 21, the item value corresponding to the item "Qty_per_Pkg" is blank. On the other hand, in the final structured result JSON file 406 after the third stage of processing shown in Figure 22, the item value corresponding to the item "Qty_per_Pkg" is ["2", "40", "30", "150", "42", "32", "2", "42"], indicating that the missing item value has been filled in. A more detailed explanation of the step-by-step processing in step S803 will be provided in Figures 11 to 16, which will be discussed later.

[0073] Figure 10 is a flowchart showing the structured basic information creation process (step S802 in Figure 8) by the document management support system in this embodiment.

[0074] First, the structured basic information creation processing unit 114 starts a loop process that repeats the number of times corresponding to the type of document to be targeted (referred to as the target item) as described in the definition file 500. Next, the structured basic information creation processing unit 114 starts a loop process that repeats based on the number of item names included in the notation pattern 515 of the target items described in the definition file 500.

[0075] The structured basic information creation processing unit 114 refers to the item name matching name in the definition file 500 and determines whether or not there is text in the tsv file 402 that matches the item name matching name (step S1001). If there is text that matches the item name matching name, the process proceeds to step S1002. On the other hand, if there is no text that matches the item name matching name, and a loop has not been performed for all item name matching names, step S1001 is performed for the next item name matching name.

[0076] The structured basic information creation processing unit 114 extracts text that matches the item name matching as the item name of the item described in the document, and extracts the row / column number of the acquired item name as the row / column number of the item (step S1002). Next, the structured basic information creation processing unit 114 starts a loop process that repeats based on the number of item value position pattern parameters included in the notation pattern 515. The structured basic information creation processing unit 114 refers to the row / column number of the item and the item value position pattern parameter to determine whether or not there is text in the tsv file 402 at the position determined by the row / column number of the item and the item value position pattern parameter (step S1003).

[0077] If no text is found, and the loop has not yet been performed for all item value position patterns, then step S1003 is performed for the next item value position pattern. On the other hand, if text exists, the structured basic information creation processing unit 114 determines whether the text at the row / column number determined from the item's row / column number and the item value position pattern parameter satisfies the extraction condition 516 described in the definition file 500 (step S1004).

[0078] If the extraction condition 516 is met, the structured basic information creation processing unit 114 extracts the text at the position (row / column number) determined in step S1003 from the row / column number of the item and the item value position pattern parameter, as the item value, and associates it with the item name identified in step S1002 (step S1005). Once extracted, it exits the loop processing that repeats for the number of item value position pattern parameters and terminates. On the other hand, extraction conditions 516 If the condition is not met, and a loop has not been performed for all item value position patterns, step S1003 is performed for the next item value position pattern.

[0079] Finally, the structured basic information creation processing unit 114 uses only the item name extracted in step S1002 for items where there was no text in step S1003, and the item name and item value extracted in step S1005 when text was present in step S1003, to create the first structured data JSON file 403 Generates. Furthermore, the structured basic information creation processing unit 114 associates the item names extracted in step S1002 with the positions (row / column numbers) determined in step S1003 to generate a format file 404 (step S1006).

[0080] Figure 11 is a flowchart showing the step-by-step processing (step S803 in Figure 8) by the document management support system in this embodiment. First, the Value correction unit 115 determines whether the step processing flag for each item described in the definition file 500 is 1 or greater than 1 (step S1101).

[0081] For items where the step processing flag is "1", the Value correction unit 115 does not update the item value of that item in the first structured data JSON file 403. On the other hand, for items where the step processing flag is greater than "1", the Value correction unit 115 performs a correction process on the item value of the item in the first structured data JSON file 403 based on the layer level 514 of the item in the definition file 500. This correction is done by combining and filling in blanks using the position information (row / column number) described in the format file 404, and a new item value after correction is obtained (step S1102). Details of the process in step S1102 will be described later with reference to Figures 12 to 14.

[0082] Then, the Value Correction Unit 115 updates the item values ​​of items in the first structured data JSON file 403 where the step processing flag is greater than "1" with the corrected new item values ​​obtained in step S1102, and generates the second structured data JSON file 405. (Step S1103).

[0083] Next, the Value completion unit 116 determines whether the step processing flag for each item described in the definition file 500 is "2" or "3" (step S1104). For items where the stage processing flag is "2", the Value completion unit 116 does not update the item value of that item in the second structured data JSON file 405. On the other hand, for items where the stage processing flag is "3", the Value completion unit 116 performs completion processing based on calculations that refer to the layer level 514 and item calculation formula 600 of the item described in the definition file 500, and obtains the completed item value (step S1105). Details of the process in step S1105 will be described later with reference to Figure 16.

[0084] Then, the Value Completion Unit 116 updates the item values ​​of the items in the second structured data JSON file 405 where the stage processing flag is "3" with the item values ​​obtained through completion in step S1105, thereby generating the final structured data JSON file 406. (Step S1106).

[0085] Figure 12 is a flowchart showing the correction process based on the layer level (step S1102 shown in Figure 11) performed by the document management support system in this embodiment.

[0086] First, the Value Correction Unit 115 determines whether the layer level of each item described in the definition file 500 is 0 or 1 or greater (step S1201). For items with a layer level of "0", the Value correction unit 115 does not perform any correction on the item value of that item and proceeds to step S1207. On the other hand, for items with a layer level of "1" or higher, the Value correction unit 115 refers to the definition file 500 and determines whether or not an item is a multi-line item based on the multi-line parameter of the item position pattern parameter (step S1202).

[0087] For items where multiline is "false", the Value correction unit 115 proceeds to step S1204 without performing correction processing by joining. On the other hand, for items where multiline is "true", the Value correction unit 115 corrects the item value of that item in the first structured data JSON file 403 by a join process and obtains a new item value after correction (step S1203). Details of the process in step S1203 will be described later with reference to Figure 13.

[0088] The Value Correction Unit 115 updates the item values ​​of items with a layer level of "1" or higher in the first structured data JSON file 403 with the corrected new item values ​​obtained in step S1203, and generates a second structured data JSON file (intermediate) (step S1204).

[0089] Next, the Value correction unit 115 determines whether the layer level of each item described in the definition file 500 is 1 or greater than 1 (step S1205). For items with a layer level of "1", proceed to step S1207 without performing correction by filling in blank spaces. On the other hand, for items with a layer level greater than "1", the item values ​​in the second structured data JSON file (intermediate) generated in step S1204 are corrected by a blank-filling process, and the corrected new item values ​​are obtained (step S1206). Details of the process in step S1206 will be described later with reference to Figure 15.

[0090] Then, the Value Correction Unit 115 updates the item values ​​of items with a layer level greater than "1" in the second structured data JSON file (intermediate) with the corrected new item values ​​obtained in step S1206, and generates the second structured data JSON file 405 (step S1207).

[0091] Figure 13 is a flowchart showing the correction process performed by the document management support system in this embodiment (step S1203 in Figure 12).

[0092] First, the Value Correction Unit 115 refers to the layer level 514 of the item described in the definition file 500 and the multiline parameter "multiline" in the notation pattern 515 to determine whether it is a multiline item, and selects an arbitrary item from the items in the first structured data JSON file 403 whose item value is not blank, and whose layer level is 1 and multiline is false, and sets it as the reference item A (step S1301).

[0093] For example, in PL document 400 in Figure 4, "Quantity," which is an item whose item value is not blank and which has layer level=1 and multiline=false set in definition file 500, can be selected as criterion item A. For all elements of criterion item A, i.e., all item values ​​of "Quantity," the processing in steps S1302 to S1306 is executed for each element one by one.

[0094] The Value Correction Unit 115 determines whether the element in question of the reference item A is the last element (step S1302).

[0095] If the element is the last element, the Value correction unit 115 refers to the format file 404 to obtain the line number x of the last element, and generates a join condition (x <= line number of the element of the correction target item B) (step S1303). The join condition (x <= line number of the element of the correction target item B) means that rows are joined if the element row number of the correction target item (join target item) B (also simply referred to as item B in the figure) is greater than or equal to x. Then, the Value correction unit 115 performs item value join processing according to the join condition generated in step S1303 on the element of the correction target item B corresponding to the last element of the reference item A, and generates a new corrected element (step S1304).

[0096] For example, in the example of the first structured data JSON file 403 of FIG. 19 generated from the PL document 400 of FIG. 4, since the element "798" of the reference item A "Quantity" is the last element, the Value correction unit 115 refers to the format file 404 to obtain the line number 40 corresponding to the element, and generates a join condition (40 <= line number of the element of the correction target item B). Then, when the correction target item B is "Description", the Value correction unit 115 connects the elements "TS-M1U2-SRB36" and "CASH COUNTING BOX" with line numbers greater than or equal to 40 with "," to join them as one element "TS-M1U2-SRB36,CASH COUNTING BOX" and generates a new corrected element.

[0097] Returning to step S1302, if the element is not the last element of the reference item A, the Value correction unit 115 refers to the format file 404 to obtain the line number x of the element of the reference item A and the line number y of the element next to the element, and generates a join condition (x <= line number of the element of the correction target item B < y) (step S1305). Then, the Value correction unit 115 performs item value join processing according to the join condition generated in step S1305 on the element of the correction target item B corresponding to the element of the reference item A, and generates a new corrected element (step S1306).

[0098] For example, regarding the second element "120" of the reference item A "Quantity", the Value correction unit 115 refers to the format file 404 to generate a combining condition (21 <= the line number of the element of the correction target item B < 24) because this element is not the last element. Then, for example, when the correction target item B is "Description", the elements "TS-M1U2-CSS216" and "LARGE CASH SHUTTER" whose line numbers are 21 or more and less than 24 are connected by "," and combined as one element "TS-M1U2-CSS216,LARGE CASH SHUTTER" to generate a new element after correction.

[0099] Next, FIG. 14 is a flowchart illustrating item value combining processing (steps S1304 and S1306 in FIG. 13) performed by the document management system according to the present embodiment.

[0100] First, the Value correction unit 115 initializes the number of combining element candidates (number of combining element candidates = 0) (step S1401). Next, the Value correction unit 115 sets a loop parameter i (i = 1 to the number of elements of the correction target item B) for all elements of the correction target item B, and starts loop processing repeated for the number of elements of the correction target item B.

[0101] The Value correction unit 115 extracts the line number of the i-th element in the correction target item B from the format file 404 held in the format storage unit 123 (step S1402). Next, the Value correction unit 115 determines whether the line number extracted in step S1402 satisfies the combining condition (x <= the line number of the i-th element of the correction target item B) generated in step S1305 of FIG. 13 or the combining condition (x <= the line number of the i-th element of the correction target item B < y) generated in step S1306 (step S1403).

[0102] If the join condition is not met, the Value correction unit 115 clears the number of candidate join elements, i.e., returns the number of candidate join elements to 0 (step S1404). Then, the Value correction unit 115 adds 1 to the parameter i (i = i + 1) (step S1405). If i becomes greater than the number of elements in the item B to be corrected, the loop processing is terminated. If i is less than or equal to the number of elements in the item B to be corrected, the processing in step S1402 is then performed for the next element of the item B to be corrected. On the other hand, if the joining conditions are met, the Value correction unit 115 adds 1 to the number of candidate joining elements (step S1406).

[0103] Next, the Value correction unit 115 determines whether the number of candidate combination elements is greater than 1 (step S1407). If the number of candidate combination elements is 1 or less, the Value correction unit 115 proceeds to step S1405 described above. On the other hand, if the number of candidate combination elements is greater than 1, the Value correction unit 115 calculates the i-th item value of the item B to be corrected (in the figure, item value i (as shown) and the i-1th item value (in the figure, item value i―1 The (as shown) items are combined as a single item value to generate a new corrected item value as the i-1th item value. Then, the Value Correction Unit 115 updates the i-1th element of the item B to be corrected in the first structured data JSON file 403 with the newly corrected item value that was generated (step S1408).

[0104] Next, the Value Correction Unit 115 deletes the i-th item value of item B to be corrected in the first structured data JSON file 403 (step S1409).

[0105] Next, the Value Correction Unit 115 deletes the i-th element (row / column number) of the item B to be corrected in the format file 404 (step S1410), and proceeds to step S1405. Finally, the Value Correction Unit 115 converts the first structured data JSON file 403, from which item values ​​have been updated and deleted in steps S1408 to S1410, into the second structured data JSON file (intermediate) (step S1411).

[0106] Figure 15 is a flowchart showing the blank space filling process (step S1206 in Figure 12) performed by the document management support system in this embodiment.

[0107] First, the Value Correction Unit 115 refers to the layer level 514 of the item described in the definition file 500 and the multiline parameter "multiline" in the notation pattern 515 to determine whether it is a multiline item, and selects an arbitrary item from the items in the first structured data JSON file 403 whose item value is not blank, has a layer level of 1 and multiline=false, and sets it as the reference item A (step S1501). Similar to step S1301, the item "Quantity" can be selected as the reference item A.

[0108] Next, the Value Correction Unit 115 determines whether the number of elements in the item to be corrected (item to be filled in) C (also simply referred to as item C in the figure) matches the number of elements in the reference item A selected in step S1501 (step S1502). For example, if the PL document 400 has a base item A "Quantity" and a correction target item C "Case_No.", then referring to the first structured data JSON file 403 generated from the PL document 400, the number of elements in base item A is 8 and the number of elements in correction target item C is 7. Since the number of elements in correction target item C and base item A do not match, the Value correction unit 115 performs a blank space filling process.

[0109] Returning to step S1502, if the number of elements matches, the process ends without performing the blank padding operation. On the other hand, if there is a mismatch, the process in steps S1503 to S1507 is executed for each element of the item C to be corrected, which is all the item values ​​of "Case_No." in the example above.

[0110] The Value Correction Unit 115 determines whether the element in question of the item C to be corrected is the last element (step S1503).

[0111] If the element in question is the last element, the Value Correction Unit 115 refers to the format file 404 to obtain the row number x of the last element and generates a blank-filling condition (x < row number of the element in the item C to be corrected) (step S1504). The blank-filling condition (x < row number of the element in the item C to be corrected) means that if there is an element in the reference item A with a row number of x or greater, a blank element will be filled into the item C to be corrected. Then, the Value Correction Unit 115 refers to the format file 404 and, if there are elements of standard item A that meet the blank-filling conditions generated in step S1504, updates the item value of the item to be corrected C in the first structured data JSON file 403 by filling it with blank elements equal to the number of elements of standard item A that meet the blank-filling conditions (step S1505). If there are no elements, no blank-filling is performed for the item to be corrected C.

[0112] For example, in the first structured data JSON file 403 generated from PL document 400, the element "item value "6-24"" of the item to be corrected C "Case_No." is the last element, so the Value correction unit 115 refers to the format file 404 to obtain the row number 40 corresponding to the element "item value "6-24"" and generates a blank space filling condition (40 < row number of the element). Furthermore, the Value correction unit 115 does not perform blank space filling because there are no elements with row numbers of 40 or higher in the reference item A "Quantity".

[0113] Returning to step S1503, if the element is not the last element, the Value correction unit 115 obtains the row number x of the element of the correction target item C and the row number y of the element next to the element, and generates a blank filling condition (x < row number of element of correction target item C < y) (step S1506). Then, the Value correction unit 115 refers to the format file 404, and if there is an element of the reference item A that meets the blank filling condition generated in step S1506, for the item value of the correction target item C in the first structured data JSON file 403, performs an update to fill blank elements for the number of elements of the reference item A that meet the blank filling condition (step S1507).

[0114] For example, in the first structured data JSON file 403 generated from the PL document 400, when the element of the correction target item C "Case_No." is "item value '5'", Value correction section 115 refers to the format file 404, since the element "item value '5'" is the 6th element and not the last element, the row number "34" corresponding to the element "item value '5'" and the row number "40" corresponding to the next element "item value '6-24'" of the element are obtained, Line number "40" and a blank filling condition (34 < element row number < 40) is generated.

[0115] Then, Value correction section 115 refers to the format file 404, and since there is one element "0.1" in the reference item A "Quantity" that satisfies the blank filling condition (34 < element row number < 40), for the correction target item C "Case_No." in the first structured data JSON file 403, Item value "2" The corresponding line number is "37". an update is performed to fill one blank element between the element of row number 34 and the element of row number 40, that is, after the 6th element "item value '5'". Element on line number 40

[0116] FIG. 16 is a flowchart showing the complement processing (step S1105 in FIG. 11) in the document management support system of the present embodiment.

[0117] ​​First, the Value completion unit 116 refers to the layer level 514 of the item described in the definition file 500 and the multiline parameter 515 for determining whether it is a multiline item, and selects an arbitrary item from the items in the first structured data JSON file 403 whose item value is not blank, has a layer level of 1 and multiline=false, and sets it as the base item A (step S1601). Similar to step S1301, "Quantity" can be selected as the base item A.

[0118] Next, the Value completion unit 116 determines whether or not there are elements in the item to be completed (step S1602). If the item to be completed already contains elements, the process will terminate without completing the item. On the other hand, if there are no elements in the item to be supplemented, the process proceeds to step S1603.

[0119] Next, the Value completion unit 116 refers to the item calculation formula 600 stored in the item calculation formula storage unit 124 and determines whether or not there are any other calculation items (referred to as other calculation items) that are missing elements among the other items used in the calculation of the item to be completed (step S1603). If there are other calculation items that do not have elements, the calculation cannot complete them, so the process ends without completion. On the other hand, if all other calculation items have elements, the other calculation items are retrieved, and the processes in steps S1604 to S1606 are executed for all elements of the reference item A selected in step S1601, one element each of the item "Quantity" in the above example.

[0120] Here, we will explain the item calculation formula 600 stored in the item calculation formula storage unit 124. Figure 17 is an explanatory diagram of an example of an item calculation formula in an embodiment of the present invention.

[0121] The item calculation formula is for items where the step-by-step processing flag is set to "3" in definition file 500, but where the item name or item value is not listed in the target document (items to be calculated), and it calculates the value from the elements of other items. For example, using logistics domain knowledge, one function for each item is created in the system beforehand. The item calculation formula is shown as follows: Calculation target item (i) = F(item 1(i), item 2(i),..., item j(i)) F: Formula, item j(i): i-th element of item j

[0122] For example, the i-th element of the item "Qty_per_Pkg" can be calculated from the i-th element of the item "Quantity" and the i-th element of the item "Number_of_Pkg" using the following formula. Qty_per_Pkg(i)= Quantity(i) / Number_of_Pkg(i)

[0123] For example, the first structured data JSON file 403 generated from PL document 400 does not have an element for the item to be supplemented, "Qty_per_Pkg". Referring to an example of item calculation formula 600 shown in Figure 17, the other items used for calculation to calculate the item to be supplemented, "Qty_per_Pkg", are the item "Quantity" and the item "Number_of_Pkg". Assuming that each of these has an element in the first structured data JSON file 403, the item to be supplemented, "Qty_per_Pkg", is supplemented by calculation using the items "Quantity" and "Number_of_Pkg".

[0124] Returning to Figure 16, the Value completion unit 116 refers to the format file 404 and determines whether there is a blank element of the calculation item obtained in step S1603 at the row number of the element in the reference item A (step S1604).

[0125] For example, for item calculation formula 600, the Value completion unit 116 determines whether there is a blank element of the calculation item "Number_of_Pkg" at the row number of the corresponding element of the reference item A "Quantity". Note that "Quantity", which is the calculation item for item calculation formula 600, was selected as a reference item A that does not have blanks in step S1601, so it is not necessary to determine whether there is a blank element. Specifically, the Value completion unit 116 compares the row number "37" of the relevant element (the 7th element) of the reference item A "Quantity" in the format file 404 with the row number of the calculation item "Number_of_Pkg". If row number "37" does not exist in the calculation item "Number_of_Pkg", it determines that there is a blank element on row "37".

[0126] Returning to step S1604, if there are no blank elements from other calculation items in the row number of the relevant element of criterion item A, proceed to step S1605. On the other hand, if there are blank elements from other calculation items, proceed to step S1606.

[0127] The Value Completion Unit 116 substitutes the elements of other calculation items into the item calculation formula 600 and calculates the item value of the item to be completed. Then, the Value Completion Unit 116, Second structured data JSON file 405 In this step, the item value of the item to be supplemented is updated with the calculated item value (step S1605).

[0128] For example, if the element of the calculation item "Number_of_Pkg" corresponding to row number "21" of the second element "item value "120"" of the reference item A "Quantity" is the second element "item value "3", then since it is not blank, the Value completion unit 116 directly substitutes this into the item calculation formula 600, Qty_per_Pkg(2) = Quantity(2) / Number_of_Pkg(2), and calculates the result 120 / 3 = 40. Then, the Value completion unit 116, Second structured data JSON file 405 In this step, the second element of the item to be supplemented, "Qty_per_Pkg", is updated to the calculated item value, "40".

[0129] The Value Completion Unit 116 takes the elements of the blank elements in other calculation items as the non-blank elements preceding the blank elements. For example, if the i-th element is a blank element and the (i-1)th element is a non-blank element, it takes the (i-1)th non-blank element as the blank element and substitutes it into the item calculation formula 600 to calculate the item value of the item to be completed. Then, the Value Completion Unit 116, Second structured data JSON file 405In this step, the item value of the item to be supplemented is updated with the calculated item value (step S1606).

[0130] For example, in the example of step S1604, if the calculation item “Number_of_Pkg” has a blank element in its 7th position, the item value of the 7th calculation item “Number_of_Pkg” is the non-blank element before the blank element, i.e., the 6th element, which is “1”, and this is substituted into item calculation formula 600 as a substitute value for the blank element and the calculation is performed. Then, Second structured data JSON file 405 In this step, the seventh element of the item to be supplemented, "Qty_per_Pkg", is updated to the calculated item value, "2".

[0131] As described above, the document management system 100 in this embodiment can structure data by considering the correspondence between multiple values, using a pre-set layer level (representing the layer relationship between items) and a step-by-step processing flag (indicating how many steps of processing are required for each item) for each data item to be extracted. This makes it possible to register document data in the system, reducing the man-hours required for creating new documents and for comparing past information.

[0132] It should be noted that the present invention is not limited to the embodiments described above, and various modifications are included. For example, the embodiments described above are explained in detail for a better understanding of the present invention, and are not necessarily limited to those having all of the configurations described.

[0133] Furthermore, each of the above configurations, functions, processing units, and processing means may be implemented in hardware, either partially or entirely, by designing them as integrated circuits, for example. Alternatively, each of the above configurations and functions may be implemented in software by a processor interpreting and executing programs that implement each function. Information such as programs, tables, and files that implement each function can be stored in storage devices such as non-volatile semiconductor memory, hard disk drives, and SSDs (Solid State Drives), or in computer-readable non-temporary data storage media such as IC cards, SD cards, and DVDs.

[0134] Furthermore, the control lines and information lines shown are those deemed necessary for explanation purposes, and do not necessarily represent all control lines and information lines in the actual product. In practice, it can be assumed that almost all components are interconnected. [Explanation of Symbols]

[0135] 100 Document Management Support Systems 101 Web & App Server 102 converter 103 Databases 111 Control Unit 112 Communications Department 113 Row / Column / Text Extraction Section 114 Structured Basic Information Creation Processing Unit 115 Value correction section 116 Value complement part 120 Definition file storage unit 121 TSV file storage unit 122 Structured Data Storage Unit 123 Format storage unit 124 item calculation formula storage section 200 client devices 201 Web browser (GUI) 211 Control Unit 212 Communications Department 213 Display section 214 Input section Document D 300 Computer Systems 301 Processor 302 memory 303 Auxiliary storage device 304 Output device 305 Input device 306 Communication Interface (I / F) N Network 500 definition files 600 items calculation formula 401 Document in XML format 402 tsv file 403 First Structured Result JSON File 404 format file 405 Second Structured Result JSON File 406 Final Structured JSON File 411 line numbers in the sample document 412 Column number of the sample document 510 Definition File Structure Table 511 Document Types 512 items 513 Stage Processing Flag 514 Layer Levels 515 Notation Patterns 516 Extraction conditions

Claims

1. A document management support system comprising a processor and a memory device, The storage device holds definition information that defines the conditions for structuring a document by associating the document items with item values, The aforementioned definition information For each of the above items, a layer level is given to represent the layer relationship between the items. For each of the above items, a step-by-step processing flag indicating how many steps of processing are required to structure the document, and Each of the aforementioned items includes a notation pattern that associates the item notation name with the notation position pattern information of the item value for each of the aforementioned items, The aforementioned processor, For each of the above items, based on the step processing flag of the definition information, up to one or two steps of processing are performed. The first stage of processing involves extracting the item name and the corresponding item value from the input document based on the notation pattern of the definition information. The second stage of processing involves correcting the item values ​​of the items from which the item values ​​were extracted in the first stage of processing, based on the correspondence with the item values ​​of items in lower layers of the item identified by referring to the layer level of the definition information. A document management support system characterized by generating structured information that associates the item name of the aforementioned item with the item value or corrected item value corresponding to that item name.

2. A document management support system according to claim 1, The storage device further includes an item calculation formula for calculating the elements of one item in the document from the elements of multiple other items. The aforementioned processor, For each of the above items, processing is performed up to one stage, up to two stages, or up to three stages based on the stage processing flag of the definition information. The third stage of processing involves supplementing the item values ​​of items that were not extracted in the first stage of processing based on the item calculation formula, A document management support system characterized by generating structured information that associates the item name of the aforementioned item with the corresponding item value, corrected item value, or supplemented item value.

3. A document management support system according to claim 1, The aforementioned definition information Includes extraction conditions for item values ​​to be extracted from the aforementioned document, The first stage of processing is a document management support system characterized by extracting the item name of the item and the item value corresponding to the item name and satisfying the extraction conditions from the input document based on the notation pattern of the definition information.

4. A document management support system according to claim 1, The document management support system is characterized in that the second stage of processing corrects the item value by combining the elements of the item value of the item based on the correspondence relationship with the item value of an item in a lower layer of the item.

5. A document management support system according to claim 1, The document management support system is characterized in that the second stage of processing corrects the item value by filling in blank elements in the item value of the item based on the correspondence relationship with the item value of an item in a lower layer of the item.

6. A document management support system according to claim 1, The first stage of processing further extracts matrix information of the extracted item values ​​from the document and generates format information that associates the item names with the matrix information. A document management support system characterized in that, in the second stage of processing, the correspondence between the item and the item value of an item in a lower layer of the said item is identified based on the format information.

7. A document management support system having a processor and a storage device, wherein the processor performs a document management support method, The storage device holds definition information that defines the conditions for structuring a document by associating the document items with item values, The aforementioned definition information For each of the above items, a layer level is given to represent the layer relationship between the items. For each of the above items, a step-by-step processing flag indicating how many steps of processing are required to structure the document, and Each of the aforementioned items includes a notation pattern that associates the item notation name with the notation position pattern information of the item value for each of the aforementioned items, The aforementioned processor, For each of the above items, it is determined whether to execute up to the first step or up to the second step based on the step processing flag of the definition information. Based on the aforementioned notation pattern of the definition information, the first step is to extract the item name and the item value corresponding to the item name from the input document. In the first step, the item values ​​extracted are corrected based on the correspondence between the item values ​​of items in lower layers of the item identified by referring to the layer level of the definition information, and the item values ​​of the items extracted in the first step correspondence between the item values ​​of the items extracted in the first step and the item values ​​identified by referring to the layer level of the definition information, The steps include generating structured information that associates the item name of the aforementioned item with the item value or corrected item value corresponding to that item name, A document management support method characterized by having the following features.

8. A document management support system A storage device that holds definition information defining the conditions for structuring a document by associating the document items with item values. The aforementioned definition information For each of the above items, a layer level is given to represent the layer relationship between the items. For each of the above items, a step-by-step processing flag indicating how many steps of processing are required to structure the document, and Each of the aforementioned items includes a notation pattern that associates the item notation name with the notation position pattern information of the item value for each of the aforementioned items, For each of the above items, based on the step processing flag of the definition information, up to one or two steps of processing are performed. The first stage of processing involves extracting the item name and the corresponding item value from the input document based on the notation pattern of the definition information. The second stage of processing involves correcting the item values ​​of the items from which the item values ​​were extracted in the first stage of processing, based on the correspondence with the item values ​​of items in lower layers of the item identified by referring to the layer level of the definition information. A processor that generates structured information that associates the item name of the aforementioned item with the item value or corrected item value corresponding to that item name. A program that makes it function as such.

Citation Information

Patent Citations

  • Document structure generating device

    JP1997305604A

  • Device and method for document structure conversion

    JP1998021227A

  • Document conversion device and method, and document conversion program

    JP2006053612A

  • Data structure conversion system, program, and data structure

    JP2008090500A

  • Document data acquisition system and document data acquisition program

    JP2021179747A