JPH0523657B2 - - Google Patents

Info

Publication number
JPH0523657B2
JPH0523657B2 JP60182247A JP18224785A JPH0523657B2 JP H0523657 B2 JPH0523657 B2 JP H0523657B2 JP 60182247 A JP60182247 A JP 60182247A JP 18224785 A JP18224785 A JP 18224785A JP H0523657 B2 JPH0523657 B2 JP H0523657B2
Authority
JP
Japan
Prior art keywords
terminal
terminals
message
line
line 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
JP60182247A
Other languages
Japanese (ja)
Other versions
JPS6242634A (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

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

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

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

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

第7図Aは、各端末Ta1〜Ta3がそれぞれの回
線La1〜La3によつてホストAAに直結されている
システムにおいて、端末Ta1の回線La1に分岐装
置Baを設け、これに回線La4を介して端末Ta4
接続した場合の例を示したものである。
FIG. 7A shows a system in which terminals Ta 1 to Ta 3 are directly connected to host A A by respective lines La 1 to La 3 , in which a branching device Ba is provided on line La 1 of terminal Ta 1 , An example is shown in which terminal Ta 4 is connected to this via line La 4 .

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

この様な分岐装置を用いた端末接続方式により
複数端末を単一回線へ接続する場合の必要条件
は、通信に使用されているプロトコルが複数端末
の存在を許すことである。
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.

例えば、非同期手順におけるポーリング、セレ
クテイングコードは、端末のアドレスを示すコー
ドを含んでおり、又SDLC(Synchronous Data
Link Controt)等のハイレベル手順においては、
フレームのプロトコルヘツダ中に端末アドレスを
示すコードが含まれている。従つて、これらのア
ドレスコードを複数含ませることによ、単一回線
に複数の端末を接続することが可能である。然し
ながら、もしアドレスコードによるアドレス割当
て数に制限がある場合は、その割当て数を越え
て、端末を接続することが出来ない。
For example, polling and selecting codes in asynchronous procedures include codes that indicate the terminal address, and SDLC (Synchronous Data
In high-level procedures such as Link Control),
A code indicating the terminal address is included in the frame's protocol header. 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 allocated by the address code, it is not possible to connect terminals exceeding the allocated number.

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

第7図Cにおいては、各端末Tc1〜Tc3が共通
のループ回線Lcpによつて端末制御装置TCcに直
列に接続され、端末制御装置TCcとホストHcは、
単一の回線Lcoによつて接続されている。
In FIG. 7C, each terminal Tc 1 to Tc 3 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 in series.
Connected by a single line Lco.

この第7図Cのオンラインシステムにおいて、
一度システムのプロトコルが出来ると、その後端
末の数を増加することはプロトコルの変更を伴う
ことから許されない。仮に、許される場合でも極
度に限定されるので、実際上実現が困難である。
In this online system shown in Figure 7C,
Once a system protocol is established, increasing the number of terminals is not allowed 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 [Problems to be solved by the invention] As mentioned above, in the conventional method of connecting multiple terminals to a single line, there is a limit to the number of addresses assigned to the terminals, including when the protocol does not allow the existence of multiple terminals. , there was a problem in that it was 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

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

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

第1図において、100は単一回線200に接
続される端末装置で、第7図A,B及びCにおけ
る各端末Ta1〜Ta3,Tb1〜Tb3,Tc1〜Tc3に当
る。端末装置100に対するアドレス割当て数は
一定数に制限されている。
In FIG. 1, 100 is a terminal device connected to the single line 200, which corresponds to each of the terminals Ta 1 to Ta 3 , Tb 1 to Tb 3 , and Tc 1 to Tc 3 in FIG. 7 A, B, and C. The number of addresses assigned to the terminal device 100 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 120 1 to 120n include 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はプロセス制御テーブルで、各端末12
1〜120nから発生された送信、受信要求等
のプロセス要求を処理するスケジユール及びそれ
に必要な情報がセツトされる。
130 is a process control table, and each terminal 12
A schedule for processing process requests such as transmission and reception requests generated from 0 1 to 120n and information necessary therefor are set.

140は回線制御レイヤ部で、プロセス制御テ
ーブル130を用いて各端末1201〜120n
から要求のあつた各プロセスを処理するスケジユ
ールを作成しプロセス制御テーブル130にセツ
トする。そして、実行されるプロセスが送信プロ
セスの場合は、送信要求を出した端末のアドレス
を含む拡張メツセージヘツダを送信電文に付加し
て回線制御プログラムに渡し、実行されるプロセ
スが受信プロセスの場合は、受信電文の拡張メツ
セージヘツダに含まれているアドレスの端末へ受
信電文を分配する処理を行う。
140 is a line control layer unit that uses the process control table 130 to control each terminal 120 1 to 120n.
A schedule for processing each process requested by the process controller 130 is created and set 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 the process of distributing the received message to the terminal whose address is included in the extended message header of the message.

F 〔作用〕 本発明の作用を説明するに先立つて、本発明に
おいて用いられる拡張されたメツセージフオーマ
ツトについて説明する。
F [Function] Before explaining the function of the present invention, the extended message format used in the present invention will be explained.

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

本発明では、この端末アドレスをメツセージに
付加する為に、メツセージのヘツダ部分を拡張
し、そこに端末アドレスを含ませる様に構成し
た。
In the present invention, in order to add this terminal address to a message, the header portion 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
As shown in Figure B, the protocol header section is expanded and a terminal address for identifying each terminal is inserted into this expanded header section. 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 conceivable way to expand the 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 on the terminal 100 side.
and a line control layer section 140 are provided to expand the functions of the terminal side and expand the message header.

F2(本発明の作用) メツセージ送信又は受信のプロセスは、端末1
201〜120n中のある端末がプロセス要求を
回線制御レイヤ部140に出す所から始まる。
F 2 (Operation of the present invention) The process of sending or receiving a message is performed by the terminal 1
The process begins when a certain terminal among 20 1 to 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 being executed is a sending process, then
An extended message header containing the address of the terminal that issued the transmission request is added to the transmitted message, and the transmitted message is passed to the line control means 110.

実行されるプロセスが受信プロセスの場合は、
受信電文の拡張メツセージヘツダに含まれている
端末アドレスより受信先の端末を識別し、その端
末に受信電文を分配する。
If the process being executed is a receiving process, then
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図は同実施例
に用いられる回線制御レイヤ部の機能説明図であ
る。
FIG. 3 is a 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, and 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.

G1(構成の説明) 第3図において、端末装置100、回線制御手
段110、各端末1201〜120n、プロセス
制御テーブル130、回線制御レイヤ部140、
単一回線200については、第1図で説明した通
りである。
G 1 (Description of configuration) In FIG. 3, a terminal device 100, a line control means 110, each terminal 120 1 to 120n, a process control table 130, a line control layer unit 140,
The single line 200 is 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 is an interface section, which internally includes a sending buffer, receiving buffer, and semaphore.
It has functions (none of which are shown) and interfaces with the line control layer section 140.

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

各端末1201〜120nにおいて、1201
120nは各端末のアプリケーシヨン部で、各端
末の実行する送信や受信等の各プロセスをプログ
ラム制御する。1221〜122nはインタフエ
ース部で、内部に送信バツフア、受信バツフア、
セマフオ機能等を有し(何れも図示せず)、回線
制御レイヤ部140に対するインタフエースを行
う。
In each terminal 120 1 - 120n, 120 1 -
Reference numeral 120n denotes an application unit of each terminal, which program-controls each process such as transmission and reception executed by each terminal. 122 1 to 122n are interface parts, which internally have a transmission buffer, a reception buffer,
It has a semaphore function (none of which is shown) and interfaces with the line control layer section 140.

以上、回線制御手段110、各端末1201
120n及びそれらの内部の各部分の構成は、い
ずれも従来のものと同様であり、それらの各動作
も共通する。
As described above, the line control means 110 and each terminal 120 1 -
The configurations of 120n and 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 will be explained with reference to FIGS. 4 and 5.

プロセス制御テーブル130は、第4図に示す
様に、(i)実行中プロセスポインタ、(ii)実行待先頭
プロセスポインタ、、(iii)実行時語尾プロセスポイ
ンタ、(iv)各端末毎の送信PCB(Process Control
Block)、(v)各端末毎の受信PCB、(vi)各端末毎の
端末アドレス、で構成されている。
As shown in FIG. 4, the process control table 130 includes (i) a running process pointer, (ii) a first process pointer waiting to be executed, (iii) a last process pointer during execution, and (iv) a sending PCB for each terminal. (Process Control
block), (v) receiving PCB 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. FIG. 5 shows an example of a process queue when the number of terminals is four.

(i) 実行中プロセスポインタ このポインタは、ある時点で回線制御プログ
ラム113によりサービスされているプロセス
のPCBを指す(第5図参照)。なお、前述の様
に、回線制御部113のプログラム即ち回線制
御プログラムは、前述の様に、1度に1つのプ
ロセスだけをサービスすることが可能である。
回線制御プログラムがどのプロセスに対するサ
ービスも行つていないときは、このポインタは
ゼロにクリアされている。
(i) Running process pointer This pointer points to the PCB of the process being serviced by the line control program 113 at a certain point in time (see FIG. 5). Note that, as described above, the program of the line control unit 113, that is, the line control program, can 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で待ち行列(プロセスキユー)
を構成する。プロセスキユーの先頭にある
PCBを指すのがこのポインタである(第5図
参照)。プロセスキユーがヌルであるとき、即
ちプロセスキユーに1つのプロセスもつながれ
ていないときは、このポインタはゼロにクリア
される。
(ii) Pointer to the first process waiting to be executed Processes that cannot yet be serviced by the line control program are placed in a queue (process queue) on the PCB representing each process.
Configure. at the beginning of the process queue
This pointer points to the PCB (see Figure 5). 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 consists of a next execution waiting process pointer and process parameters.

次実行待プロセスポインタは、これを含む
PCBがプロセスキユーにつながれているとき
は、このPCBの次につながつているPCBを指
示する。これを含むPCBがプロセスキユーの
最後尾に位置するときは、このポインタはオー
ルマーク(16進でF)でクリアされる。
The next execution waiting process pointer includes this
When a PCB is connected to a process queue, it indicates the next connected PCB after this PCB. When the PCB containing this is located 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 process pointer of the transmitting PCB, and the latter includes parameters necessary for reception (receive 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及び各端末
1201〜120nの動作は従来方式と同様であ
るので、回線制御レイヤ部140を中心に説明す
る。
G 2 (Description of Operation) The operation of the embodiment shown in FIG. 3 will be explained with reference to FIGS. 4 to 6. The operations of the line control means 110 and each of the terminals 120 1 to 120n are the same as in the conventional system, so the explanation will focus on the line control layer section 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 120 1 to 120n, (2) process queue monitoring function, and (3) line control program monitoring function. ing.

以下、この3つの機能を中心に、第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 , etc. 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) Service to each terminal The process of sending or receiving is performed from terminal 120 1 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.
It will look like this:

各端末からのプロセス要求を受け付ける。 Accepts 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,
Enqueues 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 the status of the process queue and the busy status of the line control program. If there is a process waiting in the process queue and the line control program is not busy, the following operation is performed.

プロセスキユー上の先頭プロセスのPCB
を実行状態にする。
PCB of the first process on the process queue
put into running state.

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

プロセス要求が送信要求の場合は、プロセ
ス制御テーブル130の端末アドレスを参照し
て拡張メツセージヘツダを送信電文に付加し、
この送信電文を回線制御プログラムに渡す。回
線制御プログラム即ち回線制御部113が、イ
ンタフエース部112を介して受け取つた送信
電文を回線制御回路111から単一回線200
に送信される一連の制御動作は、従来と同様に
して行われる。
If the process request is a transmission request, add an extended message header to the transmission message by referring to the terminal address in the process control table 130,
This transmission message is passed to the line control program. The line control program, that is, the line control unit 113 transmits the transmission message received via the interface unit 112 from the line control circuit 111 to the single line 200.
A series of control operations transmitted to the controller are performed in the same manner as in the past.

(3) 回線制御プログラム監視 回線制御レイヤ部140は、通常、 回線制御プログラムの終了状態 を監視している。そして、回線制御プログラム
が1つのプロセスを完了すると、次の動作を行
う。
(3) Line control program monitoring The line control layer section 140 normally monitors the completion 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 PCB being executed on the process queue is a sending PCB, perform the following processing.

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

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

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

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

前記PCBに対応する端末へ、次の方法で受
信電文を渡す。即ち、拡張メツセージヘツダをチ
エツクして一致性を調べる。もし一致していれ
ば、拡張メツセージヘツダを削除して受信電文を
所定アドレスの端末へ渡す。
The received message is passed to the terminal corresponding to the PCB using the following method. That is, the extended message 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 predetermined address.

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

実行中のPCBを停止状態にする。 Bring a running PCB to a stopped state.

該当端末へ受信通知を行う。 A reception notification is sent to the corresponding terminal.

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

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

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

該当端末へ受信通知を行う。 A reception notification is sent to the corresponding 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.

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

該当端末へ強制受信を通知する。この(C)の場
合は、端末側より受信要求が出ていないときに、
図示しないホスト側より電文が送られて来た場合
であるので、該当端末に対し、強制受信が行われ
る。
Notify the corresponding terminal of forced reception. In the case of (C), when there is no reception request from the terminal side,
Since this is a case where a message is sent from the host side (not shown), 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, it is possible to connect more terminals than the number of addresses assigned to terminals to a single line by expanding the message header without changing the protocol. I can do it.

(ロ) 回線制御プログラムと各端末アプリケーシヨ
ンプログラム間で共通の構成を持つたインタフ
エースを用いることが出来るので、これらのイ
ンタフエースを統一化することが出来る。
(b) Since an interface with 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図…同実施例に
用いられる回線制御レイヤ部の機能説明図、第7
図…従来の複数端末の単一回線への接続方式の説
明図。 第1図及び第3図において、100…端末装
置、110…回線制御手第、1201〜120n
…端末(サブ端末も含む)、130…プロセス制
御テーブル、140…回線制御レイヤ部、200
…単一回線。
FIG. 1: An explanatory diagram of the configuration of the present invention, FIG. 2: An explanatory diagram of an example of an expanded message format used in the present invention, FIG. 3: An explanatory diagram of an embodiment of the present invention, FIG. 4... FIG. 5 is an explanatory diagram of the process control table used in the embodiment. FIG. 6 is an explanatory diagram of the process queue used in the embodiment. FIG. 7
Figure: An explanatory diagram of a conventional method for connecting multiple terminals to a single line. 1 and 3, 100...terminal device, 110...line controller, 1201 to 120n
...Terminal (including sub-terminal), 130... Process control table, 140... Line control layer section, 200
…single line.

Claims (1)

【特許請求の範囲】 1 規定長のデータフレームの各スロツトに端末
装置100の伝送スロツトが割当てられ、該伝送
スロツトにより該当する端末装置と制御装置との
間でデータを授受するシステムにおいて所定の伝
送スロツトに対応する端末装置に複数の端末12
1〜120nを接続すると共に、該端末装置1
00に (a) 該複数の端末1201〜120nから発生さ
れたプロセス要求を処理するスケジユール及び
それに必要な情報がセツトされるプロセス制御
テーブル130と、 (b) プロセス制御テーブル130を用いて各端末
1201〜120nから要求のあつた各プロセ
スを処理するスケジユールを作成してプロセス
制御テーブル130にセツトし、実行されるプ
ロセスが送信プロセスの場合は、送信要求を出
した端末のアドレスを含む拡張メツセージヘツ
ダを前記伝達スロツトに付加して伝送し、実行
されるプロセスが受信プロセスの場合は、前記
送信スロツトの拡張メツセージヘツダに含まれ
ているアドレスの端末に対して受信電文を分配
する処理を行う回線制御レイヤ部140、 を備えたことを特徴とする複数端末の単一回線へ
の接続方式。
[Claims] 1. In a system in which a transmission slot of the terminal device 100 is assigned to each slot of a data frame of a specified length, and data is exchanged between the corresponding terminal device and a control device using the transmission slot, a predetermined transmission is performed. A plurality of terminals 12 are connected to the terminal device corresponding to the slot.
0 1 to 120n, and the terminal device 1
00 includes (a) a process control table 130 in which a schedule for processing process requests generated from the plurality of terminals 120 1 to 120n and information necessary therefor are set; and (b) a process control table 130 for each terminal using the process control table 130. 1201 to 120n, and sets 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 sending request is created. If the process to be executed is a receiving process, a line control layer that performs processing to distribute the received message to terminals with addresses included in the extended message header of the sending slot. A method for connecting multiple terminals to a single line, comprising: a section 140.
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 JPS6242634A (en) 1987-02-24
JPH0523657B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0627835B1 (en) * 1993-06-03 2001-08-29 International Business Machines Corporation Improved network layer packet structure

Also Published As

Publication number Publication date
JPS6242634A (en) 1987-02-24

Similar Documents

Publication Publication Date Title
CN100422958C (en) Using direct memory access for performing database operations between two or more machines
US6449289B1 (en) Multi-processor bus protocol system
JPH01137356A (en) Inter-process communication
JPH0523657B2 (en)
JP3500565B2 (en) Message division communication method and communication system
JPH0473178B2 (en)
JPS59254A (en) Simultaneous multiple address data transfer controlling system to plural terminals connected to same circuit
JPH0378659B2 (en)
US7529268B1 (en) Multi-point electronic control system protocol
CN112235032B (en) Hyperspectral imager 1553B bus communication method based on time service
JPH0732397B2 (en) Electronic device with data transmission function
JPH054040Y2 (en)
JP2000134277A (en) Method and system for automatically identifying communication link
JPH0378066A (en) Data processor
JPS6236940A (en) Data communication equipment in automobile
JP2573332B2 (en) Data transfer control method
JP3217086B2 (en) Message Communication Method between Standby Controller and Message Device in Redundant System
JP3299021B2 (en) Multi-bus II-SCSI bus data transfer method and apparatus
JPH0381852A (en) Connection control system
JPS6312423B2 (en)
JPS59146347A (en) Communication system between processes
JPH0511339B2 (en)
JPH05282225A (en) Intra-terminal data communication equipment
JPH0690280A (en) No.7 operation maintenance management system for remote maintenance
JPS60236561A (en) Conference communication system