Retrieval device, retrieval method, and retrieval program

The search device enhances the output of search results by specifying folders and phrases in meeting minutes, ensuring users can easily verify the findings by including file names, search locations, and surrounding sentences, addressing the challenge of unclear search results in large document sets.

JP2025186765APending Publication Date: 2025-12-24OBIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024095097
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2025-12-24

Smart Images

  • Figure 2025186765000001_ABST
    Figure 2025186765000001_ABST
Patent Text Reader

Abstract

To output a retrieval result in a state where a user can easily confirm it.SOLUTION: An image display control unit refers to a setting information master table storing setting information to allow a display unit to display a check screen displaying a list of file names of files stored in a folder corresponding to the setting information of a designated setting name. A retrieval unit retrieves a retrieval wording set in the setting information including the designated setting name from a selected file of the files of the list displayed on the check screen. A retrieval result display control unit displays the number of retrievals for the retrieval wording on the check screen. Further, an output control unit collectively outputs sentences before and after the retrieval wording along with the file name, a row indicating a retrieval position of the retrieval wording, and the retrieval wording, of the file selected from among the files for which the number of retrievals is displayed on the check screen, to an output object.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

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

[0002] Patent Document 1 (JP 2021-064041 A) discloses a legal document provision system that enables efficient checking or review of the contents of legal documents such as contracts. This legal document provision system stores text content, text IDs, user IDs, and review rules, each associated with the other. A text content output unit reads the text content in association with the user ID, and when it receives input of a search word, it outputs text content according to the search results. This makes it possible to efficiently check or review the contents of legal documents such as contracts. [Prior art documents] [Patent documents]

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

[0004] Here, it is preferable that the search results obtained by searching for desired search terms and the like from sentences and the like be output in a form that is easy for the user to check.

[0005] The present invention has been made in view of the above-mentioned problems, and has as its object to provide a search device, a search method, and a search program that are capable of outputting search results in a format that is easy for the user to check. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems and achieve the object, the search device of the present invention has a screen display control unit that references a setting information master table that stores one or more setting information including at least a setting name, a desired search term, and storage location information indicating the storage location on a storage unit of a folder in which one or more document data files for which the search term is to be searched are stored, and displays on a display unit a check screen that lists the file names of files stored in the folder corresponding to the setting information for the specified setting name; a search unit that searches for one or more search terms set in setting information including the specified setting name from one or more selected files from the files listed on the check screen; a search result display control unit that displays at least the number of searches for the search term by the search unit on the check screen; and an output control unit that outputs to an output target the file name of the selected file from the one or more files for which the number of searches is displayed on the check screen, the line in the file indicating the search location of the search term, and the search term, together with the sentences before and after the search term.

[0007] In addition, in order to solve the above-mentioned problems and achieve the object, the search method of the present invention includes a screen display control step in which a screen display control unit refers to a setting information master table in which one or more setting information including at least a setting name, a desired search term, and storage location information indicating the storage location on a storage unit of a folder in which one or more document data files for which the search term is to be searched are stored, and displays on the display unit a check screen listing the file names of files stored in the folder corresponding to the setting information for the specified setting name; a search step in which a search unit searches for one or more search terms set in setting information including the specified setting name from one or more selected files among the files listed on the check screen; a search result display control step in which a search result display control unit displays on the check screen at least the number of searches for the search term in the search step; and an output control step in which an output control unit outputs to an output target the file name of a selected file from one or more files for which the number of searches is displayed on the check screen, the line in the file indicating the search location of the search term, and the search term, together with the sentences before and after the search term.

[0008] In addition, in order to solve the above-mentioned problems and achieve the object, the search program of the present invention causes a computer to function as a screen display control unit that references a setting information master table that stores one or more setting information including at least a setting name, a desired search term, and storage location information indicating the storage location on the storage unit of a folder in which one or more document data files for which the search term is to be searched are stored, and displays on the display unit a check screen that lists the file names of files stored in the folder corresponding to the setting information for the specified setting name; a search unit that searches for one or more search terms set in setting information including the specified setting name from one or more selected files among the files listed on the check screen; a search result display control unit that displays at least the number of searches for the search term by the search unit on the check screen; and an output control unit that outputs to the output target the file name of the selected file among the one or more files for which the number of searches is displayed on the check screen, the line in the file indicating the search location of the search term, and the search term, along with the sentences before and after the search term, all together. [Effects of the Invention]

[0009] The present invention can output search results obtained by searching for desired search terms and the like from text and the like in a form that is easy for the user to check. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram showing a hardware configuration of a search device according to an embodiment. [Figure 2] FIG. 2 is a diagram showing an example of a setting screen for setting setting information. [Figure 3] FIG. 3 is a diagram illustrating an example of the setting information. [Figure 4] FIG. 4 is a flowchart showing the flow of an operator's operation and the flow of the search operation in the search device according to the embodiment. [Figure 5] FIG. 5 is a diagram showing an example of the minutes check screen. [Figure 6]FIG. 6 is a diagram showing an example of a display when the Settings tab is selected. [Figure 7] FIG. 7 is a flowchart showing the flow of the search term check process (search process) in the search device according to the embodiment. [Figure 8] Figure 8 shows how the text in the lines before and after the line of the search term found by the search process (text up to the line containing the break condition) is also searched for and output together with the search term as a set of search results. [Figure 9] FIG. 9 is a diagram showing an example of a content confirmation screen showing details of the search results. [Figure 10] FIG. 10 is a diagram showing an example of output of search results. DETAILED DESCRIPTION OF THE INVENTION

[0011] A search device according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings. This embodiment is an example in which the present invention is applied to a search device that searches for a desired search term from minutes. Note that the present invention is not limited to the following embodiment. In other words, the text to be searched may be text other than minutes, and even in this case, the same effects as those described below can be obtained. For details, please refer to the following description.

[0012] (overview) Issues discussed in meetings with customers must be addressed thoroughly and the outcome must be confirmed. Failure to address issues or failing to confirm the outcome can lead to a loss of credibility, a deterioration in customer relationships, and the occurrence of significant losses.

[0013] In contrast, today, issues in minutes are confirmed by visually checking the contents of the minutes (visual inspection) or by using the search function provided in the document management tool to extract phrases related to the issues.

[0014] However, visual inspection can lead to overlooking issues. By using the search function to extract issues, it is possible to prevent issues from being overlooked to some extent, as would be the case with visual inspection. However, when issues are extracted using the search function, the text corresponding to the searched issue is output as is. This makes it difficult to confirm the searched issue, and also makes it difficult to confirm minutes that include the searched issue. This problem becomes even more pronounced in large companies, where the number of minutes can be enormous.

[0015] For this reason, the search device according to the embodiment specifies a folder and a phrase of minutes, searches for a desired phrase from the minutes data hierarchically subordinate, and then displays a list of the search results.

[0016] A plurality of files can be specified in the folder of minutes to be searched, and a plurality of terms can be specified for the search. One or more terms to be excluded from the search (search exclusion terms) can also be specified. The search device 1 performs a search process for the specified terms after excluding the specified search exclusion terms.

[0017] The searched phrase is output together with the file name and the line within the file indicating the search position of the search phrase, along with the sentences before and after the search phrase, making it possible to output search results in a format that is easy for the user to check.

[0018] (Hardware configuration) 1, a search device 1 according to an embodiment includes a storage unit 2, a control unit 3, a communication interface unit 4, and an input / output interface unit 5. An input device 6 and an output device 7 are connected to the input / output interface unit 5.

[0019] The output device 7 corresponds to a display unit such as a monitor device (including a home television), a printing device, a speaker device, or the like.

[0020] As the input device 6, a keyboard device, a mouse device, a microphone device, etc., as well as a monitor device that cooperates with a mouse device to realize a pointing device function, etc., can be used.

[0021] The communication interface unit 4 is connected to a network such as a wide area network like the Internet or a private network like a LAN (Local Area Network).

[0022] The storage unit 2 may be, for example, a storage device such as a read only memory (ROM), a random access memory (RAM), a hard disk drive (HDD), or a solid state drive (SSD).

[0023] The storage unit 2 stores a search program that enables the search results obtained by searching for desired search terms, etc. from sentences such as minutes to be output in a form that is easy for the user to confirm. The storage unit 2 also includes a setting information master table 11, a minutes data storage unit 12, and a search result storage unit 13, each of which is a storage area.

[0024] The setting information master table 11 stores one or more pieces of setting information including various types of information input in advance via the setting screen illustrated in Fig. 2. Specifically, when the user specifies input of setting information, the control unit 3 functions as the screen display control unit 24 based on the search program, and displays the setting screen illustrated in Fig. 2 via the output device 7.

[0025] Through this setting screen, the user inputs (or selects) a file path indicating the physical storage location on the memory unit 2 of the folder in which the minutes (document file = text data) to be searched are stored, as shown in Figure 2.

[0026] The user also inputs (specifies) the search position for the file. In the example shown in Figure 2, the position information "from line 8" is input. This is an example in which "from line 8" is specified as the search start position because the minutes file is in a standard format, such as a spreadsheet, and lines 1 to 7 contain standard phrases such as titles, and the main text of the minutes begins on line 8.

[0027] Furthermore, if the minutes file is in a standard format such as a spreadsheet, the columns corresponding to the number of characters in one line (= the columns corresponding to the number of characters in the horizontal direction when written horizontally) are also fixed. The location information "column 1 to column 100" shown in Figure 2 indicates that the number of characters in the horizontal direction when written horizontally is 100, and this is an example of specifying the search range for one line by specifying column 1, which corresponds to the first character, to column 100, which corresponds to the 100th character.

[0028] By specifying location information indicating the search range in this way, the search for the search term can be started from the first column of the eighth line of the minutes file, and in the row direction (horizontal direction in horizontal writing), the search for the search term from column 1 to column 100 can be searched for before moving on to the next line, and so on, allowing the search for the search term to be performed within the range in which the main text of the minutes is written.

[0029] The user also inputs the desired search term into the search term input field shown in Figure 2. In the example of Figure 2, the terms "consider," "respond," and "correct" are input as search terms. Each search term is input separated by a comma. Note that the user may input one or more search terms.

[0030] The user also inputs desired search exclusion terms, which are terms to be excluded from the search (terms not to be searched), into the search exclusion term input field shown in Figure 2. In the example of Figure 2, the term "not considered" is input as the search exclusion term. Note that the search exclusion term to be input may be one or multiple.

[0031] The user also inputs a desired setting name (=data name of the search results) to be assigned to the search results of the search term in the setting name input field shown in Figure 2. In the example of Figure 2, the setting name "XX project minutes check" is input.

[0032] 2, the setting screen is provided with a selection field for a break condition and an input field for a desired wording to be used as the break condition. As will be described in detail later, in the case of the search device 1 of this embodiment, when a specified search word is searched for, a search is made for a line containing the wording specified as the break condition (break start condition wording) by going back from the line preceding the line containing the search word, and a search is made for a line containing the wording specified as the break condition (break end condition wording) by going back to the lines following the line containing the search word.

[0033] The break condition can be selected as either "0: Blank line" or "1: Break condition phrase." "0: Blank line" is a line with no characters between it. If "0: Blank line" is selected, the text is searched from the line before the line containing the search phrase searched above back to the blank line, and also from the line after the line containing the search phrase searched to the blank line.

[0034] "1: Break condition phrase" is selected when specifying the "break start condition phrase," which is the phrase that indicates the upper limit of how far back to go from the line before the line containing the searched search term, and the "break end condition phrase," which is the phrase that indicates the lower limit of how far back to go from the line after the line containing the searched search term.

[0035] In other words, when the user selects "1: Break condition phrase," the user specifies a symbol such as a "closing bracket of a corner bracket" as the "break start condition phrase," which indicates the upper limit of how far back in time the previous line of the line containing the searched search phrase can be traced, and specifies a symbol such as an "opening bracket of a corner bracket" as the "break end condition phrase," which indicates the lower limit of how far back in time the next line of the line containing the searched search phrase can be traced.

[0036] These corner brackets are often used to enclose the characters of a title. By specifying corner brackets as "1: Break condition phrase," it is possible to specify the text between the first character of the sentence containing the searched search term (the characters after the title = the characters after the "closing corner bracket symbol") and the last character of the sentence containing the searched search term (the characters before the next title = the characters before the "opening corner bracket symbol") as the search range.

[0037] After inputting the file path, location information, search term, setting name, and break condition into the setting screen in this way, the user operates the save button 30. When the save button 30 is operated, the control unit 3 functions as a recording control unit (not shown) based on the search program, and stores the setting information including the file path, location information, search term, and setting name in the setting information master table 11. In this way, the search term, search exclusion term, etc. are specified for each desired folder (for each file path), and setting information is generated, and each is stored in advance in the setting information master table 11.

[0038] An example of the setting information is shown in Fig. 3. As shown in Fig. 3, the setting information is configured to include a number assigned consecutively to each piece of information included in one piece of setting information, an information name, a model name, and setting contents.

[0039] In the example in Figure 3, the "Setting Name" for number "01" has a type name of "Character Type" and the setting content is "XX Project Minutes Check." By setting setting names, you can distinguish and manage settings for documents in various formats.

[0040] The "Folder Path" of number "02" has a type name of "Character Type" and the setting is "¥¥192.168.…¥Minutes Folder". Also, the "Search Term" of number "03" has a type name of "Character Type" and the setting is "Consider, Respond, Modify, TODO".

[0041] Additionally, the "search exclusion phrase" for number "04" has a type name of "character type" and a setting of "will not consider, will not consider" (an example in which two exclusion phrases are set). Additionally, the "start position number" for number "05" has a type name of "numeric type" and a setting of "8." In other words, in the example in Figure 3, the meeting participants and schedule are listed up to line 7, so this is an example in which the search for the search phrase is specified to start from line "8."

[0042] Additionally, the "Search start column number" for number "06" and the "Search end column number" for number "07" each have the type name "Numeric type" and are set to "1 (column)" and "100 (column)." This is an example where the search range for one row is specified as "between column 1 and column 100," since there are 100 columns horizontally in one row.

[0043] As described above, the break condition is a term indicating the upper limit of the line to search for when searching for a line containing a break start condition term by tracing back from the line preceding the line containing the search term, and is also a term indicating the lower limit of the line to search for a line containing a break end condition term by tracing back the lines following the line containing the search term. In the example of Figure 3, "0: blank line" was selected as the break condition, so "blank line" was automatically set by the control unit 3 as both the "break start condition term" and the "break end condition term." In this case, a search for a "blank line" is performed by tracing back from the line preceding the line containing the search term, and a search for a "blank line" is performed by tracing back the lines following the line containing the search term.

[0044] (Functional configuration of search device) Next, the control unit 3 executes the search program stored in the storage unit 2, thereby functioning as a display control unit 21, a search unit 22, and an output control unit 23, as shown in Fig. 1. The display control unit 21 includes a screen display control unit 24 and a search result display control unit 25. Note that, although this example is an example in which the display control unit 21 to the output control unit 23 are realized by software based on the search program, all or part of the display control unit 21 to the output control unit 23 may also be realized by hardware. In either case, the same effects as those described below can be obtained.

[0045] The screen display control unit 24 refers to the setting information master table 11 that stores one or more pieces of setting information including at least the setting name, the desired search term, and storage location information indicating the storage location on the storage unit 2 of a folder that stores one or more document data files for which the search term is to be searched.The screen display control unit 24 then displays on the display unit (output device 7) a check screen (minutes check screen shown in FIG. 5) that displays a list of file names of files stored in the folder corresponding to the setting information of the specified setting name.

[0046] The search unit 22 searches for one or more search terms (for example, the search terms shown in Figure 3) set in the setting information including the specified setting name from one or more selected files among the files listed on the check screen (minutes check screen shown in Figure 5).

[0047] The search result display control unit 25 displays at least the number of searches for the search term performed by the search unit 22 on the check screen (see the "Results" display field shown in FIG. 5).

[0048] The output control unit 23 outputs to the output target the file name of the selected file from one or more files for which the number of search results is displayed on the check screen, the line in the file indicating the search position of the search term, and the search term, together with the sentences before and after the search term. Specifically, by selecting the desired file using the "Target" checkbox in Figure 5 and operating the result output button 52, the output control unit 23 outputs the search results.

[0049] The "output target" may be the memory unit 2, an external storage device, a display unit (display output) that is the output device 7, a printer (print output) that is the output device 7, a speaker device (audio output) that is the output device 7, etc. The control unit 3 may also output the search results of a server device, etc., via the communication interface unit 4 and a wide area network such as the Internet or a private network such as a LAN.

[0050] The setting information stores search exclusion terms that indicate terms to be excluded from a search (see search exclusion terms in FIG. 3). The search unit 22 searches for the search terms, excluding the search exclusion terms from the file.

[0051] The setting information also includes a search start line number (see the start position number shown in FIG. 3) that indicates the line from which to start searching the file. The search unit 22 starts searching for the search term from the line with the search start line number.

[0052] The setting information also stores a search start column number, which is the column number of the column that is the search start position within the search range of one line of the file, and a search end column number, which is the column number of the column that is the search end position within the search range of one line of the file (see the search start column number and search end column number shown in FIG. 3). Search unit 22 searches for the search term line by line, with the range from the column with the search start column number to the column with the search end column number as the search range for one line of the file.

[0053] The setting information also includes a break start condition wording that indicates the wording contained in the line that is the highest line to go back to when searching back to lines before the line containing the search term found in the file, and a break end condition wording that indicates the wording contained in the line that is the lowest line to go back to when searching back to lines after the line containing the search term found in the file (see the break condition, break start condition wording, and break end condition wording in Figure 3).

[0054] When searching for a search term from a file, the search unit 22 searches for a line including a break start condition term from the line preceding the line including the searched search term, and also searches for a line including the break start condition term from the line following the line including the searched search term.

[0055] The output control unit 23 outputs the line containing the search term searched by the search unit 22, the preceding line of text up to the break start condition term, and the following line of text up to the break end condition term all together to the output target.

[0056] (Search behavior for search terms) Next, the operation of the search device 1 of the embodiment for searching for and outputting a desired search term from folders and files of minutes will be described. The flowchart in Fig. 4 shows the overall flow of the search operation in the search device 1 of the embodiment. Of the flowcharts shown in Fig. 4, the flowchart in Fig. 4(a) shows the flow of manual operations by an operator. Furthermore, the flowchart in Fig. 4(b) shows the flow of the search operation executed by the control unit 3 functioning as the display control unit 21 to the output control unit 23 based on the search program. Below, the overall search operation will be described, including the operator's operations and the operation of the search device 1.

[0057] First, in step S1 of Fig. 4, the operator specifies the selection of setting information. This causes the screen display control unit 24 to display on the output device 7 a list of setting information, one or more of which are stored in the setting information master table 11, as exemplified in Fig. 3. This list of setting information may display a list of setting names for each setting information, or may display a list of all or part of the information numbered 01 to 10 shown in Fig. 3 extracted for each setting information. The operator selects setting information corresponding to the desired word search from the displayed list of setting information.

[0058] When the desired setting information is selected, in step S11, the screen display control unit 24 displays the minutes check screen shown in Fig. 5 via the output device 7. This minutes check screen has a setting name display area 31, a path / setting display area 32, a search target setting area 33, a search result list display area 34, and an output destination display area 35, as shown in Fig. 5.

[0059] The screen display control unit 24 reads out the setting name of the setting information selected by the operator, for example, “XX project minutes check”, from the setting information master table 11 and displays it in the setting name display area 31 .

[0060] In addition, the screen display control unit 24 reads out the folder path of the setting information selected by the operator, such as “¥¥192.168.…¥Minutes folder”, from the setting information master table 11 and displays it in the path / setting display area 32.

[0061] Here, the path / settings display area 32 is provided with a minutes path tab 47 that displays the folder path, and a settings tab 48 that displays the location information, search phrases, and inspection exclusion phrases shown in Fig. 6. Fig. 5 shows a state in which the minutes path tab 47 is selected (or a default display state), and the screen display control unit 24 displays not only the folder path, but also a check box (including subdirectories) for specifying whether or not to search for subdirectories, and an acquisition instruction button 45.

[0062] When the setting tab 48 is selected, the screen display control unit 24 displays, in the setting information shown in Fig. 3, the start position number specified as the row where the search starts, and the search start column number and search end column number specified as the column where the search starts and the column where the search ends for each line of text, respectively, in the position information display field as shown in Fig. 6. In the example of Fig. 6, the "8th" line is set as the row where the search starts, the "1st column" is set as the column where the search starts for each line of text, and the "100th column" is set as the column where the search ends.

[0063] Furthermore, when the settings tab 48 is selected, the screen display control unit 24 reads out the search terms and search exclusion terms shown in Fig. 3 from the setting information master table 11, and displays them in the search term display field and the search exclusion term display field of the path / settings display area 32, as shown in Fig. 6. In the example of Fig. 6, the terms "consider, respond, correct" are set as search terms, and the term "do not consider" is set as a search exclusion term.

[0064] The search target setting area 33 shown in Fig. 5 has radio buttons for selecting the files to be checked from among the files in the minutes folder. The "All" radio button is selected by the operator when all files in the minutes folder are to be searched.

[0065] In addition, the "Specify date and time" radio button is selected when specifying the date and time of the files to be searched from among all the files in the minutes folder. When the "Specify date and time" radio button is selected, the operator specifies the update date and time of the minutes to be searched. Since minutes are updated from time to time, only files updated after a specific date and time can be specified as the search target. In addition, by checking the "Exclude checked" checkbox, files that have been checked in the past can be excluded from the search target.

[0066] Next, in step S2 shown in Fig. 4, the operator checks the folder path, search terms, search exclusion terms, etc., and operates the execute button in the search target setting area 33 in Fig. 5. As a result, in step S12, the screen display control unit 24 reads out all files in the minutes folder specified by the folder path, or files corresponding to the specified date and time, from the minutes data storage unit 12, and displays them in a list in the search result list display area 34 shown in Fig. 5.

[0067] Specifically, the screen display control unit 24 displays a list of the file name, sheet name, and update date and time of each file searched from the minutes folder in the search result list display area 34 shown in Fig. 5. In addition to these, the screen display control unit 24 also displays check boxes for selecting files to be searched next to each file name, and also displays a display field for search results in the desired search language for each file and a details button 46 for specifying the display of detailed search results for each file.

[0068] Next, in step S3, the operator selects the file to be searched by inputting a check mark (R) into the check box corresponding to the file to be searched from the check boxes displayed in the search result list display area 34 shown in Figure 5.

[0069] Next, in step S4, the operator operates the check button 51 displayed in the output destination display area 35 shown in Fig. 5. When this check button 51 is operated, the search unit 22 performs a search process (check process) described below in step S13, and searches for a preset search phrase from the selected file (a file with a check mark "R" entered in the checkbox).

[0070] In step S14, the search result display control unit 25 displays whether or not the search unit 22 searched for the search term and the number of searches (number of hits) in a search result display field corresponding to the file selected as the search target in the search result list display area 34 shown in Fig. 5. The example in Fig. 5 shows an example in which a meeting is held on March 28, 2024, and minutes are created on April 1, 2024, followed by another meeting on April 2, 2024, the minutes of the meeting on March 28, 2024 are updated on April 3, 2024, followed by another meeting on April 4, 2024, and the minutes of the meeting on March 28, 2024 are updated on April 5, 2024.

[0071] In addition, the example in Figure 5 shows an example in which the operator has selected the sheet (file) "20240328_Minutes" as the search target, which contains the main text of the minutes of each meeting, created on April 1, 2024 and updated on April 3, 2024 and April 5, 2024, respectively (the file with a check mark "R" in the checkbox).

[0072] Of these, if the search unit 22 does not find the search term in the minutes file created on April 1, 2024, the search result display control unit 25 displays a "〇" symbol indicating that the search term was not found and the words "No matches" in the search result display column of the search result list display area 34.

[0073] Furthermore, if the search unit 22 searches for three search terms from the minutes file updated on April 3, 2024, the search result display control unit 25 displays an "x" symbol indicating that the search term has been searched and the number of search results, "3," in the search result display column of the search result list display area 34.

[0074] Furthermore, if the search unit 22 searches for five search terms from a file of minutes updated on April 5, 2024, the search result display control unit 25 displays an "x" symbol indicating that the search term has been searched and the number of search results, "5," in the search result display column of the search result list display area 34.

[0075] Here, when displaying details of the search results, the operator operates the details button 46 corresponding to the file for which the details of the search results are to be displayed, which is displayed in the search result list display area 34. The search result display control unit 25 displays the details of the search results of the file corresponding to the details button 46 operated by the operator on the content confirmation screen shown in FIG.

[0076] As will be described later, the search device 1 of the embodiment is configured to output the searched search term together with the sentences before and after the search term together with the line number. Therefore, the search result display control unit 25 displays the searched search term and line number (line 132) and the sentences before and after (the sentences on lines 130, 131, and 133) on the content confirmation screen shown in Fig. 9.

[0077] Furthermore, the search result display control unit 25 displays an output mark (in the example of FIG. 9, a "☆" mark) in association with each line, indicating that the sentences on lines 130 to 133 will be output. This allows the operator to check the details of the search results for the desired file.

[0078] Next, the setting information (see FIG. 3) includes output destination information indicating the folder to which the search results are to be output. The screen display control unit 24 displays this output destination information in the output destination display field 50 of the output destination display area 35. The operator checks the output destination in the output destination display field 50, and in step S5 operates the result output button 52 displayed in the output destination display area 35 shown in FIG. 5 to specify output of the search results.

[0079] In step S15, the output control unit 23 generates search result data including the file name, sheet name, line number, and content (the search term and character strings before and after the search term) as shown in FIG. 10 based on the search results of the files that were the search targets shown in FIG. 5, and stores the data in the search result storage unit 13. The example in FIG. 10 is an example of search result data showing the search results for a file dated March 28, 2024, which was updated on April 3, 2024 due to a meeting held on April 2, 2024. The example in FIG. 10 is also an example in which the search term is searched for in the line with line number "132," and the line containing the search term is output together with the sentences on the lines before and after it as a whole.

[0080] In this way, by outputting search results together with the order information (file name, line number, etc.) within the file and folder, the search results can be provided to the user in a form that is easy to understand. Also, by outputting the search term together with the words written on the lines before and after it, the search results can be provided to the user in a form that is easier to understand. Even if there are multiple search terms on a single line, the search terms can be output together on a single line rather than being output on multiple lines, so the search results can be provided to the user in a form that is easy to understand.

[0081] In addition to the search result storage unit 13, this search result data may be output to an external storage device, a display unit (display output) that is the output device 7, a printer (print output) that is the output device 7, a speaker device (audio output) that is the output device 7, etc. Furthermore, this search result data may be output to a server device or the like via the communication interface unit 4 and a wide area network such as the Internet or a private network such as a LAN (Local Area Network).

[0082] (Details of search process) Next, the detailed operational flow of the check process (search process) shown in step S13 of the flowchart in Fig. 4 is shown in the flowchart in Fig. 7. The search for the search term is performed on a file-by-file basis and on a sheet-by-sheet basis for each file selected as the search target shown in Fig. 5. That is, when a desired file is designated as the search target on the minutes check screen shown in Fig. 5 and the check button 51 is operated, the search unit 22 starts the processing of the flowchart in Fig. 7 based on the search program.

[0083] When the search unit 22 starts processing the flowchart of Figure 7, it proceeds to step S21, reads out the files specified as search targets from the minutes data storage unit 12 in the order, and in step S21, combines the cells of the spreadsheet that is this file to generate rows.

[0084] Next, in step S22, the search unit 22 determines whether the generated line is between the line where the search for the search term begins, which is specified as the start position number of the setting information shown in Figure 3, and the end line of the file (in this example, it determines whether it is the 8th line).

[0085] If the row is not the row where the search for the search term should start (step S22: No), the process moves to the next row in step S30, and returns to step S21. After looping through all rows, it is determined in step S41 whether the next file has been specified. If the next file has been specified (step S41: Yes), the next file is read from the minutes data storage unit 12 via step S42, a row is generated by combining cells in the spreadsheet in step S21, and it is determined in step S22 whether the row is the target of search, as described above.

[0086] On the other hand, between the line where the search for the search term starts and the end line of the file (step S22: Yes), the search unit 22 determines in step S23 whether the text of that line contains the specified search term. If the line does not contain the specified search term (step S23: No), the process proceeds to step S31 and step S21 in order to search the next line.

[0087] If the line contains the specified search term (step S23: Yes), the search unit 22 excludes the above-mentioned search exclusion terms from the line in step S24, and in this state determines whether the search condition of containing the search term is met.

[0088] Specifically, for example, suppose the search term is "consider, respond" and the search exclusion term is "not consider." Also, suppose the sentence in the line being searched is "XX will not be considered. XX will respond." In this case, the search unit will exclude the word "not consider," which is the search exclusion term, from the sentence "XX will not be considered. XX will respond."

[0089] As a result, the sentence in the line becomes "XX is (excluded word). XX corresponds." The search unit 22 determines whether the sentence in this state contains the search word "consider, respond." In this case, since the search word "respond" is included, the search unit 22 determines that the search condition is met (step S24: Yes).

[0090] If it is determined that the search conditions are not met because the search term is not included (step S24: No), the process proceeds to step S22 via step S31 and step S21 in that order, and the process moves to search processing for the next line.

[0091] Next, when it is determined that the search conditions are met (the search term is included with the search exclusion term excluded), and the process proceeds to step S25, the search unit 22 moves on to searching the previous line, and in step S26 determines whether the previous line is, for example, a "blank line (a line with no characters = a blank line)" specified as the break start condition term shown in Figure 3.

[0092] If the line is not a "blank line" specified as the break start condition wording (step S26: No), the search unit 22 repeatedly executes steps S25 and S26 and determines whether the previous line is a "blank line" specified as the break start condition wording.

[0093] In this way, the search unit 22 searches for lines containing the break start condition wording by going back from the line where the search wording was found. Then, when a line containing the break start condition wording is found, the search operation for the previous line ends and the process proceeds to step S27.

[0094] In step S27, the search unit 22 searches the line next to the line determined in step S24 as satisfying the above-mentioned search conditions, and in step S28, it determines whether or not this line contains, for example, a "blank line" that is specified as the break end condition wording shown in Figure 3.

[0095] If the "blank line" specified as the break end condition wording is not included (step S28: No), the search unit 22 repeatedly executes steps S27 and S28, and further determines whether the next line includes the "blank line" specified as the break end condition wording.

[0096] In this way, the search unit 22 searches for the break end condition phrase for each subsequent line, following the line where the search phrase was found. When a line containing the break end phrase is found, the search unit 22 ends the search for the next line and proceeds to step S29.

[0097] Next, as shown in Fig. 8, the search unit 22 groups together the line in which the search term was first searched, the lines up to the break start condition wording, and the lines up to the break end condition wording, and stores them as search result data in the search result storage unit 13 together with the file name, sheet name, line number of each line, etc., as shown in Fig. 9. This makes it possible to output the search result data shown in Fig. 10.

[0098] In this way, when the search process for one file is completed, the search process moves to the next file selected by the operator via steps S41 and S42, and the search process for the search term is performed line by line as described above.

[0099] (Effects of the embodiment) As is clear from the above description, the search device 1 according to the embodiment can achieve the following effects.

[0100] 1. Search results can be output together with the order information within the file and folder (file name, line number, etc.), so that search results can be provided to the user in an easy-to-understand format.

[0101] 2. When there are multiple search terms on one line, instead of splitting each search term into multiple lines, multiple search terms are output on one line. This allows the search results to be presented to the user in a format that is easy to understand, even when there are multiple search terms on one line.

[0102] 3. By outputting the search term together with information related to the search term (text written on the lines before and after), search results can be provided to users in a more understandable format.

[0103] [Contribution to the United Nations-led Sustainable Development Goals (SDGs)] This invention can contribute to improving business efficiency and promoting appropriate management decisions by companies, thereby contributing to the achievement of goals "8" and "9" of the SDGs.

[0104] Furthermore, this invention can contribute to reducing waste and promoting paperless and electronic systems, thereby contributing to the achievement of SDGs goals 12, 13, and 15.

[0105] Furthermore, the present invention can contribute to strengthening control and governance, thereby contributing to the achievement of Goal 16 of the SDGs.

[0106] [Other embodiments] The present invention can be implemented in various different forms other than the above-described embodiments within the scope of the technical concept described in the claims.

[0107] For example, among the processes described in the embodiments, all or part of the processes described as being performed automatically may be performed manually, or all or part of the processes described as being performed manually may be performed automatically using a known method or the like.

[0108] Furthermore, the processing procedures, control procedures, specific names, registered data for each process, information including parameters such as search conditions, screen examples, and database configurations shown in the specification or drawings may be changed as desired unless otherwise specified.

[0109] Furthermore, the components of the search device 1 shown in the figure are conceptual functional elements and do not necessarily have to have the physical configuration shown in the figure. For example, all or any part of the processing functions of the search device 1, particularly the processing functions performed by the control unit 3, may be realized by a program interpreted and executed by the control unit 3 (CPU: Central Processing Unit), or may be realized by hardware using wired logic.

[0110] The program is recorded on a non-transitory computer-readable recording medium containing programmed instructions for causing the information processing device to execute the processes described in the embodiments, and is mechanically read by the retrieval device 1 as needed. That is, a storage unit 2 such as a ROM or HDD stores a computer program for working with an OS (Operating System) to give instructions to a control unit 3 (CPU) and perform various processes. The computer program is loaded into RAM, expanded, and executed by the control unit 3 as appropriate.

[0111] The search program of the search device 1 may be stored in another server device connected to the search device 1 via any network, and may be downloaded in whole or in part and executed as needed.

[0112] Furthermore, a search program for executing the processes described in the embodiments may be stored in a non-transitory computer-readable recording medium, or may be configured as a program product.

[0113] Here, the "recording medium" can be any "portable physical medium" such as a memory card, a USB (Universal Serial Bus) memory, an SD (Secure Digital) card, a flexible disk, a magneto-optical disk, a ROM, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (registered trademark) (Electrically Erasable and Programmable Read Only Memory), a CD-ROM (Compact Disk Read Only Memory), an MO (Magneto-Optical Disk), a DVD (Digital Versatile Disk), and a Blu-ray (registered trademark) Disc.

[0114] Furthermore, a "program" is a data processing method written in any language or description method, regardless of the format, such as source code or binary code.

[0115] It should be noted that a "program" is not necessarily limited to a single structure, but includes a structure that is distributed as multiple modules or libraries, and a structure that achieves its function by working together with other programs, such as an OS.

[0116] Furthermore, the specific configuration for reading the recording medium in the search device 1 of the embodiment, the reading procedure, and the installation procedure after reading can be any known configuration or procedure.

[0117] The memory unit 2 is a storage means such as a memory device such as RAM or ROM, a fixed disk device such as a hard disk, a flexible disk, or an optical disk, and stores various programs, tables, databases, web page files, etc. used for various processes or to provide websites.

[0118] The search device 1 may be configured as an information processing device such as a known personal computer or workstation, or may be configured as an information processing device connected to any peripheral device. The information processing device may be implemented with software (including programs, data, etc.) that realizes the processes described in the embodiments.

[0119] Furthermore, the specific forms of distribution and integration of the devices are not limited to those shown in the drawings, and all or part of them can be functionally or physically distributed or integrated in any unit depending on various additions or functional loads. In other words, the above-mentioned embodiments can be selectively implemented by combining them in any way. [Industrial Applicability]

[0120] The present invention is suitable for application to a search process for desired words, characters, symbols, etc. in various documents such as minutes of meetings. [Explanation of symbols]

[0121] 1 Search device 2 Storage section 3. Control Unit 4. Communication interface section 5 Input / output interface section 6 Input Devices 7 Output Devices 11 Setting information master table 12 Minutes data storage unit 13 Search result storage unit 21 Display control unit 22 Search Section 23 Output control section 24 Screen display control unit 25 Search result display control section

Claims

1. a screen display control unit that refers to a setting information master table that stores one or more pieces of setting information including at least a setting name, a desired search term, and storage location information indicating the storage location on the storage unit of a folder that stores one or more document data files for which the search term is to be searched, and displays on a display unit a check screen that lists the file names of the files stored in the folder that correspond to the setting information of the specified setting name; a search unit that searches one or more of the search terms set in the setting information including a specified setting name from one or more selected files among the files listed on the check screen; a search result display control unit that displays on the check screen at least the number of results of the search term searched by the search unit; an output control unit that outputs to an output target the file name of a selected file from one or more files for which the number of search results is displayed on the check screen, a line in the file indicating the search position of the search term, and the search term together with the sentences before and after the search term; A search device having the above configuration.

2. The setting information stores search exclusion phrases that indicate phrases to be excluded from searches, the search unit searches for the search term after excluding the search exclusion term from the file; 2. The search device according to claim 1, wherein:

3. the setting information includes a search start line number indicating a line from which to start searching the file; the search unit starts searching for the search term from the line of the search start line number; 3. The search device according to claim 2, wherein:

4. The setting information stores a search start column number, which is the column number of the column that is the search start position of the search range of one line of the file, and a search end column number, which is the column number of the column that is the search end position of the search range of one line of the file, the search unit searches for the search term line by line, with the range from the column of the search start column number to the column of the search end column number being a search range for one line of the file; 4. The search device according to claim 3, wherein:

5. The setting information includes a break start condition wording indicating a word contained in a line that is the upper limit of the line to be traced back when tracing back to a line preceding the line containing the search term searched from the file, and a break end condition wording indicating a word contained in a line that is the lower limit of the line to be traced back when tracing back to a line following the line containing the search term searched from the file, when the search unit searches for the search term from the file, the search unit searches backward from a line including the searched search term to search for a line including the break start condition term, and searches for a line including the break start condition term from a line following the line including the searched search term, the output control unit outputs to the output target a line including the search term searched by the search unit, a sentence preceding the break start condition wording, and a sentence following the break end condition wording all together; 5. The search device according to claim 1, wherein:

6. a screen display control step in which a screen display control unit refers to a setting information master table in which one or more pieces of setting information are stored, the setting information including at least a setting name, a desired search term, and storage location information indicating the storage location on a storage unit of a folder in which one or more document data files for which the search term is to be searched are stored, and displays on a display unit a check screen that lists the file names of the files stored in the folder corresponding to the setting information of the specified setting name; a search step in which a search unit searches for one or more search terms set in the setting information including a specified setting name from one or more selected files among the files listed on the check screen; a search result display control step in which a search result display control unit displays at least the number of search results for the search term obtained by the search step on the check screen; an output control step in which an output control unit outputs to an output target, a file name of a selected file from one or more files for which the number of search results is displayed on the check screen, a line in the file indicating the search position of the search term, and the search term together with sentences before and after the search term; A search method having the following.

7. Computer, a screen display control unit that refers to a setting information master table that stores one or more pieces of setting information including at least a setting name, a desired search term, and storage location information indicating the storage location on the storage unit of a folder that stores one or more document data files for which the search term is to be searched, and displays on a display unit a check screen that lists the file names of the files stored in the folder that correspond to the setting information of the specified setting name; a search unit that searches one or more of the search terms set in the setting information including a specified setting name from one or more selected files among the files listed on the check screen; a search result display control unit that displays on the check screen at least the number of results of the search term searched by the search unit; an output control unit that outputs to an output target the file name of a selected file from one or more files for which the number of search results is displayed on the check screen, a line in the file indicating the search position of the search term, and the search term together with sentences before and after the search term. A search program that acts as a

Citation Information

Patent Citations

  • Legal document provision system, program and method

    JP2021064041A