JPH01108634A - System for preventing erroneous usage of external recording medium - Google Patents

System for preventing erroneous usage of external recording medium

Info

Publication number
JPH01108634A
JPH01108634A JP62266860A JP26686087A JPH01108634A JP H01108634 A JPH01108634 A JP H01108634A JP 62266860 A JP62266860 A JP 62266860A JP 26686087 A JP26686087 A JP 26686087A JP H01108634 A JPH01108634 A JP H01108634A
Authority
JP
Japan
Prior art keywords
program
data
recording medium
program name
stored
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
JP62266860A
Other languages
Japanese (ja)
Inventor
Shu Itaya
板谷 周
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 JP62266860A priority Critical patent/JPH01108634A/en
Publication of JPH01108634A publication Critical patent/JPH01108634A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To prevent data from being destroyed and a program from being operated abnormally by checking whether or not a medium is an external recording medium on which read or write has been performed previously, and issuing an alarm when a different external recording medium is set. CONSTITUTION:By setting data recording media 7-1-7-n by a user by issuing an instruction to perform the read or the write on the data recording media 7-1-7-n from the program, a program name stored in the medium information 3 of a non-volatile memory 2 in the name of the program stored in the load program 11 of a main storage 10 is retrieved. When it is recognized that the program name which coincides with the program name of the program stored in the load program 11 exists in the medium information 3 by the above retrieval, identifiers 8-1-8-n attached on the data recording media 7-1-7-n set by the user are compared with the identifier corresponding to the program name which coincides stored in the medium information 3. When no coincidence is obtained, a message is displayed. In such a way, erroneous usage can be prevented from being performed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、各種データ処理装置で使用される外部記録媒
体の誤使用を防止する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for preventing misuse of external recording media used in various data processing devices.

(従来の技術) 従来、この種のデータ処理装置は、外部記録媒体を使用
する場合に、利用者がデータ処理装置にセットした記録
媒体に対して無条件にリードまたはライトの動作を行っ
ていた。
(Prior Art) Conventionally, when using an external recording medium, this type of data processing device unconditionally performs read or write operations on the recording medium that the user sets in the data processing device. .

(発明が解決しようとする問題点) 上述したように、従来のデータ処理装置は、利用者がセ
ットした外部記録媒体に対して無条件にリードまたはラ
イトの動作を行うので、利用者が誤った記録媒体をセッ
トした場合に、誤ってセットした記録媒体がデータ記録
媒体であればデータ破壊を、また誤ってセットした記録
媒体がプログラム記録媒体であれば異常動作を引起こす
恐れがあるという問題点があった。
(Problems to be Solved by the Invention) As mentioned above, conventional data processing devices unconditionally perform read or write operations on the external recording medium set by the user. When a recording medium is set, if the incorrectly set recording medium is a data recording medium, data may be destroyed, and if the incorrectly set recording medium is a program recording medium, it may cause abnormal operation. was there.

(問題点を解決するための手段) 上述の問題点を解決するために本発明が提供する外部記
録媒体誤使用防止方式は、各種プログラムを格納してい
る複数のプログラム記録媒体と、これらのプログラムで
使用されるデータを格納している複数のデータ記録媒体
とを用いて、前記プログラム記録媒体及びデータ記録媒
体に格納されているプログラム及びデータを主記憶にロ
ードして実行することにより、各種業務を実現するデー
タ処理装置において、これらの記録媒体の誤使用を防止
する方式であって、前記データ記録a体は前記データと
ともに、各データ記録媒体ごとに固有に付加された識別
子を備え、前記主記憶は、現在ロードされて実行されて
いるプログラム名を記憶する領域を備え、前記データ処
理装置で以前に動作した前記プログラム記録媒体に格納
されている全てのプログラムのプログラム名と、それぞ
れのプログラムが使用したデータが格納されている前記
データ記録媒体ごとに固有に付加された前記識別子とを
記憶する不揮発性メモリからなる記憶手段と、前記ロー
ドプログラム名記憶領域に記憶されているプログラム名
で前記記憶手段を検索する手段と、この検索手段により
前記ロードプログラム名記憶領域に記憶されているプロ
グラム名と一致するプログラム名が前記記憶手段に検出
された場合に、このプログラム名に対応して前記記憶手
段に記憶されている識別子と利用者がセットしたデータ
記憶媒体に付加された識別子とを比較する手段と、前記
検索手段により前記ロードプログラム名記憶領域に記憶
されているプログラム名と一致するプログラム名が前記
記憶手段に検出されない場合に、このプログラム名と利
用者がセットしたデータ記憶媒体に付加された識別子と
を前記記憶手段に記憶する手段と、前記比較手段により
一  4 − 両方の識別子が一致しない場合に、その旨を利用者に警
告するメツセージを出力する手段と、前記比較手段によ
り両方の識別子が一致した場合に、当該データ記録媒体
へのリードまたはライトを実行する手段とを有すること
を特徴とする。
(Means for Solving the Problems) In order to solve the above-mentioned problems, the method for preventing misuse of external recording media provided by the present invention is to prevent the misuse of external recording media by storing a plurality of program recording media storing various programs and storing these programs. Various tasks can be performed by loading programs and data stored in the program recording medium and data recording medium into the main memory and executing them using a plurality of data recording media storing data used in the program recording medium and the data recording medium. In a data processing apparatus that realizes the above, the data recording medium is provided with an identifier uniquely added to each data recording medium together with the data, and the data recording medium is provided with an identifier uniquely added to each data recording medium, and the data recording medium is The storage includes an area for storing the names of programs currently loaded and being executed, and stores the program names of all programs stored in the program recording medium that were previously operated on the data processing device, and the names of the respective programs. storage means comprising a non-volatile memory for storing the identifier uniquely added to each data recording medium in which used data is stored; means for searching the storage means; and when the search means detects in the storage means a program name that matches a program name stored in the load program name storage area, the storage means corresponds to the program name; means for comparing an identifier stored in the data storage medium with an identifier added to a data storage medium set by a user, and a program name that matches the program name stored in the load program name storage area by the search means. means for storing the program name and an identifier added to a data storage medium set by the user in the storage means when the program name is not detected in the storage means; and a means for executing reading or writing to the data recording medium when both identifiers match by the comparing means. shall be.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の外部記録媒体誤使用防止方
式の概要を示すブロック図である。
FIG. 1 is a block diagram showing an outline of a system for preventing misuse of an external recording medium according to an embodiment of the present invention.

第1図において、データ処理装置制御部1はデータ処理
装置全体を制御する。不揮発性メモリ2は、データ処理
装置の電源を切ってもその内容を保持するメモリであり
、内部に媒体情報3を格納している。プログラム記録媒
体9−1〜9−nは、データ処理装置で各種の業務を行
うプログラムを格納しており、データ記録媒体7−1〜
7−nは、これらのプログラムで使用されるデータとと
もに、各データ記録媒体ごとに固有に付加された識別子
8−1〜8−nを格納している。プログラム記録媒体9
−1〜9−n及びデータ記録媒体7−1〜7−nに格納
されているプログラム及びデータが主記憶10にロード
されて実行されることにより、データ処理装置において
各種業務が実現される。この主記憶10は、現在実行中
のプログラム名をロードプログラム名11に記憶する。
In FIG. 1, a data processing device control section 1 controls the entire data processing device. The nonvolatile memory 2 is a memory that retains its contents even when the data processing device is powered off, and stores media information 3 therein. The program recording media 9-1 to 9-n store programs for performing various tasks in the data processing device, and the data recording media 7-1 to
7-n stores data used in these programs as well as identifiers 8-1 to 8-n uniquely added to each data recording medium. Program recording medium 9
-1 to 9-n and data recording media 7-1 to 7-n are loaded into the main memory 10 and executed, thereby realizing various tasks in the data processing device. The main memory 10 stores the name of the program currently being executed in the load program name 11.

キーボード4、CRT5及び外部記憶装置6は、データ
処理装置外部からプログラム及びデータを入出力するた
めの装置である。
The keyboard 4, CRT 5, and external storage device 6 are devices for inputting and outputting programs and data from outside the data processing device.

第2図は第1図の媒体情報3の内容を示す図である。媒
体情報3には、データ処理装置において使用されたプロ
グラム記録媒体9−1〜9−nに格納されている全ての
プログラムのプログラム名と、これらのプログラムがそ
れぞれ使用したデータを格納しているデータ記録媒体7
−1〜7−nに付加された識別子とが格納されている。
FIG. 2 is a diagram showing the contents of the medium information 3 in FIG. 1. Media information 3 includes the program names of all programs stored in the program recording media 9-1 to 9-n used in the data processing device and data storing data used by each of these programs. Recording medium 7
-1 to 7-n are stored.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

第3図は本実施例の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of this embodiment.

まず、利用者は、実行したいプログラムが格納されてい
るプログラム記録媒体9−1〜9−nを外部記憶装置6
にセットし、該プログラムをロードする。すると、ステ
ップ3−1で、主記憶10のロードプログラム名11に
該プログラムのプログラム名を格納してから該プログラ
ムの実行を開始する。続いて、このプログラムからデー
タ記録媒体7−1〜7−nへのリードまたはライトの指
示が出されて利用者がデータ記録媒体7−1〜7−nを
セットすると、ステップ3−2において、主記憶10の
ロードプログラム名11に格納された該プログラムのプ
ログラム名で不揮発性メモリ2の媒体情報3に格納され
ているプログラム名を検索する。この検索で、ロードプ
ログラム名11に格納された該プログラムのプログラム
名と一致するプログラム名が媒体情報3にない場合は、
ステップ3−5で、媒体情報3にこのプログラム名と利
用者がセットしたデータ記録媒体7−1〜7−nに付加
された識別子とを格納してからステップ3−6へ進んで
、このデータ記録媒体7−1〜?−nへのリードまたは
ライトを実行する。
First, the user transfers the program recording medium 9-1 to 9-n storing the program he/she wants to execute to the external storage device 6.
and load the program. Then, in step 3-1, the program name of the program is stored in the load program name 11 of the main memory 10, and then execution of the program is started. Next, when this program issues an instruction to read or write to the data recording media 7-1 to 7-n and the user sets the data recording media 7-1 to 7-n, in step 3-2, The program name stored in the medium information 3 of the nonvolatile memory 2 is searched using the program name of the program stored in the load program name 11 of the main memory 10. In this search, if there is no program name in medium information 3 that matches the program name of the program stored in load program name 11,
In step 3-5, this program name and the identifiers added to the data recording media 7-1 to 7-n set by the user are stored in the medium information 3, and then the process proceeds to step 3-6. Recording medium 7-1~? - Execute read or write to n.

また、ステップ3−2の検索で、ロードプログラム名1
1に格納された該プログラムのプログラム名と一致する
プログラム名が媒体情報3にある場合は、ステップ3−
3で、利用者がセットしたデータ記録媒体7−1〜7−
nに付加された識別子8−1〜8−nと媒体情報3に格
納されている一致したプログラム名に対応する識別子と
を比較する。この比較で、両者が一致しない場合は、ス
テップ3−4で、CRT5にr以前使用された媒体と異
なっていますが、リードまたはライトしてもよろしいで
すか?j等のメツセージを表示する。これにより、利用
者が何らかのリアクション(そのままにするかまたはデ
ータ記録媒体7−1〜7−nを入替える)を投じること
ができ、利用者からの指示によりステップ3−6へ進ん
でデータ記録媒体7−1〜7−nへのリードまたはライ
トを実行する。このとき、利用者が了承したデータ記録
媒体7−1〜7−nが媒体情報3に格納されている該プ
ログラムに対応する識別子と異なる識別子8−1〜8−
nを持つものである場合には、媒体情報3の内容をこの
識別子8−1〜8−nに更新する。
Also, in the search in step 3-2, load program name 1
If there is a program name in medium information 3 that matches the program name of the program stored in 1, step 3-
3, the data recording media 7-1 to 7- set by the user
The identifiers 8-1 to 8-n added to n are compared with the identifiers corresponding to the matching program names stored in the medium information 3. If the two do not match in this comparison, go to Step 3-4 and ask if you want to read or write to the CRT5, although the medium is different from the one previously used. Display messages such as j. As a result, the user can give some kind of reaction (leave it as is or replace the data recording media 7-1 to 7-n), and according to the user's instructions, proceed to step 3-6 and proceed to step 3-6. Read or write to 7-1 to 7-n. At this time, the data recording medium 7-1 to 7-n approved by the user has an identifier 8-1 to 8-n that is different from the identifier corresponding to the program stored in the medium information 3.
n, the contents of the medium information 3 are updated to the identifiers 8-1 to 8-n.

ステップ3−3の比較で、両者が一致した場合は、即座
にステップ3−6へ進んでデータ記録媒体7−1〜7−
nへのリードまたはライトを実行する。
If the two match in the comparison in step 3-3, the process immediately proceeds to step 3-6 and the data recording media 7-1 to 7-
Execute read or write to n.

その後に、再度記録媒体へのリードまたはライトの指示
があった場合、または新しいプログラムのロードが行わ
れた場合には、上述の処理の必要部分を繰返す。
After that, if there is an instruction to read or write to the recording medium again, or if a new program is loaded, the necessary parts of the above-mentioned processing are repeated.

(発明の効果) 以上に説明したように本発明は、外部記録媒体のリード
またはライトを行うときに、以前にリードまたはライト
を行った外部記録媒体であるか否かをチエツクすること
ができる。そこで、異なった外部記録媒体がセットされ
た場合に、その旨を警告することにより、データの破壊
やプログラムの異常動作を防止することができるという
効果がある。
(Effects of the Invention) As described above, according to the present invention, when reading from or writing to an external recording medium, it is possible to check whether or not the external recording medium has been previously read from or written to. Therefore, when a different external recording medium is set, a warning to that effect is provided, which has the effect of preventing data destruction and abnormal program operation.

通常、データ処理装置においては、複数のプログラムを
入替えて実行する場合が多く、また、1つのプログラム
の処理に対しては同一のデータ記録媒体を使用すること
が多いので、本発明の効果は顕著なものとなる。
Normally, in a data processing device, multiple programs are often exchanged and executed, and the same data recording medium is often used for processing one program, so the effects of the present invention are significant. Become something.

さらに、上記チエツクのためのデータを不揮発性メモリ
に格納することにより、電源を切っても(翌日に処理を
行う場合等)何ら支障はない。
Furthermore, by storing the data for the above-mentioned check in a non-volatile memory, there is no problem even if the power is turned off (for example, when processing is performed the next day).

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

第1図は本発明の一実施例の外部記録媒体誤使用防止方
式の概要を示すブロック図、第2図は第1図の媒体情報
の内容を示す図、第3図は本実施例の動作を示すフロー
チャートである。 1・・・データ処理装置制御部、2・・・不揮発性メモ
リ、3・・・媒体情報、4・・・キーボード、5・・・
CRT、6・・・外部記憶装置、7−1〜7−n・・・
データ記録媒体、8−1〜8−n・・・識別子、9−1
〜9−n・・・プログラム記録媒体、10・・・主記憶
、11・・・ロードプログラム名。
FIG. 1 is a block diagram showing an overview of a method for preventing misuse of an external recording medium according to an embodiment of the present invention, FIG. 2 is a diagram showing the contents of the medium information in FIG. 1, and FIG. 3 is an operation of this embodiment. It is a flowchart which shows. DESCRIPTION OF SYMBOLS 1...Data processing device control part, 2...Nonvolatile memory, 3...Media information, 4...Keyboard, 5...
CRT, 6... external storage device, 7-1 to 7-n...
Data recording medium, 8-1 to 8-n...Identifier, 9-1
~9-n...Program recording medium, 10...Main memory, 11...Load program name.

Claims (1)

【特許請求の範囲】 各種プログラムを格納している複数のプログラム記録媒
体と、これらのプログラムで使用されるデータを格納し
ている複数のデータ記録媒体とを用いて、前記プログラ
ム記録媒体及びデータ記録媒体に格納されているプログ
ラム及びデータを主記憶にロードして実行することによ
り、各種業務を実現するデータ処理装置において、これ
らの記録媒体の誤使用を防止する方式であって、 前記データ記録媒体は、前記データとともに、各データ
記録媒体ごとに固有に付加された識別子を備え、 前記主記憶は、現在ロードされて実行されているプログ
ラム名を記憶する領域を備え、 前記データ処理装置で以前に動作した前記プログラム記
録媒体に格納されている全てのプログラムのプログラム
名と、それぞれのプログラムが使用したデータが格納さ
れている前記データ記録媒体ごとに固有に付加された前
記識別子とを記憶する不揮発性メモリからなる記憶手段
と、 前記ロードプログラム名記憶領域に記憶されているプロ
グラム名で前記記憶手段を検索する手段と、 この検索手段により前記ロードプログラム名記憶領域に
記憶されているプログラム名と一致するプログラム名が
前記記憶手段に検出された場合に、このプログラム名に
対応して前記記憶手段に記憶されている識別子と利用者
がセットしたデータ記憶媒体に付加された識別子とを比
較する手段と、前記検索手段により前記ロードプログラ
ム名記憶領域に記憶されているプログラム名と一致する
プログラム名が前記記憶手段に検出されない場合に、こ
のプログラム名と利用者がセットしたデータ記憶媒体に
付加された識別子とを前記記憶手段に記憶する手段と、 前記比較手段により両方の識別子が一致しない場合に、
その旨を利用者に警告するメッセージを出力する手段と
、 前記比較手段により両方の識別子が一致した場合に、当
該データ記録媒体へのリードまたはライトを実行する手
段とを有することを特徴とする外部記録媒体誤使用防止
方式。
[Scope of Claims] A plurality of program recording media storing various programs and a plurality of data recording media storing data used by these programs are used to record the program recording medium and the data recording medium. A method for preventing misuse of these recording media in a data processing device that realizes various tasks by loading programs and data stored on the media into main memory and executing them, the data recording media includes an identifier uniquely added to each data recording medium together with the data; the main memory includes an area for storing the name of a program currently loaded and being executed; A non-volatile device that stores program names of all programs stored in the program recording medium that has run and the identifier that is uniquely added to each data recording medium that stores data used by each program. storage means comprising a memory; means for searching the storage means with a program name stored in the load program name storage area; and means for searching the storage means with a program name stored in the load program name storage area; means for comparing, when a program name is detected in the storage means, an identifier stored in the storage means corresponding to the program name and an identifier added to a data storage medium set by a user; If the search means does not detect a program name in the storage means that matches the program name stored in the load program name storage area, the program name and the identifier added to the data storage medium set by the user are means for storing the identifier in the storage means, and when both identifiers do not match according to the comparison means,
An external device characterized by having means for outputting a message warning the user to that effect, and means for reading or writing to the data recording medium when both identifiers match by the comparison means. Recording media misuse prevention method.
JP62266860A 1987-10-21 1987-10-21 System for preventing erroneous usage of external recording medium Pending JPH01108634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62266860A JPH01108634A (en) 1987-10-21 1987-10-21 System for preventing erroneous usage of external recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62266860A JPH01108634A (en) 1987-10-21 1987-10-21 System for preventing erroneous usage of external recording medium

Publications (1)

Publication Number Publication Date
JPH01108634A true JPH01108634A (en) 1989-04-25

Family

ID=17436665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62266860A Pending JPH01108634A (en) 1987-10-21 1987-10-21 System for preventing erroneous usage of external recording medium

Country Status (1)

Country Link
JP (1) JPH01108634A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0394322A (en) * 1989-09-07 1991-04-19 Amada Co Ltd Method for discriminating identity of noncontact ic card
JPH05210464A (en) * 1991-11-15 1993-08-20 Fujitsu Ltd Method and device for checking correct location of storage device in storage device array
JPH06236280A (en) * 1993-01-07 1994-08-23 Internatl Business Mach Corp <Ibm> Method and apparatus for reinforcement of data verification
JPH07311828A (en) * 1994-05-17 1995-11-28 Mitsubishi Electric Corp Voice announcing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0394322A (en) * 1989-09-07 1991-04-19 Amada Co Ltd Method for discriminating identity of noncontact ic card
JPH05210464A (en) * 1991-11-15 1993-08-20 Fujitsu Ltd Method and device for checking correct location of storage device in storage device array
JP3221747B2 (en) * 1991-11-15 2001-10-22 富士通株式会社 Storage device array
JPH06236280A (en) * 1993-01-07 1994-08-23 Internatl Business Mach Corp <Ibm> Method and apparatus for reinforcement of data verification
JPH07311828A (en) * 1994-05-17 1995-11-28 Mitsubishi Electric Corp Voice announcing device

Similar Documents

Publication Publication Date Title
JPS63182754A (en) System for editing and outputting fault analysis information
JPH01108634A (en) System for preventing erroneous usage of external recording medium
JPS628831B2 (en)
JPS647390Y2 (en)
JPH01155452A (en) System for confirming connection of data processing system
JPS5835648A (en) Program execution controlling system
JPS59106017A (en) Testing of input/output controller
JP2635777B2 (en) Programmable controller
JPH04336631A (en) Error message output system
JPH07121612A (en) Process control system for intermittent processing system
JPS6254347A (en) Processing system for fault of file
JPS62248035A (en) Program correcting system
JPS6224469A (en) Detection system for floppy disc interchange
JPS6051961A (en) Initial program load processing system
JPH0573391A (en) Data base update system
JPS6224950A (en) Production management system
JPS6225392A (en) Information memory reusing system
JPS6254348A (en) Processing system for fault of file
JPS63103339A (en) Recording system for action history information on program
JPH04362743A (en) Hash production tool
JP2000330626A (en) Monitor controlling device and method and recording medium for recording monitor program
JPS6194137A (en) Terminal equipment of computer
JPH06230987A (en) Information processor
JPH04338840A (en) Program debug back-up processor
JPH04268640A (en) Program loading system