JPH06103314A - Control method of information retrieval device - Google Patents
Control method of information retrieval deviceInfo
- Publication number
- JPH06103314A JPH06103314A JP4254912A JP25491292A JPH06103314A JP H06103314 A JPH06103314 A JP H06103314A JP 4254912 A JP4254912 A JP 4254912A JP 25491292 A JP25491292 A JP 25491292A JP H06103314 A JPH06103314 A JP H06103314A
- Authority
- JP
- Japan
- Prior art keywords
- execution right
- command
- application
- search
- information recording
- 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.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】 文書中の文字列を調べることにより大量の文
書データを検索する情報検索装置において複数のアプリ
ケーションが検索動作を安全に実行できる制御方法を提
供する。
【構成】 ホストコンピュータのコマンド実行権付与部
が、検索動作の実行に先だって、アプリケーションにコ
マンドの実行権を与える。コマンド送出部は実行権を与
えたアプリケーションからのコマンド実行要求のみを受
け付けて、情報記録再生装置へコマンドを送出する。ま
た、コマンド実行権解放部がアプリケーションに与えた
コマンドの実行権を取り消すことにより、他のアプリケ
ーションが実行権を獲得することを可能にする。
(57) [Summary] [Object] To provide a control method in which a plurality of applications can safely perform a search operation in an information search device that searches a large amount of document data by checking a character string in a document. [Structure] The command execution right granting unit of the host computer gives the command execution right to the application before executing the search operation. The command sending unit accepts only a command execution request from the application to which the execution right is given, and sends the command to the information recording / reproducing apparatus. Also, by canceling the command execution right given to the application by the command execution right release unit, another application can acquire the execution right.
Description
【0001】[0001]
【産業上の利用分野】本発明は要求された文書データを
引き出す情報検索装置に関わり、特に文書中の文字列を
調べて検索を行なう情報検索装置の制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information retrieving apparatus for extracting requested document data, and more particularly to a method of controlling an information retrieving apparatus for examining a character string in a document for retrieval.
【0002】[0002]
【従来の技術】近年、ワードプロセッサやパーソナルコ
ンピュータの普及により、大量の文書データが職場や家
庭において利用されるようになってきた。そして、この
大量の文書データを整理し、有効に利用するために、大
容量データベースと高速検索装置が研究開発されてきて
いる。2. Description of the Related Art In recent years, with the spread of word processors and personal computers, a large amount of document data has come to be used at work and at home. A large-capacity database and a high-speed search device have been researched and developed in order to organize and effectively use this large amount of document data.
【0003】しかしながら、従来の検索装置では、文書
の登録時に検索のインデックスとしてキーワードを付け
る必要がある。そして、データ量の増大と共に、このキ
ーワード付け作業が大変な労力を要するものとなってい
る。その一方で、文書を検索するときには、データとキ
ーワードの増大、多様化もあり適切なキーワードの選択
が困難である。However, in the conventional search device, it is necessary to add a keyword as a search index when registering a document. As the amount of data increases, this keyword assignment work requires a great deal of labor. On the other hand, when retrieving a document, it is difficult to select an appropriate keyword due to the increase and diversification of data and keywords.
【0004】このため、ユーザの指定した文字列が文書
内に存在するか否かを調べることにより、必要とする文
書を探し出し、ひいてはキーワードが不要な情報検索装
置が開発されている。図5は、特願平2−67707に
て開示されたこの種の情報検索装置の構成を示すもので
ある。本図において、530は文書を記録して保存する
情報記録媒体、520は情報記録媒体530に文書の記
録再生を行い、再生した文書内の文字列を検索する情報
記録再生装置、510は情報記録再生装置520にデバ
イスコマンドを送出して文書の記録再生や文字列の検索
を要求するホストコンピュータである。Therefore, an information retrieval apparatus has been developed which searches for a required document by checking whether or not the character string designated by the user exists in the document, and eventually does not require a keyword. FIG. 5 shows the configuration of this type of information retrieval apparatus disclosed in Japanese Patent Application No. 2-67707. In the figure, 530 is an information recording medium for recording and storing a document, 520 is an information recording / reproducing apparatus for recording / reproducing a document on / from the information recording medium 530 and searching for a character string in the reproduced document, 510 is an information recording / reproducing device. It is a host computer that sends a device command to the reproduction device 520 to request recording / reproduction of a document or retrieval of a character string.
【0005】ホストコンピュータ510は、情報記録再
生装置520に目的とする検索文字列の送出と被検索文
書の指定を行なって検索の実行を要求する。情報記録再
生装置520は、検索対象の文字列をメモリ521に保
存すると共に、情報記録媒体530から文書を読み出し
てメモリ521に格納する。次に文字列一致検出回路5
22で目的とする検索文字列内の数文字の一致検出を行
い、さらに後続の文字列が一致しているか否かを内蔵の
小型コンピュータたるマイクロコントローラ523で調
べて、階層的に検索することにより、小規模のハードウ
ェアで高速検索を可能としている。The host computer 510 requests the information recording / reproducing apparatus 520 to execute a search by sending a desired search character string and designating a document to be searched. The information recording / reproducing apparatus 520 saves the character string to be searched in the memory 521, reads the document from the information recording medium 530, and stores it in the memory 521. Next, the character string match detection circuit 5
By detecting the matching of several characters in the target search character string at 22 and further checking whether the following character strings match by the microcontroller 523, which is a built-in small computer, and performing a hierarchical search. , Small-scale hardware enables high-speed search.
【0006】次に、図5に示した情報検索装置に適用す
る制御方法が、特願平4−97611に開示されてい
る。図6は、情報記録再生装置520のマイクロコント
ローラ523が検索を行うために実行するデバイスコマ
ンドの構成図である。なお、本デバイスコマンドはホス
トコンピュータ510から送出され、これにより検索が
実行される。図7は、図5の情報検索装置のメモリ52
1の領域構成図である。Next, a control method applied to the information retrieval apparatus shown in FIG. 5 is disclosed in Japanese Patent Application No. 4-97611. FIG. 6 is a configuration diagram of a device command executed by the microcontroller 523 of the information recording / reproducing apparatus 520 to perform a search. It should be noted that this device command is sent from the host computer 510, whereby the search is executed. FIG. 7 shows a memory 52 of the information retrieval device of FIG.
It is a 1 area | region block diagram.
【0007】図6の被検索データ設定コマンド610
は、情報記録媒体530に記録された文書データを読み
出して情報記録再生装置520内のメモリ521の被検
索データ領域710に格納する。検索条件設定コマンド
620は、ホストコンピュータ510から送出された検
索文字列を情報記録再生装置520内のメモリ521の
検索文字列領域720に格納する。検索実行コマンド6
30は、メモリ521の検索データ領域710に格納さ
れた文書データをメモリ521の検索文字列領域720
に格納された検索文字列で検索して、検索結果をメモリ
521の検索結果領域730に保存すると共にホストコ
ンピュータ510に転送する。また、データ転送コマン
ド640は、メモリ521の被検索データ領域710に
格納された文書データをホストコンピュータ510に転
送する。Search target data setting command 610 shown in FIG.
Reads the document data recorded on the information recording medium 530 and stores it in the searched data area 710 of the memory 521 in the information recording / reproducing apparatus 520. The search condition setting command 620 stores the search character string sent from the host computer 510 in the search character string area 720 of the memory 521 in the information recording / reproducing apparatus 520. Search execution command 6
Reference numeral 30 denotes the document data stored in the search data area 710 of the memory 521 and the search character string area 720 of the memory 521.
The search result is stored in the search result area 730 of the memory 521 and is transferred to the host computer 510. Further, the data transfer command 640 transfers the document data stored in the searched data area 710 of the memory 521 to the host computer 510.
【0008】このように検索動作を別々のコマンドに分
割して実行することにより、一度読み出した文書データ
に対して検索文字列を様々に変化させて検索することを
可能にしている。また、全ての検索文字列が検索文字列
領域720に設定可能な容量のときは、検索文字列は最
初に1回だけ設定し、文書データのみ変更して検索する
ことができる。By thus dividing the search operation into separate commands and executing the search operation, it is possible to search the document data once read by varying the search character string. If all the search character strings have a capacity that can be set in the search character string area 720, the search character string can be set only once at the beginning and only the document data can be changed for the search.
【0009】更にまた、以上の検索装置の手法は、ネッ
トワーク通信網を使用してのデータベースに対する複数
のユーザによるデータ検索にも応用されている。Furthermore, the method of the retrieval device described above is also applied to data retrieval by a plurality of users with respect to a database using a network communication network.
【0010】[0010]
【発明が解決しようとする課題】しかしながら、以上の
ような構成ではネットワーク通信網を使用しての複数の
ユーザによる別個独立の検索要求であれ、マルチウイン
ドウシステムを利用しての単一のユーザによる複数の検
索要求であれ、ホストコンピュータ上で複数のアプリケ
ーションが動作することとなる場合には、必ずしも各ア
プリケーションの検索動作が保証されないこととなる。However, in the above-mentioned configuration, even if the search request is made separately by a plurality of users using the network communication network, a single user using the multi-window system can make a search request. Even if a plurality of search requests are issued, if a plurality of applications operate on the host computer, the search operation of each application is not always guaranteed.
【0011】例えば、アプリケーションAとアプリケー
ションBが図8に示すように動作する場合について説明
する。アプリケーションAは、被検索データ設定コマン
ド610−A、検索条件設定コマンド620−A、そし
て検索実行コマンド630−Aの順に実行要求を出す。
アプリケーションBは、被検索データ設定コマンド61
0−B、検索条件設定コマンド620−B、そして検索
実行コマンド630−Bの順に実行要求を出す。情報記
録再生装置520が、被検索データ設定コマンド610
−A、検索条件設定コマンド620−A、被検索データ
設定コマンド610−B、検索実行コマンド630−
A、検索条件設定コマンド620−B、そして検索実行
コマンド630−Bの順にコマンドを実行すると、検索
実行コマンド630−Aは被検索データ設定コマンド6
10−Bで読み出した文書データを検索することになり
アプリケーションAの検索動作は正しく実行されない。For example, a case where the application A and the application B operate as shown in FIG. 8 will be described. The application A issues execution requests in the order of the searched data setting command 610-A, the search condition setting command 620-A, and the search execution command 630-A.
Application B uses the search data setting command 61
0-B, search condition setting command 620-B, and search execution command 630-B are issued in this order. The information recording / reproducing apparatus 520 uses the search target data setting command 610.
-A, search condition setting command 620-A, searched data setting command 610-B, search execution command 630-
When the commands A, the search condition setting command 620-B, and the search execution command 630-B are executed in this order, the search execution command 630-A becomes the search target data setting command 6
The document data read in 10-B is searched, and the search operation of the application A is not correctly executed.
【0012】本発明は以上の課題に鑑みなされたもので
あり、複数のアプリケーションが検索動作を安全に実行
できる情報検索装置の制御方法を提供することを目的と
する。The present invention has been made in view of the above problems, and an object of the present invention is to provide a control method of an information search apparatus in which a plurality of applications can safely execute a search operation.
【0013】[0013]
【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明においては、複数のアプリケーショ
ンが動作するホストコンピュータと、前記アプリケーシ
ョンから送出された検索文字列を情報記録媒体から読み
出した文書データの中から探し出す動作を複数のコマン
ドで実行する情報記録再生装置で構成された情報検索装
置において、前記ホストコンピュータが、前記アプリケ
ーションに前記コマンドの実行権を与える実行権付与ス
テップと、該実行権を有した前記アプリケーションから
の前記コマンドの実行要求を受けて前記情報記録再生装
置へ前記コマンドを送出する送出ステップと、前記アプ
リケーションに与えた前記実行権を取り消す実行権解放
ステップとを有していることを特徴とする情報検索装置
の制御方法としている。In order to achieve the above object, in the invention of claim 1, a host computer on which a plurality of applications operate, and a search character string sent from the applications are read from an information recording medium. In an information retrieving apparatus including an information recording / reproducing apparatus that executes an operation to find out from document data with a plurality of commands, the host computer gives an execution right of the command to the application; A transmission step of receiving the command execution request from the authorized application and transmitting the command to the information recording / reproducing apparatus; and an execution right releasing step of canceling the execution right given to the application. As a control method of the information retrieval device characterized by .
【0014】請求項2の発明においては、ホストコンピ
ュータのデバイスドライバが、前記実行権付与ステッ
プ、送出ステップと実行権解放ステップとを制御するこ
とを特徴とする請求項1記載の情報検索装置の制御方法
としている。請求項3の発明においては、前記実行権付
与ステップは、コマンドの実行権を与えたアプリケーシ
ョンに識別番号を付す手順を有し、送出ステップと実行
権解放ステップは該識別番号を用いてコマンドの実行権
を与えたアプリケーションか否かを判断する手順を有し
ていることを特徴とする請求項1または2記載の情報検
索装置の制御方法としている。According to a second aspect of the present invention, the device driver of the host computer controls the execution right granting step, the sending step and the execution right releasing step. I have a method. In the invention of claim 3, the execution right giving step has a procedure of giving an identification number to the application to which the command execution right is given, and the sending step and the execution right releasing step execute the command using the identification number. The method for controlling an information retrieval apparatus according to claim 1 or 2, further comprising a procedure for determining whether or not the application is a licensed application.
【0015】請求項4の発明においては、前記ホストコ
ンピュータは、接続されている情報記録再生装置ごとに
前記アプリケーション用の識別番号を設けるステップを
採用していることを特徴とする請求項3記載の情報検索
装置の制御方法としている。請求項5の発明において
は、前記実行権付与ステップは、前記識別番号に乱数を
用いていることを特徴とする請求項3または4記載の情
報検索装置の制御方法としている。According to a fourth aspect of the present invention, the host computer employs a step of providing an identification number for the application for each connected information recording / reproducing apparatus. This is a control method for the information retrieval device. In the invention of claim 5, the execution right granting step uses a random number for the identification number, and the control method of the information retrieval apparatus according to claim 3 or 4.
【0016】[0016]
【作用】請求項1の発明においては、ホストコンピュー
タが、アプリケーションにコマンドの実行権を与える。
しかる後、該実行権を有したアプリケーションからのコ
マンドの実行要求を受けて情報記録再生装置へ前記コマ
ンドを送出する。また、他のコマンドの実行のため前記
アプリケーションに与えた前記実行権が取り消される。According to the invention of claim 1, the host computer gives the command execution right to the application.
Then, in response to the command execution request from the application having the execution right, the command is sent to the information recording / reproducing apparatus. Further, the execution right given to the application for executing another command is canceled.
【0017】請求項2の発明においては、ホストコンピ
ュータのデバイスドライバが、前記実行権付与ステッ
プ、送出ステップと実行権解放ステップとを制御する。
請求項3の発明においては、前記実行権付与ステップ
は、コマンドの実行権を与えたアプリケーションに識別
番号を付す手順を有している。送出ステップと実行権解
放ステップは該識別番号を用いてコマンドの実行権を与
えたアプリケーションか否かを判断する手順を有してい
る。In a second aspect of the invention, the device driver of the host computer controls the execution right granting step, the sending step and the execution right releasing step.
In the invention of claim 3, the execution right giving step has a procedure of attaching an identification number to the application to which the command execution right is given. The sending step and the execution right releasing step have a procedure of determining whether or not the application is given the execution right of the command by using the identification number.
【0018】請求項4の発明においては、前記ホストコ
ンピュータは、接続されている情報記録再生装置ごとに
識別番号を設けるステップを採用している。請求項5の
発明においては、前記実行権付与ステップは、識別番号
に乱数を用いている。In the invention of claim 4, the host computer employs a step of providing an identification number for each connected information recording / reproducing apparatus. In the invention of claim 5, the execution right granting step uses a random number as the identification number.
【0019】[0019]
【実施例】以下、本発明を実施例に基づいて、図面を参
照しつつ説明する。図1は図5に示した情報検索装置が
図6に示したデバイスコマンドを実行して検索動作を行
う場合に、本願発明に係る情報検索装置の制御方法を採
用したときの機能ブロック図である。本図において、5
10と520は図5と同じものであるため同一の番号を
付して、その説明は省略する。1−Aと1−Bは検索処
理を行うアプリケーション、2はMS−DOSやUNI
Xなどのオペレーティングシステム、3はデバイスコマ
ンドを送出して情報記録再生装置520を制御するデバ
イスドライバ、31はアプリケーション1にデバイスコ
マンドの実行権を与えるコマンド実行権付与部、32は
アプリケーション1からのデバイスコマンドの実行要求
を受けて、情報記録再生装置520へデバイスコマンド
を送出するコマンド送出部、33はアプリケーション1
に与えたデバイスコマンドの実行権を取り消すコマンド
実行権解放部、34はコマンド実行権付与部31がデバ
イスコマンドの実行権を与えたアプリケーション1が存
在しているか否かを示す存在識別子、4はデバイスコマ
ンドを実行するコマンド実行部であり、そしてこれらの
一部は、本情報検索装置に設備(構成要素)として設け
られた光ディスク装置内にプログラムとして一体的に組
み込まれている。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below based on embodiments with reference to the drawings. FIG. 1 is a functional block diagram when the information search apparatus shown in FIG. 5 executes the device command shown in FIG. 6 to perform the search operation, when the control method of the information search apparatus according to the present invention is adopted. . In this figure, 5
Since 10 and 520 are the same as those in FIG. 5, the same numbers are given and their description is omitted. 1-A and 1-B are applications that perform search processing, 2 is MS-DOS or UNI
An operating system such as X, 3 is a device driver that sends a device command to control the information recording / reproducing apparatus 520, 31 is a command execution right granting unit that gives the application 1 an execution right of the device command, and 32 is a device from the application 1. In response to a command execution request, a command sending unit for sending a device command to the information recording / reproducing apparatus 520, 33 is an application 1
Command execution right release unit for canceling the execution right of the device command given to the device, 34 is an existence identifier indicating whether or not there is an application 1 to which the command execution right granting unit 31 gave the execution right of the device command, 4 is a device It is a command execution unit for executing commands, and a part of these is integrally incorporated as a program in an optical disk device provided as a facility (component) in the information retrieval apparatus.
【0020】なお、存在識別子34は初期値として−1
が設定され、この値は、デバイスコマンドの実行権を与
えた他のアプリケーションが存在していないことを表す
ものとしている。次に、コマンド実行権付与部31の動
作を図2のフローチャートに従って説明する。The existence identifier 34 has an initial value of -1.
Is set, and this value means that there is no other application that has given the right to execute the device command. Next, the operation of the command execution right granting unit 31 will be described with reference to the flowchart of FIG.
【0021】コマンド実行権付与部31は、オペレーテ
ィングシステム2を経てアプリケーション1−Aからデ
バイスコマンドの実行権を取得する要求を受け取ると
(200)、デバイスコマンドの実行権を与えた他のア
プリケーションが既に存在するか否かを存在識別子34
を見て調べる(201)。コマンド実行権付与部31
は、存在識別子34が−1ならば、コマンド実行権付与
部31が最初に起動された時の時刻を種とする正の乱数
を生成して(具体的には、13時14分15秒なら、数
値化して131415とした上で、これをもとに乱数を
発生させる)、その値を存在識別子34に保存するとと
もに、その値をアプリケーション1−Aに渡すことによ
って実行権を与えたことを通知する(202)。When the command execution right granting section 31 receives a request to acquire the execution right of the device command from the application 1-A via the operating system 2 (200), another application which has given the execution right of the device command has already been executed. Existence identifier 34
Check (201). Command execution right granting unit 31
If the existence identifier 34 is -1, it generates a positive random number whose seed is the time when the command execution right granting unit 31 is first activated (specifically, if 13:14:15). , Numerical value is converted to 131415, and a random number is generated based on this, and the value is stored in the existence identifier 34 and the execution right is given by passing the value to the application 1-A. Notify (202).
【0022】逆に、存在識別子34が−1でなければ、
コマンド実行権付与部31はデバイスコマンドの実行権
を与えた他のアプリケーションが既に存在しているの
で、アプリケーション1−Aに−1を渡すことによって
実行権を与えることができないことを通知する(20
3)。従って、例えばアプリケーション1−Aがコマン
ド実行権付与部31に要求してデバイスコマンドの実行
権を獲得した後は、アプリケーション1−Bはデバイス
コマンドの実行権を獲得できない。On the contrary, if the existence identifier 34 is not -1,
The command execution right granting unit 31 notifies that the execution right cannot be given by passing -1 to the application 1-A because another application that has given the device command execution right already exists (20).
3). Therefore, for example, after the application 1-A requests the command execution right granting unit 31 to acquire the device command execution right, the application 1-B cannot acquire the device command execution right.
【0023】次に、コマンド送出部32の動作を図3の
フローチャートに従って説明する。アプリケーション1
−Aはデバイスコマンドの実行権を取得したときに得た
正の乱数とデバイスコマンドを、オペレーティングシス
テム2経由でコマンド送出部32に渡すことにより、デ
バイスコマンドの実行を要求する(300)。コマンド
送出部32は、受け取ったデバイスコマンドの実行要求
がデバイスコマンドの実行権を与えたアプリケーション
1−Aから送られたものか否かを、受け取った正の乱数
を見て調べる(301)。Next, the operation of the command sending section 32 will be described with reference to the flowchart of FIG. Application 1
-A requests execution of the device command by passing the positive random number and the device command obtained when the execution right of the device command is acquired to the command transmission unit 32 via the operating system 2 (300). The command sending unit 32 checks whether or not the received device command execution request is sent from the application 1-A that has given the device command execution right, by looking at the received positive random number (301).
【0024】コマンド送出部32は、受け取った正の乱
数が存在識別子34に保存された正の乱数と同じなら
ば、コマンドの実行権を与えたアプリケーション1−A
からの要求であると判断して、デバイスコマンドを情報
記録再生装置520へ送出する(302)。コマンド送
出部32は、受け取った正の乱数が存在識別子34に保
存された正の乱数と異なっていれば、コマンドの実行権
を与えたアプリケーション1−Aからの要求ではないと
判断して、要求のあったアプリケーション1−Bにデバ
イスコマンドの実行要求を受け入れられない旨を通知す
る(303)。ここで、乱数の一致検出を行っているの
で、コマンドの実行権を獲得していないアプリケーショ
ン1−Bが自ら生成して送出した正の乱数は、存在識別
子34に保存した正の乱数と一致することがない。If the received positive random number is the same as the positive random number stored in the existence identifier 34, the command sending unit 32 gives the application 1-A that has given the command execution right.
Then, the device command is sent to the information recording / reproducing apparatus 520 (302). If the received positive random number is different from the positive random number stored in the existence identifier 34, the command transmission unit 32 determines that the request is not from the application 1-A that has given the command execution right, and makes a request. The application 1-B having the error is notified that the device command execution request cannot be accepted (303). Here, since the random number match detection is performed, the positive random number generated and transmitted by the application 1-B that has not acquired the command execution right matches the positive random number stored in the existence identifier 34. Never.
【0025】従って、コマンドの実行権を獲得したアプ
リケーション1−Aだけがデバイスコマンドを実行する
ことができる。コマンド実行権解放部33の動作を図4
のフローチャートに従って説明する。アプリケーション
1−Aはデバイスコマンドの実行権を取得したときに得
た正の乱数を、オペレーティングシステム2経由でコマ
ンド実行権解放部33に渡すことにより、デバイスコマ
ンドの実行権を解放することを要求する(400)。Therefore, only the application 1-A which has acquired the command execution right can execute the device command. The operation of the command execution right release unit 33 is shown in FIG.
It will be described in accordance with the flowchart of. The application 1-A requests the release of the device command execution right by passing the positive random number obtained when the device command execution right is acquired to the command execution right release unit 33 via the operating system 2. (400).
【0026】コマンド実行権解放部33は、受け取った
デバイスコマンドの実行権解放要求がデバイスコマンド
の実行権を与えたアプリケーション1−Aから送られた
ものか否かを、受け取った正の乱数を見て調べる(40
1)。コマンド実行権解放部33は、受け取った正の乱
数が存在識別子34に保存された正の乱数と同じなら
ば、コマンドの実行権を与えたアプリケーション1−A
からの要求であると判断し、存在識別子34に−1を設
定して、デバイスコマンドの実行権を与えたアプリケー
ションが存在しない状態にする(402)。The command execution right release section 33 checks whether or not the received device command execution right release request is sent from the application 1-A that has given the device command execution right. Check (40
1). If the received positive random number is the same as the positive random number stored in the existence identifier 34, the command execution right release unit 33 grants the command execution right to the application 1-A.
It is determined that the request is received from the device, and -1 is set in the existence identifier 34, and the application to which the execution right of the device command is given does not exist (402).
【0027】コマンド実行権解放部33は、受け取った
正の乱数が存在識別子34に保存された正の乱数と異な
っていれば、コマンドの実行権を与えたアプリケーショ
ン1−Aからの要求ではないと判断して、要求のあった
アプリケーションにデバイスコマンドの実行権の解放要
求を受け入れられない旨を通知する(403)。すなわ
ち、アプリケーション1−Aが検索を終了すれば、アプ
リケーション1−Aからのこの旨の通知をもとに、コマ
ンド実行権解放部33はデバイスコマンドの実行権を取
り消し、存在識別子34内に設定していた乱数を消去の
上、−1を再設定する。If the received positive random number is different from the positive random number stored in the existence identifier 34, the command execution right releasing unit 33 does not request the command execution right from the application 1-A. The determination is made and the application requested is notified that the request to release the device command execution right cannot be accepted (403). That is, when the application 1-A finishes the search, the command execution right release unit 33 cancels the execution right of the device command and sets it in the existence identifier 34 based on the notification from the application 1-A. Erase the random number that had been used and reset -1.
【0028】また、ユーザからの別途の優先すべきアプ
リケーションの実行のため、実行権の取り消し命令があ
った場合には、アプリケーション1−Aの実行権を取り
消した上、優先指示のあったアプリケーションについて
実行権を与え、またこのアプリケーションについての乱
数を新しく存在識別子34内に設定する。以上のように
して、コマンド実行権解放部33は他のアプリケーショ
ンがデバイスコマンドの実行権を獲得することができる
状態にするとともに、一方でアプリケーション実行中に
他のアプリケーションからの解放要求により誤ってデバ
イスコマンドの実行権を解放してしまうことを防ぐこと
ができる。If there is a command for canceling the execution right to execute another application that should be prioritized by the user, the execution right of the application 1-A is canceled, and the application for which the priority instruction is given. Grant the execute right and set a new random number for this application in the presence identifier 34. As described above, the command execution right release unit 33 sets the state in which another application can acquire the execution right of the device command, and, on the other hand, while the application is being executed, a release request from another application causes the device to erroneously execute the device command. It is possible to prevent the command execution right from being released.
【0029】以上、本願発明を実施例に基づき説明して
きたが、本願発明は何も上記実施例に限定されないのは
勿論である。すなわち、例えば、実施例ではホストコ
ンピュータ510に情報記録再生装置520が1台接続
されていたが、情報記録再生装置520が複数接続され
ており、情報記録再生装置520ごとに存在識別子34
を設けるようにしている。Although the present invention has been described above based on the embodiments, the present invention is of course not limited to the above embodiments. That is, for example, although one information recording / reproducing device 520 is connected to the host computer 510 in the embodiment, a plurality of information recording / reproducing devices 520 are connected, and the existence identifier 34 is provided for each information recording / reproducing device 520.
Is provided.
【0030】多量の電磁気化された文書データ用図書
室において、通信網を利用して多数のユーザに文書デー
タの閲覧等に供する場合に、その検索にあたっては地域
的不平等是正等のため本願発明に係る検索装置の制御方
法を関東地方からの要求、東京都からの要求と多層的に
構成する。 同じく、理工系データ、法文系データ、個人情報等デ
ータの種類に応じて存在識別子を設定する。In the case where a large number of users use the communication network to browse the document data, etc. in a library for a large amount of electromagnetically converted document data, the invention of the present application is used to correct regional inequalities in the search. The control method of the search device according to (3) is configured in a multi-layered manner with requests from the Kanto region and from Tokyo. Similarly, the existence identifier is set according to the type of data such as science and engineering data, legal data, and personal information.
【0031】[0031]
【発明の効果】以上説明したように、本願発明によれ
ば、あるアプリケーションが情報記録再生装置を使用し
て検索動作を行っているときは、他のアプリケーション
が情報記録再生装置を使用できなくすることにより、検
索動作を行う複数のアプリケーションを安全に実行する
ことができる。As described above, according to the present invention, when an application is performing a search operation using the information recording / reproducing apparatus, another application cannot use the information recording / reproducing apparatus. As a result, it is possible to safely execute a plurality of applications that perform a search operation.
【図1】本発明に係る情報検索装置の一実施例の制御方
法の機能ブロック図である。FIG. 1 is a functional block diagram of a control method of an embodiment of an information search device according to the present invention.
【図2】上記実施例におけるコマンド実行権付与部31
の動作のフローチャートである。FIG. 2 is a command execution right granting unit 31 in the above embodiment.
3 is a flowchart of the operation of FIG.
【図3】上記実施例におけるコマンド送出部32の動作
のフローチャートである。FIG. 3 is a flowchart of the operation of a command transmission unit 32 in the above embodiment.
【図4】上記実施例におけるコマンド実行権解放部33
の動作のフローチャートである。FIG. 4 is a command execution right release unit 33 in the above embodiment.
3 is a flowchart of the operation of FIG.
【図5】従来技術に係る情報検索装置の構成図である。FIG. 5 is a configuration diagram of an information search device according to a conventional technique.
【図6】従来技術に係るデバイスコマンドの構成図であ
る。FIG. 6 is a configuration diagram of a device command according to a conventional technique.
【図7】情報検索装置のメモリ521の領域構成図であ
る。FIG. 7 is an area configuration diagram of a memory 521 of the information search device.
【図8】従来技術に係るアプリケーションAとアプリケ
ーションBの動作図である。FIG. 8 is an operation diagram of an application A and an application B according to a conventional technique.
1 アプリケーション 2 オペレーティングシステム 3 デバイスドライバ 4 コマンド実行部 31 コマンド実行権付与部 32 コマンド送出部 33 コマンド実行権解放部 34 存在識別子 510 ホストコンピュータ 520 情報記録再生装置 521 メモリ 522 文字列一致検出回路 523 マイクロコントローラ 530 情報記録媒体 610 被検索データ設定コマンド 620 検索条件設定コマンド 630 検索実行コマンド 640 データ転送コマンド 710 被検索データ領域 720 検索文字列領域 730 検索結果領域 1 Application 2 Operating System 3 Device Driver 4 Command Execution Unit 31 Command Execution Right Granting Unit 32 Command Transmission Unit 33 Command Execution Right Release Unit 34 Existence Identifier 510 Host Computer 520 Information Recording / Reproducing Device 521 Memory 522 Character String Match Detection Circuit 523 Micro Controller 530 information recording medium 610 search target data setting command 620 search condition setting command 630 search execution command 640 data transfer command 710 search target data area 720 search character string area 730 search result area
───────────────────────────────────────────────────── フロントページの続き (72)発明者 高木 裕司 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 濱坂 浩史 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 久門 裕二 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yuji Takagi 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Hiroshi Hamazaka 1006 Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd. 72) Inventor Yuji Hisakado 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (5)
トコンピュータと、前記アプリケーションから送出され
た検索文字列を情報記録媒体から読み出した文書データ
の中から探し出す動作を複数のコマンドで実行する情報
記録再生装置で構成された情報検索装置において、 前記ホストコンピュータが、前記アプリケーションに前
記コマンドの実行権を与える実行権付与ステップと、 該実行権を有した前記アプリケーションからの前記コマ
ンドの実行要求を受けて前記情報記録再生装置へ前記コ
マンドを送出する送出ステップと、 前記アプリケーションに与えた前記実行権を取り消す実
行権解放ステップとを有していることを特徴とする情報
検索装置の制御方法。1. A host computer on which a plurality of applications operate, and an information recording / reproducing apparatus that executes an operation of searching a search character string sent from the application from document data read from an information recording medium by a plurality of commands. In the configured information retrieval device, the host computer gives an execution right giving step to the application to execute the command, and the information recording in response to a command execution request from the application having the execution right. A method of controlling an information retrieval device, comprising: a sending step of sending the command to a playback device; and an execution right releasing step of canceling the execution right given to the application.
が、前記実行権付与ステップ、送出ステップと実行権解
放ステップとを制御することを特徴とする請求項1記載
の情報検索装置の制御方法。2. A method of controlling an information retrieval apparatus according to claim 1, wherein a device driver of the host computer controls the execution right granting step, the sending step and the execution right releasing step.
実行権を与えたアプリケーションに識別番号を付す手順
を有し、 送出ステップと実行権解放ステップは該識別番号を用い
てコマンドの実行権を与えたアプリケーションか否かを
判断する手順を有していることを特徴とする請求項1ま
たは2記載の情報検索装置の制御方法。3. The execution right granting step has a procedure of assigning an identification number to the application to which the command execution right is given, and the sending step and the execution right releasing step give the command execution right using the identification number. 3. The method for controlling an information retrieval apparatus according to claim 1, further comprising a procedure for determining whether or not the application is a different application.
いる情報記録再生装置ごとに前記アプリケーション用の
識別番号を設けるステップを採用していることを特徴と
する請求項3記載の情報検索装置の制御方法。4. The method of controlling an information retrieval apparatus according to claim 3, wherein the host computer adopts a step of providing an identification number for the application for each connected information recording / reproducing apparatus. .
号に乱数を用いていることを特徴とする請求項3または
4記載の情報検索装置の制御方法。5. The control method of the information retrieval apparatus according to claim 3, wherein the execution right granting step uses a random number for the identification number.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4254912A JPH06103314A (en) | 1992-09-24 | 1992-09-24 | Control method of information retrieval device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4254912A JPH06103314A (en) | 1992-09-24 | 1992-09-24 | Control method of information retrieval device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06103314A true JPH06103314A (en) | 1994-04-15 |
Family
ID=17271581
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4254912A Pending JPH06103314A (en) | 1992-09-24 | 1992-09-24 | Control method of information retrieval device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06103314A (en) |
-
1992
- 1992-09-24 JP JP4254912A patent/JPH06103314A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4961224A (en) | Controlling access to network resources | |
| US6823398B1 (en) | File system management embedded in a storage device | |
| US6145006A (en) | Method and apparatus for coordinating locking operations of heterogeneous host computers accessing a storage subsystem | |
| US6065065A (en) | Parallel computer system and file processing method using multiple I/O nodes | |
| BG63373B1 (en) | Method for access to a c0mputer system and a computer system | |
| JP4869237B2 (en) | Variable control of access to content | |
| US5675781A (en) | Augmenting volume management of information storage devices to handle direct access to storage devices | |
| JP5241298B2 (en) | System and method for supporting file search and file operations by indexing historical file names and locations | |
| EP1586988A2 (en) | Information processing apparatus, information processing method, program and recording medium used therewith | |
| CN101331488A (en) | Disk-based cache | |
| JP2009026022A (en) | File protection device and method | |
| JP3752193B2 (en) | How to allocate access device usage between the host operating system and the guest operating system | |
| JPH06103314A (en) | Control method of information retrieval device | |
| JP2005352833A (en) | Shared exclusion control method | |
| US6792477B1 (en) | Discovering printers and shares | |
| JP2007241378A (en) | Retrieval device and program therefor | |
| JP4342326B2 (en) | Database controller | |
| CA1311850C (en) | Controlling access to network resources | |
| JPH05274208A (en) | Information filing device | |
| JP2713186B2 (en) | Security method | |
| RU2825554C1 (en) | Method and system for controlling access to confidential information in operating system | |
| US7302452B2 (en) | Method and apparatus for handling requests for files in a data processing system | |
| JPH08314787A (en) | File location management system | |
| JP2000259476A (en) | File management system and server computer | |
| JPH04336354A (en) | Decentralized computer system |