JPH11327810A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH11327810A
JPH11327810A JP10126970A JP12697098A JPH11327810A JP H11327810 A JPH11327810 A JP H11327810A JP 10126970 A JP10126970 A JP 10126970A JP 12697098 A JP12697098 A JP 12697098A JP H11327810 A JPH11327810 A JP H11327810A
Authority
JP
Japan
Prior art keywords
recording medium
transfer
data
buffer
flag
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
JP10126970A
Other languages
Japanese (ja)
Inventor
Teruhisa Doi
輝久 土井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10126970A priority Critical patent/JPH11327810A/en
Publication of JPH11327810A publication Critical patent/JPH11327810A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data transfer device which can restore data even if a data recording medium is erroneously extracted. SOLUTION: In a system where a recording medium 1 which can be inserted/ extracted is connected to a main body device 10, the main body device 10 is formed of a transfer buffer 11 for holding whole information recorded in the recording medium 1 and a transfer means 12 for transferring whole information held by the transfer buffer 11 to the recording medium 1 if the recording medium 1 is inserted again after it is erroneously extracted. At the time of transferring data to the recording medium 1 in such a case, a data transfer flag is previously raised. When the recording medium 1 is inserted again after it is erroneously extracted, the transfer flag is checked. When the flag is raised, whole information held in the transfer buffer is transferred to the recording medium 1 by the transfer means 12.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ転送装置に関
し、更に詳しくはデータ記録媒体が誤って抜かれた場合
でもデータを修復することができるデータ転送装置に関
する。
[0001] 1. Field of the Invention [0002] The present invention relates to a data transfer device, and more particularly to a data transfer device capable of restoring data even when a data recording medium is accidentally removed.

【0002】[0002]

【従来の技術】従来より、本体装置側にフロッピーディ
スク等の挿抜可能な記録媒体を接続し、本体装置側と記
録媒体間でデータの転送を行なうシステムが知られてい
る。
2. Description of the Related Art Conventionally, there has been known a system in which a detachable recording medium such as a floppy disk is connected to a main unit and data is transferred between the main unit and the recording medium.

【0003】[0003]

【発明が解決しようとする課題】この種の装置で、本体
装置側から記録媒体へ向けてデータの転送を行なってい
た時に、誤って記録媒体を抜いてしまうことが起きる場
合がある。そのような場合、記録媒体には途中までの不
完全なデータが記録されてしまう。これを修復するには
再度データの転送をやり直す必要があった。また、記録
媒体に不完全なデータが記録されていると、そのデータ
が原因で誤動作を引き起こしたり、場合によっては記録
媒体そのものを破壊する可能性もある。
In this type of apparatus, when data is being transferred from the main unit to the recording medium, the recording medium may be accidentally removed. In such a case, partial incomplete data is recorded on the recording medium. To correct this, data transfer had to be performed again. In addition, if incomplete data is recorded on the recording medium, the data may cause a malfunction or, in some cases, destroy the recording medium itself.

【0004】本発明はこのような課題に鑑みてなされた
ものであって、データ記録媒体が誤って抜かれた場合で
もデータを修復することができるデータ転送装置を提供
することを目的としている。
[0004] The present invention has been made in view of such problems, and has as its object to provide a data transfer device that can restore data even when a data recording medium is accidentally removed.

【0005】[0005]

【課題を解決するための手段】(1)図1は本発明の原
理ブロック図である。図において、1は情報を記録する
少なくとも1つの記録媒体、10は該記録媒体1と接続
される本体装置である。記録媒体1としては、例えばフ
ロッピーディスク(FD)、光磁気ディスク(MO)、
ハードディスク装置(HD)、フラッシュメモリカード
等の不揮発性記録媒体が用いられる。本体装置10にお
いて、11は記録媒体に記録する全情報を保持する転送
バッファ、12は該転送バッファ11に保持されている
データを記録媒体1に転送する転送手段である。
(1) FIG. 1 is a block diagram showing the principle of the present invention. In the figure, 1 is at least one recording medium for recording information, and 10 is a main unit connected to the recording medium 1. As the recording medium 1, for example, a floppy disk (FD), a magneto-optical disk (MO),
A non-volatile recording medium such as a hard disk device (HD) and a flash memory card is used. In the main unit 10, reference numeral 11 denotes a transfer buffer for holding all information to be recorded on a recording medium, and reference numeral 12 denotes a transfer means for transferring data held in the transfer buffer 11 to the recording medium 1.

【0006】この発明の構成によれば、記録媒体1が誤
って抜かれた場合でも、転送バッファ11に情報が保持
されているので、再度記録媒体1を挿入した時に転送手
段12により同じ情報を記録媒体1に記録することがで
きる。
According to the configuration of the present invention, even if the recording medium 1 is accidentally removed, the information is held in the transfer buffer 11, so that the same information is recorded by the transfer means 12 when the recording medium 1 is inserted again. It can be recorded on the medium 1.

【0007】(2)この場合において、前記記録媒体に
データを転送する際に、予めデータ転送フラグを立てて
おき、記録媒体が誤って抜かれた後、再度挿入する際
に、前記転送フラグをチェックするチェック手段を設け
ておき、該チェック手段が転送フラグを参照してフラグ
が立っていた場合、転送バッファに保持されている全情
報を前記記録媒体に転送手段にて転送することを特徴と
している。
(2) In this case, a data transfer flag is set beforehand when transferring data to the recording medium, and the transfer flag is checked when the recording medium is accidentally removed and inserted again. Checking means is provided, and when the check means refers to the transfer flag and the flag is set, all information held in the transfer buffer is transferred to the recording medium by the transfer means. .

【0008】この発明の構成によれば、一旦抜かれた記
録媒体1が再度挿入された時、本体装置10は記録媒体
内の転送フラグが立っている時に、記録媒体1が抜かれ
た記録媒体であると判断し、転送バッファ11に保持さ
れている全情報を転送手段12にて当該記録媒体1に転
送し、データ転送異常を修復することができる。
According to the configuration of the present invention, when the recording medium 1 once removed is inserted again, the main unit 10 is the recording medium from which the recording medium 1 has been removed when the transfer flag in the recording medium is set. Thus, all the information held in the transfer buffer 11 is transferred to the recording medium 1 by the transfer means 12, and the data transfer abnormality can be repaired.

【0009】(3)また、本体側にデータ転送フラグ
と、転送すべき全情報を保持する修復バッファとを具備
し、記録媒体が誤って抜かれた後、再度挿入する時に前
記記録媒体と本体側の転送フラグが一致する場合にの
み、前記修復バッファに保持されている全情報を前記記
録媒体に転送手段にて転送することを特徴としている。
(3) The main unit further includes a data transfer flag and a restoration buffer for holding all information to be transferred, so that when the recording medium is accidentally unplugged and then reinserted, the recording medium and the main unit are reinserted. All the information held in the restoration buffer is transferred to the recording medium by the transfer means only when the transfer flags of the transfer buffers match.

【0010】この発明の構成によれば、本体装置10に
設けられた転送フラグと、記録媒体1に設けられた転送
フラグをチェックして記録媒体が誤って抜かれたことを
認識し、修復バッファに保持されているデータを転送手
段12にて転送することにより、データ転送異常を修復
することができる。
According to the configuration of the present invention, the transfer flag provided on the main unit 10 and the transfer flag provided on the recording medium 1 are checked to recognize that the recording medium has been accidentally removed, and the data is stored in the restoration buffer. By transferring the held data by the transfer means 12, a data transfer abnormality can be repaired.

【0011】(4)また、前記修復バッファを記録媒体
単位で具備し、記録媒体毎にエラーIDと対応する修復
バッファを設け、データ転送異常が発生した記録媒体が
複数存在した場合にも、各記録媒体毎にデータの修復を
行なうことを特徴としている。
(4) The restoration buffer is provided for each recording medium, and a restoration buffer corresponding to an error ID is provided for each recording medium. It is characterized in that data is restored for each recording medium.

【0012】この発明の構成によれば、修復バッファを
記録媒体単位で具備すると共に、記録媒体1のエラーI
Dと本体装置10側の修復バッファとを対応付けておく
ことにより、記録媒体単位でデータ転送異常を修復する
ことができる。
According to the configuration of the present invention, the repair buffer is provided for each recording medium and the error I
By associating D with the recovery buffer of the main device 10, a data transfer abnormality can be recovered for each recording medium.

【0013】(5)更に、記録媒体が誤って抜かれてデ
ータ転送異常が発生した場合、転送異常発生と共に再度
記録媒体の挿入を促す挿入指示手段を本体側に設けたこ
とを特徴としている。
(5) Further, when a data transfer error occurs due to a recording medium being erroneously removed, an insertion instructing means for prompting insertion of the recording medium again upon occurrence of the transfer error is provided on the main body side.

【0014】この発明の構成によれば、記録媒体1が誤
って抜かれた場合に、挿入指示手段が記録媒体1の挿入
を促すので、システムを元の状態に戻すことができる。
According to the configuration of the present invention, when the recording medium 1 is accidentally removed, the insertion instruction means prompts the insertion of the recording medium 1, so that the system can be returned to the original state.

【0015】[0015]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態例を詳細に説明する。図2は本発明の第1の実
施の形態例の動作説明図である。図1と同一のものは、
同一の符号を付して示す。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 2 is an operation explanatory diagram of the first embodiment of the present invention. The same thing as FIG.
The same reference numerals are given.

【0016】(a)本体側から記録媒体1に対してデー
タ転送を行なう際に、データを構成する任意の記録単位
(ブロック)を保持できる転送バッファ11を本体装置
10側に内蔵している。そして、データ転送時には一旦
転送バッファ11にデータを保持した上で転送手段12
から転送するようにする。転送バッファ11に保持され
たブロックデータは、転送が終了する度に順次新たに転
送されるブロックデータに入れ替わっていく。
(A) When data is transferred from the main unit to the recording medium 1, a transfer buffer 11 capable of holding an arbitrary recording unit (block) constituting data is built in the main unit 10. At the time of data transfer, the data is temporarily stored in the transfer buffer 11 and then transferred to the transfer unit 12.
To transfer from. The block data held in the transfer buffer 11 is sequentially replaced with newly transferred block data each time the transfer is completed.

【0017】(b)データ転送中に記録媒体を抜きとっ
た場合、転送中のデータは途切れてしまう。このため、
記録媒体1には不完全な状態のデータが記録されてしま
う。本体装置10側では、転送途中だったブロックデー
タをそのまま転送バッファ11に保持しておく。
(B) If the recording medium is removed during data transfer, the data being transferred will be interrupted. For this reason,
Incomplete data is recorded on the recording medium 1. On the main device 10 side, the block data that was being transferred is held in the transfer buffer 11 as it is.

【0018】(c)不完全なデータが記録された記録媒
体1を再度本体装置10側に挿入すると、本体側の転送
バッファ11に保持していたブロックデータを転送手段
12から再転送し、記録媒体1の不完全なデータを正常
なデータに修復することができる。
(C) When the recording medium 1 on which incomplete data is recorded is inserted into the main unit 10 again, the block data held in the transfer buffer 11 of the main unit is retransferred from the transfer means 12 and recorded. Incomplete data on the medium 1 can be restored to normal data.

【0019】この実施の形態例によれば、記録媒体1が
誤って抜かれた場合でも、転送バッファ11に情報が保
持されているので、再度記録媒体1を挿入した時に転送
手段12により同じ情報を記録媒体に記録することがで
き、データの修復ができる。
According to this embodiment, even when the recording medium 1 is accidentally removed, the information is held in the transfer buffer 11, so that when the recording medium 1 is inserted again, the same information is transferred by the transfer means 12. It can be recorded on a recording medium, and data can be restored.

【0020】図3は本発明の第2の実施の形態例の動作
説明図である。図2と同一のものは、同一の符号を付し
て示す。 (a)記録媒体1に対してデータ転送を行なう際、デー
タの転送中を示すフラグ(データ転送フラグ)1aを記
録媒体1内に立てる。データ転送フラグ1aは、データ
の転送開始と共に立てて、転送の終了と共に下ろすとい
う動作を転送するブロックデータ毎に行なう。データ転
送フラグ1aは“1”の時に立った、“0”の時に下ろ
したと定義している。
FIG. 3 is a diagram for explaining the operation of the second embodiment of the present invention. The same components as those in FIG. 2 are denoted by the same reference numerals. (A) When data is transferred to the recording medium 1, a flag (data transfer flag) 1a indicating that data is being transferred is set in the recording medium 1. The data transfer flag 1a is set for each block data to be transferred, such that the data transfer flag 1a is set at the start of data transfer and is lowered at the end of transfer. The data transfer flag 1a is defined as standing when it is "1" and being lowered when it is "0".

【0021】(b)データ転送中に記録媒体1を抜きと
った場合、データ転送は終了していないため、記録媒体
1はデータ転送フラグ1aが立ったままとなる。一方、
転送バッファ11には転送データを保持しておく。
(B) If the recording medium 1 is removed during the data transfer, the data transfer is not completed, so that the data transfer flag 1a of the recording medium 1 remains set. on the other hand,
The transfer buffer 11 holds the transfer data.

【0022】(c)本体装置10側は、記録媒体1が挿
入された際に、記録媒体1にデータ転送フラグ1aが立
っているか否かをチェックすることで、挿入された記録
媒体1がデータ転送中に抜かれたものであるかどうかを
判断することができる。データ転送フラグ1aが立って
いた場合には、本体装置10側の転送バッファ11に保
持されているデータを転送手段12により再度転送し、
データの修復を行なう。
(C) When the recording medium 1 is inserted, the main unit 10 checks whether or not the data transfer flag 1a is set on the recording medium 1 so that the inserted recording medium 1 It can be determined whether or not the data has been skipped during the transfer. If the data transfer flag 1a has been set, the data held in the transfer buffer 11 of the main unit 10 is transferred again by the transfer means 12, and
Perform data restoration.

【0023】この実施の形態例によれば、一旦抜かれた
記録媒体1が再度挿入された時、本体装置10は記録媒
体内の転送フラグ1aが立っている時に、記録媒体1が
抜かれた記録媒体であると判断し、転送バッファ11に
保持されている全情報を転送手段12にて当該記録媒体
1に転送し、データ転送異常を修復することができる。
According to this embodiment, when the recording medium 1 once removed is re-inserted, the main unit 10 sets the recording medium 1 from which the recording medium 1 has been removed when the transfer flag 1a in the recording medium is set. Thus, all the information held in the transfer buffer 11 is transferred to the recording medium 1 by the transfer means 12, and the data transfer abnormality can be repaired.

【0024】図4は本発明の第3の実施の形態例の動作
説明図である。図2と同一のものは、同一の符号を付し
て示す。この実施の形態例は、記録媒体1側のみなら
ず、本体装置10側にもデータ転送フラグを設けたもの
である。1bがこのデータ転送フラグである。この実施
の形態例では、記録媒体1側と本体装置10側の双方に
データ転送中であるデータ転送フラグを立てるように
し、これらデータ転送フラグは、データ転送中にフラグ
を“1”に立て、ブロックデータの転送が終了したら
“0”に下ろすようにする。転送中に記録媒体1が抜か
れた場合には、データ転送フラグが立ったままとなり、
データ転送中に記録媒体1が抜かれたことが判断できる
ようにする。
FIG. 4 is an explanatory diagram of the operation of the third embodiment of the present invention. The same components as those in FIG. 2 are denoted by the same reference numerals. In this embodiment, a data transfer flag is provided not only on the recording medium 1 but also on the main unit 10. 1b is the data transfer flag. In this embodiment, a data transfer flag during data transfer is set to both the recording medium 1 and the main unit 10, and these data transfer flags are set to “1” during data transfer. When the transfer of the block data is completed, it is set to "0". If the recording medium 1 is removed during the transfer, the data transfer flag remains on,
It is possible to determine that the recording medium 1 has been removed during data transfer.

【0025】(a)本体装置10側には、データ転送フ
ラグ1bの他に、修復用の転送データを保持しておく修
復バッファ13を持たせ、常に転送バッファ11と同じ
内容が書き込まれる。但し、転送中に記録媒体1が抜か
れ本体装置10側の転送フラグ1bが立ったままの状態
になった時は、修復バッファ13の内容は抜かれた時に
転送中であったデータを保持し続ける。
(A) In addition to the data transfer flag 1b, the main unit 10 has a restoration buffer 13 for retaining transfer data for restoration, and the same contents as the transfer buffer 11 are always written. However, when the recording medium 1 is removed during the transfer and the transfer flag 1b on the main unit 10 is kept up, the contents of the restoration buffer 13 continue to retain the data being transferred at the time of the removal.

【0026】(b)転送フラグが立っていない記録媒体
が挿入された時には、通常のデータ転送を行なっても、
本体装置10側の転送フラグ1bと修復バッファ13は
そのまま保持される。記録媒体の挿入時に媒体側と本体
側双方で転送フラグが立っている場合には、修復バッフ
ァ13のデータを転送手段12から転送してデータの修
復を行ない、記録媒体1と本体装置10側の転送フラグ
1a、1bを下ろす。
(B) When a recording medium for which the transfer flag is not set is inserted, even if normal data transfer is performed,
The transfer flag 1b and the restoration buffer 13 on the main unit 10 are kept as they are. If the transfer flag is set on both the medium side and the main body side when the recording medium is inserted, the data in the recovery buffer 13 is transferred from the transfer means 12 to perform the data recovery, and the data on the recording medium 1 and the main body device 10 side are restored. The transfer flags 1a and 1b are lowered.

【0027】この実施の構成によれば、本体装置10に
設けられた転送フラグと、記録媒体1に設けられた転送
フラグをチェックして記録媒体が誤って抜かれたことを
認識し、修復バッファ13に保持されているデータを転
送手段12にて転送することにより、データ転送異常を
修復することができる。
According to this embodiment, the transfer flag provided in the main unit 10 and the transfer flag provided in the recording medium 1 are checked to recognize that the recording medium has been accidentally removed, and the restoration buffer 13 is checked. By transferring the data held in the transfer unit 12 by the transfer means 12, it is possible to repair the data transfer abnormality.

【0028】図5は本発明の第4の実施の形態例の動作
説明図である。図4と同一のものは、同一の符号を付し
て示す。 (a)本体装置10側に、転送異常の回数を管理する異
常回数管理部14を持ち、データ転送中の記録媒体1の
抜き取り等で転送異常が発生した記録媒体に対して、前
記第3の実施の形態例でのデータ転送フラグの代わりに
固有のエラーID1cを記録、保持するようにする。ま
た、本体装置10側には異常回数管理部14で管理する
エラーIDの数だけの修復用のデータバッファ(修復バ
ッファ)13を用意し、転送異常が起きた時には、記録
媒体1に書き込んだエラーIDに対応した修復バッファ
13に転送途中であったデータの保持を行なう。
FIG. 5 is a diagram for explaining the operation of the fourth embodiment of the present invention. The same components as those in FIG. 4 are denoted by the same reference numerals. (A) The main unit 10 has an abnormality count management unit 14 for managing the number of transfer errors, and the third medium is used for a recording medium in which a transfer error has occurred due to the removal of the recording medium 1 during data transfer. Instead of the data transfer flag in the embodiment, a unique error ID 1c is recorded and held. Further, the main unit 10 prepares a data buffer (repair buffer) 13 for repair by the number of error IDs managed by the number-of-errors management unit 14, and when a transfer error occurs, the error written on the recording medium 1 The data that was being transferred to the restoration buffer 13 corresponding to the ID is held.

【0029】(b)修復バッファ13とエラーID1c
とは1対1の関係になっており、エラーIDの書き込ま
れた記録媒体1が挿入された場合には、対応する修復バ
ッファ13のデータを転送手段12にて転送して不完全
なデータの修復を行なう。また、データ修復に使用した
エラーIDと対応する修復バッファ13は、再び異常が
起きた時に使用される。
(B) Repair buffer 13 and error ID 1c
When the recording medium 1 in which the error ID is written is inserted, the data in the corresponding recovery buffer 13 is transferred by the transfer unit 12 to transfer the incomplete data. Make a repair. The recovery buffer 13 corresponding to the error ID used for data recovery is used when an abnormality occurs again.

【0030】この実施の形態例によれば、修復バッファ
を記録媒体単位で具備すると共に、記録媒体1のエラー
IDと本体装置10側のエラーIDが一致する場合に修
復バッファの情報を転送手段12により当該記録媒体1
に転送することにより、記録媒体単位でデータ転送異常
を修復することができる。
According to this embodiment, the restoration buffer is provided for each recording medium, and when the error ID of the recording medium 1 matches the error ID of the main unit 10, the information of the restoration buffer is transferred to the transfer unit 12. The recording medium 1
, The data transfer abnormality can be repaired for each recording medium.

【0031】図6は本発明の第5の実施の形態例の動作
説明図である。図1と同一のものは、同一の符号を付し
て示す。データ転送中に記録媒体1を抜きとった直後
に、本体装置10側の挿入指示手段15が、記録媒体を
再度挿入して不完全なデータの修復を行なうように促す
ための警告音をスピーカ20から出したり、ディスプレ
イ画面(表示部)21にメッセージの表示を行なう。メ
ッセージの内容は、例えば「書き込みエラーです。再度
挿入して下さい。」が用いられる。
FIG. 6 is a diagram for explaining the operation of the fifth embodiment of the present invention. 1 are denoted by the same reference numerals. Immediately after the recording medium 1 is unplugged during the data transfer, the insertion instruction means 15 of the main unit 10 issues a warning sound for prompting the user to reinsert the recording medium and to repair incomplete data. Or display a message on the display screen (display unit) 21. The content of the message is, for example, "Write error. Please insert again."

【0032】この実施の形態例によれば、記録媒体1が
誤って抜かれた場合に、挿入指示手段が記録媒体の挿入
を促すので、システムを元の状態に戻すことができる。
According to this embodiment, when the recording medium 1 is accidentally removed, the insertion instruction means prompts the user to insert the recording medium, so that the system can be returned to the original state.

【0033】[0033]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、 (1)挿抜可能な記録媒体を本体装置と接続するシステ
ムにおいて、前記本体装置内に前記記録媒体に記録中の
全情報を保持する転送バッファと、前記記録媒体を誤っ
て抜いてしまった場合、再度挿入した際に、前記転送バ
ッファに保持されている全情報を前記記録媒体に転送す
る転送手段とを具備することにより、記録媒体が誤って
抜かれた場合でも、転送バッファに情報が保持されてい
るので、再度記録媒体を挿入した時に転送手段により同
じ情報を記録媒体に記録することができる。
As described in detail above, according to the present invention, (1) In a system for connecting a removable recording medium to a main unit, all of the data recorded on the recording medium in the main unit are stored in the main unit. A transfer buffer for holding information, and transfer means for transferring all information held in the transfer buffer to the recording medium when the recording medium is accidentally removed and reinserted when the recording medium is reinserted. Thus, even if the recording medium is accidentally removed, the information is held in the transfer buffer, so that when the recording medium is inserted again, the same information can be recorded on the recording medium by the transfer means.

【0034】(2)この場合において、前記記録媒体に
データを転送する際に、予めデータ転送フラグを立てて
おき、記録媒体が誤って抜かれた後、再度挿入する際
に、前記転送フラグをチェックするチェック手段を設け
ておき、該チェック手段が転送フラグを参照してフラグ
が立っていた場合、転送バッファに保持されている転送
を中断された全情報を前記記録媒体に転送手段にて転送
することにより、一旦抜かれた記録媒体が再度挿入され
た時、本体装置は記録媒体内の転送フラグが立っている
時に、記録媒体が抜かれた記録媒体であると判断し、転
送バッファに保持されている全情報を転送手段にて当該
記録媒体に転送し、データ転送異常を修復することがで
きる。
(2) In this case, a data transfer flag is set in advance when transferring data to the recording medium, and the transfer flag is checked when the recording medium is accidentally removed and inserted again. If the check means refers to the transfer flag and the flag is set, the transfer means transfers all information held in the transfer buffer for which the transfer was interrupted to the recording medium. Accordingly, when the recording medium once removed is inserted again, the main unit determines that the recording medium is the removed recording medium when the transfer flag in the recording medium is set, and the main body apparatus holds the recording medium in the transfer buffer. All information can be transferred to the recording medium by the transfer means, and the data transfer abnormality can be repaired.

【0035】(3)また、本体側にデータ転送フラグ
と、転送中の全情報を保持する修復バッファとを具備
し、記録媒体が誤って抜かれた後、再度挿入する時に前
記記録媒体と本体側の転送フラグが一致する場合にの
み、前記修復バッファに保持されている全情報を前記記
録媒体に転送手段にて転送することにより、本体装置に
設けられた転送フラグと、記録媒体に設けられた転送フ
ラグをチェックして記録媒体が誤って抜かれたことを認
識し、修復バッファに保持されているデータを転送手段
にて転送し、データ転送異常を修復することができる。
(3) Further, the main unit is provided with a data transfer flag and a restoration buffer for retaining all information being transferred, and when the recording medium is accidentally removed and then reinserted, the recording medium and the main unit side are inserted. Only when the transfer flags match, the transfer means transfers all the information held in the restoration buffer to the recording medium by the transfer means. By checking the transfer flag and recognizing that the recording medium has been accidentally removed, the data held in the restoration buffer is transferred by the transfer means, and the data transfer abnormality can be restored.

【0036】(4)また、前記修復バッファを記録媒体
単位で具備し、記録媒体毎にエラーIDと対応する修復
バッファを設け、データ転送異常が発生した記録媒体が
複数存在した場合にも、各記録媒体毎にデータの修復を
行なうことにより、修復バッファを記録媒体単位で具備
すると共に、記録媒体のエラーIDと本体装置側の修復
バッファとを対応付けておき、記録媒体単位でデータ転
送異常を修復することができる。
(4) The restoration buffer is provided for each recording medium, and a restoration buffer corresponding to the error ID is provided for each recording medium. By restoring data for each recording medium, a restoration buffer is provided for each recording medium, and the error ID of the recording medium is associated with the restoration buffer on the main unit side, and a data transfer error is detected for each recording medium. Can be repaired.

【0037】(5)更に、記録媒体が誤って抜かれてデ
ータ転送異常が発生した場合、転送異常発生と共に再度
記録媒体の挿入を促す挿入指示手段を本体側に設けたこ
とにより、記録媒体が誤って抜かれた場合に、挿入指示
手段が記録媒体の挿入を促すので、システムを元の状態
に戻すことができる。
(5) Further, when a data transfer error occurs due to an accidental ejection of the recording medium, an insertion instructing means for prompting the user to insert the recording medium again together with the occurrence of the transfer error is provided on the main body side. If the recording medium is unplugged, the insertion instruction means prompts the user to insert the recording medium, so that the system can be returned to the original state.

【0038】このように、本発明によれば、データ記録
媒体が誤って抜かれた場合でもデータを修復することが
できるデータ転送装置を提供することができる。
As described above, according to the present invention, it is possible to provide a data transfer device that can restore data even when a data recording medium is accidentally removed.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の第1の実施の形態例の動作説明図であ
る。
FIG. 2 is an operation explanatory diagram of the first embodiment of the present invention.

【図3】本発明の第2の実施の形態例の動作説明図であ
る。
FIG. 3 is an operation explanatory diagram of a second embodiment of the present invention.

【図4】本発明の第3の実施の形態例の動作説明図であ
る。
FIG. 4 is an operation explanatory diagram of a third embodiment of the present invention.

【図5】本発明の第4の実施の形態例の動作説明図であ
る。
FIG. 5 is an operation explanatory diagram of a fourth embodiment of the present invention.

【図6】本発明の第5の実施の形態例の動作説明図であ
る。
FIG. 6 is an operation explanatory diagram of a fifth embodiment of the present invention.

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

1 記録媒体 10 本体装置 11 転送バッファ 12 転送手段 DESCRIPTION OF SYMBOLS 1 Recording medium 10 Main device 11 Transfer buffer 12 Transfer means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 挿抜可能な記録媒体を本体装置と接続す
るシステムにおいて、 前記本体装置内に前記記録媒体に記録する全情報を保持
する転送バッファと、 前記記録媒体を誤って抜いてしまった場合、再度挿入し
た際に、前記転送バッファに保持されている全情報を前
記記録媒体に転送する転送手段とを具備することを特徴
とするデータ転送装置。
1. A system for connecting an insertable and removable recording medium to a main unit, wherein a transfer buffer for retaining all information to be recorded on the recording medium in the main unit, and when the recording medium is accidentally removed. And a transfer unit for transferring all information held in the transfer buffer to the recording medium when the data is reinserted.
【請求項2】 前記記録媒体にデータを転送する際に、
予めデータ転送フラグを立てておき、記録媒体が誤って
抜かれた後、再度挿入する際に、前記転送フラグをチェ
ックするチェック手段を設けておき、 該チェック手段が転送フラグを参照してフラグが立って
いた場合、転送バッファに保持されている全情報を前記
記録媒体に転送手段にて転送することを特徴とする請求
項1記載のデータ転送装置。
2. When data is transferred to the recording medium,
A data transfer flag is set in advance, and a check means for checking the transfer flag is provided when the recording medium is erroneously removed and reinserted, and the check means sets the flag with reference to the transfer flag. 2. The data transfer device according to claim 1, wherein when the information is transferred, all information held in the transfer buffer is transferred to the recording medium by a transfer unit.
【請求項3】 本体側にデータ転送フラグと、全情報を
保持する修復バッファとを具備し、 記録媒体が誤って抜かれた後、再度挿入する時に前記記
録媒体と本体側の転送フラグが一致する場合にのみ、前
記修復バッファに保持されている全情報を前記記録媒体
に転送手段にて転送することを特徴とする請求項2記載
のデータ転送装置。
3. A data transfer flag and a restoration buffer for retaining all information are provided on the main unit, and when the recording medium is accidentally removed and inserted again, the recording medium and the transfer flag on the main unit match. 3. The data transfer device according to claim 2, wherein only in such a case, all information stored in the restoration buffer is transferred to the recording medium by a transfer unit.
【請求項4】 前記修復バッファを記録媒体単位で具備
し、記録媒体毎にエラーIDと対応する修復バッファを
設け、 データ転送異常が発生した記録媒体が複数存在した場合
にも、各記録媒体毎にデータの修復を行なうことを特徴
とする請求項3記載のデータ転送装置。
4. A recovery buffer is provided for each recording medium, and a recovery buffer corresponding to an error ID is provided for each recording medium. 4. The data transfer device according to claim 3, wherein the data is restored.
【請求項5】 記録媒体が誤って抜かれてデータ転送異
常が発生した場合、転送異常発生と共に再度記録媒体の
挿入を促す挿入指示手段を本体側に設けたことを特徴と
する請求項1乃至4の何れかに記載のデータ転送装置。
5. An apparatus according to claim 1, further comprising an insertion instruction means for prompting insertion of the recording medium again upon occurrence of the transfer abnormality when the recording medium is erroneously removed and a data transfer error occurs. The data transfer device according to any one of the above.
JP10126970A 1998-05-11 1998-05-11 Data transfer device Pending JPH11327810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10126970A JPH11327810A (en) 1998-05-11 1998-05-11 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10126970A JPH11327810A (en) 1998-05-11 1998-05-11 Data transfer device

Publications (1)

Publication Number Publication Date
JPH11327810A true JPH11327810A (en) 1999-11-30

Family

ID=14948410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10126970A Pending JPH11327810A (en) 1998-05-11 1998-05-11 Data transfer device

Country Status (1)

Country Link
JP (1) JPH11327810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002041093A (en) * 2000-07-26 2002-02-08 Tdk Corp Digital recording and reproducing device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63175949A (en) * 1987-01-16 1988-07-20 Hitachi Ltd Electronic journal control system
JPH03156657A (en) * 1989-11-15 1991-07-04 Nec Corp Data transfer device
JPH0455671U (en) * 1990-09-18 1992-05-13
JPH0685852A (en) * 1992-09-04 1994-03-25 Nec Corp Buffer device with re-transmission function
JPH0784897A (en) * 1993-09-20 1995-03-31 Toshiba Corp Information processing system suitable for data transfer between equipments
JPH07288515A (en) * 1994-04-20 1995-10-31 Sekisui Chem Co Ltd Data transmission method
WO1997002532A1 (en) * 1995-06-30 1997-01-23 Maxtor Corporation Disk drive data protection system
JPH09179948A (en) * 1995-12-22 1997-07-11 Sony Corp Ic card interface device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63175949A (en) * 1987-01-16 1988-07-20 Hitachi Ltd Electronic journal control system
JPH03156657A (en) * 1989-11-15 1991-07-04 Nec Corp Data transfer device
JPH0455671U (en) * 1990-09-18 1992-05-13
JPH0685852A (en) * 1992-09-04 1994-03-25 Nec Corp Buffer device with re-transmission function
JPH0784897A (en) * 1993-09-20 1995-03-31 Toshiba Corp Information processing system suitable for data transfer between equipments
JPH07288515A (en) * 1994-04-20 1995-10-31 Sekisui Chem Co Ltd Data transmission method
WO1997002532A1 (en) * 1995-06-30 1997-01-23 Maxtor Corporation Disk drive data protection system
JPH09179948A (en) * 1995-12-22 1997-07-11 Sony Corp Ic card interface device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002041093A (en) * 2000-07-26 2002-02-08 Tdk Corp Digital recording and reproducing device

Similar Documents

Publication Publication Date Title
KR100564672B1 (en) Storage device, data recording method and data reading method
CN103064752A (en) Method and device of repairing document
JP2000138692A (en) Mac address management system, mac address management method and storage medium
CN105653385B (en) A kind of vehicle-mounted kinescope method
KR100732107B1 (en) Retrieval of configuration information from information processing apparatus
JPH11327810A (en) Data transfer device
US20100169572A1 (en) Data storage method, apparatus and system for interrupted write recovery
CN113382189A (en) Electronic equipment damaged file repairing method
JP4184709B2 (en) Data processing system, data processing method, and data processing program
JP3392173B2 (en) Storage management method for IC memory card
CN105489236A (en) USB (Universal Serial Bus) flash disk capable of guaranteeing software reliability on the basis of partitioned storage, and use method
JPH0766633B2 (en) Disk device control system
CN100371913C (en) Firmware upgrading method of digital player
CN107229535A (en) Many copy storage methods of data block, storage device, method for reading data
JP3471827B2 (en) IC memory card control method and device
JP2004240731A (en) Data backup method/system
JP2001282402A (en) Recording medium controller
JP2001175426A (en) Vtoc automatic restoration device for random access storage device and computer-readable recording medium with vtoc automatic restoration program
JPH0820933B2 (en) Data writing method and device
JPS60171677A (en) Method for processing fault of storing medium
JP2859205B2 (en) Data recording device and data recording method for flash memory of portable information processing system
CN116431067A (en) Disc changing method, device and medium for distributed storage system
JPH0822347A (en) Information transfer device
JPH06348603A (en) Flash memory card control method
JPS6346553A (en) File copying method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021210