JPS6242634A - System for connecting plural terminals to single line - Google Patents

System for connecting plural terminals to single line

Info

Publication number
JPS6242634A
JPS6242634A JP60182247A JP18224785A JPS6242634A JP S6242634 A JPS6242634 A JP S6242634A JP 60182247 A JP60182247 A JP 60182247A JP 18224785 A JP18224785 A JP 18224785A JP S6242634 A JPS6242634 A JP S6242634A
Authority
JP
Japan
Prior art keywords
terminal
terminals
transmission
line control
message
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
JP60182247A
Other languages
Japanese (ja)
Other versions
JPH0523657B2 (en
Inventor
Kenji Katano
方野 健次
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 JP60182247A priority Critical patent/JPS6242634A/en
Publication of JPS6242634A publication Critical patent/JPS6242634A/en
Publication of JPH0523657B2 publication Critical patent/JPH0523657B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To connect terminals, whose number exceeds the number of addresses assigned to terminals, to a single line even if the number of addresses assigned to terminals is limited, by extending the header part of a message to include a terminal address there. CONSTITUTION:Plural terminals 1201-120n are connected to a terminal equipment 100 to which a prescribed transmission slot is assigned for the purpose of transmitting and receiving data to and from a controller. A schedule of processings of processes of transmission and reception requests from each terminal 120, etc. is generated by a line control layer part 140 and is set to a process control table 130. When a transmission process is executed, the extended message header including the address of the terminal which issues the transmission request is added to a transmission text and is transferred to a line control program, and when a reception process is executed, a reception text is distributed to the terminal whose address is included in the extended message header.

Description

【発明の詳細な説明】 〔目 次〕 次の順序で、本発明を説明する。[Detailed description of the invention] 〔table of contents〕 The present invention will be explained in the following order.

A、概要 B、産業上の利用分野 C1従来の技術(第7図) D1発明が解決しようとする問題点 E0問題点を解決するための手段(第1図)F1作用 F+、拡張されたメツセージフォーマットの説明(第2
図) F2.本発明の作用(第1図、第2図)G、実施例(第
3図〜第6図) G+、構成の説明(第3図〜第5図) G2.動作の説明(第3図〜第6図) H効果 AC概 要〕 端末に対するアドレス割当て数が制限され、且つ回線制
御プログラムが1度に1つのプロセスに対してサービス
が可能なオンラインシステムにおいて、メツセージヘッ
ダを拡張して端末アドレスを含ませることにより、その
割当て数を越えて複数の端末を単一回線に接続すること
を可能にした。
A. Overview B. Field of industrial application C1. Prior art (Fig. 7) D1. Problem to be solved by the invention E0. Means for solving the problem (Fig. 1) F1. Effect F+. Expanded message Format explanation (second
Figure) F2. Effects of the present invention (Figs. 1 and 2) G, Examples (Figs. 3 to 6) G+, Explanation of configuration (Figs. 3 to 5) G2. Description of operation (Figures 3 to 6) Overview of H effect AC] In an online system where the number of addresses assigned to a terminal is limited and the line control program can service one process at a time, message By extending the header to include the terminal address, it was possible to connect multiple terminals to a single line, exceeding the allotted number.

B〔産業上の利用分野〕 本発明は、端末に対するアドレス割当て数が制限され、
且つ回線制御プログラムが1度に1つのプロセスに対し
てサービスが可能であるオンラインシステムにおいて、
その割当て数を越えて複数の端末を単一回線に接続する
複数端末の単一回線への接続方式に関する。
B [Industrial Application Field] The present invention is applicable to applications where the number of addresses assigned to terminals is limited,
And in an online system where the line control program can service one process at a time,
This invention relates to a method for connecting a plurality of terminals to a single line, in which a plurality of terminals exceeding the allocated number are connected to a single line.

C〔従来の技術〕 単一の回線へ複数の端末を接続する場合、従来は、回線
上に適当な分岐装置を挿入ことで行っていた。
C [Prior Art] Conventionally, when connecting a plurality of terminals to a single line, this was done by inserting an appropriate branching device on the line.

第7図(A)及び(B)は、従来の複数端末の単一回線
への接続方式を示しまたものである。なお、回線制御プ
ログラムは、1度に1つの送信又は受信のプロセスに対
するサービスが可能である。
FIGS. 7A and 7B show a conventional method for connecting a plurality of terminals to a single line. Note that the line control program can service one transmission or reception process at a time.

第7図(A)は、各端末Tal〜Ta3がそれぞれの回
線La+”La3によってホストHaに直結されている
システムにおいて、端末Ta1の回線La+ に分岐装
置Baを設け、これに回線La、を介して端末T a 
4を接続した場合の例を示したものである。
FIG. 7(A) shows a system in which each of the terminals Tal to Ta3 is directly connected to the host Ha by the respective line La+"La3, and a branching device Ba is provided on the line La+ of the terminal Ta1, and a branching device Ba is connected to this via the line La. terminal T a
This shows an example when 4 are connected.

第7図(B)は、各端末T b 1〜Tb3がそれぞれ
の回線Lbl−Lb3によって端末制御装置TCbに接
続され、端末制御装置TCbとホストHbが単一の回線
L b oによって接続されているシステムにおいて、
端末Tb3の回線Lb3に分岐装置Bbを設け、これに
回線Lb+を介して端末Tb、を接続した場合の例を示
したものである。
FIG. 7(B) shows that each terminal T b 1 to Tb 3 is connected to the terminal control device TCb by each line Lbl-Lb3, and the terminal control device TCb and the host Hb are connected by a single line L b o. In a system where
This shows an example in which a branching device Bb is provided on the line Lb3 of the terminal Tb3, and the terminal Tb is connected to this via the line Lb+.

この様な分岐装置を用いた端末接続方式により複数端末
を単一回線へ接続する場合の必要条件は、通信に使用さ
れているプロトコルが複数端末の存在を許することであ
る。
A necessary condition for connecting a plurality of terminals to a single line using such a terminal connection method using a branching device is that the protocol used for communication allows the existence of a plurality of terminals.

例えば、非同期手順におけるポーリング、セレクティン
グコードは、端末のアドレスを示すコードを含んでおり
、又S D L C(Synchronous Dat
aLink Controt) 等のハイレベル手順に
おいては、フレームのプロトコルヘッダ中に端末アドレ
スを示すコードが含まれている。従って、これらのアド
レスコードを複数含ませることにより、単一回線に複数
の端末を接続することが可能である。然しなから、もし
アドレスコードによるアドレス割当て数に制限がある場
合は、その割当て数を越えて、端末を接続することが出
来ない。
For example, the polling and selecting codes in the asynchronous procedure include a code indicating the address of the terminal, and S DLC (Synchronous Data
In high-level procedures such as aLink Control), a code indicating a terminal address is included in the protocol header of the frame. Therefore, by including a plurality of these address codes, it is possible to connect a plurality of terminals to a single line. However, if there is a limit to the number of addresses assigned by the address code, it is not possible to connect terminals exceeding the number of addresses assigned.

更に、プロトコルが複数端末の存在を許さないものであ
る場合は、分岐装置により単一回線に他の端末を接続す
ることは出来ない。第1図(C)は、この様なオンライ
ンシステムの一例を示したものである。
Furthermore, if the protocol does not allow the existence of multiple terminals, it is not possible to connect other terminals to a single line by means of a branching device. FIG. 1(C) shows an example of such an online system.

第7図(C)においては、各端末T C1〜Tc3が共
通のループ回線Lcpによって端末制御装置TCcに直
列に接続され、端末制御装置TCcとホストHcは、単
一の回線Lcoによって接続されている。
In FIG. 7(C), each terminal T C1 to Tc3 is connected in series to the terminal control device TCc by a common loop line Lcp, and the terminal control device TCc and the host Hc are connected by a single line Lco. There is.

この第7図(C)のオンラインシステムにおいて、一度
システムのプロトコルが出来ると、その後端末の数を増
加することはプロトコルの変更を伴うことから許されな
い。仮に、許される場合でも極度に限定されるので、実
際上実現が困難である。
In the online system shown in FIG. 7(C), once the system protocol is established, it is not allowed to increase the number of terminals since this would involve changing the protocol. Even if it were allowed, it would be extremely limited and difficult to implement in practice.

D〔発明が解決しようとする問題点〕 従来の複数端末の単一回線への接続方式は、前述の様に
、プロトコルが複数端末の存在を許さない場合も含めて
端末に対するアドレス割当て数に制限が存在する場合は
、その割当て数を越える数の端末を単一回線に接続する
ことは出来ないという問題があった。
D [Problem to be solved by the invention] As mentioned above, in the conventional method of connecting multiple terminals to a single line, the number of addresses assigned to the terminal is limited, even when the protocol does not allow the existence of multiple terminals. If there is, there is a problem that it is not possible to connect more terminals than the allocated number to a single line.

本発明は、端末に対するアドレス割当て数に制限が存在
する場合でも、その割当て数を越える数の端末を単一の
回線に接続することが可能な複数端末の単一回線への接
続方式を提供することを目的とする。
The present invention provides a method for connecting multiple terminals to a single line, which makes it possible to connect a number of terminals exceeding the assigned number to a single line even if there is a limit to the number of addresses assigned to the terminals. The purpose is to

E〔問題点を解決するための手段〕 従来の複数端末の単一回線への接続方式における前述の
問題点を解決する為に本発明が講じた手段を、第1図を
参照して説明する。
E [Means for Solving the Problems] The means taken by the present invention to solve the above-mentioned problems in the conventional method of connecting multiple terminals to a single line will be explained with reference to FIG. .

第1図は、本発明の構成をブロックで示したものである
FIG. 1 shows the configuration of the present invention in blocks.

第1図において、10()は単一回線200に接続され
る端末装置で、第7図(A)、(B)及び(C)におけ
る各端末Ta+ xTa:+  、Tbt 〜T b3
P T Cr 〜T C3に当る。端末装ff100に
対するアドレス割当て数は一定数に制限されている。
In FIG. 1, 10() is a terminal device connected to the single line 200, and each terminal Ta+ xTa:+, Tbt to Tb3 in FIGS. 7(A), (B), and (C)
This corresponds to P T Cr to T C3. The number of addresses assigned to the terminal device ff100 is limited to a fixed number.

110は回線制御手段で、単一回線200及び回線制御
レイヤ部との接続制御を行い、その回線制御プログラム
は一度に送信又は受信等、1つのプロセスに対するサー
ビスが可能である。
Reference numeral 110 denotes a line control means that controls the connection between the single line 200 and the line control layer section, and its line control program can provide services for one process, such as transmission or reception, at a time.

1201〜120nは端末で、元からある本来の端末及
び新たに接続されるサブ端末からなる。
Terminals 1201 to 120n consist of original terminals and newly connected subterminals.

本発明の説明においては、本来の端末及びサブ端末を区
別せず共に端末と呼ぶ。
In the description of the present invention, the original terminal and the sub-terminal are both referred to as a terminal without distinction.

130はプロセス制御テーブルで、各端末1201〜1
20nから発生された送信、受信要求等のプロセス要求
を処理するスケジュール及びそれに必要な情報がセット
される。
130 is a process control table, each terminal 1201-1
A schedule for processing process requests such as transmission and reception requests generated from 20n and information necessary therefor are set.

140は回線制御レイ十部で、プロセス制御テーブル1
30を用いて各端末1201〜120nから要求のあっ
た各プロセスを処理するスケジュールを作成してプロセ
ス制御テーブル130にセットする。そして、実行され
るプロセスが送信プロセスの場合は、送信要求を出した
端末のアドレスを含む拡張メツセージヘッダを送信電文
に付加して回線制御プログラムに渡し、実行されるプロ
セスが受信プロセスの場合は、受信電文の拡張メソセー
ジヘッダに含まれているアドレスの端末へ受信電文を分
配する処理を行う。
140 is the line control lay part 1, and the process control table 1
30 to create a schedule for processing each process requested from each terminal 1201 to 120n and set it in the process control table 130. If the process to be executed is a sending process, an extended message header containing the address of the terminal that issued the transmission request is added to the transmission message and passed to the line control program, and if the process to be executed is a receiving process, Performs processing to distribute the received message to the terminal whose address is included in the extended message header of the received message.

F〔作 用〕 本発明の詳細な説明するに先立って、本発明において用
いられる拡張されたメツセージフォーマントについて説
明する。
F [Function] Prior to a detailed explanation of the present invention, an expanded message formant used in the present invention will be explained.

F+(7g張されたメツセージフォーマットの説明)プ
ロトコル上の制服を回避して複数端末(前述の様に各端
末はサブ端末も含む概念である)を単一回線に接続出来
る様にする為には、各端末とホスト又は端末制御装置T
Cの間を流れるメツセージに各端末を識別する端末アド
レスを与える必要がある。即ち、ホスト又は端末制御装
置TCが各端末からのメツセージを受は取った場合、そ
のメツセージがどの端末から送信されたものであるかを
識別しなければならず、逆に、ホスト又は端末制御装置
TCが送信したメツセージを受は取った場合、そのメツ
セージをどの端末へ分配すべきであるかを識別しなけれ
ばならないが、そのいずれの場合にも、それらを識別す
る為には端末アドレスが必要となるからである。
F+ (Explanation of message format extended to 7G) In order to avoid uniformity in the protocol and to be able to connect multiple terminals (as mentioned above, each terminal includes subterminals) to a single line. , each terminal and host or terminal control device T
It is necessary to give a terminal address that identifies each terminal to the messages flowing between C and C. That is, when the host or terminal control device TC receives a message from each terminal, it must identify which terminal the message was sent from. When a TC sends a message and receives it, it must identify which terminal the message should be distributed to, and in both cases, the terminal address is required to identify them. This is because.

本発明では、この端末アドレスをメツセージに付加する
為に、メソセージのヘッダ部分を拡張し、そこに端末ア
ドレスを含ませる様に構成した。
In the present invention, in order to add this terminal address to a message, the header part of the message is expanded and the terminal address is included therein.

第2図(A)は通常のメツセージフォーマットを示した
ものであり、同図(B)は本発明の拡張されたメツセー
ジフォーマットの一例を示したものである。
FIG. 2(A) shows a normal message format, and FIG. 2(B) shows an example of an expanded message format of the present invention.

通常のメツセージフォーマットは、同図(A)に示す様
に、プロトコルヘッド、端末に対するメツセージ及びプ
ロトコルテールの3部分で形成されている。
A normal message format is formed of three parts: a protocol head, a message to the terminal, and a protocol tail, as shown in FIG.

本発明の拡張されたメッセージフォマットは、同図(B
)に示す様に、プロトコルヘッド部分を拡張し、この拡
張ヘッダ部分に各端末を識別する為の端末アドレスを入
れる様に構成した。この様にすることによりプロトコル
を変へることなく、当初制限された数以上の端末(サブ
端末)に対するアドレスを含ませることが出来る。
The extended message format of the present invention is shown in FIG.
), the protocol head part was extended and the terminal address for identifying each terminal was inserted into this extended header part. By doing this, it is possible to include addresses for more terminals (sub-terminals) than the initially limited number without changing the protocol.

なお、この拡張されたメツセージフォーマットを用いて
送信を行うものを送信電文と呼び、受信を行うものを受
信電文という。
Note that a message that is sent using this expanded message format is called a transmitted message, and a message that is received is called a received message.

この様なメツセージヘッダの拡張を行う方法として、ホ
スト又は端末制御装置のアプリケーションプログラムを
変更して行う方法が考えられるが、アプリケーションプ
ログラムを変更することは、実際上困難である。
One possible method for extending such a message header is to change the application program of the host or terminal control device, but it is actually difficult to change the application program.

そこで、本発明は、前項で説明した様に、端末100側
に新たにプロセス制御テーブル部130及び回線制御レ
イヤ部140を設け、端末側の機能を拡張して、メツセ
ージヘッダの拡張を行う様に構成したものである。
Therefore, as explained in the previous section, the present invention newly provides a process control table section 130 and a line control layer section 140 on the terminal 100 side, expands the functions of the terminal side, and expands the message header. It is composed of

F2  (本発明の作用) メソセージ送信又は受信のプロセスは、端末1201〜
120n中のある端末がプロセス要求を回線制御レイヤ
部140に出す所から始まる。
F2 (Operation of the present invention) The process of message transmission or reception is carried out by the terminals 1201 to 1201.
120n issues a process request to the line control layer section 140.

回線制御レイヤ部140は、端末から出されたプロセス
要求の内容を分析し、プロセス制御テーブル130を用
いて端末から要求のあった送信又は受信プロセスのスケ
ジューリングを行う。
The line control layer unit 140 analyzes the contents of the process request issued from the terminal, and uses the process control table 130 to schedule the transmission or reception process requested by the terminal.

実行されるプロセスが送信プロセスの場合は、送信要求
を出した端末のアドレスを含む拡張メツセージヘッダを
送信電文に付加し、この送信電文を回線制御手段110
に渡す。
If the process to be executed is a sending process, an extended message header containing the address of the terminal that issued the transmission request is added to the transmission message, and this transmission message is sent to the line control means 110.
give it to

実行されるプロセスが受信プロセスの場合は、受信電文
の拡張メツセージヘッダに含まれている端末アドレスよ
り受信先の端末を識別し、その端末に受信電文を分配す
る。
If the executed process is a receiving process, the receiving terminal is identified from the terminal address included in the extended message header of the received message, and the received message is distributed to that terminal.

以上の様にして、端末に対するアドレス割当て数を越え
る数の端末を、プロトコルを変更することなく単一回線
に接続することが出来る。
In the manner described above, a number of terminals exceeding the number of addresses assigned to the terminals can be connected to a single line without changing the protocol.

〔実施例〕〔Example〕

本発明の一実施例を、第3図〜第6図を参照して説明す
る。
An embodiment of the present invention will be described with reference to FIGS. 3 to 6.

第3図は本発明の一実施例の構成のブロック説明図、第
4図は同実施例に用いられるプロセス制御テーブルの説
明図、第5図は同実施例に用いられるプロセスキューの
説明図、第6図は同実施例に用いられる回線制御レイヤ
部の機能説明図である。
3 is an explanatory block diagram of the configuration of an embodiment of the present invention, FIG. 4 is an explanatory diagram of a process control table used in the embodiment, FIG. 5 is an explanatory diagram of a process queue used in the embodiment, FIG. 6 is a functional explanatory diagram of the line control layer section used in the same embodiment.

G+(構成の説明) 第3図において、端末装置100、回線制御手段110
、各端末1201〜120n、プロセス制御テーブル1
30、回線制御レイヤ部140、単一回線200につい
ては、第1図で説明した通りである。
G+ (Explanation of configuration) In FIG. 3, a terminal device 100, a line control means 110
, each terminal 1201 to 120n, process control table 1
30, the line control layer section 140, and the single line 200 are as described in FIG.

回線制御手段110において、111は回線制御回路で
、単一回線200に対する接続制御を行う。112はイ
ンタフェース部で、内部に送信バッファ、受信バッファ
、セマフォ(Semaphore )機能等を有しく何
れも図示せず)回線制御レイヤ部140に対するインタ
フェースを行う。
In the line control means 110, a line control circuit 111 controls connection to the single line 200. Reference numeral 112 denotes an interface section which internally has a transmission buffer, a reception buffer, a semaphore function, etc. (all of which are not shown), and provides an interface to the line control layer section 140.

113は回線制御部で回線制御プログラムにより回線制
御回路111及びインタフェース113の動作を制御す
る。
A line control unit 113 controls the operations of the line control circuit 111 and the interface 113 using a line control program.

各端末1201 〜120nにおいて、1211〜12
1nは各端末のアプリケーション部で、各端末の実行す
る送信や受信等の各プロセスをプログラム制御する。1
221〜122nはインタフェース部で、内部に送信バ
ッファ、受信バッファ、セマフォ機能等を有しく何れも
図示せず)、回線制御レイヤ部140に対するインタフ
ェースを行う。
In each terminal 1201 to 120n, 1211 to 12
1n is an application section of each terminal, and programs control each process such as transmission and reception executed by each terminal. 1
Reference numerals 221 to 122n denote interface units which internally have a transmission buffer, a reception buffer, a semaphore function, etc. (all of which are not shown), and provide an interface to the line control layer unit 140.

以上、回線制御手段110、各端末1201〜120n
及びそれらの内部の各部分の構成は、いずれも従来のも
のと同様であり、それらの各動作も共通する。
As described above, the line control means 110 and each terminal 1201 to 120n
The configurations of each of their internal parts are the same as those of the conventional ones, and their respective operations are also common.

次に、プロセス制御テーブル130を、第4図及び第5
図を参照して説明する。
Next, the process control table 130 is
This will be explained with reference to the figures.

プロセス制御テーブル130は、第4図に示す様に、(
i)実行中プロセスポインタ、(ii)実行待先頭プロ
セスポインタ1、(iii )実行待語尾プロセスポイ
ンタ、(iv)各端末毎の送信PCB(Process
 Control Block )、(v)各端末毎の
受信P CB 、  (vi )各端末毎の端末アドレ
ス、で構成されている。
As shown in FIG. 4, the process control table 130 includes (
i) Executing process pointer, (ii) Execution head process pointer 1, (iii) Execution end process pointer, (iv) Transmission PCB (Process) for each terminal.
Control Block ), (v) reception P CB for each terminal, and (vi) terminal address for each terminal.

これら(i)〜(vi )の内容を、第5図のプロセス
キューを参照して説明する。第5図には、端末の数が4
個の場合のプロセスキューの例が示されている。
The contents of these (i) to (vi) will be explained with reference to the process queue shown in FIG. In Figure 5, the number of terminals is 4.
An example of a process queue is shown.

(i)実行中プロセスポインタ このポインタは、ある時点で回線制御プログラム(11
3)によりサービスされているプロセスのPCBを指す
(第5図参照)。なお、前述の様に、回線制御部113
のプログラム即ち回線制御プログラムは、前述の様に、
1度に1つのプロセスだけをサービスすることが可能で
ある。回線制御プログラムがどのプロセスに対するサー
ビスも行っていないときは、このポインタはゼロにクリ
アされている。
(i) Executing process pointer This pointer points to the line control program (11
3) refers to the PCB of the process being serviced by (see Figure 5). Note that, as described above, the line control unit 113
The program, that is, the line control program, is as described above.
It is possible to service only one process at a time. When the line control program is not servicing any process, this pointer is cleared to zero.

(ii)実行待ち先頭プロセスポインタ回線制御プログ
ラムによって未だサービスを受けられないプロセスは、
それら各プロセスを代表するPCBで待ち行列(プロセ
スキュー)を構成する。プロセスキューの先頭にあるP
CBを指すのがこのポインタである(第5図参照)。
(ii) First process pointer waiting for execution A process that cannot yet be serviced by the line control program is
A queue (process queue) is composed of PCBs representing each of these processes. P at the head of the process queue
This pointer points to the CB (see Figure 5).

プロセスキューがヌルであるとき、即ちプロセスキュー
に1つのプロセスもつながれていないときは、このポイ
ンタはゼロにクリアされる。
When the process queue is null, ie, no process is attached to the process queue, this pointer is cleared to zero.

(iii )実行待ち後尾プロセスポインタプロセスキ
ューの後尾にあるPCBを指す。
(iii) End process pointer waiting for execution Points to the PCB at the end of the process queue.

プロセスキューがヌルのとき、このポインタはゼロにク
リアされる。
When the process queue is null, this pointer is cleared to zero.

(iv )送信PCB 送信PCBは、第4図に示す様に、次実行待プロセスポ
インタ及びプロセス用パラメタの部分で構成される。
(iv) Transmission PCB As shown in FIG. 4, the transmission PCB is composed of a next-execution process pointer and process parameters.

次実行待プロセスボインクは、これを含むPCBがプロ
セスキューにつながれているときは、このPCBの次に
つながっているPCBを指示する。これを含むPCBが
プロセスキューの最後尾に位置するときは、このポイン
タはオールマーク (16進でF)でクリアされる。
When the PCB containing it is connected to a process queue, the next execution waiting process point indicates the PCB connected next to this PCB. When the containing PCB is at the end of the process queue, this pointer is cleared with an all mark (F in hexadecimal).

プロセス用パラメタには、送信に必要なパラメタ(送信
メッセージ長等)が含まれる。
The process parameters include parameters necessary for transmission (transmission message length, etc.).

(v)受信PCB 受信PCBには、次実行待プロセスポインタ及びプロセ
ス用パラメタが含まれる。前者の機能は送信PCBの次
実行待プロセスポインタと同様であり、後者には受信に
必要なパラメタ(受信メッセージ長等)が含まれる。
(v) Reception PCB The reception PCB includes a next execution waiting process pointer and process parameters. The function of the former is similar to the next execution waiting process pointer of the sending PCB, and the latter includes parameters necessary for reception (received message length, etc.).

(vi)端末アドレス 端末アドレスには、第4図に示す様に、各端末に与えら
れた端末アドレスが格納されている。
(vi) Terminal address As shown in FIG. 4, the terminal address given to each terminal is stored in the terminal address.

回線制御レイヤ部140については、次の動作の説明に
おいて詳細に説明する。
The line control layer section 140 will be explained in detail in the following operation description.

G2  (動作の説明) 第3図の実施例の動作を、第4図〜第6図を参照して説
明する。回線制御手段110及び各端末120工〜12
0nの動作は従来方式と同様であるので、回線制御レイ
ヤ部140を中心に説明する。
G2 (Description of Operation) The operation of the embodiment shown in FIG. 3 will be explained with reference to FIGS. 4 to 6. Line control means 110 and each terminal 120 to 12
Since the operation of 0n is similar to the conventional system, the description will focus on the line control layer unit 140.

第6図には回線制御レイヤ部140の行う各機能が、他
の部分との関連で示されている。
FIG. 6 shows each function performed by the line control layer unit 140 in relation to other parts.

回線制御レイヤ部140は、次の3つの主要な機能を即
ち、(1)各端末1201〜120nへのサービス、(
2)プロセスキュー監視機能、(3)回線制御プログラ
ム監視機能、を備えている。
The line control layer unit 140 has the following three main functions: (1) service to each terminal 1201 to 120n;
It has 2) a process queue monitoring function, and (3) a line control program monitoring function.

以下、この3つの機能を中心に、第2図の実施例の動作
を説明する。なお、説明中に用いられるの、■2等の符
号は、第6図に示される同じ符号に対応し、それぞれの
処理内容や動作内容等を示している。
The operation of the embodiment shown in FIG. 2 will be explained below, focusing on these three functions. Note that the numerals such as ■2 used in the description correspond to the same numerals shown in FIG. 6, and indicate the respective processing contents, operation contents, etc.

(1)各端末へのサービス 送信又は受信のプロセスは、端末1201〜120n中
のある端末がプロセス要求を回線制御レイヤ部140に
出すところから開始される。
(1) The process of sending or receiving a service to each terminal starts when one of the terminals 1201 to 120n issues a process request to the line control layer section 140.

各端末へのサービス機能を動作順に示すと、次の様にな
る。
The service functions for each terminal are shown in the order of operation as follows.

■ 各端末からのプロセス要求を受は付ける。■ Accepting process requests from each terminal.

■ プロセス要求の内容を分析し、送信要求か受信要求
か、要求元の端末、電文長等の情報を検出する。
■ Analyzes the content of the process request and detects information such as whether it is a send request or a receive request, the requesting terminal, and the length of the message.

■ 要求のあったプロセスのPCBを整理して、プロセ
ス制御テーブル130上のプロセスキュー(第5図参照
)にエンキューする。各端末で発生したプロセス要求は
、発生順にプロセスキエーヘエンキューされるので、発
生順のプロセススケジューリングが行われる。
■ Organize the PCB of the requested process and enqueue it to the process queue on the process control table 130 (see FIG. 5). Process requests generated at each terminal are enqueued to the process queue in the order in which they occur, so that process scheduling is performed in the order in which they occur.

(2)プロセスキュー監視 回線制御レイヤ部140は、通常、 ■ プロセスキューの状態及び ■ 回線制御プログラムのビジー状態 を監視している。そして、プロセスキューに待ち中のプ
ロセスがあり、回線制御プログラムがビジーでない場合
、次の動作をする。
(2) Process queue monitoring The line control layer unit 140 normally monitors (1) the state of the process queue and (2) the busy state of the line control program. Then, if there is a waiting process in the process queue and the line control program is not busy, the following operation is performed.

■ プロセスキュー上の先頭プロセスのPCBを実行状
態に移す。
■ Move the PCB of the first process on the process queue to the running state.

■ 前記先頭プロセスのPCBから必要なパラメタを取
り出し、回線制御プログラムに、このプロセスの実行を
要求する。
(2) Retrieve necessary parameters from the PCB of the first process and request the line control program to execute this process.

■ プロセスが送信要求の場合は、プロセス制御テーブ
ル130の端末アドレスを参照して拡張メツセージヘッ
ダを送信電文に付加し、この送信電文を回線制御プログ
ラムに渡す。
(2) If the process is a transmission request, refer to the terminal address in the process control table 130, add an extended message header to the transmission message, and pass this transmission message to the line control program.

回線制御プログラム即ち回線制御部113が、インタフ
ェース部112を介して受は取った送信電文を回線制御
回路111から単一回線200に送信される一連の制御
動作は、従来と同様にして行われる。
A series of control operations in which the line control program, that is, the transmission message received by the line control unit 113 via the interface unit 112 is transmitted from the line control circuit 111 to the single line 200, is performed in the same manner as in the prior art.

(3)回線制御プログラム監視 回線制御レイヤ部140は、通常、 ■ 回線制御プログラムの終了状態 を監視している。そして、回線制御プログラムが1つの
プロセスを完了すると、次の動作を行う。
(3) Line control program monitoring The line control layer section 140 normally monitors (1) the termination status of the line control program. When the line control program completes one process, it performs the next operation.

(3−1)完了プロセスが送信プロセスである場合プロ
セスキュー上での実行中PCBが送信PCBであれば、
以下の処理行う。
(3-1) When the completed process is a sending process If the executing PCB on the process queue is a sending PCB,
Perform the following processing.

[相] 実行中PCBを停止状態へ移行する。[Phase] Move the running PCB to the stopped state.

■ 前記PCBに対応する端末へ送信終了を通知する。■ Notify the terminal corresponding to the PCB of the end of transmission.

プロセスキニー上での実行中PCBが送信でない場合は
、エラーとする。
If the PCB being executed on the process kinny is not being sent, an error occurs.

(3−2)回線プログラムの完了したプロセスが受信プ
ロセスである場合 (A)プロセスキュー上での実行中のPCBが受信PC
Bであれば、以下の処理を行う。
(3-2) When the completed process of the line program is a receiving process (A) The PCB being executed on the process queue is the receiving PC
If it is B, perform the following processing.

@ 前記PCBに対応する端末へ、次の方法で受信電文
を渡す。即ち、拡張メンセージヘンダをチェックして一
致性を調べる。もし一致していれば、拡張メツセージヘ
ッダを削除して受信電文を所定アドレスの端末へ渡す。
@ Deliver the received message to the terminal corresponding to the PCB using the following method. That is, the extended mensage header is checked for consistency. If they match, the extended message header is deleted and the received message is passed to the terminal at the specified address.

一致していなければ、(B)又は(C)の処理を行う。If they do not match, process (B) or (C) is performed.

■ 実行中のPCBを停止状態にする。■ Put the running PCB into a stopped state.

■ 該当端末へ受信通知を行う。■ Notify the reception to the relevant terminal.

(B)受信電文の拡張メツセージヘッダに一致するPC
Bが待ち状態にあれば、以下の処理を行う。
(B) PC that matches the extended message header of the received message
If B is in the waiting state, the following processing is performed.

@M当PCBに対応する端末へ、拡張メツセージヘッダ
を削除して受信電文を渡す。
@M Delete the extended message header and pass the received message to the terminal corresponding to this PCB.

[相] プロセスキューから該当PCBを削除する。[Phase] Delete the corresponding PCB from the process queue.

■ 該当端末へ受信通知を行う。■ Notify the reception to the relevant terminal.

(C)受信電文のけ拡張メツセージヘッダーに一致する
PCBがプロセスキュー上にない場合は、受信電文の拡
張メソセージヘッダに一致する端末に対して以下の処理
を行う。
(C) If there is no PCB on the process queue that matches the extended message header of the received message, perform the following processing for the terminal that matches the extended message header of the received message.

[相] 拡張メツセージヘッダを削除して、該当端末へ
受信電文を渡す。
[Phase] Delete the extended message header and pass the received message to the corresponding terminal.

[相] 該当端末へ強制受信を通知する。この(C)の
場合は、端末側より受信要求が出ていないときに、図示
しないホスト側より電文が送られて来た場合であるので
、該当端末に対し、強制受信が行われる。
[Phase] Notify the corresponding terminal of forced reception. In case (C), a message is sent from the host side (not shown) when no reception request has been issued from the terminal side, so forced reception is performed on the corresponding terminal.

以上本発明の一実施例について説明したが、本発明の各
構成は、実施例の構成に限定されるものではない。
Although one embodiment of the present invention has been described above, each structure of the present invention is not limited to the structure of the embodiment.

H〔発明の効果〕 以上説明した様に、本発明によれば次の諸効果が得られ
る。
H [Effects of the Invention] As explained above, according to the present invention, the following effects can be obtained.

(イ)端末に対するアドレス割当て数に制限が存在する
場合にも、プロトコルを変えることなくメソセージヘッ
ダの拡張を行うことにより、端末に対するアドレス割当
て数を越える数の端末を単一の回線に接続することが出
来る。
(b) Even if there is a limit to the number of addresses assigned to terminals, by expanding the message header without changing the protocol, it is possible to connect more terminals than the number of addresses assigned to terminals to a single line. I can do it.

(ロ)回線制御プログラムと各端末アプリケーションプ
ログラム間で共通の構成を持ったインタフェースを用い
ることが出来るので、これらのインタフェースを統一化
することが出来る。
(b) Since an interface having a common configuration can be used between the line control program and each terminal application program, these interfaces can be unified.

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

第1図・・・本発明の詳細な説明図、 第2図・・・本発明で用いられる拡張されたメソセージ
フォーマット例の説明図、 第3図・・・本発明の一実施例の説明図、第4図・・・
同実施例に用いられるプロセス制御子・−プルの説明図 第5図・・・同実施例に用いられるプロセスキューの説
明図、 第6図・・・同実hト例に用いられる回線制御レイヤ部
の機能説明図、 第7図・・・従来の複数端末の単一回線への接続方式の
説明図。 第1図及び第3図において、 100・・・端末装置1.110・・・回線制御手段、
1201〜120n・・・端末(サブ端末も含む)、1
30・・・プロセス制御テーブル、140・・・回線制
御レイヤ部、200・・・単一回線。 特許出願人   富 士 通 株式会社垣帛、メ、!仁
−シクf−マ・lト (A) f ’15 gFI l二よ与依手1ン代攻≠l仁−シ
11−マ・lト(B) 第2図 尖刃と41′11−用1.らhb−7ちセス重り第アテ
ーカし第4図 丈旋イrJ、:M、IらHろプロ乞又〜づ一第5図 (A) (C) 従東誹l故錐ら草−山梨、。帽々坊べ 第7 図
Figure 1: Detailed explanatory diagram of the present invention. Figure 2: An explanatory diagram of an example of an extended message format used in the present invention. Figure 3: Explanation of an embodiment of the present invention. Figure, Figure 4...
Figure 5: An explanatory diagram of the process controller/pull used in the same example. Figure 5: An explanatory diagram of the process queue used in the example. Figure 6: Line control layer used in the actual example. FIG. 7 is an explanatory diagram of a conventional method for connecting multiple terminals to a single line. In FIG. 1 and FIG. 3, 100...terminal device 1.110...line control means,
1201-120n...Terminal (including sub-terminal), 1
30... Process control table, 140... Line control layer section, 200... Single line. Patent Applicant: Fujitsu Co., Ltd., Me! Jin-Shikku f-Ma-lt (A) f'15 gFI l2yoyorite1ndaiattack≠lJin-shi11-Ma-lt (B) Fig. 2 Pointed blade and 41'11- For 1. Rahb-7 Chisesu weight 1st Atheka and 4th picture length rotation rJ, :M, IraHropro beggar~zu 1st figure 5 (A) (C) Juto insult l late Kira grass - Yamanashi ,. Hatchabobe Figure 7

Claims (1)

【特許請求の範囲】 規定長のデータフレームの各スロットに端末装置(10
0)の伝送スロットが割当てられ、該伝送スロットによ
り該当する端末装置と制御装置との間でデータを授受す
るシステムにおいて所定の伝送スロットに対応する端末
装置に複数の端末(120_1〜120_n)を接続す
ると共に、該端末装置(100)に (a)該複数の端末(120_1〜120_n)から発
生されたプロセス要求を処理するスケジュール及びそれ
に必要な情報がセットされるプロセス制御テーブル(1
30)と、 (b)プロセス制御テーブル(130)を用いて各端末
(120_1〜120_n)から要求のあった各プロセ
スを処理するスケジュールを作成してプロセス制御テー
ブル(130)にセットし、実行されるプロセスが送信
プロセスの場合は、送信要求を出した端末のアドレスを
含む拡張メッセージヘッダを前記伝達スロットに付加し
て伝送し、実行されるプロセスが受信プロセスの場合は
、前記送信スロットの拡張メッセージヘッダに含まれて
いるアドレスの端末に対して受信電文を分配する処理を
行う回線制御レイヤ部(140)、 を備えたことを特徴とする複数端末の単一回線への接続
方式。
[Claims] A terminal device (10
0) is allocated and a plurality of terminals (120_1 to 120_n) are connected to the terminal device corresponding to a predetermined transmission slot in a system in which data is exchanged between the corresponding terminal device and a control device using the transmission slot. At the same time, the terminal device (100) is provided with (a) a process control table (1) in which a schedule for processing process requests generated from the plurality of terminals (120_1 to 120_n) and information necessary therefor are set;
(b) Using the process control table (130), create a schedule for processing each process requested from each terminal (120_1 to 120_n), set it in the process control table (130), and execute it. If the process to be executed is a sending process, an extension message header containing the address of the terminal that issued the transmission request is added to the transmission slot and transmitted; if the process to be executed is a receiving process, the extension message in the transmission slot is transmitted. A method for connecting a plurality of terminals to a single line, comprising: a line control layer section (140) that performs a process of distributing received messages to terminals having addresses included in the header.
JP60182247A 1985-08-20 1985-08-20 System for connecting plural terminals to single line Granted JPS6242634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60182247A JPS6242634A (en) 1985-08-20 1985-08-20 System for connecting plural terminals to single line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60182247A JPS6242634A (en) 1985-08-20 1985-08-20 System for connecting plural terminals to single line

Publications (2)

Publication Number Publication Date
JPS6242634A true JPS6242634A (en) 1987-02-24
JPH0523657B2 JPH0523657B2 (en) 1993-04-05

Family

ID=16114917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60182247A Granted JPS6242634A (en) 1985-08-20 1985-08-20 System for connecting plural terminals to single line

Country Status (1)

Country Link
JP (1) JPS6242634A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350647A (en) * 1993-06-03 1994-12-22 Internatl Business Mach Corp <Ibm> Packet switching network and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350647A (en) * 1993-06-03 1994-12-22 Internatl Business Mach Corp <Ibm> Packet switching network and method

Also Published As

Publication number Publication date
JPH0523657B2 (en) 1993-04-05

Similar Documents

Publication Publication Date Title
US4500960A (en) Geographically distributed multiprocessor time-shared communication processing system
CN100422958C (en) Using direct memory access for performing database operations between two or more machines
US4614841A (en) Geographically distributed multiprocessor time-shared communication processing system
EP0006216B1 (en) Improvements in digital data processing systems
EP0362105B1 (en) Method for processing program threads of a distributed application program by a host computer and an intelligent work station in an SNA LU 6.2 network environment
US5257374A (en) Bus flow control mechanism
US5301280A (en) Capability based communication protocol
EP0317466B1 (en) Reverse flow control mechanism and method
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
WO2000049507A1 (en) Method and apparatus for extending the range of the universal serial bus protocol
JPH0414375B2 (en)
JP3639319B2 (en) Parallel computer system, data transfer control method, and transmission / reception control device
KR920004771B1 (en) Bus flow control mechanism
US6052387A (en) Enhanced interface for an asynchronous transfer mode segmentation controller
JPS5992654A (en) Electronic document distributing system
JP2009157786A (en) Message transmission control method, message transmission control device, and message transmission control program
JPS6242634A (en) System for connecting plural terminals to single line
Hobgood The role of the network control program in systems network architecture
JP3521797B2 (en) Port connection control device
JP2573332B2 (en) Data transfer control method
JPS61195439A (en) Remote file access system
JPH0830523A (en) Method for communicating on-line message
JPS59146347A (en) Communication system between processes
CA1328928C (en) Computer communication arrangement
JP3299021B2 (en) Multi-bus II-SCSI bus data transfer method and apparatus