JPS6020270A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS6020270A
JPS6020270A JP12882883A JP12882883A JPS6020270A JP S6020270 A JPS6020270 A JP S6020270A JP 12882883 A JP12882883 A JP 12882883A JP 12882883 A JP12882883 A JP 12882883A JP S6020270 A JPS6020270 A JP S6020270A
Authority
JP
Japan
Prior art keywords
data
transfer
transferred
signal
memory access
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
JP12882883A
Other languages
Japanese (ja)
Inventor
Hiroshi Matsuyama
松山 弘
Takashi Yokoto
横戸 隆
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 JP12882883A priority Critical patent/JPS6020270A/en
Publication of JPS6020270A publication Critical patent/JPS6020270A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To prevent invalid use of the memory area of a memory by transferring release signals to a signal holder together with disposing data which are not transferred to a data transmission unit when data transfer, which exceeds the prescribed word number, is required. CONSTITUTION:When data transfer, which exceeds the prescribed word number, is required, the processor PU judges transfer data to be abnormal, disposes data which are not transferred held by the data transmission unit ADLC, and initially sets again the address inside the memory MEM which transfer data to be stored in the direct memory access controller DMAC and word numbers which are not transferred. At the same time, the processor PU transfers the release signal to the signal holder HLD through the common bus BUS, and releases the synchronous demand signal S2. As a result, the synchronous transfer demand signal S2 is not transferred to the direct memory access controller DMAC, and data is not transferred by the direct memory access controller DMAC until the transfer demand signal S1 is again transferred to the signal holder HLD.

Description

【発明の詳細な説明】 仙) 発明の技術分野 本発明はデータ転送システムに係り、特に記憶装置の転
送データ格納領域の無効使用を防止するデータ転送方式
に関す。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a data transfer system, and more particularly to a data transfer method that prevents invalid use of a transfer data storage area of a storage device.

(b) 従来技術と問題点 第1図はこの種データ転送システムにおける従来あるデ
ータ転送方式の一例を示す図である。第1図においては
、第一の装置としてダイレクトメモリアクセス制御装置
DMACが、第二の装置としてデータ伝送装置ADLC
が、また第三の装置として信号保持装置HLDが設けら
れている。データ伝送装置ADLCは、伝送路りからデ
ータが到着すると信号保持装置HLDに対して転送要求
信号slを伝達する。転送要求信号s1を伝達された信
号保持装置HLDは、ダイレクトメモリアクセス制御装
置DMACの動作を司るクロック信号に同期した同期転
送要求信号s2を出方保持し、ダイレクトメモリアクセ
ス制御装置DMACに伝達する。ダイレクトメモリアク
セス制御装置DMACは、予めプロセッサPUから転送
データを格納すべき記憶装置MEM内のアドレスおよび
転送可能語数を初期設定されており、同期転送要求信号
S2を伝達されるとデータ伝送装置ADLCの保有する
データを一語、共通バスBusを介して記憶装置MEM
の所定アドレスに転送し、前記アドレスおよび転送可能
語数を更新し、信号保持装置H1,Dに転送実行信号S
3を伝達する。信号保持装置HLDは転送実行信号S3
を伝達されると保持している同期転送要求信号S2を復
旧させる。
(b) Prior Art and Problems FIG. 1 is a diagram showing an example of a conventional data transfer method in this type of data transfer system. In FIG. 1, the first device is a direct memory access control device DMAC, and the second device is a data transmission device ADLC.
However, a signal holding device HLD is also provided as a third device. When data arrives from the transmission path, the data transmission device ADLC transmits a transfer request signal sl to the signal holding device HLD. The signal holding device HLD to which the transfer request signal s1 has been transmitted holds the synchronous transfer request signal s2 synchronized with the clock signal governing the operation of the direct memory access control device DMAC, and transmits it to the direct memory access control device DMAC. The direct memory access control device DMAC has the address in the storage device MEM where the transfer data should be stored and the number of transferable words initialized in advance by the processor PU, and when it receives the synchronous transfer request signal S2, it controls the data transfer device ADLC. One word of data is stored in the storage device MEM via the common bus Bus.
is transferred to a predetermined address, the address and the number of transferable words are updated, and a transfer execution signal S is sent to the signal holding devices H1 and D.
Convey 3. The signal holding device HLD holds the transfer execution signal S3
When the synchronous transfer request signal S2 is transmitted, the held synchronous transfer request signal S2 is restored.

データ伝送装置ADLCが更に転送すべきデータを保有
している場合には、引続き転送要求信号S1が信号保持
装置HLDに伝達される。その結果信号保持装置HLD
は再び同期転送要求信号S2を出力保持し、ダイレクト
メモリアクセス制御装置DMACに伝達する。同期転送
要求信号S2を伝達されたダイレクトメモリアクセス制
御装置DMACは前述と同様に一語のデータを記憶語W
MEMの所定アドレスに転送する。この様にしてダイレ
クトメモリアクセス制御装置DMACが前記転送可能語
数だけのデータを転送し終わると、プロセッサPUにそ
の旨通知する。なおデー久伝送装置ADLCが未転送デ
ータを保有している場合は、ダイレクトメモリアクセス
制御装置DMA Cが前記転送可能語数だけのデータを
転送した後も、引続き転送要求信号S1が信号保持装置
HLDに伝達され、信号保持装置HLDは同期転送要求
信号s2を出力保持し、ダイレクトメモリアクセス制御
装置DMACに伝達するが、ダイレクトメモリアクセス
制御装置DMACは前記転送可能語数以上のデータは転
送を行わない。一方ダイレクトメモリアクセス制御装置
DMACから前記転送可能語数だけのデータの転送終了
を通知されたプロセッサPUは、データ伝送装置ADL
Cが予期以上に多量の転送データを保有していることか
ら該転送データを異品と判定し、データ伝送装置ADL
Cの保有する未転送データを廃棄させると共に、再びダ
イレクトメモリアクセス制御装置DMA Cに転送デー
タを格納すべき記憶装置MEM内のアドレスおよび転送
可能語数を初期設定する。保有する未転送データを廃棄
されたデータ伝送装置ADLCは、信号保持装置HLD
に伝達していた転送要求信号S1を停止させるが、信号
保持装置HLDはダイレクトメモリアクセス制御装置D
MACから転送実行信号S3を伝達されぬ為、引続き同
期転送要求信号S2を保持し続け、ダイレクトメモリア
クセス制御装置DMACに伝達する。その結果ダイレク
トメモリアクセス制御値WDMACは、転送すべきデー
タを保有していないデータ伝送装置ADLCから無効デ
ータを一語記憶装置MEMの所定アドレスに転送を行い
、アドレスおよび転送可能語数を更新すると共に、転送
実行信号s3を信号保持装置HLDに伝達し、同期転送
要求信号S2を復旧させる。
If the data transmission device ADLC holds further data to be transferred, the transfer request signal S1 is subsequently transmitted to the signal holding device HLD. As a result, the signal holding device HLD
outputs and holds the synchronous transfer request signal S2 again, and transmits it to the direct memory access control device DMAC. The direct memory access control device DMAC, which has received the synchronous transfer request signal S2, transfers one word of data to the storage word W in the same manner as described above.
Transfer to a predetermined address of MEM. When the direct memory access control device DMAC has finished transferring data equal to the number of transferable words in this manner, it notifies the processor PU to that effect. Note that if the data transmission device ADLC retains untransferred data, the transfer request signal S1 continues to be sent to the signal holding device HLD even after the direct memory access control device DMAC has transferred data equal to the number of transferable words. The signal holding device HLD outputs and holds the synchronous transfer request signal s2 and transmits it to the direct memory access control device DMAC, but the direct memory access control device DMAC does not transfer data exceeding the number of transferable words. On the other hand, the processor PU, which has been notified by the direct memory access control device DMAC of the completion of transfer of data equal to the number of transferable words, transfers data to the data transmission device ADL.
Since C has a larger amount of transferred data than expected, it determines that the transferred data is a foreign item, and the data transmission device ADL
The untransferred data held by C is discarded, and the address in the storage device MEM where the transfer data is to be stored and the number of transferable words are again initialized in the direct memory access control device DMAC. The data transmission device ADLC, which has discarded its untransferred data, is transferred to the signal holding device HLD.
The transfer request signal S1 that was being transmitted to the direct memory access control device D is stopped, but the signal holding device HLD is transferred to the direct memory access control device D.
Since the transfer execution signal S3 is not transmitted from the MAC, it continues to hold the synchronous transfer request signal S2 and transmits it to the direct memory access control device DMAC. As a result, the direct memory access control value WDMAC transfers invalid data from the data transmission device ADLC that does not hold the data to be transferred to a predetermined address of the one-word storage device MEM, updates the address and the number of transferable words, and The transfer execution signal s3 is transmitted to the signal holding device HLD, and the synchronous transfer request signal S2 is restored.

以上の説明から明らかな如く、従来あるデータ転送方式
においては、ダイレクトメモリアクセス制御装置DMA
Cが転送可能語数のデータを転送終了した後もデータ伝
送装置ADLCが未転送データを保有する場合、プロセ
ッサPUが峰未転送データを廃棄すにも拘わらず、信号
保持装置HLDは同期転送要求信号S2をダイレクトメ
モリアクセス制御装置DMACに伝達する為、ダイレク
トメモリアクセス制御装置DMACは無効データを一語
記慎装置MEMに転送することとなり、記憶装置MEM
の記憶領域を無効に使用する結果となる。
As is clear from the above explanation, in a conventional data transfer method, the direct memory access control device DMA
If the data transmission device ADLC retains untransferred data even after C has finished transferring the data of the transferable number of words, the signal retention device HLD sends a synchronous transfer request signal even though the processor PU discards the untransferred data. In order to transmit S2 to the direct memory access control device DMAC, the direct memory access control device DMAC transfers the invalid data to the one-word memorization device MEM, and the memory device MEM
This results in an invalid use of storage space.

(C) 発明の目的 本発明の目的は、前述の如き従来あるデータ転送方式の
欠点を除去し、第一の装置が記憶装置の記憶領域を無効
に使用することを防止する手段を実現することに在る。
(C) Purpose of the Invention The purpose of the present invention is to eliminate the drawbacks of the conventional data transfer method as described above and to realize a means for preventing the first device from using the storage area of the storage device invalidly. is in

(d) 発明の構成 この目的は、所定語数のデータの転送をプロセッサと独
立に制御する第一の装置と、該第−の装置にデータの転
送を要求する第二の装置からの転送要求信号を前記第一
の装置に伝達保持し、前記第一の装置から一語のデータ
を転送実行したことを示す転送実行信号を受信すると前
記保持中の転送要求信号を復旧させる第三の装置とを有
し、前記第一の装置が所定語数を越えるデータ転送を要
求された場合に、前記第一の装置が前記所定詔数のデー
タを転送した後社j記プロセッサが前記第二の装置の保
有する未転送データを廃棄するデータ転送システムにお
いて、前記プロセッサが前記第二の装置の保有する未転
送データを廃棄する際に、前記第三の装置の保持する転
送要求信号を復旧させる手段を設けることにより達成さ
れる。
(d) Structure of the Invention This object is to provide a first device that controls the transfer of data of a predetermined number of words independently of the processor, and a transfer request signal from a second device that requests the second device to transfer data. a third device that transmits and holds the transfer request signal to the first device, and restores the held transfer request signal when receiving a transfer execution signal indicating that one word of data has been transferred from the first device; and if the first device is requested to transfer data exceeding a predetermined number of words, after the first device transfers the predetermined number of words, the processor of the second device In a data transfer system that discards untransferred data held by the second device, when the processor discards the untransferred data held by the second device, means is provided for restoring a transfer request signal held by the third device. This is achieved by

tel 発明の実施例 以下、本発明の一実施例を図面により説明する。tel Embodiments of the invention An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例によるデータ転送方式を示す
図である。なお、全図を通じて同一符号は同一対象物を
示す。第2図においては、信号保持装置HLDにはダイ
レクトメモリアクセス制御装置DMACから転送実行信
号S3がゲートGを介して伝達されると共に、共通バス
BUSに接続される入出力装置IOから復旧信号s4が
ゲー1−Gを介して伝達される。第2図においても、ダ
イレクトメモリアクセス制御装置DMACは第1図にお
けると同様の過程で、データ伝送装置ADLCの保有す
る転送データを記憶装置MEMの所定アドレスに一語宛
格納し、前記転送可能語数迄転送し終わると、プロセッ
サPUにその旨通知し、以後データ伝送装置ADμCか
ら転送要求信号S1 ・が信号保持装置HLDに伝達さ
れ、信号保持装置HLDが同期転送要求信号S2をダイ
レクトメモリアクセス制御装置DMACに伝達しても、
データの転送は行わない。かかる状態で、プロセッサP
Uは第1図におけるが如く、データ伝送装置ADLCが
予期以上に多量の転送データを保有していることから、
該転送データを異常と判定し、データ伝送装置ADLC
の保有する未転送データを廃棄させ、再びダイレクトメ
モリアクセス制御装置DMACに転送データを格納すべ
き記憶装置MEM内のアドレスおよび転送可能語数を初
期設定すると共に、共通バスBUSを介して入出力装置
IOを制御し、ゲー1−Gを介して信号保持袋ff1H
LDに復旧信号S4を伝達させる。復旧信号S4を伝達
された信号保持装置HL Dは、同期転送要求信号S2
を復旧させる。その結果ダイレクトメモリアクセス制御
装置DMACには最早同期転送要求信号s2は伝達され
ず、データ伝送装置ADLCが新たに転送すべきデータ
を保有し、再び転送要求信号S1を信号保持装置HLD
に伝達する迄、ダイレクトメモリアクセス制御装置DM
ACがデータを転送することは無い。
FIG. 2 is a diagram showing a data transfer method according to an embodiment of the present invention. Note that the same reference numerals indicate the same objects throughout the figures. In FIG. 2, a transfer execution signal S3 is transmitted from the direct memory access control device DMAC to the signal holding device HLD via a gate G, and a recovery signal s4 is transmitted from the input/output device IO connected to the common bus BUS. It is transmitted via game 1-G. Also in FIG. 2, the direct memory access control device DMAC stores the transfer data held by the data transmission device ADLC in a predetermined address of the storage device MEM for one word in the same process as in FIG. When the transfer is completed, the processor PU is notified to that effect, and thereafter, the data transmission device ADμC transmits the transfer request signal S1 to the signal holding device HLD, and the signal holding device HLD transmits the synchronous transfer request signal S2 to the direct memory access control device. Even if it is transmitted to DMAC,
No data is transferred. In such a state, the processor P
As shown in FIG. 1, since the data transmission device ADLC has a larger amount of transferred data than expected,
The data transmission device ADLC determines that the transferred data is abnormal.
discards the untransferred data held by the direct memory access control device DMAC, initializes the address in the storage device MEM where the transfer data is to be stored and the number of transferable words in the direct memory access control device DMAC, and also discards the untransferred data held by the input/output device IO via the common bus BUS. and control the signal holding bag ff1H via game 1-G.
The recovery signal S4 is transmitted to the LD. The signal holding device HLD to which the recovery signal S4 has been transmitted receives the synchronous transfer request signal S2.
to restore. As a result, the synchronous transfer request signal s2 is no longer transmitted to the direct memory access control device DMAC, the data transmission device ADLC retains the data to be newly transferred, and the transfer request signal S1 is transmitted again to the signal holding device HLD.
Direct memory access control device DM
AC never transfers data.

以上の説明から明らかな如く、本実施例によれば、プロ
セッサPUはデータ伝送装置ADLCに未転送データを
廃棄させると共に、入出力装置IOから信号保持装置H
LDに復旧信号S4を伝達させる為、データ伝送装置A
DLCが転送すべきデータを保有していないにも拘わら
ずダイレクトメモリアクセス制御装置DMACに同期転
送要求信号S2が伝達され、ダイレクトメモリアクセス
制御装置DMACが無効データを記憶装置M、E Mに
格納することは避けられる。
As is clear from the above description, according to the present embodiment, the processor PU causes the data transmission device ADLC to discard untransferred data, and also causes the input/output device IO to discard untransferred data.
In order to transmit the recovery signal S4 to the LD, the data transmission device A
Even though the DLC does not hold the data to be transferred, the synchronous transfer request signal S2 is transmitted to the direct memory access control device DMAC, and the direct memory access control device DMAC stores the invalid data in the storage devices M and EM. It can be avoided.

なお、第2図はあく迄本発明の一実施例に過ぎず、例え
ば前記第一、第二および第三の装置はそれぞれ図示され
るものに限定されることは無く、他に幾多の変形が考慮
されるが、何れの場合にも本発明の効果は変らない。ま
た本発明の対象となるデータ転送システムは図示される
ものに限定されぬことは言う迄も無い。
Note that FIG. 2 is only one embodiment of the present invention, and for example, the first, second, and third devices are not limited to those shown in the drawings, and may be modified in many other ways. However, the effects of the present invention do not change in either case. It goes without saying that the data transfer system to which the present invention is applied is not limited to that shown in the drawings.

(fl 発明の効果 以上、本発明によれば、前記データ転送システムにおい
て、前記量−の装置が記憶装置の記憶領域を無効に使用
することが防止可能となり、記憶装置の利用率が向上す
る。
(fl) Effects of the Invention As described above, according to the present invention, in the data transfer system, it is possible to prevent the - amount of devices from ineffectively using the storage area of the storage device, and the utilization rate of the storage device is improved.

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

第1図は従来あるデータ転送方式の一例を示す図、第2
図は本発明の一実施例によるデータ転送方式を示す図で
ある。 図において、ADLCはデータ伝送装置、BUSは共通
バス、DMACはダイレクトメモリアクセス制御装置、
Gはゲート、HLDは信号保持装置、■0は入出力装置
、Lは伝送路、MEMは記憶装置、PUはプロセッサ、
slは転送要求信号、s2は同期転送要求信号、s3は
転送実行信号、s4は復旧信号、を示す。
Figure 1 shows an example of a conventional data transfer method, Figure 2 shows an example of a conventional data transfer method.
The figure is a diagram showing a data transfer method according to an embodiment of the present invention. In the figure, ADLC is a data transmission device, BUS is a common bus, DMAC is a direct memory access control device,
G is a gate, HLD is a signal holding device, ■0 is an input/output device, L is a transmission line, MEM is a storage device, PU is a processor,
sl is a transfer request signal, s2 is a synchronous transfer request signal, s3 is a transfer execution signal, and s4 is a recovery signal.

Claims (1)

【特許請求の範囲】[Claims] 所定語数のデータの転送をプロセッサと独立に制御する
第一の装置と、該第−の装置にデータの転送を要求する
第二の装置からの転送要求信号を前記第一の装置に伝達
保持し、前記第一の装置から一語のデータを転送実行し
たことを示す転送実行信号を受信すると前記保持中の転
送要求信号を復旧させる第三の装置とを有し、前記第一
の装置が所定語数を越えるデータ転送を要求された場合
に、前記第一の装置が前記所定語数のデータを転送した
後前記プロセフ号が前記第二の装置の保有する未転送デ
ータを廃棄するデータ転送システムにおいて、前記プロ
セッサが前記第二の装置の保有する未転送データを廃棄
する際に、前記第三の装置の保持する転送要求信号を復
旧させる手段を設けることを特徴とするデータ転送方式
A first device that controls the transfer of data of a predetermined number of words independently of the processor, and a second device that requests the second device to transfer data, transmits and holds a transfer request signal to the first device. a third device that restores the held transfer request signal upon receiving a transfer execution signal indicating that one word of data has been transferred from the first device; In the data transfer system, when a data transfer exceeding the number of words is requested, the first device transfers the data of the predetermined number of words, and then the processor discards the untransferred data held by the second device, A data transfer system characterized by providing means for restoring a transfer request signal held by the third device when the processor discards untransferred data held by the second device.
JP12882883A 1983-07-15 1983-07-15 Data transfer system Pending JPS6020270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12882883A JPS6020270A (en) 1983-07-15 1983-07-15 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12882883A JPS6020270A (en) 1983-07-15 1983-07-15 Data transfer system

Publications (1)

Publication Number Publication Date
JPS6020270A true JPS6020270A (en) 1985-02-01

Family

ID=14994409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12882883A Pending JPS6020270A (en) 1983-07-15 1983-07-15 Data transfer system

Country Status (1)

Country Link
JP (1) JPS6020270A (en)

Similar Documents

Publication Publication Date Title
EP0969384B1 (en) Method and apparatus for processing information, and providing medium
JPS6020270A (en) Data transfer system
JPS61251252A (en) Processing method for data transfer
JPS6320555A (en) Inter-computer communication system
JP2679440B2 (en) Information processing device
JP2961542B2 (en) Data processing system
JPS61250758A (en) Communication controller
JPH01192239A (en) Polling system in communication circuit
JPH05314061A (en) Bus interface control system
JP2981618B2 (en) Write order preservation method in pipeline computer system
JP2752919B2 (en) How to access shared memory
JPH0417492B2 (en)
JPH05173936A (en) Data transfer processing device
JPS616755A (en) Data transfer system
JPH04264648A (en) Input/output processor
JPS6294042A (en) Communication control equipment
JPH04150436A (en) Bus transferring system
JPS62282353A (en) Data transfer equipment
JPS61260350A (en) Parallel processing control system
JPH01248207A (en) Numerical controller
JPS5848135A (en) Data bus control system
JPH0287248A (en) Data transfer system
JPH0474747B2 (en)
JPS62217329A (en) Backup system for multi-system
JPH0573484A (en) Information processing system