Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4557142B2 - Search system, display processing method, and program - Google Patents
[go: Go Back, main page]

JP4557142B2 - Search system, display processing method, and program - Google Patents

Search system, display processing method, and program Download PDF

Info

Publication number
JP4557142B2
JP4557142B2 JP2004193324A JP2004193324A JP4557142B2 JP 4557142 B2 JP4557142 B2 JP 4557142B2 JP 2004193324 A JP2004193324 A JP 2004193324A JP 2004193324 A JP2004193324 A JP 2004193324A JP 4557142 B2 JP4557142 B2 JP 4557142B2
Authority
JP
Japan
Prior art keywords
search
character string
position information
display
character strings
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004193324A
Other languages
Japanese (ja)
Other versions
JP2006018392A5 (en
JP2006018392A (en
Inventor
英一 高橋
房生 栗田
晃哲 小芝
則晃 菱沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Original Assignee
Canon Marketing Japan Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc filed Critical Canon Marketing Japan Inc
Priority to JP2004193324A priority Critical patent/JP4557142B2/en
Publication of JP2006018392A publication Critical patent/JP2006018392A/en
Publication of JP2006018392A5 publication Critical patent/JP2006018392A5/ja
Application granted granted Critical
Publication of JP4557142B2 publication Critical patent/JP4557142B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、文書ファイルの検索を行うために用いて好適なものである。   The present invention is suitable for use in searching for a document file.

近年、全文検索技術においては、文字列の検索時、単一の検索対象文字列に対する完全一致の他に、部分一致や同義語検索、および2つの検索対象文字列とその間の距離を検索する近傍検索等、様々な検索の種類が考えられ、またその効率的な表示方法も考えられている。   In recent years, in full-text search technology, when searching for a character string, in addition to a complete match for a single search target character string, a partial match or synonym search, and a neighborhood that searches for two search target character strings and the distance between them Various types of search such as search can be considered, and an efficient display method is also considered.

その1つとして、特許文献1には、文書データベースの全文検索結果表示方法が開示されている。特に結果表示において、完全一致、部分一致、同義語検索といった検索の種類に応じ、強調表示の種類を変えると言うものであり、これにより、検索対象文字列の確認を容易にしようとするのものである。   As one of them, Patent Document 1 discloses a full text search result display method of a document database. In particular, in the result display, the type of highlighting is changed according to the type of search, such as exact match, partial match, synonym search, etc., thereby making it easy to check the search target character string It is.

また、特許文献2では、文字列検索結果の確認を容易にするため、検索対象文字列が含まれる文書部分の表示を、例えば、「章」、「節」、「段落」と言う文書内容とは独立した、文書構造に着目し、指定した文書構造内に含まれる検索対象文字列を、順次表示するといった方法が開示されている。   Further, in Patent Document 2, in order to facilitate confirmation of a character string search result, display of a document part including a search target character string includes, for example, document contents such as “chapter”, “section”, and “paragraph”. Discloses an independent method in which the search target character strings included in the designated document structure are sequentially displayed by paying attention to the document structure.

特開平10−269233号公報Japanese Patent Laid-Open No. 10-269233 特開平8−161349号公報JP-A-8-161349

しかしながら、コンピュータを使用した文書データに対する全文検索において、上記に挙げた様な検索結果の表示方法では、異なる複数の検索対象文字列が検索結果に含まれている場合、
(1)表示が煩雑になり、確認しにくい。
(2)特定の検索対象文字列のみに着目し、文書全体を概観する事ができない。
といった問題がある。
However, in the full-text search for document data using a computer, when the search result display method as described above includes a plurality of different search target character strings,
(1) The display becomes complicated and difficult to confirm.
(2) Focusing only on a specific character string to be searched, the entire document cannot be overviewed.
There is a problem.

従って、本発明の目的は、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索を行った際に、近傍検索された2つの文字列の組を表示領域で容易に確認できる仕組みを提供することである。
Therefore, the object of the present invention is to perform a neighborhood search when searching for a search condition including two character strings, the number of characters between strings indicating the number of characters between the two character strings, and a neighborhood search condition. It is to provide a mechanism for easily confirming a set of two character strings in a display area.

本発明の検索システムは、入力装置から入力された複数の検索条件に合致する、文書データの文字列を検索する、文書データを記憶している情報処理装置を含み、当該情報処理装置で検索された結果を表示装置に表示する検索システムであって、前記文書データに対する、前記入力装置から入力された検索条件であって、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索指示を受付ける検索指示受付手段と、前記検索指示受付手段で受付けた検索指示における前記索条件に合致する前記2つの文字列の位置情報を、前記記憶している文書データから検索する検索手段と、前記検索手段で検索された前記2つの文字列の位置情報と、当該2つの文字列間の文字数が前記文字列間文字数と前記近傍検索の条件を満たすか判定する近傍条件判定手段と、前記近傍条件判定手段により前記近傍検索の条件を満たすと判定された前記2つの文字列の位置情報を、近傍検索文字列位置情報に格納する格納手段と、前記近傍検索の結果を表示する指示が前記入力装置から入力された場合に、前記近傍検索された前記2つの文字列の組が表示領域の先頭位置近傍に表示されるように、前記近傍検索文字列位置情報で示される位置、あるいは前記近傍検索文字列位置情報で示される位置に先頭行からのオフセットを持たせた位置が、前記表示領域の先頭行となるようにスクロール表示処理を行う表示制御手段とを備えることを特徴とする。
本発明の表示処理方法は、入力装置から入力された複数の検索条件に合致する、文書データの文字列を検索する、文書データを記憶している情報処理装置を含み、当該情報処理装置で検索された結果を表示装置に表示する検索システムにおける表示処理方法であって、前記検索システムの検索指示受付手段が、前記文書データに対する、前記入力装置から入力された検索条件であって、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索指示を受付ける検索指示受付工程と、前記検索システムの検索手段が、前記検索指示受付工程で受付けた検索指示における前記索条件に合致する前記2つの文字列の位置情報を、前記情報処理装置が記憶している文書データから検索する検索工程と、前記検索システムの検索条件指定画面表示手段が、前記複数の検索条件から一つの検索条件を指定するための検索条件指定画面を表示する検索条件指定画面表示工程と、前記検索システムの近傍条件判定手段が、前記検索工程で検索された前記2つの文字列の位置情報と、当該2つの文字列間の文字数が前記文字列間文字数と前記近傍検索の条件を満たすか判定する近傍条件判定工程と、前記検索システムの格納手段が、前記近傍条件判定工程で前記近傍検索の条件を満たすと判定された前記2つの文字列の位置情報を、近傍検索文字列位置情報に格納する格納工程と、前記検索システムの表示制御手段が、前記近傍検索の結果を表示する指示が前記入力装置から入力された場合に、前記近傍検索された前記2つの文字列の組が表示領域の先頭位置近傍に表示さるように、前記近傍検索文字列位置情報で示される位置、あるいは前記近傍検索文字列位置情報で示される位置に先頭行からのオフセットを持たせた位置が、前記表示領域の先頭行となるようにスクロール表示処理を行う表示制御工程とを備えることを特徴とする。
本発明のプログラムは、入力装置から入力された複数の検索条件に合致する、文書データの文字列を検索する、文書データを記憶している情報処理装置を含み、当該情報処理装置で検索された結果を表示装置に表示する検索システムで実行可能なプログラムであって前記情報処理装置を、前記文書データに対する、前記入力装置から入力された検索条件であって、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索指示を受付ける検索指示受付手段と、前記検索指示受付手段で受付けた検索指示における前記索条件に合致する前記2つの文字列の位置情報を、前記記憶している文書データから検索する検索手段と、前記検索手段で検索された前記2つの文字列の位置情報と、当該2つの文字列間の文字数が前記文字列間文字数と前記近傍検索の条件を満たすか判定する近傍条件判定手段と、前記近傍条件判定手段により前記近傍検索の条件を満たすと判定された前記2つの文字列の位置情報を、近傍検索文字列位置情報に格納する格納手段と、前記近傍検索の結果を表示する指示が前記入力装置から入力された場合に、前記近傍検索された前記2つの文字列の組が表示領域の先頭位置近傍に表示されるように、前記近傍検索文字列位置情報で示される位置、あるいは前記近傍検索文字列位置情報で示される位置に先頭行からのオフセットを持たせた位置が、前記表示領域の先頭行となるようにスクロール表示処理を行う表示制御手段として機能させることを特徴とする
The search system of the present invention includes an information processing device that stores document data, searches for a character string of document data that matches a plurality of search conditions input from an input device, and is searched by the information processing device. A search system that displays the result of the search on the display device, the search condition input from the input device for the document data , and two character strings and a character string indicating the number of characters between the two character strings and between characters, and the search instruction receiving unit that receives a search instruction of the search condition including a condition of neighbor search, the location information of the two strings that match the search conditions in the search instruction received at the reception means search instruction Search means for searching from the stored document data; position information of the two character strings searched by the search means; and the number of characters between the two character strings A proximity condition determination unit that determines whether the number and the condition of the neighborhood search are satisfied, and position information of the two character strings that are determined to satisfy the condition of the neighborhood search by the neighborhood condition determination unit When a storage means for storing information and an instruction to display the result of the neighborhood search are input from the input device, the set of the two character strings searched for the neighborhood is displayed near the head position of the display area. As described above, the position indicated by the vicinity search character string position information or the position indicated by the vicinity search character string position information having an offset from the first line becomes the first line of the display area. And a display control means for performing scroll display processing .
The display processing method of the present invention includes an information processing device that stores document data, searches for a character string of document data that matches a plurality of search conditions input from an input device, and performs a search using the information processing device. A display processing method in a search system for displaying a result obtained on a display device , wherein the search instruction receiving means of the search system is a search condition input from the input device for the document data, and includes two characters A search instruction receiving step for receiving a search instruction for a search condition including a string, a number of characters between character strings indicating the number of characters between the two character strings, and a neighborhood search condition; and a search means of the search system includes the search instruction reception the position information of the two strings that match the search conditions in the search instruction received in step searches the document data to which the information processing apparatus has stored search Engineering When the search condition specifying screen display means of the search system, a search condition specifying screen display step of displaying a search condition specifying screen for specifying one of the search condition from the plurality of search conditions, neighborhood condition of the search system A proximity condition determining step in which a determination unit determines whether the position information of the two character strings searched in the search step and the number of characters between the two character strings satisfy the number of characters between the character strings and the vicinity search condition. And a storage step in which the storage means of the search system stores the position information of the two character strings determined to satisfy the conditions of the vicinity search in the vicinity condition determination step in the vicinity search character string position information, display control means of the retrieval system, when the instruction to display the results of the Neighbor Discovery is inputted from the input device, the neighboring retrieved the two strings set appears territory To so that is displayed near the top position of the vicinity search string position indicated by the position information, or the position which gave the offset from the first line to the position indicated by the vicinity search string position information, wherein A display control step of performing a scroll display process so as to be the first line of the display area .
The program of the present invention includes an information processing device that stores document data, searches for a character string of document data that matches a plurality of search conditions input from an input device, and is searched by the information processing device. A program executable by a search system for displaying a result on a display device , wherein the information processing device is a search condition input from the input device for the document data, and includes two character strings and the 2 One of the string between the number of characters indicating the number of characters between character strings, and search instruction receiving unit that receives a search instruction of the search condition including a condition of proximity searching, matching the search condition in the search instruction received by said search instruction receiving means the position information of the two strings, and search means for searching the document data to the storage, the location information of the searched the two strings in the searching means, those A neighborhood condition determining unit that determines whether the number of characters between two character strings satisfies the condition between the number of characters between the strings and the neighborhood search, and the two conditions that are determined to satisfy the neighborhood search condition by the neighborhood condition determining unit Storage means for storing the position information of the character string in the vicinity search character string position information and the two character strings searched for in the vicinity when an instruction to display the result of the vicinity search is input from the input device The position indicated by the neighborhood search character string position information or the position indicated by the neighborhood search character string position information has an offset from the top row so that the set of It is made to function as a display control means for performing a scroll display process so that the position becomes the first line of the display area .

本発明によれば、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索を行った際に、近傍検索された2つの文字列の組が表示領域の先頭近傍に表示されるように、表示領域のスクロール表示処理を行うので、該近傍検索された2つの文字列の組を容易に確認できる。 According to the present invention, when a search condition including two character strings, the number of characters between the character strings indicating the number of characters between the two character strings, and a search condition including a search condition for the vicinity, Since the display area is scrolled and displayed so that the set of character strings is displayed near the beginning of the display area, the set of two character strings searched in the vicinity can be easily confirmed.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.

図1は、本発明の一実施形態に係る文書検索システムの概略構成を示す図である。サーバ101は、データを一時保存するためのメモリ102、文字列(キーワード)検索の対象となる複数の文書ファイル(SGMLフォーマット、XMLフォーマット等の文書)を格納した文書データベース104、文書データベース104に格納された文書ファイルに対する文字列の検索を行い、検索結果位置が判別できるよう文書ファイルに編集を加えた表示情報を作成するための検索/表示プログラム103、及び、文字列検索の高速化を図るための文字列(キーワード)位置情報が格納された全文検索用インデックスファイル105を備える。   FIG. 1 is a diagram showing a schematic configuration of a document search system according to an embodiment of the present invention. The server 101 stores data in a memory 102 for temporarily storing data, a document database 104 storing a plurality of document files (documents in SGML format, XML format, etc.) to be searched for character strings (keywords), and the document database 104. A search / display program 103 for creating a display information obtained by editing a document file so that a character string is searched for the document file and the search result position can be determined, and for speeding up the character string search The full-text search index file 105 in which character string (keyword) position information is stored.

メモリ102は、図2に示すサーバ101のハードウェア構成上のRAM202内に構成され、文書データベース104、検索/表示プログラム103及び全文検索用インデックスファイル105は、外部メモリ211内に構成される。尚、文書データベース104および全文検索用インデックスファイル105は通信が可能であれば、ネットワーク106に接続しているサーバ101以外のサーバ上に構成されていてもよい。サーバ101はネットワーク106を介してクライアント107とデータの送受信が可能である。   The memory 102 is configured in the RAM 202 on the hardware configuration of the server 101 illustrated in FIG. 2, and the document database 104, the search / display program 103, and the full-text search index file 105 are configured in the external memory 211. The document database 104 and the full-text search index file 105 may be configured on a server other than the server 101 connected to the network 106 as long as communication is possible. The server 101 can send and receive data to and from the client 107 via the network 106.

クライアント107は、検索条件の入力と検索結果の表示を行うためのプログラム又はWebブラウザを搭載する。また、クライアント107は、ネットワーク106を介してサーバ101とのデータの送受信が可能である。図1ではネットワーク106に接続するクライアントは1つのみであるが、複数接続していても良い。また、図1に示すネットワーク106上における各種装置の接続構成は飽くまで一例であり、用途や目的に応じて様々な接続構成があり得る。   The client 107 is equipped with a program or a web browser for inputting search conditions and displaying search results. The client 107 can send and receive data to and from the server 101 via the network 106. In FIG. 1, only one client is connected to the network 106, but a plurality of clients may be connected. Further, the connection configuration of various devices on the network 106 illustrated in FIG. 1 is merely an example, and there may be various connection configurations depending on applications and purposes.

図2は、サーバ101のハードウェア構成を示す図である。CPU201は、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。RAM202は、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をRAM202にロードして、プログラムを実行することで各種動作を実現するものである。   FIG. 2 is a diagram illustrating a hardware configuration of the server 101. The CPU 201 comprehensively controls each device and controller connected to the system bus 204. The ROM 203 or the external memory 211 has a BIOS (Basic Input / Output System) or an operating system program (OS) that is a control program for the CPU 201, and functions necessary for realizing functions executed by each server or each PC. Various programs to be stored are stored. The RAM 202 functions as a main memory, work area, and the like for the CPU 201. The CPU 201 implements various operations by loading a program necessary for execution of processing into the RAM 202 and executing the program.

また、入力コントローラ(入力C)205は、キーボード209や不図示のマウス等のポインティングデバイスからの入力を制御する。ビデオコントローラ(VC)206は、CRTディスプレイ(CRT)210等の表示器への表示を制御する。表示器はCRTだけでなく、液晶ディスプレイでも構わない。メモリコントローラ(MC)207は、ブートプログラム、ブラウザソフトウエア、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ等を記憶するハードディスク(HD)やフレキシブルディスク或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。   An input controller (input C) 205 controls input from a pointing device such as a keyboard 209 or a mouse (not shown). A video controller (VC) 206 controls display on a display device such as a CRT display (CRT) 210. The display device may be a liquid crystal display as well as a CRT. The memory controller (MC) 207 is connected via an adapter to a hard disk (HD), a flexible disk, or a PCMCIA card slot that stores a boot program, browser software, various applications, font data, user files, editing files, various data, and the like. Controls access to an external memory 211 such as a connected CompactFlash (registered trademark) memory.

通信I/Fコントローラ(通信I/FC)208は、ネットワークを介して、外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いたインターネット通信等が可能である。なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   A communication I / F controller (communication I / FC) 208 is connected to and communicates with an external device via a network, and executes communication control processing in the network. For example, Internet communication using TCP / IP is possible. Note that the CPU 201 enables display on the CRT 210 by executing outline font rasterization processing on a display information area in the RAM 202, for example. In addition, the CPU 201 enables a user instruction with a mouse cursor (not shown) on the CRT 210.

検索/表示プログラム103は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。なお、クライアント107は、サーバ101と同様のハードウェア構成を有し、サーバ101と通信してCGI(Common Gateway Interface)等を用いてサーバ101に検索条件を送信し、また検索結果のデータをHTML形式のデータファイルとしてサーバ101から受信してブラウザアプリケーションで表示する。   The search / display program 103 is recorded in the external memory 211, and is executed by the CPU 201 by being loaded into the RAM 202 as necessary. The client 107 has a hardware configuration similar to that of the server 101, communicates with the server 101, transmits a search condition to the server 101 using a CGI (Common Gateway Interface), and the search result data is HTML. The data file is received from the server 101 as a format data file and displayed by the browser application.

図3は、本実施形態に係る文書検索システムの基本的な処理フローを示す図であり、本文書検索システムの処理は、検索条件入力処理(ステップS301)、検索条件に基づく全文検索処理(ステップS302)、及び、全文検索結果に基づく結果表示処理(ステップS303)の3つに大きく分けられる。   FIG. 3 is a diagram showing a basic processing flow of the document search system according to the present embodiment. The process of the document search system includes a search condition input process (step S301) and a full-text search process based on the search condition (step S302) and result display processing based on the full text search result (step S303).

図4は、クライアント107の表示装置108上に表示される検索条件入力画面の構成例(図4(a))、及び、検索条件入力画面上で入力された検索条件がクライアント107からサーバ101に対して送信され、サーバ101のRAM202内において格納された状態の検索条件テーブルの構成例(図4(b))を示す図である。なお、図4(b)に示す検索条件テーブルは、検索条件入力画面上での入力内容に基づきクライアント107内においても保持される。   FIG. 4 shows an example of the configuration of the search condition input screen displayed on the display device 108 of the client 107 (FIG. 4A), and the search conditions input on the search condition input screen are transferred from the client 107 to the server 101. FIG. 4 is a diagram showing a configuration example (FIG. 4B) of a search condition table transmitted to the server and stored in the RAM 202 of the server 101. FIG. Note that the search condition table shown in FIG. 4B is also stored in the client 107 based on the input contents on the search condition input screen.

図3の1番目の処理ステップである検索条件入力処理(ステップS301)では、クライアント107の表示装置108上に表示される検索条件入力画面(図4(a))を用いてユーザによって入力された検索条件(401〜405)が、検索実行ボタン406の押下によりCGIなどを用いてサーバ101に送信され、サーバ101がこれらの検索条件を受信する。図4(a)に示す例では、1文字以上の文字列を検索対象とする検索条件401、402、及び、1文字以上の文字列で開始され(以下、この文字列を開始文字列と称す)、1文字以上の文字列で終了し(以下、この文字列を終了文字列と称す)、且つそれらの2つの文字列間の文字数が指定数(以下、この指定数を文字列間文字数と称す)以下である近傍検索の検索条件403が設定されている。以下、1文字以上の文字列を検索対象とする検索処理を1語検索と称す。   In the search condition input process (step S301) which is the first processing step in FIG. 3, the search condition input screen (FIG. 4 (a)) displayed on the display device 108 of the client 107 is input by the user. The search conditions (401 to 405) are transmitted to the server 101 by using the CGI or the like when the search execution button 406 is pressed, and the server 101 receives these search conditions. In the example shown in FIG. 4A, search conditions 401 and 402 that search for a character string of one or more characters and a character string of one or more characters (hereinafter, this character string is referred to as a start character string). ) It ends with a character string of one or more characters (hereinafter, this character string is referred to as an end character string), and the number of characters between these two character strings is a designated number (hereinafter, this designated number is referred to as the number of characters between character strings). A search condition 403 for neighborhood search that is the following is set. Hereinafter, a search process for searching for a character string of one or more characters is referred to as a one-word search.

サーバ101は、受信した検索条件を検索条件テーブル内に図4(b)に示すような状態で格納する。即ち、図4(b)に示す検索条件テーブル内には、図4(a)に示す検索条件入力画面上における検索条件1入力項目401、検索条件2入力項目402及び検索条件入力項目403で入力された内容が、各検索条件番号(1〜3)に対応して格納される。なお、図4(b)に示す検索条件テーブル上では、「1文字列」が1語検索、「2文字列近傍20」が2つの文字列間の文字数が20文字以下の近傍検索であることを示しており、検索条件1の検索対象文字列が「印刷装置」、検索条件2の検索対象文字列が「プリンタ、検索条件3の検索対象文字列が「給紙(開始文字列)」、「反転(終了文字列)」であることを示している。   The server 101 stores the received search conditions in the search condition table in a state as shown in FIG. That is, in the search condition table shown in FIG. 4B, the search condition input item 401, the search condition 2 input item 402, and the search condition input item 403 on the search condition input screen shown in FIG. The contents thus stored are stored corresponding to the respective search condition numbers (1 to 3). In the search condition table shown in FIG. 4B, “one character string” is a one-word search, and “two character string neighborhood 20” is a neighborhood search in which the number of characters between two character strings is 20 characters or less. The search target character string of the search condition 1 is “printing device”, the search target character string of the search condition 2 is “printer, and the search target character string of the search condition 3 is“ paper feed (start character string) ”, It indicates “inverted (end character string)”.

図5は、図3の2番目の処理ステップである全文検索処理(ステップS302)の詳細を示すフローチャートである。図5に示す処理が実行されることにより、検索結果の表示時に使用される各検索対象文字列の位置情報が全文検索用インデックスファイル105から取得され、図6に示す文字列位置情報テーブル内に格納される。   FIG. 5 is a flowchart showing details of the full text search process (step S302), which is the second process step of FIG. By executing the processing shown in FIG. 5, the position information of each search target character string used when displaying the search result is acquired from the full-text search index file 105 and stored in the character string position information table shown in FIG. Stored.

まず、サーバ101のCPU201は、通信I/Fコントローラ208を介してクライアント107から受信した検索条件が全文検索であるか否かを判定し(ステップS501)、全文検索で無い場合、本実施形態に係る検索結果表示方法を実行せず、処理を終了する。   First, the CPU 201 of the server 101 determines whether or not the search condition received from the client 107 via the communication I / F controller 208 is a full text search (step S501). The search result display method is not executed, and the process ends.

一方、検索条件が全文検索であった場合、CPU201はさらにその検索条件が1語検索の検索条件であるか、近傍検索の検索条件であるかを判定する(ステップS502)。   On the other hand, if the search condition is a full-text search, the CPU 201 further determines whether the search condition is a one-word search condition or a neighborhood search condition (step S502).

1語検索の検索条件である場合(ステップS502/1語検索)、CPU201は全文検索用インデックス105から、検索対象文字列の文書ファイル内における位置情報を当該文書ファイルの先頭から検索し(ステップS503)、検索した順序で図6の文字列位置情報テーブル61内に先頭から登録していく(ステップS504)。なお、この文字列位置情報テーブル61は1語検索の検索条件毎に生成され、ここでは、各検索条件(検索条件1、検索条件2)に対応して2つの文字列位置情報テーブル61が生成されることになる。   If the search condition is one word search (step S502 / 1 word search), the CPU 201 searches the full text search index 105 for the position information in the document file of the character string to be searched from the top of the document file (step S503). ) And are registered from the top in the character string position information table 61 of FIG. 6 in the retrieved order (step S504). This character string position information table 61 is generated for each search condition of one word search. Here, two character string position information tables 61 are generated corresponding to each search condition (search condition 1, search condition 2). Will be.

一方、近傍検索の検索条件である場合(ステップS502/近傍検索)、後述の図7及び図8のフローチャートに示される処理によって、近傍検索の検索対象文字列(開始文字列、終了文字列)の文書ファイル内における位置情報を格納する文字列位置情報テーブル62(図6)が作成される。文字列位置情報テーブル62も近傍検索の検索条件毎に生成され、ここでは、検索条件3に対応して1つの文字列位置情報テーブル62が生成されることになる。   On the other hand, when the search condition is the search condition for the neighborhood search (step S502 / neighbor search), the search target character string (start character string, end character string) for the neighborhood search is processed by the processing shown in the flowcharts of FIGS. A character string position information table 62 (FIG. 6) for storing position information in the document file is created. The character string position information table 62 is also generated for each search condition for the proximity search. Here, one character string position information table 62 is generated corresponding to the search condition 3.

ステップS504又はステップS505に続くステップS506においては、CPU201は、検索条件判定(ステップS501)を図4(b)に格納される全検索条件に対して行なったか否かを判定し(ステップS506)、図4(b)に格納される全検索条件に対してステップS501の検索条件判定を繰返し行うことで、各検索条件に含まれる検索対象文字列の位置情報を図6の文字列位置情報テーブル61、62に格納することができる。   In step S506 following step S504 or step S505, the CPU 201 determines whether the search condition determination (step S501) has been performed for all the search conditions stored in FIG. 4B (step S506). By repeatedly performing the search condition determination in step S501 for all the search conditions stored in FIG. 4B, the position information of the search target character string included in each search condition is converted to the character string position information table 61 in FIG. , 62 can be stored.

図7は、図5のステップS505の詳細を示すフローチャートであり、文書検索システムによる近傍検索の概略動作を示している。   FIG. 7 is a flowchart showing details of step S505 in FIG. 5, and shows a schematic operation of neighborhood search by the document search system.

先ず、CPU201は、現在処理対象となっている近傍検索の検索条件を検索条件テーブル(図4(b))から取得し(ステップS701)、当該検索条件の開始文字列と一致する文字列が存在している位置に関する情報(以下、開始文字列位置情報と称す)を全文検索用インデックスファイル105から取得し、RAM202に記憶させる(ステップS702)。なお、本実施形態では、文書ファイルの先頭から、開始文字列の最初の文字までの文字数を開始文字列位置情報としている。   First, the CPU 201 acquires the search conditions for the neighborhood search that is currently being processed from the search condition table (FIG. 4B) (step S701), and there is a character string that matches the start character string of the search condition. The information about the position (hereinafter referred to as start character string position information) is acquired from the full-text search index file 105 and stored in the RAM 202 (step S702). In the present embodiment, the number of characters from the beginning of the document file to the first character of the start character string is used as start character string position information.

そして、CPU201は、開始文字列と一致する文字列が文書ファイル内に存在していたか否かを判断する(ステップS703)。この判断の結果、開始文字列と一致する文字列が文書ファイル内に存在していなかった場合、CPU201は、ステップS505の処理を終了して、続くステップS506の処理に移行する。   Then, the CPU 201 determines whether or not a character string that matches the start character string exists in the document file (step S703). As a result of the determination, if a character string that matches the start character string does not exist in the document file, the CPU 201 ends the process of step S505, and proceeds to the subsequent process of step S506.

こうして、ステップS703において、開始文字列と一致する文字列が文書ファイル内に存在していたと判断すると、CPU201は、当該検索条件の終了文字列と一致する文字列が存在している位置に関する情報(以下、終了文字列位置情報と称す)を全文検索用インデックスファイル105から取得し、RAM202に記憶させる(ステップS704)。なお、本実施形態では、文書ファイルの先頭から、終了文字列の最初の文字までの文字数を終了文字列位置情報としている。   In this way, if it is determined in step S703 that a character string that matches the start character string exists in the document file, the CPU 201 stores information on a position where a character string that matches the end character string of the search condition exists ( Hereinafter, the end character string position information) is acquired from the full-text search index file 105 and stored in the RAM 202 (step S704). In the present embodiment, the number of characters from the beginning of the document file to the first character of the end character string is used as the end character string position information.

そして、CPU201は、ステップS704の処理において、終了文字列と一致する文字列が文字ファイル内に存在していたか否かを判断する(ステップS705)。この判断の結果、終了文字列と一致する文字列が文書ファイル内に存在しなかった場合、CPU201は、ステップS505の処理を終了して、続くステップS506の処理に移行する。   Then, the CPU 201 determines whether or not a character string that matches the end character string exists in the character file in the process of step S704 (step S705). As a result of the determination, if a character string that matches the end character string does not exist in the document file, the CPU 201 ends the process of step S505 and proceeds to the subsequent step S506.

続いて、CPU201は、以上のようにして、開始文字列位置情報と終了文字列位置情報とが共に取得された文書ファイルについて、これら開始文字列位置情報と終了文字列位置情報とを、位置情報が小さい順番から昇順にマージ(統合)し、マージした位置情報(以下、マージ位置情報と称す)をRAM202に記憶させる(ステップS706)。   Subsequently, the CPU 201 uses the start character string position information and the end character string position information as position information for the document file in which the start character string position information and the end character string position information are acquired as described above. Are merged (incorporated) in ascending order from the smallest, and the merged position information (hereinafter referred to as merge position information) is stored in the RAM 202 (step S706).

次に、CPU201は、ステップS706で作成したマージ位置情報を用いて、マージ情報内隣接位置取得処理を行う(ステップS707)。このマージ情報内隣接位置取得処理では、先ず、CPU201は、RAM202からマージ位置情報を読み出して、開始文字列と終了文字列との組合せが、文字列間文字数内に複数存在するか否かを判断する。この判断の結果、開始文字列と終了文字列との組合せが、文字列間文字数内に複数ある場合には、これら複数の開始文字列と終了文字列との組合せのうち、最も近接している開始文字列と終了文字列との組合せを、近傍検索における最適な組合せとする。一方、開始文字列と終了文字列との組合せが、文字列間文字数内に1つしかない場合には、その組合せを近傍検索における最適な組合せとする。このように最適な組合せとされた開始文字列と終了文字列との夫々の位置情報の組合せが文字列位置情報テーブル62内に格納される。これにより最適な組合せのみが選択され検索結果表示の際に検索対象文字列として強調表示する文字列がいたずらに増えることを抑止できるためより見やすい表示を提供することが可能である。   Next, the CPU 201 performs merge information adjacent position acquisition processing using the merge position information created in step S706 (step S707). In this merge information adjacent position acquisition process, first, the CPU 201 reads merge position information from the RAM 202, and determines whether or not there are a plurality of combinations of start character strings and end character strings within the number of characters between character strings. To do. As a result of this determination, when there are a plurality of combinations of the start character string and the end character string within the number of characters between the character strings, the closest combination among the combinations of the plurality of start character strings and end character strings. The combination of the start character string and the end character string is the optimum combination in the neighborhood search. On the other hand, when there is only one combination of the start character string and the end character string in the number of characters between character strings, that combination is determined as the optimum combination in the neighborhood search. The combinations of the position information of the start character string and the end character string that are optimally combined as described above are stored in the character string position information table 62. As a result, only the optimum combination is selected, and it is possible to prevent an unnecessarily increase in the number of character strings to be highlighted as search target character strings when displaying the search results, thereby providing a more easily visible display.

図8は、上記のマージ情報内隣接位置取得処理(S707)の詳細を示すフローチャートである。
先ず、CPU201は、現在処理対象となっている近傍検索の検索条件(以下、近傍検索条件と称す)を図4(b)の検索条件テーブルから取得する(ステップS801)。そして、CPU201は、図7のステップS706にて作成されたマージ位置情報の先頭に検索ポインタをセットし(ステップS802)、その検索ポインタが示している文字列が、ステップS801で取得した近傍検索条件に含まれる開始文字列と一致するか否かを判定する(ステップS803)。
FIG. 8 is a flowchart showing details of the merge information adjacent position acquisition processing (S707).
First, the CPU 201 obtains a search condition for a neighborhood search (hereinafter referred to as a neighborhood search condition) that is the current processing target from the search condition table of FIG. 4B (step S801). Then, the CPU 201 sets a search pointer at the head of the merge position information created in step S706 of FIG. 7 (step S802), and the character string indicated by the search pointer is the neighborhood search condition acquired in step S801. It is determined whether or not it matches the start character string included in (step S803).

この判定の結果、これらの文字列の不一致の場合、CPU201は、検索ポインタの位置を次の文字列に移動させ(ステップS804)、検索ポインタの位置がマージ位置情報の最後であるか否かを判定する(ステップS805)。この判定の結果、検索ポインタの位置がマージ位置情報の最後である場合、CPU201は、図4(b)の検索条件テーブルを参照して、次の近傍検索条件が存在するか否かを判定する(ステップS816)。この判定の結果、次の近傍検索条件が存在する場合には、次の近傍検索条件を取得し、検索ポインタをマージ位置情報の先頭に戻す(ステップS801、S802)。   If the result of this determination is that these character strings do not match, the CPU 201 moves the position of the search pointer to the next character string (step S804), and determines whether or not the position of the search pointer is the end of the merge position information. Determination is made (step S805). If the result of this determination is that the position of the search pointer is the last of the merge position information, the CPU 201 refers to the search condition table in FIG. 4B to determine whether or not the next neighborhood search condition exists. (Step S816). If the result of this determination is that the next neighborhood search condition exists, the next neighborhood search condition is acquired, and the search pointer is returned to the head of the merge position information (steps S801 and S802).

前記ステップS803において、検索ポインタが示している文字列が、ステップS801で取得した近傍検索条件の開始文字列と一致する場合、CPU201は、その検索ポインタの位置情報を開始文字列位置情報としてRAM202に記憶させた後(ステップS806)、その検索ポインタを次の文字列に移行させる(ステップS807)。続いて、CPU201は、検索ポインタの位置がマージ位置情報の最後であるか否かを判定し(ステップS808)、検索ポインタの位置がマージ位置情報の最後である場合、検索条件テーブルを参照して、次の近傍検索の検索条件が存在するか否かを判定する(ステップS816)。   In step S803, when the character string indicated by the search pointer matches the start character string of the neighborhood search condition acquired in step S801, the CPU 201 stores the position information of the search pointer in the RAM 202 as start character string position information. After storing (step S806), the search pointer is shifted to the next character string (step S807). Subsequently, the CPU 201 determines whether or not the position of the search pointer is the end of the merge position information (step S808). If the position of the search pointer is the end of the merge position information, refer to the search condition table. Then, it is determined whether or not a search condition for the next neighborhood search exists (step S816).

一方、ステップS808の判定において、検索ポインタの位置がマージ位置情報の最後でない場合、CPU201は、検索ポインタが示している文字列が、ステップS801で取得した近傍検索条件の開始文字列と一致するか否かを判定する(ステップS809)。この判定の結果、これらの文字列が一致する場合、CPU201は、RAM202の記録内容を書き換えて、検索ポインタの位置情報を更新する(ステップS806)。   On the other hand, if it is determined in step S808 that the position of the search pointer is not the end of the merge position information, the CPU 201 determines whether the character string indicated by the search pointer matches the start character string of the neighborhood search condition acquired in step S801. It is determined whether or not (step S809). If these character strings match as a result of this determination, the CPU 201 rewrites the recorded contents of the RAM 202 and updates the position information of the search pointer (step S806).

一方、検索ポインタが示している文字列が、ステップS801で取得した近傍検索条件の開始文字列と一致しない場合、CPU201は、検索ポインタが示している文字列が、ステップS801で取得した近傍検索条件の終了文字列と一致するか否かを判定する(ステップS810)。この判定の結果、これらの文字列が一致しない場合、CPU201は、検索ポインタを次の文字列に移動させる(ステップS807)。   On the other hand, if the character string indicated by the search pointer does not match the start character string of the neighborhood search condition acquired in step S801, the CPU 201 determines that the character string indicated by the search pointer is the neighborhood search condition acquired in step S801. It is determined whether or not it matches the end character string (step S810). As a result of the determination, if these character strings do not match, the CPU 201 moves the search pointer to the next character string (step S807).

一方、検索ポインタが示している文字列が、ステップS801で取得した近傍検索条件の終了文字列と一致する場合、CPU201は、現在の検索ポインタの位置情報を終了文字列位置情報としてRAM202に記憶させる(ステップS811)。   On the other hand, when the character string indicated by the search pointer matches the end character string of the neighborhood search condition acquired in step S801, the CPU 201 stores the current search pointer position information in the RAM 202 as the end character string position information. (Step S811).

以上のように、ステップS806で開始文字列位置情報が記憶され、且つステップS811で終了文字列位置情報が記憶されると、CPU201は、それら開始文字列位置情報と終了文字列位置情報との間の距離(ここでは、文字数)を求め、求めた距離が、ステップS801で取得した近傍検索条件の文字列間文字数以下であるか否かを判定する(ステップS812)。   As described above, when the start character string position information is stored in step S806 and the end character string position information is stored in step S811, the CPU 201 determines whether the start character string position information and the end character string position information are between them. The distance (here, the number of characters) is obtained, and it is determined whether or not the obtained distance is less than or equal to the number of characters between character strings in the neighborhood search condition obtained in step S801 (step S812).

このようにして行われるステップS812の判定の結果、開始文字列位置情報と終了文字列位置情報との間の距離が、文字列間文字数以下である場合、CPU201は、ステップS806で記憶された開始文字列位置情報と、ステップS811で記憶された終了文字列位置情報とを識別することができるように、マージ位置情報にマーキングを行う(ステップS813)。このようにマーキングされた開始文字列位置情報と終了文字列位置情報との各組合せが順次、文字列位置情報テーブル62内に格納される。   If the distance between the start character string position information and the end character string position information is equal to or less than the number of characters between character strings as a result of the determination in step S812 performed in this way, the CPU 201 starts the process stored in step S806. The merge position information is marked so that the character string position information and the end character string position information stored in step S811 can be identified (step S813). Each combination of the start character string position information and the end character string position information marked in this manner is sequentially stored in the character string position information table 62.

そして、検索ポインタの位置を次の文字列に移動させ(ステップS814)、移動させた検索ポインタの位置がマージ位置情報の最後であるか否かを判定する(ステップS815)。この判定の結果、移動させた検索ポインタの位置がマージ位置情報の最後でない場合には、検索ポインタの位置がマージ位置情報の最後になるまで、ステップS803〜ステップS815の処理を繰り返し行う。   Then, the position of the search pointer is moved to the next character string (step S814), and it is determined whether or not the position of the moved search pointer is the last of the merge position information (step S815). If the result of this determination is that the position of the moved search pointer is not the end of the merge position information, the processing from step S803 to step S815 is repeated until the position of the search pointer reaches the end of the merge position information.

一方、前記ステップS815において、移動させた検索ポインタの位置がマージ位置情報の最後である場合には、CPU201は、図4(b)の検索条件テーブルを参照して、次の近傍検索の検索条件が存在するか否かを判定し(ステップS816)、全ての近傍検索の検索条件について処理を行うまで、ステップS801〜ステップS816の処理を行う。こうして、全ての近傍検索の検索条件について処理を終えると、図5のステップS505の処理を終了し、続くステップS506の処理へ移行する。   On the other hand, if the position of the moved search pointer is the last of the merge position information in step S815, the CPU 201 refers to the search condition table in FIG. Is determined (step S816), and the processing from step S801 to step S816 is performed until the processing is performed for all the neighborhood search conditions. Thus, when the processing is completed for all the search conditions for the neighborhood search, the processing in step S505 in FIG. 5 is terminated, and the processing proceeds to the subsequent step S506.

次に、図9及び図10を参照しながら、本文書検索システムによる検索結果表示方法について説明する。   Next, a search result display method by the document search system will be described with reference to FIGS.

サーバ101は、検索対象となっている文書ファイル及び図6に示す当該文書ファイルに対応する文字列位置情報テーブル61、62をクライアント107に対して送信する(ステップS9101、S9102)。   The server 101 transmits the document file to be searched and the character string position information tables 61 and 62 corresponding to the document file shown in FIG. 6 to the client 107 (steps S9101 and S9102).

次に、クライアント107側の処理について説明するが、以下の説明において用いるハードウェア構成は全てクライアント107内に構成されるものとし、クライアント107も図2に示すサーバ101のハードウェア構成と同様の構成を有するため、ここでは各ハードウェア構成に図2の符号を付して説明する。   Next, processing on the client 107 side will be described. It is assumed that all hardware configurations used in the following description are configured in the client 107, and the client 107 has the same configuration as the hardware configuration of the server 101 shown in FIG. Here, each hardware configuration will be described with the reference numerals in FIG.

クライアント107のCPU201は、通信I/Fコントローラ208を介してサーバ101から受信した文書ファイル及び文字列位置情報テーブル61、62を、外部メモリ211又はRAM202内に格納した後、CRT210(表示装置108)上に検索結果の移動表示用画面(図11)を表示させる(ステップS9201〜S9203)。   The CPU 201 of the client 107 stores the document file and character string position information tables 61 and 62 received from the server 101 via the communication I / F controller 208 in the external memory 211 or the RAM 202, and then the CRT 210 (display device 108). The search result moving display screen (FIG. 11) is displayed on the top (steps S9201 to S9203).

続いて、CPU201は、検索条件テーブル(図4(b))の先頭レコード(検索条件1のレコード)を取得し、取得したレコード内の文字列項目に格納される検索対象文字列を移動対象文字列として移動対象文字列テーブル1201(図12)に記録することにより、移動対象文字列テーブル1201を初期化する(ステップS9204)。移動対象文字列テーブル1201は、図11の移動操作用画面上の移動ボタン1105〜1108により或いはジャンプ機能の開始時に初期条件で設定され、スクロール表示によりフレーム(表示領域)の先頭位置付近に表示する位置制御対象になる文字列がRAM202に格納されていることを示す。例えば、ここでは「印刷装置」がジャンプ機能による表示制御の対象として格納されているが、「プリンタ」の右横の移動ボタン1106が押下された場合には、移動対象文字列テーブル1201内において「プリンタ」が上書きされる。   Subsequently, the CPU 201 acquires the first record (record of search condition 1) of the search condition table (FIG. 4B), and sets the search target character string stored in the character string item in the acquired record as the movement target character. The movement target character string table 1201 is initialized by recording it as a column in the movement target character string table 1201 (FIG. 12) (step S9204). The movement target character string table 1201 is set as an initial condition by using the movement buttons 1105 to 1108 on the movement operation screen in FIG. 11 or at the start of the jump function, and is displayed near the head position of the frame (display area) by scroll display. This indicates that the character string to be subjected to position control is stored in the RAM 202. For example, here, “printing device” is stored as a display control target by the jump function. However, when the movement button 1106 on the right side of “printer” is pressed, “printing device” is stored in the movement target character string table 1201. "Printer" is overwritten.

続いて、CPU201は、検索条件テーブル(図4(b))から検索条件1、2の検索対象文字列と検索条件3の検索対象文字列である開始文字列とを取得するとともに、検索条件1、2に対応する各文字列位置情報テーブル61から先頭レコードに格納される文字列位置情報と、検索条件3に対応する文字列位置情報テーブル62から先頭レコードに格納される開始文字列位置情報とを取得する。   Subsequently, the CPU 201 acquires the search target character strings of the search conditions 1 and 2 and the start character string that is the search target character string of the search condition 3 from the search condition table (FIG. 4B), and the search condition 1 2, the character string position information stored in the first record from each character string position information table 61 corresponding to 2, and the start character string position information stored in the first record from the character string position information table 62 corresponding to the search condition 3 To get.

次に、クライアント107は、検索対象文字列と文字列位置情報、開始文字列と開始文字列位置情報とを各検索条件1〜3に夫々対応付けて、図12に示すような状態で表示位置情報テーブル1202内に格納し、表示位置情報テーブル1202を初期化する(ステップS9205)。   Next, the client 107 associates the search target character string and the character string position information, the start character string and the start character string position information with the search conditions 1 to 3, respectively, and displays the display position in the state shown in FIG. The information is stored in the information table 1202, and the display position information table 1202 is initialized (step S9205).

続いて、クライアント107は、後述するスクロール処理を実行する(ステップS9206)。   Subsequently, the client 107 executes scroll processing described later (step S9206).

続いて、クライアント107は、ユーザによる図11の移動操作用画面上におけるアクションを待つ。図11の移動操作用画面上には、検索条件テーブル(図4(b))に格納される各検索条件1〜3に基づいて、各表示項目1101〜1103に夫々の検索条件を示す情報が表示されるとともに、各表示項目1101〜1104に対応して移動ボタン1105〜1108及び移動の指示を中止するための終了ボタン1109が用意されている。なお、図11の例では、1語検索の場合は検索対象文字列のみが示され、近傍検索の場合、検索対象文字列である開始文字列及び終了文字列、並びに文字列間文字数が示される。   Subsequently, the client 107 waits for an action on the moving operation screen of FIG. 11 by the user. On the moving operation screen of FIG. 11, information indicating each search condition is displayed in each display item 1101 to 1103 based on each search condition 1 to 3 stored in the search condition table (FIG. 4B). In addition to being displayed, move buttons 1105 to 1108 and an end button 1109 for canceling the move instruction are prepared corresponding to the display items 1101 to 1104. In the example of FIG. 11, only the search target character string is shown in the case of one-word search, and the start character string and end character string that are search target character strings and the number of characters between the character strings are shown in the case of proximity search. .

移動ボタン1105〜1108が押下された場合には(ステップS9207/移動ボタン)、CPU201は、押下された移動ボタンに対応する検索条件の検索対象文字列が、移動対象文字列テーブル1201内に現在格納されている移動対象文字列と一致するか否かを判定する(ステップS9208)。一方、終了ボタン1109が押下された場合には(ステップS9207/終了ボタン)、本検索結果表示処理を終了する。   When the move buttons 1105 to 1108 are pressed (step S9207 / move button), the CPU 201 stores the search target character string of the search condition corresponding to the pressed move button currently in the move target character string table 1201. It is determined whether or not the character string matches the character string to be moved (step S9208). On the other hand, when the end button 1109 is pressed (step S9207 / end button), the search result display processing is ended.

押下された移動ボタンに対応する検索条件の検索対象文字列と、移動対象文字列テーブル1201内に現在格納されている移動対象文字列とが一致する場合、CPU201は、移動対象文字列テーブル1201に現在格納されている移動対象文字列と同じ検索対象文字列の文字列位置情報を、表示位置情報テーブル1202から取得するとともに、該当する文字列位置情報テーブル61、62から次のレコードに格納される文字列位置情報を取得する(ステップS9209)。   When the search target character string of the search condition corresponding to the pressed move button and the movement target character string currently stored in the movement target character string table 1201 match, the CPU 201 stores in the movement target character string table 1201. The character string position information of the same search target character string as the currently stored movement target character string is acquired from the display position information table 1202 and stored in the next record from the corresponding character string position information tables 61 and 62. Character string position information is acquired (step S9209).

続いて、CPU201は、ステップS9209において文字列位置情報テーブル61、62から次のレコードに格納される文字列位置情報が取得できたか否かを判定する(ステップS9210)。次のレコードに格納される文字列位置情報が取得できたと判定された場合、CPU201は、表示位置情報テーブル1202の当該検索対象文字列に該当する項目12021に取得した文字列位置情報を格納し、項目12021を更新する(ステップS9211)。   Subsequently, the CPU 201 determines whether or not the character string position information stored in the next record can be acquired from the character string position information tables 61 and 62 in step S9209 (step S9210). When it is determined that the character string position information stored in the next record has been acquired, the CPU 201 stores the acquired character string position information in the item 12021 corresponding to the search target character string in the display position information table 1202; The item 12021 is updated (step S9211).

一方、次のレコードに格納される文字列位置情報が取得できなかったと判定された場合、CPU201は、表示位置情報テーブル1202の当該検索対象文字列に該当する項目12021に、該当する文字列位置情報テーブル61、62の先頭レコードの文字列位置情報を格納し、項目12021を更新する(ステップS9212)。   On the other hand, if it is determined that the character string position information stored in the next record could not be acquired, the CPU 201 displays the corresponding character string position information in the item 12021 corresponding to the search target character string in the display position information table 1202. The character string position information of the first record of the tables 61 and 62 is stored, and the item 12021 is updated (step S9212).

また、ステップS9208において、押下された移動ボタンに対応する検索条件の検索対象文字列と、移動対象文字列テーブル1201内に現在格納されている移動対象文字列とが一致しないと判定された場合、CPU201は、押下された移動ボタンに対応する検索条件の検索対象文字列を新たな移動対象文字列として移動対象文字列テーブル1201に格納する(ステップS9213)。   If it is determined in step S 9208 that the search target character string of the search condition corresponding to the pressed move button does not match the movement target character string currently stored in the movement target character string table 1201, The CPU 201 stores the search target character string of the search condition corresponding to the pressed move button in the movement target character string table 1201 as a new movement target character string (step S9213).

続いて、CPU201は、当該移動対象文字列と同じ検索対象文字列を含む検索条件に対応する文字列位置情報テーブル61、62から、先頭レコードに格納される文字列位置情報を取得し、当該移動対象文字列と同じ検索対象文字列に対応する表示位置情報テーブル1202内の項目12021に格納する(ステップS9214)。   Subsequently, the CPU 201 acquires the character string position information stored in the first record from the character string position information tables 61 and 62 corresponding to the search condition including the same search target character string as the movement target character string, and the movement Stored in the item 12021 in the display position information table 1202 corresponding to the same search target character string as the target character string (step S9214).

図10は、クライアント107のスクロール表示処理(S9206)を示すフローチャートである。本フローチャートに示される表示制御処理は、C#、Java(登録商標)Scriptで記述されたソフトウェアを用いれば、Dynamic HTML等を用いてWebブラウザアプリケーションに対して行うことが可能である。   FIG. 10 is a flowchart showing the scroll display process (S9206) of the client 107. The display control process shown in this flowchart can be performed on a Web browser application using Dynamic HTML or the like if software written in C # and Java (registered trademark) Script is used.

CPU201は、移動対象文字列テーブル1201に格納されている検索対象文字列に対応する文字列位置情報を表示位置情報テーブル1202から取得する(ステップS1001)。   The CPU 201 acquires character string position information corresponding to the search target character string stored in the movement target character string table 1201 from the display position information table 1202 (step S1001).

ステップS1002では、CPU201がサーバ101から受信した文書ファイルを基にHTMLデータファイルを生成するものである。ここではステップS1001で取得した文字列位置情報で示される位置に例えば<a name="hit">のアンカータグを挿入し、さらにはその位置に対して強調表示を行うタグを挿入したHTMLデータファイル(例えば「DocData.html」とする)を生成するものである。さらに表示のため、生成したHTMLデータファイルDocData.htmlとは別に<FRAMESET>、<FRAME>などのタグを用いてフレームを定義したHTMLデータファイル(例えば「Display.html」とする)を生成し、その中に文書データから生成したHTMLデータファイルDocData.htmlを読み込むようにした入れ子のHTMLデータファイルDisplay.htmlを生成するものである。また、前回文書データから生成したHTMLデータファイルがあれば破棄して、今回生成したHTMLデータファイルを表示に用いる。フレーム定義に関するHTMLデータファイルは共通に使えるので一度生成した後はそのまま流用可能である。   In step S1002, the CPU 201 generates an HTML data file based on the document file received from the server 101. Here, an HTML data file in which an anchor tag of <a name="hit">, for example, is inserted at the position indicated by the character string position information acquired in step S1001, and a tag for highlighting the position is further inserted. (For example, “DocData.html”). In addition to the generated HTML data file DocData.html, an HTML data file (for example, “Display.html”) that defines a frame using tags such as <FRAMESET> and <FRAME> is generated for display. A nested HTML data file Display.html in which an HTML data file DocData.html generated from document data is read is generated. Also, if there is an HTML data file generated from the previous document data, it is discarded and the HTML data file generated this time is used for display. Since the HTML data file related to the frame definition can be used in common, once it is generated, it can be used as it is.

ステップS1003においては、href="hit"により、文書ファイルから生成したHTMLデータファイルDocData.htmlのアンカータグ部分(<a name="hit">)を参照させることで、ブラウザ上に表示されるフレームの先頭に表示させることが可能である。   In step S1003, the frame displayed on the browser by referring to the anchor tag portion (<a name="hit">) of the HTML data file DocData.html generated from the document file by href = "hit". It is possible to display at the head of.

また、変形例としては、hrefで参照させた部分からscrollTopで高さを測って変数aとして格納し、変数aを利用してscroll(x,a-y)(x、yは表示画面に対し、縦方向及び横方向へのスクロール移動量を表す固定値)のように制御することで先頭行からのオフセットを持たせることが可能である。   As a modification, the height is measured with scrollTop from the part referred to by href and stored as a variable a. Using variable a, scroll (x, ay) (x and y are vertical to the display screen. (Fixed value indicating the amount of scroll movement in the horizontal and horizontal directions) can be controlled to have an offset from the first line.

ステップS1004は、実際にはブラウザアプリケーションがその機能において行うものであり、強調表示用に挿入されているタグによって強調表示がなされるものである。前述の様に、先頭行からのオフセットを持たせた場合、検索対象文字列の直前の行を視認することが可能となるため、前後の文書のつながりが把握でき、強調表示を行っている検索対象文字列が有用な情報であるかを判断しやすくなる。   Step S1004 is actually performed by the browser application in its function, and is highlighted by the tag inserted for highlighting. As mentioned above, if you have an offset from the first line, it is possible to see the line immediately before the search target character string, so you can grasp the connection between the previous and next documents, and perform a highlighted display It becomes easier to determine whether the target character string is useful information.

以上のようなスクロール表示制御による表示フレームの遷移を図13〜図15に示す。図13は、図11の移動操作用画面上において「印刷装置」に対応する移動ボタン1105が押下された場合の表示フレームの遷移を示している。1301は検索対象の文書ファイルであり、1302は表示フレームである。図13に示すように、「印刷装置」に対応する移動ボタン1105が押下される度に、文書ファイル1301の先頭から文字列「印刷装置」が順次検索結果として表示フレーム1302内に表示され、且つ常に表示フレーム1302内において文字列「印刷装置」が先頭位置近傍に表示されるように制御される。   Transition of the display frame by the scroll display control as described above is shown in FIGS. FIG. 13 shows transition of display frames when the move button 1105 corresponding to “printing apparatus” is pressed on the move operation screen of FIG. Reference numeral 1301 denotes a document file to be searched, and reference numeral 1302 denotes a display frame. As shown in FIG. 13, each time the move button 1105 corresponding to “printing device” is pressed, the character string “printing device” is sequentially displayed in the display frame 1302 as a search result from the top of the document file 1301. Control is performed so that the character string “printing device” is always displayed in the vicinity of the head position in the display frame 1302.

図14は、図11の移動操作用画面上において「プリンタ」に対応する移動ボタン1106が押下された場合の表示フレームの遷移を示している。1401は検索対象の文書ファイルであり、1402は表示フレームである。図14に示すように、「プリンタ」に対応する移動ボタン1106が押下される度に、文書ファイル1401の先頭から文字列「プリンタ」が順次検索結果として表示フレーム1302内に表示され、且つ常に表示フレーム1402内において文字列「プリンタ」が先頭位置近傍に表示されるように制御される。   FIG. 14 shows the transition of display frames when the move button 1106 corresponding to “printer” is pressed on the move operation screen of FIG. Reference numeral 1401 denotes a document file to be searched, and reference numeral 1402 denotes a display frame. As shown in FIG. 14, each time the move button 1106 corresponding to “printer” is pressed, the character string “printer” is sequentially displayed as a search result in the display frame 1302 from the top of the document file 1401 and always displayed. The character string “printer” is controlled to be displayed in the vicinity of the head position in the frame 1402.

図15は、図11の移動操作用画面上において「給紙@20文字以内@反転」に対応する移動ボタン1107が押下された場合の表示フレームの遷移を示している。1501は検索対象の文書ファイルであり、1502は表示フレームである。図15に示すように、「給紙@20文字以内@反転」に対応する移動ボタン1107が押下される度に、文書ファイル1501の先頭から文字列間文字数が20文字の開始文字列「給紙」と終了文字列「反転」の組が順次検索結果として表示フレーム1502内に表示され、且つ常に表示フレーム1502内において開始文字列「給紙」と終了文字列「反転」の組が先頭位置近傍に表示されるように制御される。   FIG. 15 shows the transition of the display frame when the move button 1107 corresponding to “paper feed @within 20 characters @ reverse” is pressed on the move operation screen of FIG. Reference numeral 1501 denotes a document file to be searched, and reference numeral 1502 denotes a display frame. As shown in FIG. 15, each time the move button 1107 corresponding to “paper feed @within 20 characters @reverse” is pressed, a start character string “paper feed” with 20 characters between the character strings from the top of the document file 1501 is displayed. ”And the end character string“ reverse ”are sequentially displayed in the display frame 1502 as search results, and the start character string“ feed ”and end character string“ reverse ”are always near the top position in the display frame 1502. It is controlled to be displayed.

上記実施形態においてはサーバ101で検索機能を具備し文書データ中における検索対象文字列の存在する位置情報テーブルを生成しており、クライアント端末のソフトウェアを用いてスクロール表示のためのHTML作成を行う構成としていたが、他の実施態様としては全ての機能をサーバ101で具備し文書データと文字列情報テーブルからHTMLのデータを生成してクライアント端末に送信し、クライアント端末では送信されてくるHTMLを表示することでも実現できる。この場合、サーバ101ではクライアント端末に図11の条件一覧の画面を提供し(S9023で行った起動処理に相当する処理をサーバ101が提供)クライアントから選択された情報(パラメータ)をCGIやその他のweb技術によりサーバ101に渡すことが必要となる。他の処理では送受信処理に相当する部分がサーバ101内でローカルに行われるため省略されサーバ101内のRAMやハードディスクからのデータ読み出しにより実現され、サーバ101は結果のHTMLをクライアント端末に送信するステップを追加すればよい。ただし、クライアント端末で表示制御を行う場合のほうがシステム全体の負荷が軽減されクライアント端末からの要求に対してのレスポンスが向上できることは言うまでもない。   In the above embodiment, the server 101 has a search function, generates a position information table in which the search target character string exists in the document data, and creates HTML for scroll display using the software of the client terminal. However, as another embodiment, the server 101 has all the functions, generates HTML data from the document data and the character string information table and transmits it to the client terminal, and the client terminal displays the transmitted HTML. Can also be realized. In this case, the server 101 provides the client terminal with the condition list screen shown in FIG. 11 (the server 101 provides a process corresponding to the activation process performed in S9023). It is necessary to pass to the server 101 by the web technology. The other processing is omitted because the portion corresponding to the transmission / reception processing is performed locally in the server 101, and is omitted by reading data from the RAM or hard disk in the server 101. The server 101 transmits the resulting HTML to the client terminal. Should be added. However, it goes without saying that when the display control is performed at the client terminal, the load on the entire system is reduced and the response to the request from the client terminal can be improved.

また、サーバ101側では、自ら生成したHTMLデータに基づいて、図10のステップS1003及びステップS1004に示すクライアント端末と同様の表示制御を行い、サーバ101のCRT210上において検索対象文字列を表示フレームの先頭位置近傍に強調表示することも可能である。   Further, the server 101 performs display control similar to the client terminal shown in steps S1003 and S1004 in FIG. 10 based on the HTML data generated by itself, and the search target character string is displayed on the CRT 210 of the server 101 in the display frame. It is also possible to highlight in the vicinity of the head position.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. Needless to say, a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の一実施形態に係る文書検索システムの概略構成を示す図である。It is a figure which shows schematic structure of the document search system which concerns on one Embodiment of this invention. サーバ又はクライアントのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a server or a client. 文書検索システムの基本的な処理を示すフローチャートである。It is a flowchart which shows the basic process of a document search system. 検索条件入力画面及び検索条件テーブルの構成例を示す図である。It is a figure which shows the structural example of a search condition input screen and a search condition table. 全文検索処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a full text search process. 文字列位置情報テーブルの構成を示す図である。It is a figure which shows the structure of a character string position information table. 文書検索システムによる近傍検索の概略動作を示すフローチャートである。It is a flowchart which shows schematic operation | movement of the neighborhood search by a document search system. マージ情報内隣接位置取得処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the adjacent position acquisition process in merge information. 文書検索システムによる検索結果表示処理を示すフローチャートである。It is a flowchart which shows the search result display process by a document search system. 文書検索システムによる検索結果表示処理を示すフローチャートである。It is a flowchart which shows the search result display process by a document search system. 移動表示用画面の構成例を示す図である。It is a figure which shows the structural example of the screen for a movement display. 移動対象文字列テーブル及び表示位置情報テーブルの構成例を示す図である。It is a figure which shows the structural example of a movement object character string table and a display position information table. 図11の移動操作用画面上において「印刷装置」に対応する移動ボタンが押下された場合の表示フレームの遷移を示す図である。FIG. 12 is a diagram showing transition of display frames when a move button corresponding to “printing device” is pressed on the move operation screen of FIG. 11. 図11の移動操作用画面上において「プリンタ」に対応する移動ボタンが押下された場合の表示フレームの遷移を示す図である。FIG. 12 is a diagram showing transition of display frames when a move button corresponding to “printer” is pressed on the move operation screen of FIG. 11. 図11の移動操作用画面上において「給紙@20文字以内@反転」に対応する移動ボタンが押下された場合の表示フレームの遷移を示す図である。FIG. 12 is a diagram showing transition of display frames when a move button corresponding to “paper feed @within 20 characters @ reverse” is pressed on the move operation screen of FIG. 11.

符号の説明Explanation of symbols

101:サーバ
102:メモリ
103:検索/表示プログラム
104:文書データベース
105:全文検索用インデックスファイル
106:ネットワーク
107:クライアント
108:表示装置
109:入力装置
201:CPU
202:RAM
203:ROM
204:システムバス
205:入力コントローラ
206:ビデオコントローラ
207:メモリコントローラ
208:通信I/Fコントローラ
209:キーボード
210:CRT
211:外部メモリ
61、62:文字列位置情報テーブル
1201:移動対象文字列テーブル
1202:表示位置情報テーブル
DESCRIPTION OF SYMBOLS 101: Server 102: Memory 103: Search / display program 104: Document database 105: Index file for full text search 106: Network 107: Client 108: Display device 109: Input device 201: CPU
202: RAM
203: ROM
204: System bus 205: Input controller 206: Video controller 207: Memory controller 208: Communication I / F controller 209: Keyboard 210: CRT
211: External memory 61, 62: Character string position information table 1201: Movement target character string table 1202: Display position information table

Claims (9)

入力装置から入力された複数の検索条件に合致する、文書データの文字列を検索する、文書データを記憶している情報処理装置を含み、当該情報処理装置で検索された結果を表示装置に表示する検索システムであって
前記文書データに対する、前記入力装置から入力された検索条件であって、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索指示を受付ける検索指示受付手段と、
前記検索指示受付手段で受付けた検索指示における前記索条件に合致する前記2つの文字列の位置情報を、前記記憶している文書データから検索する検索手段と、
前記検索手段で検索された前記2つの文字列の位置情報と、当該2つの文字列間の文字数が前記文字列間文字数と前記近傍検索の条件を満たすか判定する近傍条件判定手段と、
前記近傍条件判定手段により前記近傍検索の条件を満たすと判定された前記2つの文字列の位置情報を、近傍検索文字列位置情報に格納する格納手段と、
前記近傍検索の結果を表示する指示が前記入力装置から入力された場合に、前記近傍検索された前記2つの文字列の組が表示領域の先頭位置近傍に表示されるように、前記近傍検索文字列位置情報で示される位置、あるいは前記近傍検索文字列位置情報で示される位置に先頭行からのオフセットを持たせた位置が、前記表示領域の先頭行となるようにスクロール表示処理を行う表示制御手段とを備えることを特徴とする検索システム
Including an information processing device that stores document data, searches for a character string of document data that matches a plurality of search conditions input from an input device, and displays the search result of the information processing device on a display device A search system that
Retrieval of search conditions input from the input device for the document data , including two character strings, the number of characters between the strings indicating the number of characters between the two character strings, and a neighborhood search condition A search instruction receiving means for receiving an instruction;
Search means for searching for location information of the two strings that match the search conditions in the search instruction received by said search instruction receiving means, from the document data stored in said second storage means,
Position information determining means for determining whether the position information of the two character strings searched by the searching means and the number of characters between the two character strings satisfy the number of characters between the character strings and the neighborhood search;
Storage means for storing the position information of the two character strings determined to satisfy the condition of the vicinity search by the vicinity condition determination means in the vicinity search character string position information;
When the instruction to display the result of the neighborhood search is input from the input device, the neighborhood search character is displayed so that the set of the two character strings searched for in the neighborhood is displayed near the head position of the display area . Display control for performing scroll display processing so that the position indicated by the column position information or the position indicated by the neighborhood search character string position information with an offset from the first line becomes the first line of the display area And a search system .
前記表示制御手段は、
前記文書データに基づく表示用データに、前記近傍検索文字列位置情報で示される位置に、前記スクロール表示処理に必要なスクロール情報を付加し、当該スクロール情報に基づいて該文字列を前記表示領域の先頭位置近傍に表示されるように制御することを特徴とする請求項1記載の検索システム
The display control means includes
The display data based on the document data, the position indicated by the vicinity search string position information, the scroll display processing adds scroll information necessary, the display area of the character string based on the scroll information The search system according to claim 1 , wherein the search system is controlled to be displayed in the vicinity of the head position.
前記検索システムは、前記入力装置から検索条件の入力を行い、前記表示装置に検索結果の表示を行うクライアント装置を含んでおり、
前記表示制御手段は、前記クライアント装置が備え、
前記検索指示受付手段、前記検索手段、前記近傍条件判定手段、前記格納手段は、前記情報処理装置が備えることを特徴とする請求項1又は2に記載の検索システム
The search system includes a client device that inputs search conditions from the input device and displays search results on the display device,
The display control means is provided in the client device,
Said search instruction accepting means, the searching means, the neighborhood condition determining means, said storing means, retrieval system according to claim 1 or 2, wherein the information processing apparatus is characterized Rukoto provided.
前記格納手段は、前記近傍検索の条件で指定される文字列間文字数内に、前記2つの文字列の組が複数存在する場合は、それら複数の文字列の組のうち、最も近接している文字列の組の位置情報を、前記近傍検索文字列位置情報に格納することを特徴とする請求項1乃至3のいずれか1項に記載の検索システム。When there are a plurality of sets of the two character strings within the number of characters between the character strings specified in the neighborhood search condition, the storage unit is closest to the set of the plurality of character strings. The search system according to any one of claims 1 to 3, wherein position information of a set of character strings is stored in the vicinity search character string position information. 入力装置から入力された複数の検索条件に合致する、文書データの文字列を検索する、文書データを記憶している情報処理装置を含み、当該情報処理装置で検索された結果を表示装置に表示する検索システムにおける表示処理方法であって、Including an information processing device that stores document data, searches for a character string of document data that matches a plurality of search conditions input from an input device, and displays the search result of the information processing device on a display device A display processing method in a search system,
前記検索システムの検索指示受付手段が、前記文書データに対する、前記入力装置から入力された検索条件であって、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索指示を受付ける検索指示受付工程と、The search instruction accepting means of the search system is a search condition input from the input device for the document data, and includes two character strings and the number of characters between the character strings indicating the number of characters between the two character strings, A search instruction accepting step for receiving a search instruction for a search condition including a condition for neighborhood search;
前記検索システムの検索手段が、前記検索指示受付工程で受付けた検索指示における前記検索条件に合致する前記2つの文字列の位置情報を、前記情報処理装置が記憶している文書データから検索する検索工程と、Search in which search means of the search system searches the document data stored in the information processing apparatus for position information of the two character strings that match the search condition in the search instruction received in the search instruction receiving step Process,
前記検索システムの検索条件指定画面表示手段が、前記複数の検索条件から一つの検索条件を指定するための検索条件指定画面を表示する検索条件指定画面表示工程と、A search condition designation screen display means for displaying a search condition designation screen for designating one search condition from the plurality of search conditions;
前記検索システムの近傍条件判定手段が、前記検索工程で検索された前記2つの文字列の位置情報と、当該2つの文字列間の文字数が前記文字列間文字数と前記近傍検索の条件を満たすか判定する近傍条件判定工程と、Whether the proximity condition determining means of the search system satisfies the positional information of the two character strings searched in the search step and the number of characters between the two character strings satisfies the number of characters between the character strings and the neighborhood search A neighborhood condition judging step for judging;
前記検索システムの格納手段が、前記近傍条件判定工程で前記近傍検索の条件を満たすと判定された前記2つの文字列の位置情報を、近傍検索文字列位置情報に格納する格納工程と、A storage step in which the storage means of the search system stores the position information of the two character strings determined to satisfy the condition of the vicinity search in the vicinity condition determination step in the vicinity search character string position information;
前記検索システムの表示制御手段が、前記近傍検索の結果を表示する指示が前記入力装置から入力された場合に、前記近傍検索された前記2つの文字列の組が表示領域の先頭位置近傍に表示されるように、前記近傍検索文字列位置情報で示される位置、あるいは前記近傍検索文字列位置情報で示される位置に先頭行からのオフセットを持たせた位置が、前記表示領域の先頭行となるようにスクロール表示処理を行う表示制御工程とを備えることを特徴とする検索システムにおける表示処理方法。When the display control means of the search system receives an instruction to display the result of the neighborhood search from the input device, the set of the two character strings searched for in the neighborhood is displayed near the head position of the display area. As described above, the position indicated by the vicinity search character string position information or the position indicated by the vicinity search character string position information with an offset from the first line becomes the first line of the display area. And a display control process for performing scroll display processing as described above.
前記表示制御工程では、前記表示制御手段が、前記文書データに基づく表示用データに、前記近傍検索文字列位置情報で示される位置に、前記スクロール表示処理に必要なスクロール情報を付加し、当該スクロール情報に基づいて該文字列を前記表示領域の先頭位置近傍に表示されるように制御することを特徴とする請求項5に記載の検索システムにおける表示処理方法。In the display control step, the display control means adds scroll information necessary for the scroll display process to the display data based on the document data at a position indicated by the neighborhood search character string position information, and 6. The display processing method in the search system according to claim 5, wherein the character string is controlled to be displayed in the vicinity of the head position of the display area based on the information. 前記検索システムは、前記入力装置から検索条件の入力を行い、前記表示装置に検索結果の表示を行うクライアント装置を含んでおり、The search system includes a client device that inputs search conditions from the input device and displays search results on the display device,
前記検索条件指定画面表示手段、前記表示制御手段は、前記クライアント装置が備え、The search condition designation screen display means and the display control means are provided in the client device,
前記検索指示受付手段、前記検索手段、前記近傍条件判定手段、前記格納手段は、前記情報処理装置が備えることを特徴とする請求項5又は6に記載の検索システムにおける表示処理方法。The display processing method in the search system according to claim 5 or 6, wherein the information processing apparatus includes the search instruction reception unit, the search unit, the proximity condition determination unit, and the storage unit.
前記格納工程では、前記格納手段が、前記近傍検索の条件で指定される文字列間文字数内に、前記2つの文字列の組が複数存在する場合は、それら複数の文字列の組のうち、最も近接している文字列の組の位置情報を、前記近傍検索文字列位置情報に格納することを特徴とする請求項5乃至7のいずれか1項に記載の検索システムにおける表示処理方法。In the storing step, when the storage means includes a plurality of sets of the two character strings within the number of characters between the character strings specified by the neighborhood search condition, The display processing method in the search system according to claim 5, wherein position information of a set of character strings that are closest to each other is stored in the vicinity search character string position information. 入力装置から入力された複数の検索条件に合致する、文書データの文字列を検索する、文書データを記憶している情報処理装置を含み、当該情報処理装置で検索された結果を表示装置に表示する検索システムで実行可能なプログラムであって、Including an information processing device that stores document data, searches for a character string of document data that matches a plurality of search conditions input from an input device, and displays the search result of the information processing device on a display device A program that can be executed by the search system
前記情報処理装置を、The information processing apparatus;
前記文書データに対する、前記入力装置から入力された検索条件であって、2つの文字列と、当該2つの文字列間の文字数を示す文字列間文字数と、近傍検索の条件を含む検索条件の検索指示を受付ける検索指示受付手段と、Retrieval of search conditions input from the input device for the document data, including two character strings, the number of characters between the strings indicating the number of characters between the two character strings, and a neighborhood search condition A search instruction receiving means for receiving an instruction;
前記検索指示受付手段で受付けた検索指示における前記検索条件に合致する前記2つの文字列の位置情報を、前記記憶している文書データから検索する検索手段と、Search means for searching the stored document data for position information of the two character strings that match the search conditions in the search instruction received by the search instruction receiving means;
前記検索手段で検索された前記2つの文字列の位置情報と、当該2つの文字列間の文字数が前記文字列間文字数と前記近傍検索の条件を満たすか判定する近傍条件判定手段と、Position information determining means for determining whether the position information of the two character strings searched by the searching means and the number of characters between the two character strings satisfy the number of characters between the character strings and the neighborhood search;
前記近傍条件判定手段により前記近傍検索の条件を満たすと判定された前記2つの文字列の位置情報を、近傍検索文字列位置情報に格納する格納手段と、Storage means for storing the position information of the two character strings determined to satisfy the condition of the vicinity search by the vicinity condition determination means in the vicinity search character string position information;
前記近傍検索の結果を表示する指示が前記入力装置から入力された場合に、前記近傍検索された前記2つの文字列の組が表示領域の先頭位置近傍に表示されるように、前記近傍検索文字列位置情報で示される位置、あるいは前記近傍検索文字列位置情報で示される位置に先頭行からのオフセットを持たせた位置が、前記表示領域の先頭行となるようにスクロール表示処理を行う表示制御手段として機能させるためのプログラム。When the instruction to display the result of the neighborhood search is input from the input device, the neighborhood search character is displayed so that the set of the two character strings searched for in the neighborhood is displayed near the head position of the display area. Display control for performing scroll display processing so that the position indicated by the column position information or the position indicated by the neighborhood search character string position information with an offset from the first line becomes the first line of the display area Program to function as a means.
JP2004193324A 2004-06-30 2004-06-30 Search system, display processing method, and program Expired - Fee Related JP4557142B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004193324A JP4557142B2 (en) 2004-06-30 2004-06-30 Search system, display processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004193324A JP4557142B2 (en) 2004-06-30 2004-06-30 Search system, display processing method, and program

Publications (3)

Publication Number Publication Date
JP2006018392A JP2006018392A (en) 2006-01-19
JP2006018392A5 JP2006018392A5 (en) 2007-08-16
JP4557142B2 true JP4557142B2 (en) 2010-10-06

Family

ID=35792641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004193324A Expired - Fee Related JP4557142B2 (en) 2004-06-30 2004-06-30 Search system, display processing method, and program

Country Status (1)

Country Link
JP (1) JP4557142B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4801555B2 (en) * 2006-09-29 2011-10-26 株式会社ジャストシステム Document processing apparatus, document processing method, and document processing program
US8527529B2 (en) * 2009-11-30 2013-09-03 International Business Machines Corporation Methods and apparatus for presenting search results with indication of relative position of search terms
JP2011120621A (en) * 2009-12-08 2011-06-23 Railway Technical Research Institute Data specification device, data specification method, and program
JP7740892B2 (en) * 2021-04-20 2025-09-17 東芝テック株式会社 Information retrieval device and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4021227B2 (en) * 2002-03-25 2007-12-12 富士通株式会社 Sticky note function addition program and sticky sticking method

Also Published As

Publication number Publication date
JP2006018392A (en) 2006-01-19

Similar Documents

Publication Publication Date Title
KR100925876B1 (en) Information processing apparatus and method, and recording medium
TWI355595B (en) Cpmputer-readable storage medium,character input e
JP4888071B2 (en) Program, copy and paste processing method, apparatus and recording medium
JP4990302B2 (en) Data processing method, data processing program, and data processing apparatus
JP2009003802A (en) Information display device and information display method
JPWO2004111876A1 (en) Search system and method for reusing search conditions
US9507773B2 (en) Translation assistance device, translation assistance system, and control method for the same
JP4557142B2 (en) Search system, display processing method, and program
JP7210093B2 (en) Information processing device, its processing method and program
JP5991365B2 (en) Form system, information processing apparatus, processing method thereof, and program
JP2009163455A (en) Business form system, business form server, information processor, method for controlling business form server, and method for controlling information processor, and program
JP5880637B2 (en) Information processing apparatus, control method and program thereof, and information processing system, control method and program thereof
JP2012027716A (en) Information processor, electronic book retrieval system, control method of information processor, program, and recording medium recording program
JP2007156902A (en) Information processing apparatus, information processing method, program, and storage medium
JP2009169466A (en) Client / server system, preview data creation device, preview data creation program
JP2010146061A (en) Example display, example display method, and example display program
JP2002312401A (en) Electronic filing device and control method thereof, storage medium and program
KR100846204B1 (en) Internet web memo management system
JP4731896B2 (en) Information processing apparatus, information retrieval method, and program
KR20030001261A (en) Information processing apparatus, information processing method, recording medium, program and electronic-publishing-data providing system
JP2003091450A (en) Web page display device, web page display method, and web page display processing program
US20250013708A1 (en) Information processing system, method of controlling information processing system, and storage medium
JP2006003999A (en) Information processing method and apparatus
KR101469882B1 (en) Mobile Reading Service System and Method Using Virtual Printer
JP4757124B2 (en) Document search device, document search method, document search program, and recording medium recording the document search program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070629

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100408

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100706

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100713

R150 Certificate of patent or registration of utility model

Ref document number: 4557142

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130730

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140730

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees