Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5951020B2 - Time monitoring timer set control method - Google Patents
[go: Go Back, main page]

JPS5951020B2 - Time monitoring timer set control method - Google Patents

Time monitoring timer set control method

Info

Publication number
JPS5951020B2
JPS5951020B2 JP54158642A JP15864279A JPS5951020B2 JP S5951020 B2 JPS5951020 B2 JP S5951020B2 JP 54158642 A JP54158642 A JP 54158642A JP 15864279 A JP15864279 A JP 15864279A JP S5951020 B2 JPS5951020 B2 JP S5951020B2
Authority
JP
Japan
Prior art keywords
line
data
time
channel device
timer
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.)
Expired
Application number
JP54158642A
Other languages
Japanese (ja)
Other versions
JPS5680736A (en
Inventor
昇 山本
健一 岡田
信次 佐々木
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 JP54158642A priority Critical patent/JPS5951020B2/en
Publication of JPS5680736A publication Critical patent/JPS5680736A/en
Publication of JPS5951020B2 publication Critical patent/JPS5951020B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明は、時間監視タイマ・セット制御方式、特に中央
処理装置と主記憶装置とチャネル装置と複数のライン・
アダプタとを有するデータ伝送システムにおいて、従来
各ライン・アダプタ上に時間監視タイマがハードウェア
設定されて通信時の時間監視を行なつていた点に代えて
、上記各ライン・アダプタ対応の時間監視タイマを上記
チャネル装置上にもうけ、チャネル装置によつて随時初
期値セットを行なうようにしてタイマ設定ミスなどを防
止するようにした時間監視タイマ・セット制御方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a time monitoring timer set control method, particularly a central processing unit, a main memory unit, a channel unit, and a plurality of line units.
In a data transmission system having an adapter, instead of conventionally having a time monitoring timer set in hardware on each line adapter to monitor time during communication, a time monitoring timer compatible with each of the above line adapters is used. This invention relates to a time monitoring timer set control system which is provided on the channel device and sets an initial value as needed by the channel device to prevent timer setting errors.

従来から通信回線を介して端末装置と通信を行なう場合
、端末装置などから応答がなかつたときに無通信状態に
陥ることを防止するためにタイマによる時間監視を行な
うようにしている。
Conventionally, when communicating with a terminal device via a communication line, time has been monitored using a timer in order to prevent the communication from falling into a state of no communication when there is no response from the terminal device.

即ち、タイマ・エンド時に再試行を行なうなどの対策を
とるようにしている。このタイマの時間長設定には通信
回線の回線速度や通信制御手順上の1区切りのデータの
最大長などがパラメータとされて最適値が決定されるが
、従来各ライン・アダプタ上にハードウェア設定してお
り、このためにタイマの時間長設定に人為的な設定ミス
などを招く危険性があつた。本発明は上記の点を解決す
ることを目的としており、本発明の時間監視タイマ・セ
ット制御方式は、チャネル装置と該チャネル装置に接続
される複数のライン・アダプタとを有し、チャネル装置
とライン・アダプタに接続される端末装置との間で、時
間が監視されつつデータを送受せしめるデータ伝送シス
テムにおいて、上記各ライン・アダプタに対応して設け
られる時間監視用タイマを上記チヤネル装置上に一括し
て設けるとともに、上記各ライン・アダプタに、対応す
る回線の速度に関連する情報を設定する設定部とこの設
定部からの読み出し手段とを設け、上記チヤネル装置に
、上記読み出し手段で読み出した設定値に基づいて上記
各ライン・アダプタにおける監視時間を決定し、監視時
間に対応する上記各タイマの初期値をセツトする手段を
設け、上記各ライン・アダプタに対する通信開始時に上
記初期値でもつて上記時間監視タイマをセツトするよう
にしたことを特徴としている。
That is, measures are taken such as retrying when the timer ends. The optimum value for setting the time length of this timer is determined using parameters such as the line speed of the communication line and the maximum length of data in one section in the communication control procedure. Therefore, there was a risk of human error in setting the time length of the timer. The present invention aims to solve the above-mentioned problems, and the time monitoring timer set control method of the present invention includes a channel device and a plurality of line adapters connected to the channel device. In a data transmission system that sends and receives data while monitoring the time between terminal devices connected to line adapters, the time monitoring timers provided for each of the line adapters are integrated on the channel device. In addition, each of the line adapters is provided with a setting section for setting information related to the speed of the corresponding line and a reading means from this setting section, and the setting section read by the reading means is provided in the channel device. Means is provided to determine the monitoring time in each of the above line adapters based on the value, and to set an initial value of each of the above timers corresponding to the monitoring time, and when communication to each of the above line adapters is started, the above time is set with the above initial value. The feature is that a monitoring timer is set.

以下図面を参照しつつ説明する。第1図は本発明が適用
されるデータ伝送システムの一実施例構成、第2図はチ
ヤネル装置の一実施例構成、第3図はライン・アダプタ
の一実施例構成を示す。第1図において、CPUは中央
処理装置、MEMは主記憶装置、C−BUSはバス、1
はチヤネル装置、2はマイクロ・プロセツサであつてチ
ヤネル装置を制御するもの、3はチヤネル装置内主メモ
リ、4−0ないし4−7は夫々ライン・アダプ夕、5は
LAバスを表わしている。
This will be explained below with reference to the drawings. FIG. 1 shows the configuration of an embodiment of a data transmission system to which the present invention is applied, FIG. 2 shows the configuration of an embodiment of a channel device, and FIG. 3 shows the configuration of an embodiment of a line adapter. In Figure 1, CPU is a central processing unit, MEM is a main memory, C-BUS is a bus,
2 is a channel device, 2 is a microprocessor that controls the channel device, 3 is a main memory within the channel device, 4-0 to 4-7 are line adapters, and 5 is an LA bus.

またTIMは夕イマを表わしている。中央処理装置CP
Uが例えばライン・アダプタ4−0に接続されている図
示しない1つの端末にヂータを送信する場合、次の如く
行なわれる。
Also, TIM represents evening time. central processing unit CP
When U transmits data to one terminal (not shown) connected to line adapter 4-0, for example, the process is as follows.

即ち、(1)中央処理装置CPUは、主記憶装置MEM
上のデータ・バツフア領域に送信データをセツトする。
That is, (1) the central processing unit CPU is connected to the main memory MEM
Set the transmission data in the upper data buffer area.

そして、当該送信データの格納位置を表わすアドレス情
報や送信データの長さを表わすレングス情報をチヤネル
装置1に通知する。即ちセンド・コマンドを発する。(
2)これによつて、チヤネル装置1は、DMA制御によ
つて上記主記憶装置MEM上の送信デー夕を第1図図示
の装置内主メモリ3上に写し取つてコピー・データをつ
くり、上記主記憶装置MEM上のデータ・バツフア領域
を解放する。
Then, the channel device 1 is notified of address information representing the storage location of the transmission data and length information representing the length of the transmission data. That is, issue a send command. (
2) Thereby, the channel device 1 copies the transmission data on the main memory device MEM to the main memory 3 in the device shown in FIG. 1 under DMA control, and creates copy data. Free the data buffer area on the main memory MEM.

(3)次いでチヤネル装置1はライン・アダプタ40に
対して送信コマンドを発し、ライン・アダプタ4−0は
DMA制御によつて上記装置内主メモリ3上のコピー・
データを例えば1バイトずつ読取つて図示しない端末装
置に送信する。(4)この場合、必要に応じてタイマが
起動されて時間監視を行なうが、本発明の場合、第1図
図示の如く各ライン・アダプタ対応にもうけられるタイ
マをチヤネル装置1上にもうけておき、上記タイマ起動
に当つて初期値をプリセツトするようにされる。
(3) Next, the channel device 1 issues a transmission command to the line adapter 40, and the line adapter 4-0 sends the copy data in the device's main memory 3 under DMA control.
For example, data is read one byte at a time and transmitted to a terminal device (not shown). (4) In this case, a timer is activated as necessary to monitor the time, but in the case of the present invention, a timer corresponding to each line adapter is provided on the channel device 1 as shown in FIG. , the initial value is preset when starting the timer.

(5)上記処理(3)に述べた送信がすべて正常に終了
すると、チヤネル装置]は中央処理装置CPUに対して
この旨を報告する。
(5) When all the transmissions described in the above process (3) are completed normally, the channel device] reports this to the central processing unit CPU.

(6)上記処理(3)に述べた送信の間に、上記タイマ
TIMがタイマ・エンドとなると何んらかの障害を生じ
たものであり、図示マイクロ・プロセツサ2に対して割
込みがかけられる。
(6) During the transmission described in process (3) above, if the timer TIM reaches the timer end, some kind of failure has occurred, and an interrupt is issued to the illustrated microprocessor 2. .

上記において概念的に説明した如くデータ送信が行なわ
れるが、ライン・アダプタ側からのデ一夕を受信する場
合にも、必要に応じて上記タイマTIMが起動されて時
間監視が行なわれることは言うまでもない。
Data transmission is performed as conceptually explained above, but it goes without saying that when data is received from the line adapter side, the timer TIM is activated as necessary to monitor the time. stomach.

上記タイマの時間長は、回線速度や通信制御手順の1区
切りのデータの最大長などにもとづいて決定されるもの
であるが、従来システムにおいては、該タイマが各ライ
ン・アダプ夕4−0, 4−1,・・・・・・などにい
わゆるハードウエア設定によつて設定されており、通信
に当つて上記タイマが起動されるようにされていたと考
えてよい。このために、上記タイマの時間長をハードウ
エア設定するに当つて人為的なミスを生じたり、あるい
は回線速度などを切替えようとする場合の融通性が劣つ
ていた。このために、本発明の場合、各ライン・アダプ
タ4−0, 4−1,・・・・・・に対応してもうけら
れるタイマTIMをチヤネル装置1上に一括してもうけ
ておき、チヤネル装置1が各ライン・アダプタ4−0,
4−1,・・・・・・の回線速度を読取つてそれに対
応した初期値を初期値レジスタに与えておき、通信開始
時に当該初期値をカウンタにプリセツトするようにし、
上記の問題点を解決するようにしている。以下第2図お
よび第3図を参照して具体的に説明する。
The time length of the above-mentioned timer is determined based on the line speed and the maximum length of data in one section of the communication control procedure, but in the conventional system, the timer is 4-1, . . . , by so-called hardware settings, and it can be considered that the timer is started at the time of communication. For this reason, human errors may occur when setting the time length of the timer in hardware, or flexibility may be poor when attempting to change line speeds, etc. For this reason, in the case of the present invention, timers TIM corresponding to each line adapter 4-0, 4-1, . . . are provided all at once on the channel device 1. 1 for each line adapter 4-0,
4-1, . . . , read the line speed, give the corresponding initial value to the initial value register, and preset the initial value to the counter at the start of communication.
We are trying to solve the above problems. A detailed explanation will be given below with reference to FIGS. 2 and 3.

第2図は本発明におけるセンタ側装置の一実施例構成、
第3図は本発明におけるライン・アダプ夕側の一実施例
構成を示す。
FIG. 2 shows the configuration of an embodiment of the center side device according to the present invention.
FIG. 3 shows the configuration of an embodiment of the line adapter side according to the present invention.

図において、符号1, 2, 3,4−0ないし47,
5は第1図に対応し、8−0ないし8−7は夫々装置
内主メモリ3のデータ・バツフア域であつて上述のコピ
ー・データが格納されるようになつており各ライン・ア
ダプタ4−0ないし47対応に用意されるもの、9は装
置内主メモリ・アドレス格納部であつて内部が各ライン
・アダプ夕4−0ないし4−7対応に区分されており対
応するライン・アダプタがDMA制御によるデータ送受
を行なう際のDMAアドレス情報が格納されるもの、1
0はレングス情報格納部であつて内部が各ライン・アダ
プタ4−0ないし4−7対応に区分されており対応する
ライン・アダプタがDMA制御によるデータ送受を行な
う際の転送バイト数を管理するレングス情報が格納され
るもの、11はDMAアドレス情報カウント・アツプ回
路であつてDMA制御による主メモリ・アタセスが行な
われた都度当該DMAアドレス情報を更新するもの、]
2はレングス情報更新回路であつてDMA制御によるデ
一夕転送が行なわれた都度当該レングス情報を更新する
もの、13はMS/DMAエンコーダ・デコーダであつ
て主メモリ・アクセスを管理するもの、14, 15,
16は,夫々マルチプレクサ、17は双方向性ドライ
バ、18−0は双方向性バツフア、19−0は送信デー
タ・レジスタ、20−0は送信データ保持レジスタであ
つてシリヤル・データに変換してモデムに送出するもの
、21−0は受信データ保持レジ,スタであつてモデム
からの受信データをパラレル・データに変換して転送す
るもの、22−0は受信データ・レジスタ、23−0は
ステータス・レジスタ(回線インタフエース情報保持レ
ジス夕)、24−0は回線スピード設定部、25−0,
ないし28−0は夫々フリツプ・フロツプ、29−0は
送信ドライバ、30−0はレシーバ、31,32は夫々
アンド回路、33はオア回路を表わしている。
In the figure, the symbols 1, 2, 3, 4-0 to 47,
5 corresponds to FIG. 1, and 8-0 to 8-7 are data buffer areas of the main memory 3 in the device, respectively, in which the above-mentioned copy data is stored. -0 to 47, 9 is the main memory address storage part in the device, and the inside is divided into 4-0 to 4-7 corresponding line adapters. Storage of DMA address information when transmitting and receiving data under DMA control, 1
0 is a length information storage section, which is internally divided into sections corresponding to each line adapter 4-0 to 4-7, and is a length that manages the number of transferred bytes when the corresponding line adapter transmits and receives data under DMA control. 11 is a DMA address information count up circuit that updates the DMA address information each time a main memory access is performed under DMA control.]
2 is a length information update circuit that updates the length information each time a data transfer is performed under DMA control; 13 is an MS/DMA encoder/decoder that manages main memory access; 14 , 15,
16 is a multiplexer, 17 is a bidirectional driver, 18-0 is a bidirectional buffer, 19-0 is a transmitting data register, and 20-0 is a transmitting data holding register, which converts it into serial data and sends it to the modem. 21-0 is a receive data holding register, which converts the received data from the modem into parallel data and transfers it, 22-0 is a receive data register, and 23-0 is a status register. Register (line interface information holding register), 24-0 is line speed setting section, 25-0,
28-0 to 28-0 are flip-flops, 29-0 is a transmission driver, 30-0 is a receiver, 31 and 32 are AND circuits, and 33 is an OR circuit.

また第2図図示左辺に位置する341, 34−2,
34−3は夫々タイマ部TIM.であつて回線速度に対
応して各回線速度毎にライン・アダプタに対応する例え
ば8個のタイマをもつもの、35はMPUiRQエンコ
ーダであつて例えば上述のタイマのいずれかがタイマ・
エンドを生じたときにマイクロ・プロセツサ2に対して
割・込みをかけるものを表わしている。図示の場合、各
ライン・アダプタ4−0, 4−1,・・・・・・にも
うけられるDMA制御部に本来位置しているDMAアド
レス・レジスタやレングス情報レジスタがチヤネル装置
1上に上記装置内主メモリ・アドレス格納部9やレング
ス情報格納部10として位置されている。
Also, 341, 34-2, located on the left side of Figure 2,
34-3 are respective timer units TIM. 35 is an MPUiRQ encoder, and 35 is an MPUiRQ encoder, and for example, one of the above-mentioned timers has eight timers corresponding to each line adapter for each line speed.
This represents what interrupts the microprocessor 2 when an end occurs. In the case shown in the figure, the DMA address register and length information register originally located in the DMA control section provided in each line adapter 4-0, 4-1, . . . are located on the channel device 1. It is located as an internal main memory address storage section 9 and a length information storage section 10.

そして、例えばライン・アダプタ4−0からDMA制御
要求MDRQ0が与えられると、チヤネル装置1上で上
記装置内主メモリ・アドレス格納部9やレングス情報格
納部10からライン・アダプタ4−0に対応した情報が
読出されて、装置内主メモリ3とライン・アダプタ4−
0との間でデータ送受が行なわれるものと考えてよい。
即ち今マイクロ・プロセツサ2側からライン・アダプタ
4−0側へデータ転送が行なわれる場合、マイクロ・プ
ロセツサ2は第2図図示ドライバ17を介してライン・
アダプタ4ー0に示すフリツプ・フロツプ25−0をセ
ツトする。これによつて該フリツプ・フロツプ25一0
は送信データ・スタート信号SDSTを論理「1」とす
る。このときライン・アダプタ4−0上の送信データ・
レジスタ19−0が空き状態にあれば、フリツプ・フロ
ツプ28−0によつて送信レジスタ空き状態信号SBE
Pを論理「1」としていることから、アンド回路32、
オア回路33をへてDMA要求信号MDRQ0がライン
・アダプ夕4−0から発せられる。該要求信号MDRQ
Oは第2図図示のMS/DMAエンコーダ・デコーダ1
3に通知され、当該DMA要求を許す場合に上記MS/
DMAエンコーダ・デコーダ13はライン・アダプタ4
−0に対して確認信号MDAK0を返送する。
For example, when a DMA control request MDRQ0 is given from the line adapter 4-0, on the channel device 1, the internal main memory address storage section 9 and the length information storage section 10 correspond to the line adapter 4-0. The information is read out and stored in the main memory 3 and line adapter 4-
It can be considered that data is transmitted and received between 0 and 0.
That is, when data is transferred from the microprocessor 2 side to the line adapter 4-0 side, the microprocessor 2 transfers the line data via the driver 17 shown in FIG.
Set flip-flop 25-0 shown in adapter 4-0. This allows the flip-flop 25-
sets the transmission data start signal SDST to logic "1". At this time, the transmission data on line adapter 4-0
If the register 19-0 is empty, the flip-flop 28-0 outputs the transmit register empty status signal SBE.
Since P is set to logic "1", the AND circuit 32,
A DMA request signal MDRQ0 is issued from line adapter 4-0 via OR circuit 33. The request signal MDRQ
O is the MS/DMA encoder/decoder 1 shown in FIG.
3, and if the DMA request is permitted, the above MS/
DMA encoder/decoder 13 is connected to line adapter 4
-0, a confirmation signal MDAK0 is returned.

このとき、第2図図示装置内主メモリ・アドレス格納部
9にはライン・アダプタ4−0に対応した領域にDMA
アドレス情報がセツトされており、またレングス情報格
納部10には同様にライン・アダプ夕4−0に対応した
領域に当該DMA転送によつて転送されるべきデータの
バイト数が例えば「10」としてセツトされている。上
記確認信号MDAKOが返送されるとき、装置内主メモ
リ・アドレス格納部9からライン・アダプタ4−0に対
応した上記DMAアドレスAが読出されてマルチプレク
サ14を介して主メモリ3上のデータ・バツフア域8−
0がアクセスされ当該バツフア域8−0の内容がドライ
バ17を介して第3図図示のレジスタ19−0にセツト
される。このときアダプタ4−0からモデム側に送信さ
れることは言うまでもない。次いで上記DMAアドレス
Aが回路11をへて+1されて次のDMAアドレスとし
て(A+1)を用意する。一方レングス情報格納部10
から上記レングス情報「10」が読出され、回路12を
介してこの場合−1されて情報「9」としてレングス情
報格納部10に戻される。以下、装置内主メモリ・アド
レス格納部9の内容にもとづいて装置内主メモリ3が次
々とアタセスされ、送信データがライン・アダプタ4−
0に転送されてゆく。そして、上述した10バイト分の
デー夕を送信し終るときにレングス情報格納部10の,
レングス情報は値「0」となるが、該値「O」となつた
ことを指示するレングス零信号LGZがライン・アダプ
タ4−0に通知される。この結果第3図図示のアンド回
路31がオンされてフリツプ・フロツプ25−0がリセ
ツトされ、以後ライlン・アダプタ4−0はオア回路3
3を介してDMA要求信号MDRQOを発することがな
い。これによつてプロセツサ2側からライン・アダプタ
4−0へのデ゛一夕転送が終了する。また逆にライン・
アダプタ4−0側からマイタ二ロ・プロセツサ2側へデ
ータ転送を行なう場合、ライン・アダプタ4−0におけ
る受信データ・レジスタ22−0に1バイト分のデータ
がセツトされると、フリツプ・フロツプ26−0がセツ
トされてオア回路33をへてライン・アダプタ4−02
がDMA要求信号MDRQ0を発する。
At this time, the main memory address storage section 9 in the device shown in FIG.
Address information is set in the length information storage section 10, and the number of bytes of data to be transferred by the DMA transfer is set as "10" in the same way in the area corresponding to the line adapter 4-0. It is set. When the confirmation signal MDAKO is returned, the DMA address A corresponding to the line adapter 4-0 is read from the internal main memory address storage section 9 and sent to the data buffer on the main memory 3 via the multiplexer 14. Area 8-
0 is accessed and the contents of the buffer area 8-0 are set in the register 19-0 shown in FIG. 3 via the driver 17. Needless to say, the data is transmitted from the adapter 4-0 to the modem at this time. Next, the DMA address A is incremented by 1 through the circuit 11 to prepare (A+1) as the next DMA address. On the other hand, length information storage section 10
The length information "10" is read out from the circuit 12, in this case it is incremented by 1 and returned to the length information storage unit 10 as information "9". Thereafter, the main memory 3 in the device is accessed one after another based on the contents of the main memory address storage section 9 in the device, and the transmission data is transferred to the line adapter 4-
It will be transferred to 0. Then, when the transmission of the 10 bytes of data described above is completed, the length information storage section 10,
Although the length information has a value of "0", a length zero signal LGZ indicating that the value has become "O" is notified to the line adapter 4-0. As a result, the AND circuit 31 shown in FIG. 3 is turned on and the flip-flop 25-0 is reset.
The DMA request signal MDRQO is not issued via the DMA request signal MDRQO. This completes the data transfer from the processor 2 side to the line adapter 4-0. On the other hand, the line
When data is transferred from the adapter 4-0 side to the miteraniro processor 2 side, when one byte of data is set in the receive data register 22-0 of the line adapter 4-0, the flip-flop 26 -0 is set and passes through the OR circuit 33 to the line adapter 4-02.
issues a DMA request signal MDRQ0.

この場合にも第2図図示の装置内主メモリ・アドレス格
納部9にはライン・アダプタ4−0対応のDMAアドレ
ス情報が用意されており (データ・バツフア域8−0
内のアドレスが固定的に定められて準備さ.−れており
当該アドレスを指示している)、一方レングス情報格納
部10内のライン・アダプタ4−0に対応したレンダス
情報は値UO」となつている。上記DMA要求信号MD
RQ0にもとづいて第2図図示のMS/DMAエンコー
ダ・デコーダ133が確認信号MDAKOを返送するが
、このとき主メモリ・アドレス格納部9のライン・アダ
プタ4−0対応のDMAアドレス情報によつて主メモリ
3がアクセスされる。そして、第3図図示の受信データ
・レジスタ22−0の内容は双方向性バツフア18−0
から主メモリ3に格納されてゆく。そして、この場合、
レングス情報格納部10におけるライン・アダプタ4−
0対応のレングス情報は値「0」から回路12によつて
+1されてレングス情報格納部10に戻される。ライン
・アダプタ4−0からマイタロ・フ冶セツサ2側へのデ
ータ転送が終了すると、図示を省略した周知の構成によ
つてライン・アダプタ4−0はマイクロ・プロセツサ2
に対して割込みをかけて通知する。これによつて、プロ
セツサ2は主メモリ3上の当該データを読取つて第1図
図示の主記憶装置MEMに転送することは言うまでもな
い。以上説明した如く、データ送受信が行なわれるが、
これに先立つてチヤネル装置1は、各ライン・アダプタ
4−0, 4−1,・・・・・・に設定されている回線
スピード設定部24−0, 24−1,・・・・・・の
内容をレジスタ23−0, 23−1,・・・・・・を
読取ることによつて読込み、各ライン・アダプタ4−0
, 4−1,・・・・・・の回線速度に対応して、夕イ
マ部34−1, 34−2, 34−3内に各ライン・
アダプタ対応のタイマTIMを用意する。
In this case as well, DMA address information corresponding to the line adapter 4-0 is prepared in the internal main memory address storage section 9 shown in FIG.
The addresses within are fixed and prepared. - indicates the address), while the render information corresponding to the line adapter 4-0 in the length information storage section 10 has the value UO. The above DMA request signal MD
Based on RQ0, the MS/DMA encoder/decoder 133 shown in FIG. Memory 3 is accessed. The contents of the receive data register 22-0 shown in FIG.
It is then stored in the main memory 3. And in this case,
Line adapter 4- in length information storage section 10
The length information corresponding to 0 is incremented by 1 from the value "0" by the circuit 12 and returned to the length information storage section 10. When the data transfer from the line adapter 4-0 to the microprocessor 2 is completed, the line adapter 4-0 transfers the data to the microprocessor 2 using a well-known configuration not shown.
Notify by interrupting. As a result, it goes without saying that the processor 2 reads the data on the main memory 3 and transfers it to the main memory MEM shown in FIG. As explained above, data is sent and received, but
Prior to this, the channel device 1 sets the line speed setting units 24-0, 24-1, . . . to each line adapter 4-0, 4-1, . The contents of each line adapter 4-0 are read by reading the registers 23-0, 23-1, .
, 4-1, .
Prepare a timer TIM that is compatible with the adapter.

そして各ライン・アダプタ4−0, 4−1,・・・・
・・毎に最適なタイマ時間長を与えるべく初期値を決定
して、初期値レジスタに与えておく。例えばタイマTI
Mを構成するカウンタが値「127」によつてタイマ・
エンドを発するものとしてライン・アダプタ4−0に対
して時間長(クロツク数で数えて)値「80」を与える
場合、当該ライン・アダプ夕4−0に対応するタイマT
IMの初期値レジス夕には値「47」を与えておく。そ
して、ライン・アダプタ4−0に対する通信時に、チヤ
ネル装置1はライン・アダプタ4−0に対応するタイマ
TIMの初期値レジスタの値「47」をプリセツトされ
ているカウンタを起動するようにする。各ライン・アダ
プタ4−1, 4−2,・・・・・・についても同様で
゛ある。そしていずれかのライン・アダプタに対応する
タイマTIMがタイマ・エンドとなると、MPUiRQ
エンコーダ35を通知され、マイクロ・プロセツサ2に
対して割込みをかけるようにされる。以上説明した如く
、本発明によれば、各ライン・アダプタに対応するタイ
マをチヤネル装置1上に一括しておき、チヤネル装置1
が初期値を定めて初期値レジスタに保持しておき、通信
開始時に当該初期値レジスタの内容をプリセツトされた
カウンタを起動するようにしている。
And each line adapter 4-0, 4-1,...
An initial value is determined to give the optimum timer time length for each time, and is given to the initial value register. For example, timer TI
The counter that makes up M is set to the timer by the value "127".
When a time length (counted by the number of clocks) of "80" is given to line adapter 4-0 as an end signal, the timer T corresponding to line adapter 4-0 is
The value "47" is given to the initial value register of IM. Then, when communicating with line adapter 4-0, channel device 1 activates a counter preset with the value "47" in the initial value register of timer TIM corresponding to line adapter 4-0. The same applies to each line adapter 4-1, 4-2, . . . . When the timer TIM corresponding to any line adapter reaches the timer end, the MPUiRQ
The encoder 35 is notified and an interrupt is issued to the microprocessor 2. As explained above, according to the present invention, the timers corresponding to each line adapter are integrated on the channel device 1, and
An initial value is determined and held in an initial value register, and at the start of communication, a counter preset with the contents of the initial value register is activated.

このために、タイマ時間長の設定に当つて人為的なミス
がなくなり、また回線速度を切替える場合などにおいて
融通性が向上する。
This eliminates human error when setting the timer time length, and improves flexibility when switching line speeds.

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

第1図は本発明が適用されるデータ伝送システムの一実
施例構成、第2図はチヤネル装置の一実施例構成、第3
図はライン・アダプタの一実施例構成を示す。 図中、CPUは中央処理装置、MEMは主記憶装置、1
はチヤネル装置、2はマイクロ・プロセツサ、3はチヤ
ネル装置内主メモリ、4−0ないし4−7は夫々ライン
・アダプタ、TIMはタイマ、23−0はレジスタ、2
4−0は回線スピード設定部を表わしている。
FIG. 1 shows the configuration of an embodiment of a data transmission system to which the present invention is applied, FIG. 2 shows the configuration of an embodiment of a channel device, and FIG.
The figure shows one embodiment of a line adapter configuration. In the figure, CPU is a central processing unit, MEM is a main memory, 1
2 is a channel device, 2 is a microprocessor, 3 is a main memory within the channel device, 4-0 to 4-7 are line adapters, TIM is a timer, 23-0 is a register, 2
4-0 represents a line speed setting section.

Claims (1)

【特許請求の範囲】[Claims] 1 チャネル装置と該チャネル装置に接続される複数の
ライン・アダプタとを有し、チャネル装置とライン・ア
ダプタに接続される端末装置との間で、時間が監視され
つつデータを送受せしめるデータ伝送システムにおいて
、上記各ライン・アダプタに対応して設けられる時間監
視用タイマを上記チャネル装置上に一括して設けるとと
もに、上記各ライン・アダプタに、対応する回線の速度
に関連する情報を設定する設定部とこの設定部からの読
み出し手段とを設け、上記チャネル装置に、上記読み出
し手段で読み出した設定値に基づいて上記各ライン・ア
ダプタにおける監視時間を決定し、監視時間に対応する
上記各タイマの初期値をセットする手段を設け、上記各
ライン・アダプタに対する通信開始時に上記初期値でも
つて上記時間監視タイマをセットするようにしたことを
特徴とする時間監視タイマ・セット制御方式。
1. A data transmission system that includes a channel device and a plurality of line adapters connected to the channel device, and transmits and receives data while monitoring time between the channel device and a terminal device connected to the line adapter. , a setting section for providing time monitoring timers corresponding to each of the line adapters on the channel device, and setting information related to the speed of the corresponding line to each of the line adapters; and reading means from the setting section, the channel device determines the monitoring time in each of the line adapters based on the setting value read by the reading means, and initializes each of the timers corresponding to the monitoring time. A time monitoring timer set control method, characterized in that means for setting a value is provided, and the time monitoring timer is set with the initial value at the time of starting communication to each of the line adapters.
JP54158642A 1979-12-06 1979-12-06 Time monitoring timer set control method Expired JPS5951020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54158642A JPS5951020B2 (en) 1979-12-06 1979-12-06 Time monitoring timer set control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54158642A JPS5951020B2 (en) 1979-12-06 1979-12-06 Time monitoring timer set control method

Publications (2)

Publication Number Publication Date
JPS5680736A JPS5680736A (en) 1981-07-02
JPS5951020B2 true JPS5951020B2 (en) 1984-12-12

Family

ID=15676165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54158642A Expired JPS5951020B2 (en) 1979-12-06 1979-12-06 Time monitoring timer set control method

Country Status (1)

Country Link
JP (1) JPS5951020B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57191541U (en) * 1981-06-01 1982-12-04
JPS57191542U (en) * 1981-06-01 1982-12-04
JPH0761092B2 (en) * 1985-11-08 1995-06-28 富士通株式会社 Terminal control device
JPH0695699B2 (en) * 1985-12-26 1994-11-24 沖電気工業株式会社 Communication control device
JPS63305646A (en) * 1987-06-05 1988-12-13 Sanyo Electric Co Ltd Ecr connection system
JPH0196749A (en) * 1987-10-08 1989-04-14 Yokogawa Electric Corp Communication controlling device

Also Published As

Publication number Publication date
JPS5680736A (en) 1981-07-02

Similar Documents

Publication Publication Date Title
EP0458304B1 (en) Direct memory access transfer controller and use
EP0165600B1 (en) Input/output bus for computer
US5060139A (en) Futurebus interrupt subsystem apparatus
US20080086578A1 (en) Integrated circuit device having send/receive macro for serial transfer bus
JPH0666821B2 (en) Data communication controller
US5047921A (en) Asynchronous microprocessor random access memory arbitration controller
KR930002787B1 (en) Peripheral controller and adapter interface
WO1995020192A1 (en) Bus deadlock avoidance during master split-transactions
EP0380845A3 (en) An interface between a system control unit and a service processing unit of a digital computer
CA1297198C (en) Program mode access control system
US4177515A (en) Interrupt adapter for data processing systems
JPS5951020B2 (en) Time monitoring timer set control method
US5089953A (en) Control and arbitration unit
US5305442A (en) Generalized hierarchical architecture for bus adapters
US5517671A (en) System for designating a plurality of I/O devices to a plurality of I/O channels and connecting and buffering the plurality of I/O channels to a single system bus
CN1326058C (en) Data transfer control device
EP0548077B1 (en) High speed active bus
US5781749A (en) Controller for multiple data transfer between a plurality of memories and a computer bus
JP2624989B2 (en) Data transfer control device
JPS6147459B2 (en)
KR100199021B1 (en) A multi-interrupt control device and method by interrupt order on pci bus
KR0170742B1 (en) Data transmission method using Embus
JP2508487B2 (en) Data transmission system
JPS616755A (en) Data transfer system
JPH0461388B2 (en)