[go: up one dir, main page]

JPH04235656A - Channel device control method - Google Patents

Channel device control method

Info

Publication number
JPH04235656A
JPH04235656A JP3001303A JP130391A JPH04235656A JP H04235656 A JPH04235656 A JP H04235656A JP 3001303 A JP3001303 A JP 3001303A JP 130391 A JP130391 A JP 130391A JP H04235656 A JPH04235656 A JP H04235656A
Authority
JP
Japan
Prior art keywords
dma
channel
failure
unit
wsa
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
JP3001303A
Other languages
Japanese (ja)
Inventor
Kiyoshi Takahashi
清 高橋
Toshiyuki Kitami
北見 稔之
Shigeharu Yamamoto
重春 山本
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 JP3001303A priority Critical patent/JPH04235656A/en
Publication of JPH04235656A publication Critical patent/JPH04235656A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Debugging And Monitoring (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

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

【0001】0001

【産業上の利用分野】本発明は電子計算機システムにお
けるチャネル装置制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel device control system in an electronic computer system.

【0002】0002

【従来の技術】従来より入出力装置と記憶装置とのデー
タの送受を行う場合に、CPUを介せず直接データ転送
を行うDMA機構を設ける転送方式が採用されている。 DMA機構は計算機システムの機能の高度化に伴い複数
個設けてデータ転送の高速化を図るようになっている。
2. Description of the Related Art Conventionally, when transmitting and receiving data between an input/output device and a storage device, a transfer method has been adopted in which a DMA mechanism is provided to directly transfer data without using a CPU. As the functions of computer systems become more sophisticated, a plurality of DMA mechanisms are provided to speed up data transfer.

【0003】図6には従来の電子計算機の従来のDMA
機構(以下DMAと略する。)とチャネルの関係を示す
。図において、10はデータを格納する記憶装置、33
及び34はワークステーションを制御するワークステー
ションアダプタ(以下WSAと略する。)、11及び1
2は記憶装置とデータの授受を行うDMA、2はDMA
とWSAとのデータ転送路を設定するDMAチャネル切
換部、20は電源投入後直ちに起動され初期状態を設定
する初期状態設定プログラムである。図において二つの
DMAと二つのWSAとの組み合わせは電源投入時に、
初期状態設定プログラム20により決定され、WSA3
3はDMA11を使用し、WSA34はDMA12を使
用するように設定され、その後は変化しない。
FIG. 6 shows a conventional DMA of a conventional electronic computer.
The relationship between a mechanism (hereinafter abbreviated as DMA) and a channel is shown. In the figure, 10 is a storage device for storing data; 33
and 34 are workstation adapters (hereinafter abbreviated as WSA) that control the workstation, 11 and 1
2 is a DMA that exchanges data with the storage device; 2 is a DMA
The DMA channel switching unit 20 that sets the data transfer path between the WSA and the WSA is an initial state setting program that is activated immediately after power is turned on and sets the initial state. In the figure, when the power is turned on, the combination of two DMAs and two WSAs:
Determined by the initial state setting program 20, WSA3
3 uses DMA11, WSA34 is set to use DMA12, and does not change thereafter.

【0004】そこで、一つのDMA11に障害が発生し
、動作不能となった時はそのDMA11に接続されてい
るWSA33と記憶装置10はデータの授受が出来ず、
システムダウンとなる。
[0004] Therefore, when a failure occurs in one DMA 11 and it becomes inoperable, the WSA 33 connected to that DMA 11 and the storage device 10 cannot exchange data.
The system goes down.

【0005】[0005]

【発明が解決しようとする課題】従来は二つあるDMA
のどちらに障害が発生してもWSAと記憶装置の間のデ
ータ転送が不能となりシステムダウンになるという問題
があった。
[Problem to be solved by the invention] Conventionally, there are two types of DMA
There is a problem in that even if a failure occurs in either of them, data transfer between the WSA and the storage device becomes impossible and the system goes down.

【0006】本発明はこのような点にかんがみて、二つ
あるDMAのどちらに障害が発生しても障害を検出して
、他のDMAと、該障害となったDMAと組になったW
SAとを接続してデータ転送を行い業務を続行する手段
を提供することを目的とする。
In view of these points, the present invention detects a failure even if a failure occurs in either of the two DMAs, and connects another DMA to a W paired with the failed DMA.
The purpose is to provide a means to connect with the SA, transfer data, and continue business operations.

【0007】[0007]

【課題を解決するための手段】上記の課題は下記の如く
に構成されたチャネル装置制御方式によって解決される
。図1は、本発明の原理図である。
[Means for Solving the Problems] The above problems are solved by a channel device control system configured as follows. FIG. 1 is a diagram showing the principle of the present invention.

【0008】二つのDMA機構11,12 と二つの入
出力制御装置31,32 とを結合するDMAチャネル
切換部2 を有するチャネル装置において、前記複数の
DMA機構11,12 のいずれか一つの障害状態を検
出する固定故障状態認識部4 と、該固定故障状態認識
部4 からの信号によりDMA機構11,12 への入
力を切り替えるDMA切替部6 と、前記DMAチャネ
ル切換部2 から前記二つの入出力制御装置31,32
 を選択するDMAチャネル共同利用部5 を設けるこ
とにより、DMA機構の障害が発生したとき、該固定故
障状態認識部4 で障害を検出して、前記DMA切替部
6 により障害でないDMA機構に切替え、DMAチャ
ネル共同利用部5 により該DMA機構から前記二つの
入出力制御装置31,32 を選択してデータ転送を行
うように構成する。
[0008] In a channel device having a DMA channel switching section 2 that connects two DMA mechanisms 11, 12 and two input/output control devices 31, 32, if any one of the plurality of DMA mechanisms 11, 12 is in a failure state. a fixed fault state recognition section 4 that detects the fixed fault state recognition section 4; a DMA switching section 6 that switches inputs to the DMA mechanisms 11 and 12 according to a signal from the fixed fault state recognition section 4; Control devices 31, 32
By providing a DMA channel sharing unit 5 that selects a DMA mechanism, when a failure occurs in a DMA mechanism, the fixed failure state recognition unit 4 detects the failure, and the DMA switching unit 6 switches to a DMA mechanism that is not at fault; The configuration is such that the DMA channel sharing unit 5 selects the two input/output control devices 31 and 32 from the DMA mechanism to perform data transfer.

【0009】[0009]

【作用】固定故障状態認識部4 により二つのDMAの
いずれか一つの障害状態を検出して、DMA切替部6 
により障害でないDMA機構に切替え、DMAチャネル
共同利用部5 により別のDMAから前記二つの入出力
制御装置を選択してデータ転送を行う。
[Operation] The fixed fault state recognition unit 4 detects a fault state in one of the two DMAs, and the DMA switching unit 6
Then, the DMA channel sharing unit 5 selects the two input/output control devices from another DMA and performs data transfer.

【0010】0010

【実施例】図2は本発明の実施例の構成図である。図に
おいて、4はDMAの固定故障を検出する固定故障状態
認識部、6は二つのDMAを切り替えるDMA切替部、
5はDMAチャネル切換部2 を二つのWSAで共同し
て利用するためのDMAチャネル共同利用部である。そ
の他、図3と同一符号の物は同一物である。
Embodiment FIG. 2 is a block diagram of an embodiment of the present invention. In the figure, 4 is a fixed fault state recognition unit that detects a fixed DMA fault, 6 is a DMA switching unit that switches between two DMAs,
Reference numeral 5 denotes a DMA channel sharing unit for jointly using the DMA channel switching unit 2 between two WSAs. Other components having the same reference numerals as those in FIG. 3 are the same.

【0011】図において、初期状態設定プログラムはフ
ァームウェアで構成されており、電源投入直後直ちに起
動され、DMAチャネル切換部2 の内部で二つのDM
Aと二つのWSAの結合をDMA11でWSA33のデ
ータ転送を処理し、DMA12でWSA34のデータ転
送を処理するように設定する。DMA11が障害になる
と固定故障状態認識部4 により検出され、固定故障状
態認識部4 からの信号でDMA切替部6 はDMA1
2を選択するよう設定され、DMAチャネル切換部2 
とDMAチャネル共同利用部5 が接続される。そこで
、従来記憶装置10、DMA11、DMAチャネル切換
部2 、WSA33のルートで行われていたデータ転送
は記憶装置10、DMA切替部6 、DMA12、DM
Aチャネル切換部2 、DMAチャネル共同利用部5 
、WSA33という経路で行われる。
[0011] In the figure, the initial state setting program is composed of firmware, is started immediately after power is turned on, and is configured to control two DMs within the DMA channel switching unit 2.
The connection between A and the two WSAs is set so that the DMA 11 processes the data transfer of the WSA 33, and the DMA 12 processes the data transfer of the WSA 34. When the DMA 11 becomes a failure, it is detected by the fixed fault state recognition unit 4, and the DMA switching unit 6 switches the DMA 1 to
2, and the DMA channel switching section 2
and the DMA channel sharing unit 5 are connected. Therefore, the data transfer that was conventionally performed through the route of the storage device 10, DMA 11, DMA channel switching unit 2, and WSA 33 is now
A channel switching unit 2, DMA channel sharing unit 5
, WSA33.

【0012】図3(A) はファームウェアで構成した
固定故障状態認識部4 及びDMA切替部6 のフロー
チャートである。ステップ61でデータ転送命令を実行
した後、ステップ62で結果報告を調査し、その中でD
MA転送不良の報告があるかどうかステップ63で調べ
る。もし転送不良の報告がなければステップ64でいま
使用したDMAの番号を調べて、ステップ65で該当D
MAのエラー回数の記録を零にして、正常のルートに戻
る。
FIG. 3(A) is a flowchart of the fixed failure state recognition unit 4 and DMA switching unit 6 configured by firmware. After executing the data transfer command in step 61, the result report is examined in step 62, in which
It is checked in step 63 whether there is a report of MA transfer failure. If no transfer failure is reported, the number of the DMA just used is checked in step 64, and the corresponding DMA is transferred in step 65.
Clear the MA error count record to zero and return to the normal route.

【0013】もしDMA転送不良の報告があれば、ステ
ップ66でエラーを発生したDMAの番号を調べて、ス
テップ67でエラーの回数を+1し、ステップ68で規
定の回数以上発生しているかどうか調べる。所定の回数
以上発生していればステップ69でDMAの故障状態フ
ラグがONになっているかを調べ、ONになっていれば
処理を終了する。又、ステップ68でエラーの発生が規
定の回数以下であれば処理を終了する。又、ステップ6
9でDMAの故障状態フラグがONになっていなければ
、ステップ70で故障状態フラグをONにして、ステッ
プ71で正常側のDMAの番号を記録する。ステップ7
2で正常側のDMAの番号を調べ、#1であればステッ
プ73でWSA#1にDMA#1を指定し、#2であれ
ばWSA#0にDMA#2を指定して終了する。
If a DMA transfer failure is reported, the number of the DMA in which the error has occurred is checked in step 66, the number of errors is incremented by 1 in step 67, and it is checked in step 68 whether the number of errors has occurred more than a specified number of times. . If it has occurred a predetermined number of times or more, it is checked in step 69 whether the DMA failure state flag is turned on, and if it is turned on, the process ends. Further, if the number of occurrences of errors is less than a predetermined number in step 68, the process is terminated. Also, step 6
If the failure state flag of the DMA is not turned on in step 9, the failure state flag is turned on in step 70, and the number of the normal DMA is recorded in step 71. Step 7
In step 2, the number of the normal DMA is checked, and if it is #1, DMA #1 is designated as WSA #1 in step 73, and if it is #2, DMA #2 is designated as WSA #0, and the process ends.

【0014】図4と図5はファームウェアで構成したD
MAチャネル共同利用部5 のフローチャートである。 WSAの起動により動作を開始する。ステップ77でD
MA故障状態フラグがONかを調べ、OFF であれば
正常ルートに戻る。ONであれば、ステップ76でDM
Aが動作中かを調べ、動作中であればステップ80に進
み、動作中でなければステップ77でDMAの動作終了
待ちがあるかを調べ、終了待ちがあれば、ステップ83
に進む。なければステップ78に進み、WSAの動作で
DMAを使用するかを調べ、使用するのであれば、ステ
ップ79でDMA動作中フラグをONにして正常ルート
に戻り、使用しないときは何もせず正常ルートに戻る。
FIGS. 4 and 5 show D configured with firmware.
It is a flowchart of the MA channel sharing unit 5. The operation starts when the WSA is activated. D at step 77
Check whether the MA failure state flag is ON, and if it is OFF, return to the normal route. If ON, DM in step 76
Check whether A is in operation, and if it is in operation, proceed to step 80; if not, proceed to step 77 to check whether there is a wait for DMA operation to end; if there is, step 83
Proceed to. If not, proceed to step 78 and check whether DMA is used in the WSA operation. If it is used, turn on the DMA operation flag in step 79 and return to the normal route. If not, do nothing and return to the normal route. Return to

【0015】ステップ80では、WSAの動作でDMA
を使用するかを調べ、使用するのであれば、現在動作中
の他のWSAの動作終了を待つためステップ81でDM
A終了待ちフラグをONにして、ステップ82でこれか
ら動作させるWSAの動作を中止して終了する。又、D
MAを使用しなければ正常ルートに戻る。
In step 80, the WSA operates to perform DMA
If it is to be used, the DM is sent in step 81 to wait for the other currently operating WSAs to complete their operations.
The A completion wait flag is turned ON, and in step 82, the operation of the WSA to be operated from now on is stopped and the process ends. Also, D
If MA is not used, the normal route is returned.

【0016】ステップ83ではDMAの終了を待ち、終
了するとステップ84に進み、正常なDMAの番号を調
べ、#1であればステップ86に進み、現在DMAの空
き待ちで待機しているWSAのDMA使用条件をDMA
#1に設定し、#2であればステップ87に進み、現在
DMAの空き待ちで待機しているWSAのDMA使用条
件をDMA#2に設定する。ステップ88に進み待機し
ているWSAを起動して動作を再開する。
[0016] In step 83, the process waits for the end of the DMA, and when it is finished, the process proceeds to step 84, where the normal DMA number is checked, and if it is #1, the process proceeds to step 86, where the DMA of the WSA currently waiting for a free DMA is checked. DMA the terms of use
If it is #2, the process advances to step 87, and the DMA usage condition of the WSA currently waiting for a free DMA is set to DMA #2. Proceeding to step 88, the standby WSA is activated and operation is resumed.

【0017】以上でDMAチャネル共同利用部の機能で
ありDMAチャネル切換部と二つのWSA33,34 
との通信路を開設してデータ転送を可能にする。このよ
うに構成することによってハードウェアを増加すること
なく、容易にDMAの固定障害に対する回復機能を持た
せることが出来る。
The above describes the functions of the DMA channel sharing unit, which includes the DMA channel switching unit and the two WSAs 33 and 34.
Establish a communication channel with and enable data transfer. With this configuration, a recovery function for fixed DMA failures can be easily provided without increasing hardware.

【0018】[0018]

【発明の効果】以上の説明から明らかなように本発明に
よればDMAの固定障害に対するリカバリ機能を持たせ
業務の続行を図ることが出来る、という著しい工業的効
果がある。
[Effects of the Invention] As is clear from the above description, the present invention has a remarkable industrial effect in that it is possible to continue business operations by providing a recovery function against a fixed DMA failure.

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

【図1】  本発明の原理図[Figure 1] Principle diagram of the present invention

【図2】  本発明の実施例の構成図[Figure 2] Configuration diagram of an embodiment of the present invention

【図3】  本発明の実施例のフローチャート(その1
[Figure 3] Flowchart of the embodiment of the present invention (Part 1)
)

【図4】  本発明の実施例のフローチャート(その
2)
[Figure 4] Flowchart of the embodiment of the present invention (Part 2)

【図5】  本発明の実施例のフローチャート(そ
の3)
[Figure 5] Flowchart of the embodiment of the present invention (part 3)

【図6】  従来のDMA機構とチャネルの関係
の説明図
[Figure 6] Explanatory diagram of the relationship between the conventional DMA mechanism and channels

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

2    DMAチャネル切換部 4    固定故障状態認識部 5    DMAチャネル共同利用部 6    DMA切替部 10    記憶装置               
   11,12    DMA機構 20    初期状態設定プログラム 31,32    入出力制御装置 33,34    WSA
2 DMA channel switching section 4 Fixed failure state recognition section 5 DMA channel sharing section 6 DMA switching section 10 Storage device
11, 12 DMA mechanism 20 Initial state setting program 31, 32 Input/output control device 33, 34 WSA

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  二つのDMA機構(11,12) と
二つの入出力制御装置(31,32) とを結合するD
MAチャネル切換部(2) を有するチャネル装置にお
いて、前記複数のDMA機構(11,12) のいずれ
か一つの障害状態を検出する固定故障状態認識部(4)
 と、該固定故障状態認識部(4) からの信号により
DMA機構(11,12) への入力を切り替えるDM
A切替部(6) と、前記DMAチャネル切換部(2)
 から前記二つの入出力制御装置(31,32) を選
択するDMAチャネル共同利用部(5) を設けること
により、DMA機構の障害が発生したとき、該固定故障
状態認識部(4) で障害を検出して、前記DMA切替
部(6) により障害でないDMA機構に切替え、DM
Aチャネル共同利用部(5) により該DMA機構から
前記二つの入出力制御装置(31,32) を選択して
データ転送を行うことを特徴とするチャネル装置制御方
式。
[Claim 1] A D that connects two DMA mechanisms (11, 12) and two input/output control devices (31, 32).
In a channel device having an MA channel switching unit (2), a fixed failure state recognition unit (4) detects a failure state of any one of the plurality of DMA mechanisms (11, 12).
and a DM that switches the input to the DMA mechanism (11, 12) based on the signal from the fixed fault state recognition unit (4).
A switching section (6) and the DMA channel switching section (2)
By providing a DMA channel sharing unit (5) that selects the two input/output control devices (31, 32) from the above, when a failure occurs in the DMA mechanism, the fixed failure status recognition unit (4) can detect the failure. The DMA switching unit (6) switches to a non-faulty DMA mechanism, and the DMA
A channel device control system characterized in that an A channel sharing unit (5) selects the two input/output control devices (31, 32) from the DMA mechanism and performs data transfer.
JP3001303A 1991-01-10 1991-01-10 Channel device control method Pending JPH04235656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3001303A JPH04235656A (en) 1991-01-10 1991-01-10 Channel device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3001303A JPH04235656A (en) 1991-01-10 1991-01-10 Channel device control method

Publications (1)

Publication Number Publication Date
JPH04235656A true JPH04235656A (en) 1992-08-24

Family

ID=11497716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3001303A Pending JPH04235656A (en) 1991-01-10 1991-01-10 Channel device control method

Country Status (1)

Country Link
JP (1) JPH04235656A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100403620B1 (en) * 2001-02-28 2003-10-30 삼성전자주식회사 Communication system and method for raising coefficient of utilization of channels
JP2019028750A (en) * 2017-07-31 2019-02-21 日立オートモティブシステムズ株式会社 Data transfer device
JP2020160986A (en) * 2019-03-27 2020-10-01 株式会社デンソー Controller and diagnostic program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100403620B1 (en) * 2001-02-28 2003-10-30 삼성전자주식회사 Communication system and method for raising coefficient of utilization of channels
JP2019028750A (en) * 2017-07-31 2019-02-21 日立オートモティブシステムズ株式会社 Data transfer device
JP2020160986A (en) * 2019-03-27 2020-10-01 株式会社デンソー Controller and diagnostic program

Similar Documents

Publication Publication Date Title
US5058056A (en) Workstation takeover control
US5717852A (en) Multiple bus control method and a system thereof
JPH04235656A (en) Channel device control method
JP2827713B2 (en) Redundant device
JPH0572143B2 (en)
KR100296403B1 (en) Redundancy Implementation in Communication Systems
JPS62271150A (en) Error handling method in common bus structure
JPS60217445A (en) Communication controller switching system
JPH04101255A (en) Bus backup mechanism
JPH0251950A (en) Electronic exchange duplex system
JPH0865329A (en) Transmission control method
JPH0454747A (en) Data transfer system
JPH0635816A (en) Multi-cpu sustem
JPH0461385B2 (en)
JPH04185138A (en) Communication controller
JPH01302944A (en) Data communication equipment
KR19980057607A (en) Redundancy
JPH0563711A (en) Data collection system
JPH0635736A (en) Duplex processor
JPH06232943A (en) Communication equipment
JPS6280746A (en) Communication control device
JPH09219746A (en) Failure notification method in control system
JPS59186450A (en) Communication control equipment
JPS60206243A (en) Electronic exchange device
JP2000324199A (en) Duplex communication circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990928