JPH03225558A - Data retrieving system - Google Patents

Data retrieving system

Info

Publication number
JPH03225558A
JPH03225558A JP2019336A JP1933690A JPH03225558A JP H03225558 A JPH03225558 A JP H03225558A JP 2019336 A JP2019336 A JP 2019336A JP 1933690 A JP1933690 A JP 1933690A JP H03225558 A JPH03225558 A JP H03225558A
Authority
JP
Japan
Prior art keywords
data
file
registered
database
registering
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
Application number
JP2019336A
Other languages
Japanese (ja)
Inventor
Hideaki Tsuboya
坪谷 英昭
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2019336A priority Critical patent/JPH03225558A/en
Publication of JPH03225558A publication Critical patent/JPH03225558A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To always retrieve updating data from a data base by retrieving data after registering file data by a data registering means when the file data have not been registered yet. CONSTITUTION:A person to retrieve data specifies the file name of a file to be retrieved and a retrieving condition to a data retrieving means 13. When the file name is applied by the specification, the data are extracted from the file by the data registering means 12 and whether the data have been already registered in the data base 15 or not is decided. When the data have not been registered yet as the result of decision, the registration of the data is instructed to the means 12. Based upon the instruction, the means 12 extracts the data from the file and registers the data and registering time in the data base 15. After completing the data registering processing, the data satisfying the retrieving condition specified by the user are extracted from the data base 15 and returned to the user.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機システムにおけるファイルから得られる
データを検索するデータ検索方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data search method for searching data obtained from files in a computer system.

〔従来の技術〕[Conventional technology]

従来のデータ検索方式では、利用者が検索したいデータ
はその時点で登録されているデータ九対して行なわれて
いた。このようなデータ検索方式の例には、ソースプロ
グラムが収められているファイルからルーチン名や変数
名などのデータを取り出し、これらのデータのうちある
条件を満たすものを得るといった検索方式がある。
In the conventional data search method, the data that the user wanted to search was searched against nine pieces of data that were registered at that time. An example of such a data search method is a search method that extracts data such as routine names and variable names from a file containing a source program, and retrieves data that satisfies certain conditions from among these data.

〔発明が解決しようとする!l[ このような検索を支榎するシステムにおいては、検索要
求があるたびにファイルからデータを取り出すことは効
率上好ましくない。そこでファイルから前もってデータ
を取り出してデータベースに保持しておき、検索はデー
タベースに対して行なう方法を取ることになる。ところ
で利用者が期待する検索結果は、データベース登録時点
でのではなく検索時点でのファイルの内容を反映したデ
ータである。しかしながら、従来のデータベースシステ
ムおよびそれに付随する検索手段を用いて検索を行う場
合には、利用者はデータの再登録が必要であるのはどの
ファイルであるかということを調べる必要があり、再登
録が必要である場合にはそれを指示しなければならない
という欠点がある。
[Invention tries to solve! l [In a system that supports such searches, it is not desirable in terms of efficiency to retrieve data from a file every time there is a search request. Therefore, a method is used in which data is extracted from a file in advance and stored in a database, and searches are performed against the database. However, the search results that users expect are data that reflects the contents of the file at the time of the search, not at the time of database registration. However, when searching using conventional database systems and associated search methods, users need to find out which files require data re-registration. The disadvantage is that if it is necessary, it must be specified.

本発明の目的は、上述の問題点に鑑み、つねにファイル
の内容を反映したデータの検索が可能なデータ検索手段
を提供することにある。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, an object of the present invention is to provide a data search means that can always search for data that reflects the contents of a file.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成する六めに、本発明のデータベース検索
方式は、ファイルに対するデータの入出力処理を管理す
るファイル管理手段と、データベース九対するデータの
入出力処理を管理するデータ管理手段と、 データの登録を指示されたファイルから前記ファイル管
理手段を介してデータを入力し、前記データ管理手段を
介してデータベースにそのデータを登録するデータ登録
手段と、 ファイル名指示に基づきそのファイルのデータがデータ
ベースに登録されているか否かを判定し、登録されてい
ない場合には、前記データ登録手段にそのファイルのデ
ータの登録を指示して登録し、登録されている場合には
、そのファイルが修正されて込るか否かを判定し、修正
されている場合忙は、前記データ登録手段に修正された
データの登録を指示して登録し、該データベースから最
新のデータを検索するデータ検索手段とを有する。
Sixthly, to achieve the above object, the database search method of the present invention includes: a file management means for managing data input/output processing for files; a data management means for managing data input/output processing for the database; data registration means for inputting data from a file instructed to be registered via the file management means and registering the data in the database via the data management means; and data of the file is input into the database based on the file name instruction. It is determined whether the file is registered or not, and if it is not registered, the data registration means is instructed to register the data of the file, and if it is registered, the file is modified. and a data retrieval means for determining whether or not the data has been corrected, and instructing the data registration means to register the corrected data if the data has been corrected, and for retrieving the latest data from the database. .

〔作用〕[Effect]

データ検索手段は、ファイル名指示に基づきそのファイ
ルのデータがデータペースに登録されているか否かを判
定し、登録されていない場合にはデータ登録手段により
そのファイルのデータを登録した後にそのデータを検索
し、登録されている場合にはそのファイルが修正されて
いるか否かを判定し、修正されていない場合には該デー
タベースからそのデータを検索し、修正されている場合
にはデータ登録手段により修正されているデータを登録
した後にそのデータを検索し、データベースから常に最
新のデータを検索する。
The data search means determines whether the data of the file is registered in the database based on the file name instruction, and if it is not registered, the data registration means registers the data of the file and then retrieves the data. If the file is registered, it is determined whether the file has been modified or not. If the file has not been modified, the data is retrieved from the database, and if it has been modified, the data is registered by the data registration means. To search for corrected data after registering it and always search for the latest data from a database.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

図において1本実施例のデータ検索方式は、個個のファ
イル101・・・10nK対するデータの入出力処理を
管理するファイル管理手段(11)と、ファイルからf
−メを取り出しそのデータをデータベース(15)に登
録するデータ登録手段(12)と、データベース(15
)に対してデータの検索を行なうデータ検索手段(13
)と、データベースに対するデータの入出力処理を管理
するデータ管理手段(14)とによって構成される。
In the figure, the data search method of this embodiment includes a file management means (11) that manages data input/output processing for individual files 101...10nK, and
- data registration means (12) for extracting the data and registering the data in the database (15);
) for data search means (13)
), and a data management means (14) that manages data input/output processing to the database.

第2図は、データ検索手段(13)の処理の流れ図で、
データ登録判定ステップ21と、データ登録指示ステッ
プ22と、データ最新性判定ステラf23と、データ取
り出し指示ステップ24と、データ返却ステップ25と
からなることを示す。
FIG. 2 is a flowchart of the processing of the data retrieval means (13).
It shows that it consists of a data registration determination step 21, a data registration instruction step 22, a data recency determination step f23, a data retrieval instruction step 24, and a data return step 25.

次に、以上のように構成された本実施例のデータ検索方
式の動作について説明する。
Next, the operation of the data search method of this embodiment configured as described above will be explained.

データ検索を行なう者は、検索の対象となるファイルの
ファイル名および検索条件をデータ検索手段(13)に
対して指示する。この指示に基づいてデータ検索手段(
13)は、以下に示すような手順の処理を行なう。
A person conducting a data search instructs the data search means (13) about the file name of the file to be searched and the search conditions. Based on this instruction, the data retrieval means (
13) performs the processing steps shown below.

まず、上述の指示によりデータ検索の対象となるファイ
ル名が与えられると、すでにデータ登録手段(21)に
よってそのファイルからデータが抽出され、データベー
スにそのデータが登録されているか否かを判定する(ス
テップ21)。
First, when a file name to be searched for data is given by the above-mentioned instruction, data is already extracted from the file by the data registration means (21), and it is determined whether the data is registered in the database ( Step 21).

この判定でデータベースにそのデータが登録されていな
い場合KFi、データ登録手段(12)K対しそのファ
イルのデータの登録を指示(ステラf22)する。この
指示によりデータ登録手段(12)Vi、ファイルから
データを抽出しそのデータおよび登録時刻をデータベー
スに登録する・データベースにそのデータが登録されて
いる場合には、データがデータベースに登録された後に
当該ファイルが修正されたか否かを判定する(ステップ
23)。この判定はファイルの修正時刻とそのファイル
のデータがデータベースに登録された時刻とを比較する
ととKよりて行なわれ、ファイルの修正時刻がデータが
データベースに登録された時刻よシ以前のときけその7
アイルは修正されてはなく、以後のときは修正されてい
たと判定される。
If it is determined that the data is not registered in the database, KFi instructs the data registration means (12) K to register the data of the file (Stella f22). In response to this instruction, the data registration means (12) Vi extracts data from the file and registers the data and registration time in the database. If the data is registered in the database, the data is registered in the database and then It is determined whether the file has been modified (step 23). This determination is made by comparing the file modification time with the time the file data was registered in the database, and if the file modification time is earlier than the time the data was registered in the database, then 7
The isle has not been modified and is determined to have been modified at subsequent times.

この判定でファイルが修正されていた場合には、データ
登録手段(12)に対しデータの登録を指示(ステップ
22)し、同様にデータ登録手段(12)によに、ファ
イルからデータを抽出しそれらのデータおよび登録時刻
をデータベース(15)に登録する。
If this judgment indicates that the file has been modified, the data registration means (12) is instructed to register the data (step 22), and the data registration means (12) is similarly extracted from the file. The data and registration time are registered in the database (15).

そしてこのファイルが修正されていなかった場合または
前述のステップ22の処理終了の後、利用者によって指
示された検索条件を満たすデータをデータベース(15
)から取り出しくステップ24)、それを利用者忙返却
する。
If this file has not been modified or after the process in step 22 described above is completed, the data that meets the search conditions specified by the user is searched in the database (15
) and return it to the user in step 24).

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明け、データベースに最新の
データを登録するようにしているため、つねにファイル
の内容を反映したデータを取り出すことができるという
効果がある。
As explained above, since the present invention registers the latest data in the database, it has the advantage that it is possible to always retrieve data that reflects the contents of the file.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例の構成を示すブロック回、第
2図はデータ検索手段の処理の流れ図である。 図において、 10・・・ファイル、11・・・ファイル管理手段、1
2・・・データ登録手段、13・・・データ検索手段、
14・・・データ管理手段、15・・・データベースで
ある。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart of the processing of the data retrieval means. In the figure, 10...file, 11...file management means, 1
2... Data registration means, 13... Data search means,
14... Data management means, 15... Database.

Claims (1)

【特許請求の範囲】 ファイルに対するデータの入出力処理を管理するファイ
ル管理手段と、 データベースに対するデータの入出力処理を管理するデ
ータ管理手段と、 データの登録を指示されたファイルから前記ファイル管
理手段を介してデータを入力し、前記データ管理手段を
介してデータベースにそのデータを登録するデータ登録
手段と、 ファイル名指示に基づきそのファイルのデータがデータ
ベースに登録されているか否かを判定し、登録されてい
ない場合には、前記データ登録手段にそのファイルのデ
ータの登録を指示して登録し、登録されている場合には
、そのファイルが修正されているか否かを判定し、修正
されている場合には、前記データ登録手段に修正された
データ登録を指示して登録し、該データベースから最新
のデータを検索するデータ検索手段とを有することを特
徴とするデータ検索方式。
[Scope of Claims] File management means for managing data input/output processing for files; data management means for managing data input/output processing for databases; data registration means for inputting data through the data management means and registering the data in the database through the data management means; If not, the data registration means is instructed to register the data of the file, and if it is registered, it is determined whether or not the file has been modified, and if it has been modified, the data is registered. A data retrieval method comprising: a data retrieval means for instructing the data registration means to register corrected data, and retrieving the latest data from the database.
JP2019336A 1990-01-31 1990-01-31 Data retrieving system Pending JPH03225558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019336A JPH03225558A (en) 1990-01-31 1990-01-31 Data retrieving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019336A JPH03225558A (en) 1990-01-31 1990-01-31 Data retrieving system

Publications (1)

Publication Number Publication Date
JPH03225558A true JPH03225558A (en) 1991-10-04

Family

ID=11996563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019336A Pending JPH03225558A (en) 1990-01-31 1990-01-31 Data retrieving system

Country Status (1)

Country Link
JP (1) JPH03225558A (en)

Similar Documents

Publication Publication Date Title
US7444326B1 (en) Method of performing approximate substring indexing
US8423885B1 (en) Updating search engine document index based on calculated age of changed portions in a document
US9020995B2 (en) Hybrid relational, directory, and content query facility
JPH03225558A (en) Data retrieving system
JPH09198396A (en) Document retrieval device
JP2002366576A (en) Method, system and program product for data searching
JPH0644309A (en) Data base managing system
JPH04340163A (en) Keyword retrieval system
JPH07319742A (en) Physical deleting system for logically deleted data
JPH0773187A (en) Retrieving system
JPH117445A (en) Integrated document management device
JPH04107628A (en) Back-up system for reuse of software
JPH03129570A (en) Data base retrieving system
JPH05204978A (en) Information retrieving device
JPH05128159A (en) Key word extraction and its device
JPH0447367A (en) Data base retrieval system
JP3498926B2 (en) Document database management system
JPS62172427A (en) Secondary indexing device
JPH08287104A (en) Time-series data management system
JPH1091493A (en) Method for constructing database
KR20010056171A (en) Apparatus and method for searching pattern matching information in information searching system
JPS63238622A (en) Relation retrieval system
JPH05233313A (en) Symbol table processing system
JPH01209527A (en) Data retrieving process method
JPH0241565A (en) Thesaurus update supporting device