JPH0797781B2 - Priority control protocol conversion method - Google Patents
Priority control protocol conversion methodInfo
- Publication number
- JPH0797781B2 JPH0797781B2 JP62297104A JP29710487A JPH0797781B2 JP H0797781 B2 JPH0797781 B2 JP H0797781B2 JP 62297104 A JP62297104 A JP 62297104A JP 29710487 A JP29710487 A JP 29710487A JP H0797781 B2 JPH0797781 B2 JP H0797781B2
- Authority
- JP
- Japan
- Prior art keywords
- priority
- protocol conversion
- terminal device
- control unit
- data
- 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 - Lifetime
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、優先制御プルトコル変換方式に関し、特に、
ISDN網(統合ディジタルサービス網)に接続された複数
の端末装置とホスト計算機とがプロトコル変換装置を介
して結合されるシステムにおいて、複数の各端末装置の
間の端末間通信プロトコルと、各端末装置とホスト計算
機との間の対ホスト通信プロトコルとの変換を行うプロ
トコル変換処理を、各端末装置に対応して設定した可変
優先度の優先順位により行う優先制御プロトコル変換方
式に関するものである。TECHNICAL FIELD The present invention relates to a priority control protocol conversion system, and in particular,
In a system in which a plurality of terminal devices connected to an ISDN network (integrated digital service network) and a host computer are coupled via a protocol conversion device, an inter-terminal communication protocol between the plurality of terminal devices and each terminal device The present invention relates to a priority control protocol conversion method in which a protocol conversion process for converting a host communication protocol between a host computer and a host computer is performed according to the priority order of the variable priority set corresponding to each terminal device.
ネットワークに接続された複数の端末装置とホスト計算
機とがプロトコル変換装置を介して結合されるシステム
において、対ホスト通信プロトコルと端末間通信プロト
コルの間の変換を行う1対多数のプロトコル変換装置に
おいては、プロトコル変換の優先制御が必要となる場合
がある。この場合、例えば、複数の端末装置からの送信
要求が同時に発生した場合などに対するものとして、端
末装置に対しては予め優先順位が設定されており、複数
の端末装置からの送信要求が同時に発生したときには、
各端末装置の優先順位に基づいて送信要求の処理を行う
ようになっている。ここでは、各端末装置に優先度が設
定してあっても、先に送信要求を発生した端末装置から
の送信要求が先に受け付けられて、先に処理されるた
め、優先順位の低い端末装置からの送信要求が処理中で
ある場合には、優先順位の高い端末装置からの送信要求
が受け付けられず、優先順位の高い端末装置から送信要
求が待たされるという問題がある。In a system in which a plurality of terminal devices connected to a network and a host computer are connected via a protocol conversion device, in a one-to-many protocol conversion device for converting between a host communication protocol and an inter-terminal communication protocol, , Priority control of protocol conversion may be required. In this case, for example, when the transmission requests from a plurality of terminal devices occur simultaneously, the priority order is set in advance for the terminal devices, and the transmission requests from a plurality of terminal devices occur at the same time. Sometimes
The transmission request is processed based on the priority of each terminal device. Here, even if the priority is set for each terminal device, the transmission request from the terminal device that first generated the transmission request is accepted first and processed first, so the terminal device with the lower priority When the transmission request from the terminal device is being processed, there is a problem that the transmission request from the terminal device having a high priority is not accepted and the transmission request is waited from the terminal device having a high priority.
これに対しては、特開昭61−10348号公報に記載のよう
に、各端末装置からのデータを受信し、上位装置にパケ
ット単位で送信するプロトコル変換装置において、端末
装置から受信したデータをパケット単位に編集すると共
に、端末装置の優先順位に基づいてパケット単位のデー
タの送信順位を決めて、上位装置に送信するようにして
優先制御を行うプロトコル変換方式の提案がある。この
プロトコル変換方式においては、各端末装置の優先順位
によりパケット化データを登録するメモリキューを替
え、優先順位の高いメモリキューに登録されたデータか
ら上位装置に送信して優先制御を行う。ここでの各端末
装置に対応する優先順位は、固定的なものとなってい
る。In response to this, as described in Japanese Patent Application Laid-Open No. 61-10348, in a protocol conversion device that receives data from each terminal device and sends it to a host device in packet units, the data received from the terminal device is There is a proposal of a protocol conversion method which edits in packet units, determines the transmission order of data in packet units based on the priority order of terminal devices, and performs priority control by transmitting the data to a higher-level device. In this protocol conversion method, the memory queue for registering packetized data is changed according to the priority of each terminal device, and the data registered in the memory queue with a high priority is transmitted to the host device to perform priority control. The priority order corresponding to each terminal device here is fixed.
ところで、上記のプロトコル変換方式において、各端末
装置に対応する優先度は、例えば、端末装置の設置時に
固定的に決定されたものであり、各端末装置の優先度が
固定されて運用する方式となっている。このため端末装
置の設置時に優先順位を決定すると、以後は優先度が固
定されてしまう。By the way, in the above-mentioned protocol conversion method, the priority corresponding to each terminal device is, for example, fixedly determined when the terminal device is installed, and the priority of each terminal device is fixed. Has become. For this reason, if priorities are determined when the terminal device is installed, the priorities will be fixed thereafter.
しかし、実際のシステムの運用では、業務形態の変化,
人事移動等に対応して定期的にまたは不定期的に、ネッ
トワークによりシステムに接続されたシステムの各端末
装置の優先度を変化させたい場合が多い。また、時間帯
により各端末装置の使用状態の混雑分布の変化があるた
め、プロトコル変換装置の動作中においても、時間帯に
より優先度を変化させたい場合も多い。更に、突発事態
発生に対して特定の端末装置からホスト計算機と通信路
を確保するため、プロトコル変換装置の動作中に、短時
間だけ特定の端末装置の優先度を上げたい場合もある。
このように、システムの運用を考慮すると、色々な場合
に柔軟に対処できるようにするため、各端末装置の優先
度を可変にすることが所望される。However, in the actual operation of the system, changes in the business form,
In many cases, it is desired to change the priority of each terminal device of the system connected to the system by the network regularly or irregularly in response to the personnel movement. Moreover, since the congestion distribution of the usage status of each terminal device changes depending on the time zone, it is often desired to change the priority depending on the time zone even during the operation of the protocol conversion device. Further, in order to secure the communication path from the specific terminal device to the host computer in the event of a sudden occurrence, it may be desired to raise the priority of the specific terminal device for a short time during the operation of the protocol conversion device.
In this way, considering the operation of the system, it is desirable to make the priority of each terminal device variable in order to flexibly deal with various cases.
本発明の目的は、システム運用に柔軟に対処できるよう
にするため、プロトコル変換装置の動作中においても動
的に各端末装置の優先度を変更できる優先制御プロトコ
ル変換方式を提供することにある。An object of the present invention is to provide a priority control protocol conversion method capable of dynamically changing the priority of each terminal device even during operation of the protocol conversion device in order to flexibly deal with system operation.
本発明の前記ならびにその他の目的と新規な特徴は、本
明細書に記述及び添付図面によって明らかになるであろ
う。The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
上記目的を達成するため、本発明においては、ISDN網に
接続された複数の端末装置とホスト計算機とがプロトコ
ル変換装置を介して結合されるシステムにおいて、プロ
トコル変換装置に、複数の各端末装置に対応して優先度
を設定する優先度テーブルと、該優先度テーブルに設定
された各端末装置の優先度に基づいてプロトコル変換処
理の優先制御を行う優先制御手段とを備え、端末装置が
ISDN網の制御情報転送用チャネルを用いて優先度テーブ
ルの優先度を変更し、各端末装置とホスト計算機の間の
プロトコル変換処理を優先度テーブルに設定された優先
度の優先順位により行うことを特徴とする。In order to achieve the above object, in the present invention, in a system in which a plurality of terminal devices connected to an ISDN network and a host computer are coupled via a protocol conversion device, a protocol conversion device, a plurality of each terminal device The terminal device is provided with a priority table for correspondingly setting the priority, and a priority control means for performing priority control of the protocol conversion processing based on the priority of each terminal device set in the priority table.
It is possible to change the priority of the priority table using the control information transfer channel of the ISDN network and to perform the protocol conversion process between each terminal device and the host computer according to the priority order of the priority set in the priority table. Characterize.
前記手段によれば、ISDN網に接続された複数の端末装置
とホスト計算機とを結合するプロトコル変換装置に、複
数の各端末装置に対応して優先度を設定する優先度テー
ブルと、該優先度テーブルに設定された各端末装置の優
先度に基づいてプロトコル変換処理の優先制御を行う優
先制御手段とが備えられる。優先度テーブルの各端末装
置の優先度は、プロトコル変換装置と各端末装置を接続
しているISDN網の制御情報転送用チャネル(以下、Dチ
ャネルと呼ぶ)を用いて、端末装置から変更データを与
えて変更する。例えば、所定の端末装置からISDN網のD
チャネルを用いてプロトコル変換装置に優先度変更通知
を送信すると、プロトコル変換装置は、優先度変更通知
により優先度テーブルの該当する端末装置の優先度を変
更し、その後のプロトコル変換処理を変更された優先度
に応じて行う。According to the means, in the protocol conversion device that couples a plurality of terminal devices connected to the ISDN network and the host computer, a priority table for setting the priority corresponding to each of the plurality of terminal devices, and the priority table. Priority control means for performing priority control of the protocol conversion processing based on the priority of each terminal device set in the table is provided. The priority of each terminal device in the priority table is changed data from the terminal device using the control information transfer channel (hereinafter referred to as D channel) of the ISDN network connecting the protocol conversion device and each terminal device. Give and change. For example, from a predetermined terminal device to the ISDN network D
When the priority change notification is transmitted to the protocol conversion device using the channel, the protocol conversion device changes the priority of the corresponding terminal device in the priority table by the priority change notification, and the subsequent protocol conversion process is changed. Perform according to priority.
各端末装置の優先度は、通常一定期間は不変である場合
が多いので、プロトコル変換装置は停止直前にその時の
各端末装置の優先度テーブルに設定されている優先度を
磁気ディスク装置等の不揮発性記憶装置に化膿し、次の
起動時には、その各端末装置の優先度の情報を読み出
し、以前と同じ優先度でプロトコル変換処理を行う。Since the priority of each terminal device is usually invariable for a certain period of time, the protocol conversion device immediately sets the priority set in the priority table of each terminal device at the time immediately before the stop, to a nonvolatile memory such as a magnetic disk device. When it is activated next time, the priority information of each terminal device is read out and the protocol conversion process is performed with the same priority as before.
このように、各端末装置からのプロトコル変換を行うプ
ロトコル変換装置おいては、その動作中にISDN網のDチ
ャネルを用いて、各端末装置の優先度を動的に変更でき
る。このため、業務形態の変化,人事移動等により定期
的に優先度を変更する場合には、例えば、各端末装置か
らプログラムで一定期間ごとに優先度変更通知を送信し
て優先度テーブルの優先度を変更する。プロトコル変換
装置は優先度変更通知を受信すると、優先度テーブルの
優先度を変更し、次の優先度変更通知を受信するまで通
知された優先度でプロトコル変換処理を行う。また、時
間帯による使用状態の混雑分布の変化に対処するため、
時間帯により各端末装置の優先度を変更する場合には、
上記と同様の処理を一定時間ごとに行えばよい。突発事
態発生時に特定の端末装置に高い優先度を与える場合
は、オペレータ操作により当該特定の端末装置から優先
度変更通知をプロトコル変換装置に送信すればよい。In this way, in the protocol conversion device that performs protocol conversion from each terminal device, the priority of each terminal device can be dynamically changed by using the D channel of the ISDN network during its operation. Therefore, when the priority is changed regularly due to changes in the business form, personnel changes, etc., for example, each terminal device program sends a priority change notification at regular intervals and the priority of the priority table is changed. To change. When the protocol conversion device receives the priority change notification, the protocol conversion device changes the priority of the priority table, and performs the protocol conversion process with the notified priority until the next priority change notification is received. In addition, in order to cope with changes in the congestion distribution of usage conditions depending on the time of day,
When changing the priority of each terminal device according to the time zone,
The same process as above may be performed at regular intervals. When giving a high priority to a specific terminal device when an unexpected situation occurs, the priority change notification may be transmitted from the specific terminal device to the protocol conversion device by an operator operation.
この優先度変更通知は、ISDN網のデータ転送チャネル
(以下、Bチャネルと呼ぶ)とは別の制御情報転送用の
チャネルであるDチャネルで転送するので、通常のデー
タ通信を行うためのデータトラフィックには影響を与え
ない。Since this priority change notification is transferred by the D channel, which is a channel for control information transfer, which is different from the data transfer channel of the ISDN network (hereinafter referred to as B channel), data traffic for normal data communication is transmitted. Does not affect.
以下、本発明の一実施例を図面に用いて具体的に説明す
る。An embodiment of the present invention will be specifically described below with reference to the drawings.
なお、実施例を説明するための全図において、同一機能
を有するものは同一符号を付け、その繰り返しの説明は
省略する。In all the drawings for explaining the embodiments, parts having the same function are designated by the same reference numerals, and repeated description thereof will be omitted.
第1図は、本発明の一実施例にかかるシステム構成図で
ある。第1図において、1はプロトコル変換装置、2は
ホスト計算機、3a,3b,3cは端末装置、4はISDN網であ
る。各端末装置3a,3b,3cがISDN網4により相互に接続さ
れ、このISDN網4にホスト計算機2がプロトコル変換装
置1を介して接続されて、システムを構成している。プ
ロトコル変換装置1は、対ホスト計算機2の間のホスト
間通信プロトコルと、ISDN網4により相互に接続されて
いる各端末装置3a,3b,3cの間の端末間通信プロトコルと
の間のプロトコル変換の処理を行う。ISDN網4に接続さ
れている各端末装置3a,3b,3cおよびプロトコル変換装置
1は、それぞれにISDN網4内の各端末アドレスTAをもっ
ている。例えば、プロトコル変換装置1の端末アドレス
TAは0、端末装置3aの端末アドレスTAは1、端末装置3b
の端末アドレスTAは2、端末装置3aの端末アドレスTAは
3となっており、各端末装置3a,3b,3cおよびプロトコル
変換装置1は、端末アドレスTAによって通信相手先を指
定して、伝送データをISDN網4のデータ伝送チャネル
(Bチャネル)に送信することにより、各端末装置の間
のデータ通信または端末装置とホスト計算機の間のデー
タ通信を行う。FIG. 1 is a system configuration diagram according to an embodiment of the present invention. In FIG. 1, 1 is a protocol conversion device, 2 is a host computer, 3a, 3b and 3c are terminal devices, and 4 is an ISDN network. Each terminal device 3a, 3b, 3c is mutually connected by an ISDN network 4, and a host computer 2 is connected to this ISDN network 4 via a protocol conversion device 1 to form a system. The protocol conversion device 1 is a protocol conversion between a host-to-host communication protocol between the host computer 2 and a terminal-to-terminal communication protocol among the terminal devices 3a, 3b, 3c mutually connected by the ISDN network 4. Process. Each of the terminal devices 3a, 3b, 3c and the protocol conversion device 1 connected to the ISDN network 4 has its own terminal address TA within the ISDN network 4. For example, the terminal address of the protocol conversion device 1
TA is 0, terminal address TA of terminal device 3a is 1, terminal device 3b
Has a terminal address TA of 2 and the terminal device 3a has a terminal address TA of 3, and each of the terminal devices 3a, 3b, 3c and the protocol conversion device 1 designates a communication destination by the terminal address TA and transmits the transmission data. To the data transmission channel (B channel) of the ISDN network 4 to perform data communication between each terminal device or between the terminal device and the host computer.
第2図は、ISDN網4のDチャネルを流れる優先度変更通
知のフレーム形式を示す図である。第2図において、21
はISDN網4のDチャネル制御用の通信用ヘッダDHであ
り、22はISDN網4のDチャネル制御用の通信用トレイラ
DTである。また、23は当該優先度変更通知を送信した端
末装置の端末アドレスTAのアドレスフィールドである。
例えば、端末装置3aが当該優先度変更通知を送信した場
合には端末アドレスTAのアドレスフィールド23に1が設
定され、端末装置3bが当該優先度変更通知を送信した場
合にはアドレスフィールド23に2が設定される。24は当
該優先度変更通知を送信した端末装置に対応して設定す
る優先度Pの優先度フィールドである。本実施例におい
ては、優先度Pとして、1または2のレベル設定ができ
るようになっている。このため、優先度を設定する優先
度フィールド24には、1または2が設定される。FIG. 2 is a diagram showing a frame format of a priority change notification flowing through the D channel of the ISDN network 4. In FIG. 2, 21
Is a communication header DH for controlling the D channel of the ISDN network 4, and 22 is a communication trailer for controlling the D channel of the ISDN network 4.
It is DT. Further, 23 is an address field of the terminal address TA of the terminal device that transmitted the priority change notification.
For example, when the terminal device 3a sends the priority change notification, 1 is set in the address field 23 of the terminal address TA, and when the terminal device 3b sends the priority change notification, 2 is set in the address field 23. Is set. Reference numeral 24 is a priority field of priority P set corresponding to the terminal device that has transmitted the priority change notification. In this embodiment, the priority level P can be set to 1 or 2. Therefore, 1 or 2 is set in the priority field 24 for setting the priority.
第3図は、プロトコル変換装置1の構成を示すブロック
図である。第3図において、31はISDN網のBチャネルに
おける伝送制御を行うBチャネル制御部、32はISDN網の
Dチャネルにおける伝送制御を行うDチャネル制御部で
ある。Bチャネル制御部31,Dチャネル制御部32は、通信
制御を行う処理装置と該処理装置を制御する制御プログ
ラムで構成される。33はホスト計算機との間の回線制御
を行う回線制御部(LC)である。回線制御部33は、通信
制御を行う処理装置と該処理装置を制御する制御プログ
ラムで構成される。34はプロトコル変換制御部であり、
対ホスト通信プロトコルから端末間通信プロトコルに変
換するプロトコル変換部aと、端末間通信プロトコルか
ら対ホスト通信プロトコルに変換するプロトコル変換部
bとから構成されている。35はプロトコル変換装置1の
全体の制御を行う中央制御部である。プロトコル変換部
制御34,中央制御部35は、処理装置と該処理装置を制御
する制御プログラムで構成される。36はISDN網4に接続
されている端末装置に対して設定されている優先度Pを
記憶する優先度テーブルメモリ(PM)である。優先度テ
ーブルメモリ36は独立した記憶装置により構成される
が、中央制御部35の処理装置内のメモリに設けられても
良い。優先度テーブルメモリ36に設定される優先度P
は、この例では、1と2の2レベルとし、優先部Pが2
に設定されている端末装置は、優先度Pが1に設定され
ている端末装置の2倍サービスを行う。37は磁気ディス
ク装置であり、38は磁気ディスク制御部である。磁気デ
ィスク装置37は磁気ディスク制御部38を介して中央制御
部35に接続され、電源切断時、優先度テーブルに記憶さ
れた優先度Pのデータを退避して格納する。すなわち、
中央制御部35は、停止直前にその時点で優先度テーブル
に設定されている各端末装置の優先度Pを磁気ディスク
装置37に格納し、次の起動時に、格納した各端末装置の
優先度Pのデータを読み出し、以前と同じ優先度Pでプ
ロトコル変換の処理を行う。FIG. 3 is a block diagram showing the configuration of the protocol conversion device 1. In FIG. 3, 31 is a B channel control unit that controls transmission on the B channel of the ISDN network, and 32 is a D channel control unit that controls transmission on the D channel of the ISDN network. The B channel control unit 31 and the D channel control unit 32 are configured by a processing device that controls communication and a control program that controls the processing device. Reference numeral 33 is a line control unit (LC) that performs line control with the host computer. The line controller 33 includes a processing device that controls communication and a control program that controls the processing device. 34 is a protocol conversion control unit,
It is composed of a protocol conversion unit a for converting the communication protocol for host to the communication protocol for terminals and a protocol conversion unit b for converting the communication protocol for terminals to the communication protocol for hosts. Reference numeral 35 denotes a central control unit that controls the entire protocol conversion device 1. The protocol conversion unit control 34 and the central control unit 35 are composed of a processing device and a control program for controlling the processing device. Reference numeral 36 is a priority table memory (PM) for storing the priority P set for the terminal device connected to the ISDN network 4. The priority table memory 36 is composed of an independent storage device, but may be provided in a memory in the processing device of the central control unit 35. Priority P set in the priority table memory 36
In this example, there are two levels, 1 and 2, and the priority part P is 2
The terminal device set to No. 2 provides twice as much service as the terminal device whose priority P is set to 1. Reference numeral 37 is a magnetic disk device, and 38 is a magnetic disk control unit. The magnetic disk device 37 is connected to the central control unit 35 via the magnetic disk control unit 38 and saves and stores the data of the priority P stored in the priority table when the power is turned off. That is,
The central control unit 35 stores the priority P of each terminal device set in the priority table at that time immediately before the stop in the magnetic disk device 37, and at the next startup, the stored priority P of each terminal device. Data is read out and protocol conversion processing is performed with the same priority P as before.
回線制御部33とプロトコル変換制御部34の間には、ホス
ト計算機側から端末装置側へデータ伝送する際のプロト
コル変換処理待ちのデータを待たせておくための、待ち
キューLQ1と待ちキューLQ2とが設けられる。待ちキュー
LQ1は優先度Pが1の端末装置向けのデータを待たせる
ための待ちキューである。待ちキューLQ2は優先度2の
端末装置向けのデータを待たせるための待ちキューであ
る。また、Bチャネル制御部31とプロトコル変換制御部
34の間には、端末装置側からホスト計算機側へデータ伝
送する際のプロトコル変換処理待ちのデータを待たせた
おくための、待ちキューBQ1と待ちキューBQ2とが設けら
れる。待ちキューBQ1は優先度Pが1の端末装置から来
たデータを待たせるための待ちキューである。待ちキュ
ーBQ2は優先度Pが2の端末装置から来たデータを待た
せるための待ちキューである。A wait queue LQ1 and a wait queue LQ2 are provided between the line control unit 33 and the protocol conversion control unit 34 to hold data waiting for protocol conversion processing when data is transmitted from the host computer side to the terminal device side. Is provided. Waiting queue
LQ1 is a waiting queue for holding data for the terminal device having the priority P of 1. The waiting queue LQ2 is a waiting queue for holding the data for the terminal device having the priority of 2. Also, the B channel control unit 31 and the protocol conversion control unit
A wait queue BQ1 and a wait queue BQ2 are provided between 34 to hold data waiting for protocol conversion processing when data is transmitted from the terminal device side to the host computer side. The waiting queue BQ1 is a waiting queue for holding the data coming from the terminal device having the priority P of 1. The waiting queue BQ2 is a waiting queue for holding the data coming from the terminal device having the priority P of 2.
第4図は、優先度テーブルメモリ36に設定されている優
先度テーブルを示した図である。この優先度テーブルに
は、各端末装置に対応して優先度を設定するため、第4
図に示すように、各端末装置の端末アドレスTAと優先度
Pが対応されて設定されている。FIG. 4 is a diagram showing a priority table set in the priority table memory 36. In this priority table, since the priority is set corresponding to each terminal device,
As shown in the figure, the terminal address TA and the priority P of each terminal device are set in association with each other.
次に、このように構成されているプロトコル変換装置の
動作を説明する。Next, the operation of the protocol conversion device thus configured will be described.
[起動時の動作] プロトコル変換装置1おいて、起動時には中央制御部35
が磁気ディスク制御部38により磁気ディスク装置37を制
御し、磁気ディスク装置37に格納されている全ての端末
装置の優先度Pのデータを読み込み、この優先度Pのデ
ータを各端末装置の端末アドレスTAに対応させて、優先
度テーブルメモリ36に格納する。[Operation at Startup] In the protocol conversion device 1, the central control unit 35 is started at startup.
Controls the magnetic disk device 37 by the magnetic disk control unit 38, reads the data of the priority P of all the terminal devices stored in the magnetic disk device 37, and the data of the priority P is the terminal address of each terminal device. It is stored in the priority table memory 36 in association with TA.
[停止時の動作] 逆に、停止時には、中央制御部35が優先度テーブルメモ
リ36に設定されている全ての端末装置のの優先度Pのデ
ータを取り出し、磁気ディスク制御部38により磁気ディ
スク装置37を制御し、磁気ディスク装置37に全ての端末
装置の優先度Pのデータを格納する。[Operation at Stop] Conversely, at the time of stop, the central control unit 35 takes out the data of the priority P of all the terminal devices set in the priority table memory 36, and the magnetic disk control unit 38 drives the magnetic disk device. 37, and stores the data of the priority P of all the terminal devices in the magnetic disk device 37.
これにより、プロトコル変換装置1においては、停止
後、再起動された時、以前と同じ優先度でプロトコル変
換処理を行うことが可能となる。As a result, the protocol conversion device 1 can perform the protocol conversion process with the same priority as before when it is restarted after being stopped.
[優先度変更通知の受信時の動作] ある端末装置からISDN網4のDチャネルを通して、プロ
トコル変換装置1に優先度変更通知が送信されると、プ
ロトコル変換装置1においては、Dチャネル制御部32に
より優先度変更通知を受信し、Dチャネル制御部32が中
央制御部35に通知する。中央制御部35は、Dチャネル制
御部32を制御して、受信した優先度変更通知のアドレス
フィールド23の端末アドレスTAと優先度フィールド24優
先度Pを読み込み、その内容により優先度テーブルメモ
リ36の優先度テーブルを更新する。[Operation When Receiving Priority Change Notification] When a priority change notification is transmitted from a certain terminal device to the protocol conversion device 1 through the D channel of the ISDN network 4, in the protocol conversion device 1, the D channel control unit 32 Then, the D channel control unit 32 notifies the central control unit 35 of the priority change notification. The central control unit 35 controls the D channel control unit 32 to read the terminal address TA and the priority field 24 priority P of the address field 23 of the received priority change notification, and the contents of the priority table memory 36 of the priority table memory 36 according to their contents. Update the priority table.
これにより、以後、プロトコル変換装置1は、新しく更
新された優先度テーブルの優先度Pによって、プロトコ
ル変換処理を行うことになる。例えば、端末装置3aから
端末アドレスTA=1,優先度P=2とした優先度変更通知
をプロトコル変換装置1が受信すると、上述のような処
理により、第4図に示した優先度テーブルにおいては、
端末アドレスTAの棚の1に対応した優先度Pの棚が1か
ら2に更新される。As a result, the protocol conversion device 1 thereafter performs the protocol conversion process with the priority P of the newly updated priority table. For example, when the protocol conversion device 1 receives the priority change notification with the terminal address TA = 1 and the priority P = 2 from the terminal device 3a, the priority table shown in FIG. ,
The shelf of priority P corresponding to 1 of the shelf of the terminal address TA is updated from 1 to 2.
[プロトコル変換処理時の動作] ホスト計算機から端末装置方向のプロトコル変換処理は
次の手順で実行される。[Operation during Protocol Conversion Processing] Protocol conversion processing from the host computer to the terminal device is executed in the following procedure.
回線制御部33は、ホスト計算機2から伝送データを受信
すると、伝送データの送信先端末アドレスから、優先度
テーブルメモリ36の優先度テーブルデータを参照して、
優先度Pを調べ、プロトコル変換処理を待つ優先度Pに
対応する待ちキューLQ1またはLQ2に伝送データを入れ
る。すなわち、優先度Pが1の時は待ちキューLQ1に、
優先度Pが2の時は待ちキューLQ2に伝送データを入れ
る。そして、データ受信を中央制御部35に通知する。中
央制御部35は回線制御部33からデータ受信の通知を受け
ると、待ちキューLQ1またはLQ2から伝送データをとり出
し、プロトコル変換制御部34のプロトコル変換部aによ
りプロトコル変換処理を行う。この処理において、待ち
キューLQ1またはLQ2のどちらの待ちキューから伝送デー
タをとり出すかは、第5図に示すフローチャートにより
処理される。Upon receiving the transmission data from the host computer 2, the line control unit 33 refers to the priority table data in the priority table memory 36 from the destination terminal address of the transmission data,
The priority P is checked, and the transmission data is put into the waiting queue LQ1 or LQ2 corresponding to the priority P waiting for the protocol conversion processing. That is, when the priority P is 1, the wait queue LQ1
When the priority P is 2, the transmission data is put in the waiting queue LQ2. Then, the central control unit 35 is notified of the data reception. Upon receiving the data reception notification from the line control unit 33, the central control unit 35 takes out the transmission data from the waiting queue LQ1 or LQ2, and the protocol conversion unit a of the protocol conversion control unit 34 performs the protocol conversion process. In this processing, which of the waiting queues LQ1 and LQ2 is to be used to fetch the transmission data is processed according to the flowchart shown in FIG.
第5図は、端末装置へのプロトコル変換処理を待つ待ち
キューLQ1またはLQ2から伝送データを取り出すアルゴリ
ズムを示すフローチャートである。第5図を参照して説
明する。この処理では、まず、ステップ51において、0
以上1以下の乱数を発生させて、これを変数Xとする。
次にステップ52で、変数Xが0以上1/3以下であるか否
かを判定し、変数Xが0以上1/3以下なら、ステップ53
に進み、優先度Pが1の端末装置向けの伝送データを取
り出すため、待ちキューLQ1を調べる。ステップ53にお
いて、待ちキューLQL1が空でなければ、ステップ54に進
み、待ちキューLQ1から優先度Pが1の端末装置向けの
伝送データを取り出す。また、ステップ53で待ちキュー
LQ1が空であれば、ステップ56に進み、待ちキューLQ2か
ら優先度Pが2の端末装置向けの伝送データを取り出
す。一方、ステップ52で、発生した乱数の変数Xが1/3
より大きく1以下なら、ステップ55に進み、優先度Pが
2の端末装置向けの伝送データを取り出すため、待ちキ
ューLQ2を調べる。ステップ55において、待ちキューLQ2
が空でなければ、ステップ56に進み、待ちキューLQ2か
ら優先度Pが2の端末装置向けの伝送データを取り出
す。また、ステップ55で待ちキューLQ2が空であれば、
ステップ54に進み、待ちキューLQ1から優先度1の端末
向けの伝送データをとり出す。なお、このアルゴリズム
の処理は、ホスト計算機2よりデータを受信し、データ
受信の通知を受けた後に実行するので、ここでは、待ち
キューLQ1またはLQ2のどちらか1方は空でないことが前
提となっている。FIG. 5 is a flowchart showing an algorithm for extracting transmission data from the waiting queue LQ1 or LQ2 waiting for the protocol conversion process to the terminal device. This will be described with reference to FIG. In this process, first, in step 51, 0
A random number of 1 or less is generated and set as a variable X.
Next, in step 52, it is determined whether or not the variable X is 0 or more and 1/3 or less. If the variable X is 0 or more and 1/3 or less, step 53
In order to take out the transmission data for the terminal device having the priority P of 1, the waiting queue LQ1 is examined. In step 53, if the waiting queue LQL1 is not empty, the process proceeds to step 54 and the transmission data for the terminal device having the priority P of 1 is taken out from the waiting queue LQ1. Also, wait queue at step 53
If LQ1 is empty, the routine proceeds to step 56, where transmission data for the terminal device having the priority P of 2 is taken out from the waiting queue LQ2. On the other hand, in step 52, the generated random variable X is 1/3.
If it is larger than 1 and proceeds to step 55, the wait queue LQ2 is examined to take out the transmission data for the terminal device having the priority P of 2. In step 55, the waiting queue LQ2
Is not empty, the process proceeds to step 56, and the transmission data for the terminal device having the priority P of 2 is taken out from the waiting queue LQ2. If the wait queue LQ2 is empty in step 55,
Proceeding to step 54, the transmission data for the terminal of priority 1 is fetched from the waiting queue LQ1. Note that the processing of this algorithm is executed after receiving data from the host computer 2 and receiving a notification of data reception, so here it is assumed that one of the wait queues LQ1 or LQ2 is not empty. ing.
第5図に示したアルゴリズムの処理によれば、乱数は0
から1の間に一様に分布するので、優先度Pが2の端末
装置向けの伝送データは優先度Pが1の端末装置向けの
伝送データの2倍の確率で処理されることになる。According to the processing of the algorithm shown in FIG. 5, the random number is 0.
Since the data is evenly distributed between 1 and 1, the transmission data destined for the terminal device having the priority P of 2 will be processed with twice the probability of the transmission data destined for the terminal device having the priority P of 1.
中央制御部35は、第5図に示したアルゴリズムの処理に
より、プロトコル変換処理を持つ待ちキューLQ1またはL
Q2から伝送データを取り出すと、この伝送データをプロ
トコル変換制御部34に渡し、プロトコル変換部aにより
プロトコル変換処理を実行させる。プロトコル変換処理
が終了すると、Bチャネル制御部31に伝送データを渡し
て対応する端末装置に送信する。The central control unit 35 performs the processing of the algorithm shown in FIG.
When the transmission data is extracted from Q2, the transmission data is passed to the protocol conversion control unit 34, and the protocol conversion unit a executes the protocol conversion process. When the protocol conversion process is completed, the transmission data is passed to the B channel control unit 31 and transmitted to the corresponding terminal device.
同様にして、端末装置からホスト計算機方向へのプロト
コル変換処理は次の手順で実行される。Similarly, the protocol conversion process from the terminal device to the host computer is executed in the following procedure.
Bチャネル制御部31はISDN網の端末装置から伝送データ
を受信すると、伝送データの送信元端末アドレスから、
優先度テーブルメモリ36の優先度テーブルデータを参照
して、当該端末装置の優先度Pを調べ、プロトコル変換
処理を持つ優先度Pに対応する待ちキューBQ1またはBQ2
に伝送データを入れる。すなわち、優先度Pが1の時は
待ちキューBQ1に、優先度Pが2の時は待ちキューBQ2に
伝送データを入れる。そして、データ受信を中央制御部
35に通知する。中央制御部35はBチャネル制御部31から
データ受信の通知を受けると、第6図に示す処理アルゴ
リズムにもとづいてプロトコル変換処理待ちキューBQ1
またはBQ2から伝送データを取り出し、プロトコル変換
制御部34のプロトコル変換部bによりプロトコル変換処
理を行う。When the B channel control unit 31 receives the transmission data from the terminal device of the ISDN network,
The priority table data of the priority table memory 36 is referred to check the priority P of the terminal device, and the wait queue BQ1 or BQ2 corresponding to the priority P having the protocol conversion process.
Put the transmission data in. That is, when the priority P is 1, the transmission data is put in the waiting queue BQ1, and when the priority P is 2, the transmission data is put in the waiting queue BQ2. And the data reception is controlled by the central control unit.
Notify 35. When the central control unit 35 receives the data reception notification from the B channel control unit 31, it waits for the protocol conversion processing queue BQ1 based on the processing algorithm shown in FIG.
Alternatively, the transmission data is extracted from BQ2, and the protocol conversion unit b of the protocol conversion control unit 34 performs the protocol conversion process.
第6図は、ホスト計算機装置へのプロトコル変換処理を
持つ待ちキューBQ1またはBQ2から伝送データを取り出す
アルゴリズムを示すフローチャートである。第6図のア
ルゴリズムは第5図のアルゴリズムのうちLQ1をBQ1に、
LQ2をBQ2に変更したものであり、基本的には同様な処理
を行うものである。第6図を参照して簡単に説明する
と、まず、0〜1の乱数を発生させて、これを変数Xと
し(ステップ61)、この変数Xが0以上1/3以下である
か否かを判定する(ステップ62)。変数Xが0以上1/3
以下ならば、優先度Pが1に対応する待ちキューBQ1か
ら伝送データを取り出すため、待ちキューBQ1を調べて
(ステップ63)、待ちキューBQ1が空でなければ、待ち
キューBQ1から伝送データを取り出し(ステップ64)。
待ちキューBQ1が空であれば、待ちキューBQ2から伝送デ
ータを取り出す(ステップ66)。一方、変数Xが0以上
1/3以下以外なら、優先度Pが2に対応する待ちキューB
Q2から伝送データを取り出すため、待ちキューBQ2を調
べて(ステップ65)、待ちキューBQ2が空でなければ、
待ちキューBQ2から伝送データを取り出し(ステップ6
6)、キューBQ2が空であれば、待ちキューBQ1から伝送
データをとり出す(ステップ64)。FIG. 6 is a flowchart showing an algorithm for extracting transmission data from the waiting queue BQ1 or BQ2 having a protocol conversion process to the host computer system. The algorithm shown in FIG. 6 is the same as the algorithm shown in FIG.
It is a modification of LQ2 to BQ2, and basically performs the same processing. To briefly explain with reference to FIG. 6, first, a random number of 0 to 1 is generated and set as a variable X (step 61), and it is determined whether or not the variable X is 0 or more and 1/3 or less. The judgment is made (step 62). Variable X is 0 or more 1/3
If the following is true, the transmission data is extracted from the waiting queue BQ1 corresponding to the priority P of 1. Therefore, the waiting queue BQ1 is checked (step 63). If the waiting queue BQ1 is not empty, the transmission data is extracted from the waiting queue BQ1. (Step 64).
If the waiting queue BQ1 is empty, the transmission data is taken out from the waiting queue BQ2 (step 66). On the other hand, the variable X is 0 or more
Wait queue B corresponding to priority P of 2 unless 1/3 or less
To retrieve the transmission data from Q2, check the wait queue BQ2 (step 65), and if the wait queue BQ2 is not empty,
Retrieve the transmission data from the wait queue BQ2 (step 6
6) If the queue BQ2 is empty, the transmission data is fetched from the waiting queue BQ1 (step 64).
第6図に示したアルゴリズムの処理によれば、乱数は0
から1の間に一様に分布するので、優先度Pが2の端末
装置からの伝送データは、優先度Pが1の端末装置から
の伝送データの2倍の確率で処理されるされることにな
る。According to the processing of the algorithm shown in FIG. 6, the random number is 0.
Since the data is evenly distributed between 1 and 1, the transmission data from the terminal device with the priority P of 2 must be processed with twice the probability of the transmission data from the terminal device with the priority P of 1. become.
中央制御部35は、第6図に示したアルゴリズムの処理に
より、プロトコル変換処理を待つ待ちキューBQ1またはB
Q2から伝送データをとり出すと、この伝送データをプロ
トコル変換制御部34に渡し、プロトコル変換制御部34の
プロトコル変換部bによりプロトコル変換処理を実行さ
せる。プロトコル変換処理が終了すると、対ホスト計算
機の回線を制御する回線制御部33にそのデータを渡し、
ホスト計算機2に送信する。The central control unit 35 uses the algorithm shown in FIG. 6 to wait queue BQ1 or B waiting for protocol conversion processing.
When the transmission data is extracted from Q2, this transmission data is passed to the protocol conversion control unit 34, and the protocol conversion unit b of the protocol conversion control unit 34 executes the protocol conversion processing. When the protocol conversion process is completed, the data is passed to the line control unit 33 that controls the line to the host computer,
It is sent to the host computer 2.
以上、説明したように、本実施例によれば、各端末装置
のプロトコル変換処理の優先度が固定化されず、プロト
コル変換処理中においても、ISDN網のDチャネルを用い
て、優先度変更通知をプロトコル変換処理に送り、端末
装置に対応させて設定された優先度Pを変更できるの
で、システム運用に柔軟に対処できる。例えば、 (1)業務形態の変化,人事移動等に対応し、定期的に
優先度を変更できる。As described above, according to the present embodiment, the priority of the protocol conversion process of each terminal device is not fixed, and the priority change notification is made by using the D channel of the ISDN network even during the protocol conversion process. Is sent to the protocol conversion process, and the priority P set corresponding to the terminal device can be changed, so that system operation can be dealt with flexibly. For example, (1) the priority can be changed periodically in response to a change in the business form, personnel movement, and the like.
(2)時間帯による混雑分布の変化に対応し、時間帯に
より優先度を変更できる。(2) The priority can be changed depending on the time zone in response to changes in the congestion distribution depending on the time zone.
(3)突発事態に対応するため、短時間だけ特定の端末
装置の優先度が上げることができる。(3) The priority of a specific terminal device can be raised only for a short time in order to deal with an unexpected situation.
この優先度変更の処理は、ISDN網のDチャネルを用いて
行うので、データ伝送用のBチャネルを用いる通常デー
タトラフィックに悪影響を与えることがない。Since this priority changing process is performed using the D channel of the ISDN network, it does not adversely affect the normal data traffic using the B channel for data transmission.
以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。The present invention has been specifically described above based on the embodiments,
It is needless to say that the present invention is not limited to the above-mentioned embodiments and can be variously modified without departing from the scope of the invention.
以上、説明したように、本発明によれば、プロトコル変
換装置において、例えば、プロトコル変換処理中におい
ても、ISDN網のDチャネルを用いて、端末装置に対応さ
せて設定された優先度も変更できるので、各端末装置の
プロトコル変換処理の優先度が固定化されず、システム
運用に柔軟に対処することができる。As described above, according to the present invention, in the protocol conversion device, for example, even during the protocol conversion process, the priority set corresponding to the terminal device can be changed by using the D channel of the ISDN network. Therefore, the priority of the protocol conversion process of each terminal device is not fixed, and the system operation can be dealt with flexibly.
第1図は、本発明の一実施例にかかるシステム構成図、 第2図は、ISDN網のDチャネルを流れる優先度変更通知
のフレーム形式を示す図、 第3図は、プロトコル変換装置の構成を示すブロック
図、 第4図は、優先度テーブルメモリに設定されている優先
度テーブルを示した図、 第5図は、端末装置へプロトコル変換処理を待つ待ちキ
ューから伝送データを取り出すアルゴリズムを示すフロ
ーチャート、 第6図は、ホスト計算機装置へのプロトコル変換処理を
持つ待ちキューから伝送データを取り出すアルゴリズム
を示すフローチャートである。 1……プロトコル変換装置、2……ホスト計算機、3a,3
b,3c……端末装置、4……ISDN網、31……Bチャネル制
御部、32……Dチャネル制御部、33……回線制御部、34
……プロトコル変換制御部、35……中央制御部、36……
優先度テーブルメモリ、37……磁気ディスク装置、38…
…磁気ディスク制御部。FIG. 1 is a system configuration diagram according to an embodiment of the present invention, FIG. 2 is a diagram showing a frame format of a priority change notification flowing through a D channel of an ISDN network, and FIG. 3 is a configuration of a protocol conversion device. FIG. 4 shows a priority table set in a priority table memory, and FIG. 5 shows an algorithm for extracting transmission data from a waiting queue waiting for protocol conversion processing to a terminal device. A flowchart, FIG. 6 is a flowchart showing an algorithm for extracting transmission data from a waiting queue having a protocol conversion process to the host computer. 1 ... Protocol conversion device, 2 ... Host computer, 3a, 3
b, 3c ... Terminal device, 4 ... ISDN network, 31 ... B channel control unit, 32 ... D channel control unit, 33 ... Line control unit, 34
...... Protocol conversion control unit, 35 ...... Central control unit, 36 ......
Priority table memory, 37 ... Magnetic disk unit, 38 ...
… Magnetic disk controller.
Claims (1)
ト計算機とがプロトコル変換装置を介して結合されるシ
ステムにおいて、プロトコル変換装置に、複数の各端末
装置に対応して優先度を設定する優先度テーブルと、該
優先度テーブルに設定された各端末装置の優先度に基づ
いてプロトコル変換処理の優先制御を行う優先制御手段
とを備え、端末装置がISDN網の制御情報転送用チャネル
を用いて優先度テーブルの優先度を変更し、各端末装置
とホスト計算機の間のプロトコル変換処理を優先度テー
ブルに設定された優先度の優先順位により行うことを特
徴とする優先制御プロトコル変換方式。1. In a system in which a plurality of terminal devices connected to an ISDN network and a host computer are connected via a protocol conversion device, a priority is set in the protocol conversion device corresponding to each of the plurality of terminal devices. And a priority control means for performing priority control of protocol conversion processing based on the priority of each terminal device set in the priority table, and the terminal device is provided with a control information transfer channel of the ISDN network. A priority control protocol conversion method characterized in that the priority of the priority table is changed by using the priority table, and the protocol conversion process between each terminal device and the host computer is performed according to the priority order of the priority set in the priority table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62297104A JPH0797781B2 (en) | 1987-11-25 | 1987-11-25 | Priority control protocol conversion method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62297104A JPH0797781B2 (en) | 1987-11-25 | 1987-11-25 | Priority control protocol conversion method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01137851A JPH01137851A (en) | 1989-05-30 |
| JPH0797781B2 true JPH0797781B2 (en) | 1995-10-18 |
Family
ID=17842261
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62297104A Expired - Lifetime JPH0797781B2 (en) | 1987-11-25 | 1987-11-25 | Priority control protocol conversion method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0797781B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5694548A (en) * | 1993-06-29 | 1997-12-02 | International Business Machines Corporation | System and method for providing multimedia quality of service sessions in a communications network |
-
1987
- 1987-11-25 JP JP62297104A patent/JPH0797781B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01137851A (en) | 1989-05-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0824320B2 (en) | Method and device for buffer chaining in communication control device | |
| JPH0670076A (en) | Facsimile store-and-forward system | |
| JPH0797781B2 (en) | Priority control protocol conversion method | |
| JPH09191321A (en) | Adaptive credit control type transfer method | |
| JPH1165980A (en) | Fabric with storage device and control device therefor | |
| EP1078484A1 (en) | Method and system for providing alternate connection in connection fabric environment | |
| JP3230339B2 (en) | Communication control device | |
| JP2001325212A (en) | Method and device for transmitting data block from source processor to destination processor in multiprocessor system | |
| KR0182707B1 (en) | Method and apparatus for monitoring communication message between processors in switching system | |
| JP3155891B2 (en) | Facsimile storage device | |
| JP2789654B2 (en) | Buffer control method | |
| JP2001156825A (en) | node | |
| JPH0895888A (en) | Network control / management system | |
| JPS58182737A (en) | Information processor | |
| JPS63287233A (en) | Message transfer system | |
| JP2549453B2 (en) | Transmission method of data way for autonomous distributed control | |
| JP2513261B2 (en) | Terminal attribute determination control method | |
| JPH03233745A (en) | Transmission data control system | |
| JPS61264829A (en) | Control system for interruption of network controller | |
| JPH04157941A (en) | Ring type network communication system | |
| JP2002164900A (en) | Atm switching system and its flow control method, and recording medium recording flow control program | |
| JPH1013425A (en) | Band variable control method | |
| JPH0865309A (en) | Broadcast communication reception control method and broadcast communication control apparatus | |
| JPS635641A (en) | Gateway device buffer management method | |
| JPH0642673B2 (en) | Transmission buffer pool management method for communication controller |