JPH02312068A - Recording control method - Google Patents

Recording control method

Info

Publication number
JPH02312068A
JPH02312068A JP1133249A JP13324989A JPH02312068A JP H02312068 A JPH02312068 A JP H02312068A JP 1133249 A JP1133249 A JP 1133249A JP 13324989 A JP13324989 A JP 13324989A JP H02312068 A JPH02312068 A JP H02312068A
Authority
JP
Japan
Prior art keywords
data
write
block
flag
writing
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
JP1133249A
Other languages
Japanese (ja)
Inventor
Tatsumi Mori
森 立美
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1133249A priority Critical patent/JPH02312068A/en
Publication of JPH02312068A publication Critical patent/JPH02312068A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent an undue overwrite by providing a write starting flag for showing the commencement of a data writing, a data recording part and write ending flag for showing the termination of the data writing. CONSTITUTION:Recording data such as a write starting flag part 2, a data part 3 and a write ending flag part 4, etc., are provided with their positioning gap parts 1a, 1b, 1c and 1d between each data to constitute one data block. At the time of writing a data, the data is written by confirming no data write flag, and after its read check, the write ending flag is written in addition. By this method, in case of the occurrence of trouble during the write of a data, if the write ending flag is not written, and hence the write ending flag cannot be confirmed, this block concerned can be recognized as a write error block, so that the undue overwrite can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、記録制御方式に関し、特に、磁気ディスク装
置、光デイスク装置等の再書込み不能な記録装置または
再書込み前に消去が必要な記録装置のデータ記録装置に
おいて、データ記録時の不当なオーバライドを防止する
記録制御方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a recording control system, and in particular, to a recording control system that cannot be rewritten, such as a magnetic disk device or an optical disk device, or a record that must be erased before rewriting. The present invention relates to a recording control method for preventing illegal overrides during data recording in a data recording device.

〔従来の技術〕[Conventional technology]

従来、光デイスク装置等の再書込み不能な記録装置にお
けるデータ保護の記録制御方式として、例えば、特開昭
58−1651,63号公報に記載されている再書込み
不能な記憶装置の制御方式力1知られている。この記憶
装置の制御方式は、データ部に先行する領域に書込み済
みのマークを記録し、データ破壊を防止するようにした
制御方式である。すなわち、この制御方式では、ファイ
ルレコードのID部とデータ部との間にライトマークお
よび回転変動吸収用ギャップを設け、書込み時には、対
象ブロックにライトマークがないことを確認して書込み
を行う。ライトマークの書込みは、データ書込み後の読
み出しチェック時に行い、データ書込みに付随して、ラ
イトマークを書込み、また、読み出し時には、対象ブロ
ックにライトマ−クがあることの確認を行う、この制御
方式では。
Conventionally, as a recording control method for data protection in a non-rewritable storage device such as an optical disk device, for example, a control method for a non-rewritable storage device described in Japanese Patent Application Laid-Open No. 1651/63/1980 is known. Are known. The control method for this storage device is such that a written mark is recorded in the area preceding the data section to prevent data destruction. That is, in this control method, a write mark and a gap for absorbing rotation fluctuation are provided between the ID part and the data part of a file record, and when writing, it is confirmed that there is no write mark in the target block before writing. In this control method, a write mark is written during a read check after writing data, a write mark is written in conjunction with data writing, and when reading, it is confirmed that there is a write mark in the target block. .

データブロックの書込み後の読み出しチェック時にライ
トマークだけを書込む制御方式となっている。
The control method is such that only a write mark is written during a read check after writing a data block.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、上述した記録装置の制御方式では、データブ
ロックの書込み後の読み出しチェック時にライトマーク
だけを書込む制御方式となっているため1例えば、デー
タブロックの書込み後で読み出しチェックの間にパワー
オフ等があった場合には、ライトマークが書かれない、
このため、データが書込み済みであるにもかかわらず、
当該ブロックが未書込みと判断され、不当なオーバライ
ドを起こす可能性があるという問題がある。
By the way, in the control method of the recording device described above, only the write mark is written during the read check after writing the data block. If there is, the light mark will not be written.
Therefore, even though the data has already been written,
There is a problem in that the block in question is determined to be unwritten and there is a possibility that an illegal override may occur.

本発明は、前記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、不当なオーバライドを防止する記録制
御方式を提供することにある。
An object of the present invention is to provide a recording control method that prevents illegal overrides.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するために、本発明の記録制御方式にお
いては、データを記録する1つのブロック内に、データ
書込みが開始されたことを示す書込み開始フラグと、デ
ータ記録部と、データの書込みが終了したことを示す書
込み終了フラグとを設けて、データ記録を行うことを特
徴とする。
In order to achieve the above object, the recording control method of the present invention includes a write start flag indicating that data writing has started, a data recording section, and a data writing section in one block in which data is to be recorded. A feature is that data recording is performed by providing a write end flag indicating that the write has ended.

また、書込み開始フラグおよび書込み終了フラグの両方
のフラグが立っている場合にのみ、正常に書込みの行わ
れたブロックと判断し、9込み開始フラグのみが立って
いる場合には、データ書込み中に障害の起こったブロッ
クと判断し、エラー処理を行うことを特徴とする。
Also, only when both the write start flag and the write end flag are set, it is determined that the block has been written normally, and if only the write start flag 9 is set, the block is judged to have been written successfully. It is characterized by determining that the block has failed and performing error processing.

〔作用〕[Effect]

前記手段によれば、データを記録する1つのブロック内
に、データ書込みが開始されたことを示す書込み開始フ
ラグと、データ記録部と、データの書込みが終了したこ
とを示す書込み終了フラグが設けられる。データの書込
みに際しては、データ書込みフラグが無いことを確認し
て、データを書込み、読み出しチェックをした後に更に
書込み終了フラグを書込む、これにより、例えば、デー
タ書込み途中に障害が発生した場合には、書込み終了フ
ラグが書込まれておらず、書込み終了フラグが確認でき
ない場合には、当該ブロックを書込みエラーブロックと
認識でき、不当なオーバライドを防止できる。ここでの
、書込み開始フラグおよび書込み終了フラグは、例えば
、ギャップの間のデータ記録部とは異なる他の部分に設
けることにより、特に、ユーザのデータ記憶容量は減少
することはない。
According to the above means, a write start flag indicating that data writing has started, a data recording section, and a write end flag indicating that data writing has ended are provided in one block for recording data. . When writing data, confirm that there is no data write flag, write the data, check the readout, and then write a write completion flag. For example, if a failure occurs during data writing, If the write end flag is not written and the write end flag cannot be confirmed, the block can be recognized as a write error block, and illegal overrides can be prevented. By providing the write start flag and the write end flag here, for example, in a part other than the data recording section between the gaps, the data storage capacity of the user is not particularly reduced.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1図は、本発明の一実施例にかかる記録制御方式によ
る書込みデータブロックのフォーマットの一例を説明す
る図である。第1図において、3は書込みデータの記録
領域のデータ部である。データ部3に先行する領域に書
込み開始フラグ部2が設けてあり、データ部3の後続す
る領域には書込み終了フラグ部4が設けである。また、
これらの書込み開始フラグ部2.データ部3.@込み終
了フラグ部4等の記録データは、記録装置が読み出しま
たは書込みの位置決めのためのギャップ部la、lb、
lc、ldが各データの間に設けられて、1つのデータ
ブロックが構成されている。
FIG. 1 is a diagram illustrating an example of the format of a write data block according to a recording control method according to an embodiment of the present invention. In FIG. 1, numeral 3 indicates a data portion of a recording area for write data. A write start flag section 2 is provided in an area preceding the data section 3, and a write end flag section 4 is provided in an area following the data section 3. Also,
These write start flag sections 2. Data section 3. Recorded data such as @ writing end flag section 4 etc. are stored in gap sections la, lb, for positioning for reading or writing by the recording device.
lc and ld are provided between each data to constitute one data block.

第2図は1本発明の一実施例にかかる記録制御装置の要
部の構成を示すブロック図である。第2図のブロック図
において、6は制御装置である。
FIG. 2 is a block diagram showing the configuration of essential parts of a recording control device according to an embodiment of the present invention. In the block diagram of FIG. 2, 6 is a control device.

制御部M6は、処理装置インターフェース部7゜プログ
ラムメモリ8.マイクロプロセッサ9.バッファメモリ
10.およびデバイスインターフェイス部11から構成
されている。制御装置6においては、マイクロプロセッ
サ9がマイクロプログラムを実行して、処理装置インタ
フェース制御部7゜メモリ8、バッファ10.デバイス
インタフェース制御部11の制御を行い、一連のデータ
書込み処理およびデータ読み出し処理の制御を行う、制
御装置6は、処理装置インタフェース部7を介して、処
理装置5からの命令を解読すると、この命令に従らて、
光デイスク装置12へのデータの書込み及び読み出しの
制御を行う。
The control unit M6 includes a processing device interface unit 7゜program memory 8. Microprocessor9. Buffer memory 10. and a device interface section 11. In the control device 6, a microprocessor 9 executes a microprogram and controls a processing device interface control section 7, a memory 8, a buffer 10. When the control device 6, which controls the device interface control section 11 and controls a series of data write processing and data read processing, decodes the command from the processing device 5 via the processing device interface section 7, this command is According to
It controls writing and reading of data to the optical disk device 12.

第3図は、データ書込み時の記録制御の一例を示すフロ
ーチャートである。第3図を参照して説明する。データ
書込みの際には、まず、ステップ31において、書込み
開始フラグがあるか否かをチェックする。書込み開始フ
ラグが有る場合、既にデータの書込みが行われている領
域なので、データ書込み不能のエラー処理を行う、書込
み開始フラグが無い場合、ステップ32に進み、書込み
開始フラグを書込む0次に、ステップ33において、デ
ータ部の書込みを行う1次に、ステップ34において、
書込んだデータを読み出し、オリジナルデータとのチェ
ックを行い、次のステップでエラーの有無の判定を行う
、エラーがある場合には、エラー処理を行う、読み出し
チェックでエラーがない場合には、ステップ35の判定
ステップからステップ36に進み、書込み終了フラグの
書込を行い、データ書込みの処理を終了する。
FIG. 3 is a flowchart showing an example of recording control when writing data. This will be explained with reference to FIG. When writing data, first, in step 31, it is checked whether or not there is a write start flag. If there is a write start flag, it is an area where data has already been written, so error handling is performed to prevent data writing.If there is no write start flag, the process advances to step 32, where the write start flag is written. In step 33, the data section is written to the primary, and in step 34,
Read the written data, check it with the original data, and determine whether there is an error in the next step. If there is an error, perform error processing. If there is no error in the read check, proceed to step The process proceeds from step 35 to step 36, where a write end flag is written and the data write process is ended.

このように、このデータ書込みの処理では、データ部の
書込みを行う前に、書込み開始フラグの確認を行い、フ
ラグが未書込みの場合にはまず書込み開始フラグを書込
んでからデータの書込みを行う、その後、データの読み
出しチェック終了後に書込み終了フラグを書込む。
In this way, in this data write process, before writing the data section, the write start flag is checked, and if the flag has not been written, the write start flag is written first, and then data is written. , Then, after completing the data read check, a write end flag is written.

第4図は、データ読み出し時の記録制御の一例を示すフ
ローチャートである。第3図に示したように、正常にデ
ータの書込みが行われた場合には。
FIG. 4 is a flowchart showing an example of recording control when reading data. As shown in FIG. 3, when data is written normally.

書込み開始フラグと書込み終了フラグが記録されている
ので、読み出し処理の場合には、棗込み開始フラグと書
込み終了フラグを確認することにより、当該ブロックが
どのような状態であるかを判断する。
Since a write start flag and a write end flag are recorded, in the case of a read process, the state of the block is determined by checking the write start flag and write end flag.

第4図を参照して説明する。データ読み出しの処理では
、まず、ステップ41において、書込み開始フラグの有
無の確認を行う。書込み開始フラグがない場合は、未書
込みのデータブロックと判定できるので、未書込みブロ
ック読み出しエラーの処理に進む、ステップ41の判定
処理で、書込み開始フラグの有ることが確認できると、
次にステップ42に進み、データ部の読み出しを行う。
This will be explained with reference to FIG. In the data read process, first, in step 41, the presence or absence of a write start flag is checked. If there is no write start flag, it can be determined that it is an unwritten data block, so proceed to unwritten block read error processing.If the existence of the write start flag is confirmed in the determination process of step 41,
Next, the process proceeds to step 42, where the data portion is read.

次にステップ43において、読み出しエラーがあるか否
かを判定し、読み出しにエラーがあると。
Next, in step 43, it is determined whether or not there is a read error, and if there is an error in the read.

例えば、リトライ処理などのエラー処理を行う。For example, error processing such as retry processing is performed.

ステップ43のエラーの判定処理で、エラーが無く、正
常の読み出しの処理が行われていることが判定できると
1次に、ステップ44において、書込み終了フラグの確
認を行う、書込み終了フラグが確認できない場合には、
読み出したブロックが書込み異常ブロックと判定される
ので、書込み異常ブロック読み出しエラーの処理を行う
、ステップ44で書込み終了フラグが確認できると、正
常のデータブロックを正常に読み出しているので、デー
タの読み出し処理を終了する。
If it is determined in the error determination process in step 43 that there is no error and normal read processing is being performed, the first step is to check the write end flag in step 44.The write end flag cannot be confirmed. in case of,
Since the read block is determined to be a write abnormal block, the write abnormal block read error processing is performed. If the write end flag is confirmed in step 44, a normal data block has been read normally, so data read processing is performed. end.

ところで、このような記録制御を再書込み前に消去の必
要な記憶装置において適用する場合、書込み動作はイレ
ーズ動作とは別に制御して、書込み開始フラグと書込み
終了フラグは、イレーズ動作時のみに消去されるように
制御する。これによす、書込み動作時に、第3図のよう
に書込み開始フラグをチェックすることによって、不当
なブロックへの書込みを防止することができる。
By the way, when applying such recording control to a storage device that requires erasure before rewriting, the write operation is controlled separately from the erase operation, and the write start flag and write end flag are erased only during the erase operation. control so that In addition, by checking the write start flag as shown in FIG. 3 during a write operation, writing to an invalid block can be prevented.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以上、説明したように1本発明の記録制御方式によれば
、データ書込み途中に障害が発生した場合に、書込み終
了フラグが当該ブロックに存在せず、当該ブロックを書
込みエラーブロックと認識できるので、不当なオーバラ
イドを防止することができる。
As explained above, according to the recording control method of the present invention, if a failure occurs during data writing, the write end flag does not exist in the block and the block can be recognized as a write error block. Unwarranted overrides can be prevented.

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

第1図は、本発明の一実施例にかかる記録制御方式によ
る書込みデータブロックのフォーマットの一例を説明す
る図、 第2図は、本発明の一実施例にかかる記録制御装置の要
部の構成を示すブロック図、 第3図は、データ書込み時の記録制御の一例を示すフロ
ーチャート、 第4図は、データ読み出し時の記録制御の一例を示すフ
ローチャートである。 図中、la、lb、1c、ld−ギ’rツブ部、2・・
・書込み開始フラグ部、3・・・データ部、4・・・書
込み終了フラグ部、5・・・処理装置、6・・・制御装
置、7・・・処理装置インタフェース、8・・・メモリ
、9・・・マイクロプロセッサ、10・・・バッファメ
モリ、11・・・デバイスインタフェース、12・・・
光デイスク装置。
FIG. 1 is a diagram illustrating an example of the format of a write data block according to a recording control method according to an embodiment of the present invention, and FIG. 2 is a diagram illustrating a configuration of main parts of a recording control device according to an embodiment of the present invention. FIG. 3 is a flowchart showing an example of recording control when writing data, and FIG. 4 is a flowchart showing an example of recording control when reading data. In the figure, la, lb, 1c, ld-gi'r knob, 2...
- Write start flag section, 3... Data section, 4... Write end flag section, 5... Processing device, 6... Control device, 7... Processing device interface, 8... Memory, 9... Microprocessor, 10... Buffer memory, 11... Device interface, 12...
Optical disk device.

Claims (1)

【特許請求の範囲】 1、データを記録する1つのブロック内に、データ書込
みが開始されたことを示す書込み開始フラグと、データ
記録部と、データの書込みが終了したことを示す書込み
終了フラグとを設けて、データを記録する記録制御方式
。 2、請求項1に記載の記録制御方式において、書込み開
始フラグおよび書込み終了フラグの両方のフラグが立っ
ている場合にのみ、正常に書込みの行われたブロックと
判断し、書込み開始フラグのみが立っている場合には、
データ書込み中に障害の起こったブロックと判断し、エ
ラー処理を行うことを特徴とする記録制御方式。
[Claims] 1. A write start flag indicating that data writing has started, a data recording section, and a write end flag indicating that data writing has ended in one block for recording data. A recording control method that records data by providing 2. In the recording control method according to claim 1, only when both the write start flag and the write end flag are set, it is determined that the block has been successfully written, and only the write start flag is set. If you are
A recording control method that determines that a block has failed during data writing and performs error processing.
JP1133249A 1989-05-26 1989-05-26 Recording control method Pending JPH02312068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1133249A JPH02312068A (en) 1989-05-26 1989-05-26 Recording control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1133249A JPH02312068A (en) 1989-05-26 1989-05-26 Recording control method

Publications (1)

Publication Number Publication Date
JPH02312068A true JPH02312068A (en) 1990-12-27

Family

ID=15100195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1133249A Pending JPH02312068A (en) 1989-05-26 1989-05-26 Recording control method

Country Status (1)

Country Link
JP (1) JPH02312068A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059769A (en) * 2012-09-18 2014-04-03 Fujitsu Ltd Storage control system, recovery program, and the method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059769A (en) * 2012-09-18 2014-04-03 Fujitsu Ltd Storage control system, recovery program, and the method thereof

Similar Documents

Publication Publication Date Title
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
US20030023966A1 (en) Method of software installation and updating firmware, recording and reading device, and recording medium therefor
US5319626A (en) Method for rewriting defect management areas on optical disk according to ECMA standard
KR0130622B1 (en) Recording apparatus
JPS63167474A (en) Optical disk
US5485439A (en) Method for recording/reproducing information and apparatus therefor
US5654950A (en) Method for protecting data recorded on a partial read-only memory (ROM) medium from unauthorized copying
US6956798B2 (en) Information recording apparatus and method for recording information on recording medium
KR101475993B1 (en) Method for controlling overwriting of data by tape recording apparatus, program for controlling overwriting, and tape recording apparatus
JP2000048496A (en) Optical disk recording/reproducing method, device and medium recording optical disk recording/reproducing program
US5774742A (en) Peripheral device using two microprocessors and two buses for automatically updating program after judging that update data is stored in a portable recording medium
JPS60175254A (en) Dead copy preventing method for software recording medium
EP1091357A2 (en) Record medium with mechanism of secrecy protection
JPH02312068A (en) Recording control method
US7817517B2 (en) Disc recording and reproducing device and disc recording and reproducing method
US20060123192A1 (en) Information Recording/Reproducing Method and Apparatus
JP3595550B1 (en) Information recording / reproducing apparatus, information recording / reproducing method, and program
JPS62276648A (en) Copy prevention system for floppy disk
JP3264528B2 (en) Information replacement processing method for write-protected information recording medium
JPH09198846A (en) Magneto-optical recording device
US7602685B2 (en) Method of and apparatus for recording data on a minimally blanked optical disc in an incremental recording mode and computer readable storage medium encoded with processing instructions performing the method
JP3921751B2 (en) Recording apparatus, recording method, and recording / reproducing apparatus
JPS6348662A (en) Information recording and reproducing method for optical disk device
JPH06266573A (en) Fault recovery information managing system
JP3336044B2 (en) Recording method on information recording medium