JPH07107109A - Monitor of device connected by communication channel - Google Patents

Monitor of device connected by communication channel

Info

Publication number
JPH07107109A
JPH07107109A JP5242799A JP24279993A JPH07107109A JP H07107109 A JPH07107109 A JP H07107109A JP 5242799 A JP5242799 A JP 5242799A JP 24279993 A JP24279993 A JP 24279993A JP H07107109 A JPH07107109 A JP H07107109A
Authority
JP
Japan
Prior art keywords
monitoring
information
sub
host equipment
host device
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
JP5242799A
Other languages
Japanese (ja)
Other versions
JP3205823B2 (en
Inventor
Takashi Hasegawa
孝 長谷川
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.)
Nippon Signal Co Ltd
Original Assignee
Nippon Signal Co 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 Nippon Signal Co Ltd filed Critical Nippon Signal Co Ltd
Priority to JP24279993A priority Critical patent/JP3205823B2/en
Publication of JPH07107109A publication Critical patent/JPH07107109A/en
Application granted granted Critical
Publication of JP3205823B2 publication Critical patent/JP3205823B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the processing load of a master host equipment by conducting a part of a function performed by the master host equipment by using a slave host equipment. CONSTITUTION:Host equipment 1-(n) are connected to a communication channel D through a node, respectively. This host equipment 1 is set as a master equipment, host equipment 2-(n) are set as slave equipments, and the monitoring sequence for monitoring whether they are communicatable or not is set in advance such as, for instance, the host equipment 1 the host equipment 2 ... the host equipment (n) the host equipment 1. In such a state, monitor- information is transmitted to the next host equipment, and a monitoring processing for detecting whether monitoring answer information is received or not is conducted successively by beginning with the master equipment 1 in accordance with the monitoring sequence set in advance, and until it makes the round and the master host equipment 1 receives the monitoring information, and when the host equipment being uncommunicatable exists, the monitoring processing is restarted by transmitting monitoring request information to the host equipment 1, by which a part of a function performed by the master host equipment 1 up to the present can be conducted by the slave host equipment.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、通信回線で接続される
装置の監視装置に関し、特に主装置の監視処理負荷を軽
減する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitoring device for a device connected by a communication line, and more particularly to a technique for reducing the monitoring processing load of a main device.

【0002】[0002]

【従来の技術】従来より、例えばLAN(ローカルエリ
アネットワーク)では、複数のホスト装置が、ステーシ
ョン(ノード)を介して通信回線に接続され、相互に通
信が行われる。また通信を行う前に、接続されたホスト
装置が相互に通信可能であるか否かを調べる必要があ
り、そのため通信回線で接続される装置には監視機能が
備えられている。
2. Description of the Related Art Conventionally, in a LAN (local area network), for example, a plurality of host devices are connected to a communication line via stations (nodes) and communicate with each other. In addition, before communication, it is necessary to check whether or not the connected host devices can communicate with each other. Therefore, the devices connected by the communication line have a monitoring function.

【0003】かかる従来の監視装置では、監視の中心と
なる1つの主ホスト装置から監視情報が一定周期毎に出
力される。この監視情報は、全ホスト装置に向けて出力
され、受信したホスト装置では、それに対するアンサ情
報を監視ホスト装置に返送し、監視ホスト装置では、所
定時分以内にアンサ情報が返送されるか否かを監視す
る。そしてアンサ情報が返送された時には、そのホスト
装置とは通信が可能であると判定し、アンサ情報が返送
されない時には、そのホスト装置とは通信が不能である
と判定している。
In such a conventional monitoring device, the monitoring information is output at regular intervals from one main host device which is the center of monitoring. This monitoring information is output to all the host devices, and the received host device returns the answer information for it to the monitoring host device, and the monitoring host device determines whether the answer information is returned within a predetermined time. To monitor. Then, when the answer information is returned, it is determined that communication with the host device is possible, and when the answer information is not returned, it is determined that communication with the host device is impossible.

【0004】[0004]

【発明が解決しようとする課題】ところで、従来の通信
回線で接続される装置の監視装置では、次のような不具
合があった。まず、ネットワークに接続する1つの主ホ
スト装置から各副ホスト装置に一斉に監視情報を送信す
ると、各ホスト装置から監視ホスト装置に一度にアンサ
情報が返送されてくる。したがって主ホスト装置への情
報受信が集中することになり、主ホスト装置の処理負荷
が大きかった。
By the way, the conventional monitoring device for the device connected by the communication line has the following problems. First, when the monitoring information is simultaneously transmitted from one main host device connected to the network to each sub host device, the answer information is returned from each host device to the monitoring host device at once. Therefore, information reception is concentrated on the main host device, and the processing load on the main host device is large.

【0005】例えば、イーサネットの場合、接続可能な
最大ホスト数は128 台であり、128台のホスト装置が通
信回線に接続されると、一度に127 (最大ホスト数−
1)個の情報を監視ホスト装置が受信することになる。
また、主ホスト装置から1つの副ホスト装置に監視情報
を出力し、主ホスト装置で、それに対するアンサ情報を
得るまでを1監視サイクルとして、この監視サイクルを
繰り返すことにより各々の副ホスト装置を監視するよう
にした場合、この監視サイクルを短くすると、主ホスト
装置の情報送受信の頻度が高くなり、他の情報の送受信
に対する影響が生じる。したがって、この場合、監視サ
イクルにはインターバルを設けなければならない。
For example, in the case of Ethernet, the maximum number of connectable hosts is 128, and when 128 host devices are connected to the communication line, 127 (maximum number of hosts-
1) The monitoring host device receives the pieces of information.
Further, the monitoring information is output from the main host device to one sub host device, and until the main host device obtains the answer information for the sub host device is defined as one monitoring cycle, each sub host device is monitored by repeating this monitoring cycle. In such a case, if the monitoring cycle is shortened, the frequency of information transmission / reception of the main host device becomes high and the transmission / reception of other information is affected. Therefore, in this case, the monitoring cycle must be provided with an interval.

【0006】しかしインターバルを設けると、1監視サ
イクルに1つの副ホスト装置の監視を行うため、各副ホ
スト装置を一巡して再び最初の主ホスト装置に戻るのに
時間がかかる。例えば、1監視サイクルを2秒として監
視する副ホスト装置を1台とすると、判定時間は2秒で
あるが、監視する副ホスト装置を127 台とすると判定時
間は252 秒となってしまう。
However, if an interval is provided, one secondary host device is monitored in one monitoring cycle, and therefore it takes time to go around each secondary host device and return to the first primary host device again. For example, if one monitoring host cycle is 2 seconds and there is one secondary host device to monitor, the determination time is 2 seconds, but if there are 127 secondary host devices to monitor, the determination time will be 252 seconds.

【0007】このように、この監視方法では、全ての副
ホスト装置についての通信可能/不可能の判定が、対象
となる副ホスト装置数に比例して遅れてしまう。本発明
はこのような従来の課題に鑑みてなされたもので、通信
回線に接続された各々の装置の監視を実行する際に、監
視情報の送受信が主装置に集中するのを防止し、主装置
の処理負荷を軽減することが可能な通信回線で接続され
る装置の監視装置を提供することを目的とする。
As described above, according to this monitoring method, the determination as to whether communication is possible or not for all secondary host devices is delayed in proportion to the number of target secondary host devices. The present invention has been made in view of such a conventional problem, and prevents the transmission and reception of the monitoring information from being concentrated in the main device when executing the monitoring of each device connected to the communication line. An object of the present invention is to provide a monitoring device for a device connected by a communication line, which can reduce the processing load of the device.

【0008】[0008]

【課題を解決するための手段】このため本発明は、図1
に示すように、通信回線に接続された複数の装置が、相
互に通信可能であるか否かを監視する通信回線で接続さ
れる装置の監視装置において、所定の1つの装置を主装
置とし、他の複数の装置を副装置として、前記主装置
は、前記主装置から全ての副装置を一巡して主装置に戻
るまでの副装置の監視順序を予め設定する順序設定手段
と、前記監視順序で最初の副装置に監視情報を送信する
監視情報送信手段と、該監視情報に応答して最初の副装
置から所定時間内に監視アンサ情報が返信された時、前
記副装置は通信可能であると判定し、監視を終了させる
監視手段と、副装置からの監視要求情報を受信した時、
監視要求情報を送信した副装置から1つおいて次の副装
置に監視情報を再送信する監視情報再送信手段と、自装
置に対する監視情報を受信した時、又は監視情報を再送
信した副装置が監視順序で最後の装置であった時、一連
の監視結果に基づいてすべての副装置の通信可能/不可
能を判定結果とする判定手段と、を備えて構成され、前
記副装置は、前記監視順序にしたがい、前の装置から監
視情報の入力があった時、次の装置に監視情報を送信す
る監視情報送信手段と、該監視情報を受信した時、監視
情報を送信した装置に対し、監視アンサ情報を送信する
監視アンサ情報送信手段と、次の装置に送信した監視情
報に応答して当該次の装置からの監視アンサ情報を所定
時間内に受信した時には、当該次の装置は通信可能であ
ると判定し、次の装置に対する監視処理を終了させる監
視手段と、次の装置に送信した監視情報に応答して当該
次の装置からの監視アンサ情報が所定時間内に受信しな
い時には、当該次の装置が通信不可能であると判定して
前記主装置に監視を再開することを要求する前記監視要
求情報を送信する監視要求情報送信手段と、を備えて構
成されるようにした。
Therefore, the present invention is based on FIG.
As shown in FIG. 2, a plurality of devices connected to a communication line are monitoring devices of devices connected via a communication line for monitoring whether or not they can communicate with each other. With a plurality of other devices as sub-devices, the main device sets a monitoring order of the sub-devices from the main device until all sub-devices make a round and return to the main device. And a monitoring information transmitting means for transmitting monitoring information to the first sub device, and when the monitoring answer information is returned from the first sub device within a predetermined time in response to the monitoring information, the sub device can communicate. When receiving the monitoring request information from the secondary device and the monitoring means for terminating the monitoring,
A monitoring information retransmitting unit that retransmits the monitoring information from one subdevice that has transmitted the monitoring request information to the next subdevice, and the subdevice that has received the monitoring information for the own device or that has retransmitted the monitoring information. When it is the last device in the monitoring order, a determination means for determining whether communication is possible / impossible for all the secondary devices based on a series of monitoring results, and the secondary device is According to the monitoring order, when the monitoring information is input from the previous device, the monitoring information transmitting unit that transmits the monitoring information to the next device, and the device that transmits the monitoring information when the monitoring information is received, When the monitoring answer information transmitting means for transmitting the monitoring answer information and the monitoring answer information from the next device are received within a predetermined time in response to the monitoring information transmitted to the next device, the next device can communicate. And the next When the monitoring answer information from the next device is not received within a predetermined time in response to the monitoring information transmitted to the next device, the next device cannot communicate And a monitoring request information transmitting means for transmitting the monitoring request information requesting the main device to restart the monitoring.

【0009】[0009]

【作用】上記の構成によれば、主装置の監視情報送信手
段から、監視順序で最初の副装置に監視情報が出力され
る。最初の副装置では、監視アンサ情報送信手段により
監視アンサ情報が主装置に送信され、主装置では、この
監視アンサ情報が所定時間内に受信するか否かを監視手
段により監視され、受信した時には、最初の副装置が通
信可能であると判定され、最初の副装置に対する監視が
終了する。
According to the above configuration, the monitoring information transmitting means of the main device outputs the monitoring information to the first sub device in the monitoring order. In the first sub device, the monitoring answer information transmitting means transmits the monitoring answer information to the main device, and in the main device, the monitoring means monitors whether or not this monitoring answer information is received within a predetermined time. , It is determined that the first sub device can communicate, and monitoring for the first sub device ends.

【0010】同様の処理は監視順序にしたがって順次行
われる。そして、もし次の装置に対して監視情報を送信
しても、次の装置から監視アンサ情報が送信されてこな
い時には、次の装置は通信不可能であると判定され、監
視情報を送信した副装置から主装置に、監視要求情報送
信手段によって監視要求情報が送信される。
Similar processing is sequentially performed according to the monitoring order. If the monitoring information is sent to the next device but the monitoring answer information is not sent from the next device, it is determined that the next device cannot communicate, and the sub device that sent the monitoring information The monitoring request information is transmitted from the device to the main device by the monitoring request information transmitting means.

【0011】主装置では、この監視要求情報を受信し
て、通信不可能であると判定された副装置から1つおい
て次の装置に対して、監視情報再送信手段により監視情
報が再送信される。このような処理が繰り返されて、主
装置において、自装置に対する監視情報が受信された
時、又は監視情報を再送信した副装置が監視順序で最後
の装置であった時、判定手段により一連の監視結果に基
づいてすべての副装置についての通信可能/不可能の判
定結果が出される。
The main device receives the monitoring request information and retransmits the monitoring information by the monitoring information retransmitting means to the next device from the sub device which is determined to be unable to communicate. To be done. When such processing is repeated and the main device receives the monitoring information for the own device, or when the sub device that retransmits the monitoring information is the last device in the monitoring order, the determination means makes a series of Based on the monitoring result, the communication enable / disable determination result for all the secondary devices is issued.

【0012】したがって従来、主装置で実施していた機
能の一部が、副装置で行われるため、主装置の処理負荷
を軽減することが可能となる。
Therefore, since a part of the functions conventionally performed by the main device is performed by the sub device, the processing load of the main device can be reduced.

【0013】[0013]

【実施例】以下、本発明の一実施例を図2〜5に基づい
て説明する。図2は本実施例の監視装置に用いられるL
ANを示す。図2において、ホスト装置1〜nは、夫々
ノードを介して通信回線Dに接続されている。本実施例
では、このホスト装置1を主装置とし、ホスト装置2〜
nを、副装置として、通信可能であるか否かを監視する
監視順序を、予め例えばホスト装置1→ホスト装置2→
…→ホスト装置n→ホスト装置1のように設定してお
く。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 2 shows L used in the monitoring apparatus of this embodiment.
Indicates AN. In FIG. 2, each of the host devices 1 to n is connected to the communication line D via a node. In this embodiment, the host device 1 is used as a main device, and the host devices 2 to
n is a secondary device, and the monitoring order for monitoring whether communication is possible is, for example, host device 1 → host device 2 →
.. → host device n → host device 1 is set.

【0014】尚、監視順序は適宜、設定されるものであ
り、必ずしもホスト装置1〜nが、監視順序にしたがっ
て通信回線Dに接続されているとは限らない。この監視
処理は、主ホスト装置1、副ホスト装置2〜nに備えら
れたソフトウェアにより実行される。尚、図3に示す処
理ルーチンは、主ホスト装置1が実行するルーチンであ
り、図4に示す処理ルーチンは、副ホスト装置2〜nが
実行するルーチンである。
The monitoring order is appropriately set, and the host devices 1 to n are not always connected to the communication line D in the monitoring order. This monitoring process is executed by software provided in the main host device 1 and the sub host devices 2 to n. The processing routine shown in FIG. 3 is a routine executed by the main host device 1, and the processing routine shown in FIG. 4 is a routine executed by the secondary host devices 2 to n.

【0015】次に図3、4のフローチャート、及び図5
の説明図に基づいて監視処理を説明する。尚、図5にお
いて、a、b、cは、夫々監視情報、監視アンサ情報、
監視要求情報であることを示し、添字は監視対象のホス
ト装置を示す。これらの情報については後述する。ステ
ップ(図中では「S」と記してあり、以下同様とする)
1では、監視情報を最初の副ホスト装置に送信する。
Next, the flowcharts of FIGS. 3 and 4 and FIG.
The monitoring process will be described with reference to FIG. In FIG. 5, a, b, and c are monitoring information, monitoring answer information, and
It is the monitoring request information, and the subscript indicates the monitoring target host device. These pieces of information will be described later. Step (indicated as "S" in the figure, and so on)
In 1, the monitoring information is transmitted to the first secondary host device.

【0016】尚、監視情報とは、次のホスト装置に対し
て送信される情報であり、次のホスト装置の指定は、監
視情報内に設定されている。また監視情報により指定さ
れたホスト装置は、監視情報を受信することにより、次
のホスト装置の監視を開始する。例えば図5において、
ホスト装置2が最初の副ホスト装置であり、監視情報a
2 がホスト装置1からホスト装置2に送信される。この
ステップ1が主装置の監視情報送信手段に相当する。
The monitoring information is the information for the next host device.
The following host device designation is
It is set in the visual information. Also specified by monitoring information
The received host device receives the monitoring information and
Monitoring of the host device of is started. For example, in FIG.
The host device 2 is the first secondary host device, and the monitoring information a
2Is transmitted from the host device 1 to the host device 2. this
Step 1 corresponds to the monitoring information transmitting means of the main device.

【0017】ホスト装置2では、監視情報a2 を受信し
た時、図4のステップ11→12に進み、監視情報を送信し
た装置であるホスト装置1に対し、監視アンサ情報b2
を返送する。ここで監視アンサ情報とは、監視情報を受
信したことを示す情報である。ホスト装置1では、ステ
ップ2において、この監視アンサ情報b2 を受信するこ
とによりホスト装置2が通信可能であると判定し、ホス
ト装置2に対する監視を終了させてステップ3に進む。
When the host device 2 receives the monitoring information a 2 , it proceeds to steps 11 → 12 in FIG. 4 and sends the monitoring answer information b 2 to the host device 1 which is the device that transmitted the monitoring information.
Will be returned. Here, the monitoring answer information is information indicating that the monitoring information has been received. In step 2, the host device 1 determines that the host device 2 is communicable by receiving this monitoring answer information b 2 , terminates monitoring of the host device 2, and proceeds to step 3.

【0018】尚、ホスト装置1におけるステップ2が主
装置の監視手段に、ホスト装置2におけるステップ12が
副装置の監視アンサ情報送信手段に相当する。ホスト装
置2では、ステップ13において、次のホスト装置3に対
して監視情報a3 を送信する。このステップ13が副装置
の監視情報送信手段に相当する。ステップ14では、監視
情報a3 を送信したタイミングを起点として、次のホス
ト装置3から監視アンサ情報が受信されることを監視す
る。
The step 2 in the host device 1 corresponds to the monitoring means of the main device, and the step 12 in the host device 2 corresponds to the monitoring answer information transmitting means of the sub device. In step 13, the host device 2 transmits the monitoring information a 3 to the next host device 3. This step 13 corresponds to the monitoring information transmitting means of the sub device. In step 14, the reception of the monitoring answer information from the next host device 3 is monitored starting from the timing of transmitting the monitoring information a 3 .

【0019】そしてホスト装置3から監視アンサ情報が
所定時間内に返送されてきた時には、ホスト装置3は通
信可能であると判定され、ホスト装置3に対する監視を
終了する。このようにしてホスト装置1〜nでは、順
次、次のホスト装置を監視対象として監視処理が行われ
る。
When the monitoring answer information is returned from the host device 3 within a predetermined time, it is determined that the host device 3 can communicate and the monitoring of the host device 3 is terminated. In this way, the host devices 1 to n sequentially perform the monitoring process with the next host device as the monitoring target.

【0020】そしてホスト装置1では、ステップ4にお
いて、最後の副装置であるホスト装置nから、自装置に
対する監視情報を受信した時、各ホスト装置の監視が一
巡したと判断し、ステップ5に進む。次に例えば図5に
示すように、ホスト装置(n−3)からホスト装置(n
−2)に監視情報an-2 を送信しても、ホスト装置(n
−2)から監視アンサ情報が返送されない場合、ホスト
装置(n−3)では、ホスト装置(n−2)が通信不可
能であると判定し、監視要求情報cn-2 をホスト装置1
に送信する(ステップ15)。このステップ15が監視要求
情報送信手段に相当する。
In step 4, when the host device 1 receives the monitoring information for the own device from the host device n, which is the last sub device, in step 4, it is determined that the monitoring of each host device has completed, and the process proceeds to step 5. . Next, as shown in FIG. 5, for example, from the host device (n-3) to the host device (n
-2), even if the monitoring information a n-2 is transmitted to the host device (n
-2) does not return the monitoring answer information, the host device (n-3) determines that the host device (n-2) cannot communicate, and sends the monitoring request information c n-2 to the host device 1
(Step 15). This step 15 corresponds to the monitoring request information transmitting means.

【0021】ホスト装置1では、この監視要求情報c
n-2 を受信すると、その次のホスト装置(n−1)に監
視情報an-1 を再送信する(ステップ3→6)。これに
より、監視情報an-1 を受信したホスト装置(n−1)
では、ホスト装置nを監視対象として図4の監視処理ル
ーチンが実行される。尚、もし監視情報を再送信したホ
スト装置が最後のホスト装置nであった時には、ステッ
プ7→5に進み、前述した処理が行われる。
In the host device 1, this monitoring request information c
When n-2 is received, the monitoring information a n-1 is retransmitted to the next host device (n-1) (step 3 → 6). As a result, the host device (n-1) that has received the monitoring information a n-1
Then, the monitoring processing routine of FIG. 4 is executed with the host device n as the monitoring target. If the host device that has retransmitted the monitoring information is the last host device n, the process proceeds to steps 7 → 5 and the above-described processing is performed.

【0022】ステップ5では、すべての副装置について
通信可能/不可能を判断する。図5の例では、ホスト装
置(n−3)から監視要求情報cn-2 を受信したので、
ホスト装置(n−2)が通信不可であると判断する。ま
た各ホスト装置の監視が一巡した時に、監視要求情報を
受信しなかった場合には、すべての装置が通信可能であ
ると判断する。このステップ5が判定手段に相当する。
In step 5, it is judged whether communication is possible or not for all the sub devices. In the example of FIG. 5, since the monitoring request information cn -2 is received from the host device (n-3),
It is determined that the host device (n-2) cannot communicate. Further, when the monitoring request information is not received when the monitoring of each host device has completed one cycle, it is determined that all the devices can communicate. This step 5 corresponds to the determination means.

【0023】かかる構成によれば、次のホスト装置に監
視情報を送信し、監視アンサ情報の受信の有無を検知す
る監視処理を、予め設定された監視順序にしたがって主
ホスト装置1から始め、一巡して主ホスト装置1が監視
情報を受信するまで順次、実行し、通信不可能であるホ
スト装置があった時には、ホスト装置1に監視要求情報
を送信して監視処理を再開させることにより、従来、主
ホスト装置1で実施していた機能の一部が副ホスト装置
で行われるようになり、各々の副ホスト装置の監視を実
行する際の主ホスト装置1における情報送受信数が減少
し、主ホスト装置1の処理負荷が軽減される。
According to this configuration, the monitoring process for transmitting the monitoring information to the next host device and detecting the presence or absence of the reception of the monitoring answer information is started from the main host device 1 according to a preset monitoring order, and the process is completed. Then, the main host device 1 sequentially executes the process until it receives the monitor information, and when there is a host device that cannot communicate with the host device 1, the monitor request information is transmitted to the host device 1 to restart the monitor process. , Some of the functions performed by the primary host device 1 are now performed by the secondary host device, and the number of information transmissions and receptions in the primary host device 1 at the time of performing monitoring of each secondary host device is reduced. The processing load on the host device 1 is reduced.

【0024】また各ホスト装置で一回の監視処理を行う
ことにより、すべてのホスト装置の監視を行えるように
なる。
Further, by performing the monitoring process once in each host device, it becomes possible to monitor all the host devices.

【0025】[0025]

【発明の効果】以上説明したように本発明によれば、次
の副装置を監視対象として監視情報を送信し、監視アン
サ情報の受信の有無を検知する監視処理を、予め設定さ
れた監視順序にしたがって主装置から始め、主装置が監
視情報を受信するようになるまで順次、実行し、通信不
可能である副装置があった時には、主装置に監視要求情
報を送信して監視処理を再開させることにより、各々の
副装置の監視を実行する際の主装置における情報送受信
数が減少し、主装置の処理負荷が軽減される。
As described above, according to the present invention, the monitoring process for transmitting the monitoring information to the next sub-device as a monitoring target and detecting the presence or absence of the monitoring answer information is performed in a preset monitoring order. According to the above, it starts from the main device, and sequentially executes until the main device receives the monitoring information, and when there is a sub device that cannot communicate, sends the monitoring request information to the main device and restarts the monitoring process. By doing so, the number of information transmissions and receptions in the main device when the monitoring of each sub device is executed is reduced, and the processing load of the main device is reduced.

【0026】また主装置、各副装置で一回の監視処理を
行うことにより、すべての副装置の監視を行えるように
なる。
Further, by performing the monitoring process once in the main device and each sub device, it becomes possible to monitor all the sub devices.

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

【図1】本発明の構成を示す構成図。FIG. 1 is a configuration diagram showing a configuration of the present invention.

【図2】本発明の一実施例の構成図。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】図2の主ホスト装置における監視処理を示すフ
ローチャート。
FIG. 3 is a flowchart showing a monitoring process in the main host device of FIG.

【図4】図2の副ホスト装置における監視処理を示すフ
ローチャート。
4 is a flowchart showing a monitoring process in the secondary host device of FIG.

【図5】図2の監視処理における説明図。FIG. 5 is an explanatory diagram of the monitoring process of FIG.

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

1 主ホスト装置 2〜n 副ホスト装置 D 通信回線 1 Main host device 2 to n Sub host device D Communication line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】通信回線に接続された複数の装置が、相互
に通信可能であるか否かを監視する通信回線で接続され
る装置の監視装置において、 所定の1つの装置を主装置とし、他の複数の装置を副装
置として、 前記主装置は、 前記主装置から全ての副装置を一巡して主装置に戻るま
での副装置の監視順序を予め設定する順序設定手段と、 前記監視順序で最初の副装置に監視情報を送信する監視
情報送信手段と、 該監視情報に応答して最初の副装置から所定時間内に監
視アンサ情報が返信された時、前記副装置は通信可能で
あると判定し、監視を終了させる監視手段と、 副装置からの監視要求情報を受信した時、監視要求情報
を送信した副装置から1つおいて次の副装置に監視情報
を再送信する監視情報再送信手段と、 自装置に対する監視情報を受信した時、又は監視情報を
再送信した副装置が監視順序で最後の装置であった時、
一連の監視結果に基づいてすべての副装置の通信可能/
不可能を判定結果とする判定手段と、 を備えて構成され、 前記副装置は、 前記監視順序にしたがい、前の装置から監視情報の入力
があった時、次の装置に監視情報を送信する監視情報送
信手段と、 該監視情報を受信した時、監視情報を送信した装置に対
し、監視アンサ情報を送信する監視アンサ情報送信手段
と、 次の装置に送信した監視情報に応答して当該次の装置か
らの監視アンサ情報を所定時間内に受信した時には、当
該次の装置は通信可能であると判定し、次の装置に対す
る監視処理を終了させる監視手段と、 次の装置に送信した監視情報に応答して当該次の装置か
らの監視アンサ情報が所定時間内に受信しない時には、
当該次の装置が通信不可能であると判定して前記主装置
に監視を再開することを要求する前記監視要求情報を送
信する監視要求情報送信手段と、 を備えて構成されたことを特徴とする通信回線で接続さ
れる装置の監視装置。
1. A monitoring device for a device connected by a communication line for monitoring whether or not a plurality of devices connected to the communication line can communicate with each other, wherein a predetermined one device is a main device. A plurality of other devices as sub-devices, the main device, an order setting means for presetting a monitoring order of the sub-devices from the main device through all the sub-devices and returning to the main device; And a monitoring information transmitting means for transmitting the monitoring information to the first sub device, and when the monitoring answer information is returned from the first sub device within a predetermined time in response to the monitoring information, the sub device can communicate. And a monitoring means for terminating the monitoring and monitoring information for retransmitting the monitoring information to the next sub device from the sub device that sent the monitoring request information when receiving the monitoring request information from the sub device Re-transmission means and monitoring information for own device When receiving a report or when the secondary device that retransmitted the monitoring information was the last device in the monitoring order,
All sub devices can communicate based on a series of monitoring results /
The sub device transmits the monitor information to the next device when the monitor information is input from the previous device according to the monitoring order according to the monitoring order. A monitoring information transmitting unit, a monitoring answer information transmitting unit that transmits monitoring answer information to the device that has transmitted the monitoring information when the monitoring information is received, and a monitoring answer information transmitting unit that responds to the monitoring information transmitted to the next device. When the monitoring answer information from the device is received within a predetermined time, it is determined that the next device can communicate, and the monitoring means that terminates the monitoring process for the next device and the monitoring information transmitted to the next device. In response to the monitoring answer information from the next device is not received within a predetermined time,
A monitoring request information transmitting unit that transmits the monitoring request information requesting the main device to restart monitoring when it is determined that the next device cannot communicate with the main device; Monitoring device for devices connected by a communication line.
JP24279993A 1993-09-29 1993-09-29 Monitoring device for devices connected by communication line Expired - Fee Related JP3205823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24279993A JP3205823B2 (en) 1993-09-29 1993-09-29 Monitoring device for devices connected by communication line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24279993A JP3205823B2 (en) 1993-09-29 1993-09-29 Monitoring device for devices connected by communication line

Publications (2)

Publication Number Publication Date
JPH07107109A true JPH07107109A (en) 1995-04-21
JP3205823B2 JP3205823B2 (en) 2001-09-04

Family

ID=17094465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24279993A Expired - Fee Related JP3205823B2 (en) 1993-09-29 1993-09-29 Monitoring device for devices connected by communication line

Country Status (1)

Country Link
JP (1) JP3205823B2 (en)

Also Published As

Publication number Publication date
JP3205823B2 (en) 2001-09-04

Similar Documents

Publication Publication Date Title
CN110311847B (en) Batch data transmission method and device
JP3115451B2 (en) Communication network
JPH037171B2 (en)
JP3205823B2 (en) Monitoring device for devices connected by communication line
CN110392423B (en) Data transmission method, system and equipment
JP3261589B2 (en) Communication control device
JPS5810899B2 (en) Unidirectional broadcast communication method
JPH11284642A (en) Data transmission system, polling method, and polling frequency setting method
JP2501367B2 (en) Ring type local area network network management device
JP2750934B2 (en) Communication method in multi-connection
JPH11252073A (en) Packet communication system
JPH09130382A (en) Polling communication method
JPH0234500B2 (en)
JPH02114737A (en) Multiple address communication method
JPH0420143A (en) Multi-address communication replay system and its circuit
CN115379585A (en) Solution method of competition conflict, narrow-band Internet of things equipment and network equipment
JP2005086398A (en) Information transmission equipment and method
JPH07120288B2 (en) Redundant message detection processing method of data processing device
JPH07131467A (en) Polling resending device
JPS6253527A (en) Optical calling system in mobile radio system
JPH0435232A (en) Radio packet communication reply confirmation system
JPH0383432A (en) Communication equipment for private communication network
JPH01212140A (en) Multi-address response control system in local area network
JPH0492541A (en) Delay system for information receiving time of communication protocol
JPH066363A (en) Data transmission method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees