JP4557142B2 - Search system, display processing method, and program - Google Patents
Search system, display processing method, and program Download PDFInfo
- 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
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,
また、特許文献2では、文字列検索結果の確認を容易にするため、検索対象文字列が含まれる文書部分の表示を、例えば、「章」、「節」、「段落」と言う文書内容とは独立した、文書構造に着目し、指定した文書構造内に含まれる検索対象文字列を、順次表示するといった方法が開示されている。
Further, in
しかしながら、コンピュータを使用した文書データに対する全文検索において、上記に挙げた様な検索結果の表示方法では、異なる複数の検索対象文字列が検索結果に含まれている場合、
(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
メモリ102は、図2に示すサーバ101のハードウェア構成上のRAM202内に構成され、文書データベース104、検索/表示プログラム103及び全文検索用インデックスファイル105は、外部メモリ211内に構成される。尚、文書データベース104および全文検索用インデックスファイル105は通信が可能であれば、ネットワーク106に接続しているサーバ101以外のサーバ上に構成されていてもよい。サーバ101はネットワーク106を介してクライアント107とデータの送受信が可能である。
The
クライアント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
図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
また、入力コントローラ(入力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
通信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
検索/表示プログラム103は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。なお、クライアント107は、サーバ101と同様のハードウェア構成を有し、サーバ101と通信してCGI(Common Gateway Interface)等を用いてサーバ101に検索条件を送信し、また検索結果のデータをHTML形式のデータファイルとしてサーバ101から受信してブラウザアプリケーションで表示する。
The search /
図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
図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
サーバ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
図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
まず、サーバ101のCPU201は、通信I/Fコントローラ208を介してクライアント107から受信した検索条件が全文検索であるか否かを判定し(ステップS501)、全文検索で無い場合、本実施形態に係る検索結果表示方法を実行せず、処理を終了する。
First, the
一方、検索条件が全文検索であった場合、CPU201はさらにその検索条件が1語検索の検索条件であるか、近傍検索の検索条件であるかを判定する(ステップS502)。
On the other hand, if the search condition is a full-text search, the
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
一方、近傍検索の検索条件である場合(ステップ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
ステップS504又はステップS505に続くステップS506においては、CPU201は、検索条件判定(ステップS501)を図4(b)に格納される全検索条件に対して行なったか否かを判定し(ステップS506)、図4(b)に格納される全検索条件に対してステップS501の検索条件判定を繰返し行うことで、各検索条件に含まれる検索対象文字列の位置情報を図6の文字列位置情報テーブル61、62に格納することができる。
In step S506 following step S504 or step S505, the
図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
そして、CPU201は、開始文字列と一致する文字列が文書ファイル内に存在していたか否かを判断する(ステップS703)。この判断の結果、開始文字列と一致する文字列が文書ファイル内に存在していなかった場合、CPU201は、ステップS505の処理を終了して、続くステップS506の処理に移行する。
Then, the
こうして、ステップ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
そして、CPU201は、ステップS704の処理において、終了文字列と一致する文字列が文字ファイル内に存在していたか否かを判断する(ステップS705)。この判断の結果、終了文字列と一致する文字列が文書ファイル内に存在しなかった場合、CPU201は、ステップS505の処理を終了して、続くステップS506の処理に移行する。
Then, the
続いて、CPU201は、以上のようにして、開始文字列位置情報と終了文字列位置情報とが共に取得された文書ファイルについて、これら開始文字列位置情報と終了文字列位置情報とを、位置情報が小さい順番から昇順にマージ(統合)し、マージした位置情報(以下、マージ位置情報と称す)をRAM202に記憶させる(ステップS706)。
Subsequently, the
次に、CPU201は、ステップS706で作成したマージ位置情報を用いて、マージ情報内隣接位置取得処理を行う(ステップS707)。このマージ情報内隣接位置取得処理では、先ず、CPU201は、RAM202からマージ位置情報を読み出して、開始文字列と終了文字列との組合せが、文字列間文字数内に複数存在するか否かを判断する。この判断の結果、開始文字列と終了文字列との組合せが、文字列間文字数内に複数ある場合には、これら複数の開始文字列と終了文字列との組合せのうち、最も近接している開始文字列と終了文字列との組合せを、近傍検索における最適な組合せとする。一方、開始文字列と終了文字列との組合せが、文字列間文字数内に1つしかない場合には、その組合せを近傍検索における最適な組合せとする。このように最適な組合せとされた開始文字列と終了文字列との夫々の位置情報の組合せが文字列位置情報テーブル62内に格納される。これにより最適な組合せのみが選択され検索結果表示の際に検索対象文字列として強調表示する文字列がいたずらに増えることを抑止できるためより見やすい表示を提供することが可能である。
Next, the
図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
この判定の結果、これらの文字列の不一致の場合、CPU201は、検索ポインタの位置を次の文字列に移動させ(ステップS804)、検索ポインタの位置がマージ位置情報の最後であるか否かを判定する(ステップS805)。この判定の結果、検索ポインタの位置がマージ位置情報の最後である場合、CPU201は、図4(b)の検索条件テーブルを参照して、次の近傍検索条件が存在するか否かを判定する(ステップS816)。この判定の結果、次の近傍検索条件が存在する場合には、次の近傍検索条件を取得し、検索ポインタをマージ位置情報の先頭に戻す(ステップS801、S802)。
If the result of this determination is that these character strings do not match, the
前記ステップ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
一方、ステップ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
一方、検索ポインタが示している文字列が、ステップ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
一方、検索ポインタが示している文字列が、ステップ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
以上のように、ステップ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
このようにして行われるステップ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
そして、検索ポインタの位置を次の文字列に移動させ(ステップ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
次に、図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
次に、クライアント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
クライアント107のCPU201は、通信I/Fコントローラ208を介してサーバ101から受信した文書ファイル及び文字列位置情報テーブル61、62を、外部メモリ211又はRAM202内に格納した後、CRT210(表示装置108)上に検索結果の移動表示用画面(図11)を表示させる(ステップS9201〜S9203)。
The
続いて、CPU201は、検索条件テーブル(図4(b))の先頭レコード(検索条件1のレコード)を取得し、取得したレコード内の文字列項目に格納される検索対象文字列を移動対象文字列として移動対象文字列テーブル1201(図12)に記録することにより、移動対象文字列テーブル1201を初期化する(ステップS9204)。移動対象文字列テーブル1201は、図11の移動操作用画面上の移動ボタン1105〜1108により或いはジャンプ機能の開始時に初期条件で設定され、スクロール表示によりフレーム(表示領域)の先頭位置付近に表示する位置制御対象になる文字列がRAM202に格納されていることを示す。例えば、ここでは「印刷装置」がジャンプ機能による表示制御の対象として格納されているが、「プリンタ」の右横の移動ボタン1106が押下された場合には、移動対象文字列テーブル1201内において「プリンタ」が上書きされる。
Subsequently, the
続いて、CPU201は、検索条件テーブル(図4(b))から検索条件1、2の検索対象文字列と検索条件3の検索対象文字列である開始文字列とを取得するとともに、検索条件1、2に対応する各文字列位置情報テーブル61から先頭レコードに格納される文字列位置情報と、検索条件3に対応する文字列位置情報テーブル62から先頭レコードに格納される開始文字列位置情報とを取得する。
Subsequently, the
次に、クライアント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
続いて、クライアント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
移動ボタン1105〜1108が押下された場合には(ステップS9207/移動ボタン)、CPU201は、押下された移動ボタンに対応する検索条件の検索対象文字列が、移動対象文字列テーブル1201内に現在格納されている移動対象文字列と一致するか否かを判定する(ステップS9208)。一方、終了ボタン1109が押下された場合には(ステップS9207/終了ボタン)、本検索結果表示処理を終了する。
When the
押下された移動ボタンに対応する検索条件の検索対象文字列と、移動対象文字列テーブル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
続いて、CPU201は、ステップS9209において文字列位置情報テーブル61、62から次のレコードに格納される文字列位置情報が取得できたか否かを判定する(ステップS9210)。次のレコードに格納される文字列位置情報が取得できたと判定された場合、CPU201は、表示位置情報テーブル1202の当該検索対象文字列に該当する項目12021に取得した文字列位置情報を格納し、項目12021を更新する(ステップS9211)。
Subsequently, the
一方、次のレコードに格納される文字列位置情報が取得できなかったと判定された場合、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
また、ステップ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
続いて、CPU201は、当該移動対象文字列と同じ検索対象文字列を含む検索条件に対応する文字列位置情報テーブル61、62から、先頭レコードに格納される文字列位置情報を取得し、当該移動対象文字列と同じ検索対象文字列に対応する表示位置情報テーブル1202内の項目12021に格納する(ステップS9214)。
Subsequently, the
図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
ステップ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
ステップ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
図14は、図11の移動操作用画面上において「プリンタ」に対応する移動ボタン1106が押下された場合の表示フレームの遷移を示している。1401は検索対象の文書ファイルであり、1402は表示フレームである。図14に示すように、「プリンタ」に対応する移動ボタン1106が押下される度に、文書ファイル1401の先頭から文字列「プリンタ」が順次検索結果として表示フレーム1302内に表示され、且つ常に表示フレーム1402内において文字列「プリンタ」が先頭位置近傍に表示されるように制御される。
FIG. 14 shows the transition of display frames when the
図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
また、サーバ101側では、自ら生成したHTMLデータに基づいて、図10のステップS1003及びステップS1004に示すクライアント端末と同様の表示制御を行い、サーバ101のCRT210上において検索対象文字列を表示フレームの先頭位置近傍に強調表示することも可能である。
Further, the
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(または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.
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つの文字列と、当該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.
前記検索条件指定画面表示手段、前記表示制御手段は、前記クライアント装置が備え、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.
前記情報処理装置を、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.
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)
| 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)
| 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 |
-
2004
- 2004-06-30 JP JP2004193324A patent/JP4557142B2/en not_active Expired - Fee Related
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 |