JPH0217536A - Input system for program library - Google Patents

Input system for program library

Info

Publication number
JPH0217536A
JPH0217536A JP16672588A JP16672588A JPH0217536A JP H0217536 A JPH0217536 A JP H0217536A JP 16672588 A JP16672588 A JP 16672588A JP 16672588 A JP16672588 A JP 16672588A JP H0217536 A JPH0217536 A JP H0217536A
Authority
JP
Japan
Prior art keywords
program
library
time
directory
section
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
JP16672588A
Other languages
Japanese (ja)
Inventor
Kazuo Imai
今居 和男
Tsugio Kise
木瀬 次男
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP16672588A priority Critical patent/JPH0217536A/en
Publication of JPH0217536A publication Critical patent/JPH0217536A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the processing efficiency by detecting the date and time at the time of preparing and updating a program for both data part and directory part. CONSTITUTION:The date and time of the updating of programs A and B are respectively stored into both directory part and data part, the contradiction between the directory part and the data part is detected with the date and time of the updating of the program during the input of the data part and when both are not coincident, the directory part is re-inputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コンピュータシステム内で使用するプログラ
ムライブラリに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program library for use within a computer system.

〔従来の技術〕[Conventional technology]

従来のプログラムライブラリは、ディレクトリ部とデー
タ部で構成されている。ディレクトリ部には、データ部
内の各プログラムの格納位置を記憶していおり、プログ
ラムを入力するときはまずディレクトリ部を検索し、該
当するプログラムの位置を求める。
A conventional program library consists of a directory section and a data section. The directory section stores the storage location of each program in the data section, and when inputting a program, the directory section is first searched to find the location of the corresponding program.

この種のものとして、例えば、「プログラムプロダクト
vO83/ESデータ管理解説(8091−3−042
)J  (日立製作所発行)のp47〜48.92〜9
3が挙げられる。
For example, "Program Product vO83/ES Data Management Commentary (8091-3-042
) J (Published by Hitachi, Ltd.) p47-48.92-9
3 can be mentioned.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術には1次のような問題がある。 The above conventional technology has the following first-order problem.

(1)ライブラリ共用時の不正データ入力ライブラリの
入力時間短縮のため一度入力したディレクトリ部をメモ
リ上に常駐しておき、データ部にあるプログラムを必要
な時点でくり返し入力する場合がある。この場合、途中
で該当プログラムの内容が更新され、さらに、該プログ
ラムが存在していたライブラリ上の領域が他のプログラ
ムの内容で置き換わることがある。
(1) Incorrect data input when library is shared In order to shorten library input time, the directory section that has been input once is stored permanently in memory, and the program in the data section may be input repeatedly as needed. In this case, the contents of the program may be updated during the process, and the area on the library where the program existed may be replaced with the contents of another program.

このように、ライブラリを複数のニー°ザが共用しアク
セスが競合すると途中でデータがすり換り、不正データ
を入力する可能性がある。
In this way, if a library is shared by multiple users and there is contention for access, there is a possibility that data will be swapped midway through, leading to the possibility of inputting incorrect data.

(2)ライブラリ共用の制限、 (1)の問題を回避するためには、ライブラリの共用を
制限し、ライブラリの入力と更新を排他的に行う必要が
ある。アクセス要求の待ちが発生し処理効率、操作性の
低下をもたらす。
(2) Restrictions on library sharing In order to avoid the problem in (1), it is necessary to limit library sharing and perform library input and updating exclusively. Waiting for access requests occurs, resulting in a decrease in processing efficiency and operability.

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

上記問題点は、ディレクトリ部とデータ部の内容の不一
致を検知できるように、双方にプログラムの更新日付・
時刻を記録しておくことによって解決できる。
The problem mentioned above is that in order to detect discrepancies between the contents of the directory part and the data part, the program update date and
This can be solved by recording the time.

〔作用〕[Effect]

ディレクトリ部、データ部上に記録しであるプログラム
の更新日付・時刻が一致していなかったら、データ部が
更新されたと判断し、再度とディレクトリ部を入力し、
最新のデータ部の位置を求め直すことができ、不正なデ
ータを入力することがない。
If the update date and time of the program recorded in the directory and data sections do not match, it is determined that the data section has been updated, and the directory section is entered again.
The position of the latest data section can be recalculated, and incorrect data will not be entered.

〔実施例〕〔Example〕

以下図面を参照してこの発明の一実施例について説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第1図は、プログラムライブラリの構成を示すものであ
る。プログラムA、Hの更新日付・時刻を、ディレクト
リ部、データ部の双方にそれぞれT1.T、’として記
憶している。これらのTl k、T?は、プログラムA
、Bをそれぞれライブラリに出力するときに記録してお
く。
FIG. 1 shows the structure of the program library. The update date and time of programs A and H are stored in both the directory section and the data section as T1. I remember it as T,'. These Tl k, T? is program A
, B are recorded when outputting them to the library.

第2図は、データ部の入力中にプログラムの更新日付・
時刻を用いてディレクトリ部、データ部の間の矛盾を検
知する方式を示している。日付・時刻が一致(T Z 
=T’i’) シていれば矛盾なしとしてデータ部を最
後まで入力する。両者が不一致(TI≠’r ’i))
ならば矛盾ありと認識し、ディレクトリ部を再入力し、
再度矛盾のチエツクを行う。
Figure 2 shows the update date and time of the program while inputting the data section.
This shows a method of detecting inconsistencies between the directory section and the data section using time. Date and time match (TZ
=T'i') If it is, it is assumed that there is no contradiction and the data section is input to the end. Both do not match (TI≠'r 'i))
If so, recognize that there is a contradiction and re-enter the directory part,
Check again for contradictions.

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

本発明によって、プログラムライブラリの入力と更新を
同時に行っても、入力データの内容を常に保証できる。
According to the present invention, even if a program library is input and updated at the same time, the contents of input data can always be guaranteed.

また、ライブラリの入力と更新を排他的に行う必要がな
く、アクセスの待ちがなくなり、処理効率、操作性を向
上できる。
In addition, it is not necessary to input and update the library exclusively, there is no need to wait for access, and processing efficiency and operability can be improved.

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

第1図は、本発明の一実施例のプログラムライブラリの
構成図、第2図は、第1図に示したプログラムライブラ
リの入力方式の説明図である。 A、B・・・プログラム名、 Pc・・・各データ部の位置情報、 Tf・・・プログラムの更新日付・時刻、T?・・・プ
ログラムの更新日付・時刻。 英 f 面
FIG. 1 is a configuration diagram of a program library according to an embodiment of the present invention, and FIG. 2 is an explanatory diagram of an input method for the program library shown in FIG. A, B...Program name, Pc...Position information of each data section, Tf...Program update date and time, T? ...Program update date and time. English f side

Claims (1)

【特許請求の範囲】[Claims] 1、プログラムの内容を格納するデータ部と、プログラ
ムの格納位置を記憶するディレクトリ部とで構成される
プログラムライブラリにおいて、データ部とディレクト
リ部の双方にプログラムを作成・更新した時の日付と時
刻又は、両者の間の矛盾の有無を検知できる何らかの識
別情報を記録することにより、ライブラリを同時に入力
、更新してもディレクトリ部とデータ部の同期ずれを前
述の日付・時刻等によって検知し、最新のプログラムを
入力可能としたことを特徴とするプログラムライブラリ
の入力方式。
1. In a program library that consists of a data section that stores program contents and a directory section that stores the program storage location, the date and time when the program was created or updated in both the data section and the directory section. By recording some kind of identification information that can detect whether or not there is a contradiction between the two, even if the library is input and updated at the same time, the synchronization difference between the directory section and the data section can be detected based on the aforementioned date and time, and the latest An input method for a program library, characterized in that a program can be input.
JP16672588A 1988-07-06 1988-07-06 Input system for program library Pending JPH0217536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16672588A JPH0217536A (en) 1988-07-06 1988-07-06 Input system for program library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16672588A JPH0217536A (en) 1988-07-06 1988-07-06 Input system for program library

Publications (1)

Publication Number Publication Date
JPH0217536A true JPH0217536A (en) 1990-01-22

Family

ID=15836595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16672588A Pending JPH0217536A (en) 1988-07-06 1988-07-06 Input system for program library

Country Status (1)

Country Link
JP (1) JPH0217536A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5881151A (en) * 1993-11-22 1999-03-09 Fujitsu Limited System for creating virus diagnosing mechanism, method of creating the same, virus diagnosing apparatus and method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5881151A (en) * 1993-11-22 1999-03-09 Fujitsu Limited System for creating virus diagnosing mechanism, method of creating the same, virus diagnosing apparatus and method therefor

Similar Documents

Publication Publication Date Title
US6341308B1 (en) Input/output device information management system for multi-computer system
JPH0217536A (en) Input system for program library
US7257591B2 (en) Method of referencing data via edge definition
JPS62131349A (en) Data base processing system
JPS62282341A (en) Data managing system
JP2615046B2 (en) Record addition processing method
JPH0744426A (en) File management method for file system
JPS63140351A (en) Multiplex managing system for library file
JPS63217442A (en) Sequential output system for recovery information of multi-computer system
JPH0228846A (en) Data storing system
JPH02208750A (en) File access system
JPS6327927A (en) Index generation system in reserved information retrieval system
JPS626348A (en) File sharing system
JPS63213043A (en) File processing system for external memory
JPH01106217A (en) Parallel storage/reading type data processor
JPS61148528A (en) Data file organizing system
JPH0823867B2 (en) Adjacency search method using aggregate files
JPS61290532A (en) Data base retrieving system
JPH04137035A (en) Software design structure storage device
JPH05216730A (en) Data base managing processor
JPH03276238A (en) Record control system
JPH05250335A (en) Data base update processing system of loosely coupled multiprocessor system
JPH04314129A (en) File managing system
JPH04142620A (en) Bath inquiry system
JPH04314144A (en) Dara block accesssing system for sequential file