JPH0312751A - Data protection system - Google Patents

Data protection system

Info

Publication number
JPH0312751A
JPH0312751A JP1147505A JP14750589A JPH0312751A JP H0312751 A JPH0312751 A JP H0312751A JP 1147505 A JP1147505 A JP 1147505A JP 14750589 A JP14750589 A JP 14750589A JP H0312751 A JPH0312751 A JP H0312751A
Authority
JP
Japan
Prior art keywords
data
file
output
rom
instruction
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
JP1147505A
Other languages
Japanese (ja)
Inventor
Sakae Toshima
戸嶋 榮
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 Fielding Ltd
Original Assignee
NEC Fielding 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 NEC Fielding Ltd filed Critical NEC Fielding Ltd
Priority to JP1147505A priority Critical patent/JPH0312751A/en
Publication of JPH0312751A publication Critical patent/JPH0312751A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To protect data by using a ROM which reject the output of data to protect them and a CPU which stores the process routine of the ROM when the data are stored in a file. CONSTITUTION:A data output file 100 is provided together with a ROM 1 which stores a process routine to reject the output of data and to prevent the destruction of them if these data stored in the file 100 is confirmed before output of them, and a CPU 2 which carries out the process routine of the ROM 1. Then an 'OPEN INPUT file' instruction is carried out to the file 100 in order to prevent the destruction of data. Then a 'READ file' instruction is carried out to decide whether an 'AT END' is produced or not. The file 100 contains no data with production of the 'AT END' and a 'CLOSE file' instruction is carried out. If the 'AT END' is not produced, the data stored in the file 100 are blocked up and protected by the 'CLOSE file' instruction.

Description

【発明の詳細な説明】 (産業上の利用分野) 1、本発明はファイルデータの保護方式に関し、特にデ
ータをファイルに出力するときのデータの保護に関する
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) 1. The present invention relates to a file data protection system, and particularly to data protection when outputting data to a file.

(従来の技術) 従来、ファイルにデータを出力する際には、データの出
力されるファイルの内部に格納され℃いるデータは既に
使用済み、または退避済みであり【、不用となっている
ことを前提にしている。また、出力の都度、ファイル名
を指定してデータを出力する場合には、ファイルの指定
時に出力ファイルの確認を慎重に行う必要がある。
(Prior art) Conventionally, when outputting data to a file, it is necessary to check that the data stored inside the file to which the data is output has already been used or saved [and is no longer needed]. It is a premise. Furthermore, when outputting data by specifying a file name each time, it is necessary to carefully check the output file when specifying the file.

(発明が解決しようとする課題) 上述した従来のファイルへのデータ出力方式においては
、データ退避時点と、データ出力時点とのシーケンスが
狂ったり、あるいは誤ったファイル塩を指定してデータ
を出力したりして、現存のデータを破壊するという欠点
がある。
(Problems to be Solved by the Invention) In the conventional data output method to a file described above, the sequence between the data save time and the data output time may be out of order, or data may be output with an incorrect file salt specified. The disadvantage is that it destroys existing data.

本発明の目的は、データの出力されるファイルに対して
出力前にデータの存在を確認し、存在していればデータ
の出力を拒否してデータの破壊を防止することにより上
記欠点を除去し、現存データを破壊することのないよう
に構成したデータの保護方式を提供することKある。
An object of the present invention is to eliminate the above-mentioned drawbacks by checking the existence of data in a file to which data is to be output before outputting it, and if it exists, rejecting the output of the data to prevent data destruction. An object of the present invention is to provide a data protection method configured so as not to destroy existing data.

(vA題を解決するための手段) 本発明によるデータの保護方式は出力7アイルと、RO
Mと、CPUとを具備して構成したものである。
(Means for solving the vA problem) The data protection method according to the present invention includes the 7 output aisles and the RO
It is configured to include an M and a CPU.

出力ファイルは、データを出力するためのものである。The output file is for outputting data.

ROMは、出力ファイルに対して出力前にデータの存在
を確認し、左右していればデータの出力を拒否してデー
タの破壊を防止する処理ルーチンを格納するためのもの
である。
The ROM is for storing a processing routine that checks the existence of data in an output file before outputting it, and if the data is corrupted, refuses to output the data to prevent data destruction.

CPUは、上記処理ルーチンを格納するためのものであ
る。
The CPU is for storing the above processing routine.

(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明によるデータの保護方式の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a data protection system according to the present invention.

第1図において、lは本発明による処理ルーチンを格納
するためのROM12は上記処理ルーチンを実行する九
めのCPU、Zooは出力ファイルである。
In FIG. 1, ROM 12 for storing the processing routine according to the present invention is a ninth CPU that executes the processing routine, and Zoo is an output file.

第2図は、本発明によるデータの保護方式の一実施例に
おける処理の流れを示すフローチャートである。第2図
において、11〜15.21.22はそれぞれ処理を実
行する命令あるいは処理自体、lOOはfile’とい
うファイル名を有する出力ファイルである。
FIG. 2 is a flowchart showing the flow of processing in one embodiment of the data protection method according to the present invention. In FIG. 2, 11 to 15, 21, and 22 are instructions for executing a process or the process itself, respectively, and lOO is an output file having a file name of file'.

データは出力ファイル100に出力され、ファイル10
0に対して固定的、または外部の指定によりファイル名
”file’が与えられている。
The data is output to output file 100, file 10
The file name "file" is given to 0 by a fixed or external specification.

出力ファイル100に対して、ファイルデータを破壊シ
ナイ形式の″0PEN INPUT file”命令1
1を実行する0次に、出力ファイル100にデータが存
在すゐか否かを確認するために、@″READ  fi
le =命令12を実行する。この命令によって@AT
  END”が発生したか否かを判定ステップ13によ
って判定する。
For output file 100, destroy the file data with "0PEN INPUT file" command 1 in Sinai format.
1 Next, in order to check whether there is data in the output file 100, use @″READ fi
le = execute instruction 12. With this command @AT
A determination step 13 determines whether or not "END" has occurred.

″AT  END” が発生した場合には、出力ファイ
ル100にデータが1件もない空の状態であるので、出
力ファイル100を閉塞するために@CLO8E  f
ile  ’命令14をIBTL、データの出力を許可
してデータ出力処理15を実行する。
If "AT END" occurs, the output file 100 is empty with no data, so in order to block the output file 100, @CLO8E f
ile ' instruction 14 is IBTL, data output is permitted, and data output processing 15 is executed.

′″READ  f口e′ 命令12によりて−A’l
’ENI)’  が発生しない場合には、出力ファイル
100にデータが存在する。よって、そのデータを保護
するために”CLO8E  file −命令21によ
り出力ファイル100を閉塞し、データ出力を拒否して
エラー処理22を実行する。
'''READ foute'-A'l by command 12
If 'ENI)' does not occur, data exists in the output file 100. Therefore, in order to protect the data, the output file 100 is blocked by the "CLO8E file - command 21, data output is refused, and error processing 22 is executed.

本実施例では出力ファイル100にデータが存在する場
合にデータ出力処理15を実行しないが、オペレータの
介入などによる許可によってデータ出力処理15を実行
することも可能である。
In this embodiment, the data output process 15 is not executed when data exists in the output file 100, but it is also possible to execute the data output process 15 with permission such as operator intervention.

(発明の効果) 以上説明したように本発明は、ファイルにデータを出力
する前に当該ファイルにデータが存在する場合には、デ
ータの出力を拒否することにより、誤って、または故意
にデータが破壊されることがないように、データを保護
できるとぃう効果がある。
(Effects of the Invention) As explained above, the present invention provides that, if data exists in a file before data is output to a file, the data is accidentally or intentionally deleted by refusing to output the data. This has the effect of protecting data from being destroyed.

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

第1図は、本発明によるデータの保護方式の一実施例を
示すブロック図である。 第2図は、本発明によるデータの保護方式の一実施例を
示す説明図である。 l・++ ROM      2−・CPU11〜15
.21.22・・・命令または処理10〇−出力ファイ
FIG. 1 is a block diagram showing an embodiment of a data protection system according to the present invention. FIG. 2 is an explanatory diagram showing an embodiment of the data protection method according to the present invention. l・++ ROM 2-・CPU11~15
.. 21.22...Instruction or process 100 - Output file

Claims (1)

【特許請求の範囲】[Claims] データを出力するための出力ファイルと、前記出力ファ
イルに対して出力前にデータの存在を確認し、存在して
いればデータの出力を拒否して前記データの破壊を防止
する処理ルーチンを格納するためのROMと、前記処理
ルーチンを格納するためのCPUとを具備して構成した
ことを特徴とするデータの保護方式。
Stores an output file for outputting data and a processing routine that checks the existence of data in the output file before outputting it, and if it exists, refuses to output the data to prevent the data from being destroyed. 1. A data protection system comprising: a ROM for storing the processing routine; and a CPU for storing the processing routine.
JP1147505A 1989-06-09 1989-06-09 Data protection system Pending JPH0312751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1147505A JPH0312751A (en) 1989-06-09 1989-06-09 Data protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1147505A JPH0312751A (en) 1989-06-09 1989-06-09 Data protection system

Publications (1)

Publication Number Publication Date
JPH0312751A true JPH0312751A (en) 1991-01-21

Family

ID=15431886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1147505A Pending JPH0312751A (en) 1989-06-09 1989-06-09 Data protection system

Country Status (1)

Country Link
JP (1) JPH0312751A (en)

Similar Documents

Publication Publication Date Title
KR102075367B1 (en) Exception handling in a data processing apparatus having a secure domain and a less secure domain
JPH0312751A (en) Data protection system
JP3266021B2 (en) Security method
KR102022168B1 (en) Apparatus and methods for detecting of stealth task using hardware task switching
CN106096458A (en) A kind of method and device protecting security of system
CN116561795B (en) Data parallel desensitization processing method
JP3049749B2 (en) File access restriction processing device
CN108647512A (en) Terminal security control method, device and computer readable storage medium
JPH0540668A (en) Program runaway preventing system
JP3682033B2 (en) Control device, control method, and program thereof
JPH0814794B2 (en) Interrupt handling method
JPS6345635A (en) Access system for rom file
JPH0417038A (en) System for processing file overflow alarm
JPS62269239A (en) Control system for cancel/interruption suppression of job
JPH0199144A (en) Rom data securing system
JPS6097448A (en) Memory protection system
JPS62137650A (en) Program protecting system
JPH0612251A (en) Program starting device
JPH02245937A (en) Information processor
JP2635777B2 (en) Programmable controller
Seymour et al. International Viruses and the Computer Network
JPS62242237A (en) Preventing method for unauthorized use of program
JPS5916058A (en) Program
JPH02247730A (en) Program correcting history control system
JPH0448313A (en) Starting mode deciding method