JPH0331925A - Method for protecting disk - Google Patents
Method for protecting diskInfo
- Publication number
- JPH0331925A JPH0331925A JP1167798A JP16779889A JPH0331925A JP H0331925 A JPH0331925 A JP H0331925A JP 1167798 A JP1167798 A JP 1167798A JP 16779889 A JP16779889 A JP 16779889A JP H0331925 A JPH0331925 A JP H0331925A
- Authority
- JP
- Japan
- Prior art keywords
- disk
- bios
- protection
- data
- file
- 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
- 238000000034 method Methods 0.000 title claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Storage Device Security (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明はディスクのプロテクト方法に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a disk protection method.
第3図は従来のディスクにプロテクトをかける場合のハ
ードウェアとソフトウェアの関係を示すフローチャート
である。図において、(1)は主記憶中のプログラム、
(2)はプログラム(1)の中にあるアプリケーション
ソフトウェア、(3)はディスクオペレーションシステ
ム、(4)はデバイスドライバが格納されているファイ
ル、(5)(よデバイスフの入出力を制御するプログラ
ムが格納されているディスクバイオス、(6)はディス
クコントローラ、(7)はディスクドライブである。FIG. 3 is a flowchart showing the relationship between hardware and software when protecting a conventional disc. In the figure, (1) is the program in main memory,
(2) is the application software in program (1), (3) is the disk operation system, (4) is the file in which the device driver is stored, and (5) is the program that controls the input/output of the device. The stored disk bios, (6) is a disk controller, and (7) is a disk drive.
次に動作について説明する。まず、主記憶中のプログラ
ム(1)のアプリケーション(2)によりファイル・シ
ステムの本体をもつディスクオペレーションシステム(
3)をシステムコールし、デバイス・ドライバであるフ
ァイル(4)をリクエストする。ここまでがオペレージ
9ンシステムに依存する部分である0次にファイル(4
)がディスクバイオス(5)を呼び出し、ディスクバイ
オス(5)がディスクコントローラ(6)に対して、コ
マンドを出し、ディスクコントローラ(6)はコマンド
を受け、ディスクドライブ(7)を制御する。このよう
にソフトウェアとハードウェアが構成されているシステ
ムでディスクにプロテクトをかける場合、例えば、第4
図に示すようにトラックが構成されている場合、この中
のID部分(9)のシリンダ番号a優、ヘッド番号0υ
、セクタ番号Ozセクタ長コードα1のいずれかを変え
てフォーマノドすればプロテクトがかかる。第5図はセ
クタ番号(2)を変えてフォーマ・7トした場合を示す
説明図である。この場合、プロテクトをかけたディスク
Q41をコピーすると、コピーされたディスク0Lll
lではセクタの順番が決まった1つのパターンになって
しまう、この違いをチエツクしてプロテクトに利用する
。Next, the operation will be explained. First, the application (2) of the program (1) in the main memory starts the disk operation system (which has the main body of the file system).
System call 3) and request file (4) which is a device driver. Up to this point, the part that depends on the operating system is the 0th order file (4
) calls the disk BIOS (5), the disk BIOS (5) issues a command to the disk controller (6), and the disk controller (6) receives the command and controls the disk drive (7). When protecting a disk in a system where software and hardware are configured in this way, for example,
If the track is configured as shown in the figure, the ID part (9) of this is cylinder number a, head number 0υ.
, sector number Oz, sector length code α1, and perform a formanod, protection is applied. FIG. 5 is an explanatory diagram showing the case where the sector number (2) is changed and formatted. In this case, if you copy the protected disk Q41, the copied disk 0Lll
In 1, the order of the sectors becomes a fixed pattern. Check this difference and use it for protection.
従来のディスクのプロテクト方法は以上のように構成さ
れていたので、リードIDコマンドを続けて1トラノク
のセクタ数分行なうことによりセクタ番号を知らべるこ
とかでき、その結果を、用いてフォーマットすることで
、プロテクトをはずすことが容易に出来るという問題点
があった。Since the conventional disk protection method was configured as described above, it is possible to know the sector number by continuously executing the read ID command for the number of sectors of 1 toranoku, and the result can be used to format the disk. Therefore, there was a problem that protection could be easily removed.
この発明は、上記のような問題点を解消する為になされ
たもので、コピーされにくいディスクのプロテクトをか
けることを目的とする。This invention was made to solve the above-mentioned problems, and its purpose is to protect discs that are difficult to copy.
この発明に係るディスクのプロテクト方法は主記憶の中
に拡張バイオスを備えたものである。The disk protection method according to the present invention includes an extended BIOS in the main memory.
この発明におけるディスクのプロテクト方法は拡張バイ
オスにより、データを変換しプロテクトをかける。The disk protection method in this invention converts and protects data using an extended bios.
以下、この発明の一実施例を図について説明する。第1
図において、(1)は主記憶中のプログラム、(2)は
プログラム(1)の中にあるアプリケーションソフトウ
ェア、(3)はディスクオペレーションシステム、(4
)はデバイスドライバが格納さ、れているファイル、(
8)はデータを変換する為の拡張バイオス、(5)はデ
バイスの入出力を制御するプログラムが格納されている
ディスクバイオス、(6)はディスクコントローラ、(
7)はディスクドライブである。An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, (1) is a program in main memory, (2) is application software in program (1), (3) is a disk operation system, and (4) is a program in main memory.
) is the file where the device driver is stored, (
8) is an extended BIOS for converting data, (5) is a disk BIOS that stores programs that control device input/output, (6) is a disk controller, (
7) is a disk drive.
次に動作について説明する。まず、主記憶中のプログラ
ム(1+のアプリケーションソフトウェア(2)により
ファイル・システムの本体をもつディスクオペレーショ
ンシステム(3)をシステムコールし、デバイスドライ
バであるファイル(4)をリクエストする0次にファイ
ル(4)が拡張バイオス(8)を呼び出し、ここで各ヤ
クタ内のデータのみを変換する。Next, the operation will be explained. First, the application software (2) of the program (1+) in the main memory makes a system call to the disk operation system (3) that has the main body of the file system, and requests the file (4) that is the device driver. 4) calls the extended bios (8), which converts only the data in each Yakuta.
更に、デバイスバイオス(5)を呼び出し、ディスクデ
ィスクバイオス(5)がディスクコントローラ(6)に
対して、コマンドを出し、ディスクコントローラ(6)
はコマンド受け、ディスクドライブ(7)を制御する。Furthermore, the device bios (5) is called, the disk disk bios (5) issues a command to the disk controller (6), and the disk controller (6)
receives the command and controls the disk drive (7).
拡張バイオス(8)では、第4図中のデータ部のDAT
Aのみを変換する。変換方法は、第2図に示すように例
えば、データ”3D”0輪を書き込み時+tしてデータ
″3E”(IIとして書き込み、読み出し時は逆に−1
してデータ′3D1■として読み出す。In the extended bios (8), the DAT in the data section in Figure 4
Convert only A. As shown in Figure 2, the conversion method is, for example, when writing data "3D" 0 wheel, +t and writing as data "3E" (II, and vice versa when reading -1).
and read it out as data '3D1■.
なお、上記実施例ではデータの変換方法としてデータを
+1する方法について説明したが、データのビットの入
れ替え等の方法であってもよい。In the above embodiment, a method of adding 1 to the data was explained as a data conversion method, but a method such as replacing the bits of the data may also be used.
以上のようにこの発明によれば、拡張バイオスによりテ
ンタを変換して、プロテクトをかけるようにしたので、
このプロテクトをはずすには拡張バイオスを解析するし
か、方法はなく非常にプロテクトのはずしにくいディス
クのプロテクト方法が得られる。As described above, according to this invention, the tenter is converted and protected using the extended bios, so
The only way to remove this protection is to analyze the extended bios, which provides a way to protect a disk that is extremely difficult to remove.
第1図はこの発明の一実施例によるハードウェアとソフ
トウェアの関係を示すフローチャート、第2図はこの発
明の一実施例を示すテンタの変換方法の説明図、第3図
は従来方法によるハードウェアとソフトウェアの関係を
示すフローチャート、第4図は1ラノク中のセクタの構
成図、第5図は従来方法によるプロテクトをかけたディ
スクのコピーディスクのセクタの状態を示す説明図であ
る。
図において、(])は主記憶中のプログラム、(2)は
アプリケーションソフトウェア、(3)はディスクオペ
レーションシステム、(4)はファイル、(5)はディ
スクバイオス、(6)はディスクコントローラ、(7)
はディスクドライブ、(8)は拡張バイオスを示す。
なお、図中、同一符号は同一、または相当部分を示す。FIG. 1 is a flowchart showing the relationship between hardware and software according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of a tenter conversion method according to an embodiment of the present invention, and FIG. 3 is a diagram showing hardware according to a conventional method. FIG. 4 is a diagram showing the configuration of sectors in one ranok, and FIG. 5 is an explanatory diagram showing the state of sectors of a protected disc copy disc using the conventional method. In the figure, (]) is the program in main memory, (2) is the application software, (3) is the disk operation system, (4) is the file, (5) is the disk bios, (6) is the disk controller, and (7) is the disk operation system. )
indicates a disk drive, and (8) indicates an extended BIOS. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.
Claims (1)
ディスク入出力に必要な制御プログラムが格納されてい
るバイオスと、これらを呼び出す主記憶中のプログラム
中にアプリケーションソフトウェアとディスクオペレー
ションシステムとデバイスドライバと、ディスクにプロ
テクトをかける為にデータを変換する手段としての拡張
バイオスを備え、この拡張バイオスによるデータ変換に
よりプロテクトをかけることを特徴とするディスクのプ
ロテクト方法。a disk controller that controls disk drives;
The BIOS stores the control programs necessary for disk input/output, and the programs in main memory that call these include application software, disk operation systems, device drivers, and a means of converting data to protect disks. A method for protecting a disk, characterized in that the disk is provided with an expanded BIOS and is protected by data conversion using the expanded BIOS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1167798A JPH0331925A (en) | 1989-06-28 | 1989-06-28 | Method for protecting disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1167798A JPH0331925A (en) | 1989-06-28 | 1989-06-28 | Method for protecting disk |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0331925A true JPH0331925A (en) | 1991-02-12 |
Family
ID=15856305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1167798A Pending JPH0331925A (en) | 1989-06-28 | 1989-06-28 | Method for protecting disk |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0331925A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2367386A (en) * | 2000-05-11 | 2002-04-03 | Time Computers Ltd | Security system for a hard disk |
-
1989
- 1989-06-28 JP JP1167798A patent/JPH0331925A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2367386A (en) * | 2000-05-11 | 2002-04-03 | Time Computers Ltd | Security system for a hard disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5829045A (en) | Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures | |
US6128630A (en) | Journal space release for log-structured storage systems | |
DE69926227D1 (en) | SYSTEM AND METHOD FOR IMPROVING PROGRAM START TIME | |
KR19990060338A (en) | Hard disk drive virus damage data recovery method | |
JPH03164841A (en) | Computer system | |
JPH0331925A (en) | Method for protecting disk | |
JP2005352535A (en) | Method of protecting data | |
JP2001100939A (en) | Disk array device and control method of disk array | |
US6513096B2 (en) | Multi task information recordation system and information storage medium | |
JP3022011B2 (en) | Data backup system | |
JPH0334164A (en) | Hard disk device | |
JP4334902B2 (en) | Recorded content copying device | |
JPH05290514A (en) | Recording and reproducing device | |
JPH02183461A (en) | Data input/output device | |
JP3984588B2 (en) | Recorded content restoration device of auxiliary storage device and file creation device used therefor | |
JPS6346553A (en) | File copying method | |
JPS58211257A (en) | Write controlling system of magnetic disk device | |
JPH0371351A (en) | Data maintenance system | |
JPS6286445A (en) | File assignment system | |
JPH1011226A (en) | Disk record reproduction system and its input/output controlling method | |
JPH0426136B2 (en) | ||
JPH0283724A (en) | Information processor | |
JPH0296983A (en) | Disk management information recording system | |
JPH09320245A (en) | Disk file system and controller therefor | |
JPH01240943A (en) | Data content recovery system |