JP2011060078A - File distribution system, file distribution method and monitored device - Google Patents
File distribution system, file distribution method and monitored device Download PDFInfo
- Publication number
- JP2011060078A JP2011060078A JP2009210198A JP2009210198A JP2011060078A JP 2011060078 A JP2011060078 A JP 2011060078A JP 2009210198 A JP2009210198 A JP 2009210198A JP 2009210198 A JP2009210198 A JP 2009210198A JP 2011060078 A JP2011060078 A JP 2011060078A
- Authority
- JP
- Japan
- Prior art keywords
- file
- monitored
- distribution
- monitored device
- request 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.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明はファイル配信システムに関し、特に、監視装置から被監視装置に対してファイル配信要求メッセージを送信し、このファイル配信要求メッセージを受信した被監視装置がメッセージ中で指定された配信サーバからファイルを取得するファイル配信システムに関する。 The present invention relates to a file distribution system, and in particular, a file distribution request message is transmitted from a monitoring apparatus to a monitored apparatus, and the monitored apparatus that has received the file distribution request message sends a file from a distribution server specified in the message. The present invention relates to a file distribution system to be acquired.
本発明に関連する第1の関連技術を図17に示す。図17に示されるファイル配信システムは、監視装置131とファイル配信サーバ132とが中継ネットワーク137を構成するルータ136に接続されている。また、複数の被監視装置133a'〜133d'のうち、被監視装置133a'と被監視装置133d'とは、上位接続回線135aと上位接続回線135bを通じて中継ネットワーク137に接続されている。さらに、被監視装置133a'と被監視装置133b'とは相互接続回線134aにより接続され、被監視装置133b'と被監視装置133c'とは相互接続回線134bにより接続され、被監視装置133c'と被監視装置133d'とは相互接続回線134cにより接続されている。
A first related technique relating to the present invention is shown in FIG. In the file distribution system shown in FIG. 17, a
上記の監視装置131と、ファイル配信サーバ132と、複数の被監視装置133a'〜133d'と、中継ネットワーク137とは、IP(Internet Protocol)などの標準的なネットワークプロトコルなどにより相互の接続性を確保している。
The
このようなネットワーク構成のファイル配信システムにおいて、監視装置131の制御の下に被監視装置133a'〜133d'にファイル配信を実施する場合、まず、監視装置131からそれぞれの被監視装置133a'〜133d'に対してファイル配信要求メッセージを送信する。ここで、ファイル配信要求メッセージには、配信対象となる被監視装置の識別子(被監視装置名)、配信対象ファイルの識別子(ファイル名)、ファイル配信サーバ132の識別子(配信サーバ名)が含まれている。
In the file distribution system having such a network configuration, when file distribution is performed to the monitored
監視装置131からそれぞれの被監視装置133a'〜133d'宛てに送信されたファイル配信要求メッセージは、ルータ136、中継ネットワーク137を介して、上位接続回線135aまたは上位接続回線135bの何れかの回線に送出される。どちらの回線に送出されるかは、中継ネットワーク137上の経路情報に依存する。ここでは、上位接続回線135aに送出されたものとする。
The file distribution request message transmitted from the
上位接続回線135aに送出された被監視装置133a'宛てのファイル配信要求メッセージは、被監視装置133a'で受信される。また、上位接続回線135aに送出された被監視装置133b'宛てのファイル配信要求メッセージは、被監視装置133a'で中継され、被監視装置133b'で受信される。また、上位接続回線135aに送出された被監視装置133c'宛てのファイル配信要求メッセージは、被監視装置133a'、133b'で中継され、被監視装置133c'で受信される。また、上位接続回線135aに送出された被監視装置133d'宛てのファイル配信要求メッセージは、被監視装置133a'〜133c'で中継され、被監視装置133d'で受信される。
The file delivery request message addressed to the monitored
被監視装置133a'〜133d'は、図18に示すような構成を有している。複数の外部接続ポート112a〜112eは、自装置133'を他の装置と接続するためのポートである。被監視装置133'は、外部接続ポート112から入力されたメッセージに関して、自装置を宛先とするか、あるいは自装置以外を宛先とするかを判断し、前者であれば自装置で当該メッセージを受信し、後者であれば宛先に応じた適切な外部接続ポート112に当該メッセージを転送する機能を持つ。このような機能は規格化された方式に基づくものであるため、その詳細な説明は省略する。
The monitored
また、被監視装置133'は、外部接続ポート112を介して接続されるファイル配信サーバからファイルを取得するファイル取得部115'と、取得したファイルを格納するファイル格納部117'とを備えている。
The monitored device 133 ′ includes a
自装置宛てのファイル配信メッセージを受信した被監視装置133a'は、ファイル取得部115'により、当該ファイル配信メッセージで指定されたファイル配信サーバ132に対して同メッセージで指定されたファイルの取得を要求する。このファイル取得要求は、外部接続ポートに接続された上位接続回線135a、中継ネットワーク137、ルータ136を通じてファイル配信サーバ132に届けられる。ファイル配信サーバ132は、このファイル取得要求を解析し、要求されたファイルを要求元の被監視装置133a'宛てに送信する。送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135aを通じて被監視装置133a'に届けられる。被監視装置133a'のファイル取得部115'は、受信したファイルをファイル格納部117'に格納する。
The monitored
他の被監視装置133b'〜133d'も被監視装置133a'と同様に、ファイル取得要求をファイル配信サーバ132に対して送信する。このとき、被監視装置133b'から送信されたファイル取得要求は、被監視装置133a'、上位接続回線135a、中継ネットワーク137、ルータ136を通じてファイル配信サーバ132に届けられる。また、被監視装置133c'から送信されたファイル取得要求は、被監視装置133b、133a'、上位接続回線135a、中継ネットワーク137、ルータ136を通じてファイル配信サーバ132に届けられる。被監視装置133d'から送信されたファイル取得要求は、被監視装置133c'、133b'、133a'、上位接続回線135a、中継ネットワーク137、ルータ136を通じてファイル配信サーバ132に届けられる。
Other monitored
これらのファイル取得要求を受信したファイル配信サーバ132は、要求されたファイルを要求元の被監視装置133b'〜133d'宛てに送信する。このとき、被監視装置133b'宛てに送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135a、被監視装置133a'を通じて、被監視装置133b'に届けられる。また、被監視装置133c'宛てに送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135a'、被監視装置133a'、被監視装置133b'を通じて、被監視装置133c'に届けられる。また、被監視装置133d'宛てに送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135a'、被監視装置133b'、被監視装置133c'を通じて、被監視装置133d'に届けられる。
The
他方、特許文献1に本発明に関連する第2の関連技術が示されている。第2の関連技術では、ファイル配信サーバと、転送管理サーバ(第1の関連技術における監視装置に相当)と、複数のクライアント(第1の関連技術における被監視装置に相当)とがネットワークを介して相互に接続されたシステムにおいて、転送管理サーバが、ファイルの配信元を分散する制御を実施する。具体的には、転送管理サーバは、既にファイル配信サーバにより同じファイルの配信を受けている他のクライアントが存在すれば、このクライアントを配信元に決定し、そのようなクライアントが存在しなければ、ファイル配信サーバを配信元に決定する。 On the other hand, Patent Document 1 discloses a second related technique related to the present invention. In the second related technology, a file distribution server, a transfer management server (corresponding to a monitoring device in the first related technology), and a plurality of clients (corresponding to monitored devices in the first related technology) are connected via a network. In the systems connected to each other, the transfer management server performs control to distribute the file distribution sources. Specifically, the transfer management server determines this client as a distribution source if there is another client that has already received the same file distribution by the file distribution server, and if there is no such client, The file distribution server is determined as the distribution source.
上述した第1の関連技術によれば、被監視装置133a'〜133d'の全てがファイル配信サーバ132に対してファイル取得要求を送出するため、ファイル配信サーバ132に大きな負荷がかかり、また中継ネットワーク137および上位接続回線135aに流れるデータ量が増加する。
According to the first related technology described above, since all of the monitored
他方、上述した第2の関連技術によれば、ファイルの配信元が分散するため、ファイル配信サーバの負荷を軽減することができる。しかし、この第2の関連技術を第1の関連技術に適用するためには、同じファイルを既に受信している被監視装置の有無や被監視装置の接続関係を考慮してファイルの配信元を決定する制御機能を監視装置131に実装する必要がある。
On the other hand, according to the second related technique described above, the file distribution sources are distributed, so the load on the file distribution server can be reduced. However, in order to apply the second related technology to the first related technology, the file distribution source is determined in consideration of the presence / absence of the monitored device that has already received the same file and the connection relationship of the monitored device. The control function to be determined needs to be implemented in the
本発明はこのような事情に鑑みて提案されたものであり、その目的は、ファイルの配信元を分散するためには監視装置への機能追加が必要になるという課題を解決するファイル配信システム、ファイル配信方法、被監視装置およびそのプログラムを提供することにある。 The present invention has been proposed in view of such circumstances, and the object thereof is a file distribution system that solves the problem that a function addition to a monitoring device is required in order to distribute file distribution sources, The object is to provide a file distribution method, a monitored apparatus, and a program thereof.
本発明の一形態であるファイル配信システムは、
複数の被監視装置と、
上記複数の被監視装置に対してファイル配信要求メッセージを送信する監視装置とで構成され、
上記複数の被監視装置は、他の被監視装置を経由しない経路を通じて上記監視装置と通信可能な第1の被監視装置と、他の被監視装置を経由する経路を通じて上記監視装置と通信する第2の被監視装置とで構成され、
上記第1の被監視装置は、
上記ファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備え、
上記第2の被監視装置は、
自装置宛てのファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得するファイル取得手段を備える。
A file distribution system according to one aspect of the present invention is:
A plurality of monitored devices;
And a monitoring device that transmits a file delivery request message to the plurality of monitored devices.
The plurality of monitored devices communicate with the monitoring device through a path that passes through the first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device, and through a route that passes through the other monitored device. Consisting of two monitored devices,
The first monitored device is:
File acquisition means for acquiring and storing a specified file from a specified distribution server according to the file distribution request message when the file distribution request message is received;
A message editing / re-sending unit that, when receiving a file delivery request message addressed to another monitored device, rewrites the information of the delivery server in the received file delivery request message to the information of the own device and transfers it;
When receiving a file acquisition request addressed to its own device, it comprises a file distribution means for transmitting the corresponding file stored in the own device to the request source,
The second monitored device is:
When receiving a file distribution request message addressed to its own device, the apparatus includes file acquisition means for acquiring a specified file from a specified distribution server according to the file distribution request message.
また、本発明の他の形態であるファイル配信システムは、
複数の被監視装置と、
上記複数の被監視装置に対してファイル配信要求メッセージを送信する監視装置とで構成され、
上記複数の被監視装置は、他の被監視装置を経由しない経路を通じて上記監視装置と通信可能な第1の被監視装置と、他の被監視装置を経由する経路を通じて上記監視装置と通信する第2の被監視装置とで構成され、
上記第1の被監視装置は、
上記ファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
他の被監視装置宛ての同じファイルに関する複数のファイル配信要求メッセージを受信したとき、これら複数の他の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定する再配信選定手段と、
上記再配信実行被監視装置に対して、自装置を上記ファイルの配信サーバに指定した再配信有効化メッセージを送信する再配信有効化メッセージ処理手段と、
上記他の被監視装置宛ての同じファイルに関する複数のファイル配信要求メッセージのうち、上記再配信対象被監視装置宛て以外のファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備え、
上記第2の被監視装置は、
自装置宛てのファイル配信要求メッセージおよび再配信有効化メッセージを受信したとき、該ファイル配信要求メッセージおよび再配信有効化メッセージに従い、指定された配信サーバから指定されたファイルを取得するファイル取得手段と、
自装置宛ての再配信有効化メッセージを受信したとき、該再配信有効化メッセージに従い、指定された再配信対象被監視装置宛てに、指定されたファイルの配信サーバとして自装置を指定したファイル配信要求メッセージを送信する再配信有効化メッセージ処理手段とを備える。
In addition, a file distribution system according to another aspect of the present invention is
A plurality of monitored devices;
And a monitoring device that transmits a file delivery request message to the plurality of monitored devices.
The plurality of monitored devices communicate with the monitoring device through a path that passes through the first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device, and through a route that passes through the other monitored device. Consisting of two monitored devices,
The first monitored device is:
File acquisition means for acquiring and storing a specified file from a specified distribution server according to the file distribution request message when the file distribution request message is received;
When a plurality of file delivery request messages related to the same file addressed to another monitored device are received, a redistribution execution monitored device that redistributes the file from the plurality of other monitored devices, and the redistribution Redistribution selection means for determining a redistribution target monitored device that distributes a file from an execution monitored device;
Redistribution validation message processing means for transmitting a redistribution validation message in which the device is designated as the file delivery server to the redelivery execution monitored device;
Among a plurality of file distribution request messages related to the same file addressed to the other monitored device, a message for rewriting and transferring the information of the distribution server in the file distribution request message other than the address to be monitored for redistribution to the information of the own device Editing and re-sending means;
When receiving a file acquisition request addressed to its own device, it comprises a file distribution means for transmitting the corresponding file stored in the own device to the request source,
The second monitored device is:
A file acquisition means for acquiring a specified file from a specified distribution server according to the file distribution request message and the redistribution validation message when receiving a file delivery request message and a redelivery validation message addressed to the own device;
When a redistribution validation message addressed to the own device is received, a file delivery request specifying the own device as a delivery server for the designated file is directed to the designated redistribution target monitored device according to the redelivery validation message Redelivery validation message processing means for transmitting a message.
また、本発明の他の形態であるファイル配信方法は、
(a)監視装置が、ファイル配信対象とする被監視装置宛てにファイル配信要求メッセージを送信し、
(b)他の被監視装置を経由しない経路を通じて上記監視装置と通信可能な第1の被監視装置が、ファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバから取得し、
(c)上記第1の被監視装置が、他の被監視装置宛てのファイル配信要求メッセージを受信したとき、受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送し、
(d)該転送されたファイル配信要求メッセージの宛先である第2の被監視装置が、受信した当該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバである上記第1の被監視装置から取得する、
という構成を有する。
In addition, a file delivery method according to another aspect of the present invention is
(A) The monitoring device transmits a file distribution request message to the monitored device to be distributed,
(B) When the first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device receives the file distribution request message, the designated file is specified according to the file distribution request message. Obtained from the distribution server
(C) When the first monitored apparatus receives a file distribution request message addressed to another monitored apparatus, the information of the distribution server in the received file distribution request message is rewritten to the information of the own apparatus and transferred,
(D) The first monitored device in which the second monitored device that is the destination of the transferred file delivery request message is the delivery server that designates the designated file in accordance with the received file delivery request message. Get from the device,
It has the structure of.
また、本発明の他の形態であるファイル配信方法は、
(a)監視装置が、ファイル配信対象とする複数の被監視装置宛てに同一のファイルに係る複数のファイル配信要求メッセージを送信し、
(b)他の被監視装置を経由しない経路を通じて上記監視装置と通信可能な第1の被監視装置が、同一のファイルに係る自装置宛てのファイル配信要求メッセージおよび複数の他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバから取得し、
(c)上記第1の被監視装置が、上記複数の他の被監視装置を第2の被監視装置とするとき、該第の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定し、上記再配信実行被監視装置に決定した第2の被監視装置に対して、自装置を上記ファイルの配信サーバに指定した再配信有効化メッセージを送信し、上記再配信対象被監視装置以外の第2の被監視装置に対して、配信サーバの情報を自装置の情報に書き換えたファイル配信要求メッセージを転送し、
(d)自装置宛ての再配信有効化メッセージを受信した上記再配信実行被監視装置に決定された第2の被監視装置が、該再配信有効化メッセージに従って、指定されたファイルを指定された配信サーバから取得し、上記再配信対象被監視装置に決定された第2の被監視装置に対して、自装置を配信サーバとしたファイル配信要求メッセージを送信し、
(e)自装置宛てのファイル配信要求メッセージを受信した第2の被監視装置が、該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバから取得する、
という構成を採る。
In addition, a file delivery method according to another aspect of the present invention is
(A) The monitoring device transmits a plurality of file distribution request messages related to the same file to a plurality of monitored devices to be distributed.
(B) A first monitored device that can communicate with the monitoring device through a route that does not go through another monitored device is directed to a file distribution request message addressed to the same device and to a plurality of other monitored devices. When the file delivery request message is received, the designated file is acquired from the designated delivery server according to the file delivery request message,
(C) Redistribution execution in which the first monitored device redistributes a file from the first monitored devices when the plurality of other monitored devices are the second monitored devices. A monitored device and a redistribution target monitored device that distributes a file from the redistribution execution monitored device are determined, and the second monitored device determined as the redistribution execution monitored device A re-distribution validation message specifying the device as the file distribution server is transmitted, and the distribution server information is rewritten to the information of the own device for the second monitored device other than the re-distribution target monitored device. Forward the file delivery request message,
(D) The second monitored device determined as the redistribution execution monitored device that has received the redistribution validation message addressed to its own device has designated the designated file in accordance with the redistribution validation message A file distribution request message is transmitted from the distribution server to the second monitored device determined as the redistribution target monitored device, with the device as the distribution server,
(E) The second monitored device that has received the file delivery request message addressed to itself acquires the designated file from the designated delivery server in accordance with the file delivery request message.
The structure is taken.
また、本発明の他の形態である被監視装置は、
他の被監視装置を経由しない経路を通じて監視装置と通信可能な回線を通じてファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
上記回線を通じて他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備える。
Moreover, the monitored apparatus which is the other form of this invention is
When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a file delivery request message addressed to another monitored device is received through the line, message editing / re-sending means for rewriting and transferring the delivery server information in the received file delivery request message to the own device information;
And a file distribution means for transmitting a corresponding file stored in the own apparatus to a request source when a file acquisition request addressed to the own apparatus is received through a line connected to another monitored apparatus.
また、本発明の他の形態である被監視装置は、
他の被監視装置を経由しない経路を通じて監視装置と通信可能な回線を通じてファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
上記回線を通じて上記ファイルと同一ファイルに係る他の被監視装置宛ての複数のファイル配信要求メッセージを受信したとき、上記複数の他の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定し、上記再配信実行被監視装置に決定した他の被監視装置に対して、自装置を上記ファイルの配信サーバに指定した再配信有効化メッセージを送信し、上記再配信対象被監視装置以外の他の被監視装置に対して、配信サーバの情報を自装置の情報に書き換えたファイル配信要求メッセージを転送する手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備える。
Moreover, the monitored apparatus which is the other form of this invention is
When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a plurality of file delivery request messages addressed to other monitored devices related to the same file as the file are received through the line, a redistribution execution target that performs redistribution of the file from the other monitored devices is provided. Determine a monitoring device and a redistribution target monitored device that distributes a file from the redistribution execution monitored device, and determine the own device with respect to the other monitored device determined as the redistribution execution monitored device A file distribution request in which the re-distribution validation message specified to the distribution server of the file is transmitted, and the information of the distribution server is rewritten to the information of the own apparatus to a monitored apparatus other than the monitored apparatus to be re-distributed A means of forwarding messages;
And a file distribution means for transmitting a corresponding file stored in the own apparatus to a request source when a file acquisition request addressed to the own apparatus is received through a line connected to another monitored apparatus.
また、本発明の他の形態であるプログラムは、
コンピュータを、
他の被監視装置を経由しない経路を通じて監視装置と通信可能な回線を通じてファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
上記回線を通じて他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段として機能させる。
Moreover, the program which is the other form of this invention is:
Computer
When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a file delivery request message addressed to another monitored device is received through the line, message editing / re-sending means for rewriting and transferring the delivery server information in the received file delivery request message to the own device information;
When a file acquisition request addressed to itself is received through a line connected to another monitored device, it functions as a file distribution means for transmitting the corresponding file stored in the device to the request source.
また、本発明の他の形態であるプログラムは、
コンピュータを、
他の被監視装置を経由しない経路を通じて監視装置と通信可能な回線を通じてファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
上記回線を通じて上記ファイルと同一ファイルに係る他の被監視装置宛ての複数のファイル配信要求メッセージを受信したとき、上記複数の他の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定し、上記再配信実行被監視装置に決定した他の被監視装置に対して、自装置を上記ファイルの配信サーバに指定した再配信有効化メッセージを送信し、上記再配信対象被監視装置以外の他の被監視装置に対して、配信サーバの情報を自装置の情報に書き換えたファイル配信要求メッセージを転送する手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段として機能させる。
Moreover, the program which is the other form of this invention is:
Computer
When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a plurality of file delivery request messages addressed to other monitored devices related to the same file as the file are received through the line, a redistribution execution target that performs redistribution of the file from the other monitored devices is provided. Determine a monitoring device and a redistribution target monitored device that distributes a file from the redistribution execution monitored device, and determine the own device with respect to the other monitored device determined as the redistribution execution monitored device A file distribution request in which the re-distribution validation message specified to the distribution server of the file is transmitted, and the information of the distribution server is rewritten to the information of the own apparatus to a monitored apparatus other than the monitored apparatus to be re-distributed A means of forwarding messages;
When a file acquisition request addressed to itself is received through a line connected to another monitored device, it functions as a file distribution means for transmitting the corresponding file stored in the device to the request source.
本発明によれば、監視装置への新たな機能追加無しに、ファイルの配信元を分散することができる。 According to the present invention, file distribution sources can be distributed without adding a new function to the monitoring apparatus.
[第1の実施の形態]
図1を参照すると、本発明の第1の実施の形態に係るファイル配信システムは、監視装置131と、ファイル配信サーバ132と、監視装置131およびファイル配信サーバ132が接続されるルータ136を含む中継ネットワーク137と、この中継ネットワーク137に上位接続回線135aを通じて接続された被監視装置133aと、この被監視装置133aに相互接続回線134aを通じて接続された被監視装置133bと、この被監視装置133bに相互接続回線134bを通じて接続された被監視装置133cと、この被監視装置133cに相互接続回線134cを通じて接続され、また上位接続回線135dを通じて中継ネットワーク137に接続された被監視装置133dとから構成されている。
[First embodiment]
Referring to FIG. 1, the file distribution system according to the first embodiment of the present invention includes a
上述の中継ネットワーク137、監視装置131、ファイル配信サーバ132、複数台の被監視装置133a〜133dは、IPなどの標準的なネットワークプロトコルなどにより相互に通信可能に接続されている。
The
監視装置131は、複数台の被監視装置133a〜133dへのファイル配信を管理する機能を有するコンピュータである。監視装置131は、被監視装置133a〜133dのそれぞれに対してファイル配信を実施する場合、それぞれの被監視装置133a〜133dに対して個別にファイル配信要求メッセージを送信する。ファイル配信要求メッセージは、対象とする被監視装置を一意に特定する被監視装置識別子(被監視装置名)、配信するファイルを一意に特定する配信ファイル識別子(ファイル名)、ファイルの配布元を一意に特定する配信サーバ識別子(配信サーバ名)を含む。
The
ファイル配信サーバ132は、配信するファイルを保持する記憶装置を備えたコンピュータである。ファイル配信サーバ132は、配信ファイル名を含むファイル配信要求を受信したとき、配信ファイル名で特定される配信ファイルを記憶装置から読み出し、配信要求元へ送信する機能を有する。
The
各々の被監視装置133a〜133dは、配信されたファイルを保持する記憶装置を備えたコンピュータである。被監視装置133a〜133dの一例を図2に示す。
Each of the monitored
図2を参照すると、被監視装置133は、自装置を他の装置と接続するための複数の外部接続ポート112a〜112eを持つ。被監視装置133は、外部接続ポート112から入力されたメッセージに関して、自装置を宛先とするか、あるいは自装置以外を宛先とするかを判断し、前者であれば自装置で当該メッセージを受信し、後者であれば宛先に応じた適切な外部接続ポート112に当該メッセージを転送する機能を持つ。このような機能は規格化された方式に基づくものであるため、その詳細な説明は省略する。 Referring to FIG. 2, the monitored device 133 has a plurality of external connection ports 112a to 112e for connecting the device itself to other devices. The monitored device 133 judges whether the message input from the external connection port 112 is the own device or a destination other than the own device, and if it is the former, the message is received by the own device. In the latter case, the message is transferred to the appropriate external connection port 112 according to the destination. Since such a function is based on a standardized method, detailed description thereof is omitted.
また、被監視装置133は、外部接続ポート112から入力されるファイル配信要求メッセージを抽出する機能を持つメッセージ抽出部113と、この抽出されたファイル配信要求メッセージを編集し、外部接続ポート112から送出するメッセージ編集・再送出部114と、外部接続ポート112を介して接続される配信サーバからファイルを取得するファイル取得部115と、取得したファイルを記憶装置に格納するファイル格納部117と、このファイル格納部117に格納されるファイルの管理情報である格納ファイルリスト118とを備えている。この格納ファイルリスト118は、配信ファイル名とそのファイルの状態(取得中、取得済)とを記録する。
Further, the monitored device 133 edits the extracted file distribution request message and sends it from the external connection port 112 with the
図3は被監視装置133の動作を示すフローチャートである。以下、図2および図3を参照して、被監視装置133の各部の機能と動作を説明する。 FIG. 3 is a flowchart showing the operation of the monitored device 133. Hereinafter, with reference to FIG. 2 and FIG. 3, functions and operations of each unit of the monitored device 133 will be described.
被監視装置133は、メッセージ抽出部113において、外部接続ポート112より入力される自装置宛てのファイル配信要求メッセージ、および、自装置を経由する他装置宛てのファイル配信要求メッセージを抽出する(S101)。このとき、メッセージ抽出部113は、予め設定された種別の回線が接続された外部接続ポート112より入力される自装置宛ておよび他装置宛てのファイル配信要求メッセージのみを抽出する。具体的には、上位接続回線が接続された外部接続ポート112より入力される自装置宛ておよび他装置宛てのファイル配信要求メッセージのみを抽出する。または、メッセージ抽出部113は、メッセージ抽出を行うポートとして予め設定された外部接続ポート112より入力される自装置宛ておよび他装置宛てのファイル配信要求メッセージのみを抽出する。
The monitored device 133 extracts, in the
メッセージ抽出部113は、抽出したファイル配信要求メッセージを解析して、そのメッセージから配信サーバ名と配信ファイル名を取得し、この取得した配信ファイル名をキーに格納ファイルリスト118を検索して、同じ配信ファイル名が格納ファイルリスト118に記録されているかどうかを調査する(S102)。
The
調査の結果、同じ配信ファイル名が格納ファイルリスト118に記録されていなかった場合、メッセージ抽出部113は、上記取得した配信サーバ名と配信ファイル名とをファイル取得部115に通知する。ファイル取得部115は、通知された配信ファイル名を格納ファイルリスト118に登録し、その状態を「取得中」に設定後(S103)、通知された配信ファイル名のファイルを通知された配信サーバから取得する(S104)。具体的には、通知された配信サーバ名の配信サーバを宛先とし、自装置を要求元とし、通知された配信ファイル名を含むファイル取得要求を、その配信サーバに通じる外部接続ポート112から送信し、このファイル取得要求に対して当該配信サーバから送信されてくる配信ファイルが受信されるのを待ち合わせる。そして、配信ファイルを受信したら、ファイル取得部115は、受信した配信ファイルをファイル格納部117に格納するとともに、格納ファイルリスト118に記録された当該配信ファイルのファイル名に対応する状態を「取得済」に更新する(S105)。そして、被監視装置133は、ステップS108の処理へと進む。
If the same distribution file name is not recorded in the storage file list 118 as a result of the investigation, the
他方、調査の結果、同じ配信ファイル名が格納ファイルリスト118に記録されていた場合、メッセージ抽出部113は、当該ファイルの状態が「取得済」かどうかを判定する(S106)。若し、取得済であれば、被監視装置133は、ステップS108の処理へと進む。取得済でなく取得中であれば、被監視装置133は、当該ファイルの状態が取得済になるまで待機する。そして、ファイル取得部115が配信ファイルを受信してファイル格納部117に格納し、格納ファイルリスト118の当該ファイルの状態を取得済にした時点で、ステップS108の処理へと進む。
On the other hand, if the same distribution file name is recorded in the storage file list 118 as a result of the investigation, the
ステップS108では、被監視装置133は、ステップS101で今回抽出されたファイル配信要求メッセージが自装置宛てのメッセージであったか否かを判定する。自装置宛てのファイル配信要求メッセージであった場合には、図3の処理を終える。自装置宛てでなく他装置宛てのファイル配信要求メッセージであった場合は、被監視装置133は、メッセージ編集・再送出部114において、今回抽出されたファイル配信要求メッセージ中の配信サーバ名を自装置名に書き換えて、宛先に通じる外部接続ポートに送出する(S109)。そして、図3の処理を終える。
In step S108, the monitored device 133 determines whether the file distribution request message extracted this time in step S101 is a message addressed to itself. If it is a file delivery request message addressed to its own apparatus, the processing in FIG. If the file distribution request message is not addressed to the own device but to another device, the monitored device 133 uses the message editing /
再送出されたファイル配信要求メッセージは、宛先の被監視装置133に届けられる。宛先の被監視装置133では、ファイル取得部115により、受信したファイル配信メッセージで指定されたファイル配信名の配信サーバに対して同メッセージで指定された配信ファイル名のファイルの取得を要求する。上述したようにファイル配信要求メッセージ中の配信サーバ名は、メッセージ編集を行った被監視装置133の識別名に書き換えられているので、そのファイル取得要求は、メッセージ編集を行った被監視装置133宛てに送信される。メッセージ編集を行った被監視装置133のファイル配信部116は、このファイル取得要求メッセージを受信し、要求された配信ファイルをファイル格納部117から読み出して、要求元の被監視装置133へ送信する。
The re-sent file delivery request message is delivered to the destination monitored device 133. In the destination monitored device 133, the
次に、本実施の形態に係るファイル配信システムの全体の動作を説明する。 Next, the overall operation of the file distribution system according to the present embodiment will be described.
監視装置131の制御の下に被監視装置133a〜133dにファイルAの配信を実施する場合、まず、監視装置131は、図4に示すように、それぞれの被監視装置133a〜133dに対してファイル配信要求メッセージ151a〜151dを個別に送信する。ここで、ファイル配信要求メッセージ151a〜151dには、配信対象となる被監視装置133の識別子(被監視装置名)、配信対象ファイルの識別子(ファイル名)、ファイル配信サーバ132の識別子(配信サーバ名)が含まれている。これら複数のメッセージ151a〜151dの送出順は任意である。ここでは、151a、151b、151c、151dの順に送出されたとする。
When the file A is distributed to the monitored
監視装置131からそれぞれの被監視装置133a〜133d宛てに送信されたファイル配信要求メッセージ151a〜151dは、ルータ136、中継ネットワーク137を介して、上位接続回線135aまたは上位接続回線135bの何れかの回線に送出される。どちらの回線に送出されるかは、中継ネットワーク137上の経路情報に依存する。ここでは、上位接続回線135aに、ファイル配信要求メッセージ151a、151b、151c、151dの順に送出されたものとすると、その順に被監視装置133aに到着する。
The file delivery request messages 151a to 151d transmitted from the
被監視装置133aは、図5に示すように、上位接続回線135aに接続された外部接続ポート112を通じてファイル配信要求メッセージ151aを受信する。被監視装置133aは、後続のファイル配信要求メッセージ151b〜151dを受信した場合、それらの処理を待機状態とし、先に受信したファイル配信要求メッセージ151aの処理が完了次第、受信順に処理を行う。
As shown in FIG. 5, the monitored
まず、被監視装置133aのメッセージ抽出部113は、ファイル配信要求メッセージ151aを抽出し、この抽出したメッセージで指定された配信ファイル名が格納ファイルリスト118に記録されているか否かを確認する(図5中の処理161)。今、格納ファイルリスト118には図5中に示すように1つも配信ファイル名が記録されていないものとすると、メッセージ抽出部113は、ファイル取得部115に対してファイルAの取得を要求する。
First, the
ファイル取得部115は、図6に示すように、上記抽出されたメッセージ中の配信ファイル名を格納ファイルリスト118に登録して、その状態を「取得中」に設定し、上記抽出されたメッセージで指定された配信サーバであるファイル配信サーバ132に対して、配信ファイル名を含むファイル取得要求を送信する(図6の処理163)。今回処理したファイル取得要求151aは自装置宛てであるため、被監視装置133aは、以上でファイル取得要求151aに関する図3の処理を終了する。
As shown in FIG. 6, the
上記のファイル取得要求は、上位接続回線135a、中継ネットワーク137、ルータ136を通じてファイル配信サーバ132に届けられる。ファイル配信サーバ132は、受信したファイル取得要求に従い、要求された配信ファイルAを要求元の被監視装置133a宛てに送信する。この送信された配信ファイルAは、ルータ136、中継ネットワーク137、上位接続回線135aを通じて被監視装置133aに届けられる。被監視装置133aのファイル取得部115は、ファイル配信サーバ132から配信ファイルAを受信すると、ファイル格納部117に格納し、格納ファイルリスト118の当該ファイルの状態を「取得済」に更新する(図7の処理164)。
The file acquisition request is delivered to the
被監視装置133aは、ファイル取得要求151aに関連する図3の処理を終えると、次のファイル取得要求151bの処理を開始する。
When the monitored
被監視装置133aのメッセージ抽出部113は、ファイル配信要求メッセージ151bを抽出し、この抽出したメッセージで指定された配信ファイル名が格納ファイルリスト118に記録されているか否かを確認する。今の場合、先に受信されたファイル配信要求メッセージ151aの上述した処理により、格納ファイルリスト118には図8に示すように、ファイルAが既に記録されている。従って、被監視装置133aは、ファイルAの状態を確認し、「取得済」であれば直ちに、「取得中」であれば「取得済」になるまで待機した後、メッセージ編集・再送出部114による処理を行う。すなわち、図9に示すように、メッセージ編集・再送出部114は、ファイル配信要求メッセージ151b中の配信サーバ名を自装置133aの名前に書き換えて、相互接続回線134aに接続された外部接続ポート112に送出する。
The
上記のファイル配信要求メッセージ151bは、相互接続回線134aを通じて宛先の被監視装置133bに届けられる。被監視装置133bは、このファイル配信要求メッセージ151bを受信すると、ファイル取得部115により、ファイル名Aが格納ファイルリスト118に記録されていないことを確認し、ファイル配信メッセージ151bで配信サーバに指定された被監視装置133aに対して同メッセージで指定されたファイルAの取得を要求する。このファイル取得要求は、相互接続回線134aを通じて宛先の被監視装置133aに届けられる。
The file
被監視装置133aは、図10に示すように、ファイル配信部116により、このファイル取得要求を解析し、要求されたファイルAをファイル格納部117から読み出して要求元の被監視装置133b宛てに送信する。送信されたファイルAは、相互接続回線134aを通じて被監視装置133bに届けられる。被監視装置133bのファイル取得部115は、受信したファイルAをファイル格納部117に格納し、格納ファイルリスト118のファイル名の状態を取得済に更新する。
As shown in FIG. 10, the monitored
残りのファイル配信メッセージ151c、151dについても、ファイル配信メッセージ151bと同様に処理される。これにより、ファイルAの被監視装置133c、133dへの配信は、被監視装置133aが配信サーバとなって実施される。
The remaining
このように本実施の形態によれば、監視装置131から被監視装置133a〜133dのそれぞれに対して、配信サーバとしてファイル配信サーバ132を指定し、配信ファイルとしてファイルAを指定したファイル配信要求メッセージが送信された場合、被監視装置133aについては、ファイル配信サーバ132からファイルAの配信が行われるが、被監視装置133b、133c、133dについては、図11に示すように、被監視装置133aが配信サーバとなってファイルAの配信が行われる。これにより、ファイル配信サーバ132の負荷が軽減され、また、中継ネットワーク137および上位接続回線135aに同一のファイルが何度も流れることによるデータ量の増大が抑制される。
As described above, according to the present embodiment, the file delivery request message specifying the
また、上位接続回線135aに接続された被監視装置133aが、自装置を経由する他の被監視装置宛てのファイル取得要求メッセージを検出することにより自動的に配信サーバとして振る舞うため、ファイルの配布元を分散するために監視装置131へ新たに機能を追加する必要はない。
Further, since the monitored
[第2の実施の形態]
図12を参照すると、本発明の第2の実施の形態に係るファイル配信システムは、図1に示した第1の実施の形態に係るファイル配信システムと比較して、被監視装置133a〜133dの代わりに、被監視装置138a〜138dを備えている点でのみ相違する。
[Second Embodiment]
Referring to FIG. 12, the file distribution system according to the second embodiment of the present invention is compared with the file distribution system according to the first embodiment shown in FIG. Instead, the only difference is that the monitored
図13を参照すると、被監視装置138は、図2に示した第1の実施の形態における被監視装置133と比較して、ネットワークトポロジ管理部161、再配信装置選定部162、再配信有効化メッセージ処理部163が新たに追加されている点で相違する。また、メッセージ編集・再送出部114およびファイル取得部115の機能が第1の実施の形態とは一部相違する。
Referring to FIG. 13, the monitored device 138 has a network
ネットワークトポロジ管理部161は、被監視装置138間の相互接続回線により構成されるネットワークのトポロジ情報を保持する。具体的には、図12のネットワークの場合、被監視装置138aと被監視装置138bとが相互接続回線134aにより接続されていること、被監視装置138bと被監視装置138cとが相互接続回線134bにより接続されていること、被監視装置138cと被監視装置138dとが相互接続回線134cにより接続されていることが、トポロジ情報に記録されている。
The network
ここで、ネットワークがIPなどの標準的なプロトコルを使用して構成されている場合、ネットワークトポロジ管理部161は、それら標準として規定されたルーティングプロトコルにより構築されるルーティングテーブルを使用してもよい。
Here, when the network is configured using a standard protocol such as IP, the network
再配信装置選定部162は、メッセージ抽出部113で抽出されたファイル配信要求メッセージを全て受け取り、配信対象ファイル名が同一の他装置宛ての複数のファイル配信要求メッセージ毎に、上記のネットワークトポロジ情報を参照して、再配信実行装置とする1以上の他の被監視装置と、当該再配信実行装置からファイルの再配信を行う1以上の被監視装置(再配信対象装置)とを決定する機能を有する。決定する基準は任意であるが、ファイルの再配信経路が最短となるように、再配信実行装置と再配信対象装置とを決定するのが望ましい。
The redistribution
再配信有効化メッセージ処理部163は、再配信装置選定部162で再配信実行装置として他の被監視装置に対して、再配信対象とする配信ファイル名と、配信サーバの識別子としての自装置名と、再配信対象装置とする被監視装置名とを含み、再配信機能の有効化を指示する再配信有効化メッセージを送信する機能を有する。
The redistribution validation
また、再配信有効化メッセージ処理部163は、他の被監視装置から自装置宛てに上記再配信有効化メッセージを受信した場合、上記再配信有効化メッセージで再配信の対象に指定された被監視装置に対して、その被監視装置名と、配信対象ファイル名と、配信サーバの識別子としての自装置名とを含むファイル配信要求メッセージを送信する機能を有する。さらに、再配信有効化メッセージ処理部163は、他の被監視装置から受信した自装置宛ての上記再配信有効化メッセージをファイル取得部115に伝達する。
In addition, when the redistribution validation
ファイル取得部115は、上記再配信有効化メッセージで指定された配信対象ファイル名と同じファイル名が格納ファイルリスト118に記録されていなければ、上記再配信有効化メッセージで指定された配信サーバに対して、当該配信対象ファイルを要求するファイル取得要求を送信し、これにより取得した配信対象ファイルをファイル格納部117に格納する。
If the same file name as the distribution target file name specified in the redistribution activation message is not recorded in the storage file list 118, the
また、メッセージ編集・再送出部114は、配信対象ファイル名が同一の他装置宛ての上記複数のファイル配信要求メッセージのうち、再配信実行装置からファイルの配信を行うと決定した再配信対象の被監視装置宛て以外のファイル配信要求メッセージについて、それに含まれるファイル配信サーバ名を自装置名に書き換えて中継し、再配信対象の被監視装置宛てのファイル配信要求メッセージについては、中継処理を行わずに廃棄する。なお、再配信実行装置として選定された被監視装置は上記の再配信有効化メッセージの受信時に再配信対象ファイルの取得を行うため、再配信実行装置として選定された被監視装置宛てのファイル配信要求メッセージについても、中継せずに廃棄しても良い。
Further, the message editing /
図14および図15は被監視装置138の動作を示すフローチャートである。以下、図13〜図15を参照して、被監視装置138の各部の機能と動作を説明する。 14 and 15 are flowcharts showing the operation of the monitored apparatus 138. Hereinafter, the function and operation of each unit of the monitored apparatus 138 will be described with reference to FIGS.
被監視装置138は、メッセージ抽出部113において、外部接続ポート112より入力される自装置宛てのファイル配信要求メッセージ、および、自装置を経由する他装置宛てのファイル配信要求メッセージを抽出する(S201)。このとき、メッセージ抽出部113は、予め設定された種別の回線が接続された外部接続ポート112より入力される自装置宛ておよび他装置宛てのファイル配信要求メッセージのみを抽出する。具体的には、上位接続回線が接続された外部接続ポート112より入力される自装置宛ておよび他装置宛てのファイル配信要求メッセージのみを抽出する。または、メッセージ抽出部113は、メッセージ抽出を行うポートとして予め設定された外部接続ポート112より入力される自装置宛ておよび他装置宛てのファイル配信要求メッセージのみを抽出する。
In the
また、メッセージ抽出部113は、外部接続ポート112より複数のファイル配信要求メッセージ(自装置宛てのファイル配信要求メッセージまたは自装置を経由する他装置宛てのファイル配信要求メッセージ)を抽出した場合、そのうちの一つについて処理を開始し、残りは待機状態とする。処理する順番は、抽出順(受信順)であっても良いし、自装置宛てのファイル配信要求メッセージが含まれていれば、自装置宛てのファイル配信要求メッセージを優先的に処理するようにしても良い。
Further, when the
メッセージ抽出部113は、抽出したファイル配信要求メッセージを解析して、そのメッセージから配信サーバ名と配信ファイル名を取得し、この取得した配信ファイル名をキーに格納ファイルリスト118を検索して、同じ配信ファイル名が格納ファイルリスト118に記録されているかどうかを調査する(S202)。
The
調査の結果、同じ配信ファイル名が格納ファイルリスト118に記録されていなかった場合、メッセージ抽出部113は、上記取得した配信サーバ名と配信ファイル名とをファイル取得部115に通知する。ファイル取得部115は、通知された配信ファイル名を格納ファイルリスト118に登録し、その状態を「取得中」に設定後(S203)、通知された配信ファイル名のファイルを通知された配信サーバから取得する(S204)。具体的には、通知された配信サーバ名の配信サーバを宛先とし、自装置を要求元とし、通知された配信ファイル名を含むファイル取得要求を、その配信サーバに通じる外部接続ポート112から送信し、このファイル取得要求に対して当該配信サーバから送信されてくる配信ファイルが受信されるのを待ち合わせる。そして、配信ファイルを受信したら、ファイル取得部115は、受信した配信ファイルをファイル格納部117に格納するとともに、格納ファイルリスト118に記録された当該配信ファイルのファイル名に対応する状態を「取得済」に更新する(S205)。そして、被監視装置138は、ステップS208の処理へと進む。
If the same distribution file name is not recorded in the storage file list 118 as a result of the investigation, the
他方、調査の結果、同じ配信ファイル名が格納ファイルリスト118に記録されていた場合、メッセージ抽出部113は、当該ファイルの状態が「取得済」かどうかを判定する(S206)。若し、取得済であれば、被監視装置138は、ステップS208の処理へと進む。取得済でなく取得中であれば、被監視装置138は、当該ファイルの状態が取得済になるまで待機する。そして、ファイル取得部115が配信ファイルを受信してファイル格納部117に格納し、格納ファイルリスト118の当該ファイルの状態を取得済にした時点で、ステップS208の処理へと進む。
On the other hand, if the same distribution file name is recorded in the storage file list 118 as a result of the investigation, the
ステップS208では、被監視装置138は、同一配信ファイルを指定した待機中の他装置宛ての複数のファイル配信要求メッセージが存在するかどうかを判定する。そのような複数のファイル配信要求メッセージが存在しなければ、第1の実施の形態と同様の動作を行う。すなわち、被監視装置138は、ステップS201で今回抽出されたファイル配信要求メッセージが自装置宛てのメッセージであったか否かを判定し、自装置宛てのファイル配信要求メッセージであった場合には、図14および図15の処理を終える。自装置宛てでなく他装置宛てのファイル配信要求メッセージであった場合は、被監視装置138は、メッセージ編集・再送出部114において、今回抽出されたファイル配信要求メッセージ中の配信サーバ名を自装置名に書き換えて、宛先に通じる外部接続ポートに送出する(S213)。そして、図14および図15の処理を終える。
In step S208, the monitored device 138 determines whether there are a plurality of file delivery request messages addressed to other waiting devices that specify the same delivery file. If there are no such multiple file delivery request messages, the same operation as in the first embodiment is performed. That is, the monitored device 138 determines whether or not the file delivery request message extracted this time in step S201 is a message addressed to itself, and if it is a file delivery request message addressed to itself, FIG. And the process of FIG. 15 is finished. If the file delivery request message is not addressed to the own device but directed to another device, the monitored device 138 uses the message editing /
再送出されたファイル配信要求メッセージは、宛先の被監視装置138に届けられる。宛先の被監視装置138では、ファイル取得部115により、受信したファイル配信メッセージで指定された配信サーバに対して同メッセージで指定されたファイルの取得を要求する。上述したようにファイル配信要求メッセージ中の配信サーバ名は、メッセージ編集を行った被監視装置138の識別名に書き換えられているので、そのファイル取得要求は、メッセージ編集を行った被監視装置138宛てに送信される。メッセージ編集を行った被監視装置138のファイル配信部116は、このファイル取得要求メッセージを受信し、要求された配信ファイルをファイル格納部117から読み出して、要求元の被監視装置138へ送信する。
The re-sent file delivery request message is delivered to the destination monitored device 138. In the destination monitored device 138, the
他方、ステップS208において、同一配信ファイルを指定した待機中の他装置宛ての複数のファイル配信要求メッセージが存在すると判定した場合、再配信装置選定部162は、ネットワークトポロジ情報を参照して、これら待機中のファイル配信要求メッセージの宛先装置の中から、再配信実行装置とする被監視装置とこの再配信実行装置から再配信を行う再配信対象の被監視装置とを選定する(S209)。次に、再配信有効化メッセージ処理部163は、再配信実行装置に選定された被監視装置に対して再配信有効化メッセージを送信する(S210)。また、メッセージ編集・再送出部114は、再配信対象の被監視装置以外を宛先とする待機中のファイル配信要求メッセージ中の配信サーバ名を自装置名に書き換えて再送出する(S211)。そして、図14および図15の処理を終える。
On the other hand, if it is determined in step S208 that there are a plurality of file delivery request messages addressed to other devices that are on standby specifying the same delivery file, the redistribution
次に、本実施の形態に係るファイル配信システムの全体の動作を説明する。 Next, the overall operation of the file distribution system according to the present embodiment will be described.
監視装置131の制御の下に被監視装置138a〜138dにファイルAの配信を実施する場合、まず、監視装置131は、第1の実施の形態の図4と同様に、それぞれの被監視装置138a〜138dに対してファイル配信要求メッセージ151a〜151dを個別に送信する。ここで、ファイル配信要求メッセージ151a〜151dには、配信対象となる被監視装置138の識別子、配信対象ファイルの識別子、ファイル配信サーバ132の識別子が含まれている。これら複数のメッセージ151a〜151dの送出順は、上位接続回線に接続される被監視装置138を先に送出するようにするのが望ましい。ここでは、151a、151d、151b、151cの順に送出されたとする。
When the file A is distributed to the monitored
監視装置131からそれぞれの被監視装置138a〜138d宛てに送信されたファイル配信要求メッセージ151a〜151dは、ルータ136、中継ネットワーク137を介して、上位接続回線135aまたは上位接続回線135bの何れかの回線に送出される。どちらの回線に送出されるかは、中継ネットワーク137上の経路情報に依存する。ここでは、上位接続回線135aに、ファイル配信要求メッセージ151a、151d、151b、151cの順に送出されたものとすると、その順に被監視装置138aに到着する。
The file distribution request messages 151a to 151d transmitted from the
被監視装置138aは、ファイル配信要求メッセージ151aを抽出すると(S201)、後続のファイル配信要求メッセージ151b〜151dを待機状態とする。被監視装置138aは、抽出されたファイル配信要求151aに対して、第1の実施の形態における図3のステップS102〜S107と同様の処理を実行する(図14のS202〜S207)。
When the monitored
次に被監視装置138aは、同一配信ファイルAを指定した待機中の他装置宛ての複数のファイル配信要求メッセージ151b〜151dが存在するので(S208)、再配信装置選定部162による処理を行う(S209)。具体的には、再配信装置選定部162は、ネットワークトポロジ情報を参照して、これら待機中のファイル配信要求メッセージ151b〜151dの宛先装置138b〜138dの中から、ファイルの再配信経路が最短になるように、再配信実行装置とする被監視装置とこの再配信実行装置から再配信を行う再配信対象の被監視装置とを選定する。
Next, since there are a plurality of file
今の場合、例えば、図16に示すように、被監視装置138cを再配信実行装置とし、被監視装置138dを被監視装置138cから再配信を行う再配信対象とすれば、被監視装置138aから被監視装置138b、138c、138dにファイルが配信される経路の合計距離は、例えば1つの相互接続回線で接続される距離を1として、1+2+1=4となって、最短になる。
In this case, for example, as shown in FIG. 16, if the monitored
次に、再配信有効化メッセージ処理部163は、再配信実行装置に選定された被監視装置138cに対して再配信有効化メッセージを送信する(S210)。また、メッセージ編集・再送出部114は、再配信対象装置である被監視装置138d以外を宛先とする待機中のファイル配信要求メッセージ151b、151c中の配信サーバを自装置に書き換えて再送出する(S211)。
Next, the redistribution validation
被監視装置138aからの再配信有効化メッセージまたはファイル配信要求メッセージを受信した被監視装置138cは、ファイル取得部115において、当該メッセージで指定された配信サーバである被監視装置138aからファイルAの取得を開始する。また、被監視装置138cは、再配信有効化メッセージ処理部163において、自装置をファイルAの配信サーバに指定したファイル配信取得メッセージを被監視装置138dに対して送信する。このファイル配信取得メッセージを受信した被監視装置138dは、当該メッセージで指定された配信サーバである被監視装置138cからファイルの取得を行う。他方、被監視装置138bは、ファイル配信要求メッセージ151bを受信し、当該メッセージで指定された配信サーバである被監視装置138aからファイルの取得を行う。
Upon receiving the redistribution validation message or file delivery request message from the monitored
このように本実施の形態によれば、監視装置131から被監視装置138a〜138dのそれぞれに対して、配信サーバとしてファイル配信サーバ132を指定し、配信ファイルとしてファイルAを指定したファイル配信要求メッセージが送信された場合、被監視装置138aについては、ファイル配信サーバ132からファイルAの配信が行われるが、被監視装置138b、138cについては、図16に示すように、被監視装置138aが配信サーバとなってファイルAの配信が行われ、被監視装置138dについては、被監視装置138cが配信サーバとなってファイルAの配信が行われる。これにより、ファイル配信サーバ132の負荷が軽減され、また、中継ネットワーク137および上位接続回線135aに同一のファイルが何度も流れることによるデータ量の増大が抑制される。さらに、中継ネットワークとの境界に配置された被監視装置138a以外にもファイル再配信処理を分散できるので、特定の被監視装置への負荷の集中を回避することができる。
As described above, according to the present embodiment, the file delivery request message specifying the
また、ファイルの再配信経路が最短となるように、再配信実行装置とする1以上の他の被監視装置と、再配信実行装置からファイルの再配信を行う1以上の再配信対象の被監視装置とを決定するため、全ての被監視装置にファイルを配信し終えるまでに要する時間を短縮することができる。 In addition, one or more other monitored devices serving as a redistribution execution device and one or more redistribution targets to be redistributed from the redistribution execution device so that the file redistribution path is the shortest. Since the device is determined, it is possible to shorten the time required to finish distributing the file to all monitored devices.
また、上位接続回線に接続された被監視装置138が、自装置を経由する他の被監視装置宛てのファイル取得要求メッセージを検出することにより自動的に配信サーバとして振る舞い、また再配信の有効化を行うため、ファイルの配布元を分散するために監視装置131へ新たに機能を追加する必要はない。
Also, the monitored device 138 connected to the upper connection line automatically acts as a distribution server by detecting a file acquisition request message addressed to another monitored device via its own device, and enables redistribution. Therefore, it is not necessary to add a new function to the
なお、上記説明では、ファイルの再配信を行う被監視装置を1台のみ選定したが、同時に要求された被監視装置の台数に応じて複数台の被監視装置においてファイルの再配信を有効化してもよい。 In the above description, only one monitored device that performs file redistribution is selected. However, depending on the number of monitored devices requested at the same time, file redistribution is enabled in a plurality of monitored devices. Also good.
以上本発明の実施の形態について説明したが、本発明は以上の実施の形態にのみ限定されず、その他各種の付加変更が可能である。また、本発明の被監視装置は、その有する機能をハードウェア的に実現することは勿論、コンピュータとプログラムとで実現することができる。プログラムは、磁気ディスクや半導体メモリ等のコンピュータ可読記録媒体に記録されて提供され、コンピュータの立ち上げ時などにコンピュータに読み取られ、そのコンピュータの動作を制御することにより、そのコンピュータを前述した各実施の形態における被監視装置として機能させる。 Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various other additions and modifications can be made. In addition, the monitored apparatus of the present invention can be realized by a computer and a program as well as by realizing the functions of the monitored apparatus in hardware. The program is provided by being recorded on a computer-readable recording medium such as a magnetic disk or a semiconductor memory, and is read by the computer at the time of starting up the computer, etc. It is made to function as a monitored apparatus in the form.
113 メッセージ抽出部
114 メッセージ編集・再送出部
115 ファイル取得部
116 ファイル配信部
117 ファイル格納部
118 格納ファイルリスト
131 監視装置
132 ファイル配信サーバ
133 被監視装置
136 ルータ
137 中継ネットワーク
138 被監視装置
161 ネットワークトポロジ管理部
162 再配信装置選定部
163 再配信有効化メッセージ処理部
113
Claims (11)
前記複数の被監視装置に対してファイル配信要求メッセージを送信する監視装置とで構成され、
前記複数の被監視装置は、他の被監視装置を経由しない経路を通じて前記監視装置と通信可能な第1の被監視装置と、他の被監視装置を経由する経路を通じて前記監視装置と通信する第2の被監視装置とで構成され、
前記第1の被監視装置は、
前記ファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備え、
前記第2の被監視装置は、
自装置宛てのファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得するファイル取得手段を備えることを特徴とするファイル配信システム。 A plurality of monitored devices;
A monitoring device that transmits a file delivery request message to the plurality of monitored devices,
The plurality of monitored devices communicate with the monitoring device through a route that passes through the first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device, and through a route that passes through the other monitored device. Consisting of two monitored devices,
The first monitored device is:
File acquisition means for acquiring and storing a specified file from a specified distribution server according to the file distribution request message when the file distribution request message is received;
A message editing / re-sending unit that, when receiving a file delivery request message addressed to another monitored device, rewrites the information of the delivery server in the received file delivery request message to the information of the own device and transfers it;
When receiving a file acquisition request addressed to its own device, it comprises a file distribution means for transmitting the corresponding file stored in the own device to the request source,
The second monitored device is:
A file distribution system comprising file acquisition means for acquiring a specified file from a specified distribution server in accordance with the file distribution request message when a file distribution request message addressed to the own apparatus is received.
前記複数の被監視装置に対してファイル配信要求メッセージを送信する監視装置とで構成され、
前記複数の被監視装置は、他の被監視装置を経由しない経路を通じて前記監視装置と通信可能な第1の被監視装置と、他の被監視装置を経由する経路を通じて前記監視装置と通信する第2の被監視装置とで構成され、
前記第1の被監視装置は、
前記ファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
他の被監視装置宛ての同じファイルに関する複数のファイル配信要求メッセージを受信したとき、これら複数の他の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定する再配信選定手段と、
前記再配信実行被監視装置に対して、自装置を前記ファイルの配信サーバに指定した再配信有効化メッセージを送信する再配信有効化メッセージ処理手段と、
前記他の被監視装置宛ての同じファイルに関する複数のファイル配信要求メッセージのうち、前記再配信対象被監視装置宛て以外のファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備え、
前記第2の被監視装置は、
自装置宛てのファイル配信要求メッセージおよび再配信有効化メッセージを受信したとき、該ファイル配信要求メッセージおよび再配信有効化メッセージに従い、指定された配信サーバから指定されたファイルを取得するファイル取得手段と、
自装置宛ての再配信有効化メッセージを受信したとき、該再配信有効化メッセージに従い、指定された再配信対象被監視装置宛てに、指定されたファイルの配信サーバとして自装置を指定したファイル配信要求メッセージを送信する再配信有効化メッセージ処理手段とを備えることを特徴とするファイル配信システム。 A plurality of monitored devices;
A monitoring device that transmits a file delivery request message to the plurality of monitored devices,
The plurality of monitored devices communicate with the monitoring device through a route that passes through the first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device, and through a route that passes through the other monitored device. Consisting of two monitored devices,
The first monitored device is:
File acquisition means for acquiring and storing a specified file from a specified distribution server according to the file distribution request message when the file distribution request message is received;
When a plurality of file delivery request messages related to the same file addressed to another monitored device are received, a redistribution execution monitored device that redistributes the file from the plurality of other monitored devices, and the redistribution Redistribution selection means for determining a redistribution target monitored device that distributes a file from an execution monitored device;
Redistribution validation message processing means for transmitting a redistribution validation message in which the device is designated as the file delivery server to the redelivery execution monitored device;
Among a plurality of file delivery request messages related to the same file addressed to the other monitored device, a message for rewriting and transferring the information of the delivery server in the file delivery request message other than the address to the monitored device to be redistributed with the information of the own device Editing and re-sending means;
When receiving a file acquisition request addressed to its own device, it comprises a file distribution means for transmitting the corresponding file stored in the own device to the request source,
The second monitored device is:
A file acquisition means for acquiring a specified file from a specified distribution server according to the file distribution request message and the redistribution validation message when receiving a file delivery request message and a redelivery validation message addressed to the own device;
When a redistribution validation message addressed to the own device is received, a file delivery request specifying the own device as a delivery server for the designated file is directed to the designated redistribution target monitored device according to the redelivery validation message A file delivery system comprising redelivery validation message processing means for transmitting a message.
被監視装置のネットワークトポロジ情報を保持するネットワークトポロジ管理手段を備え、
前記再配信装置選定手段は、前記ネットワークトポロジ情報を参照して、ファイルの再配信経路が最短となるように、再配信実行被監視装置と再配信対象被監視装置とを決定することを特徴とする請求項2に記載のファイル配信システム。 The first monitored device is:
Network topology management means for holding network topology information of monitored devices,
The redistribution device selection unit refers to the network topology information, and determines a redistribution execution monitored device and a redistribution target monitored device so that a file redistribution path is the shortest. The file delivery system according to claim 2.
(b)他の被監視装置を経由しない経路を通じて前記監視装置と通信可能な第1の被監視装置が、ファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバから取得し、
(c)前記第1の被監視装置が、他の被監視装置宛てのファイル配信要求メッセージを受信したとき、受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送し、
(d)該転送されたファイル配信要求メッセージの宛先である第2の被監視装置が、受信した当該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバである前記第1の被監視装置から取得する、
ことを特徴とするファイル配信方法。 (A) The monitoring device transmits a file distribution request message to the monitored device to be distributed,
(B) When the first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device receives the file delivery request message, the designated file is designated according to the file delivery request message. Obtained from the distribution server
(C) When the first monitored device receives a file distribution request message addressed to another monitored device, the information of the distribution server in the received file distribution request message is rewritten to the information of the own device and transferred,
(D) The first monitored device in which the second monitored device that is the destination of the transferred file delivery request message is the delivery server that designates the designated file in accordance with the received file delivery request message. Get from the device,
A file delivery method characterized by the above.
(b)他の被監視装置を経由しない経路を通じて前記監視装置と通信可能な第1の被監視装置が、同一のファイルに係る自装置宛てのファイル配信要求メッセージおよび複数の他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバから取得し、
(c)前記第1の被監視装置が、前記複数の他の被監視装置を第2の被監視装置とするとき、該第の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定し、前記再配信実行被監視装置に決定した第2の被監視装置に対して、自装置を前記ファイルの配信サーバに指定した再配信有効化メッセージを送信し、前記再配信対象被監視装置以外の第2の被監視装置に対して、配信サーバの情報を自装置の情報に書き換えたファイル配信要求メッセージを転送し、
(d)自装置宛ての再配信有効化メッセージを受信した前記再配信実行被監視装置に決定された第2の被監視装置が、該再配信有効化メッセージに従って、指定されたファイルを指定された配信サーバから取得し、前記再配信対象被監視装置に決定された第2の被監視装置に対して、自装置を配信サーバとしたファイル配信要求メッセージを送信し、
(e)自装置宛てのファイル配信要求メッセージを受信した第2の被監視装置が、該ファイル配信要求メッセージに従って、指定されたファイルを指定された配信サーバから取得する、
ことを特徴とするファイル配信方法。 (A) The monitoring device transmits a plurality of file distribution request messages related to the same file to a plurality of monitored devices to be distributed.
(B) A first monitored device that can communicate with the monitoring device through a route that does not pass through another monitored device is directed to a file delivery request message addressed to the same device related to the same file and a plurality of other monitored devices. When the file delivery request message is received, the designated file is acquired from the designated delivery server according to the file delivery request message,
(C) When the first monitored device sets the plurality of other monitored devices as second monitored devices, redistribution execution is performed to redistribute files from the first monitored devices. A monitored device and a redistribution target monitored device that distributes a file from the redistribution execution monitored device are determined, and the second monitored device determined as the redistribution execution monitored device A re-distribution validation message specifying the device as the file distribution server is transmitted, and the distribution server information is rewritten to the information of the own device for the second monitored device other than the re-distribution target monitored device Forward the file delivery request message,
(D) The second monitored device determined as the redistribution execution monitored device that has received the redistribution validation message addressed to its own device has designated the designated file in accordance with the redistribution validation message A file distribution request message is transmitted from the distribution server to the second monitored device determined as the redistribution target monitored device, with the device as the distribution server,
(E) The second monitored device that has received the file delivery request message addressed to itself acquires the designated file from the designated delivery server in accordance with the file delivery request message.
A file delivery method characterized by the above.
前記回線を通じて他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備えることを特徴とする被監視装置。 When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a file delivery request message addressed to another monitored device is received through the line, message editing / re-sending means for rewriting and transferring the delivery server information in the received file delivery request message to the own device information;
And a file distribution means for transmitting a corresponding file stored in the own device to a request source when a file acquisition request addressed to the own device is received through a line connected to another monitored device. apparatus.
前記回線を通じて前記ファイルと同一ファイルに係る他の被監視装置宛ての複数のファイル配信要求メッセージを受信したとき、前記複数の他の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定し、前記再配信実行被監視装置に決定した他の被監視装置に対して、自装置を前記ファイルの配信サーバに指定した再配信有効化メッセージを送信し、前記再配信対象被監視装置以外の他の被監視装置に対して、配信サーバの情報を自装置の情報に書き換えたファイル配信要求メッセージを転送する手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段とを備えることを特徴とする被監視装置。 When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a plurality of file delivery request messages addressed to another monitored device related to the same file as the file are received through the line, a redistribution execution target that performs redistribution of the file from the plurality of other monitored devices is received. A monitoring device and a redistribution target monitored device that distributes a file from the redistribution execution monitored device are determined, and the own device is assigned to the other monitored device determined as the redistribution execution monitored device. A file distribution request in which a re-distribution validation message designated to the file distribution server is transmitted, and the information of the distribution server is rewritten with the information of the own apparatus to a monitored apparatus other than the monitored apparatus to be re-distributed A means of forwarding messages;
And a file distribution means for transmitting a corresponding file stored in the own device to a request source when a file acquisition request addressed to the own device is received through a line connected to another monitored device. apparatus.
他の被監視装置を経由しない経路を通じて監視装置と通信可能な回線を通じてファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
前記回線を通じて他の被監視装置宛てのファイル配信要求メッセージを受信したとき、該受信したファイル配信要求メッセージにおける配信サーバの情報を自装置の情報に書き換えて転送するメッセージ編集・再送出手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段として機能させるためのプログラム。 Computer
When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a file delivery request message addressed to another monitored device is received through the line, message editing / re-sending means for rewriting and transferring the delivery server information in the received file delivery request message to the own device information;
A program for functioning as a file distribution means for transmitting a corresponding file stored in a local device to a request source when a file acquisition request addressed to the local device is received through a line connected to another monitored device.
他の被監視装置を経由しない経路を通じて監視装置と通信可能な回線を通じてファイル配信要求メッセージを受信したとき、該ファイル配信要求メッセージに従い、指定された配信サーバから指定されたファイルを取得して保存するファイル取得手段と、
前記回線を通じて前記ファイルと同一ファイルに係る他の被監視装置宛ての複数のファイル配信要求メッセージを受信したとき、前記複数の他の被監視装置のうちから、ファイルの再配信を行う再配信実行被監視装置と、該再配信実行被監視装置からファイルの配信を行う再配信対象被監視装置とを決定し、前記再配信実行被監視装置に決定した他の被監視装置に対して、自装置を前記ファイルの配信サーバに指定した再配信有効化メッセージを送信し、前記再配信対象被監視装置以外の他の被監視装置に対して、配信サーバの情報を自装置の情報に書き換えたファイル配信要求メッセージを転送する手段と、
他の被監視装置と接続する回線を通じて自装置宛てのファイル取得要求を受信したとき、自装置に保存された該当するファイルを要求元へ送信するファイル配信手段として機能させるためのプログラム。 Computer
When a file distribution request message is received through a line that can communicate with the monitoring apparatus through a route that does not pass through another monitored apparatus, the specified file is acquired from the specified distribution server and stored in accordance with the file distribution request message. A file acquisition means;
When a plurality of file delivery request messages addressed to another monitored device related to the same file as the file are received through the line, a redistribution execution target that performs redistribution of the file from the plurality of other monitored devices is received. A monitoring device and a redistribution target monitored device that distributes a file from the redistribution execution monitored device are determined, and the own device is assigned to the other monitored device determined as the redistribution execution monitored device. A file distribution request in which a re-distribution validation message designated to the file distribution server is transmitted, and the information of the distribution server is rewritten with the information of the own apparatus to a monitored apparatus other than the monitored apparatus to be re-distributed A means of forwarding messages;
A program for functioning as a file distribution means for transmitting a corresponding file stored in a local device to a request source when a file acquisition request addressed to the local device is received through a line connected to another monitored device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009210198A JP2011060078A (en) | 2009-09-11 | 2009-09-11 | File distribution system, file distribution method and monitored device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009210198A JP2011060078A (en) | 2009-09-11 | 2009-09-11 | File distribution system, file distribution method and monitored device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011060078A true JP2011060078A (en) | 2011-03-24 |
Family
ID=43947619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009210198A Pending JP2011060078A (en) | 2009-09-11 | 2009-09-11 | File distribution system, file distribution method and monitored device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011060078A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160024144A (en) * | 2014-08-25 | 2016-03-04 | 삼성전자주식회사 | Electronic apparatus and file transfer managing method thereof |
-
2009
- 2009-09-11 JP JP2009210198A patent/JP2011060078A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160024144A (en) * | 2014-08-25 | 2016-03-04 | 삼성전자주식회사 | Electronic apparatus and file transfer managing method thereof |
KR102232217B1 (en) * | 2014-08-25 | 2021-03-26 | 삼성전자주식회사 | Electronic apparatus and file transfer managing method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4453698B2 (en) | Relay server | |
US20070150602A1 (en) | Distributed and Replicated Sessions on Computing Grids | |
EP2230818A1 (en) | Relay server and relay communication system | |
JP5982842B2 (en) | Computer fault monitoring program, method, and apparatus | |
JP2009163316A (en) | Relay server and relay communication system | |
JP2008148046A (en) | Relay server, and relay communication system | |
JP2008148125A (en) | Relay server | |
JP2011041006A (en) | Load balancing device, load balancing method and load balancing program | |
JP2009159129A (en) | Relay server and relay communication system | |
KR101564965B1 (en) | Method and server for assigning relative order to message using vector clock and delivering the message based on the assigned relative order under distributed environment | |
JP2010109574A (en) | Gateway device, server unit, repeater and multicast communication system | |
JP5476975B2 (en) | Inter-network data distribution system, information communication terminal, content distribution server | |
JP2013161252A (en) | Redundant computer control program, method, and device | |
US6226673B1 (en) | Data distribution method and apparatus and computer program | |
JP5526780B2 (en) | Load distribution system, service processing server, load distribution method, and load distribution program | |
JP5614530B2 (en) | Information communication system, node device, information processing method, and information processing program | |
WO2018032499A1 (en) | Load balancing method and associated device | |
JP2011060078A (en) | File distribution system, file distribution method and monitored device | |
JP2011118593A (en) | Data transfer server, data transfer system, data transfer method, and program | |
JP2009009297A (en) | Data distribution method and data distributing system | |
JP4782799B2 (en) | Communication network system and data transmission / reception method between services using the same. | |
JP6522490B2 (en) | Network system, control device, and program | |
JP4588492B2 (en) | Data collection and distribution system | |
JP2001014228A (en) | System and method for file distribution, and recording medium | |
JP2006120080A (en) | Web service request relay system, web service request relay method, relay server and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD07 | Notification of extinguishment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7427 Effective date: 20120713 |