JPH08314822A - Data storage - Google Patents

Data storage

Info

Publication number
JPH08314822A
JPH08314822A JP7142384A JP14238495A JPH08314822A JP H08314822 A JPH08314822 A JP H08314822A JP 7142384 A JP7142384 A JP 7142384A JP 14238495 A JP14238495 A JP 14238495A JP H08314822 A JPH08314822 A JP H08314822A
Authority
JP
Japan
Prior art keywords
data
transmitted
block
storage device
floppy disk
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
JP7142384A
Other languages
Japanese (ja)
Inventor
Takashi Yokoyama
隆志 横山
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7142384A priority Critical patent/JPH08314822A/en
Publication of JPH08314822A publication Critical patent/JPH08314822A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

(57)【要約】 【目的】 データ記憶装置間における無駄なデータ送信
を回避して送信時間と処理コストを低減する。 【構成】 送信側であるフロッピーディスク装置10の
FDD12にセットされたフロッピーディスク上の送信
しようとするレコードデータのCRC符号を求め、これ
を、送信先であるフロッピーディスク装置20から送ら
れてきた対応するレコードデータのCRC符号と比較照
合する。両者が不一致の場合はそのレコードデータを送
信し、一致した場合は送信しない。これにより、既に送
信したデータの再送等、無駄なデータ送信を回避でき
る。したがって、データ記憶装置間での転送データ量を
削減でき、転送時間の短縮が可能となる。
(57) [Abstract] [Purpose] To avoid wasteful data transmission between data storage devices and reduce transmission time and processing cost. [Structure] The CRC code of the record data to be transmitted on the floppy disk set in the FDD 12 of the floppy disk device 10 on the transmitting side is obtained, and the CRC code sent from the floppy disk device 20 on the transmitting side is obtained. It is compared and collated with the CRC code of the record data. If they do not match, the record data is transmitted, and if they match, they are not transmitted. As a result, useless data transmission such as retransmission of already transmitted data can be avoided. Therefore, the amount of data transferred between the data storage devices can be reduced, and the transfer time can be shortened.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ回線で相互に接
続された記憶装置間でのデータ送信技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for transmitting data between storage devices mutually connected by a data line.

【0002】[0002]

【従来の技術】従来より、2以上の記憶装置(例えばフ
ロッピーディスク装置)の間をデータ回線で接続して一
の記憶装置の記憶データを他の記憶装置に送信すること
により、記憶媒体の内容を複写することが行われてい
る。このような処理を行う場合、送信時間や処理コスト
の面から、送信するデータ量は少ない方がよい。このた
め、従来より、例えばデータ圧縮等の技術を用いて送信
データの削減が図られている。しかしながら、現実にデ
ータ送信(媒体複写)を行う場合のことを考えると、送
信元(複写元)の媒体上には、既に相手方に送信済みの
データが存在していたり、あるいは空白データ等の意味
のないデータが存在していることも多い。このような場
合にまで、送信元の媒体上のすべてのデータを送信する
のは無駄が多く、送信時間や処理コストを低減する上で
も問題となる。
2. Description of the Related Art Conventionally, two or more storage devices (for example, floppy disk devices) are connected by a data line, and the storage data of one storage device is transmitted to another storage device so that the contents of the storage medium are Is being duplicated. When such processing is performed, it is preferable that the amount of data to be transmitted is small in terms of transmission time and processing cost. Therefore, conventionally, transmission data has been reduced by using a technique such as data compression. However, considering the case of actually performing data transmission (medium copying), there is already data that has already been transmitted to the other party on the medium of the transmission source (copy source), or the meaning of blank data etc. Often there is no data. Even in such a case, it is wasteful to transmit all the data on the medium of the transmission source, which is also a problem in reducing the transmission time and the processing cost.

【0003】このような問題に対処するため、例えば特
開昭63−301344号公報「ファイル通信方式」に
記載されたような通信方式が提案されている。この通信
方式では、受信済みのファイルに付加されているファイ
ル識別子を管理し、ファイル転送に際して受信側でファ
イル識別子を受信済みのものと照合する。そして、その
結果を転送元に通知することにより、無駄なファイル転
送を回避できるように工夫している。
In order to deal with such a problem, a communication system as described in, for example, JP-A-63-301344, "File Communication System" has been proposed. In this communication method, the file identifier added to the received file is managed, and the file identifier is collated with the received file on the receiving side when transferring the file. Then, by notifying the transfer source of the result, it is devised so that useless file transfer can be avoided.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この通
信方式では、処理対象となるものはファイルのみであ
り、また、あらかじめ転送元においてファイルごとにフ
ァイル識別子を付加しておく必要がある等の不都合があ
った。そこで、本発明の目的は、無駄なデータ送信を回
避して送信時間と処理コストを低減することができるデ
ータ記憶装置を提供することにある。
However, in this communication method, there are inconveniences such as that only the file is processed, and it is necessary to add a file identifier to each file in advance at the transfer source. there were. Therefore, an object of the present invention is to provide a data storage device that can avoid unnecessary data transmission and reduce the transmission time and processing cost.

【0005】[0005]

【課題を解決するための手段】請求項1記載のデータ記
憶装置では、通信回線によって他のデータ記憶装置と接
続されたデータ記憶装置において、データを記憶する記
憶媒体と、前記他のデータ記憶装置に対するデータ送信
に先立ち、前記記憶媒体上の送信しようとする各データ
ブロックごとに、そのブロックに含まれるデータの正当
性を表すデータ検査符号を求める手段と、前記送信しよ
うとする各データブロックに対応する前記他のデータ記
憶装置のデータブロックについてのデータ検査符号を、
当該他のデータ記憶装置から受信する手段と、求めたデ
ータ検査符号と受信したデータ検査符号とを比較照合す
る手段と、この結果、両者が不一致の場合はそのデータ
ブロックを送信し、一致した場合はそのデータブロック
を送信しないように動作制御を行う送信制御手段とを備
えることで前記目的を達成する。
According to another aspect of the present invention, there is provided a data storage device connected to another data storage device by a communication line, the storage medium storing data and the other data storage device. Corresponding to each data block to be transmitted on the storage medium, a means for obtaining a data check code indicating the validity of the data contained in the block, and the data block to be transmitted. A data check code for the data block of the other data storage device
A means for receiving from the other data storage device, a means for comparing and collating the obtained data check code with the received data check code, and as a result, if the two do not match, the data block is transmitted, and if they match Achieves the above object by including transmission control means for controlling the operation so that the data block is not transmitted.

【0006】請求項2記載のデータ記憶装置では、請求
項1記載のデータ記憶装置において、さらに、前記記憶
媒体上の送信しようとするデータブロックが有効なデー
タか否かを判定する手段を備え、前記送信制御手段が、
前記判定の結果、送信しようとするデータブロックが有
効なデータでないときにも、データブロックを送信しな
いように動作制御を行うように構成することで前記目的
を達成する。
A data storage device according to a second aspect is the data storage device according to the first aspect, further comprising means for determining whether or not the data block to be transmitted on the storage medium is valid data. The transmission control means,
As a result of the determination, even when the data block to be transmitted is not valid data, the operation is controlled so as not to transmit the data block, thereby achieving the above object.

【0007】請求項3記載のデータ記憶装置では、請求
項1記載のデータ記憶装置において、前記データブロッ
クのデータ長を可変にすることで前記目的を達成する。
According to another aspect of the data storage device of the present invention, in the data storage device of the first aspect, the data length of the data block is made variable to achieve the above object.

【0008】請求項4記載のデータ記憶装置では、請求
項1記載のデータ記憶装置において、前記データブロッ
クが、前記記憶媒体上の特定のファイルに含まれるデー
タのみで構成されるように構成することで前記目的を達
成する。
According to a fourth aspect of the present invention, there is provided the data storage apparatus according to the first aspect, wherein the data block is composed only of data included in a specific file on the storage medium. In order to achieve the above purpose.

【0009】[0009]

【作用】本発明に係るデータ記憶装置では、送信しよう
とするデータブロックのデータ検査符号と、送信先であ
る他のデータ記憶装置から送られてきた対応するデータ
ブロックのデータ検査符号とが比較照合され、両者が不
一致の場合にのみそのデータブロックが送信される。こ
のデータ検査符号は、一般に、データの正当性を表すた
めのもので、例えばデータ転送途中におけるデータの変
更(データ伝送の誤り)の有無を検査する場合におい
て、その符号の値が同一である限りデータに変更(誤
り)はないと判断することができるものである。本発明
では、このような機能に着目して、データ検査符号を送
信側の送信対象データと受信側の既存データとの同一性
の確認に用いるようにしたものである。
In the data storage device according to the present invention, the data check code of the data block to be transmitted and the data check code of the corresponding data block sent from the other data storage device as the transmission destination are compared and collated. The data block is transmitted only when the two do not match. This data check code is generally used to show the correctness of the data. For example, when checking the presence or absence of data change (data transmission error) during data transfer, as long as the value of the code is the same, It is possible to determine that the data has not been changed (error). In the present invention, paying attention to such a function, the data check code is used to confirm the identity between the transmission target data on the transmission side and the existing data on the reception side.

【0010】特に、請求項2記載のデータ記憶装置で
は、さらに、送信しようとするデータブロックの有効・
無効の判定も行われる。そして、データ検査符号が一致
した場合のほか、送信しようとするデータブロックが有
効でない場合においても送信が回避される。また、請求
項3記載のデータ記憶装置では、可変長のデータブロッ
ク単位でデータ検査符号の比較照合と送信とが行われ
る。さらに、請求項4記載のデータ記憶装置では、特定
のファイルに含まれるデータブロックのみについてデー
タ検査符号の比較照合と送信とが行われる。
Particularly, in the data storage device according to the second aspect of the present invention, the data block to be transmitted is further validated.
The invalidity is also determined. In addition to the case where the data check codes match, the transmission is avoided even when the data block to be transmitted is not valid. Further, in the data storage device according to the third aspect of the present invention, the data check code is compared and collated and transmitted in units of variable-length data blocks. Further, in the data storage device according to the fourth aspect, the data check code is compared and collated and transmitted only for the data block included in the specific file.

【0011】[0011]

【実施例】本発明の好適な実施例を図1乃至図3を参照
して詳細に説明する。図1は、本発明の一実施例に係る
データ記憶装置としての2台のフロッピーディスク装置
を相互に接続した状態を表すブロック図である。この図
でデータ送信元(複写元)として説明するフロッピーデ
ィスク装置10は、装置全体の動作を制御する中央処理
装置(CPU)11と、セットされた記憶媒体としての
フロッピーディスク(図示せず)に対してデータの読み
書きを行うためのフロッピーディスクドライブ(FD
D)12とを備えている。さらに、このフロッピーディ
スク装置10は、通信回線30に接続された通信制御部
13と、CPU11によって実行される制御プログラム
が格納されるとともに、CPU11による各部の制御や
データ処理等に必要な各種データを記憶するメモリ14
と、これらを相互に接続するバス15とを備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described in detail with reference to FIGS. FIG. 1 is a block diagram showing a state in which two floppy disk devices as data storage devices according to an embodiment of the present invention are connected to each other. A floppy disk device 10, which is described as a data transmission source (copying source) in this figure, includes a central processing unit (CPU) 11 for controlling the operation of the entire device and a floppy disk (not shown) as a set storage medium. Floppy disk drive for reading and writing data (FD
D) 12 and. Further, the floppy disk device 10 stores a communication control unit 13 connected to the communication line 30 and a control program executed by the CPU 11, and stores various data necessary for the control of each unit by the CPU 11 and data processing. Memory 14 to store
And a bus 15 for connecting them to each other.

【0012】また、送信先(複写先)として説明するフ
ロッピーディスク装置20もフロッピーディスク装置1
0と同様の構成である。すなわち、それぞれ上記の各部
と同様の機能を備えたCPU21、FDD22、通信制
御部23およびメモリ24を備え、バス25により相互
に接続されている。
Further, the floppy disk device 20 described as a transmission destination (copy destination) is also the floppy disk device 1.
It has the same configuration as 0. That is, the CPU 21, the FDD 22, the communication control unit 23, and the memory 24 each having the same function as each of the above-described units are provided, and are connected to each other by the bus 25.

【0013】次に、以上のような構成の各フロッピーデ
ィスク装置の動作を図2、図3のフローチャートととも
に説明する。なお、本実施例では、データブロックとし
てレコードを用いるとともに、レコードに含まれるデー
タの正当性を表すためのデータ検査符号として、いわゆ
るCRC(Cyclic Redundancy Check;巡回冗長検査)符
号を用いるものとする。また、レコードはすべて固定長
とする。
Next, the operation of each floppy disk device having the above construction will be described with reference to the flow charts of FIGS. In this embodiment, a record is used as a data block, and a so-called CRC (Cyclic Redundancy Check) code is used as a data check code for indicating the validity of the data contained in the record. All records have a fixed length.

【0014】まず、図2を参照して送信側のフロッピー
ディスク装置10の動作の手順を説明する。CPU11
は、FDD12にセットされたフロッピーディスク(複
写元FD)上に送信すべきデータがあるか否かを調べる
(ステップ101)。送信データがある場合には(ステ
ップ101;Y)、この複写元FDから最初のレコード
のデータを読み出して、そのレコードのデータ(以下、
レコードデータという。)が意味をもたず、有効でない
ブランクデータであるかどうかを判定する(ステップ1
02)。この判定は、複写元FD上に記録されたフォー
マット情報から可能である。この結果、そのレコードが
ブランクデータであったときは(ステップ102;
Y)、送信動作を行わず、次のレコードの処理に移る
(ステップ101)。
First, the procedure of operation of the floppy disk device 10 on the transmitting side will be described with reference to FIG. CPU11
Checks whether or not there is data to be transmitted on the floppy disk (copy source FD) set in the FDD 12 (step 101). If there is transmission data (step 101; Y), the data of the first record is read from this copy source FD and the data of that record (hereinafter,
Record data. ) Has no meaning and is not valid blank data (step 1)
02). This determination can be made from the format information recorded on the copy source FD. As a result, when the record is blank data (step 102;
Y), the transmission operation is not performed, and the process proceeds to the next record (step 101).

【0015】一方、そのレコードがブランクデータでな
かったときは(ステップ102;N)、そのレコードの
データからいわゆるCRC符号を求め、メモリ14に記
憶するとともに(ステップ103)、通信制御部13に
より、通信回線30を介し、受信側のフロッピーディス
ク装置20に対して、対応するレコードデータのCRC
符号の送信を要求する(ステップ104)。なお、対応
するレコードの指定は、レコードごとに付されたレコー
ド番号により行われる。
On the other hand, when the record is not blank data (step 102; N), a so-called CRC code is obtained from the data of the record and stored in the memory 14 (step 103), and the communication control unit 13 CRC of the corresponding record data to the receiving side floppy disk device 20 via the communication line 30.
Request transmission of the code (step 104). The corresponding record is designated by the record number attached to each record.

【0016】ここに、CRC符号は、レコードデータ全
体を長い2進数字の列と考え、これに一定数の“0”を
付け加えたものをある特定の2進数で割ったときの余り
として求められるものであるが、一般には、データ転送
途中におけるデータの変更(データ伝送誤り)の有無を
検査するためのチェックキーとして用いられるものであ
る。そして、このCRC符号の値が同一である限りデー
タに変更(誤り)はないと判断することができる。本実
施例では、このような機能に着目して、CRC符号を送
信側の送信対象データと受信側の既存データとの同一性
の確認に用いるようにしたものである。
Here, the CRC code is obtained as a remainder when the entire record data is considered as a long binary digit string and a fixed number of "0" is added to this and divided by a specific binary number. However, it is generally used as a check key for inspecting the presence or absence of data change (data transmission error) during data transfer. Then, as long as the value of this CRC code is the same, it can be determined that there is no change (error) in the data. In this embodiment, paying attention to such a function, the CRC code is used to confirm the identity between the transmission target data on the transmission side and the existing data on the reception side.

【0017】そして、フロッピーディスク装置10から
の要求に応じて、フロッピーディスク装置20が対応す
るレコードデータのCRC符号を送信し、これを通信制
御部13で受信する(ステップ105。すると、CPU
11は、メモリ14に記憶してある上記レコードデータ
のCRC符号と受信したCRC符号とを比較する(ステ
ップ106)。この比較の結果、両者が一致したときは
(ステップ107;Y)、そのレコードデータは既に送
信済みであって送信不要であると判断して、次のレコー
ドの処理に移る(ステップ101)。一方、比較の結
果、両者が一致しなかったときは(ステップ107;
N)、そのレコードデータを送信する(ステップ10
8)。
Then, in response to a request from the floppy disk device 10, the floppy disk device 20 transmits the CRC code of the corresponding record data and the communication control unit 13 receives the CRC code (step 105. Then, the CPU
11 compares the CRC code of the record data stored in the memory 14 with the received CRC code (step 106). As a result of this comparison, if the two match (step 107; Y), it is determined that the record data has already been transmitted and does not need to be transmitted, and the process for the next record is performed (step 101). On the other hand, as a result of the comparison, if the two do not match (step 107;
N), transmit the record data (step 10)
8).

【0018】このような処理を送信データがなくなるま
で(ステップ101;N)、すなわち、複写元FD上の
すべてのレコードについて繰り返し行った後、通信終了
コマンドを送信して(ステップ109)、通信を終了す
る。
This processing is repeated until there is no transmission data (step 101; N), that is, after repeating all the records on the copy source FD, and then a communication end command is transmitted (step 109) to perform communication. finish.

【0019】次に、図3のフローチャートを参照して受
信側のフロッピーディスク装置20の動作を説明する。
まず、CPU21は、データ受信待ち状態(ステップ2
01)において何らかのデータを受信すると、これを解
読してその内容を調べる。受信データがCRC符号の送
信を要求するコマンドであったときは(ステップ20
2;N,ステップ203;Y)、FDD22にセットさ
れているフロッピーディスク(複写先FD)から指定さ
れたレコードデータを読み出し、そのCRC符号を求め
る。この場合も上記の演算と同様に行う。CPU21
は、求めたCRC符号を通信制御部23によってフロッ
ピーディスク装置10に送信し(ステップ204)、デ
ータ待ち状態となる(ステップ201)。
Next, the operation of the receiving side floppy disk device 20 will be described with reference to the flow chart of FIG.
First, the CPU 21 waits for data reception (step 2
When any data is received in 01), it is decrypted and its contents are examined. If the received data is a command requesting transmission of a CRC code (step 20)
2; N, step 203; Y), the specified record data is read from the floppy disk (copy destination FD) set in the FDD 22 and the CRC code is obtained. Also in this case, the same operation as described above is performed. CPU 21
Transmits the obtained CRC code to the floppy disk device 10 by the communication control unit 23 (step 204) and enters a data waiting state (step 201).

【0020】一方、CPU21は、受信したデータがレ
コードデータであったときは(ステップ203;N)、
これを複写先FD上の対応するレコードに書き込み(ス
テップ205)、次のデータの受信待ち状態となる(ス
テップ201)。以下、このような処理を繰り返し行
う。そして、通信終了コマンドを受信することによって
(ステップ202;Y)、通信動作を終了する。
On the other hand, when the received data is record data (step 203; N), the CPU 21
This is written in the corresponding record on the copy destination FD (step 205), and the next data reception waiting state is set (step 201). Hereinafter, such processing is repeated. Then, by receiving the communication end command (step 202; Y), the communication operation is ended.

【0021】このように、本実施例では、既に送信した
データの再送や有効でないデータの送信を回避し、必要
なデータのみを送信するようにしたので、フロッピーデ
ィスク装置間での転送データ量を削減することができ、
転送時間の短縮が可能となる。本実施例では、フロッピ
ーディスク装置10を送信側、フロッピーディスク装置
20を受信側として説明したが、各装置に図2の送信機
能と図3の受信機能とをともに備えさせることにより、
必要に応じて各装置が送信側または受信側になることは
可能である。
As described above, in the present embodiment, since the retransmission of already transmitted data or the transmission of invalid data is avoided and only the necessary data is transmitted, the transfer data amount between the floppy disk devices can be reduced. Can be reduced
The transfer time can be shortened. In the present embodiment, the floppy disk device 10 is described as the transmitting side and the floppy disk device 20 is as the receiving side. However, by providing each device with both the transmitting function of FIG. 2 and the receiving function of FIG.
Each device can be a sender or a receiver as required.

【0022】また、本実施例では、データブロック(レ
コードデータ)を固定長として説明したが、これを可変
長としてもよい。この場合には、データブロック長を複
数用意し、それぞれのデータブロックごとにCRC符号
の照合を行うように構成することにより、最適なブロッ
ク長でのデータ送信が可能となる。また、本実施例で
は、レコード単位でフロッピーディスク上のすべてのデ
ータを送信するようにしたが、これに限るものではな
く、フロッピーディスク上の特定のファイルのデータの
みを送信するようにするこも可能である。この場合に
は、比較するブロック長は可変であり、ファイルの先頭
から比較を行うようにする。
In the present embodiment, the data block (record data) has been described as having a fixed length, but it may have a variable length. In this case, a plurality of data block lengths are prepared, and the CRC code is collated for each data block, whereby data can be transmitted with an optimum block length. Further, in this embodiment, all the data on the floppy disk is transmitted in record units, but the present invention is not limited to this, and it is also possible to transmit only the data of a specific file on the floppy disk. Is. In this case, the block length to be compared is variable, and the comparison is performed from the beginning of the file.

【0023】なお、本実施例では記憶媒体としてフロッ
ピーディスクを例に説明したが、これに限るものではな
く、他の媒体(例えばハードディスク、光磁気ディス
ク、磁気テープ、シリコンディスク等)についても同様
に適用できることはもちろんである。
Although a floppy disk is used as an example of the storage medium in this embodiment, the present invention is not limited to this, and other media (for example, a hard disk, a magneto-optical disk, a magnetic tape, a silicon disk, etc.) can be similarly used. Of course, it can be applied.

【0024】[0024]

【発明の効果】以上説明したように、本発明のデータ記
憶装置によれば、送信しようとするデータブロックのデ
ータ検査符号と、送信先である他のデータ記憶装置から
送られてきた対応するデータブロックのデータ検査符号
とを比較照合し、両者が不一致の場合にのみそのデータ
ブロックを送信するようにしたので、既に送信したデー
タの再送等、無駄なデータ送信を回避することができ
る。したがって、データ記憶装置間での転送データ量を
削減することができ、転送時間の短縮が可能となる。
As described above, according to the data storage device of the present invention, the data check code of the data block to be transmitted and the corresponding data transmitted from the other data storage device which is the transmission destination. Since the data check code of the block is compared and collated and the data block is transmitted only when the two do not match, useless data transmission such as retransmission of already transmitted data can be avoided. Therefore, it is possible to reduce the transfer data amount between the data storage devices, and it is possible to shorten the transfer time.

【0025】請求項2記載のデータ記憶装置によれば、
さらに、送信しようとするデータブロックの有効・無効
の判定を行い、データ検査符号が一致した場合のほか、
送信しようとするデータブロックが有効でない場合もそ
のブロックのデータを送信しないようにしたので、有効
なデータのみを送信することができる。したがって、デ
ータ記憶装置間での転送データ量をさらに削減すること
ができ、転送時間の一層の短縮が可能となる。
According to the data storage device of the second aspect,
Furthermore, the validity / invalidity of the data block to be transmitted is determined, and when the data check code matches,
Even if the data block to be transmitted is not valid, the data of the block is not transmitted, so that only valid data can be transmitted. Therefore, the amount of transfer data between the data storage devices can be further reduced, and the transfer time can be further shortened.

【0026】請求項3記載のデータ記憶装置によれば、
可変長のデータブロック単位でデータ検査符号を比較照
合し送信するようにしたので、最適なブロック長でのデ
ータ送信が可能となる。請求項4記載のデータ記憶装置
によれば、特定のファイルに含まれるデータブロックの
みについてデータ検査符号の比較照合して送信するよう
にしたので、特定ファイルのみを送信する場合に便利で
あり、応用できる範囲も広がることとなる。
According to the data storage device of claim 3,
Since the data check codes are compared and collated and transmitted in units of variable-length data blocks, data can be transmitted with an optimum block length. According to the data storage device of claim 4, only the data blocks included in the specific file are compared and collated with the data check code before being transmitted, which is convenient when only the specific file is transmitted. The range that can be done will be expanded.

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

【図1】本発明の一実施例に係るデータ記憶装置として
の2台のフロッピーディスク装置を相互に接続した状態
を表すブロック図である。
FIG. 1 is a block diagram showing a state in which two floppy disk devices as data storage devices according to an embodiment of the present invention are connected to each other.

【図2】送信側のフロッピーディスク装置の動作を説明
するためのフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the floppy disk device on the transmission side.

【図3】受信側のフロッピーディスク装置の動作を説明
するためのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the receiving-side floppy disk device.

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

10 送信側フロッピーディスク装置 11 CPU(中央処理装置) 12 フロッピーディスク駆動部 13 通信制御部 14 メモリ 15 バス 20 受信側フロッピーディスク装置 21 CPU(中央処理装置) 22 フロッピーディスク駆動部 23 通信制御部 24 メモリ 30 通信回線 10 Floppy Disk Device on Sending Side 11 CPU (Central Processing Unit) 12 Floppy Disk Driving Unit 13 Communication Control Unit 14 Memory 15 Bus 20 Floppy Disk Device on Receiving Side 21 CPU (Central Processing Unit) 22 Floppy Disk Driving Unit 23 Communication Control Unit 24 Memory 30 communication lines

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 通信回線によって他のデータ記憶装置と
接続されたデータ記憶装置であって、 データを記憶する記憶媒体と、 前記他のデータ記憶装置に対するデータ送信に先立ち、
前記記憶媒体上の送信しようとする各データブロックご
とに、そのブロックに含まれるデータの正当性を表すデ
ータ検査符号を求める手段と、 前記送信しようとする各データブロックに対応する前記
他のデータ記憶装置のデータブロックについてのデータ
検査符号を、当該他のデータ記憶装置から受信する手段
と、 求めたデータ検査符号と受信したデータ検査符号とを比
較照合する手段と、 この結果、両者が不一致の場合はそのデータブロックを
送信し、一致した場合はそのデータブロックを送信しな
いように動作制御を行う送信制御手段とを具備したこと
を特徴とするデータ記憶装置。
1. A data storage device connected to another data storage device by a communication line, the storage medium storing data, and prior to data transmission to the other data storage device,
Means for determining, for each data block to be transmitted on the storage medium, a data check code indicating the validity of the data contained in the block, and the other data storage corresponding to each data block to be transmitted. A means for receiving the data check code for the data block of the device from the other data storage device, a means for comparing and collating the obtained data check code with the received data check code, and as a result, when both do not match And a transmission control means for controlling the operation so as to transmit the data block and not transmit the data block when they match.
【請求項2】 さらに、前記記憶媒体上の送信しようと
するデータブロックが有効なデータか否かを判定する手
段を備え、 前記送信制御手段は、前記判定の結果、送信しようとす
るデータブロックが有効なデータでないときにも、デー
タブロックを送信しないように動作制御を行うことを特
徴とする請求項1記載のデータ記憶装置。
2. The device further comprises means for determining whether or not the data block to be transmitted on the storage medium is valid data, and the transmission control means is configured to determine that the data block to be transmitted is The data storage device according to claim 1, wherein operation control is performed so that the data block is not transmitted even when the data is not valid data.
【請求項3】 前記データブロックのデータ長が可変と
なっていることを特徴とする請求項1記載のデータ記憶
装置。
3. The data storage device according to claim 1, wherein the data length of the data block is variable.
【請求項4】 前記データブロックは、前記記憶媒体上
の特定のファイルに含まれるデータのみで構成されてい
ることを特徴とする請求項1記載のデータ記憶装置。
4. The data storage device according to claim 1, wherein the data block is composed only of data included in a specific file on the storage medium.
JP7142384A 1995-05-18 1995-05-18 Data storage Pending JPH08314822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7142384A JPH08314822A (en) 1995-05-18 1995-05-18 Data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7142384A JPH08314822A (en) 1995-05-18 1995-05-18 Data storage

Publications (1)

Publication Number Publication Date
JPH08314822A true JPH08314822A (en) 1996-11-29

Family

ID=15314117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7142384A Pending JPH08314822A (en) 1995-05-18 1995-05-18 Data storage

Country Status (1)

Country Link
JP (1) JPH08314822A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10214240A (en) * 1997-01-29 1998-08-11 Kokusai Denshin Denwa Co Ltd <Kdd> File transfer system
JP2006039598A (en) * 2004-06-24 2006-02-09 Katsuya Ishihara Data linkage method and data linkage device for computer system
US7073092B2 (en) 2003-11-25 2006-07-04 Hitachi, Ltd. Channel adapter and disk array device
JP2016021663A (en) * 2014-07-14 2016-02-04 株式会社三菱東京Ufj銀行 Monitoring device and program thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10214240A (en) * 1997-01-29 1998-08-11 Kokusai Denshin Denwa Co Ltd <Kdd> File transfer system
US7073092B2 (en) 2003-11-25 2006-07-04 Hitachi, Ltd. Channel adapter and disk array device
JP2006039598A (en) * 2004-06-24 2006-02-09 Katsuya Ishihara Data linkage method and data linkage device for computer system
JP2016021663A (en) * 2014-07-14 2016-02-04 株式会社三菱東京Ufj銀行 Monitoring device and program thereof

Similar Documents

Publication Publication Date Title
US20180373474A1 (en) Method and system for communicating between a remote printer and a server
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
JPH07319775A (en) Memory collation system
CN116701047B (en) Error correction decoding data generation method, device, electronic device and readable storage medium
JP2991026B2 (en) Communication method of communication history information with facsimile mail device
JP2000293454A (en) Data communication device, data communication method, and recording medium
JP2827556B2 (en) Channel management device
JPH04230553A (en) Method for recovery from file transfer error
JPH0895876A (en) Data transfer method
JPH05205014A (en) Image data processing method
JP3095603B2 (en) FAX machine
JPH01287775A (en) Pos system
JPH0270142A (en) Communication control method and device
JPH07200426A (en) Sequential type repeat file transfer device
JPH04107660A (en) File transfer system
JPH0675870A (en) File transfer response waiting time transmitting data generation processing system
JPH04324736A (en) Modulator-demodulator
JPS6062260A (en) Data transfer method
JPH10207829A (en) Bus controller
JPH10326240A (en) Network file transfer processing method
JPH0983446A (en) Information processing device
JPH05160836A (en) Loopback test system for local area network
JPH06268797A (en) Facsimile store and forward exchange
JPH0512149A (en) Computer device
JPH0222959A (en) Facsimile communication system