JPH04247749A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH04247749A
JPH04247749A JP3012200A JP1220091A JPH04247749A JP H04247749 A JPH04247749 A JP H04247749A JP 3012200 A JP3012200 A JP 3012200A JP 1220091 A JP1220091 A JP 1220091A JP H04247749 A JPH04247749 A JP H04247749A
Authority
JP
Japan
Prior art keywords
priority
communication
terminal
signal
connection
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.)
Pending
Application number
JP3012200A
Other languages
Japanese (ja)
Inventor
Katsumi Inagaki
稲垣 勝巳
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP3012200A priority Critical patent/JPH04247749A/en
Publication of JPH04247749A publication Critical patent/JPH04247749A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain proper processing by connecting a communication signal with high emergency to a host computer with priority. CONSTITUTION:Priority is given in advance in a communication signal from subordinate devices 25, 26,27,... depending on the emergency of their contents. When a communication signal is sent from the 2nd subordinate device 26 during the communication with the 1st subordinate device 25, a call signal during the connection is outputted and the 1st priority and the 2nd priority are compared. When the 2nd priority has a higher rank, the connection is switched to the 2nd subordinate device 26 and the communication is implemented with priority.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は通信制御装置の構造に関
し、特に一つの下位機器との接続中に他の下位機器から
の通信信号を受信した場合の優先順位に基づく切り換え
構造に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the structure of a communication control device, and more particularly to a switching structure based on priority when a communication signal is received from another lower-order device while connected to one lower-order device.

【0002】0002

【従来の技術】通信制御装置は、例えば下位機器として
の端末機からの通信信号を公衆回線を介して受信し、上
位機器としてのホストコンーピュータに接続する。一つ
のホストコンーピュータには、販売時点情報管理システ
ムや銀行の自動現金支払機等におけるように、複数の端
末機が同一の割当チャンネルで接続されていることが多
い。このような場合、各端末機から送信される通信信号
に基づき、通信制御装置は順次ホストコンーピュータと
の接続を行う。
2. Description of the Related Art A communication control device receives, for example, a communication signal from a terminal device as a lower-level device via a public line, and connects it to a host computer as a higher-level device. A plurality of terminals are often connected to one host computer through the same assigned channel, such as in point-of-sale information management systems, automated teller machines in banks, and the like. In such a case, the communication control device sequentially establishes connection with the host computer based on communication signals transmitted from each terminal.

【0003】0003

【発明が解決しようとする課題】従来の通信制御装置に
おいては、ある端末機がホストコンピュータに接続され
ている間は、他の端末機からの通信信号を受信したとし
てもホストコンピュータに接続することはできない。す
なわち、一つの端末機との接続中はその割当チャネルは
占有されており、他の端末機とホストコンピュータとの
接続は不可能である。このような場合は、一つの端末機
との通信の終了を待って他の端末機との接続を行う。
[Problem to be Solved by the Invention] In conventional communication control devices, while a terminal is connected to a host computer, it is difficult to connect to the host computer even if a terminal receives a communication signal from another terminal. I can't. That is, while a terminal is connected, the allocated channel is occupied, and connection between other terminals and the host computer is impossible. In such a case, the terminal waits for the communication with one terminal to end before connecting to the other terminal.

【0004】ところが、端末機からは通常時の処理信号
の他、例えば端末機の異常発生により機能の停止を要求
するような障害信号が送信される場合がある。このよう
な障害信号が送信された時、ホストコンピュータが別の
端末機と通信していたとすると、この通信終了まで異常
発生の端末機と接続できない。すなわち、緊急性の高い
通信信号であってもチャンネルが開放されるまで待たな
ければならず、優先度に応じた適切な通信処理ができな
いという問題があった。
[0004] However, in addition to the normal processing signals, the terminal may sometimes transmit a failure signal requesting the termination of its functions, for example, due to an abnormality occurring in the terminal. If the host computer is communicating with another terminal when such a fault signal is sent, it will not be able to connect to the terminal in which the abnormality has occurred until the communication is completed. That is, even if the communication signal is highly urgent, it has to wait until the channel is released, and there is a problem that appropriate communication processing according to the priority cannot be performed.

【0005】そこで本発明は、緊急性の高い通信信号を
優先してホストコンピュータに接続し適切な処理を可能
とする通信制御装置を提供することを目的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a communication control device that connects highly urgent communication signals to a host computer and enables appropriate processing.

【0006】[0006]

【課題を解決するための手段】本発明に係る通信制御装
置は、複数の下位機器のうちいずれか一つを第一の下位
機器として第一通信信号を受信し、上位機器との接続制
御を行う接続制御手段であって、通信切り換え信号の指
令に基づき接続状態を切り換える接続制御手段、第一通
信信号が有する所定の第一優先順位を取り込み記憶する
第一優先順位記憶手段、第一の下位機器と上位機器との
通信中において他の下位機器である第二の下位機器から
の第二通信信号が送信されたとき出力される接続中呼出
信号を取り込み、接続制御手段に向けて前記通信切り換
え信号を出力し、上位機器との接続を第二の下位機器に
切り換える接続中通信切り換え手段、第二通信信号の有
する所定の第二優先順位を取り込み記憶する第二優先順
位記憶手段、第一優先順位記憶手段に記憶されている第
一優先順位と、第二優先順位記憶手段に記憶されている
第二優先順位とを取り込み比較し、第二優先順位が第一
優先順位よりも高い場合は上位機器と第二の下位機器と
の接続状態を維持し、第二優先順位が第一優先順位より
も低く又は同等の場合は前記通信切り換え信号を出力し
、上位機器との接続を再度第一の下位機器に切り換える
優先順位比較手段、を備えたことを特徴としている。
[Means for Solving the Problems] A communication control device according to the present invention receives a first communication signal from one of a plurality of lower-level devices as a first lower-level device, and controls connection with a higher-level device. A connection control means for switching the connection state based on a command of a communication switching signal, a first priority storage means for capturing and storing a predetermined first priority of the first communication signal, and a first lower order. During communication between the device and the higher-level device, a connected ringing signal output when a second communication signal is transmitted from another lower-level device, which is a second lower-level device, is captured, and the communication is switched toward the connection control means. Connected communication switching means that outputs a signal and switches the connection with the higher-level device to the second lower-level device, second priority storage means that captures and stores a predetermined second priority of the second communication signal, and first priority. The first priority stored in the ranking storage means and the second priority stored in the second priority storage means are fetched and compared, and if the second priority is higher than the first priority, the higher priority is The connection status between the device and the second lower-level device is maintained, and if the second priority is lower than or equal to the first priority, the communication switching signal is output, and the connection with the higher-level device is changed to the first priority again. It is characterized by comprising a priority comparison means for switching to a lower-level device.

【0007】[0007]

【作用】本発明に係る通信制御装置は、接続中通信切り
換え手段が接続中呼出信号を取り込んだとき通信切り換
え信号を出力し、接続制御手段における上位機器との接
続状態を第二の下位機器に切り換える。そして、優先順
位比較手段は第一優先順位と第二優先順位とを比較し、
第二優先順位が第一優先順位よりも低く又は同等の場合
にのみ通信切り換え信号を出力して、上位機器との接続
を再度第一の下位機器に切り換える。すなわち、第二優
先順位が第一優先順位よりも高い場合は、上位機器と第
二の下位機器とを通信させ、これ以外の場合は再度の切
り換えにより第一の下位機器との通信を続行させる。
[Operation] The communication control device according to the present invention outputs a communication switching signal when the connected communication switching means takes in the connected calling signal, and changes the connection status of the connection control means with the higher-level device to the second lower-level device. Switch. Then, the priority comparison means compares the first priority and the second priority,
Only when the second priority is lower than or equal to the first priority, a communication switching signal is output, and the connection with the higher-level device is switched again to the first lower-level device. In other words, if the second priority is higher than the first priority, the higher-level device communicates with the second lower-level device; otherwise, communication with the first lower-level device is continued by switching again. .

【0008】従って、第二通信信号の第二優先順位が第
一優先順位よりも高いときは、第二の下位機器を優先さ
せて上位機器に接続することができる。
[0008] Therefore, when the second priority of the second communication signal is higher than the first priority, the second lower-order device can be connected to the higher-order device with priority.

【0009】[0009]

【実施例】本発明に係る通信制御装置1の基本的構成を
図1に基づいて説明する。接続制御手段2は、複数の下
位機器25、26、27…のうちいずれか一つ、例えば
下位機器25が発した通信信号を受け、これを第一の下
位機器からの第一通信信号として上位機器3に接続する
。又、接続制御手段2は、入力された通信切り換え信号
の指令に基づき、上位機器3に対する下位機器の接続状
態を切り換える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The basic configuration of a communication control device 1 according to the present invention will be explained based on FIG. The connection control means 2 receives a communication signal emitted by one of the plurality of lower-order devices 25, 26, 27, . . . Connect to device 3. Further, the connection control means 2 switches the connection state of the lower-level device to the higher-level device 3 based on the command of the input communication switching signal.

【0010】各通信信号は所定の優先順位を有しており
、第一通信信号の第一優先順位は第一優先順位記憶手段
21に記憶される。第一の下位機器25と上位機器3と
の通信中に他の下位機器、例えば下位機器26から通信
信号が送信された場合に出力される接続中呼出信号は、
接続中通信切り換え手段4に取り込まれる。そして、接
続中通信切り換え手段4は、この接続中呼出信号に基づ
き接続制御手段2に向けて前記通信信号を出力し、上位
機器3との接続を第一の下位機器25から第二の下位機
器26に切り換える。尚、第二通信信号の有する第二優
先順位は、第二優先順位記憶手段22に取り込まれて記
憶される。
Each communication signal has a predetermined priority, and the first priority of the first communication signal is stored in the first priority storage means 21. A connected call signal that is output when a communication signal is transmitted from another lower-level device, for example, the lower-level device 26 during communication between the first lower-level device 25 and the higher-level device 3, is as follows:
During the connection, the data is taken into the communication switching means 4. Then, the connected communication switching means 4 outputs the communication signal to the connection control means 2 based on this connected calling signal, and switches the connection with the higher-level device 3 from the first lower-level device 25 to the second lower-level device. Switch to 26. Note that the second priority level of the second communication signal is captured and stored in the second priority level storage means 22.

【0011】優先順位比較手段6は、第一優先順位記憶
手段21及び第二優先順位記憶手段22から、それぞれ
第一優先順位及び第二優先順位を取り込み両者を比較す
る。 そして、第二優先順位が第一優先順位よりも高い場合は
、上位機器3と第二の下位機器26との接続状態を維持
する。これ以外の場合、すなわち第二優先順位が第一優
先順位よりも低く又は同等の場合は、接続制御手段2に
向けて前記切り換え信号を出力し上位機器3との接続を
再度第一の下位機器25に切り換える。
The priority comparison means 6 takes in the first priority and the second priority from the first priority storage means 21 and the second priority storage means 22, respectively, and compares them. If the second priority is higher than the first priority, the connection state between the upper device 3 and the second lower device 26 is maintained. In other cases, that is, when the second priority is lower than or equal to the first priority, the switching signal is output to the connection control means 2, and the connection with the higher-order device 3 is reestablished to the first lower-order device. Switch to 25.

【0012】次に、本発明に係る通信制御装置のハード
ウエア構成の一実施例を図2、図3及び図4に基づいて
説明する。まず、図2において通信制御装置1は、公衆
回線L1を通じて各端末機K1、K2、K3…からの通
信信号を受信する。この通信信号は交換機30を介して
取り込まれる。通信制御装置1は、この通信信号を通信
回線L9を通じてホストコンピュータ33に送信する。 こうして通信制御装置1は、端末機K1、K2、K3…
とホストコンピュータ33との相互の通信信号の送受信
を制御する。通信制御装置は、例えば販売時点情報管理
システムや銀行の自動現金支払機等において用いられる
Next, an embodiment of the hardware configuration of the communication control device according to the present invention will be described based on FIGS. 2, 3, and 4. First, in FIG. 2, the communication control device 1 receives communication signals from each of the terminals K1, K2, K3, . . . through the public line L1. This communication signal is taken in via the exchange 30. Communication control device 1 transmits this communication signal to host computer 33 through communication line L9. In this way, the communication control device 1 connects the terminals K1, K2, K3...
Controls transmission and reception of communication signals between and the host computer 33. Communication control devices are used, for example, in point-of-sale information management systems, automatic cash dispensers in banks, and the like.

【0013】図3に通信制御装置1のハ−ドウエアの具
体的構成を示す。バスライン40には、CPU42、R
OM44、RAM46が接続されている。CPU42は
、ROM44に格納されているプログラムに従って各部
を制御する。 又、バスライン40には、ホスト通信制御回路48及び
端末通信制御回路50が接続されている。
FIG. 3 shows a specific hardware configuration of the communication control device 1. The bus line 40 includes a CPU 42, R
OM44 and RAM46 are connected. The CPU 42 controls each section according to a program stored in the ROM 44. Further, a host communication control circuit 48 and a terminal communication control circuit 50 are connected to the bus line 40.

【0014】このホスト通信制御回路48は通信回線L
9を介してホストコンピュータ33との通信制御を行い
、端末通信制御回路50は公衆回線L1を通じて各端末
機K1、K2、K3…との通信制御を行う。端末通信制
御回路50の詳細な回路図を図4に示す。端末通信制御
回路50は、伝送制御回路52、接続中呼出信号検出回
路54、切り換え指令送出回路56、公衆回線接続制御
回路58を備えている。
This host communication control circuit 48 is connected to the communication line L.
9, and the terminal communication control circuit 50 controls communication with each terminal K1, K2, K3, . . . through the public line L1. A detailed circuit diagram of the terminal communication control circuit 50 is shown in FIG. The terminal communication control circuit 50 includes a transmission control circuit 52, a connected paging signal detection circuit 54, a switching command sending circuit 56, and a public line connection control circuit 58.

【0015】伝送制御回路52はバスライン40に接続
されており、通信信号を公衆回線接続制御回路58を介
して公衆回線L1へ送受信する。接続中呼出信号検出回
路54は接続中呼出信号の出力を検出する。この接続中
呼出信号は、ホストコンピュータ33と第一の端末機(
例えば端末機25)との接続中に、他の端末機である第
二の端末機(例えば端末機26)から通信信号が送信さ
れた場合に出力される信号であり、交換機30によって
発信される(図2参照)。尚、接続中呼出信号検出回路
54は接続中呼出信号を受信した場合、バスライン40
を介してCPU42に通信切り換え信号を出力する。
The transmission control circuit 52 is connected to the bus line 40 and transmits and receives communication signals to and from the public line L1 via the public line connection control circuit 58. The connected paging signal detection circuit 54 detects the output of the connected paging signal. This connected paging signal is transmitted between the host computer 33 and the first terminal (
For example, this is a signal that is output when a communication signal is transmitted from a second terminal (for example, the terminal 26) during connection with the terminal 25), and is transmitted by the exchange 30. (See Figure 2). Incidentally, when the connection call signal detection circuit 54 receives the connection call signal, the connection call signal detection circuit 54 detects the bus line 40
A communication switching signal is output to the CPU 42 via.

【0016】切り換え指令送出回路56は、CPU42
の制御に応じて公衆回線接続制御回路58に切り換え指
令信号を与える。CPU42は、接続中呼出信号検出回
路54から上記通信切り換え信号が出力された場合、切
り換え指令信号を出力するよう切り換え指令送出回路5
6に命令信号を出す。公衆回線接続制御回路58は、切
り換え指令信号に基づき端末機の接続を切り換える。す
なわち、接続中呼出信号が検出された場合、公衆回線接
続制御回路58、CPU42からの指令に従い接続状態
を切り換える。
The switching command sending circuit 56 is connected to the CPU 42.
A switching command signal is given to the public line connection control circuit 58 in accordance with the control of the public line connection control circuit 58. The CPU 42 causes the switching command sending circuit 5 to output a switching command signal when the communication switching signal is output from the connected call signal detection circuit 54.
Issue a command signal to 6. The public line connection control circuit 58 switches the connection of the terminal based on the switching command signal. That is, when a connected paging signal is detected, the connection state is switched according to commands from the public line connection control circuit 58 and the CPU 42.

【0017】次に、ROM44に格納されているプログ
ラムのフローチャートを図5、6、7、8に示す。まず
、端末機K1からホストコンピュータ33にデータを送
信する場合は、公衆回線L1を通じて端末機K1と通信
制御装置1とが接続される(図2参照)。そして、CP
U42はこの端末機K1を第一の下位機器として第一通
信信号であるデータD1を取り込み、RAM46へ記憶
する(図5、ステップS1)。その後、CPU42はホ
スト通信制御回路48を介し、通信回線L9を通じてデ
ータD1をホストコンピュータ33に送信する(ステッ
プS2)。
Next, flowcharts of the programs stored in the ROM 44 are shown in FIGS. First, when transmitting data from the terminal K1 to the host computer 33, the terminal K1 and the communication control device 1 are connected through the public line L1 (see FIG. 2). And C.P.
U42 takes in data D1, which is a first communication signal, using terminal K1 as a first lower-order device, and stores it in RAM 46 (FIG. 5, step S1). Thereafter, the CPU 42 transmits the data D1 to the host computer 33 through the communication line L9 via the host communication control circuit 48 (step S2).

【0018】データD1を送信した後、CPU42は接
続中呼出信号の有無を検出する(ステップS3)。この
接続中呼出信号とは端末機K1との通信中に第二の下位
機器である他の端末機、例えば端末機K2からの呼出が
あった場合、交換機30(図2参照)が発信する信号で
ある。この検出は端末通信制御回路50の備える接続中
呼出信号検出回路54(図4参照)が行う。
After transmitting the data D1, the CPU 42 detects the presence or absence of a connected call signal (step S3). This connected call signal is a signal sent by the exchange 30 (see Figure 2) when there is a call from another terminal, such as the terminal K2, which is a second lower-level device, during communication with the terminal K1. It is. This detection is performed by a connected paging signal detection circuit 54 (see FIG. 4) included in the terminal communication control circuit 50.

【0019】ステップS3において接続中呼出信号が検
出されなかった場合は、ステップS4へ進む。CPU4
2は、ホストコンピュータ33からの応答のデータH1
が送信されたかを判断し(ステップS4)、送信された
場合はデータH1をRAM46に記憶する(ステップS
6)。記憶したデータH1は、端末通信制御回路50の
伝送制御回路52及び公衆回線接続回路58(図4参照
)を介して端末機K1に送信される(ステップS7)。 尚、ステップS4においてホストコンピュータ33から
のデータH1が送信されない場合は、端末機K1からの
後続データの送信の有無を判断する(ステップS5)。
If no connected paging signal is detected in step S3, the process advances to step S4. CPU4
2 is response data H1 from the host computer 33
It is determined whether the data H1 has been transmitted (step S4), and if it has been transmitted, the data H1 is stored in the RAM 46 (step S4).
6). The stored data H1 is transmitted to the terminal K1 via the transmission control circuit 52 of the terminal communication control circuit 50 and the public line connection circuit 58 (see FIG. 4) (step S7). Incidentally, if the data H1 from the host computer 33 is not transmitted in step S4, it is determined whether or not subsequent data is transmitted from the terminal K1 (step S5).

【0020】端末機K1及びホストコンピュータ33か
らの後続データがあれば上記所定の処理を行い、後続デ
ータがなければ通信を終了する(ステップS8、S9)
。このように、CPU42はホストコンピュータ33か
らのデータH1の受信を待つ間、接続中呼出信号の着信
判定を行うと共に、端末機K1からの後続データの有無
を監視する(ステップS3、S4、S5)。
[0020] If there is subsequent data from the terminal K1 and the host computer 33, the above-mentioned predetermined processing is performed, and if there is no subsequent data, the communication is terminated (steps S8 and S9).
. In this way, while waiting for the reception of data H1 from the host computer 33, the CPU 42 determines whether the connected paging signal is received and monitors the presence or absence of subsequent data from the terminal K1 (steps S3, S4, S5). .

【0021】ステップS3において、接続中呼出信号が
検出された場合のプログラムのフローチャートを図6に
示す。接続中呼出信号の検出によりCPU42は端末機
K2から送信を認識し、切り換え指令送出回路56(図
4参照)から切り換え信号を発信して、公衆回線接続制
御回路58の接続状態を端末機K1から端末機K2へと
切り換える(ステップS10)。そして、端末機K2を
第二の下位機器として第二通信信号であるデータD2を
取り込み、RAM46へ記憶する(ステップS11)。 尚、この間の端末機K1との回線は切断されず、接続は
保留状態で維持されている。
FIG. 6 shows a flowchart of the program when a connected paging signal is detected in step S3. By detecting the connected ringing signal, the CPU 42 recognizes the transmission from the terminal K2, sends a switching signal from the switching command sending circuit 56 (see FIG. 4), and changes the connection state of the public line connection control circuit 58 from the terminal K1. The terminal is switched to the terminal K2 (step S10). Then, using the terminal K2 as the second lower-order device, data D2, which is a second communication signal, is taken in and stored in the RAM 46 (step S11). Note that during this time, the line with the terminal K1 is not disconnected, and the connection is maintained in a suspended state.

【0022】ここで、各端末機から送信されるデータに
は、その内容によって予め所定の優先順位が与えられて
いる。そして、データD1及びデータD2の各優先順位
Y1、Y2も第一優先順位記憶手段及び第二優先順位記
憶手段としてのRAM46に取り込まれて記憶されてい
る。CPU42はこの優先順位Y1及び優先順位Y2の
比較を行い、優先順位Y2が優先順位Y1よりも高いか
否かを判定する(ステップS12)。そして、優先順位
Y2の方が高い場合は端末機K2を優先し、そのまま通
信を続けてデータD2をホストコンピュータ33へ送信
する(ステップS13)。
[0022] Here, data transmitted from each terminal is given a predetermined priority according to its content. The priorities Y1 and Y2 of the data D1 and data D2 are also captured and stored in the RAM 46, which serves as a first priority storage means and a second priority storage means. The CPU 42 compares the priority order Y1 and the priority order Y2, and determines whether the priority order Y2 is higher than the priority order Y1 (step S12). If the priority order Y2 is higher, the terminal K2 is given priority and communication is continued to transmit data D2 to the host computer 33 (step S13).

【0023】このように端末機K1との通信中に他の端
末機K2からの送信があった場合、両者の優先順位、す
なわち内容の緊急性を比較する。そして、端末機K2か
らの通信信号が例えば機器の障害通知等であれば、接続
を端末機K2に切り換えて通信を行う。これにより、緊
急度に応じた適切な処理を行うことができる。
In this manner, when there is a transmission from another terminal K2 during communication with the terminal K1, the priorities of the two terminals, that is, the urgency of the contents are compared. If the communication signal from the terminal K2 is, for example, a device failure notification, the connection is switched to the terminal K2 and communication is performed. Thereby, appropriate processing can be performed according to the degree of urgency.

【0024】ステップS13においてデータD2をホス
トコンピュータ33へ送信した後、端末機K2からの後
続データの有無を判定し(図7、ステップS15)、後
続データがあればホストコンピュータ33へ送信する(
ステップS16)。そして、ホストコンピュータ33か
ら応答信号としての処理データが送信された場合は、こ
の処理データを端末機K2へ送信する(ステップS17
、S18)。
After transmitting the data D2 to the host computer 33 in step S13, it is determined whether there is subsequent data from the terminal K2 (FIG. 7, step S15), and if there is subsequent data, it is transmitted to the host computer 33 (
Step S16). When processing data is transmitted as a response signal from the host computer 33, this processing data is transmitted to the terminal K2 (step S17).
, S18).

【0025】その後、端末機K2及びホストコンピュー
タ33からの後続データの有無を判定し、後続データが
あれば上記所定の処理を行う(ステップS15からS1
8又はS15からS20)。後続データがなく端末機K
2との通信が終了した場合は、再度優先順位Y2と優先
順位Y1との比較を行う(ステップS21)。但し、こ
の場合はステップS12で既に優先順位が判定された通
り、当然に優先順位Y2が高くステップS22に進むこ
とになる。
Thereafter, the presence or absence of subsequent data from the terminal K2 and the host computer 33 is determined, and if there is subsequent data, the above-mentioned predetermined processing is performed (steps S15 to S1
8 or S15 to S20). Terminal K with no subsequent data
2, the priority order Y2 is compared with the priority order Y1 again (step S21). However, in this case, as the priority order has already been determined in step S12, the priority order Y2 is naturally higher and the process proceeds to step S22.

【0026】端末機K2との通信が終了した後、切り換
え指令送出回路56(図4参照)は切り換え信号を発信
し、公衆回線接続制御回路58の接続状態を端末機K2
から端末機K1へ再度切り換える(ステップS22)。 すなわち、保留していた端末機K1との通信を再開する
。そして、端末機K1及びホストコンピュータ33から
のデータを取り込み、それぞれデータを送信して処理す
る(ステップS23からS28)。その後、再び優先順
位の比較を行う(ステップS29)。この場合も、当然
優先順位Y2は優先順位Y1よりも高く、ここで通信は
終了する。
After the communication with the terminal K2 is completed, the switching command sending circuit 56 (see FIG. 4) transmits a switching signal to change the connection state of the public line connection control circuit 58 to the terminal K2.
The terminal device K1 is then switched again (step S22). That is, the communication with the terminal K1 that was on hold is resumed. Then, data from the terminal K1 and the host computer 33 are taken in, and each data is transmitted and processed (steps S23 to S28). Thereafter, the priorities are compared again (step S29). In this case as well, the priority Y2 is naturally higher than the priority Y1, and the communication ends here.

【0027】上記の処理は、図6のステップS12にお
いて優先順位Y2が優先順位Y1よりも高いと判定され
た場合のフローチャートである。これに対して、優先順
位Y2が優先順位Y1よりも低く又は同等の場合はステ
ップS14へ進む。そして、切り換え指令送出回路56
(図4参照)から切り換え信号を発信し、公衆回線接続
制御回路58の接続状態を端末機K2から端末機K1へ
再度切り換える(ステップS14)。すなわち、優先順
位Y2が優先順位Y1よりも高くない為、再度接続を端
末機K2から端末機K1へ切り換えて、先に接続されて
いた端末機K1との通信を続行する。この場合は、ステ
ップS11で取り込まれた端末機K2からのデータD2
が保留される。
The above process is a flowchart when it is determined in step S12 of FIG. 6 that priority Y2 is higher than priority Y1. On the other hand, if the priority Y2 is lower than or equal to the priority Y1, the process advances to step S14. Then, the switching command sending circuit 56
(see FIG. 4), and the connection state of the public line connection control circuit 58 is switched again from the terminal K2 to the terminal K1 (step S14). That is, since the priority Y2 is not higher than the priority Y1, the connection is again switched from the terminal K2 to the terminal K1, and communication with the previously connected terminal K1 is continued. In this case, the data D2 from the terminal K2 imported in step S11 is
will be put on hold.

【0028】接続を端末機K1に切り換えた後、図8に
示す処理を行う(ステップS23からステップS28)
。そして、端末機K1との通信を終了したのち、優先順
位の比較を行う(ステップS29)。但し、この場合は
ステップS12で判定した通り、優先順位Y2は優先順
位Y1よりも低く又は同等である為ステップS30へ進
む。
After switching the connection to terminal K1, the process shown in FIG. 8 is performed (steps S23 to S28).
. After completing the communication with the terminal K1, the priorities are compared (step S29). However, in this case, as determined in step S12, the priority order Y2 is lower than or equal to the priority order Y1, so the process proceeds to step S30.

【0029】そして、再度切り換え信号の出力により接
続を端末機K2に切り換え、保留していたデータD2を
ホストコンピュータ33へ送信する(ステップS30、
S31)。こうして端末機K1との通信終了後に端末機
K2との通信処理を開始する。図7に示すように、端末
機K2とホストコンピュータ33とのデータの送受信が
終了すると(ステップS15からステップS20)、再
び優先順位の比較を行う(ステップS21)。ここでも
ステップS12と同様優先順位Y2は優先順位Y1より
も低く又は同等であるとの結果を得ることができる為、
そのまま通信を終了する。
Then, by outputting the switching signal again, the connection is switched to the terminal K2, and the pending data D2 is transmitted to the host computer 33 (step S30,
S31). In this manner, after the communication with the terminal K1 is completed, the communication process with the terminal K2 is started. As shown in FIG. 7, when data transmission and reception between the terminal K2 and the host computer 33 is completed (steps S15 to S20), the priorities are compared again (step S21). Here, as in step S12, it is possible to obtain a result that the priority Y2 is lower than or equal to the priority Y1.
Terminate the communication.

【0030】尚、上記の実施例においては公衆回線を例
として説明したが、接続中呼出信号が送信されものであ
る限り他の回線(例えば専用回線)に適用することもで
きる。又、端末機K1との接続中に端末機K2からの通
信信号が送信され、その後、更に他の端末機K3から第
三通信信号が送られてきた場合にも、本発明を適用し第
三の優先順位を第一、第二の優先順位と比較して処理す
ることもできる。更に重複して第四、第五通信信号が送
信された場合も、同様にして優先順位に従い順次処理す
ることが可能である。
Although the above embodiment has been explained using a public line as an example, the present invention can also be applied to other lines (for example, a private line) as long as the connected paging signal is transmitted. Furthermore, the present invention can be applied to the case where a communication signal is sent from the terminal K2 while connected to the terminal K1, and then a third communication signal is sent from another terminal K3. Processing can also be performed by comparing the priority of the first and second priority. Furthermore, even if the fourth and fifth communication signals are transmitted redundantly, they can be sequentially processed in the same manner according to the priority order.

【0031】[0031]

【発明の効果】本発明に係る通信制御装置においては、
第二通信信号の第二優先順位が第一優先順位よりも高い
場合、第二の下位機器を優先させて上位機器に接続する
ことができる。
[Effect of the invention] In the communication control device according to the present invention,
When the second priority of the second communication signal is higher than the first priority, the second lower-order device can be connected to the higher-order device with priority.

【0032】従って、緊急性の高い通信信号を優先して
上位機器に接続し、適切な処理を行うことができる。
[0032] Therefore, it is possible to give priority to communication signals with a high degree of urgency and connect them to the higher-level equipment, so that appropriate processing can be performed.

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

【図1】本発明の基本的構成を示す全体構成図である。FIG. 1 is an overall configuration diagram showing the basic configuration of the present invention.

【図2】ホストコンピュータと端末機との通信構造を説
明する為のブロック図である。
FIG. 2 is a block diagram for explaining the communication structure between a host computer and a terminal.

【図3】本発明に係る通信制御装置の一実施例を示すブ
ロック図である。
FIG. 3 is a block diagram showing an embodiment of a communication control device according to the present invention.

【図4】図3に示す端末通信制御回路の詳細を示すブロ
ック図である。
FIG. 4 is a block diagram showing details of the terminal communication control circuit shown in FIG. 3;

【図5】図3に示すROMに格納されているフログラム
のフローチャートを示す図である。
FIG. 5 is a diagram showing a flowchart of a program stored in the ROM shown in FIG. 3;

【図6】図3に示すROMに格納されているフログラム
のフローチャートを示す図である。
FIG. 6 is a diagram showing a flowchart of a program stored in the ROM shown in FIG. 3;

【図7】図3に示すROMに格納されているフログラム
のフローチャートを示す図である。
FIG. 7 is a diagram showing a flowchart of a program stored in the ROM shown in FIG. 3;

【図8】図3に示すROMに格納されているフログラム
のフローチャートを示す図である。
FIG. 8 is a diagram showing a flowchart of a program stored in the ROM shown in FIG. 3;

【符号の説明】[Explanation of symbols]

1・・・・・通信制御装置 2・・・・・接続制御手段 3・・・・・上位機器 4・・・・・接続中通信切り換え手段 6・・・・・優先順位比較手段 21・・・・・第一優先順位記憶手段 22・・・・・第二優先順位記憶手段 25、26、27・・・・・下位機器 1...Communication control device 2...Connection control means 3... Upper device 4... Communication switching means during connection 6...Priority comparison means 21...First priority storage means 22...Second priority storage means 25, 26, 27...lower equipment

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の下位機器のうちいずれか一つを第一
の下位機器として第一通信信号を受信し、上位機器との
接続制御を行う接続制御手段であって、通信切り換え信
号の指令に基づき接続状態を切り換える接続制御手段、
第一通信信号が有する所定の第一優先順位を取り込み記
憶する第一優先順位記憶手段、第一の下位機器と上位機
器との通信中において他の下位機器である第二の下位機
器からの第二通信信号が送信されたとき出力される接続
中呼出信号を取り込み、接続制御手段に向けて前記通信
切り換え信号を出力し、上位機器との接続を第二の下位
機器に切り換える接続中通信切り換え手段、第二通信信
号の有する所定の第二優先順位を取り込み記憶する第二
優先順位記憶手段、第一優先順位記憶手段に記憶されて
いる第一優先順位と、第二優先順位記憶手段に記憶され
ている第二優先順位とを取り込み比較し、第二優先順位
が第一優先順位よりも高い場合は上位機器と第二の下位
機器との接続状態を維持し、第二優先順位が第一優先順
位よりも低く又は同等の場合は前記通信切り換え信号を
出力し、上位機器との接続を再度第一の下位機器に切り
換える優先順位比較手段、を備えたことを特徴とする通
信制御装置。
1. Connection control means for receiving a first communication signal from one of a plurality of lower-level devices as a first lower-level device and controlling connection with a higher-level device, the device comprising: commanding a communication switching signal; connection control means for switching the connection state based on;
A first priority storage means for capturing and storing a predetermined first priority of a first communication signal; Connected communication switching means that captures the connected calling signal output when the second communication signal is transmitted, outputs the communication switching signal to the connection control means, and switches the connection with the higher-level device to the second lower-level device. , a second priority storage means for capturing and storing a predetermined second priority of the second communication signal; a first priority stored in the first priority storage means; and a second priority stored in the second priority storage means. If the second priority is higher than the first priority, the connection status between the higher-level device and the second lower-level device is maintained, and the second priority becomes the first priority. A communication control device comprising priority comparison means for outputting the communication switching signal when the priority is lower than or equal to the priority, and switching the connection with the higher-level device to the first lower-level device again.
JP3012200A 1991-02-01 1991-02-01 Communication controller Pending JPH04247749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3012200A JPH04247749A (en) 1991-02-01 1991-02-01 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3012200A JPH04247749A (en) 1991-02-01 1991-02-01 Communication controller

Publications (1)

Publication Number Publication Date
JPH04247749A true JPH04247749A (en) 1992-09-03

Family

ID=11798768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3012200A Pending JPH04247749A (en) 1991-02-01 1991-02-01 Communication controller

Country Status (1)

Country Link
JP (1) JPH04247749A (en)

Similar Documents

Publication Publication Date Title
US5142528A (en) Protocol selector and protocol selection method
KR20070030145A (en) Communication apparatus, communication state detection method and commnunication state detection program
EP0336547B1 (en) Computer network and method for operating it
JPH0352016A (en) Double actuation system for power unit
JPH04247749A (en) Communication controller
JPH08119554A (en) Remote monitoring terminal of elevator, remote monitoring center device and remote monitoring system constituted of them
JP2531851B2 (en) Gateway device
JPH01103046A (en) Communication control system
JPH0779273A (en) Fault detection system
JP3070213B2 (en) Distributed packet switch
JPH0316343A (en) Frame selection and reception method
JP2642489B2 (en) Multi-port switching control method
JP3144606B2 (en) Signal control method
JPH0991574A (en) Line disconnecting device for terminal device
JP2982137B2 (en) Switching apparatus and automatic transmission distribution apparatus and method
JPS6041500B2 (en) Interrupt control method during communication
JPS61194559A (en) Simultaneous use control unit for interactive processing
JP2768449B2 (en) Optical parallel data transfer method
CN101662644A (en) Port configuration method of video terminal and video terminal
JPH1023046A (en) Poling type monitoring method
JPH0372741A (en) Polling system
JPH04288799A (en) Communication system
JPH02114739A (en) Data transmission/reception system between terminal equipment and host computer
JPH104440A (en) Dynamic revision system for communication control procedure and its method
JPS6236421B2 (en)