JPS6242253A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPS6242253A
JPS6242253A JP60182304A JP18230485A JPS6242253A JP S6242253 A JPS6242253 A JP S6242253A JP 60182304 A JP60182304 A JP 60182304A JP 18230485 A JP18230485 A JP 18230485A JP S6242253 A JPS6242253 A JP S6242253A
Authority
JP
Japan
Prior art keywords
timer
communication control
timer interrupt
type
control
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.)
Granted
Application number
JP60182304A
Other languages
Japanese (ja)
Other versions
JPH0417539B2 (en
Inventor
Hitoshi Toyama
遠山 均
Tamio Nishizaki
西崎 民雄
Katsuyoshi Okazaki
岡崎 勝吉
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 JP60182304A priority Critical patent/JPS6242253A/en
Publication of JPS6242253A publication Critical patent/JPS6242253A/en
Publication of JPH0417539B2 publication Critical patent/JPH0417539B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain a communication controller having an improved processing performance and a highly accurate timer function, by using properly the several types of interruption timers under the control of a communication control program CP. CONSTITUTION:A service processor SVP14 transfers the information including the types of times used by the hardware to a control program CP at the initialization of the CP. Thus the CP performs the initialization according to the received information on the initialization and is set under an operation state. Here the CP delivers an instruction to the SVP14 for the request of the timer type if no coincidence is obtained between the type of the timer used by the hardware and the type desired by the CP. Then the SVP14 performs the control for the change of the timer type to a central processing part CCU10 including a timer interruption mechanism in response to the instruction given from the CP. Then the SVP 14 informs the end of this processing to the CP. Hereafter the CP can receive the interruption of its desired timer from the CCU10.

Description

【発明の詳細な説明】 〔概  要〕 本発明は端末装置と計算機との間にあり1通信回線を経
由して計算機に人出方されるデータの制御、誤り制御、
或いは送受信のバンファリング等を行うためのいわば通
信技術と計算技術との接点にあたる装置である通信制御
装置(コミニュヶーシゴンコントロールユニットCCU
)のタイマ割り込みに関する。特に通信制御装置に関す
る通信制御用コントロールプログラム(CP)を実行す
る中央処理部(CCtJ)と通信制御装置の構成要素を
管理制御するサービスプロセッサ(S V P)及び、
前記cpを格納する記憶部(MS)を有するシステムに
おいて前記CPに対して現在使用中のタイマ種別を前記
SVPから通知し、CPからの要求により前記svpが
タイマの種別を変更することができる通信制御装置に関
する。本発明は。
[Detailed Description of the Invention] [Summary] The present invention is provided between a terminal device and a computer, and provides control, error control, and control of data sent to the computer via one communication line.
Alternatively, there is a communication control unit (Communication Control Unit CCU), which is a device that is a point of contact between communication technology and calculation technology to perform transmission/reception bumping, etc.
) regarding timer interrupts. In particular, a central processing unit (CCtJ) that executes a communication control control program (CP) related to a communication control device, a service processor (SVP) that manages and controls components of the communication control device, and
In a system having a storage unit (MS) that stores the CP, the SVP notifies the CP of the timer type currently in use, and the SVP can change the timer type upon request from the CP. Regarding a control device. The present invention is.

複数の周波数を持つクロックを発生ずるクロック選択手
段と前記複数のクロックを選択する選択手段とからなる
タイマ割込み機構を介して前記CPの要求により前記S
VPがタイマの種別を選択できるようにしている。本発
明は、処理終了の判断あるいはモード選択等の高機能の
タイマ処理を行うことができるという効果がある。
In response to a request from the CP, the S
The VP is allowed to select the type of timer. The present invention has the advantage that it is possible to perform highly functional timer processing such as determining the end of processing or selecting a mode.

〔産業上の利用分野〕[Industrial application field]

本発明は計算機技術と通信技術との接点にあたる装置で
通信回線を経由して計算機に入力したり。
The present invention is a device that connects computer technology and communication technology, and inputs information to a computer via a communication line.

出力したりするデータの制御、誤り制御、或いは送受信
信号のバッファリング等に用いる通信制御装置に係り、
特に通信制御用コントロールプログラムCPが使用する
タイマ割込みをサービスプロセッサSVPを介してCP
が選択、或いはその種別をCP自身が知ることにより、
処理の高機能。
Regarding communication control devices used for controlling output data, error control, buffering of transmitted and received signals, etc.
In particular, timer interrupts used by the control program CP for communication control are transmitted to the CP via the service processor SVP.
is selected, or the CP itself knows the type.
High processing capabilities.

或いは高精度化を実現することを可能とする通信制御装
置に関する。
Alternatively, the present invention relates to a communication control device that can achieve high accuracy.

〔従 来 技 術〕[Traditional technique]

計算機システムは7演算のみならず、情報処理機として
使用されるようになり、オンライン処理。
Computer systems began to be used not only for 7 calculations but also as information processing machines, including online processing.

あるいはリアルタ・イム処理等を通信技術と融合させて
質的な向上を図るようCごなってきた。通信技術と計算
技術との接点にあたるところ、すなわち。
Alternatively, efforts have been made to improve quality by integrating real-time processing with communication technology. At the intersection of communication technology and computing technology, that is.

オンライン計算機システムにおける端末と計算機との間
の接点に通信制御装置(コミニュケーションコントロー
ルユニントCCU)lclNし、J信回線を経由して計
算機に出入りするデータの制御。
A communication control unit (CCU) lclN is installed at the contact point between a terminal and a computer in an online computer system, and controls data entering and exiting the computer via the J communication line.

誤り制御或いは送受信文字のバッファリング等を行って
いる。一般に、この通信制御装置内には通信制御コント
ロールプログラムCPを実行する中央処理部CCU及び
通信制御用プログラムcpを格納する記憶部MS及び通
信制御装置の構成要素を管理制御するサービスプロセッ
サSVPを有している。このようなシステムにおいて前
記サービスプロセンサSVPと中央処理部CCUとのイ
ンターフェイスにおいて前記CCUは通信回線からの割
込みやホストである計算機からの割込み制御を行うが、
その1つとしてCCUの中にあるタイマからの割込みも
実行する。これは時間を計ったり指定時間内にタイマ割
込みがなかったらタイムアウトするといった割込み制御
である。
It performs error control and buffering of transmitted and received characters. Generally, this communication control device includes a central processing unit CCU that executes a communication control program CP, a storage unit MS that stores a communication control program CP, and a service processor SVP that manages and controls the components of the communication control device. ing. In such a system, at the interface between the service processor SVP and the central processing unit CCU, the CCU controls interrupts from the communication line and interrupts from the host computer.
As one of these, interrupts from a timer in the CCU are also executed. This is an interrupt control that measures time and times out if there is no timer interrupt within a specified time.

このようなタイマ処理において、タイマの精度である時
間間隔2例えば100m5ec毎にタイマ割込みを行う
か、 200 m5ec毎にタイマ割り込みを行うかと
いったタイマにおける精度が重要視されてきた。この場
合、 100 m5ecよりもう少し細かい時間でのタ
イマ割込みを行うことも重要視されてきた。例えば回線
からの文字伝送はm5ec単位で伝送されてくるので、
m5ec単位でのタイマ割込みが必要になる場合がある
In such timer processing, importance has been placed on the accuracy of the timer, such as whether a timer interrupt is performed every 100 m5 ec or every 200 m5 ec. In this case, it has also been emphasized that timer interrupts should be performed at a time slightly smaller than 100 m5ec. For example, character transmission from the line is transmitted in m5ec units, so
A timer interrupt may be required in units of m5ec.

このような場合に従来は2回線からの伝送速度に対応し
て伝送りロックを抽出し、その伝送りロックを基にして
、細かい精度のタイマ割込みを作成していた。
In such a case, conventionally, a transmission lock is extracted in accordance with the transmission speed from the two lines, and a timer interrupt with fine precision is created based on the transmission lock.

しかし、このような従来方式では1回線刃式がいろいろ
と変化する場合には2例えば、いくつカウントしたら要
求される30m secが得られるのかという事を導出
する場合に1回線毎によって異なってくるという欠点を
有し、従って、制御も複雑になるという欠点を有してい
た。このように、従来の通信制御装置では、高精度なタ
イマ割込みを回線からのクロックを用いて複雑な制御を
行わざるを得ない理由は、CPに対するタイマ割込みが
一種類しかなく、そのタイマ値が固定であったためで、
従って、該タイマ値より短い時間でタイマ割込みを実行
することは設置されたタイマでは行うことができないか
らである。さらに、該タイマ値より長い時間で実行しな
ければならない処理には割込み回数をカウントする等の
処理も必要であるという欠点も有していた。
However, in such a conventional method, when the single-line blade type changes in various ways, for example, when deriving how many counts are required to obtain the required 30 msec, it is said that it differs depending on each line. This has the disadvantage that control is complicated. In this way, the reason why conventional communication control devices have to perform complex control of highly accurate timer interrupts using the clock from the line is that there is only one type of timer interrupt for the CP, and the timer value is Because it was fixed,
Therefore, the installed timer cannot execute a timer interrupt in a time shorter than the timer value. Furthermore, there is also a drawback that processing that must be executed in a time longer than the timer value requires processing such as counting the number of interrupts.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は、このような従来の欠点を除去し、高精度なタ
イマ制御が必要となる場合にも、高速な基本クロックを
分周することによって出来る数種のタイマ割込みを持つ
手段を用いて通信制御用コントロールプログラムCPの
制御で前記数種の割込みタイマを使い分けることにより
、処理性能が向上され、且つ高精度なタ仁7機能を有す
る通信制御用装置を提供することにある。
The present invention eliminates such drawbacks of the conventional technology, and even when high-precision timer control is required, communication is achieved by using means that has several types of timer interrupts created by dividing a high-speed basic clock. It is an object of the present invention to provide a communication control device that has improved processing performance and highly accurate control functions by selectively using the several types of interrupt timers under the control of a control program CP.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明は2通信制御用コントロールプログラムを実行す
る中央処理部と前記通信制御用コントロールプログラム
を格納する記憶部及び回線及びホスト計算機とのインタ
ーフェイスに関する制御を行う構成部及び装置の構成要
素を管理するサービスプロセッサとを有する通信制御装
置システムにおいて、複数の周波数を持つクロ・ツクを
発生するクロック選択手段と前記複数のクロ・ツクを選
択する選択手段とからなるタイマ割込み機構と、前記通
信制御用コントロールプロセッサと前記号−ビスブロセ
、/すとの情報交換経路を介して前記通信側御用コント
ロールプログラムに対して現在使用中のタイマ種別を前
記サービスプロセッサから通知する手段と、前記通信制
御用コントロールプログラムの要求に従って前記サービ
スプロセッサが前記タイマ割込み機構の前記クロック選
択手段に制御信号を送って要求された時間のり一イマ割
込みで前記タイマ割込み機構から前記通信制御用コント
ロールプログラムCPに割込みをかけるタイマ割込み手
段とを有し、前記サービスプロセッサが前記タイマ種別
を選択できることを特徴とする通信制御装置を(2供す
ることにより達成される。
The present invention provides a central processing unit that executes a control program for communication control, a storage unit that stores the control program for communication control, a component that controls the interface with a line and a host computer, and a service that manages the components of the device. a timer interrupt mechanism comprising clock selection means for generating clocks having a plurality of frequencies and selection means for selecting the plurality of clocks; and the communication control control processor. means for notifying the communication side control program of the type of timer currently in use from the service processor via an information exchange path between and timer interrupt means, wherein the service processor sends a control signal to the clock selection means of the timer interrupt mechanism to cause the timer interrupt mechanism to interrupt the communication control program CP at a requested time interval. This is achieved by providing a communication control device (2) characterized in that the service processor can select the timer type.

〔作  用〕[For production]

本発明は、サービスプロセッサSvPと中央処理部CC
U内の通信制御用コントロールプログラムCPとの通信
経路をそのまま利用して、CPの初期設定処理時に、ハ
ードウェアが使用しているタイマ種別を通知し、それ以
後、CPからの要求に従って、タイマ種別を通知、或い
はCPが要求しているタイマをSVPが選択するように
している。すなわち1本発明はSVPの制御によって複
数のクロックの中から要求されたクロックを選択するス
イッチ手段を含み1選択されたクロック周期に対応する
タイマでCCUに対して割込むことが出来るようにした
The present invention provides a service processor SvP and a central processing unit CC.
Using the communication path with the communication control control program CP in U, the timer type used by the hardware is notified during the initial setting process of the CP, and thereafter, the timer type is changed according to the request from the CP. , or the SVP selects the timer requested by the CP. That is, one aspect of the present invention includes a switch means for selecting a requested clock from among a plurality of clocks under the control of the SVP, so that a timer corresponding to the selected clock period can interrupt the CCU.

〔実 施 例〕〔Example〕

次に本発明の通信制御装置を図面を参照して説明する。 Next, the communication control device of the present invention will be explained with reference to the drawings.

第2図は、一般の通信制御装置のブロック図である。オ
ンライン計算機システムにおいては1通信制御装置1は
、一種の入出力制御装置であって。
FIG. 2 is a block diagram of a general communication control device. In an online computer system, 1 communication control device 1 is a kind of input/output control device.

計算機の内部処理に比べて非常に遅い通信回線。A communication line that is extremely slow compared to the internal processing of a computer.

しかも計算機の内部処理とは非同期で行われるデータ転
送のデータ授受をスムーズに能率よく行うため、データ
のバッファリングによる速度の変換制御を行ったり5時
分別条重制御等を行う装置である。
In addition, in order to smoothly and efficiently send and receive data that is asynchronous to the internal processing of the computer, this device performs speed conversion control through data buffering and 5-hour separation load control.

通信制御装置1の内部は中央処理部CCUIOと1通信
制御用コントロールプログラムCPを格納する記憶部M
SIIを含んでいる。cpは中央処理部CCUが実行す
るプログラムであって1通信プロトコルの処理通信文ブ
ロックの分解或いは組立等の高級な通信制御機能を実現
する場合には。
The inside of the communication control device 1 includes a central processing unit CCUIO and a storage unit M that stores a control program CP for controlling one communication.
Contains SII. cp is a program executed by the central processing unit CCU, and is used to realize high-level communication control functions such as disassembling or assembling processing message blocks of one communication protocol.

数十から数百にステップのプログラムとなっている。回
線インターフェイス12は9個々の回線に対するライン
アダプタ並びに複数のラインアダプタとCCUIO及び
MSllとの間のデータの授受の制御をつかさどる回線
用の制御部によって構成される。通信回線とCCt、J
 10との間には、一般に変調復調装置、又はデータ回
線終端装置が挿入される。従ってラインアダプタの回線
インターフェイスは、前記変復調装置、又はデータ回線
終端装置とのインターフェイスとなる。
The program has steps ranging from tens to hundreds. The line interface 12 is composed of line adapters for nine individual lines and a line control unit that controls data exchange between the plurality of line adapters and the CCUIO and MSll. Communication line and CCt, J
Generally, a modulation/demodulation device or a data line termination device is inserted between the terminal and the terminal 10. Therefore, the line interface of the line adapter becomes an interface with the modulation/demodulation device or the data line termination device.

一方、ホスト計算機に接続されるホストインターフェイ
ス13は3ホストとの間で授受されるべきデータはバッ
ファリングの機能、すなわち、記憶部MSに対するデー
タの書込み或いは読出しの制御機能を持つことになる。
On the other hand, the host interface 13 connected to the host computer has a buffering function for data to be exchanged with the three hosts, that is, a control function for writing or reading data to and from the storage unit MS.

そのアクセス方法は。How to access it?

例えば、CCUIOを介して行う方法や、CCUloを
介さないで直接MSIIにアクセスするDMA方式等が
ある。更に2通信制御装置1は9周辺装置インターフェ
イス部を含んでおり、このインターフェイスを介してシ
ステムすなわち1通信制御装置の構成要素を管理制御す
るサービスプロセッサ14が接続される。このSVPと
前記CCUあるいはMSとを結合する通信経路15を含
んでいる。CCUIOが実行する通信制御用コントロー
ルプログラムCPは、ホストからロードする場合もある
が、装置内でプログラムローディングする場合には、5
VP14の制御下によって他の周辺装置2例えば、イニ
シャルプログラムロード用のフロッピィディスク或いは
磁気ディスク装置等からローディングするようにしてい
る。このような通信制御装置1において9本発明は5v
p14とCCUIOが実行するCPとの通信経路15を
そのまま利用して、前記CCUIOが利用するタイマ割
込みをCPが選択或いはその種別をCPが知ることによ
り、いろいろな種類のタイマ割込みが出来るようにして
高精度なタイマ割込みを実現するようにしている。
For example, there is a method using CCUIO, and a DMA method that directly accesses MSII without using CCUlo. Further, the second communication control device 1 includes nine peripheral device interface units, and a service processor 14 for managing and controlling the system, that is, the components of the first communication control device, is connected via this interface. It includes a communication path 15 that connects this SVP and the CCU or MS. The control program CP for communication control executed by CCUIO may be loaded from the host, but if the program is loaded within the device,
Under the control of the VP 14, loading is performed from another peripheral device 2, such as a floppy disk or magnetic disk device for initial program loading. In such a communication control device 1, the present invention has a 5v
By using the communication path 15 between p14 and the CP executed by the CCUIO as is, the CP selects the timer interrupt used by the CCUIO, or the CP knows the type, so that various types of timer interrupts can be performed. It is designed to realize highly accurate timer interrupts.

本発明の通信制御装置におけるタイマ割込みに関する制
御装置のブロック図を第1図に、そして本発明の処理タ
イムチャートを第3図に示す。第1図のブロック図にお
いて、5VP14と。
FIG. 1 shows a block diagram of a control device regarding timer interrupts in the communication control device of the present invention, and FIG. 3 shows a processing time chart of the present invention. In the block diagram of FIG. 1, 5VP14.

CCUIOとは通信経路(第2図の15)によってもと
もと接続されている。本発明はこのような5VP14と
CCUIOとからなるシステムにおいて、更に複数の周
波数のクロックを発生するクロック選択手段201及び
前記クロック選択手段201に接続され1つのクロック
を選択する選択手段202から成るプログラマブルなタ
イマ割込み機構20を含んでいる。前記タイマ割込み機
構20は、一般にはCCUIOの内部に含まれる。
It is originally connected to CCUIO by a communication path (15 in FIG. 2). The present invention provides a programmable system comprising such a 5VP14 and CCUIO, which further comprises a clock selection means 201 that generates clocks of a plurality of frequencies, and a selection means 202 connected to the clock selection means 201 and which selects one clock. It includes a timer interrupt mechanism 20. The timer interrupt mechanism 20 is generally included within the CCUIO.

前記サービスプロセッサ14は、前記タイマ割込み機構
20の前記選択手段202を制御し、前記複数のクロッ
クのうち、1つを選択して、出力線2020に出力し、
前記CCUIOにタイマ割込みすることができると同時
に、現在どのクロ・ツクでタイマ割込みしているかの情
報を前記タイマ割込み機構20より得るために、5VP
14及び前記タイマ割込み機構20との間に通信線を有
している。前記クロック選択手段201は、非常に高速
なりロック発生器を少なくとも1つ持っており。
The service processor 14 controls the selection means 202 of the timer interrupt mechanism 20, selects one of the plurality of clocks, and outputs it to the output line 2020;
In order to be able to make a timer interrupt to the CCUIO and at the same time obtain information about which clock is currently causing a timer interrupt from the timer interrupt mechanism 20, the 5VP
14 and the timer interrupt mechanism 20. The clock selection means 201 has at least one very high speed lock generator.

そのクロックをいろいろな分周器で分周する機能を内部
に含み、いろいろな周波数のクロックを出力できる。
It includes a function to divide the clock using various frequency dividers, and can output clocks of various frequencies.

このようなSVP 14によって制御されるタイマ割込
み機構20を含んだ本発明の通信制御装置は第3図の処
理タイムチャートに従って制御される。第3図において
、■、■、・・・、■で示さゝれる番号は処理順序を示
し、その処理は第1図の対応する同じ番号の通信経路を
介して実行される。
The communication control device of the present invention including the timer interrupt mechanism 20 controlled by the SVP 14 is controlled according to the processing time chart shown in FIG. In FIG. 3, the numbers shown by ■, ■, .

先ず、第0番目(番℃)のcpの初期設定処理時に、ハ
ードウェアが使用するタイマの種別をSVP 14が知
り、CCU10内部の前記タイマ割込み機構20を介し
て初期設定する。すなわち。
First, during initialization processing of the 0th (degree C) CP, the SVP 14 learns the type of timer used by the hardware and initializes it via the timer interrupt mechanism 20 inside the CCU 10. Namely.

前記複数1例えば、N個のクロックのどのクロックが選
択されるべきかを知り、そのタイマtmを選択手段20
2を介して設定する。そして、現在使用中のタイマtm
を5VP14からCPに通知する(番号■)。CPがも
し、そのタイマ割込みの時間tmが正しいということを
知れば、そのまま前記タイマ割込み機構20の前記選択
手段202を介して出力されるタイマ割込み2020を
時間tmで続行する。また、前記使用中のタイマtmが
要求する時間のタイマでない場合は、CPは5VP14
に要求するべきタイマを要求する(番号■)。5VP1
4は前記タイマ割込み機構20の選択手段202の制御
信号を変えて要求するタイマ、例えば、tnを選択して
、このタイマtnでCCUに割込みをかけるようにする
(番号■)。すなわち、第3図に示すように、CPから
タイマの変更要求があった場合にはCCUIOとSVP
 14との間の経路を介して、cpは、  5VP14
に時間tnのタイマ変更要求を出す。そして5VP14
は前記タイマ割込み機構20に制御信号を送って前記選
択手段202を働かせて、要求されたタイマtnを選択
し、CCUにタイマ割込みtnで実行する(番号■)。
The selecting means 20 knows which clock is to be selected from the plurality of clocks, for example, N clocks, and selects the timer tm.
Set via 2. And the timer tm currently in use
The 5VP14 notifies the CP (number ■). If the CP knows that the time tm of the timer interrupt is correct, it continues the timer interrupt 2020 outputted via the selection means 202 of the timer interrupt mechanism 20 at time tm. In addition, if the timer tm in use is not the timer of the requested time, the CP is 5VP14.
Request a timer to request (number ■). 5VP1
4 changes the control signal of the selection means 202 of the timer interrupt mechanism 20 to select a requested timer, for example, tn, so that the timer tn interrupts the CCU (number ■). That is, as shown in Figure 3, when there is a timer change request from the CP, the CCUIO and SVP
14, cp via the route between 5VP14
A timer change request for time tn is issued. and 5VP14
sends a control signal to the timer interrupt mechanism 20, activates the selection means 202, selects the requested timer tn, and executes the timer interrupt tn in the CCU (number ■).

そして前記経路を使ってタイマtnで割込みをかけたこ
とをCPに知らせる(番号■)。通知した後、ccui
Then, using the above-mentioned route, the CP is informed that an interrupt has been generated by the timer tn (number ■). After notification, ccui
.

内部の前記タイマ割込み機構20は前記tnで随時tn
間隔にてタイマ割込みを行う。また第3図の最後に示す
ように、CPから現在使用しているタイマが何であるか
ということの問い合わせが通信経路15を介して送って
来る場合がある(番号■)。すなわち、CPがSVP 
14に対してタイマの問い合わせに対する要求信号(番
号■)を出した場合、5VP14はその要求に応えてC
CUloが実行している現在のタイマの種別1例えば。
The internal timer interrupt mechanism 20 interrupts the tn at any time.
Execute timer interrupt at intervals. Further, as shown at the end of FIG. 3, there are cases where an inquiry as to what timer is currently being used is sent from the CP via the communication path 15 (number ■). In other words, CP is SVP
When a request signal (number ■) for a timer inquiry is issued to 5VP14, 5VP14 responds to the request by
Type 1 of the current timer that CUlo is running, for example.

tnをCPに通知することができる(番号■)。tn can be notified to the CP (number ■).

この場合、5VP14はCCUIO内部の前記タイマ割
込み機構20から現在使用中のタイマtnを知る必要が
ある(番号■)。
In this case, the 5VP 14 needs to know the timer tn currently in use from the timer interrupt mechanism 20 inside the CCUIO (number ■).

このように本発明では、5VP14とCCUloが実行
するcpとの間には、情報交換用の通信経路15を持っ
ており、5VP14は、CCUがCPをローディングす
なわち、CPの初期設定時に、ハードウェアで使用され
ているタイマ種別。
In this way, in the present invention, there is a communication path 15 for information exchange between the 5VP 14 and the CP executed by CCUlo, and the 5VP 14 uses the hardware when the CCU loads the CP, that is, when the CP is initialized. The timer type used.

例えばtmを含む情報をCPへ転送する。cpは受信し
た初期設定情報をもとに初期化を行い、運用状態に入る
。この時ハードウェアで使用されているタイマ種別がC
Pの希望する種別と一致していなければ、CPはSVP
 14に対してタイマ種別を要求する旨の指示を発生す
る。該指示を受信した5VPI4は、CPからの指示に
従ってタイマ割込み機構20を含むCCUIOに対して
タイマ種別変更の制御を行い、その処理を完了した旨を
CPに通知する。以後、CPはCP自身が希望したタイ
マの割込みをCCUIOから受けることができることに
なる。
For example, information including tm is transferred to the CP. The cp initializes itself based on the received initial setting information and enters the operational state. At this time, the timer type used in the hardware is C.
If the type does not match P's desired type, CP is SVP.
14 to request the timer type. Upon receiving the instruction, the 5VPI 4 controls the CCUIO including the timer interrupt mechanism 20 to change the timer type according to the instruction from the CP, and notifies the CP that the process has been completed. Thereafter, the CP will be able to receive timer interrupts desired by the CP itself from the CCUIO.

従来はクロ、り発生源が1つの周波数しかだせないクロ
ック発生器であったが1本発明のシステムにおいては、
第1図に示すようなタイマ割込み機構20の中に複数の
周波数を持つクロックを発生するクロック選択手段20
1.及びそのクロックを選択する選択手段202を設け
ることによって、高精度のタイマ処理を行うことができ
ることになる。すなわち、短いタイマ時間のタイマ割込
み、或いは長い時間のタイマ割込みができることになる
。特に非常に短い時間のタイマ割込みが出来ることによ
って2例えば、DDX等で代表されるいわゆるディジタ
ル交換システムにおいて、指定された時間内で行ういろ
いろな制御をタイマ割込みを有効に使ってできることに
なる。DDXのようなシステムにおいて、従来のように
、非常に周波数の高いタイマ割込みだけを用いて行うと
Conventionally, the clock generation source was a clock generator that could only generate one frequency, but in the system of the present invention,
A clock selection means 20 for generating clocks having a plurality of frequencies in a timer interrupt mechanism 20 as shown in FIG.
1. By providing selection means 202 for selecting the clock and the clock, highly accurate timer processing can be performed. That is, a timer interrupt with a short timer time or a timer interrupt with a long time can be performed. In particular, by being able to issue timer interrupts of very short duration, for example, in so-called digital switching systems such as DDX, various controls can be performed effectively within a specified time using timer interrupts. In a system like DDX, if this is done conventionally using only very high frequency timer interrupts.

CCUIOに対して1割込み回数が多くなり、処理が低
下してしまうが9本システムのようにいろいろな1MM
4のタイマ割込みを選択するようにすればCCUIOの
処理が最適になる。また9本発明のタイマ割込みは、一
般に要求した処理が、一定時間経って終了したかどうか
を知るために、いろいろな時間を計る必要がある場合に
利用されるが。
The number of interrupts per CCUIO will increase, and the processing will slow down, but if there are various types of 1MM such as a 9-wire system,
If timer interrupt 4 is selected, CCUIO processing becomes optimal. Furthermore, the timer interrupt of the present invention is generally used when it is necessary to measure various times in order to find out whether a requested process has been completed after a certain period of time.

それ以外に、一定時間経った場合には、ある制御を選択
的に実行するというモード選択にも使われる。このよう
ないろいろな種類のタイマ割込みが出来れば、高精度の
タイマ処理が行われることになる。
In addition, it is also used to select a mode in which certain controls are selectively executed after a certain period of time has elapsed. If such various types of timer interrupts can be performed, highly accurate timer processing will be performed.

〔発明の効果〕〔Effect of the invention〕

このように本発明は複数の周波数を持つ複数のクロック
選択手段、及びその選択を行うことができるプログラマ
ブルなタイマ機能を有するタイマ割込み機能を設けるこ
とによって、CPの要求に従って、SVPを介してタイ
マ種別を通知、或いはCPの要求するべき時間のタイマ
割込みを選択的に行うことができ、処理終了の判断、あ
るいは。
As described above, the present invention provides a timer interrupt function that has a plurality of clock selection means having a plurality of frequencies and a programmable timer function that can perform the selection, so that the timer type can be changed via the SVP according to the request of the CP. It is possible to selectively issue a timer interrupt for the time required by the CP, and determine the end of the process.

モード選択等の高機能のタイマ処理を行うことができる
という効果がある。
This has the advantage that highly functional timer processing such as mode selection can be performed.

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

第1図は本発明の通信制御装置のブロック図。 第2図は一般の通信制御装置のブロック図。 第3図は本発明の通信制御装置の処理タイムチャートで
ある。 1・・・通信制御装置。 10・・・中央処理部。 11・・・記憶部。 12・・・回線インターフェイス部。 13・・・ホストインターフェイス部。 14・・・サービスプロセッサ。 15・・・ccu、svp間通信経路。 20・・・タイマ割込み機構。 201・・・クロック選択手段。 202・・・選択手段。 2020・・・クロック出力線。 CU
FIG. 1 is a block diagram of a communication control device of the present invention. FIG. 2 is a block diagram of a general communication control device. FIG. 3 is a processing time chart of the communication control device of the present invention. 1...Communication control device. 10...Central processing unit. 11...Storage section. 12...Line interface section. 13...Host interface section. 14...Service processor. 15... Communication path between ccu and svp. 20...Timer interrupt mechanism. 201...Clock selection means. 202...Selection means. 2020...Clock output line. C.U.

Claims (1)

【特許請求の範囲】 通信制御用コントロールプログラムを実行する中央処理
部と、前記通信制御用コントロールプログラムを格納す
る記憶部及び回線及びホスト計算機とのインターフェイ
スに関する制御を行う制御部及び装置の構成要素を管理
するサービスプロセッサとを有する通信制御装置システ
ムにおいて、複数の周波数を持つクロックを発生するク
ロック発生手段と前記複数のクロックを選択する選択手
段とからなるタイマ割込み機構と、 前記通信制御用コントロールプログラムと前記サービス
プロセッサとの情報交換経路を介して、前記通信制御用
コントロールプログラムに対して現在使用中のタイマ種
別を前記サービスプロセッサから通知する手段と、前記
通信制御用コントロールプログラムの要求に従って前記
サービスプロセッサが前記タイマ割込み機構の前記クロ
ック選択手段に制御信号を送って要求された時間のタイ
マで前記タイマ割込み機構から前記通信制御用コントロ
ールプログラムに割込みをかけるタイマ割込み手段とを
有し、前記サービスプロセッサが前記タイマ種別を選択
できることを特徴とする通信制御装置。
[Scope of Claims] A central processing unit that executes a control program for communication control, a storage unit that stores the control program for communication control, a control unit that controls the interface with a line, and a host computer, and the components of the device. A communication control device system having a service processor for managing the communication control device, comprising: a timer interrupt mechanism comprising a clock generation means for generating clocks having a plurality of frequencies and a selection means for selecting the plurality of clocks; and the communication control control program. means for notifying the communication control control program of the type of timer currently in use from the service processor via an information exchange path with the service processor; a timer interrupt means for transmitting a control signal to the clock selection means of the timer interrupt mechanism to interrupt the communication control control program from the timer interrupt mechanism with a timer of a requested time; A communication control device characterized in that a timer type can be selected.
JP60182304A 1985-08-20 1985-08-20 Communication controller Granted JPS6242253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60182304A JPS6242253A (en) 1985-08-20 1985-08-20 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60182304A JPS6242253A (en) 1985-08-20 1985-08-20 Communication controller

Publications (2)

Publication Number Publication Date
JPS6242253A true JPS6242253A (en) 1987-02-24
JPH0417539B2 JPH0417539B2 (en) 1992-03-26

Family

ID=16115947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60182304A Granted JPS6242253A (en) 1985-08-20 1985-08-20 Communication controller

Country Status (1)

Country Link
JP (1) JPS6242253A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4849345A (en) * 1971-10-22 1973-07-12
JPS52113644A (en) * 1976-03-19 1977-09-22 Nec Corp Microprogram control unit
JPS59206935A (en) * 1983-05-11 1984-11-22 Mitsubishi Electric Corp Communication controlling and processing device
JPS60156154A (en) * 1984-01-25 1985-08-16 Fujitsu Ltd Console switching system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4849345A (en) * 1971-10-22 1973-07-12
JPS52113644A (en) * 1976-03-19 1977-09-22 Nec Corp Microprogram control unit
JPS59206935A (en) * 1983-05-11 1984-11-22 Mitsubishi Electric Corp Communication controlling and processing device
JPS60156154A (en) * 1984-01-25 1985-08-16 Fujitsu Ltd Console switching system

Also Published As

Publication number Publication date
JPH0417539B2 (en) 1992-03-26

Similar Documents

Publication Publication Date Title
CA1078524A (en) Destination selection apparatus for a bus oriented computer system
US4683531A (en) Polling method for data processing system
EP0318221B1 (en) Controlling responding by users of an intercommunications bus
US5905913A (en) System for collecting a specified number of peripheral interrupts and transferring the interrupts as a group to the processor
US4060849A (en) Data input and output controller
EP0013739B1 (en) Communication controller in a data processing system
JPS581452B2 (en) Deadlock avoidance device
EP0446077B1 (en) A control system for multi-processor system
US5301308A (en) Method for synchronizing redundant operation of coupled data processing systems following an interrupt event or in response to an internal command
US4542501A (en) Interface for managing information exchanges on a communications bus
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
JPS6242253A (en) Communication controller
US4740910A (en) Multiprocessor system
JPS61195408A (en) Monitor system for sequencer
JPS63268035A (en) Remote terminal control system via local terminal simulator
SU877540A1 (en) Device for controlling progarm start
KR970011854B1 (en) Relation data processing method of distribution dbms system
SU673985A1 (en) Programme-control device
Schoeffler Realtime operating systems for distributed process control systems
SU435527A1 (en) PROCESSOR TO CONTROL DIGITAL CIRCUITS
JP2586157B2 (en) System control unit
KR840000165B1 (en) Bus control system
RU2018944C1 (en) Device for interfacing computer with external objects
SU734661A1 (en) Channel-channel adapter
SU591850A1 (en) Digital computer -to-peripherals interface