JP3960607B2 - Relay device, message transmission method, and message transmission program - Google Patents
Relay device, message transmission method, and message transmission program Download PDFInfo
- Publication number
- JP3960607B2 JP3960607B2 JP2003342543A JP2003342543A JP3960607B2 JP 3960607 B2 JP3960607 B2 JP 3960607B2 JP 2003342543 A JP2003342543 A JP 2003342543A JP 2003342543 A JP2003342543 A JP 2003342543A JP 3960607 B2 JP3960607 B2 JP 3960607B2
- Authority
- JP
- Japan
- Prior art keywords
- notification
- communication device
- communication
- packet
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Description
本発明は、ある通信機器と他の通信機器の間の通信を中継する中継装置に関する。特に、中継装置に接続された通信機器の状態を監視し他の通信機器に通知する中継装置に関する。 The present invention relates to a relay device that relays communication between a communication device and another communication device. In particular, the present invention relates to a relay device that monitors the status of communication devices connected to the relay device and notifies other communication devices.
ネットワークに接続された通信機器間で相互に情報を提供し合うUPnP(Universal Plug and Play)技術や、家電や設備の制御を目的として規定されたECHONET(R)規格に沿った通信機器の普及が見込まれている。このような技術を用いると、通信機器のネットワークへの接続が自動的に行えるようになる。 The spread of communication equipment in accordance with the UPnP (Universal Plug and Play) technology that provides information between communication devices connected to the network and the ECHONET (R) standard defined for the purpose of controlling home appliances and equipment Expected. When such a technique is used, the communication device can be automatically connected to the network.
一方、あるネットワークに接続したこれらの通信機器が離脱をするとき、予め離脱する旨を通信相手に通知すれば問題なく離脱できる。しかしながら携帯型の通信機器などは移動しながら利用される場合が多く、移動先ごとに接続先のネットワークを変更しなければならなくなる。特に通信媒体に無線を用いる場合には現在接続しているネットワークから切断されてしまうといった事態が予め予測できないことがある。この通信機器と通信中の機器は、このような移動に伴う突然の切断や電源断などの停止による切断があると応答があるまで所定の時間待ち、それでも応答がないとき(タイムアウト)はネットワークから離脱したと判断していた(特許文献1参照)。
ネットワークを介して遠隔地から任意の通信機器の生存確認を行う場合、タイムアウトを前提とした通信機器の生存確認方法を取るのが一般的だが、この方法は常に確認対象の機器に確認信号を送信し、その確認信号に対する応答があることをもって生存を判断している。よって切断したことを迅速に把握したい場合は、この確認信号を頻繁に送信する必要がある。しかしながら本来の通信とは関係のない確認信号のやり取りが増加すると、これを処理する確認対象の機器の負担が増え、さらにはネットワークの帯域を無駄に消費することとなる。 When checking the existence of any communication device from a remote location via a network, it is common to use a method for checking the existence of a communication device based on a timeout, but this method always sends a confirmation signal to the device to be checked. However, the existence of a response to the confirmation signal is judged to be alive. Therefore, when it is desired to quickly grasp the disconnection, it is necessary to frequently transmit this confirmation signal. However, if the number of confirmation signal exchanges not related to the original communication increases, the burden on the device to be confirmed for processing this increases, and the network bandwidth is wasted.
また、タイムアウトを判断するための待ち時間を短くすれば切断を判定する時間が短縮されるが、逆に応答が遅いが正常な状態にある通信機器を切断したと判断してしまう危険も高くなる。 In addition, if the waiting time for determining timeout is shortened, the time for determining disconnection is shortened, but conversely, there is a high risk that it is determined that the communication device that is slow in response but disconnected is in a normal state. .
本発明は上記したような問題に鑑みてなされたもので、タイムアウトなどの検出手段を用いずに、ネットワークから切断された通信機器に対して他の通信機器が行う生存確認を迅速に行うことを目的とする。 The present invention has been made in view of the above-described problems, and promptly performs a survival check performed by another communication device on a communication device disconnected from the network without using a detection means such as a timeout. Objective.
本発明にかかる中継装置とすれば、
「第1の通信ポートから受信した第1の通信機器からの受信パケットを、当該受信パケットが示す送信先に第2の通信ポートを介して転送する転送手段と、前記第1の通信ポートの状態を監視する監視手段と、前記監視手段の監視結果から前記第1の通信機器の状態を判断する判断手段と、前記判断手段によって前記第1の通信機器が通信不能な状態にあると判断された場合にその旨を通知すべき通信機器の通知先アドレスと通知すべき通知メッセージとを含む通知登録パケットを、前記第1の通信機器から受信する通知登録受信手段と、前記通知登録パケットに含まれる通知アドレスと通知メッセージを、前記第1のポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶する通知登録記憶手段と、前記判断手段によって前記第1の通信機器が通信不能な状態にあると判断された場合に、前記通知登録記憶手段から、前記第1の通信ポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶された前記通知先アドレスと前記通知メッセージを取得し、それらを含む通知パケットを作成する作成手段と、前記作成手段により作成された前記通知パケットを、前記第2の通信ポートを介して、その通知パケットが示す宛先の通信機器に送信する送信手段とを備えたことを特徴とする中継装置。」
が提供される。
With the relay device according to the present invention,
"The packet received from the first communication device received from the first communication port, a transfer means for transferring via the second communication port to the destination to which the received packet is shown, the first communication port status Monitoring means for determining the state of the first communication device from the monitoring result of the monitoring means, and the determination means determines that the first communication device is in a state incapable of communication. A notification registration receiving unit that receives from the first communication device a notification registration packet that includes a notification destination address of the communication device that should be notified in this case and a notification message to be notified, and is included in the notification registration packet A notification registration storing means for storing a notification address and a notification message in association with at least one of the first port and the first communication device; and the determination means. When it is determined that the first communication device is in a state where communication is not possible, the notification registration storage unit stores the information in association with at least one of the first communication port and the first communication device. A notification unit that acquires a notification destination address and the notification message and generates a notification packet including the notification message, and the notification packet generated by the generation unit via the second communication port A relay device comprising a transmission means for transmitting to a destination communication device. "
Is provided.
本発明にかかるメッセージ送信方法を実施すれば、
「第1の通信ポートから受信した第1の通信機器からの受信パケットを、当該受信パケットが示す送信先に第2の通信ポートを介して転送する中継装置におけるメッセージ送信方法であって、前記第1の通信ポートの状態を監視し、この監視結果から前記第1の通信機器の状態を判断し、前記判断によって前記第1の通信機器が通信不能な状態にあると判断された場合にその旨を通知すべき通信機器の通知先アドレスと通知すべき通知メッセージとを含む通知登録パケットを、前記第1の通信機器から受信し、前記通知登録パケットに含まれる通知アドレスと通知メッセージを、前記第1のポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶し、前記判断によって前記第1の通信機器が通信不能な状態にあると判断された場合に、前記第1の通信ポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶された前記通知先アドレスと前記通知メッセージを含む通知パケットを作成し、前記作成された前記通知パケットを、前記第2の通信ポートを介して、その通知パケットが示す宛先の通信機器に送信すること」を特徴とする中継装置が提供される。
If the message transmission method according to the present invention is implemented,
“A message transmission method in a relay apparatus that transfers a received packet from a first communication device received from a first communication port to a transmission destination indicated by the received packet via a second communication port,” The state of the first communication device is monitored, the state of the first communication device is determined from the monitoring result, and if it is determined by the determination that the first communication device is in a state where communication is not possible, that effect A notification registration packet including a notification destination address of a communication device to be notified of and a notification message to be notified is received from the first communication device, and a notification address and a notification message included in the notification registration packet are received from the first communication device. 1 port or at least one of the first communication device and stored, and it is determined by the determination that the first communication device is in a communication disabled state. A notification packet including the notification destination address and the notification message stored in association with at least one of the first communication port and the first communication device, and the generated notification packet And a transmission device that transmits to the destination communication device indicated by the notification packet via the second communication port ”.
また、本発明にかかる中継装置を実現するプログラムが提供される。 A program for realizing the relay device according to the present invention is also provided.
ネットワークから切断された通信機器に対する生存確認処理を迅速化することができる。 It is possible to speed up the survival confirmation process for communication devices disconnected from the network.
図1に本発明にかかる中継システムの一例を示す。図1には、モバイルPC101、サーバ102、ネットワーク103および中継装置104が示されている。
FIG. 1 shows an example of a relay system according to the present invention. FIG. 1 shows a mobile PC 101, a
モバイルPC101は、移動が容易な携帯端末であり、中継装置104を介してネットワーク103と接続されている。モバイルPC101と中継装置104とは有線または無線によって接続されている。本実施形態では有線であればたとえばEthernet(R)が考えられるが、これのみに限られることはない。無線であればたとえば、802.11a/b/gといった無線LANや近距離無線通信に有効なBluetooth(TM)、または赤外線通信規格であるIrDAなどの通信媒体であっても実現可能である。
The mobile PC 101 is a portable terminal that can be easily moved, and is connected to the
サーバ102は、モバイルPC101と通信して予め定められたサービスを提供する機能を有する。たとえば、ネットワークを介して電子ファイルの記憶・読み出しが可能なファイルサーバや、メールサーバ、ホームバンキングサーバなどあらゆるものが考えられる。
The
ネットワーク103は、サーバ102と中継装置104が接続されたネットワークである。ネットワーク103は有線、無線を問わずどのようなネットワークから構成されていても良い。
The
中継装置104は、モバイルPC101とネットワーク103との間の通信を中継する機能を有する。中継装置104は、たとえばハブやアクセスポイントのような集線装置であればモバイルPC101の通信パケットを集約しネットワーク103に流す機能を有する。あるいはネットワーク間の通信パケットを転送するようなルータの機能を備えていても良いし、ブリッジ、ファイアーウォール、ゲートウェイのように少なくとも通信パケットを転送する機能を備えた装置である。
The
図2は、本発明の好ましい実施形態としての中継装置104のブロック構成の一例を示す図である。図2には、監視側通信処理部201、接続監視部202、転送部203、通信処理部204、メッセージ受信部205、メッセージ記憶部206およびメッセージ生成部207が示されている。
FIG. 2 is a diagram illustrating an example of a block configuration of the
監視側通信処理部201は、中継装置104に接続されたモバイルPC101のような通
信機器と接続する機能を有する。監視側通信処理部201はモバイルPC101のような通信機器からパケットを受信すると、転送部203に受け渡す。逆に転送部203を介してパケットを受け取ると、モバイルPC101にそのパケットを送信する。監視側通信処理部201はモバイルPC101のような通信機器が直接接続される部分であり、OSI参照モデルにおける、接続された通信機器の物理層やデータリンク層のやり取りから機器の接続状態を取得する機能も有している。
The monitoring-side
接続監視部202は、監視側通信処理部201からモバイルPC101のような通信機器の接続状況を取得する。接続状況とはたとえば、有線ネットワークで接続された通信機器であれば中継装置104にLANケーブル等で接続されているかどうか、無線ネットワークであれば電波が到達する範囲内に存在するかどうかなどを指す。ある通信機器について判別した結果存在していないと判断したときは、メッセージ作成部207にその旨通知する。 転送部203は、監視側通信処理部201から受信したパケットの内容を判断しモバイルPC101が他の通信機器に対して送信したものであれば通信処理部204に受け渡し、それ以外のパケットはメッセージ処理部205へ受け渡す。
The
通信処理部204は、ネットワーク103と接続する機能を有する。たとえばモバイルPC101が送信した通信パケットを転送部203を介して受け取ったときは、このパケットをネットワーク103側に送信する。逆にネットワーク103側からモバイルPC101を宛先とした通信パケットを受信した時は転送部203に受け渡す。
The
メッセージ受信部205は、転送部203から渡される転送すべき通信パケット以外のパケットを処理して所定の情報を抽出する機能を有する。ここで抽出した情報は、次のメッセージ記憶部206に記憶される。
The
メッセージ記憶部206は、メッセージ受信部205が抽出した情報を格納する機能を有する。記憶した情報はメッセージ作成部207からの求めに応じて読み出される。
The
メッセージ作成部207は、接続監視部202からある通信機器が存在しなくなった旨の通知を受けると、メッセージ記憶部206に格納したその通信機器に対応する情報を取得して、その通信機器が存在しないことを伝えるメッセージを作成する。作成したメッセージは、メッセージ記憶部206に格納された情報から送信先のアドレスを取得して、通信処理部204を介して送信先の通信機器に送信される。
When the
図3は、モバイルPC101のような通信機器が送信する通知登録パケットの内容の一例を示したものである。通知登録パケットは監視側通信処理部201を介して転送部203に渡される。転送部203はこのパケットを通知登録パケットであると判断したら、メッセージ受信部205に引き渡す。するとメッセージ受信部205は通知登録パケットの内容から必要な情報を抽出してメッセージ記憶部206に記憶する。通知登録パケットは、モバイルPC101のような通信機器が現在接続しているネットワーク、たとえばネットワーク103から切断されたときに、たとえばこれを送信した通信機器の通信相手に対して中継装置104が送信する情報を含むパケットである。
FIG. 3 shows an example of the contents of a notification registration packet transmitted by a communication device such as the mobile PC 101. The notification registration packet is transferred to the
通知登録パケットは、送信先アドレス301、設定パラメータ302、通知先アドレス303および通知メッセージ304のフィールドから構成されている。送信先アドレス301は、この通知登録パケットの送信先を示すアドレスである。本発明にかかる中継システムでは、このパケットを通知登録パケットとして使用する場合には一般に使用されるアドレス体系とは別の特殊なアドレスを記載する。中継装置104自身がネットワーク内で決まったアドレスを有している場合は送信先アドレスとして指定することができるが、たとえばハブやアクセスポイントのようなものではアドレスを持っていないことも考えられ
る。
The notification registration packet includes fields of a
しかしながら中継装置104は通知登録パケットを送信する通信機器のパケットを直接受けて転送するものであるから、実際には送信先アドレスはいずれの値が記載されていても他の通信には問題とはならない。なぜならネットワーク103上に送信すれば問題となるアドレスであっても、通常の通信ではありえない特定のアドレスを定めて、このアドレスが通信機器より送信されて来たらそのパケットはネットワーク103側には中継せず通知登録パケットであると判断して処理をすればよい。
However, since the
設定パラメータ302は、中継装置104に通知登録パケットの情報を登録するのと同時に付加的な設定を行うためのものである。たとえばある通信機器が存在しないことを伝える通知パケットを繰り返し送信する場合の送信回数を設定するなどが考えられる。
The setting
通知先アドレス303は、接続監視部202がある通信機器について切断されたと判断したときに送信する通知パケットの送信先を示す。通常は通知登録パケットを送信した通信機器の通信相手のアドレスが記載されるのが一般的であると思われるが、接続していたネットワークからの切断処理を担う別の通信機器がある場合には、この別の通信機器のアドレスが記載されることも考えられる。
The
通知メッセージ304は、通知パケットに記載するメッセージが格納されている。通知パケットによりこのメッセージが届けられた通信機器が、少なくともこのメッセージを登録した通信機器が通信不能になったと認識できる内容とすべきである。上記の目的を達成し得る限り、どのような内容のメッセージを記載しても良い。
The
図4は、本発明にかかる中継装置104のモバイルPC101のような通信機器からパケットを受信したときの処理フローの一例を示す図である。
FIG. 4 is a diagram showing an example of a processing flow when a packet is received from a communication device such as the
まず接続監視部202はメッセージ記憶部206に監視すべき通信機器の情報が記憶されているかどうかを調べることで、中継装置104が監視すべき通信機器があるかどうかを判断する(ステップ401)。監視すべき通信機器がない場合は、次にモバイルPC101からパケットを受信したかどうかを判断する(ステップ402)。受信したパケットがなければ1回の処理を終了する。
First, the
パケットを受信していた場合は、転送部203は監視側通信処理部201で受信したパケットの送信先アドレス301が特殊アドレスかどうかを判断する(ステップ403)。特殊なアドレス宛てでなければこのパケットを通信処理部204を介してネットワーク103へ送信する(ステップ404)。一方、送信アドレス301に特殊なアドレスが記載されていたときは、このパケットは通知登録パケットであると判断し(ステップ403)、メッセージ受信部205に送り通知先アドレス303と通知メッセージ304を抽出する。このとき必要であれば設定パラメータ302の値に基づいて各種の設定を行う。抽出した通知先アドレスと通知メッセージはメッセージ記憶部206に送られて、その通知登録パケットを送信した通信機器の通知メッセージの情報として記憶される(ステップ405)。この上記処理フローは通知登録パケットを送信した通信機器ごと、あるいは接続ポートが複数ある場合には通信機器が接続されたポートごとに行われる。
If a packet has been received, the
先のステップ401で監視中の通信機器があるときは、メッセージ記憶部206に記憶された通知メッセージの情報から監視する通信機器ごとに、接続されているかどうかを判断する(ステップ406)。判断に際して、有線ネットワークの場合は、たとえば中継装置104が備える接続ポートにかかる物理層の電圧や流れる電流を計測することによってそのポートに接続された通信機器の存在判別が可能である。無線ネットワークの場合は、
たとえばデータリンク層までの情報を取得すれば任意の通信機器が存在するかどうかを判別することができる。いずれにしてもタイムアウト方式の生存確認で利用されるネットワーク層よりも、物理層やデータリンク層といった下位層で検出する方法とすることで迅速な存在確認が可能となる。ここでいうような下位層で存在確認を行うためには、本発明にかかる中継装置のような監視対象の通信機器により近い通信機器で判断をする必要がある。
When there is a communication device being monitored in the
For example, if information up to the data link layer is acquired, it can be determined whether or not any communication device exists. In any case, it is possible to quickly confirm existence by using a method of detecting in lower layers such as the physical layer and the data link layer rather than the network layer used in the survival confirmation of the timeout method. In order to confirm the presence in the lower layer as described here, it is necessary to make a determination with a communication device closer to the monitored communication device such as the relay device according to the present invention.
ステップ406で接続していると判断したときは、監視をしていないときのフローに戻り、ステップ402から処理が継続される。
If it is determined in
ステップ406で切断されたと判断したとき、接続監視部202は判断した通信機器について、メッセージ記憶部206に記憶されたメッセージ情報をもとに通知パケットを作成するようメッセージ作成部207に通知する。この通知を受けたメッセージ作成部207は生成した通知パケットを、通信処理部204を介して送信する(ステップ407)。このときの通知パケットの送信先は、この通知パケットの作成に使われた通知メッセージ304とともに記憶された通知先アドレス303で示される通信機器である。
When it is determined in
通知パケットを送信すると、切断が確認された通信機器は監視する必要がなくなるため、以後の監視を中止する(ステップ408)。 When the notification packet is transmitted, since it is not necessary to monitor the communication device confirmed to be disconnected, the subsequent monitoring is stopped (step 408).
上記したように構成すると、生存確認を行う通信機器が任意の通信機器の生存確認を行うにはネットワーク層を利用したタイムアウトにより判定しなければならなかったのが、任意の通信機器が直接接続された中継装置の物理層やデータリンク層の状態を判断することで生存確認ができる。よって生存確認に要する時間を短縮し、さらに生存確認を頻繁に行うことによる通信機器の負荷およびネットワークのトラフィックの増加を抑制することができる。また、切断されたことを示す通知メッセージを送ることで、任意の通信機器のネットワークからの切断後にこの通信相手にすでにネットワークより離脱したことを通知し、通信の終了を適法に処理させることができる。 When configured as described above, a communication device that performs a survival check must make a determination based on a timeout using the network layer in order to check the existence of any communication device. The existence of the relay device can be confirmed by judging the state of the physical layer and the data link layer. Therefore, it is possible to reduce the time required for the survival confirmation and further suppress the increase in the load of the communication device and the network traffic due to the frequent survival confirmation. In addition, by sending a notification message indicating that the communication has been disconnected, it is possible to notify the communication partner that the communication partner has already disconnected from the network after disconnection from the network, and to properly process the end of communication. .
なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.
101:モバイルPC
102:サーバ
103:ネットワーク
104:中継装置
202:接続監視部
205:メッセージ受信部
206:メッセージ記憶部
207:メッセージ作成部
101: Mobile PC
102: Server 103: Network 104: Relay device 202: Connection monitoring unit 205: Message reception unit 206: Message storage unit 207: Message creation unit
Claims (8)
前記第1の通信ポートの状態を監視する監視手段と、
前記監視手段の監視結果から前記第1の通信機器の状態を判断する判断手段と、
前記判断手段によって前記第1の通信機器が通信不能な状態にあると判断された場合にその旨を通知すべき通信機器の通知先アドレスと通知すべき通知メッセージとを含む通知登録パケットを、前記第1の通信機器から受信する通知登録受信手段と、
前記通知登録パケットに含まれる通知アドレスと通知メッセージを、前記第1のポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶する通知登録記憶手段と、
前記判断手段によって前記第1の通信機器が通信不能な状態にあると判断された場合に、前記通知登録記憶手段から、前記第1の通信ポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶された前記通知先アドレスと前記通知メッセージを取得し、それらを含む通知パケットを作成する作成手段と、
前記作成手段により作成された前記通知パケットを、前記第2の通信ポートを介して、その通知パケットが示す宛先の通信機器に送信する送信手段と
を備えたことを特徴とする中継装置。 Transfer means for transferring a received packet from the first communication device received from the first communication port to a transmission destination indicated by the received packet via the second communication port;
Monitoring means for monitoring the state of the first communication port;
Determination means for determining a state of the first communication device from a monitoring result of the monitoring means;
A notification registration packet including a notification destination address of a communication device to be notified to that effect and a notification message to be notified when it is determined by the determination means that the first communication device is in a communication disabled state, Notification registration receiving means for receiving from the first communication device;
A notification registration storage means for storing a notification address and a notification message included in the notification registration packet in association with at least one of the first port and the first communication device;
When the determination unit determines that the first communication device is in a state where communication is impossible, the notification registration storage unit associates the first communication device with at least one of the first communication port and the first communication device. Creating means for acquiring the stored notification destination address and the notification message and creating a notification packet including them;
A relay apparatus comprising: a transmission unit configured to transmit the notification packet generated by the generation unit to a destination communication device indicated by the notification packet via the second communication port .
前記通知登録受信手段は、該特殊アドレスを宛先アドレスに持つパケットを受信すると当該パケットを前記通知登録パケットとして受信する
ことを特徴とする請求項1に記載の中継装置。 In the destination address as the transmission destination of the notification registration packet, a special address different from the address given to a normal communication device connected to the network is described,
The notification registration receiving means, a relay device according to claim 1, wherein the receiving receives a packet having the special address to the destination address the packet as the notification registration packet.
前記第1の通信ポートの状態を監視し、
この監視結果から前記第1の通信機器の状態を判断し、
前記判断によって前記第1の通信機器が通信不能な状態にあると判断された場合にその旨を通知すべき通信機器の通知先アドレスと通知すべき通知メッセージとを含む通知登録パケットを、前記第1の通信機器から受信し、
前記通知登録パケットに含まれる通知アドレスと通知メッセージを、前記第1のポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶し、
前記判断によって前記第1の通信機器が通信不能な状態にあると判断された場合に、前記第1の通信ポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶された前記通知先アドレスと前記通知メッセージを含む通知パケットを作成し、
前記作成された前記通知パケットを、前記第2の通信ポートを介して、その通知パケットが示す宛先の通信機器に送信する
ことを特徴とするメッセージ送信方法。 A message transmission method in a relay device for transferring a received packet from a first communication device received from a first communication port to a transmission destination indicated by the received packet via a second communication port,
Monitoring the state of the first communication port;
Judging the status of the first communication device from the monitoring result,
When it is determined by the determination that the first communication device is in a communication disabled state, a notification registration packet including a notification destination address of a communication device to be notified to that effect and a notification message to be notified 1 from the communication device,
Storing a notification address and a notification message included in the notification registration packet in association with at least one of the first port and the first communication device;
The notification destination address stored in association with at least one of the first communication port and the first communication device when the determination determines that the first communication device is in a state where communication is impossible. Creating a notification packet including the notification message;
The message transmission method, wherein the created notification packet is transmitted to a destination communication device indicated by the notification packet via the second communication port .
前記第1の通信ポートの状態を監視するステップと、
この監視結果から前記第1の通信機器の状態を判断するステップと、
前記判断によって前記第1の通信機器が通信不能な状態にあると判断された場合にその旨を通知すべき通信機器の通知先アドレスと通知すべき通知メッセージとを含む通知登録パケットを、前記第1の通信機器から受信する通知登録受信ステップと、
前記通知登録パケットに含まれる通知アドレスと通知メッセージを、前記第1のポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶するステップと、
前記判断によって前記第1の通信機器が通信不能な状態にあると判断された場合に、前記第1の通信ポートもしくは前記第1の通信機器の少なくともどちらかと関連付けて記憶された前記通知先アドレスと前記通知メッセージを含む通知パケットを作成するステップと、
前記作成された前記通知パケットを、前記第2の通信ポートを介して、その通知パケットが示す宛先の通信機器に送信するステップと
を有することを特徴とするメッセージ送信プログラム。 A program for transmitting a message in a relay device that transfers a received packet from a first communication device received from a first communication port to a transmission destination indicated by the received packet via a second communication port,
Monitoring the state of the first communication port;
Determining a state of the first communication device from the monitoring result;
When it is determined by the determination that the first communication device is in a communication disabled state, a notification registration packet including a notification destination address of a communication device to be notified to that effect and a notification message to be notified A notification registration reception step received from one communication device;
Storing a notification address and a notification message included in the notification registration packet in association with at least one of the first port and the first communication device;
The notification destination address stored in association with at least one of the first communication port and the first communication device when the determination determines that the first communication device is in a state where communication is impossible. Creating a notification packet including the notification message;
Transmitting the created notification packet to the destination communication device indicated by the notification packet via the second communication port .
前記通知登録受信ステップは、前記通知登録パケットとして受信するかどうかを判断するために該特殊アドレスを宛先アドレスに持つパケットであるかどうかを検査するステップをさらに有することを特徴とする請求項7に記載のメッセージ送信プログラム。 Wherein the destination to become the destination address of the notification registration packet describes a different special address to the address applied to the connected normal communication equipment to the network,
The notification registration receiving step, to claim 7, further comprising the step of checking whether a packet having the special address as the destination address to determine whether to receive as the notification registration packet The message sending program described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003342543A JP3960607B2 (en) | 2003-09-30 | 2003-09-30 | Relay device, message transmission method, and message transmission program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003342543A JP3960607B2 (en) | 2003-09-30 | 2003-09-30 | Relay device, message transmission method, and message transmission program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005110042A JP2005110042A (en) | 2005-04-21 |
JP3960607B2 true JP3960607B2 (en) | 2007-08-15 |
Family
ID=34536785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003342543A Expired - Fee Related JP3960607B2 (en) | 2003-09-30 | 2003-09-30 | Relay device, message transmission method, and message transmission program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3960607B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4647633B2 (en) * | 2007-03-09 | 2011-03-09 | 三菱電機株式会社 | UPnP network system |
JP2014045238A (en) | 2012-08-24 | 2014-03-13 | Fujitsu Ltd | Information processing system, relay device, information processing device and information processing method |
-
2003
- 2003-09-30 JP JP2003342543A patent/JP3960607B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005110042A (en) | 2005-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3949288B2 (en) | Gateway device and wireless terminal device | |
US8774183B2 (en) | Relay device and method for connecting client apparatus with server | |
CN108259344B (en) | Telemeasuring method and device | |
KR101271261B1 (en) | Method for detection of the activity of a device in a network of distributed stations, as well as a network station for carrying out the method | |
JP2007311975A (en) | Communication system and management device and relay device used therefor | |
JP2006013827A (en) | Packet transfer apparatus | |
JP2003110622A (en) | Connection cutting method, associated link cut reporting method, relaying apparatus, communication apparatus, switch, program and recording medium | |
JPWO2007039942A1 (en) | Terminal device, server device, and command device | |
JP5574944B2 (en) | Radio relay apparatus and radio relay method | |
CN111385822B (en) | Configuration method and controller | |
JP2002141952A (en) | Virtual network and virtual network connection system | |
CN102710495B (en) | Method and device for establishing routing information of user host computer in monitoring network | |
JP3960607B2 (en) | Relay device, message transmission method, and message transmission program | |
JP4322879B2 (en) | Connection device for communication equipment | |
JP2004194313A5 (en) | ||
JP4591338B2 (en) | Communications system | |
JP2007288725A (en) | Connection apparatus for communications equipment | |
CN115695204A (en) | Method, system and storage medium for automatically discovering network equipment | |
Cisco | Synchronous Data Link Control and Derivatives | |
JP5803718B2 (en) | Packet routing device | |
JP3634808B2 (en) | Communication control system, communication control method, relay gateway processing apparatus, and management server | |
JP2003198579A (en) | Repeater equipment, communication setting method and program | |
JP3946943B2 (en) | Bridge device and control command relay method | |
JP2006108853A (en) | Communication apparatus capable of automatic recognition of forwarding destination of packet, communication system and program | |
JP5769267B2 (en) | Wireless communication terminal, communication system, communication system control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20050415 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20050606 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061225 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070105 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070306 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070511 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070514 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 3960607 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110525 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110525 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120525 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120525 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130525 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130525 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140525 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |