Information processing system, information processing method and information processing program

The system automates the form creation process by matching input data labels with form item names, simplifying the selection of suitable templates and reducing manual form design efforts, thereby enhancing user experience and efficiency.

JP2024133764AInactive Publication Date: 2024-10-03PFU LTD

Patent Information

Application Number
JP2023043723
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing form creation methods require users to manually select and modify form templates, which is cumbersome and complicated, especially when dealing with multiple templates and varying input data.

Method used

An information processing system that acquires input data labels, matches them with form item names, and presents suitable form templates based on associations, allowing users to easily select and customize form definitions without extensive manual design.

Benefits of technology

Facilitates easy and efficient form creation by automatically suggesting suitable templates and reducing the need for manual form definition, enhancing user experience and efficiency in designing and outputting forms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133764000001_ABST
    Figure 2024133764000001_ABST
Patent Text Reader

Abstract

To provide an information processing system, method and program for presenting, to a user, a form template suitable for data desired to be inputted.SOLUTION: An information processing device 1 includes: a data acquisition part 22 for acquiring a plurality of item names corresponding to a plurality of input values being objects to be arranged in a form template; a form definition storage part 21 for storing, for each form template of a plurality of form templates, form definition which defines, for each form item of a plurality of form items for arranging input values in the form template, item attributes including at least a form item name being an item name showing the form item name; a collation part 23 for associating, for each form template, a form item name with a label which match or are similar to each other by collating a plurality of form item names corresponding to the plurality of form items with a plurality of labels; and a presentation part 25 for presenting, to a user as candidate form templates, form templates in which association results correspond to a prescribed condition among the plurality of form templates.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technique for presenting a form (form template) and creating a form. [Background technology]

[0002] Conventionally, a report provision program has been proposed that causes a computer to execute a process for providing a report definition pattern that defines the output format of a report, which accepts the selection of a specific table from a plurality of tables that store business data, identifies at least one report definition pattern from a plurality of report definition patterns stored in association with the selected specific table, edits and outputs the business data of the selected specific table in at least one of the identified report definition patterns, and allows a user to select the output report definition pattern (see Patent Document 1).

[0003] In addition, a template provision server has been proposed that compares the attribute information of a form that a user is interested in, and the user information of that user, with the attribute information of other forms that have been registered in advance, to select a recommended form, taking into account the layout, industry, business, and usage history of other users, etc. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-156430 A [Patent Document 2] JP 2013-25726 A Summary of the Invention [Problem to be solved by the invention]

[0005] Conventionally, a method has been proposed for creating forms (electronic forms) by using form templates that have already been created. However, this requires the user to take the trouble of selecting a form template that matches the data they wish to input from among multiple form templates.

[0006] In view of the above problems, an object of the present disclosure is to present to a user a form template suitable for data that the user wishes to input. [Means for solving the problem]

[0007] One example of the present disclosure is an information processing system including: a data acquisition means for acquiring a plurality of labels which are a plurality of item names respectively corresponding to a plurality of input values ​​to be placed in a form template; a form definition storage means for storing, for each of a plurality of form templates, a form definition which defines item attributes including at least a form item name which is an item name indicating a form item for each of a plurality of form items for placing input values ​​in the form template; a matching means for matching, for each form template, a plurality of form item names corresponding to the plurality of form items with the plurality of labels to match form item names and labels which match or are similar to each other; and a presentation means for presenting to a user, among the plurality of form templates, a form template for which the result of the matching satisfies a predetermined condition, as a candidate form template for creating a form in which the plurality of input values ​​are entered.

[0008] The present disclosure can be understood as an information processing device, a system, a method executed by a computer, or a program executed by a computer. The present disclosure can also be understood as a program recorded on a recording medium readable by a computer or other device, machine, etc. Here, a recording medium readable by a computer, etc. refers to a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read by a computer, etc. Effect of the Invention

[0009] According to the present disclosure, it is possible to present to a user a form template suitable for data to be input. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a conceptual diagram of a system configuration according to an embodiment. [Diagram 2] 1 is a schematic diagram showing a configuration of a system according to an embodiment. [Diagram 3] 1 is a diagram illustrating an outline of a functional configuration of an information processing device according to a first embodiment. [Figure 4] FIG. 11 is a diagram illustrating an example of a template list according to an embodiment. [Diagram 5] FIG. 4 is a diagram illustrating an example of a form definition according to an embodiment. [Figure 6] FIG. 2 is a diagram showing an example of input data (data file with item labels) in the embodiment. [Figure 7] 13 is an example of an input data selection screen according to the embodiment. [Figure 8] FIG. 4 is a diagram illustrating an example of intermediate data according to the embodiment. [Figure 9] FIG. 11 is a diagram illustrating an example of association data according to an embodiment. [Figure 10] FIG. 13 is a diagram illustrating an example of a form selection screen in the embodiment. [Figure 11] FIG. 13 is a diagram showing an example of a dialog (in the case of similarity) in the embodiment. [Figure 12] FIG. 13 is a diagram showing an example of a dialog (when no correspondence is established) in the embodiment. [Figure 13] FIG. 13 is a diagram illustrating an example of a form editing screen in the embodiment. [Figure 14] FIG. 13 is a diagram illustrating an example of a business SaaS screen according to the embodiment. [Figure 15] 1 is a flowchart (1) showing an overview of the flow of a form output process according to an embodiment. [Figure 16] 13 is a flowchart (2) showing an overview of the flow of a form output process according to the embodiment. [Figure 17] 11 is a flowchart showing an outline of the flow of a candidate form template display process in the embodiment. [Figure 18] FIG. 11 is a diagram illustrating an outline of a functional configuration of an information processing device according to a second embodiment. [Figure 19] 13 is a diagram for explaining a method for identifying a form type in the second embodiment. FIG. [Figure 20] FIG. 1 is a conceptual diagram of a conventional system configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of an information processing device, a system, a method, and a program according to the present disclosure will be described with reference to the drawings. However, the embodiment described below is an example of an embodiment, and the information processing device, a system, a method, and a program according to the present disclosure are not limited to the specific configuration described below. In carrying out the present disclosure, a specific configuration according to the embodiment may be appropriately adopted, and various improvements and modifications may be made.

[0012] In this embodiment, an embodiment will be described in which the information processing device, system, method, and program according to the present disclosure are implemented in a system that creates a form by presenting a plurality of form templates and allowing the user to select the form template they wish to use. However, the information processing device, system, method, and program according to the present disclosure can be widely used in technologies for presenting forms (form templates) and technologies for creating forms, and the application of the present disclosure is not limited to the examples shown in the embodiments.

[0013] Traditionally, companies have used many different forms, such as various slips and application documents. There are two main ways to create such forms (electronic forms). The first method is for the user to design the form definition (which defines the layout, form items, form output logic, etc.). The second method is to select, edit, and use an already created form template.

[0014] FIG. 20 is a conceptual diagram of a conventional system configuration. As shown in FIG. 20, conventionally, a method has been used in which a form definition is generated (designed) by performing a form design or an existing form template (form definition) is edited. In this conventional method, a user generates a form definition or modifies a form definition in advance, and then combines the form definition with input data to generate and output a form. As described below, these conventional methods make it difficult to easily create (output) a form. In the first method, in order to design a form definition, the user needs to define (specify) many items such as a layout, form items, and form output logic in accordance with the data to be input (input data), which is cumbersome. If there is a form that is already being used, it is possible to automatically define fixed lines and characters based on that form, but even in this case, the user needs to set the form items and form output logic, which is cumbersome. In the second method, the user selects a desired form template from among prepared form templates, but this is cumbersome as the user must select a form template that matches the input data and then modify the form items and form output logic of the form template to match the input data. These two methods will be explained in more detail below.

[0015] In the first method (designing a report definition), the user first prepares input data, imagines the report layout they want to output, and defines the report layout, the items they want to output (report items), and the report output logic (creating (designing) a report definition). The user then checks the output image, sets the output destination, and outputs the report by matching the created report definition with the input data. In the second method (selecting and editing a report template), the user first prepares input data and selects a report template with the layout they want to output. The user then modifies the report definition of the report template to match the input data. The user then checks the output image, sets the output destination, and outputs the report by matching the edited report definition (report template) with the input data.

[0016] Previously, it was necessary to learn how to use a report definition tool, and then (in the first method) to imagine the report layout you wanted to output and create a report definition, or (in the second method) to select a report template that matched the input data and modify the report definition, which was cumbersome.

[0017] For this reason, in the system described in this embodiment, candidate form templates determined based on input data (input values) are presented to the user, that is, form templates suitable for the data to be input are presented to the user, making it possible for the user to output a form from the input data without having to design the form definition himself (editing operations are possible depending on the case).In other words, it is possible for the user to easily create (output) a form.

[0018] FIG. 1 is a conceptual diagram of a system configuration in this embodiment. As shown in FIG. 1, in the system described in this embodiment, a user can automatically design a form, create a form, and output the form by inputting input data, selecting an output image (form template), and issuing an output instruction. As shown in FIG. 1, in the system described in this embodiment, a form definition can be automatically generated based on input data. However, when implementing the technology according to the present disclosure, it is not necessary to solve all of the problems described above by adopting all of the configurations described below. When implementing the technology according to the present disclosure, it is possible to solve some of the problems described above by adopting some of the configurations described below.

[0019] <System configuration> FIG. 2 is a schematic diagram showing the configuration of a system according to this embodiment. The system according to this embodiment includes an information processing device 1. The information processing device 1 is a computer including a central processing unit (CPU) 11, a read only memory (ROM) 12, a random access memory (RAM) 13, a storage device 14 such as an electrically erasable and programmable read only memory (EEPROM) or a hard disk drive (HDD), an input device 15 such as a keyboard, a mouse, or a touch panel, an output device 16 such as a display, and a communication unit 17 such as a network interface card (NIC). However, the specific hardware configuration of the information processing device 1 can be omitted, replaced, or added as appropriate depending on the embodiment. In addition, the information processing device 1 is not limited to a device consisting of a single housing, and may be realized by multiple devices using so-called cloud or distributed computing technology, etc.

[0020] 3 is a diagram showing an outline of the functional configuration of the information processing device according to the present embodiment. The information processing device 1 includes a form definition storage unit 21, a data acquisition unit 22, a matching unit 23, a matching result storage unit 24, a presentation unit 25, a condition acceptance unit 26, a selection acceptance unit 27, an edit input acceptance unit 28, a form definition generation unit 29, a warning unit 30, an output setting unit 31, and a form output unit 32, by a program recorded in a storage device 14 being read into a RAM 13 and executed by a CPU 11, and each hardware included in the information processing device 1 is controlled. Note that in this embodiment and other embodiments described later, each function included in the information processing device 1 is executed by the CPU 11, which is a general-purpose processor, but some or all of these functions may be executed by one or more dedicated processors.

[0021] The form definition storage unit 21 stores a plurality of (multiple types of) form templates. Specifically, the form definition storage unit 21 stores template information for each form template stored (held). For example, the form definition storage unit 21 stores the template information for each form template in the form of a template list. The form definition storage unit 21 also stores the form definition for each form template. The form definition (form definition data) is a definition (definition information) related to the layout of a form and the operation when outputting a form. Note that in this embodiment, the "form template" means a form template file (form template, format) defined by the form definition (form definition data), but as long as it is a form file defined by the form definition, it may be one in which an input value is input (reflected) in a form item (field).

[0022] FIG. 4 is a diagram showing an example of a template list in this embodiment. As shown in FIG. 4, the template list stores template information (information about the template) such as the form name, form type (form type), paper size, paper orientation, the number of times used to create a form (number of uses), and form definition name for each form template. For example, as template information for a form template for an invoice, the form name "Invoice 1", the form type "Invoice", the paper size "A4", the paper orientation "Portrait", the number of uses "3", and the form definition name "AAA" are stored, and similar template information is stored for other form templates. As shown in FIG. 4, the form definition storage unit 21 stores template information including additional information other than the form name and form definition name (information such as the form type, paper size, paper orientation, and number of uses) for each form template such as an invoice, purchase order, and delivery note. In the example of Fig. 4, only four form templates, namely, Invoice 1, Order Form 1, Delivery Note 1, and Delivery Note 2, are illustrated as form templates, but the number and types of form templates stored in the form definition storage unit 21 are not limited to the example of Fig. 4. In addition, in Fig. 4, form name, form type, paper size, paper orientation, number of uses, and form definition name are illustrated as template information, but the template information may include information other than these pieces of information, and some of these pieces of information may be omitted.

[0023] FIG. 5 is a diagram showing an example of a form definition (form definition information) in this embodiment. As shown in FIG. 5, the form definition is a definition (definition information) that defines attributes (item attributes) for each item of a plurality of form items in a form template. In FIG. 5, postal code, address, company, product No. (product number), product name, quantity, unit price, and total are exemplified as form items. In addition, in FIG. 5, as item attributes, form item names (parameter names) that are item names indicating form items, and attributes related to the display mode of input values ​​for form items (hereinafter referred to as "display mode attributes") are exemplified. The display mode attributes include, for example, item type (item type), item length, X-coordinate position (position (X)), Y-coordinate position (position (Y)), font, color, and data definition (association of form items with input values, specification of calculation such as functions), etc., when displaying (writing) input values. FIG. 5 shows the form definition of invoice 1 included in the template list shown in FIG. 4. Specifically, in the report definition for Invoice 1 (the report definition with the report definition name "AAA"), for example, for the report item for placing (inputting) an input value related to the postal code, the following is defined: item name "Postal Code", item type "Number", item length "7", position (X) "3.50", position (Y) "9.25", font "MS Gothic", color "Black", data definition "None", etc., and similar definitions are set for the other report items.

[0024] In this way, the form definition storage unit 21 stores, for each form template, a form definition that defines item attributes (form item name and display mode attribute) for each form item of the form template. Note that, in FIG. 5, postal code, address, company, product No. (product number), product name, quantity, unit price, and total are exemplified as form items, but the form items may be any items. Also, in FIG. 5, item type, item length, position (X), position (Y), font, color, and data definition are exemplified as display mode attributes, but the display mode attributes may include information other than these information, and some of these information may be omitted. Also, although detailed explanation is omitted in this embodiment, the form definition storage unit 21 stores a definition (definition information) that defines basic skeleton information of a form including a basic layout of a form such as a ruled line, in addition to the form definition that defines attribute information of the form items shown in FIG. 5.

[0025] Here, in the example of the form definition in FIG. 5, for convenience, only the items (items in which an input value exists) for arranging (inputting, writing) the input data (input value) are illustrated, but in the form definition in this embodiment, the attributes of the items for arranging (writing) a fixed character string (for example, text such as "invoice", "billing amount", "we will bill you") and the attributes of the items for arranging (inputting) the input data (input value) are defined. However, in the case of an embodiment in which only a form template suitable for the input data is presented to the user and the input value is not arranged according to the display mode attribute, it is sufficient that the form definition defines at least the form item name of the item in which the input value exists, which is the object of the matching by the matching unit 23. The "form item" and "form item name" used in this embodiment and the embodiments described later refer to "items for arranging input values" and "form item names of items for arranging input values", respectively. Note that the template information and form definition are not limited to the data formats shown in FIG. 4 and FIG. 5, respectively, and may be other data formats as long as the above-mentioned various information is stored or defined.

[0026] Furthermore, the form definition storage unit 21 stores, in addition to the form definitions for each of the multiple form templates, a form definition generated by a form definition generation unit 29, which will be described later. At this time, the form definition storage unit 21 may add information about the form (template) defined by the generated form definition to a template list (see FIG. 4).

[0027] The data acquisition unit 22 acquires input data to be placed on the form template (superimposed on the form definition). The input data is data to be placed according to the form definition and output as a form. In this embodiment, the data acquisition unit 22 acquires a data file with item name labels as input data. The data file with item name labels is a data file in which a label row (item name label row) in which a corresponding item name is written is added to data (input value) to be placed on the form template. In other words, the data acquisition unit 22 acquires a plurality of input values ​​to be placed on the form template and a plurality of labels which are a plurality of item names respectively corresponding to these plurality of input values. Note that, although the present embodiment illustrates an example in which a plurality of labels are acquired, the number of acquired labels may be one. In addition, the input value may be any type of data, such as characters, numbers, symbols, etc., as long as it is data to be input (written) on the form.

[0028] FIG. 6 is a diagram showing an example of input data (data file with item name labels) in this embodiment. As shown in FIG. 6, the input data includes labels (item name label lines) and input values ​​(data to be placed in the form template (written on the form)). For example, as shown in FIG. 6, the input data includes, as labels, postal code, address, company name, product code, product name, quantity, unit price, etc. As shown in FIG. 6, the input values ​​"000-0000", "Yokohama City, Kanagawa Prefecture", "Form Co., Ltd.", "AB0001", "Air Conditioner", "10", and "200000" are included in a form corresponding to each of a plurality of labels, and similarly, input values ​​for the other three products are also included. In FIG. 6, the input values ​​for the postal code, address, and company name are left blank in the lines for the other three products, but the same contents as those in the first line (line for air conditioner) may be stored for these labels (postal code, address, and company name). Furthermore, the input data is not limited to the data format shown in FIG. 6, and may be in another data format as long as it contains the input value and the corresponding item name (label).

[0029] FIG. 7 is an example of an input data selection screen in this embodiment. When a user issues an instruction to create a form, the presentation unit 25, which will be described later, displays an input data selection screen as shown in FIG. 7. On the input data selection screen, the user can select (input) input data. For example, as shown in FIG. 7, the user can select (input) input data by dragging and dropping the desired input data into the dotted frame, or by pressing a selection button and selecting the desired input data from a corresponding folder. In this way, when the user inputs input data, the data acquisition unit 22 acquires the input data. The input data selection screen may be displayed by a functional unit different from the presentation unit 25. The input data selection screen is not limited to the example of FIG. 7, and may be a screen having another configuration as long as it is a screen that allows input data to be selected.

[0030] In this embodiment, the data acquisition unit 22 acquires a data file with item name labels (input values ​​and labels), but in an embodiment in which only a form template suitable for the input data is presented to the user and the input values ​​are not arranged according to the display mode attributes, it is sufficient to acquire at least the labels (multiple labels). Also, in Fig. 6, postal code, address, company name, product code, product name, quantity, and unit price are exemplified as labels, but the user can input (select) any item name as a label.

[0031] The matching unit 23 matches a plurality of form item names and a plurality of labels corresponding to a plurality of form items (items for arranging input values) in a form template, thereby associating form item names and labels that match or are similar to each other. The matching unit 23 matches (one-to-one matches) and associates form item names and labels for each form template stored in the form definition storage unit 21. Note that the form items (form item names) to be matched (associated) with labels are items for arranging input values. For this reason, the matching unit 23 may specify (discriminate) items in the form definition whose values ​​(displays) change depending on input values, such as "text", "numbers", "radio buttons", "checkboxes", and "barcodes", as the form items to be matched. Then, when the matching unit 23 specifies the form items to be matched, the matching unit 23 performs matching between the item names and labels of the specified form items. The item types of items that are not subject to matching (items that do not require input data) are, for example, "fixed literal," "date," and "time." As will be described later, the form templates that are the subject of matching between the form item names and labels may be all or some of the form templates stored in the form definition storage unit 21. For example, only form templates that satisfy certain conditions may be subject to matching.

[0032] The matching unit 23 associates form item names and labels that match or are similar to each other by using approximate dictionary matching technology and / or approximate string matching technology. By using approximate dictionary matching technology and / or approximate string matching technology, it becomes possible to search for form item names that match or are similar (synonyms) to the label of the input data, even if there is a variation in notation, such as when the label of the input data is "company name" but the form item name is "company" or "company name". Thus, the matching unit 23 associates form item names that match or are similar to a label with the label.

[0033] The approximate dictionary matching technique is a technique for matching two strings using a dictionary that includes a string (reference word) that is a keyword and a string that is similar to the keyword. In addition to the key string (reference word), a dictionary used in the approximate dictionary matching technique (hereinafter referred to as an "approximate dictionary") includes, for example, a string in which a character (e.g., one character) of the reference word is deleted, a string in which a character (e.g., one character) is inserted into the reference word, and a string in which a character (e.g., one character) of the reference word is replaced with another character. When using this technique, for example, an arbitrary approximate dictionary (approximate dictionary matching word string data) is stored in advance in a dictionary data storage unit (not shown), and the matching unit 23 matches the approximate dictionary with the label and the form item name to obtain a matching result (e.g., original keyword (reference word), match type (exact match, replacement, insertion, deletion), etc.) for each label and each form item name. As a result, the matching unit 23 can associate the label that matches the original keyword with the form item name. As another example of using the approximate dictionary matching technique, when input data (labels) are acquired by the data acquisition unit 22, the matching unit 23 generates an approximate dictionary using the labels as reference words, and then matches the generated approximate dictionary with the form item names to obtain matching results (e.g., original keywords (labels (reference words)), matching types, etc.) for each form item name. As a result, the matching unit 23 can associate the labels, which are original keywords indicated in the matching results for the form item names, with the form item names.

[0034] The approximate string matching technique is a technique for detecting (searching) a string similar to a target string from a text. For example, a string whose edit distance is within a predetermined distance (k) is detected as a similar string. When the approximate string matching technique is used, the matching unit 23 can, for example, associate a form item name, which is a string whose edit distance from the label is within a predetermined edit distance (for example, edit distance 2), with the label. Note that the approximate dictionary matching technique and the approximate string matching technique are not limited to the above description, and various approximate dictionary matching techniques and approximate string matching techniques may be used to match a label with a form item name. In addition, as a method (matching method) for searching for a form item name similar to a label (a label similar to a form item name), any method for searching for a similar string may be used in addition to the method using the approximate dictionary matching technique or the approximate string matching technique.

[0035] After performing the above-mentioned matching, the matching unit 23 generates data (hereinafter referred to as "matching result data") indicating the result of matching between the form item name and the label for each form template (form definition). In this embodiment, intermediate data and matching data are exemplified as the matching result data.

[0036] FIG. 8 is a diagram showing an example of intermediate data in this embodiment. As shown in FIG. 8, the intermediate data includes, for each form template (form definition), template information such as form definition name, form type (form type), paper size, paper orientation, and number of times used to create a form (number of uses), as well as information indicating the association result, such as whether or not there is association, whether or not there is an exact match, the association ratio, and the associated data name. "Whether or not there is association" indicates whether or not all the labels included in the input data are associated with any form item name (a circle mark is displayed if all the labels are associated, and a cross mark is displayed if there is a label (form item name) that is not associated). "Whether or not there is an exact match" indicates whether or not all the form item names and labels match (a circle mark is displayed if all the labels match, and a cross mark is displayed if there is a combination of a label and a form item name that does not match each other (similar) in the association, or if there is a label (form item name) that is not associated). "Matching ratio" indicates the ratio of labels (number of labels) that are matched with form item names to all labels (number of labels) included in the input data. "Matching data name" indicates the name of the data (matching data) that indicates how the input data (labels) and the form definition (form item names) are matched.

[0037] FIG. 8 illustrates intermediate data for the form template (form definition) included in the template list shown in FIG. 4. For example, the intermediate data stores, as information about the form template for an invoice, a form definition name "AAA", a form type "invoice", a paper size "A4", a paper orientation "portrait", a usage count "3", whether or not there is correspondence "marked", whether or not there is an exact match "marked", a correspondence ratio "100(%)", and a correspondence data name "agl3ntk", and similarly stores information indicating template information and correspondence results for other form templates. Note that the information included in the intermediate data is not limited to the information shown in FIG. 8. Therefore, for example, the template information and the information indicating the correspondence results are not limited to the information described above, and the template information and the information indicating the correspondence results may include information other than the information described above, and some of the information described above may be omitted. For example, the ratio of form item names (number of form item names) associated with labels to all form item names (number of form item names) in the form template may be used as the "correspondence ratio".

[0038] FIG. 9 is a diagram showing an example of the correspondence data in this embodiment. The correspondence data includes information showing how input data (labels) and form definitions (form item names) are associated with each other. In the example of the correspondence data in FIG. 9, the labels and form item names are arranged so that the associated labels and form item names are arranged in the same order. That is, the labels and form item names are arranged in association with each other. In the correspondence data shown in FIG. 9, the labels are arranged in the order of "zip code", "address", "company name", "product code", "product name", "quantity", and "unit price", and the corresponding labels "zip code", "address", "company", "(blank)", "product name", "quantity", and "unit price" are arranged in accordance with the label arrangement order. Note that the form item name corresponding to the label "product code" is blank (indicated by a hyphen), which means that there is no form item name associated with the label "product code". Also, as shown in Figure 9, the label corresponding to the report item name "Product No." is blank (indicated by a hyphen), which means that there was no label associated with the report item name "Product No."

[0039] In this embodiment, intermediate data (FIG. 8) and association data (FIG. 9) are exemplified as the association result data, but the data format of the association result data is not limited to the data formats in FIGS. 8 and 9. For example, one piece of data (table, etc.) may contain the information shown in FIGS. 8 and 9. In addition, in this embodiment, approximate dictionary matching and / or approximate string matching is performed taking into account spelling variations, but if spelling variations are not taken into account, association may be performed only when the label and the form item name are a perfect match.

[0040] The matching result storage unit 24 stores the matching result (matching result data) for each form template. The matching result storage unit 24 stores the matching result data (intermediate data, matching data) generated by the matching unit 23.

[0041] The presentation unit 25 presents to the user, among the multiple form templates stored in the form definition storage unit 21, form templates for which the result of the matching by the matching unit 23 meets a predetermined condition as candidate form templates (form templates suitable for input data) for creating a form in which multiple input values ​​are written. In this embodiment, a condition regarding the number of labels that can be associated with form item names (synonymous with the number of form item names that can be associated with labels) is exemplified as the predetermined condition. For example, the number of labels that can be associated (matched) with form item names, the ratio of labels that can be associated (matched) with form item names (the ratio of the number of labels that can be matched to the total number of labels), or the ratio of form item names that can be associated (matched) with labels (the ratio of the number of form item names that can be matched to the total number of form item names in the form template) is equal to or exceeds a predetermined threshold, and the form templates that meet the predetermined condition are presented to the user as candidate form templates. Also, for example, a predetermined number (e.g., 10) of form templates selected from the highest number of labels that can be associated with form item names, the highest percentage of labels that can be associated with form item names, or the highest percentage of form item names that can be associated with labels, or a form template that falls within a predetermined rank when ranked in descending order of the number of labels or the highest percentage, etc. are set as predetermined conditions, and form templates that meet the predetermined conditions are presented to the user as candidate form templates. In this way, it is possible to narrow down the templates to be presented to the user from a large number of templates based on the labels of the input data.

[0042] In addition, the "condition regarding the number of labels (number of form item names) that have been associated" is not limited to the above-mentioned conditions, and any condition can be set as long as it uses the number of labels (number of form item names) that have been associated. In addition, the predetermined condition is not limited to the condition regarding the number of labels (number of form item names) that have been associated, and may be other conditions. For example, the predetermined condition may be that all labels are associated by matching (perfectly matching) with any form item name. In this way, by setting the predetermined condition as a condition that presents a form template with a better result of the association between the labels and the form item names, it is possible to present a form template that is suitable (more suitable) for the input data to the user. In addition, in this embodiment, a case is illustrated in which a plurality of form templates whose association results meet the predetermined condition are presented as candidate form templates, but the number of candidate form templates may be one. In addition, in this embodiment, an example of a method of presenting candidate report templates to a user is shown in which the candidate report templates are displayed on the screen (where the presentation unit 25 functions as a screen input / output control unit); however, the presentation method is not limited to displaying on the screen, and a method of transmitting the candidate report template to a terminal used by the user, etc. may also be adopted.

[0043] Fig. 10 is a diagram showing an example of a form selection screen in this embodiment. The form selection screen (a screen for selecting a form) is a screen that is displayed when input data is selected (input) on the input data selection screen. On the form selection screen shown in Fig. 10, a plurality of candidate form templates (thumbnails) are displayed side by side on the left pane. Furthermore, when a user selects a form that he or she wishes to check from among the plurality of candidate form templates (on the left pane), the selected candidate form template is displayed on the right pane.

[0044] As shown in FIG. 10 (left pane), the presentation unit 25 presents (displays) each candidate form template together with characters and / or marks (circles, check marks, exclamation marks, etc.) indicating the result of the association (whether the association was made or not) between the multiple labels and the multiple form item names in the candidate form template. For example, if all the labels are associated by matching (perfectly matching) with any form item name, a circle (circle symbol) is displayed together with the candidate form template (see FIG. 10). Also, for example, if there is at least one label among all the labels that is associated with the form item name by being similar to the form item name, a check mark (check symbol) is displayed together with the candidate form template (see FIG. 10). Also, for example, if there is at least one label or form item name that has not been associated, a warning mark (for example, an exclamation mark) is displayed together with the candidate form template (see FIG. 10). In this way, if there is an excess or deficiency in the input data, information to warn the user is displayed. However, the characters and / or marks indicating the result of the association are not limited to these symbols (marks), and any information (characters, symbols, marks, etc.) may be used. Below, an example of a method for displaying candidate form templates by the presentation unit 25 will be described.

[0045] In this embodiment, the presenting unit 25 first arranges the candidate form templates in order according to the number of labels associated with the form item names (in order of high association ratio). However, when there are multiple candidate form templates with the same association ratio, the form templates in which all the labels and form item names match (form templates marked with the above-mentioned circle) are arranged first (priority). Then, the presenting unit 25 selects a predetermined number (for example, 10) from the arranged form templates in ascending order (from the top) and displays the selected predetermined number of form templates in the left pane. For example, referring to FIG. 8, the form template corresponding to the form definition AAA is displayed at the top (top). Note that the presenting unit 25 may display (present) multiple candidate form templates in order according to the number of labels associated with the form item names by matching (completely matching) with the form item names. In addition, the display order of the candidate form templates may be other than the above-mentioned display order.

[0046] When the "narrowing conditions" and "display order" on the form selection screen in Fig. 10 are selected (changed) by the user, the display in the left pane (thumbnails of form templates) is updated. For example, when the condition receiving unit 26 described later receives a designation of form template narrowing conditions, the presenting unit 25 displays (presents) in the left pane as candidate form templates those form templates whose association results meet a predetermined condition and whose template information and / or information indicating the association results meet the form template narrowing conditions, among the multiple form templates stored in the form definition storage unit 21. In addition, when the condition receiving unit 26 described later receives a change in the display order, the presenting unit 25 changes the display order of the candidate form templates already displayed in the left pane according to the display order changed by the user.

[0047] The right pane of the form selection screen displays the candidate form template selected by the user in the left pane of the form selection screen. The right pane of the form selection screen displays the selected candidate form template in a state where input data (input value) is arranged in the selected candidate form template. That is, the right pane of the form selection screen displays an output image of the form when the selected candidate form template is used. More specifically, the presenting unit 25 displays (presents) the candidate form template in a state where an input value corresponding to a label associated with any one of a plurality of form item names for the candidate form template among a plurality of labels is arranged in the candidate form template according to an attribute related to the display mode corresponding to the form item name associated with the label of the input value. For example, assume that the form template indicated by the form name "Invoice 1" in FIG. 4 is selected by the user. In addition, assume that the form item name "zip code" in the form definition (form definition name "AAA") for the form name "Invoice 1" is associated with the label "zip code". At this time, the presentation unit 25 places the input value "000-0000" corresponding to the label "Postal Code" (see Figure 6) in the report template according to the attributes related to the display mode corresponding to the report item name "Postal Code" associated with the label "Postal Code" (attributes for "Postal Code" in Figure 5 (attributes such as item type "number", item length "7", etc.)), and then displays the report template in the right pane. This allows the user to check in advance the image of the report (output image) that will be output according to the report template.

[0048] As a method for placing input values ​​in a candidate report template (displaying the candidate report template with the input values ​​placed), a method for inputting (placing) the input values ​​in a candidate report template that has been temporarily copied for display (a method for inputting and displaying) or a method for displaying a report template and placing (overlaying) the input values ​​on top of it in a layer may be used.

[0049] In this embodiment, when a selection input for a candidate form template is accepted (selected in the left pane), the selected candidate form template is displayed (presented) in the right pane with input values ​​arranged. However, this is not limited to this example, and all candidate form templates may be displayed in the left pane with input values ​​arranged in the same manner as above. In addition, the name of the selected form template (form name) may be displayed in the right pane as shown in FIG. 10.

[0050] When the user wants to output a form with the output image displayed in the right pane of the form selection screen shown in FIG. 10, the user presses the "Output" button in the right pane. This causes the form to be output based on the selected form template. If the candidate form template selected when the "Output" button is pressed is a form template with a circle mark in the left pane, the form is output as is by the form output unit 32. On the other hand, if the candidate form template selected when the "Output" button is pressed is a form template with a check mark or warning mark in the left pane, the warning unit 30 issues a warning as to whether or not it is OK to output as is (in the current state). For example, the warning unit 30 displays a dialog (dialog screen) for issuing a warning as to whether or not it is OK to output as is.

[0051] FIG. 11 is a diagram showing an example of a dialog (in the case of similarity) in this embodiment. When the "Output" button is pressed, if a check mark is added to the selected candidate form template (if at least one label exists among all labels that is similar to the form item name and is associated with the form item name), a dialog (screen) such as "The selected form has one or more items associated with synonyms. Do you want to output it as is?" is displayed as shown in FIG. 11. When the user presses the "Output" button on this dialog, the form is output with the input values ​​of the associated form items (labels) entered (arranged). When the user presses the "Cancel" button on this dialog, the screen returns to the form selection screen.

[0052] Fig. 12 is a diagram showing an example of a dialog (when no correspondence is present) in this embodiment. When the "Output" button is pressed and a warning mark is attached to the selected candidate form template (when there is at least one unmatched label or form item name), a dialog (screen) such as "One or more items are not matched in the selected form. Do you want to output as is?" is displayed as shown in Fig. 12. When the user presses the "Output" button on this dialog, the form is output with only the input values ​​of the matched form items (labels) entered (placed). When the user presses the "Cancel" button on this dialog, the screen returns to the form selection screen.

[0053] When the "Edit" button in the right pane of the form selection screen is pressed, a screen (form editing screen) for editing the selected candidate form template (a copy of the form definition of the selected candidate form template) is displayed. On this screen, the user can confirm or modify the correspondence between the label and the form item name. On the form editing screen, it is possible to make (edit) the correspondence between the selected candidate form template (form item name) and the label of the input data.

[0054] FIG. 13 is a diagram showing an example of a form editing screen in this embodiment. As shown in FIG. 13, the left pane of the form editing screen displays the selected candidate form template with the input value arranged (reflected). At this time, a frame (for example, a red frame) is displayed at the location of the form item so that the user can easily identify (visually recognize). Also, the location (location on the left pane) corresponding to the form item selected by the user in the right pane is displayed with shading or the like, for example, as shown in the location of "〒000-0000" in FIG. 13 so that the user can more easily identify (visually recognize). Note that the left pane may display the name of the form template being edited (form name) as shown in FIG. 13. Also, as shown in FIG. 13, the right pane of the form editing screen displays the correspondence between the form item name and the label. For example, as shown in FIG. 13, form item names are arranged on the left side, and corresponding labels are arranged on the right side.

[0055] When the user wants to edit (change, delete, add) the correspondence between the form item name and the label, the user performs an editing input (editing operation) in the right pane. For example, assume that the form item name and the label are similar to each other and are associated by the collation unit 23, but the association is not intended by the user (different association) (when the above check mark is displayed). In this case, the user moves the label (label card) next to the form item name to which the user wants to associate the label so that the association is as intended by the user (so that the label is associated with the form item name to which the user wants to associate the label), and changes the association. For example, if the form item name to which the user wants to associate the label is a form item name that is not associated with any label, since no label is placed next to the form item name in the right pane, the label (label card) to which the user wants to associate the label is placed next to this form item name. Also, for example, if the report item name that you want to associate with the label is associated with another label, the other label will be placed next to the report item name in the right pane, so instead of the other label, you place the label you want to associate (the label card) next to the report item name.

[0056] Also, for example, a case is assumed where there is a label that has not been associated with a form item name (where the warning mark is displayed). In this case, the user can perform one of three main operations. The first operation is an operation to set the input value corresponding to the unassociated label as data that is not to be output to the form. For example, the user can drag and drop the label of the input value that is not desired to be output to the form (unassociated label) to "input data not to be output" in the right pane to prevent the input value from being output to the form. Note that the label that has not been associated with the form item name may be automatically displayed in the "input data not to be output" pane. Note that the "input data not to be output" pane displays, for example, a label that could not be automatically associated, a label associated with the form item when the form item is deleted by pressing a cross, a label of the input value that the user does not want to be output to the form, and the like. The second operation is an operation to add a new item (form item) corresponding to the unassociated label to the form definition. If the user wishes to add a correspondence, the user can add a new correspondence by pressing the plus mark (button) on the right pane and selecting the form item name and label to which the correspondence is desired. As a third operation, as in the case where correspondence is due to similarity described above, the user changes the correspondence by moving the label (label card) next to the form item name to which the user wishes to correspond so that the correspondence is as intended by the user, so that the label that could not be corresponded is associated with the form item name to which the user wishes to correspond.

[0057] Also, for example, assume that there is a form item name that has not been associated with a label (when the above warning mark is displayed). In this case, the user can perform one of two main operations. The first operation is an operation to delete an item (form item) of the form definition. The user can delete this form item by, for example, pressing a cross (button) located to the right of the form item name that has not been associated. The second operation is an operation to input a label (input data) that corresponds to the form item name that has not been associated. For example, when the user wants to associate a form item name that has not been associated with a label, such as the form item name "Product No." in FIG. 13, the user can associate the desired label by dragging and dropping (placing) it next to the form item name that the user wants to associate. For example, in the example of FIG. 13, the label "Product Code" in the pane of input data that is not to be output can be placed next to the form item name "Product No." to associate them. Note that the input data may be associated with the form item name after adding an input value and a label corresponding to the form item name. In this way, on the form editing screen, any editing operation related to changing, adding, or deleting associations (including deleting items and selecting input values ​​not to be output) can be performed.

[0058] When the above-mentioned editing input (editing operation) is performed in the right pane, the display of the candidate form template in the left pane is updated as associated in the right pane. That is, when the editing input by the user is accepted by the editing input accepting unit 28, the presenting unit 25 presents the candidate form template in a state in which the input value corresponding to the label associated with the form item name in the edited content of the editing input is arranged in the candidate form template according to the attribute related to the display mode corresponding to the form item name associated with the label of the input value. For example, in the state shown in FIG. 13, the form item name "Product No." is not associated with any label, so that in the candidate form template displayed in the left pane of the form editing screen, an input value is not arranged (displayed) in the place where the product number is to be written. In this state, when the user associates the label "Product Code" with the form item name "Product No.", the input value of the label "Product Code", such as "AB0001" or "CD0010" (see FIG. 6) is arranged (displayed) in the place where the product number is to be written in the left pane.

[0059] When the user completes the desired correspondence or confirms that there is no problem with the correspondence, the user presses the "Output" button or the "Save" button in the left pane of the form editing screen shown in FIG. 13. When the "Output" button is pressed, a form is output based on the candidate form template edited or confirmed on the form editing screen. When the "Save" button is pressed, the edited content (edited form definition) on the form editing screen is saved (stored). This allows other users other than the user who performed the editing operation to use the edited form template (form definition). The method of editing (creating) the form definition will be described in detail later in the explanation of the form definition generating unit 29. When the "Cancel" button in the left pane of the form editing screen is pressed, the screen returns (transitions) to the form selection screen.

[0060] In the above, an example is given of a case where the form selection screen is displayed by inputting input data on the input data selection screen. However, the method of inputting input data and the method of displaying the form selection screen are not limited to this example, and it is also possible to input (extract) input data on the SaaS screen and transition (display) to the form selection screen from the SaaS screen by linking with SaaS (Software as a Service) such as SFA (Sales Force Automation).

[0061] FIG. 14 is a diagram showing an example of a business SaaS screen in this embodiment. For example, in the business SaaS screen of FIG. 14, when input data is input, the user may press the "Report Output" button to display (transition to) a report selection screen (see FIG. 10). In this case, when the "Report Output" button is pressed, the data acquisition unit 22 may acquire (extract) the input data from the SaaS. Note that each screen shown in FIG. 10 to FIG. 14 is an example of various screens, and the various screens are not limited to the screen configurations shown in FIG. 10 to FIG. 14, and may be screens having other configurations.

[0062] The condition receiving unit 26 receives the designation of the form template narrowing down condition. For example, when a form (candidate form template) suited to the purpose is displayed on the form selection screen, the user selects the candidate form template and outputs the form. On the other hand, when the user determines that a candidate form template suited to the purpose is not displayed on the form selection screen, the user designates (inputs) a condition related to at least one of the template information (form type, paper orientation, etc.) and the information showing the association result (number of times used, association ratio, presence or absence of association, etc.) as the form template narrowing down condition. For example, the user designates "form type: invoice" as the form template narrowing down condition in the portion designating the "narrowing down condition" on the form selection screen shown in FIG. 10. As a result, the condition receiving unit 26 receives the designation of the form template narrowing down condition. In addition, the condition receiving unit 26 receives an input for changing the display order of the candidate form templates. For example, when the user changes the display order from "descending order of match rate (highest correspondence rate)" to "ascending order of match rate" or the like in the area for changing the "display order" on the report selection screen shown in Figure 10, the condition receiving unit 26 receives this input for changing the display order.

[0063] The selection receiving unit 27 receives a selection input for selecting a candidate form template as a form template for creating a form on which multiple input values ​​are entered. For example, when a user selects a candidate form template from multiple candidate form templates displayed in the left pane of the form selection screen shown in Fig. 10, the selection receiving unit 27 receives this selection input. In addition, the selection receiving unit 27 receives a selection (press) by the user of a "Save" button, an "Output" button, a "Cancel" button, an "Edit" button, etc.

[0064] The edit input receiving unit 28 receives edit input from the user regarding the correspondence between the form item names and the labels in the candidate form template (changing the correspondence, deleting the correspondence, adding the correspondence). For example, when the user performs edit input (edit operation) of the correspondence in the right pane of the form edit screen shown in Fig. 13 as described above, the edit input receiving unit 28 receives the edit input.

[0065] The form definition generating unit (form definition control unit) 29 generates (edits) a form definition. When there is a combination of a label and a form item name that does not match (completely match) among the combinations of the label and the form item name associated by the collation unit 23 or by the user on the form editing screen, the form definition generating unit 29 generates a new form definition. First, when there is a combination of a label and a form item name that does not match among the combinations of the label and the form item name associated by the result of collation by the collation unit 23 or the contents of the edited input by the user in the selected candidate form template, the form definition generating unit 29 copies the form definition for the candidate form template. Then, the form definition generating unit 29 copies the form definition and changes the form item name related to the combination of the label and the form item name that does not match to the label associated with the form item name, thereby generating a new form definition (editing (modifying) the form definition).

[0066] For example, assume that the user selects a form template with a form name of "Invoice 1". In this case, the form item name "Company" and the label "Company Name" of the form definition "AAA" are associated by the collation unit 23. In this case, since the associated form item name "Company" and the label "Company Name" do not match (completely match), the form definition generation unit 29 copies the form definition "AAA" and changes (replaces) the form item name "Company" in the copied form definition to "Company Name". If the form template has other combinations in which the associated form item name and label do not match, the form item name is replaced with the label in the same manner, and when all replacements are completed, a new form definition is generated. This makes it possible to customize the form definition based on the label of the input data.

[0067] In this embodiment, when the user instructs to output a form or to save a form definition reflecting the result of the association by the collation unit 23 and / or the user, a new form definition is generated by the above-mentioned method. For example, when the user presses the "Output" button on the form selection screen (see FIG. 10), the "Output" button on the dialogue screen (see FIG. 11 and FIG. 12), or the "Output" button or the "Save" button on the form editing screen (see FIG. 13), and when there is a combination in which the label and the form item name do not match, a new form definition is generated. For example, when the user changes the association on the form editing screen and then presses the "Output" button or the "Save" button, a form definition reflecting the changed association is newly generated by the above-mentioned method. However, the timing of generating a new form definition is not limited to the above-mentioned timing (case). Therefore, for example, a form definition may be generated when the user selects a candidate form template from the left pane on the form selection screen (see FIG. 10). The newly generated form definition is stored in the form definition storage unit 21, and at that time, the form definition storage unit 21 may register (store) this newly generated form definition as a form definition of a new form template. This makes it possible to use this newly generated form definition (form template) as a candidate for the next and subsequent form definitions (form templates).

[0068] When a form is output, the warning unit 30 issues a warning to the user according to the result of the association. As described above, when there is at least one label that is associated with a form item name due to similarity with the form item name among all the labels in the form template to be output (when a check mark is displayed), or when there is at least one label (or form item name) that has not been associated (when a warning mark is displayed), the warning unit 30 issues a warning as to whether or not it is OK to output the form as is (current association state). For example, as described above, the warning unit 30 displays a dialog for issuing a warning as to whether or not it is OK to output the form as is (see FIG. 11 and FIG. 12).

[0069] The output setting unit 31 accepts designation of the output destination and output format (printer (printing), PDF output, Excel output, etc.) from the user, and performs output settings (for example, printer settings (printing settings), PDF output destination settings, Excel output destination settings, etc.) so that the report is output to the specified output destination (in the specified output format).

[0070] The form output unit 32 creates and outputs a form (form data) by combining the form definition and the input data. It is assumed that the "Output" button is pressed when (in a state) all the labels and form item names match and are associated in the candidate form template selected by the user. In this case, the form output unit 32 creates and outputs a form in which an input value is described based on the form definition for the selected candidate form template and the input data. Specifically, the form output unit 32 creates and outputs a form in which an input value corresponding to a label associated with a form item name is input (arranged) according to an attribute (attribute defined in the form definition) related to a display mode corresponding to the form item name associated with the label of the input value. The form output unit 32 creates a form based on the definition (definition information) that defines the above-mentioned skeleton information in addition to the form definition (definition information) shown in FIG. 5. Also, assume that the "Output" button is pressed when (in) a combination of labels and form item names associated with each other in a candidate form template selected by the user does not match (completely match) with the label and form item name. In this case, the form output unit 32 outputs a form (paper medium or data) on which input values ​​are described based on a form definition (form definition generated by the form definition generation unit 29) newly generated by duplicating the form definition for the selected candidate form template and the input data. In this case, too, a form created in the same manner as in the above case is output. The form output unit 32 outputs the form in the output format set to the output destination set by the output setting unit 31.

[0071] <Processing flow> Note that the specific contents and processing order of the processes described below are an example for implementing the present disclosure. The specific contents and processing order may be appropriately selected depending on the embodiment of the present disclosure.

[0072] 15 and 16 are flowcharts showing an outline of the flow of the form output process according to this embodiment. The process shown in this flowchart is started when the user inputs input data into the information processing device 1. For example, the process is started when the user selects input data on the input data selection screen shown in FIG.

[0073] In step S101, the label and form item name of the input data are read. The collation unit 23 reads the label included in the input data selected by the user and the form item name of each of the multiple types of form templates stored in the form definition storage unit 21. After that, the process proceeds to step S102.

[0074] In step S102, the label is matched with the form item name. The matching unit 23 matches, for each form template, the label (plurality of labels) included in the input data read in step S101 with the form item name (plurality of form item names) of the form template. At this time, the matching unit 23 searches for a form item name similar to the label of the input data by using an approximate dictionary matching technique and / or an approximate string matching technique. Then, the matching unit 23 matches the label with the form item name to associate the label and the form item name that match or are similar to each other. As a result, association result data (intermediate data, association data) is generated, and the association result data is stored by the matching result storage unit 24. Thereafter, the process proceeds to step S103.

[0075] In step S103, the candidate form templates are displayed. The presentation unit 25 presents (displays on the screen) to the user, from among the multiple form templates, form templates for which the result of the association in step S102 meets a predetermined condition, as candidate form templates for creating a form in which multiple input values ​​are entered. For example, the form selection screen shown in FIG. 10 is displayed, and one or more candidate form templates are displayed in the left pane of the form selection screen. Details of the display process of the candidate form templates will be described later with reference to FIG. 17. After that, the process proceeds to step S104.

[0076] In step S104, it is determined whether the user has selected a candidate form template or added a condition. If the user has selected one candidate form template from the candidate form templates displayed in step S103, that is, if the selection receiving unit 27 has received a selection input to select a candidate form template as a form template for creating a form in which input values ​​are to be entered ("select" in step S104), the process proceeds to step S106. On the other hand, if a form template narrowing-down condition has been added, that is, if the condition receiving unit 26 has received a designation of a form template narrowing-down condition or a change in the display order ("add condition" in step S104), the process proceeds to step S105.

[0077] In step S105, the form templates that meet the form template narrowing down conditions are narrowed down and displayed. When the condition receiving unit 26 receives the designation of the form template narrowing down conditions in step S104, the presentation unit 25 presents (displays on the screen) to the user as candidate form templates the form templates that have template information and / or information indicating the association result that meets the narrowing down conditions and whose association result meets a predetermined condition. Also, when the condition receiving unit 26 receives a change in the display order in step S104, the presentation unit 25 displays the candidate form templates in accordance with the changed display order. After that, the process returns to step S104.

[0078] In step S106, the selected candidate form template is displayed. The presentation unit 25 presents (displays on the screen) the candidate form template selected in step S104 to the user with an input value arranged in the candidate form template. First, the presentation unit 25 reads the input data input (selected) by the user and the association result data generated in step S102. Then, the presentation unit 25 displays the candidate form template selected in step S104 with a plurality of input values ​​arranged in the candidate form template based on the form definition (see FIG. 5), the association data (FIG. 9), and the input data of the candidate form template. Specifically, the presentation unit 25 arranges an input value (e.g., Form Co., Ltd.) for a label (e.g., company name) associated with a form item name (e.g., company) in the association data according to the attributes (item length, position, etc.) of the form item indicated by the form item name (e.g., company) in the form definition. After that, the process proceeds to step S107.

[0079] In step S107, it is determined whether the "Output" button or the "Edit" button has been pressed by the user. The CPU 11 (selection receiving unit 27) determines whether the "Output" button or the "Edit" button has been pressed by the user on the form selection screen (see FIG. 10), that is, whether the user wishes to output a form or edit a form template (form definition). If it is determined that the "Output" button has been pressed ("Output" in step S107), the process proceeds to step S112. On the other hand, if it is determined that the "Edit" button has been pressed ("Edit" in step S107), the process proceeds to step S108.

[0080] In step S108, the form editing screen is displayed and editing input is accepted. The presentation unit 25 displays the form editing screen (see FIG. 13). When the user performs editing input (change operation of the association) regarding the association between the label and the form item name, the editing input accepting unit 28 accepts the editing input. Then, the process proceeds to step S109.

[0081] In step S109, it is determined which of the "Output", "Save" and "Cancel" buttons has been pressed by the user. The CPU 11 (selection receiving unit 27) determines which of the "Output", "Save" and "Cancel" buttons has been pressed by the user on the form editing screen (see FIG. 13), that is, which operation the user desires to perform among outputting the form, saving the edited form template and cancelling the association editing operation. If it is determined that the "Output" button has been pressed ("Output" in step S109), the process proceeds to step S112. If it is determined that the "Save" button has been pressed ("Save" in step S109), the process proceeds to step S110. If it is determined that the "Cancel" button has been pressed ("Cancel" in step S109), the process returns to step S106.

[0082] In step S110, a form definition is generated (modified). The form definition generating unit 29 copies the form definition of the candidate form template selected in step S104, and replaces (changes) the form item names in the copied form definition with the associated labels, thereby generating a new form definition. More specifically, the copied form definition is modified according to the result of the collation (association) performed in step S102 and the result of the association in the contents of the edited input accepted in step S108. For example, the association data generated in step S102 is changed and saved based on the contents of the edited input accepted in step S108 (change of association), and then the copied form definition is modified according to the saved association data. This makes it possible to automatically generate a form definition in which the labels entered by the user are the form item names. Then, the process proceeds to step S111.

[0083] In step S111, the generated (modified) form definition is saved. The form definition storage unit 21 saves (stores) the form definition generated in step S110. After that, the process returns to step S106.

[0084] In step S112, it is determined whether all the labels and form item names match completely. The CPU 11 (form definition generation unit 29) determines whether the labels and form item names match completely for all combinations of associated labels and form items as a result of receiving the editing input in step 108. If there is a complete match for all combinations (YES in step S112), the process proceeds to step S115. On the other hand, if there is a complete mismatch for all combinations (NO in step S112), the process proceeds to step S113.

[0085] In step S113, a form definition is generated (modified). The process in step S113 is roughly similar to the process in step S110, and therefore a description thereof will be omitted. After that, the process proceeds to step S114.

[0086] In step S114, the generated (modified) form definition is saved. The form definition storage unit 21 saves (stores) the form definition generated in step S113. After that, the process proceeds to step S115.

[0087] In step S115, output settings such as an output destination and an output format are performed. When an output destination and an output format (printer (printing), PDF output, etc.) are specified (selected) by the user, the output setting unit 31 performs output settings based on the specified output destination and output format. After that, the process proceeds to step S116.

[0088] In step S116, the form is output. The form output unit 32 creates a form by combining the form definition and the input data, and outputs the form to the output destination set in step S115 (in the output format). Note that if the form item names and labels match (completely match) in all combinations of the corresponding form item names and labels for the candidate form template selected by the user in step S104, a form definition is not newly generated. In this case, a form (electronic form) is generated and output by arranging multiple input values ​​(associating the form definition with the input data) according to the form definition stored in advance for the selected form template. On the other hand, if there is even one combination in which the form item name and label do not match (such as when they are similar) in all combinations of the corresponding form item names and labels for the form template selected by the user in step S104, a form definition is newly generated based on the association result. In this case, a form (electronic form) is generated and output by arranging multiple input values ​​according to the newly generated form definition. That is, in this case, the form is generated by using the form definition generated in step S110 or step S113 and saved in step S111 or step S114. After that, the processing shown in this flowchart ends.

[0089] Fig. 17 is a flowchart showing an outline of the flow of the candidate form template display process in this embodiment. The process shown in this flowchart is started when the process of step S102 shown in Fig. 15 ends. Note that in this flowchart, the predetermined condition is that there are a predetermined number (10) of form templates selected from those with a high percentage of labels that have been associated with form item names (however, in the case of the same association percentage, the form template with a high percentage of labels that have been associated by matching with form item names is given priority). However, as described above, the predetermined condition is not limited to this condition, and any condition can be set.

[0090] In step S1031, the form templates are arranged in descending order of the correspondence ratio between the form item names and the labels. As a result of the correspondence in step S102, the presentation unit 25 arranges the multiple form templates in descending order of the correspondence ratio between the form item names and the labels (for example, the ratio of the number of labels that could be associated with the form item names to the total number of labels). At this time, the presentation unit 25 may refer to the correspondence ratio by reading the correspondence result data generated in step S102. After that, the process proceeds to step S1032.

[0091] In step S1032, if there are form templates with the same correspondence ratio, the form templates are arranged in descending order of the ratio of labels that match (completely match) with the form item names. If there are multiple form templates with the same correspondence ratio between the form item names and labels as a result of the correspondence in step S102, the presentation unit 25 arranges (rearranges) these multiple form templates in descending order of the ratio of the form item names and labels that match (for example, the ratio of the number of labels that are associated by matching with the form item names to the total number of labels or the number of labels that could be associated). At this time, the presentation unit 25 refers to the ratio of the match (whether there is a complete match, etc.) by reading the correspondence result data generated in step S102. After that, the process proceeds to step S1033.

[0092] In step S1033, a predetermined number of the arranged form templates are displayed in ascending order. The presentation unit 25 selects a predetermined number (e.g., 10) of form templates arranged in ascending order (starting from the top) from the multiple form templates arranged by the processes of steps S1031 and S1032, and presents (displays on the screen) the selected predetermined number of form templates to the user as candidate form templates. For example, the candidate form templates are displayed in the left pane of the form selection screen shown in Fig. 10. After that, the process shown in this flowchart ends.

[0093] As described above, according to this embodiment, the labels of the input data that match or are similar to each other are associated with the form item names of the form definition, and the form templates that meet the corresponding results and meet a predetermined condition are presented to the user as candidate form templates, so that a form template suitable for the data to be input can be presented to the user. In other words, it is possible to present a form template suitable for (optimum) the input data from the input data. Also, according to this embodiment, since the candidate form templates are presented (displayed) in a state in which the input data (input values) are arranged, it is possible to display an output image of the form, and the user can check the output image in advance. Also, according to this embodiment, the user can create a form by preparing input data and selecting a form image to be output from the form images (form templates) displayed (presented) on the UI (by pressing an "output" button or the like), so that the form can be easily generated. Then, the user can easily output the form by setting the output destination.

[0094] Furthermore, according to this embodiment, when the user selects the form image he or she wishes to output from the form images (form templates) displayed (presented) on the UI (by pressing an "Output" button, etc.), a form definition is automatically generated as necessary, which eliminates the need for the user to perform detailed form definitions himself or herself, making form design more efficient. This allows the user to generate (output) a form without having to generate or edit a form definition in advance to match the input data. In other words, the user can generate (output) a form without being aware of the form definition. As described above, according to this embodiment, the user can easily create forms.

[0095] [Second embodiment] In the first embodiment described above, an embodiment in which the matching unit 23 matches the form item name and the label for each of a plurality of form templates has been described. In this embodiment, an embodiment in which the matching unit 23 narrows down the form templates to be matched, and matches the form item name and the label for only the narrowed-down form templates will be described. Note that the configuration and processing flow of the system according to this embodiment are roughly similar to those of the first embodiment described above, and therefore will not be described. However, in this embodiment, a process of narrowing down the form templates to be matched (a process of selecting a matched object by the matching object selection unit 34, which will be described below) is performed between step S101 and step S102 in the processing flow of FIG. 15. The functional configuration according to this embodiment will be described below.

[0096] 18 is a diagram showing an outline of the functional configuration of the information processing device according to this embodiment. The information processing device 1b includes a form definition storage unit 21, a data acquisition unit 22, a matching unit 23, a matching result storage unit 24, a presentation unit 25, a condition reception unit 26, a selection reception unit 27, an edit input reception unit 28, a form definition generation unit 29, a warning unit 30, an output setting unit 31, and a form output unit 32, as well as a form type storage unit 33 and a matching target selection unit 34, by a program recorded in a storage device 14 being read into a RAM 13 and executed by a CPU 11 to control each piece of hardware included in the information processing device 1b. In this embodiment, the form definition storage unit 21, data acquisition unit 22, comparison unit 23, comparison result storage unit 24, presentation unit 25, condition reception unit 26, selection reception unit 27, edit input reception unit 28, form definition generation unit 29, warning unit 30, output setting unit 31 and form output unit 32 are generally similar to those described in the first embodiment with reference to Fig. 3, and therefore description thereof will be omitted. Below, differences from the first embodiment will be described.

[0097] The form type storage unit 33 stores a form type (such as an invoice, a delivery note, a purchase order, a card format, a receipt, or a slip) in association with a form type item name, which is at least one form item name related to the form type. For example, for the form types (template types) of invoice, delivery note, and purchase order, the form type item names "zip code", "address", "company name", "product code", "product name", "quantity", and "unit price" are stored in association with each other. In another example, for the form type of receipt, the form item names "company name" and "name" are stored in association with each other. The form type item name may be the form item name itself in the above-mentioned form definition, or may be, for example, an item name that represents the form item name used in the form type (each of the multiple form types).

[0098] The matching target selection unit 34 selects, from among a plurality of form templates, a form template to be matched against a plurality of labels. The matching target selection unit 34 selects a form template to be matched (hereinafter, referred to as a "matching target template") based on a label included in the input data. Below, two methods are illustrated as a method for selecting a matching target template using a label.

[0099] The first method is to identify a form type suitable for input data based on the label of the input data (estimate the form type the user wants to create), and select a form template corresponding to the identified form type as a template to be matched. Specifically, the match target selection unit 34 identifies a form type suitable for (corresponding to) multiple labels by matching the form type item names (multiple form type item names) stored in the form type storage unit 33 with the labels (multiple labels).

[0100] FIG. 19 is a diagram for explaining a method of identifying a form type in this embodiment. FIG. 19 illustrates a case where input data includes a plurality of labels "zip code", "address", "company name", "name", "product code", "product name", "quantity", and "unit price". FIG. 19 also illustrates a case where the form type storage unit 33 stores the form type item names "zip code", "address", "company name", "product code", "product name", "quantity", and "unit price" in association with the form type of invoice, delivery note, and order form, stores the form type item names "zip code", "address", "company name", and "name" in association with the form type of card format, stores the form type item names "company name" and "name" in association with the form type of receipt, and stores the form type item names "company name", "product code", "product name", "quantity", and "unit price" in association with the form type of slip.

[0101] In this case, the matching target selection unit 34 matches the label (multiple labels) with the form type item name (multiple form type item names) for each form type or form type group (a group consisting of form types having the same set of form type item names, for example, a group consisting of an invoice, a delivery note, and a purchase order in FIG. 19). Then, the matching target selection unit 34 determines the form type having the largest number of labels that match (completely match) with the form type item name as the form type suitable for the input data (form type corresponding to multiple labels). For example, in the example of FIG. 19, the form type item names and labels match most closely (match in seven items (labels)) for the invoice, the delivery note, and the purchase order, which are the form types (form type groups), so the invoice, the delivery note, and the purchase order are identified as the form types suitable for the input data. Then, the matching target selection unit 34 selects a form template corresponding to the identified form type as a matching target template.

[0102] In the above, an example was given of identifying the document type based on the number of labels that match the document type item name during matching. However, by using the approximate dictionary matching technology and / or approximate string matching technology described in the matching unit 23, the document type may also be identified based on the number of labels that match or are similar to the document type item name.

[0103] In the second method, the matching target selection unit 34 selects a matching target template based on the difference between the number of labels and the number of form item names. Specifically, the matching target selection unit 34 extracts at least one form template from a plurality of form templates in which the difference between the number of labels (corresponding to the input value) included in the input data and the number of form item names included in the form definition is a predetermined number or less, and selects the extracted form template as a matching target template. For example, only form templates in which the difference between the number of labels and the number of form item names is four or less are selected as matching target templates. Note that when this method is adopted, the information processing device 1 in this embodiment does not necessarily need to include the form type storage unit 33.

[0104] Then, when the match target template is selected by the match target selection unit 34, the matching unit 23 matches the form item name (multiple form item names) and label (multiple labels) for each of the selected match target form templates. [Explanation of symbols]

[0105] 1. Information processing device

Claims

1. A data acquisition means for acquiring a plurality of labels which are a plurality of item names respectively corresponding to a plurality of input values ​​to be arranged on a form template; a form definition storage means for storing, for each of a plurality of form templates, a form definition that defines an item attribute including at least a form item name that is an item name indicating the form item for each of a plurality of form items for arranging input values ​​in the form template; a matching means for matching, for each form template, a plurality of form item names corresponding to the plurality of form items with the plurality of labels, thereby associating form item names and labels that match or are similar to each other; a presentation means for presenting to a user, among the plurality of form templates, a form template for which the result of the association satisfies a predetermined condition, as a candidate form template for creating a form on which the plurality of input values ​​are entered; An information processing system comprising:

2. the predetermined condition is a condition regarding the number of the labels that have been associated with each other, The information processing system according to claim 1 .

3. When presenting a plurality of the form templates as the candidate form templates, the presenting means presents the plurality of the candidate form templates in an order according to the number of the labels associated with the form item names. The information processing system according to claim 1 .

4. When presenting a plurality of the form templates as the candidate form templates, the presenting means presents the plurality of the candidate form templates such that a candidate form template associated with a form item name having all of its labels matching the name is presented preferentially. The information processing system according to claim 1 .

5. the presenting means presents the candidate form template together with characters and / or marks indicating a result of the association between the plurality of labels and the plurality of form item names in the candidate form template. The information processing system according to claim 1 .

6. The item attributes include, in addition to the form item name, attributes related to a display mode of an input value for the form item. The information processing system according to claim 1 .

7. the data acquiring means acquires the plurality of input values ​​in addition to the plurality of labels; 7. The information processing system according to claim 6.

8. the presenting means presents the candidate form template in a state in which an input value corresponding to a label associated with any one of the plurality of form item names for the candidate form template among the plurality of labels is arranged on the candidate form template in accordance with an attribute related to the display mode corresponding to the form item name associated with the label of the input value. The information processing system according to claim 7 .

9. a selection receiving means for receiving a selection input for selecting the candidate form template as a form template for creating a form on which the plurality of input values ​​are entered, the presenting means presents the candidate form template in a state in which the plurality of input values ​​are arranged, when the selection input for the candidate form template is accepted. The information processing system according to claim 8.

10. a form definition generating means for generating a new form definition when a combination of the associated labels and form item names in which the labels and the form item names do not match exists in the candidate form template, by duplicating the form definition for the candidate form template and changing the form item name in the combination in which the labels and the form item names do not match to the label associated with the form item name, the form definition storage means stores the generated form definition in addition to the form definitions for each of the plurality of form templates; The information processing system according to claim 7.

11. an edit input receiving means for receiving an edit input from a user regarding the association between the form item name and the label in the candidate form template, the presentation means, when the edited input is accepted, presents the candidate form template in a state in which an input value corresponding to the label associated with the form item name in the edited content of the edited input is arranged on the candidate form template in accordance with an attribute related to the display mode corresponding to the form item name associated with the label of the input value. The information processing system according to claim 8.

12. an edit input receiving means for receiving an edit input from a user regarding the association between the form item names and the labels in the candidate form template; a form definition generating means for generating a new form definition when, in the candidate form template, there is a combination of the label and the form item name that is associated in the result of the comparison or the content of the edited input by the user, the label and the form item name do not match, by duplicating the form definition for the candidate form template and changing the form item name related to the combination of the label and the form item name that does not match to the label associated with the form item name, the form definition storage means stores the generated form definition in addition to the form definitions for each of the plurality of form templates; The information processing system according to claim 7.

13. a selection receiving means for receiving a selection input for selecting the candidate form template as a form template for creating a form on which the plurality of input values ​​are entered; and a form output unit that outputs a form on which the input values ​​are described based on the form definition newly generated by duplicating the form definition for the selected candidate form template and the input values.

13. The information processing system according to claim 10 or 12.

14. a selection receiving means for receiving a selection input for selecting the candidate form template as a form template for creating a form on which the plurality of input values ​​are entered; and a form output means for outputting a form on which the input values ​​are described based on the form definition and the input values ​​for the selected candidate form template. The information processing system according to claim 7.

15. A matching target selection means is further provided for selecting, from the plurality of form templates, a form template to be subjected to matching with the plurality of labels, based on the plurality of labels; the matching means matches the plurality of form item names with the plurality of labels for the selected form template; 15. An information processing system according to any one of claims 1 to 12 and 14.

16. the matching target selection means extracts at least one form template from the plurality of form templates, in which a difference between a number of the plurality of labels and a number of the plurality of form item names is equal to or less than a predetermined number, and selects the extracted form template as a form template to be subjected to matching; 16. The information processing system according to claim 15.

17. The method further includes a form type storage means for storing a form type and at least one form type item name related to the form type in association with each other, the matching target selection means identifies a form type corresponding to the plurality of labels by matching the plurality of labels with at least one form type item name related to the form type, and selects a form template corresponding to the identified form type as a form template to be subjected to the matching; 16. The information processing system according to claim 15.

18. A computer including a form definition storage means for storing, for each of a plurality of form templates, a form definition that defines an item attribute including at least a form item name that is an item name indicating the form item for each of a plurality of form items for arranging input values ​​in the form template, A data acquisition step of acquiring a plurality of labels which are a plurality of item names respectively corresponding to a plurality of input values ​​to be arranged on the form template; a matching step of matching, for each form template, a plurality of form item names corresponding to the plurality of form items with the plurality of labels to associate the form item names with labels that match or are similar to each other; a presentation step of presenting to a user, among the plurality of form templates, a form template for which the result of the association satisfies a predetermined condition, as a candidate form template for creating a form on which the plurality of input values ​​are entered; An information processing method for performing the above.

19. A computer including a form definition storage means for storing, for each of a plurality of form items for arranging input values ​​in a form template, a form definition that defines an item attribute including at least a form item name that is an item name indicating the form item for each of a plurality of form items, A data acquisition means for acquiring a plurality of labels which are a plurality of item names respectively corresponding to a plurality of input values ​​to be arranged on a form template; a matching means for matching, for each form template, a plurality of form item names corresponding to the plurality of form items with the plurality of labels, thereby associating form item names and labels that match or are similar to each other; a presentation means for presenting to a user, among the plurality of form templates, a form template for which the result of the association satisfies a predetermined condition, as a candidate form template for creating a form on which the plurality of input values ​​are entered; An information processing program that functions as a

Citation Information

Patent Citations

  • Information processing device, information processing system, information processing method and program

    JP2013025726A

  • Ledger sheet providing program, ledger sheet providing method and ledger sheet providing system

    JP2018156430A

Cited By

  • Non-transitory computer-readable storage medium and information processing apparatus

    JP2026105162A