JPS61243523A - File management system - Google Patents

File management system

Info

Publication number
JPS61243523A
JPS61243523A JP60085802A JP8580285A JPS61243523A JP S61243523 A JPS61243523 A JP S61243523A JP 60085802 A JP60085802 A JP 60085802A JP 8580285 A JP8580285 A JP 8580285A JP S61243523 A JPS61243523 A JP S61243523A
Authority
JP
Japan
Prior art keywords
days
date
data
file
information
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
JP60085802A
Other languages
Japanese (ja)
Inventor
Koji Nishibayashi
西林 浩司
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 JP60085802A priority Critical patent/JPS61243523A/en
Publication of JPS61243523A publication Critical patent/JPS61243523A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent a lent program from being used after the expiration of lending by comparing information of the number of days till the expiration of the validity time recorded on an external file with the number of days of the use obtained from date information in a computer. CONSTITUTION:Data 7 of the number of days of validity is written on a file of a floppy disc 6 to which the term of validity should be given. Use start data 8 is read before this file is used, and the date obtained from a date information device 4 of a computer at this time is written as data 8 if nothing is written as data 8. If data 8 is set,the number of days of the use is calculated in accordance with its date and date information obtained from the device 4. This number of days of the use is compared with data 7 by a comparator 2, and this file is handled as a file which is within the term of validity and can be used only when the number of days of the use is smaller than date 7. In this system, the file is not used after the expiration of lending even in a computer where date information is not correctly set.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、外部ファイルに有効期限を設けて、ファイル
を管′理する方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method of setting an expiration date on an external file and managing the file.

〔従来の技術〕[Conventional technology]

従来、外部ファイルに有効期限を持たせる場合、そのフ
ァイルに有効期限終了の日付を持たせて。
Traditionally, when an external file has an expiration date, it has to have an expiration date on it.

その日付と、コンピュータの日付情報装置から得られた
日付を比較することが提案されていた。
It was proposed to compare that date with the date obtained from the computer's date information device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の日付による管理では、フロッピーディス
ク等にプログラムを記憶させて、評価等しようとした場
合に、コンビエータの日付情報装置の設定が正しく行わ
れていないと、コピーしたプログラムを使用することが
可能となるという欠点があった。
With the conventional date-based management described above, if you try to evaluate a program by storing it on a floppy disk, etc., if the date information device of the Combiator is not set correctly, the copied program may not be used. The drawback was that it was possible.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、外部ファイルに有効期日までの日数の情報を
持たせ、この外部ファイルに使用開始時にコンビエータ
から使用開始の日付情報を記録し、使用時にコンピュー
タが使用開始日付情報と有効期日までの日数とから有効
期限を計算し、かつコンビエータ内で作られる現在の日
付情報との比較によって外部ファイルが使用有効期限内
である時のみこの外部ファイルの使用を許可するファイ
ル管理方式を得る。
According to the present invention, an external file has information on the number of days until the expiry date, the combiator records the date information on the start of use in this external file, and the computer records the information on the start date of use and the number of days until the expiry date when the combiator starts using the external file. To obtain a file management method that allows use of an external file only when the expiration date of the external file is within the usage expiration date by calculating the expiration date from and comparing it with the current date information created in the combinator.

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例を示したものである。1は
コンピュータ、2は比較装置、3はメイン・メモリ、4
は日付情報装置、5はフロッピー・ディスク読み取り装
置、6はフロッピー・ディスク、7はフロッピー・ディ
スク上の有効日数データ、8はフロッピー・ディスク上
の使用開始日データである。
FIG. 1 shows an embodiment of the present invention. 1 is a computer, 2 is a comparison device, 3 is a main memory, 4
is a date information device, 5 is a floppy disk reader, 6 is a floppy disk, 7 is valid days data on the floppy disk, and 8 is start date data on the floppy disk.

有効期限を持たせようとする。フロッピー・ディスク6
上のファイルに、有効日数データ7を書き込んでおく。
Try to give it an expiration date. floppy disk 6
Write the valid days data 7 in the above file.

このファイルを使用する前に、使用開始日データ8を読
み込み、もし何も書き込まれていなかった場合は、その
時のコンピータ1の日付情報装置4から得られた日付を
、使用開始日データ8として書き込み、使用開始日デー
タ8が設定されていた場合は、その日付と、コンピュー
タの日付情報装置4から得られた日付情報から、使用日
数を計算する。そして、この使用日数と、ファイル上の
有効日数データ7とを比較装置2を用いて比較し、その
ファイルが有効期限内のものであるかどうかを判断する
Before using this file, read the first use date data 8, and if nothing is written, write the date obtained from the date information device 4 of the computer 1 at that time as the first use date data 8. , If use start date data 8 is set, the number of days of use is calculated from that date and date information obtained from the date information device 4 of the computer. Then, this number of days of use is compared with the valid days data 7 on the file using the comparing device 2, and it is determined whether the file is within its valid period.

第2図は、比較の例で、外部ファイル上の情報である有
効日数データ9および使用日数は日数の情報で構成され
、その他は、年1月2日の情報で構成されているものと
する。有効日数データ9に10日間、使用開始10に6
0年3月19日という情報が書き込まれていたとき、日
付情報データ11が60年3月25日であった場合は、
使用日数13のように6日間となり、有効日数データ9
以内であるため、使用可能なファイルとして扱われ、日
付情報12が60年3月30日であった場合使用日数1
4が11日間となり有効日数を過ぎているために、使用
不可能なファイルとして扱う。
Figure 2 is an example of comparison, and it is assumed that the valid days data 9 and the number of days used, which are information on the external file, consist of information on the number of days, and the other information consists of information on January 2, 2017. . Effective days data 9 to 10 days, start of use 10 to 6
If the information March 19, 0 is written, and date information data 11 is March 25, 60,
The number of days of use is 13, which is 6 days, and the valid days data is 9.
If the date information 12 is March 30, 1960, the number of days of use is 1.
4 is 11 days, which is past the effective number of days, so it is treated as an unusable file.

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

本発明により、日付情報が正しく設定されていないコン
ピュータにおいても、外部ファイルニ5有効期限を持た
せることができ、評価等に貸与したプログラムが、日付
情報が正しく設定されていないコンピュータにおいても
、貸与期間終了後も使用されるということがなくなる。
According to the present invention, an external file can have an expiration date even on a computer whose date information is not set correctly. It will not be used even after the period ends.

これによって、プログラムを保護することが容易になる
という効果がある。
This has the effect of making it easier to protect programs.

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

第1図は、本発明の一実施例を示すブロック図。 第2図は、有効日数と使用日数の比較の例を示すブロッ
ク図である。 1・・・・・・コンピュータ、2・・・・・・比較装置
、3・・・・・・メイン・メモリ、4・・・・・・日付
情報装置、5・・・・・・フロッピー・ディスク読み取
り装置、6・・・・・・フロッピー・ディスク、7・・
・・・・フロッピー・ディスク上の有効日数データ、8
・・・・・・フロッピー・ディスク上の使用開始日デー
タ、9・・・・・・有効日数データ、10・・・・・・
使用開始日、11.12・・・・・・日付情報データ、
13.14・・・・・・使用日数。 g付仔汁浸たゾ
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a block diagram showing an example of comparison between the number of valid days and the number of days used. DESCRIPTION OF SYMBOLS 1... Computer, 2... Comparison device, 3... Main memory, 4... Date information device, 5... Floppy... Disk reader, 6... Floppy disk, 7...
...Validity days data on floppy disk, 8
......Data on the start date of use on the floppy disk, 9...Data on the number of valid days, 10...
Use start date, 11.12...Date information data,
13.14...Number of days of use. Chicken soup soaked with g

Claims (1)

【特許請求の範囲】[Claims] 外部ファイルに記録されている有効期限までの日数情報
と、コンピュータ内の日付情報装置から得られる使用日
数とを比較することによって、前記外部ファイルに記録
されている前記日数情報よりも前記コンピータで得られ
る前記使用日数が少ない時にのみ前記外部ファイルの前
記コンピュータでの使用を許可することを特徴とする管
理方式。
By comparing the information on the number of days until the expiration date recorded in the external file and the number of days of use obtained from the date information device in the computer, the information on the number of days until the expiration date recorded in the external file is compared. The management method is characterized in that the external file is allowed to be used on the computer only when the number of days of use is small.
JP60085802A 1985-04-22 1985-04-22 File management system Pending JPS61243523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60085802A JPS61243523A (en) 1985-04-22 1985-04-22 File management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60085802A JPS61243523A (en) 1985-04-22 1985-04-22 File management system

Publications (1)

Publication Number Publication Date
JPS61243523A true JPS61243523A (en) 1986-10-29

Family

ID=13869005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60085802A Pending JPS61243523A (en) 1985-04-22 1985-04-22 File management system

Country Status (1)

Country Link
JP (1) JPS61243523A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316903A (en) * 2004-04-30 2005-11-10 Nse:Kk File data deletion program and file data deletion system
JP2011023024A (en) * 2010-08-25 2011-02-03 Science Park Corp File data deletion program and file data deletion system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005316903A (en) * 2004-04-30 2005-11-10 Nse:Kk File data deletion program and file data deletion system
JP2011023024A (en) * 2010-08-25 2011-02-03 Science Park Corp File data deletion program and file data deletion system

Similar Documents

Publication Publication Date Title
JP2718031B2 (en) History information acquisition method
JPS61243523A (en) File management system
JPH0362222A (en) Check system for using right of software
ES2005370A6 (en) Method to execute two instruction sequences in an order determined in advance.
JPS5481049A (en) Data processing system
CN110716863A (en) Method, system, terminal and storage medium for testing mandatory access control rule
JPH06103686A (en) Reader-writer
JPS6125261A (en) Protection system for software product
JPH01137348A (en) Data writing system
JPH01234935A (en) Onerous control system
JPS61165803A (en) Magnetic file control system
JPS58154040A (en) Method for inhibiting use of charged program
JPH03125238A (en) Information control system
JPH03246645A (en) Data management system
JP3560189B2 (en) How to reflect journal information selectively
JPS6319866Y2 (en)
JPS6020250A (en) Program delay tracing system
JPS649552A (en) Illegal use preventing system for external storage medium
JPS62194559A (en) Memory scheduling system of program in virtual storage system
JPH0457025B2 (en)
JPS61208541A (en) Preventing system for foul use of program
JPH02236754A (en) Information processor
JPS63158641A (en) Idle file control system
JPH04242843A (en) Subfile management system
JPS6279526A (en) Software protecting system