JPH04289561A - Method and device for recording record of variable length format - Google Patents

Method and device for recording record of variable length format

Info

Publication number
JPH04289561A
JPH04289561A JP5300091A JP5300091A JPH04289561A JP H04289561 A JPH04289561 A JP H04289561A JP 5300091 A JP5300091 A JP 5300091A JP 5300091 A JP5300091 A JP 5300091A JP H04289561 A JPH04289561 A JP H04289561A
Authority
JP
Japan
Prior art keywords
data
record
length format
bit pattern
sector
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
JP5300091A
Other languages
Japanese (ja)
Inventor
Hirobumi Sonoda
博文 園田
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 JP5300091A priority Critical patent/JPH04289561A/en
Publication of JPH04289561A publication Critical patent/JPH04289561A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively use the data area and to efficiently perform retrieval in a short time by recording a first bit pattern in the head of the IC part of a sector and recording a second bit pattern in the head of each of the other parts. CONSTITUTION:A record having a variable length format is received and is formatted in a sector of a record having a fixed length format. In this case, the first bit pattern is added to the head of an ID part 23 of a sector 22 of the record having the fixed length format where a count part 21 as the field, where format control information of the record having the variable length format is held, should be recorded, and it is recorded. The second bit pattern is added to the heads of ID parts and data areas where the other count parts 21, key parts 31, and data parts 41 should be recorded, and they are recorded. Thus, all data parts are used as the data area, and the count part is efficiently retrieved in a short time.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は可変長フォーマットのレ
コードの記録方法および装置に関し、特に固定長フォー
マットのレコードを使用した可変長フォーマットのレコ
ードの記録方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for recording variable-length records, and more particularly to a method and apparatus for recording variable-length records using fixed-length records.

【0002】0002

【従来の技術】従来の可変長フォーマットのレコードの
記録方法および装置は、記録媒体として、例えば、固定
長フォーマットを持つ磁気ディスク等を用いる場合、各
セクタを区別するのに、各セクタの識別符号部(以下I
D部と記す)にある物理アドレスとセクタ番号とが用い
られるが、従来のフォーマットでは、データエリアに記
録してあるデータの種類をID部で区別することができ
なかった。このため、固定長フォーマットの磁気ディス
ク装置で可変長フォーマットをエミュレートする場合、
各セクタのデータエリアの先頭にこのセクタに記録され
ているデータが可変長レコードの、カウント部とキー部
とデータ部とのいずれであるかを判断するためのヘッダ
を付加してデータを書込む方法を用いていた。
2. Description of the Related Art Conventional variable-length format record recording methods and devices use identification codes for each sector to distinguish each sector when using, for example, a magnetic disk with a fixed-length format as a recording medium. Section (hereinafter referred to as I
However, in the conventional format, it was not possible to distinguish the type of data recorded in the data area using the ID section. Therefore, when emulating variable length format on a fixed length format magnetic disk device,
Write data by adding a header to the beginning of the data area of each sector to determine whether the data recorded in this sector is in the count part, key part, or data part of a variable-length record. method was used.

【0003】0003

【発明が解決しようとする課題】上述した従来の可変長
フォーマットのレコードの記録方法および装置は、固定
長フォーマットの磁気ディスク装置等で可変長フォーマ
ットをエミュレートする場合、各セクタのデータエリア
の先頭にこのセクタに記録されているデータが可変長レ
コードの、カウント部とキー部とデータ部とのいずれで
あるかを判断するためのヘッダを付加してデータを書込
む方法を用いていたので、セクタのデータ部をすべてデ
ータエリアとして使用することができないという問題点
がある。又、セクタのデータ部を読出さないと、このデ
ータがカウント部とキー部とデータ部とのいずれである
かを判断できないので、可変長フォーマットのレコード
の、フォーマット制御情報を保持するフィールドである
、カウント部が記録されているセクタを検索する動作で
は、次々とセクタを読出して判断する必要があるため、
処理時間に余裕がなく、さらに、各セクタの先頭にこの
セクタに記録されたデータの属性を示すヘッダを付加し
ているので、データの書込み読出しの際に、ヘッダの処
理を行う必要があり、データ転送の処理が複雑になる等
、実行上では各種の制約があり、効率のよい記録方法の
実現が難かしいという問題点がある。
[Problems to be Solved by the Invention] The above-described conventional variable length format record recording method and apparatus have a problem in that when emulating a variable length format in a fixed length format magnetic disk device, etc., the beginning of the data area of each sector is The method used was to write data by adding a header to determine whether the data recorded in this sector was in the count part, key part, or data part of a variable-length record. There is a problem in that the entire data portion of a sector cannot be used as a data area. In addition, unless the data part of a sector is read, it is impossible to determine whether this data is a count part, key part, or data part, so this is a field that holds format control information of a variable-length format record. In the operation of searching for the sector in which the count part is recorded, it is necessary to read out the sectors one after another and make a decision.
There is not enough processing time, and since a header is added to the beginning of each sector to indicate the attributes of the data recorded in this sector, it is necessary to process the header when writing or reading data. There are various constraints on execution, such as the complexity of data transfer processing, and there are problems in that it is difficult to realize an efficient recording method.

【0004】本発明の目的は、データエリアの有効利用
のため各セクタのデータ部を、すべてデータ領域として
使用し、可変長フォーマットのレコードのデータの書込
時にそのまま書込み、読出時にもそのまま送信でき、該
当レコードのカウント部の検索も処理時間が短かく簡単
になる効率のよい可変長フォーマットのレコードの記録
方法および装置を提供することにある。
An object of the present invention is to use the entire data portion of each sector as a data area in order to effectively utilize the data area, so that when writing data in a variable length format record, it can be written as it is, and when it is read, it can be transmitted as is. An object of the present invention is to provide an efficient method and apparatus for recording records in a variable length format, in which searching for the count part of a corresponding record is shortened and simple.

【0005】[0005]

【課題を解決するための手段】本発明の可変長フォーマ
ットのレコードの記録方法は、可変長フォーマットのレ
コードを受け固定長フォーマットのレコードのセクタに
フォーマットする可変長フォーマットのレコードの記録
方法において、前記可変長フォーマットのレコードのフ
ォーマット制御情報を保持するフィールドであるカウン
ト部を記録する前記固定長フォーマットのレコードのセ
クタではこのセクタの識別符号部の同期バイトの先頭に
第1のビットパターンを付加して記録し、前記カウント
部のデータおよび前記可変長フォーマットのレコードの
キー部およびデータ部の各々の識別符号部および記録デ
ータの同期バイトの先頭に第2のビットパターンを付加
して記録する構成である。
Means for Solving the Problems The present invention provides a variable length format record recording method for receiving a variable length format record and formatting it into a fixed length record sector. In the sector of the fixed-length format record that records the count section, which is a field that holds format control information of the variable-length format record, a first bit pattern is added to the beginning of the synchronization byte of the identification code section of this sector. and a second bit pattern is added to the head of the synchronization byte of the data in the count section, the identification code section of each of the key section and data section of the record in the variable length format, and the recording data. .

【0006】本発明の可変長フォーマットのレコードの
記録方法は、記録内容の読出時検出した同期バイトの先
頭のビットパターンを識別し、記録済みの可変長フォー
マットのレコードを再生してもよい。
[0006] In the variable length format record recording method of the present invention, the bit pattern at the head of the synchronization byte detected when reading the recorded content may be identified, and the already recorded variable length format record may be reproduced.

【0007】本発明の可変長フォーマットのレコードの
記録装置は、固定長フォーマットのレコードのセクタの
識別符号部の同期バイトに付加するビットパターンを選
択するために外部から入力する選択信号を保持する第1
のレジスタと、前記同期バイトの2つのビットパターン
を予め入力されて保持する第2および第3のレジスタと
、前記第1のレジスタの保持する選択信号を受け前記第
2および第3のレジスタの保持する前記同期バイトの2
つのビットパターンのいずれか一方を選択して出力する
セレクタと、このセレクタの出力するビットパターンを
保持する第4のレジスタと、外部から入力する可変長フ
ォーマットのレコードの書込データと前記第4のレジス
タの出力するビットパターンとを合成して固定長フォー
マットのレコードを記憶する記憶媒体に書込処理するデ
ータ書込部と、前記固定長フォーマットのレコードを記
憶する記憶媒体からデータを読出すデータ読出部と、こ
のデータ読出部の読出したデータから前記合成したビッ
トパターンを検出し出力する同期バイト検出部とを有す
る構成である。
[0007] The variable length format record recording device of the present invention has a first memory which holds a selection signal input from the outside for selecting a bit pattern to be added to the synchronization byte of the identification code portion of the sector of the fixed length format record. 1
a register, second and third registers that are inputted in advance and hold two bit patterns of the synchronization byte, and holding of the second and third registers that receive a selection signal held by the first register. 2 of the sync bytes to
a selector that selects and outputs one of the two bit patterns; a fourth register that holds the bit pattern output by this selector; a data writing unit that writes data to a storage medium that stores fixed-length format records by combining the bit patterns output from the registers; and a data read unit that reads data from the storage medium that stores fixed-length format records. and a synchronous byte detection section that detects and outputs the synthesized bit pattern from the data read by the data reading section.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0009】図1は記憶媒体を磁気ディスクとした本発
明の一実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of the present invention in which a magnetic disk is used as a storage medium.

【0010】本発明の可変長フォーマットのレコードの
記録装置1は、固定長フォーマットのレコードのセクタ
の識別符号部の同期バイトに付加するビットパターンを
選択するために、外部から入力する選択信号11を保持
するフリップフロップ(以下F/Fと記す)2と、同期
バイトの2つのビットパターンを予め入力されて保持す
るレジスタ3,4と、F/F2の保持する選択信号を受
けレジスタ3,4の保持する同期バイトの2つのビット
パターンのいずれか一方を選択して出力するセレクタ5
と、セレクタ5の出力するビットパターンを保持する書
込み同期バイト保持レジスタ6と、外部から入力する可
変長フォーマットのレコードの書込ゲート信号12およ
び書込データ13と、書込み同期バイト保持レジスタ6
の出力するビットパターンとを合成して固定長フォーマ
ットのレコードを記憶する磁気ディスク媒体7に書込処
理するデータ書込部8と、磁気ディスク媒体7から読出
ゲート信号14の読出要求に従って読出データ15を読
出すデータ読出部9と、このデータ読出部9の読出した
読出データ15から合成したビットパターンを検出しパ
ターン信号16,17として出力する同期バイト検出部
10とを有する。
The variable length format record recording device 1 of the present invention receives a selection signal 11 input from the outside in order to select a bit pattern to be added to the synchronization byte of the identification code section of the sector of the fixed length format record. A flip-flop (hereinafter referred to as F/F) 2 that holds, registers 3 and 4 that hold the two bit patterns of the synchronization byte input in advance, and registers 3 and 4 that receive the selection signal held by F/F2. A selector 5 that selects and outputs one of the two bit patterns of the synchronization byte to be held.
, a write synchronization byte holding register 6 that holds the bit pattern output from the selector 5, a write gate signal 12 and write data 13 of a variable-length format record input from the outside, and a write synchronization byte holding register 6.
a data writing unit 8 that synthesizes bit patterns output from the magnetic disk medium 7 and writes a record in a fixed length format to a magnetic disk medium 7, and reads data 15 from the magnetic disk medium 7 according to a read request of a read gate signal 14. The synchronization byte detection section 10 detects a bit pattern synthesized from the read data 15 read by the data reading section 9 and outputs it as pattern signals 16 and 17.

【0011】なお、同期バイト検出部10は、検出した
ビットパターンが、レジスタ3の保持するビットパター
ンであればパターン信号16のみを出力し、レジスタ4
の保持するビットパターンであればパターン信号16,
17を出力する。
Note that, if the detected bit pattern is a bit pattern held in the register 3, the synchronous byte detection unit 10 outputs only the pattern signal 16, and outputs only the pattern signal 16 to the register 4.
If the bit pattern is held by the pattern signal 16,
Outputs 17.

【0012】次に動作について説明する。Next, the operation will be explained.

【0013】可変長フォーマットのレコードの記録装置
1は、図示していない処理装置からの制御を受け、選択
信号11によってF/F2を“0”に保持すると、セレ
クタ5は、レジスタ3が保持する同期バイトのビットパ
ターンである“19H”(“XXH”は16進表示であ
ることを示す)を選択して出力し、F/F2を“1”に
保持すると、セレクタ5は、レジスタ4が保持する同期
バイトのビットパターンである“1EH”を選択して出
力する。ここで、F/F2を“0”に保持して書込ゲー
ト信号12を起動状態とすると、データ書込部8は、書
込データ13の先頭に同期バイトとして“19H”を付
加して磁気ディスク媒体7に書込み、同様に、F/F2
を“1”に保持して書込ゲート信号12を起動状態とす
ると、書込データ13の先頭に同期バイトとして“1E
H”を付加して磁気ディスク媒体7に書込む。
The variable length format record recording device 1 is controlled by a processing device (not shown), and when the F/F 2 is held at “0” by the selection signal 11, the selector 5 is controlled by the register 3. When the bit pattern of the synchronous byte "19H"("XXH" indicates hexadecimal display) is selected and output, and F/F2 is held at "1", selector 5 indicates the value held by register 4. "1EH", which is the bit pattern of the synchronization byte, is selected and output. Here, when F/F2 is held at "0" and the write gate signal 12 is activated, the data writing section 8 adds "19H" as a synchronization byte to the beginning of the write data 13 and magnetically Write to disk medium 7, and similarly write to F/F2
When the write gate signal 12 is activated by keeping it at "1", "1E
H" is added and written on the magnetic disk medium 7.

【0014】読出時は、データ読出部9が、読出ゲート
信号14の読出要求に従って、磁気ディスク媒体7から
読出データ15を読出す。この時、同期バイト検出部1
0は、読出データ15の同期バイトを検出し、“19H
”を検出すればパターン信号16のみを出力し、“1E
H”を検出すればパターン信号16,17を出力する。
At the time of reading, the data reading section 9 reads the read data 15 from the magnetic disk medium 7 in accordance with the read request of the read gate signal 14. At this time, the synchronous byte detector 1
0 detects the synchronization byte of read data 15 and outputs “19H”.
” is detected, only pattern signal 16 is output, and “1E
If H'' is detected, pattern signals 16 and 17 are output.

【0015】次に可変長フォーマットのレコードを固定
長フォーマットのセクタに記録させる場合の動作につい
て説明する。
Next, a description will be given of the operation when a variable length format record is recorded in a fixed length format sector.

【0016】図2は可変長フォーマットのレコードを固
定長フォーマットのセクタに分割記録する方法を説明す
るための説明図である。説明は図2に従って行うが、機
能の名称および符号は図1に示すものを使用する。
FIG. 2 is an explanatory diagram for explaining a method of dividing and recording a variable-length format record into fixed-length format sectors. The description will be made according to FIG. 2, but the names and symbols of the functions will be those shown in FIG. 1.

【0017】可変長フォーマットのレコードのフォーマ
ット制御情報を保持するフィールドであるカウント部2
1を記録する固定長フォーマットのセクタ22では、処
理装置が選択信号11によってF/F2を“1”に保持
し、これによりセレクタ5は、レジスタ4が保持する同
期バイトのビットパターンである“1EH”を選択して
出力するので、データ書込部8がセクタ22の先頭に“
1EH”を付加してID部23を書込む。次に、F/F
2を“0”に保持し、これによりセレクタ5は、レジス
タ3が保持する同期バイトのビットパターンである“1
9H”を選択して出力するので、データ書込部8がセク
タ22のデータエリア24の先頭に“19H”を書込み
、データエリア24にカウント部21のデータと、後続
するキー部31およびデータ部41が記憶されているセ
クタの情報等のトラックフォーマット情報を記録する。 次にキー部31を記録する場合は、F/F2を“0”に
保持することで、データ書込部8がセクタ32の先頭に
“19H”を付加してID部33を書込み、続けてデー
タエリア34の先頭に“19H”を書込み、データエリ
ア34にキー部データを書込む。同様に、データ部41
を記録する場合は、セクタ42,52の先頭に“19H
”を付加してID部43,53を書込み、続けてデータ
エリア44,54の先頭に“19H”を書込み、データ
エリア44,54にデータ部データを書込む。なお、各
データエリアの最後にはエラー訂正コード(以下CRC
と記す)を付加する。又データ部データの最後には最後
を表示するエンドオブフィールド符号(以下EOFと記
す)を記録する。
Count section 2 is a field that holds format control information for records in variable length format.
In the fixed length format sector 22 in which 1 is recorded, the processing device holds F/F2 at "1" by the selection signal 11, so that the selector 5 selects "1EH" which is the bit pattern of the synchronization byte held in the register 4. ” is selected and output, the data writing unit 8 writes “
1EH” is added and the ID section 23 is written. Next, the F/F
2 is held at “0”, so that the selector 5 selects “1”, which is the bit pattern of the synchronization byte held in register 3.
9H" is selected and output, the data writing section 8 writes "19H" at the beginning of the data area 24 of the sector 22, and the data of the count section 21 and the subsequent key section 31 and data section are written in the data area 24. 41 is stored.Next, when recording the key part 31, by holding F/F2 at "0", the data writing part 8 writes the data to the sector 32. "19H" is added to the beginning of the ID field 33, and then "19H" is written to the beginning of the data area 34, and the key part data is written to the data area 34.Similarly, the data field 41
When recording “19H” at the beginning of sectors 42 and 52,
” is added to the ID sections 43 and 53, and then "19H" is written at the beginning of the data areas 44 and 54, and the data section data is written to the data areas 44 and 54. Note that at the end of each data area is an error correction code (CRC)
) is added. Furthermore, at the end of the data section data, an end-of-field code (hereinafter referred to as EOF) indicating the end is recorded.

【0018】次にこのような形式で記録した可変長フォ
ーマットのレコードを読出す場合、読出したセクタのI
D部の同期バイトが“19H”であれば、同期バイト検
出部10は、パターン信号16のみを出力し、パターン
信号17は出力されないので、これを受信した処理装置
は、このセクタにはカウント部21が記録されていない
ことがわかり、次のセクタのID部を読出す動作に入り
、読出したセクタのID部の同期バイトが“1EH”で
あれば、パターン信号17が出力されるので、これを受
信した処理装置は、このセクタにカウント部21が記録
されていることを知り、続けてこのセクタのデータエリ
ア24のカウント部データを読出し、以後読出したフォ
ーマット制御情報により、キー部31およびデータ部4
1の記録されている他のレコードの書込みおよび読出し
を行うことができる。
Next, when reading a record in variable length format recorded in such a format, the I of the read sector is
If the synchronization byte of the D section is "19H", the synchronization byte detection section 10 outputs only the pattern signal 16 and does not output the pattern signal 17. 21 is not recorded, the operation starts to read the ID section of the next sector, and if the synchronization byte of the ID section of the read sector is "1EH", pattern signal 17 is output, so this The processing device that received this notice knows that the count section 21 is recorded in this sector, and subsequently reads out the count section data in the data area 24 of this sector. Part 4
Other recorded records of 1 can be written and read.

【0019】本実施例では同期バイトの種類として、“
1EH”と“19H”との2種類を用いているが、同期
バイトの種類として、上記以外のビットパターンを用い
ても実現可能である。
In this embodiment, the type of synchronization byte is “
Although two types of synchronization bytes, ``1EH'' and ``19H'', are used, it is also possible to use bit patterns other than those described above as types of synchronization bytes.

【0020】[0020]

【発明の効果】以上説明したように、本発明は、固定長
フォーマットのレコードのセクタの識別符号部の同期バ
イトに付加するビットパターンを選択するために、外部
から入力する選択信号を保持する第1のレジスタと、同
期バイトの2つのビットパターンを予め入力されて保持
する第2および第3のレジスタと、第1のレジスタの保
持する選択信号を受け第2および第3のレジスタの保持
する同期バイトの2つのビットパターンのいずれか一方
を選択して出力するセレクタと、このセレクタの出力す
るビットパターンを保持する第4のレジスタと、外部か
ら入力する可変長フォーマットのレコードの書込データ
と第4のレジスタの出力するビットパターンとを合成し
、固定長フォーマットのレコードを記憶する記憶媒体に
書込処理するデータ書込部と、固定長フォーマットのレ
コードを記憶する記憶媒体からデータを読出すデータ読
出部と、このデータ読出部の読出したデータから合成し
たビットパターンを検出し出力する同期バイト検出部と
を設けることにより、データエリアの有効利用のため各
セクタのデータ部を、すべてデータ領域として使用し、
可変長フォーマットのレコードのデータの書込時にその
まま書込み、読出時にもそのまま送信でき、該当レコー
ドのカウント部の検索も処理時間が短かく簡単になり効
率もよくなるという効果が有る。
As explained above, the present invention provides a first bit pattern that holds an externally input selection signal in order to select a bit pattern to be added to the synchronization byte of the sector identification code portion of a fixed-length record. 1 register, second and third registers that are inputted in advance and hold two bit patterns of the synchronization byte, and the second and third registers that receive the selection signal held by the first register and hold the synchronization byte. A selector that selects and outputs one of the two bit patterns of a byte, a fourth register that holds the bit pattern output by this selector, and a fourth register that holds the write data of a variable-length record that is input from the outside. a data writing unit that combines the bit patterns output from registers No. 4 and writes the data to a storage medium that stores fixed-length format records, and data that reads data from the storage medium that stores fixed-length format records. By providing a readout section and a synchronous byte detection section that detects and outputs a bit pattern synthesized from the data read by the data readout section, the entire data section of each sector can be used as a data area for effective use of the data area. use,
When writing data in a variable-length format record, it can be written as it is, and when reading it, it can be transmitted as is, and the processing time for searching the count section of the corresponding record is shortened, simple, and efficient.

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

【図1】記憶媒体を磁気ディスクとした本発明の一実施
例のブロック図である。
FIG. 1 is a block diagram of an embodiment of the present invention using a magnetic disk as a storage medium.

【図2】可変長フォーマットのレコードを固定長フォー
マットのセクタに分割記録する方法を説明するための説
明図である。
FIG. 2 is an explanatory diagram for explaining a method of dividing and recording a variable-length format record into fixed-length format sectors.

【符号の説明】[Explanation of symbols]

1    可変長フォーマットのレコードの記録装置2
    フリップフロップ(F/F)3,4    レ
ジスタ 5    セレクタ 6    書込み同期バイト保持レジスタ7    磁
気ディスク媒体 8    データ書込部 9    データ読出部 10    同期バイト検出部 11    選択信号 12    書込ゲート信号 13    書込データ 14    読出ゲート信号 15    読出データ 16,17    パターン信号
1 Recording device for variable length format records 2
Flip-flop (F/F) 3, 4 Register 5 Selector 6 Write synchronization byte holding register 7 Magnetic disk medium 8 Data writing section 9 Data reading section 10 Synchronization byte detection section 11 Selection signal 12 Write gate signal 13 Write data 14 Read gate signal 15 Read data 16, 17 Pattern signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  可変長フォーマットのレコードを受け
固定長フォーマットのレコードのセクタにフォーマット
する可変長フォーマットのレコードの記録方法において
、前記可変長フォーマットのレコードのフォーマット制
御情報を保持するフィールドであるカウント部を記録す
る前記固定長フォーマットのレコードのセクタではこの
セクタの識別符号部の同期バイトの先頭に第1のビット
パターンを付加して記録し、前記カウント部のデータお
よび前記可変長フォーマットのレコードのキー部および
データ部の各々の識別符号部および記録データの同期バ
イトの先頭に第2のビットパターンを付加して記録する
ことを特徴とする可変長フォーマットのレコードの記録
方法。
1. A variable length format record recording method for receiving a variable length format record and formatting it into a fixed length record sector, comprising: a count section which is a field holding format control information of the variable length format record; In the sector of the fixed-length format record that records the data, a first bit pattern is added to the beginning of the synchronization byte of the identification code section of this sector, and the data of the count section and the key of the variable-length format record are recorded. A method for recording a record in a variable length format, characterized in that a second bit pattern is added to the beginning of an identification code part of each part and data part and a synchronization byte of record data.
【請求項2】  記録内容の読出時検出した同期バイト
の先頭のビットパターンを識別し、記録済みの可変長フ
ォーマットのレコードを再生することを特徴とする請求
項1記載の可変長フォーマットのレコードの記録方法。
2. The variable length format record according to claim 1, wherein the first bit pattern of the synchronization byte detected when reading the recorded content is identified, and the recorded variable length format record is reproduced. Recording method.
【請求項3】  固定長フォーマットのレコードのセク
タの識別符号部の同期バイトに付加するビットパターン
を選択するために外部から入力する選択信号を保持する
第1のレジスタと、前記同期バイトの2つのビットパタ
ーンを予め入力されて保持する第2および第3のレジス
タと、前記第1のレジスタの保持する選択信号を受け前
記第2および第3のレジスタの保持する前記同期バイト
の2つのビットパターンのいずれか一方を選択して出力
するセレクタと、このセレクタの出力するビットパター
ンを保持する第4のレジスタと、外部から入力する可変
長フォーマットのレコードの書込データと前記第4のレ
ジスタの出力するビットパターンとを合成して固定長フ
ォーマットのレコードを記憶する記憶媒体に書込処理す
るデータ書込部と、前記固定長フォーマットのレコード
を記憶する記憶媒体からデータを読出すデータ読出部と
、このデータ読出部の読出したデータから前記合成した
ビットパターンを検出し出力する同期バイト検出部とを
有することを特徴とする可変長フォーマットのレコード
の記録装置。
3. A first register that holds a selection signal input from the outside to select a bit pattern to be added to a synchronization byte of an identification code portion of a sector of a record in a fixed length format; second and third registers that hold a bit pattern input in advance, and the second and third registers that receive a selection signal held by the first register and hold the synchronization byte. A selector that selects and outputs one of them, a fourth register that holds the bit pattern output by this selector, and a variable-length record write data input from the outside and the output of the fourth register. a data writing unit that writes data into a storage medium that stores fixed-length records by combining bit patterns; a data reading unit that reads data from the storage medium that stores fixed-length records; A variable length format record recording device comprising: a synchronous byte detection unit that detects and outputs the synthesized bit pattern from the data read by the data reading unit.
JP5300091A 1991-03-19 1991-03-19 Method and device for recording record of variable length format Pending JPH04289561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5300091A JPH04289561A (en) 1991-03-19 1991-03-19 Method and device for recording record of variable length format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5300091A JPH04289561A (en) 1991-03-19 1991-03-19 Method and device for recording record of variable length format

Publications (1)

Publication Number Publication Date
JPH04289561A true JPH04289561A (en) 1992-10-14

Family

ID=12930657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5300091A Pending JPH04289561A (en) 1991-03-19 1991-03-19 Method and device for recording record of variable length format

Country Status (1)

Country Link
JP (1) JPH04289561A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487632B1 (en) 1998-05-18 2002-11-26 Hitachi, Ltd. Emulation technique for variable-length disk system to access data in a fixed-length disk system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487632B1 (en) 1998-05-18 2002-11-26 Hitachi, Ltd. Emulation technique for variable-length disk system to access data in a fixed-length disk system

Similar Documents

Publication Publication Date Title
JP2854391B2 (en) Method for assembling data groups on DAT tape
JPH0828053B2 (en) Data recording method
KR100457119B1 (en) Recordable Compact Disc Controller Circuit
US4279004A (en) Method for controlling rotary memory device
EP0957487A1 (en) Data transmission apparatus and method therefor
JPH0358354A (en) Information transmission equipment
JPH04289561A (en) Method and device for recording record of variable length format
US5911031A (en) IC card memory for recording and reproducing audio and/or video data concurrently or separately and a control method thereof
JPH09146710A (en) Information recording device and information reproducing device
JP4264615B2 (en) Data recording method, data recording apparatus and recording medium
JPH01171044A (en) Method for positioning block of memory
JPH0542069B2 (en)
US5444679A (en) Optical disk driver for reading data from a disk based on ID information
JP2589673B2 (en) Address data detection device
JPS62171324A (en) Data transmitting method
JPS61153880A (en) Recording and reproducing device
JP2544327B2 (en) Magnetic disk controller
KR830001404B1 (en) Control Method of Rotating Memory
JPS6041124A (en) Magnetic disc control device
JPH03189719A (en) Disk control lsi, storage device and information processing system
JP2512761B2 (en) Information playback device
JPS6095763A (en) Optical disc processor
JPH0135424B2 (en)
JPH07111816B2 (en) Information playback device
JPH08115572A (en) Recording and reproducing device