Information processing device, data coordination method, and data coordination program

JP2024128844AActive Publication Date: 2024-09-24SKYCOM
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023038096
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-24
Estimated Expiration
2043-03-10

AI Technical Summary

Benefits of technology

【0008】 上述したように構成した本発明によれば、PDFファイルからデータを容易に抽出することができるという効果を奏する。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024128844000001
    Figure 2024128844000001
Patent Text Reader

Abstract

To provide an information processing device, a data coordination method, and a data coordination program that allow an easy extraction of data from a PDF file.SOLUTION: An information processing device 100 includes a setting file storage unit 121 that stores, in association with each other, document type information and a setting file in which item names and item value position information indicating an input area of an item value of each item name are described. A form generation unit 112 obtains, from the setting file storage unit 121, the setting file associated with the document type information, based on a PDF file including the document type information, and generates a form using the obtained setting file. A form imparting unit 113 imparts the form to the PDF file. An item value extraction unit 114 extracts the item value of each item name from the PDF file using the form, and stores the extracted item value in the form.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] As electronic transactions between companies and individuals progress, PDF (Portable Document Format) files are often used for documents that cannot be rewritten, such as application forms, quotes, invoices, and contracts. Meanwhile, PDF files contain various characters and numbers that are desired to be linked to other systems, but it has not been easy to extract data from PDF files and link them to other systems. To solve this problem, the applicant has devised a technology that makes it easy to extract data from PDF files by storing data extracted based on extraction rules in the PDF file (Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-163363 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the technique described in Patent Document 1 requires generating extraction rules describing location information and the like for each PDF file of a different format, and extracting data using the generated extraction rules.

[0005] The present invention has been made in consideration of the above, and has an object to provide an information processing device, a data linking method, and a data linking program that can easily extract data from a PDF file. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems, the present invention is characterized by comprising a setting file storage unit that stores document type information in association with a setting file that describes item names and position information of the item values ​​indicating input areas for the item values ​​of each item name, and obtains the setting file associated with the document type information from the setting file storage unit based on a PDF file including the document type information, generates a form using the obtained setting file, attaches the generated form to the PDF file, extracts item values ​​corresponding to each item name from the PDF file using the form, and stores the extracted item values ​​in the form in association with the item names.

[0007] In another aspect of the present invention, the present invention includes a position information storage unit that stores item names in association with relative position information indicating an input area for item values ​​based on the display position of the item names, and is characterized in that the following steps are performed: extracting item names and position information of the item names to be stored in the position information storage unit from the PDF file; calculating position information of the item values ​​from the relative position information associated with the extracted item names and the position information of the item names; generating a form using the item names extracted from the PDF file and the calculated position information of the item values ​​for each item name; attaching the generated form to the PDF file; extracting item values ​​for each item name from the PDF file using the form; and storing the extracted item values ​​in the form. Effect of the Invention

[0008] According to the present invention configured as described above, it is possible to easily extract data from a PDF file. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing a configuration of a data linkage system 10 including an information processing device 100, an information processing device 200, and an information processing device 300 according to a first embodiment. [Diagram 2] 2 is an explanatory diagram showing an example of a data configuration of a setting file storage unit 121. FIG. [Diagram 3]13 is a flowchart showing a procedure of a form-assignment and data extraction process executed by the information processing device 100. [Figure 4] 1 is an explanatory diagram illustrating a flow of adding a form to a PDF file and extracting item values ​​from the PDF file using the added form. [Diagram 5] 13 is a flowchart showing the procedure of a link data generation process executed by the information processing device 100. [Figure 6] 13 is a flowchart showing a procedure of a setting file generation process executed by the information processing device 100. [Figure 7] 13 is a flowchart showing an item value changing process executed by the information processing device 100. [Figure 8] FIG. 11 is a block diagram showing a configuration of a data linkage system 20 including an information processing device 400, an information processing device 200, and an information processing device 300 according to a second embodiment. [Figure 9] 13 is a flowchart showing a procedure of a form assignment and data extraction process executed by the information processing device 400. [Figure 10] 13 is a flowchart showing a procedure of a position calculation process executed by the information processing device 400. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, examples of the information processing device, the data linking method, and the data linking program according to the present application will be described with reference to the accompanying drawings. The following explanations are examples of the embodiments of the present application, and the information processing device, the data linking method, and the data linking program according to the present application are not limited to these examples.

[0011] <Example 1> 1 is a block diagram showing a configuration of a data linkage system 10 including an information processing device 100, an information processing device 200, and an information processing device 300 according to a first embodiment. The information processing device 100 is a computer that extracts data using a form added to a PDF file and generates linked data from the data stored in the form. The information processing device 100 may execute the above-mentioned process for a PDF file received from another information processing device (for example, information processing devices 200-1 to 200-n) and transmit the PDF file in which data is stored in the form or the linked data to the information processing device.

[0012] Information processing devices 200-1 to 200-n (hereinafter referred to as "information processing devices 200") transmit PDF files to information processing device 100 and receive PDF files in which data that can be linked to other systems is stored in a form, or linked data. Information processing device 300 receives linked data extracted from one or more PDF files, and uses it as input data for other systems operating on information processing device 300. Note that information processing devices 100, information processing device 200, and information processing device 300 are, for example, personal computers (hereinafter referred to as "PCs"), servers, tablet terminals, smartphones, etc.

[0013] As shown in FIG. 1, the information processing device 100 includes a control unit 110, a storage unit 120, an input / output unit 130, and a communication unit 140.

[0014] The control unit 110 controls the operation of the entire information processing device 100 and each unit by expanding and executing various programs and control information stored in the storage unit 120. The control unit 110 functions as a character recognition unit 111, a form generation unit 112, a form attachment unit 113, an item value extraction unit 114, an associated data generation unit 115, a setting file generation unit 116, and a file storage unit 117.

[0015] The storage unit 120 stores a setting file storage unit 121, and programs for controlling each unit, application programs, various control information, intermediate files, PDF files, and the like (not shown).

[0016] FIG. 2 is an explanatory diagram showing an example of the data configuration of the setting file storage unit 121. The setting file storage unit 121 stores document type information, a setting file, and other information in association with each other. Here, the document type information is information indicating the type of a PDF file, which is a document, and is used to select a setting file to be used when attaching a form to a PDF file. The document type information may be, for example, document type information of a specific document (e.g., application form A), or document type information common to multiple documents (e.g., application form A, application form B, application form C, application form A, quotation B, and invoice C). The document type information is described in an invisible area of ​​the PDF file, or the document type information is described in a part of the name of the PDF file, so that it is possible to determine which setting file is used to attach a form for each PDF file.

[0017] The setting file is a file that describes information used when generating a form that accepts data input to a PDF file. More specifically, the setting file describes position information indicating the input area of ​​the form on the PDF file and item names indicating the names (contents) of the data to be stored in that area in association with each other. The setting file may further include information on the input form of the form (for example, text input, numeric input, radio buttons, check boxes, pull-down menus, handwritten input area, etc.). Note that the setting file does not need to set all the item names of the PDF file, and may set some of the item names written in the PDF file. If the data required for each linked system is different, the contents of the setting file associated with the document type information may be changed as necessary so that the item values ​​required as linked data can be extracted. In addition, in the case of a PDF file consisting of multiple pages, the position information is described in addition to the page information.

[0018] The input / output unit 130 accepts operations by a user and displays operation results, execution results of various processes, and the like. The input / output unit 130 displays operation menus, PDF files, and the like on a display screen. In the case of a PC, for example, the input / output unit 130 includes a display device such as a liquid crystal display (LCD) or an organic electroluminescence (EL) display, and an input device such as a keyboard and a mouse, and in the case of a tablet terminal or a smartphone, includes a touch panel configured by overlapping a liquid crystal display and a touch sensor. The communication unit 140 is connected to other devices via the network N so as to be able to communicate with each other, and transmits and receives data to and from the other devices.

[0019] Next, the character recognition unit 111, form generation unit 112, form attachment unit 113, item value extraction unit 114, linked data generation unit 115, setting file generation unit 116, and file storage unit 117 that function in the control unit 110 will be described.

[0020] When the page content of the PDF file is an image, the character recognition unit 111 recognizes characters from the image and generates text data in which the recognized characters are arranged so as to overlap the positions of the characters on the image. The character recognition unit 111 stores the text data generated from the image in the PDF file as a part of the PDF file.

[0021] The form generation unit 112 acquires document type information to be stored in the PDF file (or document type information included in the file name), and acquires a setting file associated with the acquired document type information from the setting file storage unit 121. The form generation unit 112 generates a form using the setting file acquired from the setting file storage unit 121. A form is one or more input areas that accept data input to a PDF file. The form specifications comply with the International Organization for Standardization (ISO) standards.

[0022] The form adding unit 113 adds the form generated by the form generating unit 112 to the PDF file. More specifically, the form adding unit 113 stores the form in the PDF file as a part of the PDF file. Note that a form in which no item value corresponding to an item name is input is called an "empty form."

[0023] The item value extraction unit 114 extracts item values ​​corresponding to the item names using the form. More specifically, the item value extraction unit 114 extracts item values ​​for each item name from text data located in an input field for each item name included in an empty form. The item value extraction unit 114 stores the item values ​​for each item value in the form added to the PDF file.

[0024] The linked data generating unit 115 extracts item names and item values ​​to be stored in the form from the PDF file, and generates linked data in which the extracted item names and item values ​​are associated with each other.

[0025] The setting file generating unit 116 generates a setting file from the input fields for item names and their respective item values ​​received as input for the form. The setting file generating unit 116 associates the document type information with the setting file and stores them in the setting file storage unit 121. Note that the setting file generating unit 116 may also generate a setting file by specifying a PDF file including an existing form and receiving input of document type information, and store the generated setting file in the setting file storage unit 121 in association with the document type information.

[0026] When a command to save the PDF file is received, the file storage unit 117 stores the item values ​​displayed on the form on the screen in association with the item names in response to the command to save the PDF file.

[0027] The process executed by the information processing device 100 of the data linkage system 10 configured as described above will be described below.

[0028] The input / output unit 130 of the information processing device 100 receives an instruction for a PDF file (step S301). The instruction for the PDF file may be one or multiple. The character recognition unit 111 judges whether the page content of the specified PDF file is an image (step S302). If it is judged that the page content of the specified PDF file is an image (step S302: Yes), the character recognition unit 111 executes character recognition processing on the image (step S303). More specifically, the character recognition unit 111 recognizes characters from the image, generates text data in which the recognized characters are arranged in a position overlapping the image, and stores the generated text data in the PDF file.

[0029] If it is determined that the page content of the specified PDF file is not an image (step S302: No), that is, if it is determined that the PDF file contains text data, the character recognition process is not performed, and step S304 is executed.

[0030] The form generating unit 112 acquires the document type information from the PDF file (step S304). If the PDF file does not include the document type information, the input / output unit 130 may accept a change to the file name of the PDF file that includes the document type information, or may accept an input of the document type information, store the accepted document type information in an invisible area of ​​the PDF file, and then acquire the document type information.

[0031] The form generating unit 112 obtains a setting file associated with the document type information from the setting file storage unit 121 (step S305). The form generating unit 112 generates a form using the setting file (step S306). The form adding unit 113 adds the generated form to the PDF file (step S307). The form at this time is an empty form with item values ​​being blank.

[0032] FIG. 4 is an explanatory diagram that shows a schematic flow of adding a form to a PDF file and extracting item values ​​from the PDF file using the added form. FIG. 4(a) shows the data structure of a PDF file before a form is added. The PDF file in FIG. 4(a) is a typical PDF file that includes text data and page content consisting of one or more pages. The page content is data necessary to display the PDF file on the screen when the PDF file is read in a typical PDF viewer, and includes text data (image data), forms, etc.

[0033] As shown in Fig. 4(a), the text data of the page content includes characters such as "First name", "Sorada Haruo", etc. in the respective areas. Fig. 4(b) shows the data structure of a PDF file with an empty form. When a PDF file containing an empty form is displayed on the screen, the text data of the page content and the form are displayed superimposed, and the item names and blank item values ​​(blank fields) are displayed, as shown in Fig. 4(b).

[0034] The item value extraction unit 114 uses the form to extract item values ​​corresponding to the item names from the PDF file (step S308). More specifically, the item value extraction unit 114 extracts characters, numbers, and the like from text data based on the item names described in the blank form and the position information of the input area of ​​the item value in the PDF file corresponding to the item names. The item value extraction unit 114 stores the item values ​​extracted for each item name in the form added to the PDF file (step S309). If the item value cannot be extracted, that is, if the item value is not input, the item value is set to blank. FIG. 4(c) shows an example of the data configuration of a PDF file in which item values ​​are stored in a form. The characters "Sorada Haruo" located in the input area of ​​the item name "First name" are extracted from the text data as the item value of the item name "First name" and stored in the form. Other item names and item values ​​are similarly extracted and stored in the form. When a PDF file including a form in which item values ​​are stored is displayed on a screen, the item names and item values ​​are displayed as shown in the screen display of FIG. 4(c).

[0035] In this way, you can generate forms using configuration files for each document type, and use the generated forms to extract the item values ​​for each item name. Also, by storing the item values ​​for each item name extracted from the text data of the PDF file in a form that conforms to ISO in the PDF file, it becomes easy to change the item values.

[0036] Next, a process for generating linked data from a PDF file to which a form has been added will be described with reference to a flowchart of FIG 5, which is a flow chart showing the procedure of the linked data generation process executed by the information processing device 100.

[0037] The input / output unit 130 of the information processing device 100 receives an instruction for a PDF file (step S501). The instruction for the PDF file may be one or more. The instruction for the PDF file may be omitted by continuously executing the process of FIG. 3 (step S309). The linked data generation unit 115 extracts item names and item values ​​from the form to which the PDF file is attached (step S502). The linked data generation unit 115 generates linked data in which the extracted item names and item values ​​are associated with each other (step S503). The linked data is generated in a general format such as XML (Extensible Markup Language), Json (JavaScript Object Notation), or csv (Comma Separated Value), or in a format that can be directly input to the linked system. The communication unit 140 transmits the linked data to the information processing device 300 in which the system that inputs the linked data is operating (step S504).

[0038] In this way, by extracting item names and item values ​​from the form added to the PDF file, linked data for other systems can be easily generated from the PDF file. As a result, even if an existing system that is difficult to modify only outputs PDF files, linked data that can be used in other systems can be easily generated from the PDF file. Also, even if documents (electronic data) such as application forms, booking forms, estimates, invoices, contracts, etc. are received as PDF files, linked data that associates item names and item values ​​from the PDF file can be generated. As a result, data written in the PDF file can be used without re-entering it, which improves work efficiency and prevents transcription errors.

[0039] Next, a description will be given of the generation of a setting file to be stored in the setting file storage unit 121, which is executed by the information processing device 100. Fig. 6 is a flowchart showing the procedure of a setting file generation process executed by the information processing device 100.

[0040] The input / output unit 130 of the information processing device 100 accepts an instruction for a PDF file (step S601). Here, a PDF file that does not include a form is specified. The input / output unit 130 displays the PDF file on the display screen (step S602). The input / output unit 130 accepts input of a form for the PDF file displayed on the screen (step S603). More specifically, the input / output unit 130 accepts input of an item name, and accepts input of an input field for an item value corresponding to the item name in the PDF file on the display screen. The input / output unit 130 also adds the accepted form to the PDF file.

[0041] The input / output unit 130 accepts the input of the document type information (step S604). The setting file generating unit 116 generates a setting file using the form (step S605). The setting file includes item names and item value position information obtained from the input area of ​​the item value corresponding to the item name. More specifically, the item value position information is each coordinate of the input area of ​​the item value from the reference point of each page of the PDF file (for example, the upper left corner of an A4 portrait paper), the reference coordinate, the width, the height, etc. The setting file generating unit 116 stores the document type information and the setting file in association with each other in the setting file storage unit 121 (step S606). Note that the setting file storage unit 121 may store a PDF file with the form added thereto, the input of which was accepted in step S603, instead of the setting file. By using a PDF file with the form added thereto (hereinafter referred to as a "PDF file with a form"), the position of the form and the item name can be visualized as a form in a PDF viewer or the like, making it easier for the user to check and correct. In addition, when a form is to be added to a PDF file by using a PDF file with a form, a setting file is generated from the PDF file with the form and the form is added to the PDF file.

[0042] In this way, it is possible to easily add forms to PDF files of various formats by generating setting files corresponding to document type information in advance and storing them in the setting file storage unit 121. By extracting data using the form generated from the setting file described above, it is possible to easily generate associated data from a PDF file.

[0043] As another embodiment, a process for changing item values ​​of a PDF file including a form will be described below.

[0044] The input / output unit 130 of the information processing device 100 accepts an instruction for a PDF file (step S701). Here, the PDF file to which the form generated in FIG. 3 is added is specified. The instruction for the PDF file may be one or more. Also, the instruction for the PDF file may be omitted by continuously executing the process in FIG. 3 (step S309). The input / output unit 130 displays the PDF file with the form on the display screen (step S702). The input / output unit 130 accepts a change to the item value displayed in the input area of ​​the form (step S703). For example, the item value "Tokyo..." of the item name "Address" is changed to "Miyazaki...". When the item value is blank, a new item value may be input, or the existing item value may be deleted and left blank.

[0045] The input / output unit 130 accepts the save to the PDF file (step S704). The file storage unit 117 stores the change content entered in the input area for the item value corresponding to the item name on the display screen in the form (step S705).

[0046] This allows you to change and save the item values ​​stored in the form. Also, by executing step S702 following the form assignment and data extraction process in Figure 3, you can extract data from PDF files that do not have a form assigned, and then modify the required item values. For example, you can use the name and surname as they are, and change only the address.

[0047] As another embodiment, when a save to a PDF file is accepted in step S704, in addition to storing the changes in the form included in the PDF file, the changes may be added to the PDF file. This makes it possible to generate a PDF file that matches the contents stored in the form. The addition of the changes also becomes a revision history.

[0048] <Example 2> Fig. 8 is a block diagram showing a configuration of a data linkage system 20 including an information processing device 400, an information processing device 200, and an information processing device 300 according to the second embodiment. As shown in Fig. 8, the information processing device 400 includes a control unit 410, a storage unit 420, an input / output unit 130, and a communication unit 140. In each device and each unit, when the number is the same as that shown in the first embodiment, the function and configuration are almost the same, so the description here is omitted and the above description is referred to.

[0049] The position information storage unit 422 stores information indicating the relative positional relationship between the display position of the item name and the input area of ​​the item value in the PDF file. The position information storage unit 422 stores the item name and the relative position information of the item value in association with each other. The relative position information of the item value is position information indicating the input area of ​​the item value based on the display position of the item name.

[0050] The position calculation unit 418 extracts item names from the PDF file, and calculates the position information of the item value for each item name in the PDF file from the relative position information of the item value stored in the position information storage unit 422, which is associated with the extracted item name. Furthermore, when calculating the relative position information of the item value, the position calculation unit 418 acquires the position information of the item name in the PDF file. The position calculation unit 418 calculates the relative position information of the item value from the position information of the item name and the input area of ​​the item value accepted when inputting the form, and stores the item name and the relative position information of the item value in the position information storage unit 422 in association with each other.

[0051] The form-assignment and data-extraction processing executed by the information processing device 400 of the data linkage system 20 configured as described above will be described below.

[0052] The input / output unit 130 of the information processing device 400 receives an instruction for a PDF file (step S901). The position calculation unit 418 acquires the relative position information of the item name and the item value associated with the item name from the position information storage unit 422 (step S902).

[0053] The position calculation unit 418 extracts item names and position information of the item names from the PDF file (step S903). More specifically, the position calculation unit 418 extracts item names to be stored in the position information storage unit 422 from the PDF file, and extracts position information indicating the display positions of the extracted item names. The position calculation unit 418 calculates position information of item values ​​in the PDF file to which the form is to be added from the position information of the item names and the relative position information of the item values ​​associated with the item names (step S904). The form generation unit 112 generates a form using the item names and the position information of the item values ​​of each of the item names (step S905). At this time, the item names and the position information of the item values ​​used when the form generation unit 112 generates the form may be stored in the setting file storage unit 121 as a new setting file in association with new document type information.

[0054] The form adding unit 113 adds the generated form to the PDF file (step S906). The item value extracting unit 114 extracts item values ​​of each item name from the PDF file using the added form (step S907). The item value extracting unit 114 stores the extracted item values ​​in the form added to the PDF file (step S908).

[0055] In this way, by using the relative position information of the item name and the item value, a form can be generated and the item value can be extracted regardless of the position of the item name in the PDF file. Also, linked data can be generated in the same way as in the first embodiment without generating a setting file for each document type in advance.

[0056] In the second embodiment, similarly to the first embodiment, a PDF file may be transmitted from the information processing device 200 to the information processing device 400, the information processing device 400 may execute the above-mentioned processing, and the execution result may be transmitted to the information processing device 200.

[0057] The process of calculating relative position information for each item value executed by the information processing device 400 of the data linkage system 20 configured as described above will be described below.

[0058] The input / output unit 130 of the information processing device 400 accepts an instruction for a PDF file (step S1001). The input / output unit 130 displays the PDF file on a display screen (step S1002). The input / output unit 130 accepts input of a form for the PDF file displayed on the screen (step S1003). More specifically, the input / output unit 130 accepts input of an item name, and accepts input of an item value input field corresponding to the item name in the PDF file on the display screen.

[0059] The position calculation unit 418 extracts the position information of the item name from the PDF file (step S1004). More specifically, the position calculation unit 418 extracts position information indicating a display area in the PDF file in which the character string of the item name is arranged. The position calculation unit 418 calculates relative position information of the item value from the position information of the item name and the position information of the input area of ​​the item value received when inputting the form (step S1005). The relative position information of the item value is, for example, position information indicating the input area of ​​the item value relatively based on the position information of the bottom right of the display area of ​​the item name. The position calculation unit 418 stores the item name and the relative position information of the item value in association with each other in the position information storage unit 422 (step S1006).

[0060] In this way, by calculating the relative position information of the input area for the item value with respect to the item name, it is possible to generate a form without generating a setting file in advance.

[0061] The hardware configuration of the information processing device 100, the information processing device 200, the information processing device 300, and the information processing device 400 according to the above-mentioned embodiment is a normal computer including one or more processors such as a CPU (Central Processing Unit), an MPU (Micro-Processing Unit), or a GPU (Graphics Processing Unit), and equipped with an external storage device such as a ROM (Read Only Memory), a RAM (Random Access Memory), an HDD (Hard Disk Drive), a flash memory, or an SSD (Solid State Drive), a communication control device, etc., and the above-mentioned configuration and function are realized by the CPU or the like reading and running a program stored in the ROM, the RAM, the HDD, etc. Note that the control unit may be an electronic circuit such as an ASIC (Application Specific Integrated Circuit) or a PLD (Programmable Logic Device).

[0062] The programs that operate on the information processing device 100, the information processing device 200, the information processing device 300, and the information processing device 400 may be stored on a computer connected to a network such as the Internet and provided by downloading the programs via the network, or may be recorded in an installable or executable format on a computer-readable recording medium such as a CD-ROM, a DVD, a USB memory, or an SD card and provided. The programs that realize the above-mentioned functions and processes may be provided in the form of an API (Application Programming Interface), SaaS (Software as a Service), or cloud computing.

[0063] In the above-described embodiments, the information processing device 100, the information processing device 200, the information processing device 300, and the information processing device 400 have been described as separate devices, but the functions of the information processing device 100, the information processing device 200, the information processing device 300, and the information processing device 400 may be configured as a single device, or the functions of each device may be combined.

[0064] The present invention is not limited to the above-described embodiment, and does not necessarily have to be physically configured as illustrated. The present invention can be configured by functionally or physically dividing, integrating, replacing, modifying, or deleting all or part of the components described in the embodiment in any unit according to various loads, usage conditions, etc. [Explanation of symbols]

[0065] 100...information processing device, 110...control unit, 111...character recognition unit, 112...form generation unit, 113...form assignment unit, 114...item value extraction unit, 115...associated data generation unit, 116...setting file generation unit, 117...file storage unit, 120...storage unit, 121...setting file storage unit, 130...input / output unit, 140...communication unit, 200...information processing device, 300...information processing device, 400...information processing device, 410...control unit, 418...position calculation unit, 420...storage unit, 422...position information storage unit

Claims

1. a setting file storage means for storing document type information, a setting file describing item names and item value position information indicating an input area for each item name, in association with each other; a form generating means for acquiring a setting file associated with the document type information from the setting file storage means based on a PDF file including the document type information, and generating a form using the acquired setting file; a form adding means for adding the form generated by the form generating means to the PDF file; an item value extraction means for extracting item values ​​of each item name from the PDF file using the form and storing the extracted item values ​​in the form; An information processing device comprising:

2. 2 . The information processing apparatus according to claim 1 , further comprising: a character recognition unit that, when a page content of the PDF file is an image, stores text data generated by performing character recognition processing on the image in the PDF file.

3. a receiving means for receiving input of the document type information, the item names, and item value position information indicating an input area for the item values ​​of the item names; 2. The information processing apparatus according to claim 1, further comprising: a setting file generating means for storing in said setting file storage means a setting file describing said item names and position information of said item values ​​in association with said document type information accepted by said accepting means.

4. 2 . The information processing apparatus according to claim 1 , further comprising: linked data generating means for extracting the item names and the item values ​​to be stored in the form from the PDF file, and generating linked data in which the extracted item names and the extracted item values ​​are associated with each other.

5. a display means for displaying the item values ​​stored in the form on a display screen; a reception means for receiving a change to the item value displayed by the display means; 4. The information processing apparatus according to claim 1, further comprising: a storage unit configured to store the change in the item value accepted by the acceptance unit in a form.

6. a position information storage means for storing an item name and relative position information indicating an input area for an item value based on a display position of the item name in association with each other; a position calculation means for extracting, from the PDF file, item names and position information of the item names to be stored in the position information storage means, and calculating the relative position information associated with the extracted item names and the position information of the item values ​​from the position information of the item names; a form generating means for generating a form using the item names extracted from the PDF file and position information of the item values ​​of the item names calculated by the position calculating means; a form adding means for adding the form generated by the form generating means to the PDF file; an item value extraction means for extracting item values ​​of each item name from the PDF file using the form and storing the extracted item values ​​in the form; An information processing device comprising:

7. a receiving means for receiving input of a form including the item names and position information of the item values ​​indicating input areas of the item values ​​of the item names, The information processing device according to claim 6, wherein the position calculation means extracts position information indicating a display area of ​​the item name from the PDF file, calculates relative position information of the item value from the extracted position information and position information indicating an input area of ​​the item value, and stores the calculated relative position information of the item value in the position information storage means in correspondence with the item name.

8. a setting file storage unit that stores document type information, a setting file that describes item names and item value position information that indicates an input area for each item name, in association with each other; a form generating step of acquiring a setting file associated with the document type information from the setting file storage unit based on a PDF file including the document type information, and generating a form using the acquired setting file; a form adding step of adding the form generated by the form generating step to the PDF file; an item value extraction step of extracting item values ​​of each item name from the PDF file using the form and storing the extracted item values ​​in the form; A method for generating linked data.

9. a position information storage unit that stores an item name and relative position information indicating an input area for an item value based on a display position of the item name in association with each other; a position calculation step of extracting, from the PDF file, item names and position information of the item names to be stored in the position information storage unit, and calculating position information of the item values ​​from the relative position information associated with the extracted item names and the position information of the item names; a form generating step of generating a form using the item names extracted from the PDF file and position information of the item values ​​of the item names calculated in the position calculating step; a form adding step of adding the form generated by the form generating step to the PDF file; an item value extraction step of extracting item values ​​of each item name from the PDF file using the form and storing the extracted item values ​​in the form; A method for generating linked data.

10. 10. A linked data generating program that causes a computer to execute the linked data generating method according to claim 8.

Citation Information

Patent Citations

  • Information processing apparatus, data cooperation system, method, and program

    JP2021163363A