JPH04123146A - How to write protect partitioned files - Google Patents
How to write protect partitioned filesInfo
- Publication number
- JPH04123146A JPH04123146A JP2242326A JP24232690A JPH04123146A JP H04123146 A JPH04123146 A JP H04123146A JP 2242326 A JP2242326 A JP 2242326A JP 24232690 A JP24232690 A JP 24232690A JP H04123146 A JPH04123146 A JP H04123146A
- Authority
- JP
- Japan
- Prior art keywords
- generation
- members
- file
- partitioned
- update
- 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
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、区分編成ファイル(P artitione
dOrganization File)のシステム
の書き込み保護方法に係り、特に、書き込み可能時間帯
と禁止時間帯を設定し、特定期間にのみ、ファイル更新
を許可して、ファイルの保護を効率良く行なうのに好適
な区分編成ファイルの書き込み保護方法に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention provides a partitioned file (Partitione file).
Regarding the write protection method for the dOrganization File system, in particular, it is a classification suitable for efficiently protecting files by setting writeable and prohibited time periods and allowing file updates only during specific periods. The present invention relates to a write protection method for organizational files.
現在、計算機システムは、広範囲に利用されており、記
憶保護、すなわち、ファイルの保護が。Currently, computer systems are widely used for memory protection, that is, file protection.
ますます1重要性になってきている。It is becoming more and more important.
記憶保護の主目的は、計算機システムの信頼性の向上、
および、機密情報の保護であり、記憶空間の自由な使用
を制限して、記憶内容の破壊、または、変更を防ぐため
の書き込み制限や、プログラムの暴走を防ぐために、記
憶内容を命令として実行することの制限、および、機密
情報を守る読み出し制限などである。The main purpose of memory protection is to improve the reliability of computer systems,
and the protection of confidential information by restricting the free use of storage space, implementing write restrictions to prevent the destruction or modification of stored contents, and executing stored contents as instructions to prevent programs from running out of control. There are also restrictions on data access, and read restrictions to protect confidential information.
このような記憶保護の方式には、例えば、電子情報通信
学会編集「電子情報通信ハンドブック」(1988年、
オーム社発行)のpP、1601〜16o2に記載のも
のがある。Such memory protection methods include, for example, "Electronic Information and Communication Handbook" edited by the Institute of Electronics, Information and Communication Engineers (1988),
There are those described in pP, 1601-16o2, published by Ohmsha.
すなわち、記憶領域をブロックに分割し、各ブロック毎
にキーを指定して、処理装置内のキー値との一致、不一
致により、参照を許可、禁止する保護キ一方式や、スー
パバイザとユーザの二つの実行モードを設け、ユーザモ
ードでは、特権命令の使用を制限する実行モード方式が
ある。また、仮想記憶システムでは、アドレス変換テー
ブルをユーザプログラムごとに作成し、他のユーザプロ
グラム域を参照するアドレスの生成を禁止することによ
り、プログラム間を隔離する多重仮想アドレス空間方式
がある。さらに、多重仮想アドレス空間方式の応用とし
て、制御プログラムもユーザ間で共用せず、専用の制御
プログラムをユーザ毎に用いる仮想計算機方式がある。In other words, there is a protection key system in which the storage area is divided into blocks, a key is specified for each block, and access is permitted or prohibited depending on the match or mismatch with the key value in the processing device, and there is also a system in which the supervisor and the user There are two execution modes, and in user mode, there is an execution mode method that restricts the use of privileged instructions. Furthermore, in virtual memory systems, there is a multiple virtual address space method that creates an address translation table for each user program and isolates programs by prohibiting the generation of addresses that refer to other user program areas. Further, as an application of the multiple virtual address space method, there is a virtual computer method in which the control program is not shared among users, but a dedicated control program is used for each user.
また、ファイル保護方法において、特に、磁気ディスク
上のファイルに代表される区分編成ファイルの特定の場
所に限定して、データの更新を許可するものがある。Furthermore, among file protection methods, there are methods that allow data to be updated only in a specific location of a partitioned file, such as a file on a magnetic disk.
尚、区分編成ファイルとは、複数のメンバ(Membe
r)と、それらを管理するための登録簿(Direct
ory)の部分とから成るファイルであり、メンバは、
順次編成(ファイルの中のレコードの処理が。Note that a partitioned file is a file with multiple members (Member).
r) and a register for managing them (Direct
ory), and its members are:
Sequential organization (processing of records in a file.
ファイルの先端から終端に向かって順呼出しされる形式
のファイル編成で、通常、複数個のレコードを纏めてブ
ロックとして扱うことが多い)となっており、分割型順
次編成ファイルとも呼ばれ、ライブラリ形式のファイル
は、はとんどがこの編成法を用いている。It is a file organization in which files are accessed sequentially from the beginning of the file to the end; usually, multiple records are grouped together and treated as a block), and is also called a split sequential organization file, and is a library format. Most files use this organization method.
このような、区分編成ファイルにおけるメンバの管理方
法には、例えば、(株)日立製作所[プログラムプロダ
クト VO33ライブラリ管理システム LIME
E2 マニュアル(8090−3−188)J (1
988年発行)のPP、8〜10に記載のように、区分
編成ファイルのメンバ凍結、世代管理により行なうもの
がある。For example, Hitachi, Ltd. [Program Product VO33 Library Management System LIME] is a method for managing members in partitioned files.
E2 Manual (8090-3-188) J (1
As described in PP, 8-10 of 1998 (published in 1988), this is done by freezing members of partitioned files and managing generations.
すなわち、ライブラリ(プログラムの集まり)内のプロ
グラムをメンバとして格納し、さらに、プログラムのバ
ージョン、または、プログラムの開発・保守の各段階に
対応して、凍結、追加、更新の一連の過程を経て、メン
バの世代を作成して保存して行く。In other words, programs in a library (a collection of programs) are stored as members, and are then frozen, added, and updated through a series of processes corresponding to the program version or each stage of program development and maintenance. Create and save generations of members.
世代の凍結は、更新を禁止した状態にすることであり5
凍結された世代は、凍結された時間的順序に従って、シ
ステムにより管理される。Freezing a generation is a state in which updates are prohibited5.
The frozen generations are managed by the system according to the frozen chronological order.
世代の追加は、全世代が凍結された状態にあるメンバに
対し、更新可能な世代を作ることであり、メンバの内容
の更新は、追加された世代(世代名を持たない世代)だ
けに許される。Adding a generation is to create an updateable generation for a member whose all generations are frozen, and only the added generation (generation without a generation name) is allowed to update the contents of the member. It will be done.
このような処理により、順次編成の難点である特定レコ
ードへの直接アクセス、書き換え、レコードの追加など
の処理を効率良く行なうと共に、ファイルの保護を行な
うものである。Through such processing, it is possible to efficiently perform processing such as direct access to a specific record, rewrite, and record addition, which are difficult points in sequential organization, and to protect the file.
このような区分編成ファイルの書き込み保護方法は、ユ
ーザプログラムで、区分編成ファイルのメンバ凍結や、
世代管理により行なうものであるが、区分編成ファイル
のデータ更新を、特定期間・時間に限定して、許可する
ことにより、書き込みを保護する方法については検討さ
れていない。This write-protection method for partitioned files allows the user program to freeze members of partitioned files,
Although this is done through generation management, no consideration has been given to a method of protecting writing by allowing data updates of partitioned files to be limited to a specific period/time.
このように、従来技術は、ファイル全体に対する保護に
関しては、パスワード保護、および、アクセス権限によ
る保護を行ない、区分編成ファイル内のメンバに対する
保3に関しては、ユーザ個別に対応を行なっている。As described above, in the conventional technology, protection for the entire file is performed by password protection and protection by access authority, and protection for members in a partitioned file is handled individually for each user.
そのために、区分編成ファイル内のそれぞれのメンバに
対する保護に関しては、−船釣に確立した方法が無く、
ユーザの方式設計、プログラム開発などの負荷が増加す
るなどの問題があった。Therefore, there is no established method for boat fishing as to the protection of each member within the compartmentalization file.
There were problems such as an increase in the user's burden on system design and program development.
本発明の目的は、これら従来技術の課題を解決し、区分
編成ファイル内のそれぞれのメンバに対する書き込み制
御を、ユーザプログラムではなく、メンバ単位の世代管
理、メンバ凍結を利用して、コマンドにより行ない、か
つ、特定時間にのみ許可することで、効率の良い書き込
み保護を可能とする区分編成ファイルの書き込み保護方
法を提供することである。The purpose of the present invention is to solve these problems of the prior art, and to control writing to each member in a partitioned file by a command, using member-based generation management and member freezing, rather than by a user program. Another object of the present invention is to provide a write protection method for partitioned files that enables efficient write protection by allowing write protection only at a specific time.
上記目的を達成するため、本発明の区分編成ファイルの
書き込み保護方法は、凍結、追加、更新からなる一連の
過程を経て蓄積される複数の世代を持つメンバと、この
メンバを管理する登録簿からなる区分編成ファイルにお
いて、予め任意に定めた時間帯を監視するステップと、
この予め任意に定めた時間帯以外では、世代の追加に基
づくメンバの内容の更新を禁止するステップと、予め任
意に定めた時間帯内では、世代の追加に基づくメンバの
内容の更新を許可するステップと、この内容を更新した
メンバを、予め任意に定めた時間帯の終了時に、世代の
凍結により凍結するステップとを含むことを特徴とする
。In order to achieve the above object, the write protection method for partitioned files of the present invention protects members with multiple generations that are accumulated through a series of processes consisting of freezing, addition, and updating, and the register that manages these members. a step of monitoring an arbitrary predetermined time period in the partitioned organization file;
A step of prohibiting updating of member contents based on the addition of a generation outside of this predetermined time period, and allowing updating of member contents based on generation addition within the predetermined time period. and a step of freezing the member whose contents have been updated by freezing the generation at the end of an arbitrary predetermined time period.
本発明においては、予め任意に定めた時間帯を監視して
おき、この時間帯以外では、世代の追加に基づくメンバ
の内容の更新を禁止し、時間帯内であれば、メンバの内
容の更新を許可する。In the present invention, a predetermined time period is monitored, and outside this time period, updating of member contents based on generation addition is prohibited, and within the time period, updating of member contents is prohibited. Allow.
すなわち、時間帯内であれば、世代の追加コマンドによ
り、既に凍結された世代をコピーして、更新可能な世代
の追加を行なう。そして、この追加した世代で、メンバ
の内容の更新を行なう。さらに、コピー元の世代を削除
して、メンバの更新を行なう。That is, within the time period, the generation addition command copies the already frozen generation and adds an updatable generation. Then, the contents of the members are updated using this added generation. Furthermore, the copy source generation is deleted and the members are updated.
さらに、時間帯の終了時に、世代の凍結コマンドにより
、上記内容を更新したメンバに世代名を付与して、更新
メンバを凍結する。Further, at the end of the time period, a generation name is given to the member whose contents have been updated using a generation freeze command, and the updated member is frozen.
このように、世代管理が行なわれる区分編成ファイルに
おいて、更新可能時間帯と禁止時間帯を設定し、特定期
間にのみファイル更新を許可して。In this way, for partitioned files that undergo generation management, update-enabled and prohibited time periods are set, and file updates are permitted only during specific periods.
ファイルの保護を効率良く行なう 〔実施例〕 以ド、本発明の実施例を、図面により詳細に説明する。Protect files efficiently 〔Example〕 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
第1図は、本発明を施したコンピュータシステムの本発
明に係る構成の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the configuration of a computer system according to the present invention.
磁気ディスクなどからなり、区分編成ファイル20を持
つ補助記憶装置2.操作者からの指示を入力する入力装
置3、処理結果を表示する表示装置4、そして、本発明
を施した処理装置1から構成されている。An auxiliary storage device 2 consisting of a magnetic disk or the like and having a partitioned file 20. It is comprised of an input device 3 for inputting instructions from an operator, a display device 4 for displaying processing results, and a processing device 1 implementing the present invention.
区分編成ファイル20は、メンバと呼ばれ、実際にレコ
ードを記録した領域と、各メンバの名前や、各メンバに
関する各種情報を記録したディレクトリ(登録簿)から
なる。本実施例においては、メンバ(A)23、(B)
24、(C)25からなるメンバ領域22.および、そ
れぞれのメンバに関する情報を記録した登録簿21から
構成されている。The segmented organization file 20 is called a member, and consists of an area where records are actually recorded, and a directory (register) where the name of each member and various information regarding each member are recorded. In this example, members (A) 23, (B)
24, (C) Member area 22 consisting of 25. and a register 21 that records information regarding each member.
さらに、処理装置1は、処理装置1の全体の処理動作を
制御するCPU(Central Processi
ngUnit ;中央処理装置)5と、本発明に係る区
分編成ファイル管理部6から構成されている。Furthermore, the processing device 1 has a CPU (Central Processing Unit) that controls the entire processing operation of the processing device 1.
ngUnit (central processing unit) 5, and a partitioned file management section 6 according to the present invention.
従来、処理装置1は、区分編成ファイル管理部6により
、補助記憶装置2のファイルを、メンバ単位で管理する
。例えば、複数の世代を持ったメンバ、すなわち、世代
管理されたメンバを格納して管理する。メンバの世代は
、プログラムのバージョン、または、プログラムの開発
・保守の各段階に対応して作成し、保存する。Conventionally, the processing device 1 manages files in the auxiliary storage device 2 on a member-by-member basis using the partitioned file management section 6. For example, members with multiple generations, that is, members whose generations are managed are stored and managed. Generations of members are created and saved in correspondence with program versions or each stage of program development and maintenance.
区分編成ファイル管理部6は、メンバ凍結処理部7、メ
ンバ追加処理部8、そして、メンバ削除処理部9を有し
、これらの処理部により、メンバの各世代は、凍結、追
加、更新という一連の過程を経て蓄積される。尚、メン
バ凍結処理部7、メンバ追加処理部8、そして、メンバ
削除処理部9は、それぞれ、システムの有するコマンド
で実行される。The partitioned file management unit 6 has a member freezing processing unit 7, a member addition processing unit 8, and a member deletion processing unit 9. These processing units process each generation of members through a series of freezing, addition, and updating. It is accumulated through the process of Note that the member freezing processing unit 7, member addition processing unit 8, and member deletion processing unit 9 are each executed by commands provided by the system.
世代の凍結とは、更新を禁止された状態にすることであ
り、メンバ凍結処理部7により、世代管理されていなか
ったメンバに世代名を付け、世代管理されたメンバとす
る。あるいは、世代管理されているメンバの更新可能な
世代に、世代名を付けて、凍結を行なう。凍結された世
代は、凍結された時間的順序に従って、システムにより
管理される。Freezing a generation means to put it in a state where updates are prohibited, and the member freezing processing unit 7 gives a generation name to a member that has not been generation-managed, and makes it a generation-managed member. Alternatively, a generation name is assigned to an updatable generation of a member whose generation is managed, and the generation is frozen. The frozen generations are managed by the system according to the frozen chronological order.
世代の追加とは、メンバ追加処理部8により、全世代が
凍結された状態にあるメンバに対し、更新可能な世代を
作ることである。更新可能な世代を作る方法には、凍結
された世代の一つ、普通は最新世代をコピーして作る方
法などがある。尚、メンバの内容の更新は、追加された
世代、すなわち、世代基を持たない世代だけに許される
。Adding a generation means that the member addition processing unit 8 creates an updatable generation for a member whose all generations are frozen. One way to create an updatable generation is to copy one of the frozen generations, usually the latest generation. Note that updating of member contents is allowed only for added generations, that is, generations that do not have a generation base.
世代の削除とは、メンバ削除部9により、世代管理され
たメンバの中の不要になった世代、または、全ての世代
を削除することである。Deletion of a generation means that the member deletion unit 9 deletes generations that are no longer needed among members whose generations have been managed, or all generations.
このように、処理装置1は、区分編成ファイル管理部6
により、補助記憶装置2の区分編成ファイル20を、メ
ンバ単位で管理している。In this way, the processing device 1 has the partitioned file management section 6.
Accordingly, the partitioned file 20 in the auxiliary storage device 2 is managed on a member-by-member basis.
さらに、本実施例においては、区分編成ファイル管理部
6は、時間監視部10を有し、この時間監視部10内の
フラグ11に基づき、メンバ凍結処理部7.メンバ追加
処理部8、そして、メンバ削除処理部9の動作を制御す
る。Furthermore, in this embodiment, the partitioned file management section 6 has a time monitoring section 10, and based on the flag 11 in this time monitoring section 10, the member freezing processing section 7. It controls the operations of the member addition processing section 8 and the member deletion processing section 9.
時間監視部1oは、システム内臓の時計機能に基づき1
時間を認識し、予め定められた時間になると、フラグ1
1を「0」から「1」、もしくは「1」から「0」に変
える。The time monitoring unit 1o is based on the built-in clock function of the system.
Recognizes the time, and when the predetermined time arrives, flag 1 is activated.
Change 1 from "0" to "1" or from "1" to "0".
本実施例においては、フラグ11は5通常は。In this embodiment, flag 11 is normally 5.
「0」であり、ある時間になれば、「1ノになりさらに
、ある時間が経てば、rOJに戻るものである。そして
、フラグ11が「1」の場合にのみ。It is "0", becomes "1" at a certain time, and then returns to rOJ after a certain time.And only when the flag 11 is "1".
区分編成ファイル管理部6は、メンバ追加処理部8とメ
ンバ削除処理部9による処理を実行し、また、フラグ1
1が「1」からrOJに戻る時点で。The partitioned file management unit 6 executes processing by the member addition processing unit 8 and member deletion processing unit 9, and also executes processing by the member addition processing unit 8 and member deletion processing unit 9, and also
At the point when 1 returns to rOJ from "1".
メンバ凍結処理部7による処理を実行するものである。This executes the processing by the member freezing processing section 7.
このような構成により2本実施例のコンピュータシステ
ムは、通常、メンバを全て凍結しており。With this configuration, the computer system of the second embodiment normally freezes all members.
更新は不可能な状態となっている。そして、ある時間帯
に限ってのみ、世代の追加等の処理を許可し、メンバ、
すなわち、ファイルの更新を可能とする。そして、更新
したメンバは、この時間帯の終了と共に凍結処理される
。Update is not possible. Then, processes such as adding generations are allowed only during a certain time period, and members,
In other words, the file can be updated. Then, the updated members are frozen at the end of this time period.
以下、時間監視部10に基づく区分編成ファイル管理部
6の処理動作を説明する。The processing operation of the partitioned file management section 6 based on the time monitoring section 10 will be explained below.
第2図は、第1図における区分編成ファイル管理部の本
発明に係る処理動作の一実施例を示すフローチャートで
ある。FIG. 2 is a flowchart showing one embodiment of the processing operation of the partitioned file management section in FIG. 1 according to the present invention.
メンバの内容の更新のために、世代の追加処理要求が入
力されると(ステップ201)、第1図の時間監視部1
0のフラグ11を確認する(ステップ202)。When a generation addition processing request is input to update the contents of a member (step 201), the time monitoring unit 1 in FIG.
The flag 11 of 0 is confirmed (step 202).
ここで、フラグ11が「0」であれば(ステップ203
)、更新禁止の時間帯であり、更新処理は行なわず、処
理を終了する。Here, if the flag 11 is "0" (step 203
), the update is prohibited, so the update process is not performed and the process ends.
一方、フラグ11が「1」であれば、更新許可の時間帯
であり、メンバの内容の更新を実行する(ステップ20
4)。On the other hand, if the flag 11 is "1", it is the time period during which updates are permitted, and the member contents are updated (step 20
4).
更新処理が終了すれば、フラグ11がrOJに戻るのを
待つ(ステップ205)、フラグ11が「0」になると
、ステップ204で更新したメンバに凍結処理を行ない
(ステップ206)、処理を終了する。When the update process is completed, wait for flag 11 to return to rOJ (step 205). When flag 11 becomes "0", the member updated in step 204 is frozen (step 206), and the process ends. .
このようにして、メンバの内容の更新を、ある時間帯に
のみ許可することにより、ファイルの保護を行なう。In this way, files are protected by allowing members to update their contents only during a certain time period.
尚、第1図、および、第2図においては、時間監視部1
0にフラグ11を持たせ、このフラグ11に基づき、更
新処理を制御しているが、フラグ11を用いない方法で
も良い。要は、時間監視部10などのように、予め設定
された時間帯を認識出来るものがあり、その時間帯の認
識に基づき、メンバの内容更新の要求に対する実行の許
可、禁止を制御すれば良い。In addition, in FIG. 1 and FIG. 2, the time monitoring section 1
0 has a flag 11 and the update process is controlled based on this flag 11, but a method that does not use the flag 11 may also be used. In short, there is a device such as the time monitoring unit 10 that can recognize a preset time period, and based on the recognition of the time period, it is sufficient to control permission or prohibition of execution in response to a member's content update request. .
第3図は、第1図におけるコンピュータシステムの本発
明に係る具体的な処理の第1の実施例を示す説明図であ
る。FIG. 3 is an explanatory diagram showing a first embodiment of specific processing according to the present invention of the computer system shown in FIG.
本実施例は、メンバ名指定での書き込み保護の実施例を
示し、更新許可開始時1’EIff30に基づき、補助
記憶装置2の区分編成ファイル内のメンバ31を、区分
編成ファイル管理部6で更新し、更新した更新メンバ3
2を、更新禁止開始時間33で、凍結するものである。This embodiment shows an example of write protection by specifying a member name, and the member 31 in the partitioned file of the auxiliary storage device 2 is updated by the partitioned file management unit 6 based on 1'EIff30 at the start of update permission. and updated member 3
2 is frozen at update prohibition start time 33.
まず、補助記憶装置2における区分編成ファイル内の全
メンバを凍結状態にしておく、すなわち。First, all members in the partitioned file in the auxiliary storage device 2 are frozen.
参照は可能であるが、更新は不可の状態である。Reference is possible, but updating is not possible.
従って、誤って更新されることはない。Therefore, it will not be updated erroneously.
次に、更新許可開始時間3oになると、コマンドrGE
N メンバ名 M(2)J 34で、該当するメンバ
31の世代数の変更(「1」→「2」)を行なう。Next, when the update permission start time reaches 3o, the command rGE
N Member name M(2)J At 34, the number of generations of the corresponding member 31 is changed (from "1" to "2").
そして、コマンドrGEN メンバ名 ADDJ35
で、新規世代の追加と、旧世代から新世代へのデータコ
ピーを行なう。Then, command rGEN member name ADDJ35
Add a new generation and copy data from the old generation to the new generation.
コピーが終了した時点で、コマンドrGENメンバ名
DEL (世代名)J36で、旧世代の廃止を行ない、
コマンドrGEN メンバ名 M(1)J37で、再
度、世代数の変更(「2J→「1」)を行なう。When the copy is finished, the command rGEN member name
DEL (generation name) With J36, the old generation will be abolished,
Use the command rGEN member name M(1)J37 to change the number of generations again (from ``2J'' to ``1'').
この状態で、メンバ31内のデータを更新し、更新メン
バ32に更新する。In this state, the data in the member 31 is updated and updated to the update member 32.
書き込み更新禁止開始時間33になると、コマンドrG
EN メンバ名 F(世代名)138で、更新メンバ
32を凍結する。When the write update prohibition start time reaches 33, the command rG
EN Member name F (generation name) 138 freezes the update member 32.
このようにして、メンバ名指定による更新、書き込み保
護を行なう。In this way, updates and write protection are performed by specifying member names.
第4図は、第1図におけるコンピュータシステムの本発
明に係る具体的な処理の第2の実施例を示す説明図であ
る。FIG. 4 is an explanatory diagram showing a second embodiment of specific processing according to the present invention of the computer system shown in FIG.
本実施例は、区分編成ファイル内の全メンバの更新例を
示す。This example shows an example of updating all members in a partitioned file.
まず、補助記憶装置2における全メンバ47の世代を凍
結状態にしておく。First, the generations of all members 47 in the auxiliary storage device 2 are frozen.
書き込み許可開始時間40になると、コマンドrGRP
UPDATEJ 41で、全メンバ47に対して、
グループ指定を行なう。When the write permission start time reaches 40, the command rGRP
UPDATEJ 41, to all members 47,
Specify a group.
次に、コマンドrGEN UPDATE M(2)
J42で、グループ全体に対する世代数の変更(「1」
→「2」)を行なう1世代数の変更後、コマンドrGE
N UPDATE ADDJ43で、新規世代の追
加と、旧世代から新世代へのデータコピーを行なう。Next, the command rGEN UPDATE M (2)
In J42, change the number of generations for the entire group ("1"
→ "2") After changing the number of generations, use the command rGE
N UPDATE ADDJ43 adds a new generation and copies data from the old generation to the new generation.
コピーが終了した時点で、コマンド[GENUPDAT
E DEL(世代名)」44で、旧世代の廃止を行な
い、そして、コマンドrGEN UPDATE M
(1)J 45で、再度、世代数の変更(「2」→「1
」)を行なう。When the copying is complete, issue the command [GENUPDAT
E DEL (generation name)" 44 to discontinue the old generation, and then issue the command rGEN UPDATE M
(1) At J45, change the number of generations again (“2” → “1”
”).
この状態で、全メンバ47のデータを変更し、全更新メ
ンバ48を作成する。In this state, the data of all members 47 is changed and all updated members 48 are created.
書き込み更新禁止開始時間49になると、再度、コマン
ドrGRP UPDATEJ 41で、グループ指定
を行ない、コマンドrGEN UPDATE F(
世代名)j46で、全更新メンバ48の世代を凍結する
。When the write update prohibition start time 49 is reached, the group is specified again with the command rGRP UPDATEJ 41, and the command rGEN UPDATE F (
Generation name) j46 freezes the generation of all updated members 48.
以上、第1図〜第4図を用いて説明したように。As described above using FIGS. 1 to 4.
本実施例では、ユーザプログラムで、書き込み保護を行
なうのではなく、コマンドにより、保護を行なう。また
、書き込みを特定時間にのみ許可することで、不当な書
き込みから、ファイルを保護する。In this embodiment, write protection is not performed by a user program, but by a command. Additionally, by allowing writing only at specific times, files are protected from unauthorized writing.
〔発明の効果〕
本発明によれば、区分編成ファイル内のそれぞれのメン
バに対する書き込みを、特定時間にのみ許可することで
、ファイルの書き込み保護を、効率良く行なうことが出
来る。[Effects of the Invention] According to the present invention, by allowing writing to each member in a partitioned file only at a specific time, it is possible to efficiently protect a file from writing.
第1図は本発明を施したコンピュータシステムの本発明
に係る構成の一実施例を示すブロック図、第2図は第1
図における区分編成ファイル管理部の本発明に係る処理
動作の一実施例を示すフローチャート、第3図は第1図
におけるコンピュータシステムの本発明に係る具体的な
処理の第1の実施例を示す説明図、第4図は第1図にお
けるコンピュータシステムの本発明に係る具体的な処理
の第2の実施例を示す説明図である。
1:処理装置、2:補助記憶装置、3:入力装置、4:
表示装置、5:CPU、6:区分編成ファイル管理部、
7:メンバ凍結処理部、8:メンバ追加処理部、9:メ
ンバ削除処理部、10:時間監視部、11:フラグ、2
0:区分編成ファイル、21:登ljJ、22:メンバ
領域、23〜25:メンバ(A)、(B)、 (C)、
30 :更新許可開始時間、31:メンバ、32:更
新メンバ、33:更新禁止開始時間、34:世代数の変
更コマンドrGEN メンバ名 M(2)J 、 3
5 :新規世代の追加コマンドrGEN メンバ名
ADDJ 。
36:旧世代の廃止コマンドrGEN メンバ名DE
L(世代名)J、37:世代数の変更コマンドrGEN
メンバ名 M(1)J 、 38 :世代の凍結コ
マンドrGEN メンバ名 F(世代名)」。
40:許可開始時間、41:全メンバのグループ指定コ
マンドrGRP UPDATEJ 、42 :全メン
バの世代数の変更コマンドrGEN UPDATE
M(2)J 、43 :全メンバの新規世代の追加コ
マンドrGEN UPDATE ADDJ。
44:全メンバの旧世代の廃止コマンドrGENUPD
ATE DEL(世代名)J、45:全メンバの世代
数の変更コマンドrGEN UPDATE M(1
)J 、46 :全メンバの世代の凍結コマンドraE
N UPDATE F(世代名)J。
47:全メンバ、48:全更新メンバ、49:更新禁止
開始時間。
第
図FIG. 1 is a block diagram showing an embodiment of the configuration of a computer system according to the present invention, and FIG.
FIG. 3 is a flowchart showing one embodiment of the processing operation of the partitioned file management unit according to the present invention, and FIG. 3 is an explanation showing a first embodiment of the specific processing according to the present invention of the computer system shown in FIG. 4 are explanatory diagrams showing a second embodiment of specific processing according to the present invention of the computer system shown in FIG. 1. 1: Processing device, 2: Auxiliary storage device, 3: Input device, 4:
Display device, 5: CPU, 6: Partitioned file management section,
7: Member freezing processing unit, 8: Member addition processing unit, 9: Member deletion processing unit, 10: Time monitoring unit, 11: Flag, 2
0: Sectional organization file, 21: Registration ljJ, 22: Member area, 23-25: Members (A), (B), (C),
30: Update permission start time, 31: Member, 32: Update member, 33: Update prohibition start time, 34: Generation number change command rGEN Member name M(2)J, 3
5: New generation addition command rGEN member name
ADDJ. 36: Old generation obsolete command rGEN member name DE
L (generation name) J, 37: Generation number change command rGEN
Member name M(1)J, 38: Freeze generation command rGEN Member name F (generation name). 40: Permission start time, 41: Group specification command for all members rGRP UPDATEJ, 42: Command for changing the number of generations for all members rGEN UPDATE
M(2)J, 43: Command for adding new generation for all members rGEN UPDATE ADDJ. 44: Old generation abolition command for all members rGENUPD
ATE DEL (generation name) J, 45: Command to change the number of generations for all members rGEN UPDATE M (1
)J, 46: Freeze generation command raE for all members
N UPDATE F (generation name) J. 47: All members, 48: All update members, 49: Update prohibition start time. Diagram
Claims (1)
れる複数の世代を持つメンバと、該メンバを管理する登
録簿からなる区分編成ファイルの書き込み保護方法にお
いて、予め任意に定めた時間帯を監視するステップと、
該予め任意に定めた時間帯以外では、上記世代の追加に
基づく上記メンバの内容の更新を禁止するステップと、
上記予め任意に定めた時間帯内では、上記世代の追加に
基づく上記メンバの内容の更新を許可するステップと、
該内容を更新したメンバを、上記予め任意に定めた時間
帯の終了時に、上記世代の凍結により凍結するステップ
とを含むことを特徴とする区分編成ファイルの書き込み
保護方法。1. In the write protection method for partitioned files that consist of members with multiple generations accumulated through a series of processes consisting of freezing, addition, and updating, and a register that manages these members, a predetermined time period can be set arbitrarily. a step of monitoring the
prohibiting updating of the contents of the member based on the addition of the generation outside the predetermined time period;
a step of permitting updating of the contents of the member based on the addition of the generation within the predetermined time period;
A write protection method for a partitioned file, comprising the step of freezing the member whose contents have been updated by freezing the generation at the end of the predetermined time period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2242326A JPH04123146A (en) | 1990-09-14 | 1990-09-14 | How to write protect partitioned files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2242326A JPH04123146A (en) | 1990-09-14 | 1990-09-14 | How to write protect partitioned files |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04123146A true JPH04123146A (en) | 1992-04-23 |
Family
ID=17087541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2242326A Pending JPH04123146A (en) | 1990-09-14 | 1990-09-14 | How to write protect partitioned files |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04123146A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015028698A (en) * | 2013-07-30 | 2015-02-12 | 富士通株式会社 | Access control program, access control method and system |
-
1990
- 1990-09-14 JP JP2242326A patent/JPH04123146A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015028698A (en) * | 2013-07-30 | 2015-02-12 | 富士通株式会社 | Access control program, access control method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7571176B2 (en) | Selective file erasure using metadata modifications | |
US9785370B2 (en) | Method and system for automatically preserving persistent storage | |
US5457796A (en) | File system with components shared between separately addressable versions | |
US7673096B2 (en) | Control apparatus for controlling virtual storage | |
US6405265B1 (en) | Device driver for accessing computer files | |
CN100389408C (en) | Fixed disk data enciphering back-up and restoring method | |
JPH08195093A (en) | File controller for nonvolatile memory | |
WO2007091652A1 (en) | Tally information management method and management device | |
CA2825891A1 (en) | Storage system for storing data in a plurality of storage devices | |
JPH04123146A (en) | How to write protect partitioned files | |
JPH07210438A (en) | File management method | |
JP2638202B2 (en) | File management method | |
JPH05113920A (en) | File management method and device | |
JP5429280B2 (en) | Data processing apparatus, computer program thereof, and data processing method | |
JPH0322046A (en) | Control method for file using draw type storage medium | |
JPH07253894A (en) | Shared storage device | |
JPH04293123A (en) | file editing device | |
GB2317972A (en) | Supplementing or replacing data in a ROM | |
JP2004157751A (en) | System, program, and method for protecting data | |
JPS6341149B2 (en) | ||
KR101058059B1 (en) | Mounting device of embedded file system and its method | |
CN120337295A (en) | A kernel parameter protection method and system during operating system operation | |
CN112257122A (en) | Data processing method, device and equipment based on T2 chip and storage medium | |
JPS6336375A (en) | File management method in data file device | |
JPS61245251A (en) | File control method |