JPH0650874B2 - Data transmission schedule system for terminals - Google Patents

Data transmission schedule system for terminals

Info

Publication number
JPH0650874B2
JPH0650874B2 JP62013175A JP1317587A JPH0650874B2 JP H0650874 B2 JPH0650874 B2 JP H0650874B2 JP 62013175 A JP62013175 A JP 62013175A JP 1317587 A JP1317587 A JP 1317587A JP H0650874 B2 JPH0650874 B2 JP H0650874B2
Authority
JP
Japan
Prior art keywords
transmission
terminal
link
pucb
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.)
Expired - Lifetime
Application number
JP62013175A
Other languages
Japanese (ja)
Other versions
JPS63181548A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP62013175A priority Critical patent/JPH0650874B2/en
Publication of JPS63181548A publication Critical patent/JPS63181548A/en
Publication of JPH0650874B2 publication Critical patent/JPH0650874B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置に回線を介して複数の端末制御
装置が接続され、これら端末制御装置配下の端末へ前記
情報処理装置からデータを送信する際のデータ送信スケ
ジュール方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a plurality of terminal control devices connected to an information processing device via a line, and transmits data from the information processing device to terminals under the control of the terminal control device. The present invention relates to a data transmission schedule method for transmission.

〔従来の技術〕 電子メールシステム等のデータ通信システムにおいて
は、情報処理装置に、専用回線,交換回線,パケット交
換網あるいは回線交換網の加入者回線,LAN(Local A
rea Network)等の回線を介して複数の端末制御装置が接
続されると共に、各端末制御装置に1台以上の端末がそ
の配下として接続され、情報処理装置内におけるアプリ
ケーションプログラム等の端末送信データ発生源からの
送信データを上記回線,端末制御装置を介して端末へ送
信することが行なわれる。
[Prior Art] In a data communication system such as an electronic mail system, a dedicated line, a switching line, a subscriber line of a packet switching network or a circuit switching network, a LAN (Local A
A plurality of terminal control devices are connected via a line such as a (rea network), and one or more terminals are connected to each terminal control device as its subordinates, generating terminal transmission data such as application programs in the information processing device. Transmission data from the source is transmitted to the terminal through the line and the terminal control device.

このようなシステムにおいて、システムに接続された回
線配下の多数の端末の中から、データを送信する必要が
ある端末すなわち送信要求のある端末を決定する従来の
方式としては、情報処理装置に接続された回線配下の全
ての端末を検索して各端末が送信要求端末であるか否か
を調べ、送信要求のある端末であれば送信動作を実行す
る方式が知られている。
In such a system, as a conventional method for determining a terminal that needs to transmit data, that is, a terminal that has a transmission request from a large number of terminals under the line connected to the system, the conventional method is A method is known in which all terminals under the line are searched to determine whether or not each terminal is a transmission request terminal, and if the terminal has a transmission request, the transmission operation is executed.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、上述した従来の方式では、回線を介して情報処
理装置に接続された複数の端末制御装置配下の端末への
データ送信に関して、回線配下の全ての端末を検索して
送信要求のある端末か否かを決定している為、回線配下
に多くの端末が接続されるシステム構成、例えばパケッ
ト交換網やLANで構築されたシステムでは、送信要求
のある端末を速やかに決定することができない欠点があ
った。
However, in the above-mentioned conventional method, regarding the data transmission to the terminals under the control of a plurality of terminal control devices connected to the information processing apparatus via the line, it is searched for all the terminals under the line and the terminal requesting the transmission is searched. In the system configuration in which many terminals are connected under the line, for example, in a system constructed by a packet switching network or LAN, it is not possible to promptly determine the terminal that has a transmission request. there were.

本発明はこのような従来の欠点を解決したもので、その
目的は、送信要求のある端末を速やかに決定することが
できるようにすることにある。
The present invention has solved the above-mentioned conventional drawbacks, and an object thereof is to be able to promptly determine a terminal having a transmission request.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記目的を達成するために、各々が少なくとも
1台の端末を配下に持つ複数の端末制御装置が回線を介
して情報処理装置に接続されるシステムにおける前記端
末へのデータ送信スケジュール方式において、 送信すべきデータのある端末が発生した場合、該端末を
配下に持つ端末制御装置を、送信処理すべき端末制御装
置の一つとして送信要求順にリンク付けする送信リンク
生成手段と、 前記回線配下の端末への送信動作実行時、前記送信リン
ク生成手段によってリンク付けされた端末制御装置の配
下の端末の中から、送信すべきデータのある端末を順次
に決定する送信リンク読出し手段と、 該送信リンク読出し手段によって順次に決定された一つ
の端末制御装置配下の送信要求を持つ全ての端末へのデ
ータ送信が終了したとき、該データ送信終了した端末を
配下に持つ前記端末制御装置の送信リンクを外す送信リ
ンクパージ手段とを備え、 回線を介して接続された複数の端末制御装置配下の端末
へ送信すべきデータが存在する場合、送信リンク付けさ
れた端末制御装置配下の端末中から送信要求のある端末
を決定して送信動作を行なうように構成される。
In order to achieve the above object, the present invention provides a data transmission schedule method for a terminal in a system in which a plurality of terminal control devices each having at least one terminal under the control are connected to an information processing device via a line. When a terminal having data to be transmitted occurs, a transmission link generation means for linking a terminal control device having the terminal under its control as one of the terminal control devices to be subjected to transmission processing in the order of transmission request; And a transmission link reading means for sequentially deciding a terminal having data to be transmitted among the terminals under the control of the terminal linked by the transmission link generation means when executing the transmission operation to the terminal. When data transmission to all terminals having transmission requests under the control of one terminal control device determined by the link reading means is completed, And a transmission link purging means for disconnecting the transmission link of the terminal control device having the terminal which has completed the data transmission, and there is data to be transmitted to the terminals under the control of a plurality of terminal control devices connected via the line. In this case, it is configured to determine a terminal having a transmission request from among the terminals under the control of the terminal linked to the transmission link and perform the transmission operation.

〔作用〕[Action]

送信すべきデータのある端末が発生すると、送信リンク
生成手段によって、その端末を配下に持つ端末制御装置
が、送信処理すべき端末制御装置の一つとして送信要求
順にリンク付けされる。従って、送信すべきデータのな
い端末を配下にしている端末制御装置は送信リンクから
除外される。
When a terminal having data to be transmitted is generated, the transmission link generation means links the terminal control device having the terminal under its control as one of the terminal control devices to be subjected to the transmission processing in the transmission request order. Therefore, the terminal control device which controls the terminal having no data to be transmitted is excluded from the transmission link.

回線配下の端末への送信動作実行時、送信リンク読出し
手段によって、送信リンク生成手段によってリンク付け
された端末制御装置の配下の端末の中から、送信すべき
データのある端末が順次に決定され、送信リンク付けさ
れたある端末制御装置配下のデータ送信すべき全ての端
末へのデータ送信が終了すると、送信リンクパージ手段
によって、その端末制御装置の送信リンクが外される。
At the time of performing a transmission operation to a terminal under the line, the transmission link reading unit sequentially determines the terminal having data to be transmitted from the terminals under the control of the terminal linked by the transmission link generation unit, When the data transmission to all terminals under the control of a certain terminal control device to which the transmission link is attached should be transmitted, the transmission link purging means disconnects the transmission link of the terminal control device.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第2図は本発明を適用するシステムの一例を示すブロッ
ク図であり、情報処理装置9がパケット交換網11に加入
者回線10を介して接続され、複数の各種の端末制御装置
12,13,14がパケット交換網11,加入者回線10を介して
情報処理装置9に接続され、且つ、各端末制御装置12,
13,14が端末15,16,17を配下に持つシステムを示して
いる。本実施例はこのようなシステムにおいて、情報処
理装置9が複数の端末15〜17へのデータ送信に関して効
率的な動作を行なうための端末へのデータ送信スケジュ
ール方式を提供しようとするものである。
FIG. 2 is a block diagram showing an example of a system to which the present invention is applied, in which an information processing device 9 is connected to a packet switching network 11 via a subscriber line 10 and a plurality of various terminal control devices are connected.
12, 13, 14 are connected to the information processing device 9 through the packet switching network 11 and the subscriber line 10, and each terminal control device 12,
13 and 14 show a system in which terminals 15, 16 and 17 are subordinates. The present embodiment is intended to provide a data transmission schedule method for terminals in which the information processing apparatus 9 performs efficient operation regarding data transmission to a plurality of terminals 15 to 17 in such a system.

第1図は第2図の情報処理装置9において、回線10を介
して接続された複数の端末制御装置配下の端末15〜17へ
のデータ送信スケジュール方式を実現する部分の機能ブ
ロック図であり、メールボックス制御部1,送信リンク
生成手段2,回線状態管理手段3,送信制御手段4,送
信リンク読出し手段5,送信リンクパージ手段6,出力
メッセージ待ちキュー群7,回線10に接続された回線接
続装置8および制御ブロック群CB,端末への送信デー
タの発生源であるアプリケーションプログラムAPを含
んでいる。
FIG. 1 is a functional block diagram of a part of the information processing device 9 of FIG. 2 which realizes a data transmission schedule system to terminals 15 to 17 under the control of a plurality of terminal control devices connected via a line 10. Mailbox control unit 1, transmission link generation unit 2, line state management unit 3, transmission control unit 4, transmission link reading unit 5, transmission link purging unit 6, output message waiting queue group 7, line connection connected to line 10. The device 8 and the control block group CB include an application program AP which is a source of transmission data to the terminal.

制御ブロック群CBは第1図および第3図に示すよう
に、ラインコントロールブロック(以下LCBと称す)
30と、フィジカルユニットコントロールブロック(以下
PUCBと称す)40,41,42と、ターミナルコントロー
ルブロック(以下TCBと称す)50,51,52との制御ブ
ロックから構成されている。ここで、LCB30は回線制
御に必要な情報を格納し、PUCB(1)40,(2)41,(3)4
2は各々端末制御装置12,13,14を制御するのに必要な
情報を格納し、TCB(1)50,(2)51,(3)52は各々端末1
5,16,17を制御するのに必要な情報を格納する制御ブ
ロックである。LCB30配下の全てのPUCB,TCB
は後述するようにして検索可能であり、全ての制御ブロ
ック(LCB,PUCB,TCB)は情報処理装置9内
の制御メモリの一部に設けられる。
As shown in FIGS. 1 and 3, the control block group CB is a line control block (hereinafter referred to as LCB).
30, a physical unit control block (hereinafter referred to as PUCB) 40, 41, 42, and a terminal control block (hereinafter referred to as TCB) 50, 51, 52. Here, the LCB 30 stores information necessary for line control, and PUCB (1) 40, (2) 41, (3) 4
2 stores information necessary for controlling the terminal control devices 12, 13, 14 respectively, and TCB (1) 50, (2) 51, (3) 52 are respectively terminal 1
This is a control block that stores the information necessary to control 5, 16, and 17. All PUCB and TCB under LCB30
Can be searched as will be described later, and all control blocks (LCB, PUCB, TCB) are provided in a part of the control memory in the information processing device 9.

LCB30には、回線10の配下に接続される全ての端末制
御装置の個数を示す全PUCB数,回線配下の送信すべ
きデータのある端末制御装置の個数を示すPUCB送信
要求数,回線配下の送信要求のある端末制御装置の送信
リンク付け(PUCBの送信リンク付けと称す)のため
に使用するファーストリンク,ラストリンク,回線配下
の現在送信動作を行なっている端末制御装置を示す現送
信PUCBポインタの各フィールド、および第1図およ
び第3図には図示しなかったが、その他回線が送信状態
か否かを示すステータス等の各フィールドがある。LC
B30内のファーストリンク,ラストリンクは、送信リン
クが全く付いていない場合NULLがセットされている
(ここで、NULLは全てのビットが“1”の状態をい
う)。他方、各PUCBには、LCB30配下の何番目の
PUCBであるかを示すリストオフセットがファースト
リンク,ラストリンクに初期状態としてセットされる。
即ち、第3図において、例えばPUCB(1)40内のファ
ーストリンク及びラストリンクには、リンク付けされる
以前においてPUCB(1)自身を示すリストオフセット
がセットされている。また、第1図および第3図には図
示しなかったが、各PUCBには、対応する端末制御装
置に接続された全端末の送信要求数,配下の端末の属性
等を設定するフィールドも設けられている。また、各T
CBには、自身が取り扱う端末への送信データの有無を
示す送信要求フラグF(1),F(2),F(3)や、端末の送
信要求数等の設定するフィールド等が設けられている。
In the LCB 30, the total number of PUCBs indicating the number of all terminal control units connected under the line 10, the number of PUCB transmission requests indicating the number of terminal control units having data to be transmitted under the line, and the transmission under the line A first transmission PUCB pointer indicating the first link used for transmission linking of the requested terminal control unit (referred to as PUCB transmission linking), the last link, and the terminal control unit currently performing transmission operation under the line. Although not shown in each field and FIGS. 1 and 3, there are other fields such as a status indicating whether or not the line is in the transmission state. LC
For the first link and last link in B30, NULL is set when no transmission link is attached (here, NULL means a state in which all bits are "1"). On the other hand, in each PUCB, a list offset indicating the number of PUCB under the LCB30 is set as an initial state in the first link and the last link.
That is, in FIG. 3, for example, a list offset indicating PUCB (1) itself is set to the first link and the last link in PUCB (1) 40 before being linked. Although not shown in FIGS. 1 and 3, each PUCB is also provided with a field for setting the number of transmission requests of all terminals connected to the corresponding terminal control device, attributes of subordinate terminals, and the like. Has been. Also, each T
The CB is provided with transmission request flags F (1), F (2), F (3) indicating the presence / absence of transmission data to the terminal handled by the CB, fields for setting the number of transmission requests of the terminal, and the like. There is.

回線配下の送信要求のある端末制御装置が存在する場合
は、LCB30内のファーストリンクからその端末制御装
置対応のPUCBへの送信リンク付けがされており、こ
の場合はLCB30内のラストリンクは最後に送信リンク
付けされたPUCBを示し、最初に送信リンク付けした
PUCBまで後述するようにして検索できる。例えば、
第3図において、PUCB(1)40,PUCB(2)41,PU
CB(3)42配下の端末の順番で送信要求があった場合、
第1図に示したように、LCB30内のファーストリンク
はに示すようにPUCB(1)40を示し、,に示す
ようにPUCB(1)40からPUCB(2)41,PUCB(2)4
1からPUCB(3)42と送信リンク付けされ、また、LC
B30内のラストリンクはPUCB(3)42を示し、PUC
B(3)42からPUCB(2)41,PUCB(2)41からPUC
B(1)40とリンク付けされる。
If there is a terminal control device under the line that has a transmission request, a transmission link is attached from the first link in the LCB30 to the PUCB corresponding to that terminal control device. In this case, the last link in the LCB30 is the last link. The PUCB to which the transmission link is attached is shown, and the PUCB to which the transmission link is attached first can be searched as described later. For example,
In FIG. 3, PUCB (1) 40, PUCB (2) 41, PU
When there is a transmission request in the order of the terminals under CB (3) 42,
As shown in FIG. 1, the fast link in the LCB 30 indicates PUCB (1) 40 as indicated by, and PUCB (1) 40 to PUCB (2) 41, PUCB (2) 4 as indicated by ,.
1 to PUCB (3) 42 with transmission link, and LC
The last link in B30 indicates PUCB (3) 42,
B (3) 42 to PUCB (2) 41, PUCB (2) 41 to PUC
Linked with B (1) 40.

次に本実施例の動作について図面を参照して詳細に説明
する。
Next, the operation of this embodiment will be described in detail with reference to the drawings.

第1図および第2図において、回線を介して接続された
複数の端末制御装置12,13,14配下の端末15,16,17へ
の送信データはアプリケーションプログラムAPで発生
され、メールボックス制御部1により、メッセージ(デ
ータの集まりで論理的な一つの転送単位)として端末毎
つまり第3図におけるTCB毎に対応した出力メッセー
ジ待ちキュー群7中の出力メッセージ待ちキュー7
(1),7(2),7(3)にキューイングされる。例えば第1
図では、端末15用のTCB(1)50に対してメッセージM
(1)がキュー7(1)にキューイングされ、端末16用のTC
B(2)51に対してメッセージM(2)がキュー7(2)にキュ
ーイングされ、端末16用のTCB(3)52に対してメッセ
ージM(3)がキュー7(3)にキューイングされている。端
末への送信メッセージが初めて出力メッセージ待ちキュ
ー群7にキューイングされた時点で、メールボックス制
御部1は、その端末への送信要求を送信リンク生成手段
2へ通知する。
In FIG. 1 and FIG. 2, the transmission data to the terminals 15, 16, 17 under the control of a plurality of terminal control devices 12, 13, 14 connected via a line is generated by an application program AP, and a mailbox control unit. 1, the output message waiting queue 7 in the output message waiting queue group 7 corresponding to each terminal, that is, each TCB in FIG. 3, as a message (a logical unit of a transfer of data).
It is queued to (1), 7 (2), 7 (3). For example, the first
In the figure, the message M is sent to the TCB (1) 50 for the terminal 15.
(1) is queued in queue 7 (1) and TC for terminal 16
Message M (2) is queued to queue 7 (2) for B (2) 51 and message M (3) is queued to queue 7 (3) for TCB (3) 52 for terminal 16. Has been done. When a message sent to a terminal is queued in the output message waiting queue group 7 for the first time, the mailbox control unit 1 notifies the sending link generation means 2 of a request to send to the terminal.

送信リンク生成手段2はこれに応答し、指定された端末
に対応する端末制御装置用のPUCBを判別し、そのP
UCB内の端末送信要求数を「0」から「1」にカウン
トアップし、そのPUCBをLCB30にリンク付けす
る。またLCB30内のPUCB送信要求数をカウントア
ップする。
In response to this, the transmission link generation means 2 discriminates the PUCB for the terminal control device corresponding to the designated terminal, and determines its P
The number of terminal transmission requests in the UCB is counted up from "0" to "1", and the PUCB is linked to the LCB30. Also, the number of PUCB transmission requests in the LCB 30 is counted up.

送信要求のあるPUCBをLCB30にリンク付ける処理
において、LCB30に送信リンクがない状態つまりLC
B30内のファーストリンクとラストリンクとが共にNU
LLのときは、送信リンク生成手段2は、LCB30内の
ファーストリンクと上記決定したPUCB内のファース
トリンクとを入れ替え、またLCB30内のラストリンク
と上記決定したPUCB内のラストリンクとを入れ替え
る。例えば第3図におけるPUCB(1)40をLCB30に
リンク付けすると、LCB30内のファーストリンクはP
UCB(1)40を示し、PUCB(1)内のファーストリンク
はNULLとなって、このPUCB(1)40が最後の送信
リンクとされる。またLCB30内のラストリンクはPU
CB(1)を示し、PUCB(1)内のラストリンクはNUL
Lとなる。
In the process of linking a PUCB with a transmission request to the LCB30, there is no transmission link in the LCB30.
Both the first link and the last link in B30 are NU
In the case of LL, the transmission link generation means 2 replaces the first link in the LCB 30 with the determined first link in the PUCB, and replaces the last link in the LCB 30 with the determined last link in the PUCB. For example, if PUCB (1) 40 in FIG. 3 is linked to LCB30, the first link in LCB30 is P
The UCB (1) 40 is shown, and the first link in PUCB (1) becomes NULL, and this PUCB (1) 40 is the last transmission link. The last link in the LCB30 is PU
CB (1) is shown, and the last link in PUCB (1) is NUL.
It becomes L.

一方、LCB30に送信要求のあるPUCBが存在する場
合、つまりLCB30内のファーストリンクがNULLで
ない場合、LCB30内のラストリンクから最後に送信リ
ンク付けされたPUCBを得て、そのPUCB内のファ
ーストリンクと上記送信要求され決定されたPUCB内
のファーストリンクとを入れ替え、またLCB30内のラ
ストリンクと上記送信要求され決定されたPUCB内の
ラストリンクとを入れ替える。例えば第3図におけるP
UCB(1)40をLCB30にリンク付けした後、PUCB
(2)41を更にリンク付ける場合、LCB30内のラストリ
ンクはPUCB(1)を示し、そのPUCB(1)内のファー
ストリンクはNULLを示しているので、PUCB(1)
内のファーストリンクはPUCB(2)を示し、PUCB
(2)内のファーストリンクはNULLを示すように変更
される。またLCB30内のラストリンクはPUCB(2)4
1を示し、PUCB(2)内のラストリンクはPUCB(1)
を示し、PUCB(1)内のラストリンクはNULLとな
る。このようにして、次々とリンク付けが行なわれる。
第1図のLCB30からの送信リンクは、PUCB(1)4
0,PUCB(2)41,PUCB(3)42の順番で送信要求が
あったときの状態を示している。そして、送信リンク生
成手段2における送信要求PUCBのLCB30への送信
リンク付け処理において、送信要求PUCB内のラスト
リンクがNULLとなったときは、該回線10は送信スケ
ジュールの対象となる。
On the other hand, when there is a PUCB with a transmission request in the LCB 30, that is, when the fast link in the LCB 30 is not NULL, the PUCB last attached to the transmission link is obtained from the last link in the LCB 30 and the fast link in the PUCB is obtained. The first link in the PUCB requested and determined to be transmitted is replaced, and the last link in the LCB 30 is replaced with the last link in the PUCB requested and determined to be transmitted. For example, P in FIG.
After linking UCB (1) 40 to LCB30, PUCB
(2) When 41 is further linked, the last link in the LCB 30 indicates PUCB (1), and the first link in the PUCB (1) indicates NULL, so PUCB (1)
The first link inside indicates PUCB (2), and PUCB (2)
The first link in (2) is changed to indicate NULL. The last link in LCB30 is PUCB (2) 4
1 indicates that the last link in PUCB (2) is PUCB (1)
, And the last link in PUCB (1) is NULL. In this way, linking is performed one after another.
The transmission link from the LCB 30 in FIG. 1 is PUCB (1) 4
0, PUCB (2) 41, PUCB (3) 42 are shown in this order when a transmission request is made. Then, in the process of attaching the transmission request PUCB to the LCB 30 in the transmission link generation means 2, when the last link in the transmission request PUCB becomes NULL, the line 10 is subject to the transmission schedule.

回線10の送信スケジュールが実行されると、回線状態管
理手段3はLCB30内のファーストリンクがNULLか
否かを判別し、NULLでなかった場合すなわち送信リ
ンク付けされたPUCBがある場合、送信リンク読出し
手段5に対してどの端末の送信要求かを知るため読出し
要求を通知する。
When the transmission schedule of the line 10 is executed, the line state management means 3 determines whether or not the fast link in the LCB 30 is NULL, and when it is not NULL, that is, when there is a PUCB to which a transmission link is attached, the transmission link is read. The reading request is notified to the means 5 in order to know which terminal the transmission request is.

送信リンク読出し要求5はこれに応答し、LCB30内の
ファーストリンクで示されているPUCBを示すポイン
タをLCB30内の現送信PUCBポインタにセットして
最初に処理すべきPUCBを指定し、且つ、そのPUC
B配下のTCBを検索してPUCB内送信要求のある端
末を示すTCBを決定する。ここで、本実施例では説明
の便宜上一つのPUCBには一つのTCBしか付与しな
かったが、実際は一つのPUCBつまり一つの端末制御
装置には多数のTCBつまり端末が接続されているもの
であり、送信リンク読出し手段5はその多数のTCB中
からフラグFが送信データありを示すTCBを検索して
逐次決定していくものである。
The transmission link read request 5 responds to this by setting the pointer indicating the PUCB indicated by the fast link in the LCB 30 to the current transmission PUCB pointer in the LCB 30 and designating the PUCB to be processed first, and PUC
The TCB under the control of B is searched to determine the TCB indicating the terminal having the transmission request in the PUCB. Here, in the present embodiment, for convenience of description, only one TCB is given to one PUCB, but in reality, one PUCB, that is, one terminal control device is connected with many TCBs, that is, terminals. The transmission link reading means 5 retrieves the TCB in which the flag F indicates that there is transmission data from the large number of TCBs and sequentially determines the TCB.

次に、送信リンク読出し手段5によって送信すべきTC
Bが決められると、回線状態管理手段3は回線状態を送
信モードとし、送信制御手段4に制御を移す。
Next, the TC to be transmitted by the transmission link reading means 5
When B is decided, the line state management means 3 sets the line state to the transmission mode and shifts the control to the transmission control means 4.

送信制御手段4では、送信すべきデータを得るためメー
ルボックス制御部1に対して該当TCBに対応した出力
メッセージ待ちキューへの送信メッセージ読出し要求を
行なう。これに応答し、メールボックス制御部1は、通
知されたTCB対応の出力メッセージ待ちキューに格納
されている送信メッセージデータの格納ポインタを送信
メッセージ読出し完了通知と共に送信制御手段4に渡す
ので、これらを受取ると、送信制御手段4は図示しない
回線バッファへデータを移送して、回線接続装置8によ
って接続された回線10を介して送信動作を実行する。送
信制御手段4は一つのTCBに対する送信動作を終える
と、その旨を回線状態管理手段3へ通知し、回線状態管
理手段3は送信リンク読出し手段5に対し先に決定され
たTCBの処理が終了した旨および次のTCBを決定す
べき旨を指示する。これに応答し、送信リンク読出し手
段5は、対応する現送信PUCBの端末送信要求数をカ
ウントダウンすると共に次のTCBを決定して回線状態
管理手段3に通知する。以上の動作は現送信PUCB内
の端末送信要求数が「0」になるまで繰返され、現送信
PUCB内の端末送信要求数が「0」になると、その旨
が送信リンク読出し手段5より回線状態管理手段3に通
知され、回線状態管理手段3は現送信PUCBの送信完
了通知を送信リンクパージ手段6に行なう。
In order to obtain the data to be transmitted, the transmission control means 4 requests the mailbox control unit 1 to read the transmission message to the output message waiting queue corresponding to the TCB. In response to this, the mailbox control unit 1 passes the storage message data storage pointer stored in the output message waiting queue corresponding to the TCB to the transmission control unit 4 together with the transmission message read completion notification. Upon receipt, the transmission control means 4 transfers the data to a line buffer (not shown) and executes a transmission operation via the line 10 connected by the line connection device 8. When the transmission control means 4 finishes the transmission operation for one TCB, it notifies the line state management means 3 of that fact, and the line state management means 3 terminates the processing of the previously determined TCB for the transmission link reading means 5. It indicates that the job has been done and that the next TCB should be determined. In response to this, the transmission link reading means 5 counts down the number of terminal transmission requests of the corresponding current transmission PUCB, determines the next TCB, and notifies the line state management means 3 of it. The above operation is repeated until the number of terminal transmission requests in the current transmission PUCB becomes "0". When the number of terminal transmission requests in the current transmission PUCB becomes "0", the transmission link reading means 5 informs the line state. The management unit 3 is notified, and the line state management unit 3 notifies the transmission link purge unit 6 of the transmission completion of the current transmission PUCB.

送信リンクパージ手段6は上記通知を受けると、現送信
PUCBをLCB30の送信リンクから外す処理を行な
う。つまり、LCB30内のファーストリンクと通知され
たPUCB内のファーストリンクとを入れ替え、またそ
の通知されたPUCB内のファーストリンクからリンク
されている次のPUCBを得て、この次のPUCB内の
ラストリンクと上記通知されたPUCB内のラストリン
クとを入れ替えて、上記通知されたPUCBのLCB30
からのリンクを外す。例えば第1図において、PUCB
(1)40が送信完了してLCB30のリンクから外される
と、LCB30内のファーストリンクはPUCB(2)41を
示し、PUCB(2)41内のファーストリンクはPUCB
(3)42を示し、PUCB(3)42内のファーストリンクはN
ULLとなって送信リンクの最後を表すようになる。ま
たLCB30内のラストリンクはPUCB(3)42を示し、
PUCB(3)42内のラストリンクはPUCB(2)41を示
し、PUCB(2)41内のラストリンクはNULLとな
る。なお、送信完了したPUCBのLCB30からのリン
クを外した場合、LCB30内のPUCB送信要求数は、
送信リンクパージ手段6によって1カウントダウンされ
る。
Upon receiving the above notification, the transmission link purging means 6 carries out processing for removing the current transmission PUCB from the transmission link of the LCB 30. That is, the fast link in the LCB 30 is replaced with the fast link in the notified PUCB, and the next PUCB linked from the fast link in the notified PUCB is obtained, and the last link in the next PUCB is obtained. And the last link in the notified PUCB is replaced, and the LCB30 of the notified PUCB is changed.
Remove the link from. For example, in FIG. 1, PUCB
(1) When 40 is completely transmitted and removed from the link of LCB 30, the fast link in LCB 30 indicates PUCB (2) 41, and the fast link in PUCB (2) 41 is PUCB.
(3) 42, and the first link in PUCB (3) 42 is N
It becomes UL and represents the end of the transmission link. The last link in LCB30 shows PUCB (3) 42,
The last link in PUCB (3) 42 shows PUCB (2) 41, and the last link in PUCB (2) 41 becomes NULL. In addition, when the link from the LCB 30 of the PUCB that has completed the transmission is removed, the number of PUCB transmission requests in the LCB 30 is
The transmission link purge means 6 counts down by one.

次に、送信リンクパージ手段6から回線状態管理手段3
に制御が戻り、再度LCB30内のファーストリンクがN
ULLか否かが判別され、NULLでなかったら、送信
リンク有りということで、次のPUCB(2)41への送信
スケジュールが行なわれ、上記と同様な動作が繰返され
る。
Next, the transmission link purge means 6 to the line state management means 3
Control is returned to, and the first link in LCB30 is again N
Whether it is ULL or not is determined, and if it is not NULL, it means that there is a transmission link, so that the transmission schedule to the next PUCB (2) 41 is performed, and the same operation as above is repeated.

そして、最後にLCB30内のファーストリンクがNUL
Lになると、送信リンクなしということで、回線状態を
アイドルとしてスケジュール待ちとなる。
And finally, the first link in LCB30 is NUL.
When it goes to L, it means that there is no transmission link, so the line state becomes idle and it waits for the schedule.

以上のように、本実施例は、情報処理装置9に回線10を
介して接続された複数の端末制御装置12〜14配下の端末
15〜17へのデータ送信に関して、情報処理装置9内に、
これら端末へ送信するデータの発生源であるアプリケー
ションプログラムAPを有し、また、回線10の状態に関
する情報を管理する回線状態管理手段3と、送信要求の
ある端末へのデータ送信を制御する送信制御手段4とを
備えたシステムにおいて、送信すべきデータのある端末
が発生した場合にその端末に対応した端末制御装置を判
別して送信要求の順番に端末制御装置毎の送信リンク付
けを行なう送信リンク生成手段2と、送信リンク付けさ
れた端末制御装置から送信動作を実行するときにどの端
末かを決定するための送信リンク読出し手段5と、端末
制御装置配下の全ての端末へのデータ送信が終了したと
きにその端末制御装置の送信リンクを外すための送信リ
ンクパージ手段6とを設けることによって、回線10を介
して接続された複数の端末制御装置配下の端末へ送信す
べきデータが存在する場合、送信リンク付けされた端末
制御装置から送信要求のある端末を決定して送信動作を
行なうものであり、送信すべきデータがある端末を調べ
る範囲を制限することによって効率的な動作が行なえ
る。
As described above, in this embodiment, the terminals under the control of the plurality of terminal control devices 12 to 14 connected to the information processing device 9 through the line 10.
Regarding data transmission to 15 to 17, in the information processing device 9,
A line state management unit 3 that has an application program AP that is a source of data to be transmitted to these terminals and that manages information related to the state of the line 10 and a transmission control that controls data transmission to a terminal that has a transmission request In a system including the means 4, when a terminal having data to be transmitted occurs, a terminal control device corresponding to the terminal is discriminated and a transmission link is attached to each terminal control device in the order of transmission request. The generation means 2, the transmission link reading means 5 for determining which terminal is used when executing the transmission operation from the terminal control device to which the transmission link is attached, and the data transmission to all the terminals under the control of the terminal control device are completed. By providing a transmission link purging means 6 for disconnecting the transmission link of the terminal control device when If there is data to be transmitted to a terminal under the control of the terminal control device, the terminal that has the transmission request is determined from the terminal control device to which the transmission link is attached, and the transmission operation is performed. Efficient operation can be performed by limiting the range to be examined.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、送信すべきデータのあ
る端末が発生した場合、送信リンク生成手段によって、
その端末を配下に持つ端末制御装置を、送信処理すべき
端末制御装置の一つとして送信要求順にリンク付けして
おくことにより、回線配下の端末への送信動作実行時に
データを送信すべき端末を調べる際は送信リンク付けさ
れた端末制御装置配下の端末だけを、送信リンク読出し
手段によって検索するだけで足り、回線配下の全ての端
末を検索する従来方式に比べて送信要求のある端末を速
やかに決定することができる効果がある。従って、一つ
の回線に多数の端末が接続されるシステムに本発明を適
用すれば、迅速な送信サービスの提供が可能となり、非
常に有効である。
As described above, according to the present invention, when a terminal having data to be transmitted occurs, the transmission link generation means
By linking the terminal control device having the terminal under its control as one of the terminal control devices to be subjected to transmission processing in the order of transmission request, the terminal to which data is to be transmitted at the time of performing the transmission operation to the terminal under the line is selected. When investigating, it is sufficient to search only the terminals under the terminal control device to which the transmission link is attached by the transmission link reading means, and promptly find the terminal with the transmission request as compared with the conventional method of searching all the terminals under the line. There is an effect that can be determined. Therefore, if the present invention is applied to a system in which a large number of terminals are connected to one line, a transmission service can be provided quickly, which is very effective.

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

第1図は本発明のデータ送信スケジュール方式を実現す
る情報処理装置内部の機能ブロック図、 第2図は本発明を適用するシステムの一例を示すブロッ
ク図および、 第3図は制御ブロックの構成例を示す図である。 図において、1……メールボックス制御部、2……送信
リンク生成手段、3……回線状態管理手段、4……送信
制御手段、5……送信リンク読出し手段、6……送信リ
ンクパージ手段、7……出力メッセージ待ちキュー群、
8……回線接続装置、9……情報処理装置、10……回
線、11……パケット交換網、12〜14……端末制御装置、
15〜17……端末、CB……制御ブロック群。
FIG. 1 is a functional block diagram inside an information processing apparatus that realizes a data transmission schedule method of the present invention, FIG. 2 is a block diagram showing an example of a system to which the present invention is applied, and FIG. 3 is a configuration example of a control block. FIG. In the figure, 1 ... Mailbox controller, 2 ... Transmission link generation means, 3 ... Line state management means, 4 ... Transmission control means, 5 ... Transmission link reading means, 6 ... Transmission link purging means, 7 ... Output message waiting queues,
8 ... Line connection device, 9 ... Information processing device, 10 ... Line, 11 ... Packet switching network, 12-14 ... Terminal control device,
15 to 17 ... Terminal, CB ... Control block group.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】各々が少なくとも1台の端末を配下に持つ
複数の端末制御装置が回線を介して情報処理装置に接続
されるシステムにおける前記端末へのデータ送信スケジ
ュール方式において、 送信すべきデータのある端末が発生した場合、該端末を
配下に持つ端末制御装置を、送信処理すべき端末制御装
置の一つとして送信要求順にリンク付けする送信リンク
生成手段と、 前記回線配下の端末への送信動作実行時、前記送信リン
ク生成手段によってリンク付けされた端末制御装置の配
下の端末の中から、送信すべきデータのある端末を順次
に決定する送信リンク読出し手段と、 該送信リンク読出し手段によって順次に決定された一つ
の端末制御装置配下の送信要求を持つ全ての端末へのデ
ータ送信が終了したとき、該データ送信終了した端末を
配下に持つ前記端末制御装置の送信リンクを外す送信リ
ンクパージ手段とを備え、 回線を介して接続された複数の端末制御装置配下の端末
へ送信すべきデータが存在する場合、送信リンク付けさ
れた端末制御装置配下の端末中から送信要求のある端末
を決定して送信動作を行なうようにしたことを特徴とす
る端末へのデータ送信スケジュール方式。
1. A data transmission schedule method for transmitting data to a terminal in a system in which a plurality of terminal control devices each having at least one terminal under the control are connected to an information processing device via a line. When a certain terminal occurs, a transmission link generation means for linking a terminal control device having the terminal under its control as one of the terminal control devices to be subjected to transmission processing, and a transmission operation to the terminal under the line. At the time of execution, a transmission link reading unit that sequentially determines a terminal having data to be transmitted from the terminals under the control of the terminal linked by the transmission link generating unit, and the transmission link reading unit sequentially When data transmission to all the terminals that have a transmission request under the determined one terminal control device is completed, the terminal that has completed the data transmission A transmission link purging means for removing the transmission link of the terminal control device under the control is provided, and if there is data to be transmitted to a plurality of terminals under the control of the terminal control device connected via the line, the transmission link is attached. A method for scheduling data transmission to a terminal, characterized in that a terminal having a transmission request is determined from terminals under the control of a terminal control device and a transmission operation is performed.
JP62013175A 1987-01-22 1987-01-22 Data transmission schedule system for terminals Expired - Lifetime JPH0650874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62013175A JPH0650874B2 (en) 1987-01-22 1987-01-22 Data transmission schedule system for terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62013175A JPH0650874B2 (en) 1987-01-22 1987-01-22 Data transmission schedule system for terminals

Publications (2)

Publication Number Publication Date
JPS63181548A JPS63181548A (en) 1988-07-26
JPH0650874B2 true JPH0650874B2 (en) 1994-06-29

Family

ID=11825846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62013175A Expired - Lifetime JPH0650874B2 (en) 1987-01-22 1987-01-22 Data transmission schedule system for terminals

Country Status (1)

Country Link
JP (1) JPH0650874B2 (en)

Also Published As

Publication number Publication date
JPS63181548A (en) 1988-07-26

Similar Documents

Publication Publication Date Title
US5303343A (en) Multi-medium store-and-forward exchange apparatus and method of controlling the apparatus
US5511169A (en) Data transmission apparatus and a communication path management method therefor
US7676610B2 (en) Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
JP2004038758A (en) Storage controller, control method for storage controller, and program
US5960178A (en) Queue system and method for point-to-point message passing having a separate table for storing message state and identifier of processor assigned to process the message
US6324567B2 (en) Method and apparatus for providing multiple commands to a server
JP2008033952A (en) Most eligible server in common work queue environment
JP3772690B2 (en) Service system and service method used therefor
JP2006235831A (en) Condition management device, method, and program
JPH10301870A (en) Communication line control system
JP2896394B2 (en) File server device
JP3713977B2 (en) Real-time distributed system
JPH0650874B2 (en) Data transmission schedule system for terminals
JP2002342193A (en) Method, device and program for selecting data transfer destination server and storage medium with data transfer destination server selection program stored therein
JP2697588B2 (en) Communication task management method
JP2006350474A (en) Real time processing system, processor, real time processing method and program
JPH09146882A (en) Login computer selection system
EP0622927B1 (en) Data transmission apparatus and a communication path management method therefor
JPH06105928B2 (en) Half-duplex line data transmission / reception method
JP2752894B2 (en) File transfer device
JPH02192344A (en) Multiple address electronic mail distribution result informing system
JPS63169149A (en) Dynamic transmission schedule system
JPH01232852A (en) Communication control system
JPH01258166A (en) Network job execution monitoring and controlling system
CA2026277C (en) Multi-medium store-and-forward exchange apparatus and method of controlling the apparatus

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term