JPH03257521A - Medium copy system - Google Patents

Medium copy system

Info

Publication number
JPH03257521A
JPH03257521A JP2055090A JP5509090A JPH03257521A JP H03257521 A JPH03257521 A JP H03257521A JP 2055090 A JP2055090 A JP 2055090A JP 5509090 A JP5509090 A JP 5509090A JP H03257521 A JPH03257521 A JP H03257521A
Authority
JP
Japan
Prior art keywords
medium
data
format information
copying
copy
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
JP2055090A
Other languages
Japanese (ja)
Inventor
Hiroko Taniguchi
谷口 弘子
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 JP2055090A priority Critical patent/JPH03257521A/en
Publication of JPH03257521A publication Critical patent/JPH03257521A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the copying tasks among the media having different formats by obtaining the format information on both a copying medium and a medium to be copied and writing the data read out of the copying medium into the medium to be copied in accordance with the format information. CONSTITUTION:A format information control means 2 compares two types of format information acquired by a format information acquiring means 1 with each other. Then the data are read out of a copying medium 7 for each sector via a data reading means 5 and stored in a certain area of a main storage 6 based on the format information on the medium 7 acquired by the means 1. The data are rewritten by a file control table rewriting means 4 for a file control table storing those read data so as to secure the accordance with the format of a medium 8 to be copied. Then the data are written into the medium 8 via a data writing means 3. Thus the media can be copied even among different formats.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、フロッピーディスク装置における媒体複写方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a media copying method in a floppy disk device.

〔従来の技術〕[Conventional technology]

フロッピーディスク装置において、媒体複写が行われる
ときがある。このようなとき、すなわち、フロ5.ピー
ディスクのデータを複写するときに、同一フォーマット
の媒体同志で複写元からある一定量のデータをメモリ上
に読み込む。そして、それをそのまま複写先の媒体に書
き込む操作を繰り返すことにより、複写を行っている。
Media copying is sometimes performed in floppy disk drives. In such a case, Flo 5. When copying data from a disc, a certain amount of data is read into memory from the copy source using media of the same format. Copying is then performed by repeating the operation of writing the data as is onto the copy destination medium.

(発明が解決しようとする課B) 上述した従来の複写方式では、フォーマットの異なる媒
体間で媒体複写を行うことができないという欠点がある
(Problem B to be Solved by the Invention) The conventional copying method described above has a drawback in that it is not possible to perform media copying between media of different formats.

本発明の目的は、このような欠点を除去し、フォーマッ
トの異なる媒体間でも媒体複写を行うことのできる媒体
複写方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a media copying method that eliminates such drawbacks and can perform media copying even between media of different formats.

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

本発明は、複写元媒体のデータを複写先媒体に書き込む
媒体複写方式において、 複写元媒体および複写先媒体のフォーマット情報を入手
し、 入手した複写元媒体のフォーマット情報に従って複写元
媒体のデータを読み込み、 読み込んだデータを複写先媒体のフォーマットに合わせ
て複写先媒体に書き込むこ!:を特徴としている。
The present invention provides a media copying method in which data from a copy source medium is written to a copy destination medium, which obtains format information of the copy source medium and copy destination medium, and reads data from the copy source medium according to the obtained format information of the copy source medium. , Write the read data to the copy destination medium according to the format of the copy destination medium! : It is characterized by:

〔実施例〕〔Example〕

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

第1図は、本発明を実施するための媒体複写装置の一例
を示すブロック図である。第1図に示す媒体複写方式は
、複写元と複写先の媒体7.8のフォーマット情報を入
手するフォーマット情報入手手段lと、入手した情報を
制御するフォーマット情報制御手段2と、データを記憶
する主記憶装置6と、フォーマット情報制御手段2によ
り複写元の媒体7から主記憶装置6上にデータを読み込
むデータ読み込み手段5と、読み込んだデータ中に媒体
のファイル管理テーブルがあれば入手したフォーマット
情報から、複写先のフォーマットに従ったデータにファ
イル管理テーブルの内容を書き替えるファイル管理テー
ブル書き替え手段4と、主記憶装置6に読み込まれたデ
ータを複写先の媒体フォーマットに従って複写先に書き
込んでいくデータ書き込み手段3とを備えている。
FIG. 1 is a block diagram showing an example of a media copying apparatus for implementing the present invention. The medium copying system shown in FIG. 1 includes a format information obtaining means 1 for obtaining format information of the copy source and copy destination media 7.8, a format information control means 2 for controlling the obtained information, and a method for storing data. A main storage device 6, a data reading device 5 that reads data from the copy source medium 7 onto the main storage device 6 by the format information control device 2, and format information obtained if there is a file management table of the medium in the read data. From there, a file management table rewriting means 4 rewrites the contents of the file management table to data according to the format of the copy destination, and the data read into the main storage device 6 is written to the copy destination according to the media format of the copy destination. The data writing means 3 is also provided.

次に、この媒体複写装置の動作について説明する。Next, the operation of this media copying device will be explained.

複写元媒体7のデータを複写先媒体8に複写する場合、
フォーマット情報人手手段1は、複写元媒体7と複写先
媒体8のフォーマット情報を、オペレータのキー人力ま
たはそれぞれの媒体のファイル管理テーブルをみること
により人手し記憶する。これらのフォーマット情報には
、セクタ長(1セクタ当りのバイト数)、媒体容量等が
含まれている。
When copying data from copy source medium 7 to copy destination medium 8,
The format information manual means 1 manually stores the format information of the copy source medium 7 and the copy destination medium 8 by the operator's key input or by looking at the file management table of each medium. This format information includes sector length (number of bytes per sector), medium capacity, etc.

フォーマット情報制御手段2では、フォーマット情報入
手手段1で入手したフォーマット情報を、第2図のフロ
ー図に従って処理する。
The format information control means 2 processes the format information obtained by the format information obtaining means 1 according to the flowchart shown in FIG.

第2図に示すように、フォーマット情報制御手段2はフ
ォーマット情報入手手段1で得たフォーマット情報から
複写元媒体7のセクタ長Aと複写先媒体8のセクタ長B
を比較する(ステップLot)。
As shown in FIG. 2, the format information control means 2 determines the sector length A of the copy source medium 7 and the sector length B of the copy destination medium 8 from the format information obtained by the format information acquisition means 1.
(Step Lot).

比較した結果A>Bならば、複写元媒体7から、フォー
マット情報入手手段1で得たフォーマット情F[こ従っ
て、1セクタ分のデータをデータ読み込み手段5を使っ
て主記憶装置6のある領域るこ読み込む(ステップ10
2)。次に、A≠Bであるので、主記憶装置6上に読み
込んだデータ中にファイル管理テーブルが存在するかど
うかを判断しくステップ103)、存在するならば、フ
ァイル管理テーブル書き替え手段4によりファイル管理
テーブルを書き替える(ステップ104)。ここで、フ
ァイル管理テーブル書き替え手段4は、主記憶装置6上
にある複写元媒体7のファイル管理テーブルの内容をフ
ォーマット情報入手手段lで入手した複写先媒体8のフ
ォーマット情報に従って書き替える。
If the comparison result is A>B, then the format information F obtained by the format information obtaining means 1 from the copy source medium 7 [therefore, one sector worth of data is transferred to a certain area of the main storage device 6 using the data reading means 5]. Load (step 10)
2). Next, since A≠B, it is determined whether or not a file management table exists in the data read into the main storage device 6 (step 103). If it exists, the file management table rewriting means 4 The management table is rewritten (step 104). Here, the file management table rewriting means 4 rewrites the contents of the file management table of the copy source medium 7 on the main storage device 6 in accordance with the format information of the copy destination medium 8 obtained by the format information obtaining means 1.

次に、主記憶装置6上のデータを複写先媒体8に書き込
み手段3を使って書き込んでいく。この書き込みに際し
て、A>Bの場合には、ステップ102で読み込んだデ
ータをA2B個に分割して、分割した1個1個をl全5
2分として、これも複写先媒体8のフォーマット情報に
従い、複写先媒体8に書き込んでいく (ステップ10
5)。この操作を複写元媒体7の先頭セクタから開始し
、ステップ106乙こおいて最終セクタが検出されるま
でくり返し行ステップ101において、A=Bならば、
複写元媒体7から、フォーマット情報人手手段1で得た
フォーマット情報に従って、l全52分のデータを、デ
ータ読み込み手段5を使って、主記憶装置6のある領域
に読み込む(ステップ1o7)。そして、A、 = B
の場合、ファイル管理テーブルの書き替えは行わない。
Next, the data on the main storage device 6 is written to the copy destination medium 8 using the writing means 3. In this writing, if A>B, the data read in step 102 is divided into A2B pieces, and each divided piece is divided into 1 total 5 pieces.
2 minutes, this is also written to the copy destination medium 8 according to the format information of the copy destination medium 8 (Step 10
5). This operation starts from the first sector of the copy source medium 7 and is repeated until the final sector is detected in step 106. If A=B in step 101, then
A total of 52 pieces of data are read from the copy source medium 7 into a certain area of the main storage device 6 using the data reading means 5 according to the format information obtained by the format information manual means 1 (step 1o7). And A, = B
In this case, the file management table is not rewritten.

続いて、ステップ107で読み込んだデータの長さをl
セクタ≧して、フォーマット入手手段1で得た複写先媒
体8のフォーマット情報に従って、複写先媒体8にデー
タ書き込み手段3を使って書き込んでいく (ステップ
1o8)。この操作を、複写元媒体7の先頭セクタから
開始し、ステップ109において最終セクタが検出され
るまでくり返し行う。
Next, the length of the data read in step 107 is
sector≧, and data is written to the copy destination medium 8 using the data writing means 3 according to the format information of the copy destination medium 8 obtained by the format obtaining means 1 (step 1o8). This operation is repeated starting from the first sector of the copy source medium 7 until the final sector is detected in step 109.

ステップ101において、A<BならばB/Aセクタ分
のデータを読み込み、主記憶装置6上に複写先媒体のセ
クタ長Bと同じ長さのデータを入れる(ステップ110
)。次に、A≠Bであるので、主記憶装置6上乙こ読み
込んたデータ中にファイ5し管理テーブルが存在するか
どうかを判断L (ステップ111)、存在するならは
、ファイル管理テーブル書き替え手段4によりファイル
管理テーブルを書き替える(ステップ112)。ここで
、ファイル管理テーブル書き替え手段4は、主記憶装置
6上にある複写元媒体7のファイル管理テーブルの内容
をフォーマット情報入手手段1で入手した複写先媒体8
のフォーマット情報に従って書き替える。次に、主記憶
装置6上のデータを複写先媒体8に書き込み手段3を使
って書き込んでいく。この書き込みに際して、A<Bの
場合は、ステ・ンプ110で読み込んだデータの長さを
lセクタとして、フォーマット入手手段工で得た複写先
媒体8のフォーマット情報に従って、複写先媒体8にデ
ータ書き込み手段3を使って書き込んでいく(ステ・ン
プ113)。この操作を、複写元媒体7の先頭セクタか
ら開始し、ステップ114において最終セクタが検出さ
れるまでくり返し行う。
In step 101, if A<B, data for sectors B/A is read and data of the same length as the sector length B of the copy destination medium is stored on the main storage device 6 (step 110).
). Next, since A≠B, it is determined whether a file management table exists in the data read into the main storage device 6 (step 111), and if it exists, the file management table is rewritten. The file management table is rewritten by means 4 (step 112). Here, the file management table rewriting means 4 updates the contents of the file management table of the copy source medium 7 on the main storage device 6 to the copy destination medium 7 obtained by the format information obtaining means 1.
Rewrite according to the format information. Next, the data on the main storage device 6 is written to the copy destination medium 8 using the writing means 3. In this writing, if A<B, data is written to the copy destination medium 8 according to the format information of the copy destination medium 8 obtained by the format acquisition method, with the length of the data read in step 110 being 1 sector. Write using method 3 (step 113). This operation is repeated starting from the first sector of the copy source medium 7 until the final sector is detected in step 114.

このように、フォーマット情報制御手段2では、フォー
マット情報入手手段2て入手した2つのフォーマット情
報を比較し、複写元媒体7から、データ読み込み手段5
を使って、主記憶装置6のある領域に、フォーマット情
報入手手段1で入手した複写元媒体7のフォーマット情
報に従い、セクタ単位でデータを読み込む。読み込んだ
データのファイル管理テーブルを、ファイル管理チーフ
ル書き替え手段4により、複写先媒体8のフォーマット
にあうようにデータを書き替える。そして、データ書き
込み手段3により複写先媒体8にデータを書き込んで媒
体複写を行う。
In this way, the format information control means 2 compares the two format information obtained by the format information acquisition means 2, and reads data from the copy source medium 7 to the data reading means 5.
is used to read data in sector units into a certain area of the main storage device 6 according to the format information of the copy source medium 7 obtained by the format information obtaining means 1. The file management table of the read data is rewritten by a file management table rewriting means 4 to match the format of the copy destination medium 8. Then, data is written to the copy destination medium 8 by the data writing means 3 to perform medium copying.

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

以上説明したように、本発明は、複写元媒体と複写先媒
体のフォーマット情報を得て、そのフォーマットにあわ
せて複写元から読み込んだデータを複写先媒体に書き込
むことにより、フォーマットの異なる媒体間の複写がで
きる効果がある。
As explained above, the present invention obtains format information of the copy source medium and the copy destination medium, and writes data read from the copy source to the copy destination medium according to the format, thereby making it possible to transfer media with different formats. It has the effect of making copies.

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

第1図は、本発明を実施するための媒体複写装置の一例
を示すブロック図、 第2図は、第1図のフォーマット情報制御手段の制御手
順を示すフロー図である。 1・・・・・フォーマット情報入手手段2・・・・・フ
ォーマット情報制御手段3・・・・・データ書き込み手
段 4・・・・・ファイル管理テーブル書き替え手段 5・・・・・データ読み込み手段 6・・・・・主記憶装置 7・・・・・複写元媒体 8・・・・・複写先媒体
FIG. 1 is a block diagram showing an example of a medium copying apparatus for implementing the present invention, and FIG. 2 is a flow diagram showing a control procedure of the format information control means of FIG. 1. 1...Format information acquisition means 2...Format information control means 3...Data writing means 4...File management table rewriting means 5...Data reading means 6...Main storage device 7...Copy source medium 8...Copy destination medium

Claims (1)

【特許請求の範囲】[Claims] (1)複写元媒体のデータを複写先媒体に書き込む媒体
複写方式において、 複写元媒体および複写先媒体のフォーマット情報を入手
し、 入手した複写元媒体のフォーマット情報に従って複写元
媒体のデータを読み込み、 読み込んだデータを複写先媒体のフォーマットに合わせ
て複写先媒体に書き込むことを特徴とする媒体複写方式
(1) In a media copying method that writes data from a copy source medium to a copy destination medium, the format information of the copy source medium and the copy destination medium is obtained, and the data of the copy source medium is read according to the obtained format information of the copy source medium. A media copying method characterized by writing read data onto a copy destination medium in accordance with the format of the copy destination medium.
JP2055090A 1990-03-08 1990-03-08 Medium copy system Pending JPH03257521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2055090A JPH03257521A (en) 1990-03-08 1990-03-08 Medium copy system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2055090A JPH03257521A (en) 1990-03-08 1990-03-08 Medium copy system

Publications (1)

Publication Number Publication Date
JPH03257521A true JPH03257521A (en) 1991-11-18

Family

ID=12989034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2055090A Pending JPH03257521A (en) 1990-03-08 1990-03-08 Medium copy system

Country Status (1)

Country Link
JP (1) JPH03257521A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328755A (en) * 1995-05-29 1996-12-13 Nec Corp Backup management control system
US6311240B1 (en) * 1998-12-17 2001-10-30 Compaq Computer Corporation Hardware assisted formatted data transfer system having a source storage controller and a formatting storage controller receiving on-media structure definition and a data definition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328755A (en) * 1995-05-29 1996-12-13 Nec Corp Backup management control system
US6311240B1 (en) * 1998-12-17 2001-10-30 Compaq Computer Corporation Hardware assisted formatted data transfer system having a source storage controller and a formatting storage controller receiving on-media structure definition and a data definition

Similar Documents

Publication Publication Date Title
RU2242805C2 (en) Recording method, control device and recording device
JPH05313980A (en) Information recording method
JPS62145574A (en) Writing of information into support unable to be erased
JPS6369066A (en) Data correcting system on unrewritable medium
JP3315779B2 (en) File transfer device and file transfer method between disk devices
CA2063379A1 (en) Method of operating a data processing system
JPH03257521A (en) Medium copy system
JPS63217441A (en) Journal collecting system
JP3022011B2 (en) Data backup system
JPS6346553A (en) File copying method
JPH03280147A (en) Device configuration method for ews
JPH05314483A (en) Recording method of information
JPS62168202A (en) Program recording device
JPS6390088A (en) Recording information managing system for optical disk
JP2573579B2 (en) File operating device for multiple file / volume type magnetic tape
JP2549155Y2 (en) Optical filing system
JPH05151716A (en) Data backup method of magnetic tape
JPH02242473A (en) Storage control method
JPH11296419A (en) Copying method for disc device and record medium
JPH01319820A (en) Memory medium control system
JPS62293358A (en) Document filing method
JPH02179981A (en) Document filing device
JPH0574052A (en) Method for managing information of information recording medium
JPS63285787A (en) Information recording card system
JPH0273436A (en) File control system