JP2011060078A - File distribution system, file distribution method and monitored device - Google Patents

File distribution system, file distribution method and monitored device Download PDF

Info

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
Application number
JP2009210198A
Other languages
Japanese (ja)
Inventor
Sadao Kimura
禎夫 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2009210198A priority Critical patent/JP2011060078A/en
Publication of JP2011060078A publication Critical patent/JP2011060078A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce loads of file distribution to a plurality of monitored devices without adding any function to a monitoring device. <P>SOLUTION: The monitoring device 131 transmits a file distribution request message to monitored devices 133 to which a file is distributed. When receiving the file distribution request message, the first monitored device 133a which can communicate with the monitoring device through a path bypassing the other monitored devices, acquires a designated file from a designated distribution server 132. When receiving a file distribution request message to the other monitored device 133b, the first monitored device 133a rewrites the information of the distribution server in the received file distribution request message as the information of the first monitored device 133a, and transfers the rewritten information. The monitored device 133b to which the transferred file distribution request message is to be distributed, acquires the designated file from the first monitored device 133a which is the designated distribution server according to the received file distribution request message. <P>COPYRIGHT: (C)2011,JPO&INPIT

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 monitoring device 131 and a file distribution server 132 are connected to a router 136 constituting a relay network 137. Of the plurality of monitored devices 133a ′ to 133d ′, the monitored device 133a ′ and the monitored device 133d ′ are connected to the relay network 137 through the upper connection line 135a and the upper connection line 135b. Further, the monitored device 133a ′ and the monitored device 133b ′ are connected by an interconnection line 134a, and the monitored device 133b ′ and the monitored device 133c ′ are connected by an interconnection line 134b, and the monitored device 133c ′ is connected. The monitored device 133d ′ is connected by an interconnection line 134c.

上記の監視装置131と、ファイル配信サーバ132と、複数の被監視装置133a'〜133d'と、中継ネットワーク137とは、IP(Internet Protocol)などの標準的なネットワークプロトコルなどにより相互の接続性を確保している。   The monitoring device 131, the file distribution server 132, the plurality of monitored devices 133a ′ to 133d ′, and the relay network 137 are connected to each other by a standard network protocol such as IP (Internet Protocol). Secured.

このようなネットワーク構成のファイル配信システムにおいて、監視装置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 devices 133a ′ to 133d ′ under the control of the monitoring device 131, first, the monitored devices 133a ′ to 133d are transmitted from the monitoring device 131. A file delivery request message is sent to '. Here, the file distribution request message includes the identifier of the monitored device to be distributed (monitored device name), the identifier of the distribution target file (file name), and the identifier of the file distribution server 132 (distribution server name). ing.

監視装置131からそれぞれの被監視装置133a'〜133d'宛てに送信されたファイル配信要求メッセージは、ルータ136、中継ネットワーク137を介して、上位接続回線135aまたは上位接続回線135bの何れかの回線に送出される。どちらの回線に送出されるかは、中継ネットワーク137上の経路情報に依存する。ここでは、上位接続回線135aに送出されたものとする。   The file distribution request message transmitted from the monitoring device 131 to each of the monitored devices 133a ′ to 133d ′ is sent to either the upper connection line 135a or the upper connection line 135b via the router 136 and the relay network 137. Sent out. Which line is sent depends on route information on the relay network 137. Here, it is assumed that the message is sent to the upper connection line 135a.

上位接続回線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 device 133a ′ sent to the upper connection line 135a is received by the monitored device 133a ′. Further, the file delivery request message addressed to the monitored device 133b ′ sent to the upper connection line 135a is relayed by the monitored device 133a ′ and received by the monitored device 133b ′. Further, the file delivery request message addressed to the monitored device 133c ′ sent to the upper connection line 135a is relayed by the monitored devices 133a ′ and 133b ′ and received by the monitored device 133c ′. The file delivery request message addressed to the monitored device 133d ′ sent to the upper connection line 135a is relayed by the monitored devices 133a ′ to 133c ′ and received by the monitored device 133d ′.

被監視装置133a'〜133d'は、図18に示すような構成を有している。複数の外部接続ポート112a〜112eは、自装置133'を他の装置と接続するためのポートである。被監視装置133'は、外部接続ポート112から入力されたメッセージに関して、自装置を宛先とするか、あるいは自装置以外を宛先とするかを判断し、前者であれば自装置で当該メッセージを受信し、後者であれば宛先に応じた適切な外部接続ポート112に当該メッセージを転送する機能を持つ。このような機能は規格化された方式に基づくものであるため、その詳細な説明は省略する。   The monitored devices 133a ′ to 133d ′ have a configuration as shown in FIG. The plurality of external connection ports 112a to 112e are ports for connecting the own device 133 ′ to other devices. The monitored device 133 ′ determines whether the message input from the external connection port 112 is set to the own device or the 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 corresponding to the destination. Since such a function is based on a standardized method, detailed description thereof is omitted.

また、被監視装置133'は、外部接続ポート112を介して接続されるファイル配信サーバからファイルを取得するファイル取得部115'と、取得したファイルを格納するファイル格納部117'とを備えている。   The monitored device 133 ′ includes a file acquisition unit 115 ′ that acquires a file from a file distribution server connected via the external connection port 112, and a file storage unit 117 ′ that stores the acquired file. .

自装置宛てのファイル配信メッセージを受信した被監視装置133a'は、ファイル取得部115'により、当該ファイル配信メッセージで指定されたファイル配信サーバ132に対して同メッセージで指定されたファイルの取得を要求する。このファイル取得要求は、外部接続ポートに接続された上位接続回線135a、中継ネットワーク137、ルータ136を通じてファイル配信サーバ132に届けられる。ファイル配信サーバ132は、このファイル取得要求を解析し、要求されたファイルを要求元の被監視装置133a'宛てに送信する。送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135aを通じて被監視装置133a'に届けられる。被監視装置133a'のファイル取得部115'は、受信したファイルをファイル格納部117'に格納する。   The monitored device 133a ′ that has received the file distribution message addressed to itself requests the file acquisition unit 115 ′ to acquire the file specified by the message from the file distribution server 132 specified by the file distribution message. To do. This file acquisition request is delivered to the file distribution server 132 through the upper connection line 135a connected to the external connection port, the relay network 137, and the router 136. The file distribution server 132 analyzes this file acquisition request and transmits the requested file to the requesting monitored device 133a ′. The transmitted file is delivered to the monitored device 133a ′ through the router 136, the relay network 137, and the upper connection line 135a. The file acquisition unit 115 ′ of the monitored device 133a ′ stores the received file in the file storage unit 117 ′.

他の被監視装置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 devices 133b ′ to 133d ′ also transmit a file acquisition request to the file distribution server 132 in the same manner as the monitored device 133a ′. At this time, the file acquisition request transmitted from the monitored device 133b ′ is delivered to the file distribution server 132 through the monitored device 133a ′, the upper connection line 135a, the relay network 137, and the router 136. The file acquisition request transmitted from the monitored device 133c ′ is delivered to the file distribution server 132 through the monitored devices 133b and 133a ′, the upper connection line 135a, the relay network 137, and the router 136. The file acquisition request transmitted from the monitored device 133d ′ is delivered to the file distribution server 132 through the monitored devices 133c ′, 133b ′, 133a ′, the upper connection line 135a, the relay network 137, and the router 136.

これらのファイル取得要求を受信したファイル配信サーバ132は、要求されたファイルを要求元の被監視装置133b'〜133d'宛てに送信する。このとき、被監視装置133b'宛てに送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135a、被監視装置133a'を通じて、被監視装置133b'に届けられる。また、被監視装置133c'宛てに送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135a'、被監視装置133a'、被監視装置133b'を通じて、被監視装置133c'に届けられる。また、被監視装置133d'宛てに送信されたファイルは、ルータ136、中継ネットワーク137、上位接続回線135a'、被監視装置133b'、被監視装置133c'を通じて、被監視装置133d'に届けられる。   The file distribution server 132 that has received these file acquisition requests transmits the requested file to the request-target monitored devices 133b ′ to 133d ′. At this time, the file transmitted to the monitored device 133b ′ is delivered to the monitored device 133b ′ through the router 136, the relay network 137, the upper connection line 135a, and the monitored device 133a ′. The file transmitted to the monitored device 133c ′ is delivered to the monitored device 133c ′ through the router 136, the relay network 137, the upper connection line 135a ′, the monitored device 133a ′, and the monitored device 133b ′. The file transmitted to the monitored device 133d ′ is delivered to the monitored device 133d ′ through the router 136, the relay network 137, the upper connection line 135a ′, the monitored device 133b ′, and the monitored device 133c ′.

他方、特許文献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.

特開2007−228558号公報JP 2007-228558 A

上述した第1の関連技術によれば、被監視装置133a'〜133d'の全てがファイル配信サーバ132に対してファイル取得要求を送出するため、ファイル配信サーバ132に大きな負荷がかかり、また中継ネットワーク137および上位接続回線135aに流れるデータ量が増加する。   According to the first related technology described above, since all of the monitored devices 133a ′ to 133d ′ send a file acquisition request to the file distribution server 132, a large load is applied to the file distribution server 132, and a relay network is used. The amount of data flowing through 137 and the upper connection line 135a increases.

他方、上述した第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 monitoring device 131.

本発明はこのような事情に鑑みて提案されたものであり、その目的は、ファイルの配信元を分散するためには監視装置への機能追加が必要になるという課題を解決するファイル配信システム、ファイル配信方法、被監視装置およびそのプログラムを提供することにある。   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の実施の形態に係るファイル配信システムのブロック図である。It is a block diagram of the file delivery system concerning a 1st embodiment of the present invention. 本発明の第1の実施の形態における被監視装置のブロック図である。It is a block diagram of the monitored apparatus in the 1st embodiment of the present invention. 本発明の第1の実施の形態における被監視装置の処理例を示すフローチャートである。It is a flowchart which shows the process example of the to-be-monitored apparatus in the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて監視装置が複数のファイル配信要求メッセージを送出する様子を示す図である。It is a figure which shows a mode that the monitoring apparatus transmits several file delivery request messages in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置が自装置宛てのファイル配信要求メッセージを受信した際の動作を示す図である。It is a figure which shows operation | movement when the to-be-monitored apparatus receives the file delivery request message addressed to an own apparatus in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置がファイル取得要求を送信する際の動作を示す図である。It is a figure which shows operation | movement when the to-be-monitored apparatus transmits a file acquisition request in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置がファイルを取得した際の動作を示す図である。It is a figure which shows operation | movement when the to-be-monitored apparatus acquires a file in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置が他装置宛てのファイル配信要求メッセージを受信した際の動作を示す図である。It is a figure which shows operation | movement when the to-be-monitored apparatus receives the file delivery request message addressed to another apparatus in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置が他装置宛てのファイル配信要求メッセージを書き換えて中継する際の動作を示す図である。It is a figure which shows the operation | movement at the time of the monitored apparatus rewriting and relaying the file delivery request message addressed to another apparatus in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置が他の被監視装置からファイル取得要求を受信した際の動作を示す図である。It is a figure which shows operation | movement when the to-be-monitored apparatus receives the file acquisition request from another to-be-monitored apparatus in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファイル配信システムにおいて被監視装置から他の被監視装置へファイルが配信される様子を示す図である。It is a figure which shows a mode that a file is delivered from the to-be-monitored apparatus to another to-be-monitored apparatus in the file delivery system which concerns on the 1st Embodiment of this invention. 本発明の第2の実施の形態に係るファイル配信システムのブロック図である。It is a block diagram of the file delivery system which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態における被監視装置のブロック図である。It is a block diagram of the to-be-monitored apparatus in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における被監視装置の処理例を示すフローチャートである。It is a flowchart which shows the process example of the to-be-monitored apparatus in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における被監視装置の処理例を示すフローチャートである。It is a flowchart which shows the process example of the to-be-monitored apparatus in the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係るファイル配信システムにおいて被監視装置から他の被監視装置へファイルが配信される様子を示す図である。It is a figure which shows a mode that a file is delivered from the to-be-monitored apparatus to another to-be-monitored apparatus in the file delivery system which concerns on the 2nd Embodiment of this invention. 本発明に関連する第1の関連技術によるファイル配信システムのブロック図である。[BRIEF DESCRIPTION OF THE DRAWINGS] It is a block diagram of the file delivery system by the 1st related technique relevant to this invention. 本発明に関連する第1の関連技術によるファイル配信システムにおける被監視装置のブロック図である。It is a block diagram of the monitored apparatus in the file delivery system by the 1st related technique relevant to this invention. 本発明に関連する第1の関連技術によるファイル配信システムにおけるファイル配信状況を示す図である。It is a figure which shows the file delivery condition in the file delivery system by the 1st related technique relevant to this invention.

[第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 monitoring device 131, a file distribution server 132, and a relay including a router 136 to which the monitoring device 131 and the file distribution server 132 are connected. A network 137, a monitored device 133a connected to the relay network 137 through a higher-level connection line 135a, a monitored device 133b connected to the monitored device 133a through an interconnection line 134a, and the monitored device 133b A monitored device 133c connected through the connection line 134b, and a monitored device 133d connected to the monitored device 133c through the interconnection line 134c and connected to the relay network 137 through the upper connection line 135d. .

上述の中継ネットワーク137、監視装置131、ファイル配信サーバ132、複数台の被監視装置133a〜133dは、IPなどの標準的なネットワークプロトコルなどにより相互に通信可能に接続されている。   The relay network 137, the monitoring device 131, the file distribution server 132, and the plurality of monitored devices 133a to 133d are connected to be communicable with each other by a standard network protocol such as IP.

監視装置131は、複数台の被監視装置133a〜133dへのファイル配信を管理する機能を有するコンピュータである。監視装置131は、被監視装置133a〜133dのそれぞれに対してファイル配信を実施する場合、それぞれの被監視装置133a〜133dに対して個別にファイル配信要求メッセージを送信する。ファイル配信要求メッセージは、対象とする被監視装置を一意に特定する被監視装置識別子(被監視装置名)、配信するファイルを一意に特定する配信ファイル識別子(ファイル名)、ファイルの配布元を一意に特定する配信サーバ識別子(配信サーバ名)を含む。   The monitoring device 131 is a computer having a function of managing file distribution to a plurality of monitored devices 133a to 133d. When the monitoring device 131 performs file distribution to each of the monitored devices 133a to 133d, the monitoring device 131 individually transmits a file distribution request message to each of the monitored devices 133a to 133d. The file distribution request message includes a monitored device identifier (monitored device name) that uniquely identifies a target monitored device, a distribution file identifier (file name) that uniquely identifies a file to be distributed, and a unique file distribution source. Includes a distribution server identifier (distribution server name).

ファイル配信サーバ132は、配信するファイルを保持する記憶装置を備えたコンピュータである。ファイル配信サーバ132は、配信ファイル名を含むファイル配信要求を受信したとき、配信ファイル名で特定される配信ファイルを記憶装置から読み出し、配信要求元へ送信する機能を有する。   The file distribution server 132 is a computer that includes a storage device that holds files to be distributed. When the file distribution server 132 receives a file distribution request including a distribution file name, the file distribution server 132 has a function of reading out the distribution file specified by the distribution file name from the storage device and transmitting it to the distribution request source.

各々の被監視装置133a〜133dは、配信されたファイルを保持する記憶装置を備えたコンピュータである。被監視装置133a〜133dの一例を図2に示す。   Each of the monitored devices 133a to 133d is a computer including a storage device that holds a distributed file. An example of the monitored devices 133a to 133d is shown in FIG.

図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 message extraction unit 113 having a function of extracting the file distribution request message input from the external connection port 112. The message editing / retransmission unit 114, the file acquisition unit 115 that acquires a file from the distribution server connected via the external connection port 112, the file storage unit 117 that stores the acquired file in the storage device, and the file A storage file list 118 that is management information of files stored in the storage unit 117 is provided. The stored file list 118 records the distribution file name and the state of the file (during acquisition, already acquired).

図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 message extraction unit 113, the file distribution request message addressed to the own device and the file distribution request message addressed to the other device via the own device input from the external connection port 112 (S101). . At this time, the message extraction unit 113 extracts only the file distribution request message addressed to the own device and addressed to the other device, which is input from the external connection port 112 to which a preset type of line is connected. Specifically, only the file distribution request message addressed to the own device and other devices input from the external connection port 112 connected to the upper connection line is extracted. Alternatively, the message extraction unit 113 extracts only the file delivery request message addressed to the own device and other devices input from the external connection port 112 set in advance as a port for message extraction.

メッセージ抽出部113は、抽出したファイル配信要求メッセージを解析して、そのメッセージから配信サーバ名と配信ファイル名を取得し、この取得した配信ファイル名をキーに格納ファイルリスト118を検索して、同じ配信ファイル名が格納ファイルリスト118に記録されているかどうかを調査する(S102)。   The message extraction unit 113 analyzes the extracted file distribution request message, acquires a distribution server name and a distribution file name from the message, searches the storage file list 118 using the acquired distribution file name as a key, and the same It is investigated whether the distribution file name is recorded in the storage file list 118 (S102).

調査の結果、同じ配信ファイル名が格納ファイルリスト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 message extraction unit 113 notifies the file acquisition unit 115 of the acquired distribution server name and distribution file name. The file acquisition unit 115 registers the notified distribution file name in the storage file list 118, sets the status to “acquiring” (S103), and then notifies the file with the notified distribution file name from the notified distribution server. Obtain (S104). Specifically, the distribution server with the notified distribution server name is the destination, the own device is the request source, and a file acquisition request including the notified distribution file name is transmitted from the external connection port 112 leading to the distribution server. In response to this file acquisition request, it waits for the delivery file transmitted from the delivery server to be received. When the distribution file is received, the file acquisition unit 115 stores the received distribution file in the file storage unit 117 and displays the status corresponding to the file name of the distribution file recorded in the storage file list 118 as “acquired”. (S105). Then, the monitored device 133 proceeds to the process of step S108.

他方、調査の結果、同じ配信ファイル名が格納ファイルリスト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 message extraction unit 113 determines whether the status of the file is “acquired” (S106). If it has been acquired, the monitored device 133 proceeds to the process of step S108. If it is not already acquired but is being acquired, the monitored device 133 waits until the state of the file is already acquired. Then, when the file acquisition unit 115 receives the distribution file and stores it in the file storage unit 117, and when the state of the file in the storage file list 118 is already acquired, the process proceeds to step S108.

ステップ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 / retransmission unit 114 to specify the distribution server name in the file distribution request message extracted this time. The name is rewritten and sent to the external connection port leading to the destination (S109). Then, the process of FIG. 3 is finished.

再送出されたファイル配信要求メッセージは、宛先の被監視装置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 file acquisition unit 115 requests the distribution server with the file distribution name specified in the received file distribution message to acquire the file with the distribution file name specified in the message. As described above, since the distribution server name in the file distribution request message is rewritten to the identification name of the monitored device 133 that has edited the message, the file acquisition request is addressed to the monitored device 133 that has performed the message editing. Sent to. The file delivery unit 116 of the monitored device 133 that has edited the message receives this file acquisition request message, reads the requested delivery file from the file storage unit 117, and transmits it to the requested monitored device 133.

次に、本実施の形態に係るファイル配信システムの全体の動作を説明する。   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 devices 133a to 133d under the control of the monitoring device 131, the monitoring device 131 first sends a file to each monitored device 133a to 133d as shown in FIG. Distribution request messages 151a to 151d are individually transmitted. Here, the file distribution request messages 151a to 151d include an identifier of the monitored device 133 to be distributed (monitored device name), an identifier of the distribution target file (file name), and an identifier of the file distribution server 132 (distribution server name). )It is included. The sending order of the plurality of messages 151a to 151d is arbitrary. Here, it is assumed that the messages are transmitted in the order of 151a, 151b, 151c, and 151d.

監視装置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 monitoring device 131 to the respective monitored devices 133a to 133d are sent via the router 136 and the relay network 137 to either the upper connection line 135a or the upper connection line 135b. Is sent out. Which line is sent depends on route information on the relay network 137. Here, assuming that the file delivery request messages 151a, 151b, 151c, and 151d are sent to the upper connection line 135a in this order, the messages arrive at the monitored device 133a in that order.

被監視装置133aは、図5に示すように、上位接続回線135aに接続された外部接続ポート112を通じてファイル配信要求メッセージ151aを受信する。被監視装置133aは、後続のファイル配信要求メッセージ151b〜151dを受信した場合、それらの処理を待機状態とし、先に受信したファイル配信要求メッセージ151aの処理が完了次第、受信順に処理を行う。   As shown in FIG. 5, the monitored device 133a receives the file distribution request message 151a through the external connection port 112 connected to the upper connection line 135a. When the monitored device 133a receives the subsequent file distribution request messages 151b to 151d, the monitored device 133a sets the processes in a standby state, and performs the processing in the order of reception as soon as the processing of the previously received file distribution request message 151a is completed.

まず、被監視装置133aのメッセージ抽出部113は、ファイル配信要求メッセージ151aを抽出し、この抽出したメッセージで指定された配信ファイル名が格納ファイルリスト118に記録されているか否かを確認する(図5中の処理161)。今、格納ファイルリスト118には図5中に示すように1つも配信ファイル名が記録されていないものとすると、メッセージ抽出部113は、ファイル取得部115に対してファイルAの取得を要求する。   First, the message extraction unit 113 of the monitored device 133a extracts the file distribution request message 151a, and checks whether or not the distribution file name specified by the extracted message is recorded in the storage file list 118 (FIG. 5 in process 161). Assuming that no distribution file name is recorded in the stored file list 118 as shown in FIG. 5, the message extraction unit 113 requests the file acquisition unit 115 to acquire the file A.

ファイル取得部115は、図6に示すように、上記抽出されたメッセージ中の配信ファイル名を格納ファイルリスト118に登録して、その状態を「取得中」に設定し、上記抽出されたメッセージで指定された配信サーバであるファイル配信サーバ132に対して、配信ファイル名を含むファイル取得要求を送信する(図6の処理163)。今回処理したファイル取得要求151aは自装置宛てであるため、被監視装置133aは、以上でファイル取得要求151aに関する図3の処理を終了する。   As shown in FIG. 6, the file acquisition unit 115 registers the distribution file name in the extracted message in the storage file list 118, sets the status to “acquiring”, and uses the extracted message A file acquisition request including the distribution file name is transmitted to the file distribution server 132 which is the designated distribution server (process 163 in FIG. 6). Since the file acquisition request 151a processed this time is addressed to its own apparatus, the monitored apparatus 133a ends the processing of FIG. 3 relating to the file acquisition request 151a.

上記のファイル取得要求は、上位接続回線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 file distribution server 132 through the upper connection line 135a, the relay network 137, and the router 136. In accordance with the received file acquisition request, the file distribution server 132 transmits the requested distribution file A to the requesting monitored device 133a. The transmitted distribution file A is delivered to the monitored device 133a through the router 136, the relay network 137, and the upper connection line 135a. When the file acquisition unit 115 of the monitored device 133a receives the distribution file A from the file distribution server 132, the file acquisition unit 115 stores the distribution file A in the file storage unit 117 and updates the state of the file in the storage file list 118 to “acquired” (FIG. 7 processing 164).

被監視装置133aは、ファイル取得要求151aに関連する図3の処理を終えると、次のファイル取得要求151bの処理を開始する。   When the monitored device 133a finishes the processing of FIG. 3 related to the file acquisition request 151a, the monitored device 133a starts the processing of the next file acquisition request 151b.

被監視装置133aのメッセージ抽出部113は、ファイル配信要求メッセージ151bを抽出し、この抽出したメッセージで指定された配信ファイル名が格納ファイルリスト118に記録されているか否かを確認する。今の場合、先に受信されたファイル配信要求メッセージ151aの上述した処理により、格納ファイルリスト118には図8に示すように、ファイルAが既に記録されている。従って、被監視装置133aは、ファイルAの状態を確認し、「取得済」であれば直ちに、「取得中」であれば「取得済」になるまで待機した後、メッセージ編集・再送出部114による処理を行う。すなわち、図9に示すように、メッセージ編集・再送出部114は、ファイル配信要求メッセージ151b中の配信サーバ名を自装置133aの名前に書き換えて、相互接続回線134aに接続された外部接続ポート112に送出する。   The message extraction unit 113 of the monitored device 133a extracts the file distribution request message 151b, and confirms whether or not the distribution file name specified by the extracted message is recorded in the storage file list 118. In this case, the file A is already recorded in the stored file list 118 as shown in FIG. 8 by the above-described processing of the file distribution request message 151a received earlier. Accordingly, the monitored device 133a checks the state of the file A, and immediately waits for “acquired” until it becomes “acquired” if it is “acquiring”, and then edits and retransmits the message 114 Process by. That is, as shown in FIG. 9, the message editing / retransmission unit 114 rewrites the distribution server name in the file distribution request message 151b with the name of its own device 133a, and connects to the external connection port 112 connected to the interconnection line 134a. To send.

上記のファイル配信要求メッセージ151bは、相互接続回線134aを通じて宛先の被監視装置133bに届けられる。被監視装置133bは、このファイル配信要求メッセージ151bを受信すると、ファイル取得部115により、ファイル名Aが格納ファイルリスト118に記録されていないことを確認し、ファイル配信メッセージ151bで配信サーバに指定された被監視装置133aに対して同メッセージで指定されたファイルAの取得を要求する。このファイル取得要求は、相互接続回線134aを通じて宛先の被監視装置133aに届けられる。   The file delivery request message 151b is delivered to the destination monitored device 133b through the interconnection line 134a. When the monitored device 133b receives this file distribution request message 151b, the file acquisition unit 115 confirms that the file name A is not recorded in the storage file list 118, and is designated as a distribution server by the file distribution message 151b. The monitored device 133a is requested to acquire the file A specified by the message. This file acquisition request is delivered to the destination monitored device 133a through the interconnection line 134a.

被監視装置133aは、図10に示すように、ファイル配信部116により、このファイル取得要求を解析し、要求されたファイルAをファイル格納部117から読み出して要求元の被監視装置133b宛てに送信する。送信されたファイルAは、相互接続回線134aを通じて被監視装置133bに届けられる。被監視装置133bのファイル取得部115は、受信したファイルAをファイル格納部117に格納し、格納ファイルリスト118のファイル名の状態を取得済に更新する。   As shown in FIG. 10, the monitored device 133a analyzes the file acquisition request by the file distribution unit 116, reads the requested file A from the file storage unit 117, and transmits it to the requested monitored device 133b. To do. The transmitted file A is delivered to the monitored device 133b through the interconnection line 134a. The file acquisition unit 115 of the monitored device 133b stores the received file A in the file storage unit 117, and updates the state of the file name in the storage file list 118 to acquired.

残りのファイル配信メッセージ151c、151dについても、ファイル配信メッセージ151bと同様に処理される。これにより、ファイルAの被監視装置133c、133dへの配信は、被監視装置133aが配信サーバとなって実施される。   The remaining file delivery messages 151c and 151d are processed in the same manner as the file delivery message 151b. As a result, the file A is distributed to the monitored devices 133c and 133d by using the monitored device 133a as a distribution server.

このように本実施の形態によれば、監視装置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 file delivery server 132 as the delivery server and the file A as the delivery file for each of the monitored devices 133a to 133d from the monitoring device 131. Is transmitted to the monitored device 133a from the file distribution server 132, but the monitored devices 133b, 133c, and 133d are monitored by the monitored device 133a as shown in FIG. File A is distributed as a distribution server. As a result, the load on the file distribution server 132 is reduced, and an increase in the amount of data due to the same file flowing over and over the relay network 137 and the upper connection line 135a is suppressed.

また、上位接続回線135aに接続された被監視装置133aが、自装置を経由する他の被監視装置宛てのファイル取得要求メッセージを検出することにより自動的に配信サーバとして振る舞うため、ファイルの配布元を分散するために監視装置131へ新たに機能を追加する必要はない。   Further, since the monitored device 133a connected to the upper connection line 135a automatically acts as a distribution server by detecting a file acquisition request message addressed to another monitored device via its own device, the file distribution source Therefore, it is not necessary to add a new function to the monitoring device 131 in order to distribute.

[第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 devices 138a to 138d are provided.

図13を参照すると、被監視装置138は、図2に示した第1の実施の形態における被監視装置133と比較して、ネットワークトポロジ管理部161、再配信装置選定部162、再配信有効化メッセージ処理部163が新たに追加されている点で相違する。また、メッセージ編集・再送出部114およびファイル取得部115の機能が第1の実施の形態とは一部相違する。   Referring to FIG. 13, the monitored device 138 has a network topology management unit 161, a redistribution device selection unit 162, and a redistribution validation compared with the monitored device 133 in the first embodiment shown in FIG. The difference is that a message processing unit 163 is newly added. The functions of the message editing / retransmission unit 114 and the file acquisition unit 115 are partially different from those of the first embodiment.

ネットワークトポロジ管理部161は、被監視装置138間の相互接続回線により構成されるネットワークのトポロジ情報を保持する。具体的には、図12のネットワークの場合、被監視装置138aと被監視装置138bとが相互接続回線134aにより接続されていること、被監視装置138bと被監視装置138cとが相互接続回線134bにより接続されていること、被監視装置138cと被監視装置138dとが相互接続回線134cにより接続されていることが、トポロジ情報に記録されている。   The network topology management unit 161 holds network topology information configured by interconnection lines between monitored devices 138. Specifically, in the case of the network of FIG. 12, the monitored device 138a and the monitored device 138b are connected by the interconnection line 134a, and the monitored device 138b and the monitored device 138c are connected by the interconnection line 134b. It is recorded in the topology information that they are connected and that the monitored device 138c and the monitored device 138d are connected by the interconnection line 134c.

ここで、ネットワークがIPなどの標準的なプロトコルを使用して構成されている場合、ネットワークトポロジ管理部161は、それら標準として規定されたルーティングプロトコルにより構築されるルーティングテーブルを使用してもよい。   Here, when the network is configured using a standard protocol such as IP, the network topology management unit 161 may use a routing table constructed by a routing protocol defined as the standard.

再配信装置選定部162は、メッセージ抽出部113で抽出されたファイル配信要求メッセージを全て受け取り、配信対象ファイル名が同一の他装置宛ての複数のファイル配信要求メッセージ毎に、上記のネットワークトポロジ情報を参照して、再配信実行装置とする1以上の他の被監視装置と、当該再配信実行装置からファイルの再配信を行う1以上の被監視装置(再配信対象装置)とを決定する機能を有する。決定する基準は任意であるが、ファイルの再配信経路が最短となるように、再配信実行装置と再配信対象装置とを決定するのが望ましい。   The redistribution device selection unit 162 receives all the file distribution request messages extracted by the message extraction unit 113, and obtains the network topology information for each of a plurality of file distribution request messages addressed to other devices having the same distribution target file name. Referring to the function of determining one or more other monitored devices that are redistribution execution devices and one or more monitored devices (redistribution target devices) that redistribute files from the redistribution execution devices. Have. The determination criterion is arbitrary, but it is desirable to determine the redistribution execution apparatus and the redistribution target apparatus so that the redistribution path of the file is the shortest.

再配信有効化メッセージ処理部163は、再配信装置選定部162で再配信実行装置として他の被監視装置に対して、再配信対象とする配信ファイル名と、配信サーバの識別子としての自装置名と、再配信対象装置とする被監視装置名とを含み、再配信機能の有効化を指示する再配信有効化メッセージを送信する機能を有する。   The redistribution validation message processing unit 163 uses the redistribution device selection unit 162 as a redistribution execution device to another monitored device, the distribution file name to be redistributed, and the own device name as the identifier of the distribution server And a monitored device name as a redistribution target device, and has a function of transmitting a redistribution validation message instructing validation of the redistribution function.

また、再配信有効化メッセージ処理部163は、他の被監視装置から自装置宛てに上記再配信有効化メッセージを受信した場合、上記再配信有効化メッセージで再配信の対象に指定された被監視装置に対して、その被監視装置名と、配信対象ファイル名と、配信サーバの識別子としての自装置名とを含むファイル配信要求メッセージを送信する機能を有する。さらに、再配信有効化メッセージ処理部163は、他の被監視装置から受信した自装置宛ての上記再配信有効化メッセージをファイル取得部115に伝達する。   In addition, when the redistribution validation message processing unit 163 receives the redistribution validation message addressed to itself from another monitored device, the redelivery validation message processing unit 163 is designated as the target of redistribution by the redistribution validation message. The device has a function of transmitting a file distribution request message including the monitored device name, the distribution target file name, and the own device name as an identifier of the distribution server to the device. Further, the redistribution validation message processing unit 163 transmits the redistribution validation message addressed to itself received from another monitored device to the file acquisition unit 115.

ファイル取得部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 file acquisition unit 115 sends the file acquisition unit 115 to the distribution server specified in the redistribution activation message. Then, a file acquisition request for requesting the distribution target file is transmitted, and the distribution target file acquired thereby is stored in the file storage unit 117.

また、メッセージ編集・再送出部114は、配信対象ファイル名が同一の他装置宛ての上記複数のファイル配信要求メッセージのうち、再配信実行装置からファイルの配信を行うと決定した再配信対象の被監視装置宛て以外のファイル配信要求メッセージについて、それに含まれるファイル配信サーバ名を自装置名に書き換えて中継し、再配信対象の被監視装置宛てのファイル配信要求メッセージについては、中継処理を行わずに廃棄する。なお、再配信実行装置として選定された被監視装置は上記の再配信有効化メッセージの受信時に再配信対象ファイルの取得を行うため、再配信実行装置として選定された被監視装置宛てのファイル配信要求メッセージについても、中継せずに廃棄しても良い。   Further, the message editing / retransmission unit 114, among the plurality of file distribution request messages addressed to other apparatuses having the same distribution target file name, determines the target of the distribution target determined to distribute the file from the redistribution execution apparatus. For file delivery request messages other than those addressed to the monitoring device, rewrite the file delivery server name included in the message to its own device name and relay it. For file delivery request messages destined for the redistributed monitored device, relay processing is not performed. Discard. Since the monitored device selected as the redistribution execution device acquires the redistribution target file upon reception of the above redistribution validation message, the file distribution request addressed to the monitored device selected as the redistribution execution device Messages may also be discarded without being relayed.

図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 message extraction unit 113, the monitored apparatus 138 extracts the file distribution request message addressed to the own apparatus input from the external connection port 112 and the file distribution request message addressed to the other apparatus via the own apparatus (S201). . At this time, the message extraction unit 113 extracts only the file distribution request message addressed to the own device and addressed to the other device, which is input from the external connection port 112 to which a preset type of line is connected. Specifically, only the file distribution request message addressed to the own device and other devices input from the external connection port 112 connected to the upper connection line is extracted. Alternatively, the message extraction unit 113 extracts only the file delivery request message addressed to the own device and other devices input from the external connection port 112 set in advance as a port for message extraction.

また、メッセージ抽出部113は、外部接続ポート112より複数のファイル配信要求メッセージ(自装置宛てのファイル配信要求メッセージまたは自装置を経由する他装置宛てのファイル配信要求メッセージ)を抽出した場合、そのうちの一つについて処理を開始し、残りは待機状態とする。処理する順番は、抽出順(受信順)であっても良いし、自装置宛てのファイル配信要求メッセージが含まれていれば、自装置宛てのファイル配信要求メッセージを優先的に処理するようにしても良い。   Further, when the message extraction unit 113 extracts a plurality of file distribution request messages (file distribution request messages addressed to the own device or file distribution request messages addressed to other devices via the own device) from the external connection port 112, Processing is started for one and the rest is in a standby state. The processing order may be the extraction order (reception order), and if the file delivery request message addressed to the own device is included, the file delivery request message addressed to the own device is processed with priority. Also good.

メッセージ抽出部113は、抽出したファイル配信要求メッセージを解析して、そのメッセージから配信サーバ名と配信ファイル名を取得し、この取得した配信ファイル名をキーに格納ファイルリスト118を検索して、同じ配信ファイル名が格納ファイルリスト118に記録されているかどうかを調査する(S202)。   The message extraction unit 113 analyzes the extracted file distribution request message, acquires a distribution server name and a distribution file name from the message, searches the storage file list 118 using the acquired distribution file name as a key, and the same It is checked whether the distribution file name is recorded in the storage file list 118 (S202).

調査の結果、同じ配信ファイル名が格納ファイルリスト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 message extraction unit 113 notifies the file acquisition unit 115 of the acquired distribution server name and distribution file name. The file acquisition unit 115 registers the notified distribution file name in the storage file list 118, sets the status to “acquiring” (S203), and then notifies the file with the notified distribution file name from the notified distribution server. Obtain (S204). Specifically, the distribution server with the notified distribution server name is the destination, the own device is the request source, and a file acquisition request including the notified distribution file name is transmitted from the external connection port 112 leading to the distribution server. In response to this file acquisition request, it waits for the delivery file transmitted from the delivery server to be received. When the distribution file is received, the file acquisition unit 115 stores the received distribution file in the file storage unit 117 and displays the status corresponding to the file name of the distribution file recorded in the storage file list 118 as “acquired”. (S205). Then, the monitored device 138 proceeds to the process of step S208.

他方、調査の結果、同じ配信ファイル名が格納ファイルリスト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 message extraction unit 113 determines whether the state of the file is “acquired” (S206). If it has been acquired, the monitored apparatus 138 proceeds to the process of step S208. If it is not acquired but is being acquired, the monitored device 138 waits until the status of the file becomes acquired. Then, when the file acquisition unit 115 receives the distribution file and stores it in the file storage unit 117, and when the state of the file in the storage file list 118 is already acquired, the process proceeds to step S208.

ステップ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 / retransmission unit 114 to specify the name of the delivery server in the file delivery request message extracted this time. The name is rewritten and sent to the external connection port leading to the destination (S213). Then, the processes in FIGS. 14 and 15 are finished.

再送出されたファイル配信要求メッセージは、宛先の被監視装置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 file acquisition unit 115 requests the distribution server specified by the received file distribution message to acquire the file specified by the message. As described above, the distribution server name in the file distribution request message is rewritten to the identification name of the monitored device 138 that has edited the message, so that the file acquisition request is addressed to the monitored device 138 that has performed the message editing. Sent to. The file delivery unit 116 of the monitored device 138 that has edited the message receives this file acquisition request message, reads the requested delivery file from the file storage unit 117, and transmits it to the requested monitored device 138.

他方、ステップ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 device selection unit 162 refers to the network topology information and waits for them. Among the destination devices of the file distribution request message in the middle, a monitored device to be a redistribution execution device and a monitored device to be redistributed to be redistributed from the redistribution execution device are selected (S209). Next, the redistribution validation message processing unit 163 transmits a redistribution validation message to the monitored apparatus selected as the redistribution execution apparatus (S210). Further, the message editing / retransmission unit 114 rewrites the distribution server name in the waiting file distribution request message destined for a device other than the monitored device to be redistributed with the own device name and retransmits it (S211). Then, the processes in FIGS. 14 and 15 are finished.

次に、本実施の形態に係るファイル配信システムの全体の動作を説明する。   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 devices 138a to 138d under the control of the monitoring device 131, the monitoring device 131 first has the respective monitored devices 138a as in FIG. 4 of the first embodiment. File delivery request messages 151a to 151d are individually transmitted to .about.138d. Here, the file distribution request messages 151 a to 151 d include the identifier of the monitored device 138 to be distributed, the identifier of the distribution target file, and the identifier of the file distribution server 132. As for the order of sending out the plurality of messages 151a to 151d, it is desirable to send the monitored device 138 connected to the upper connection line first. Here, it is assumed that the messages are sent in the order of 151a, 151d, 151b, and 151c.

監視装置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 monitoring device 131 to the respective monitored devices 138a to 138d are sent to either the upper connection line 135a or the upper connection line 135b via the router 136 and the relay network 137. Is sent out. Which line is sent depends on route information on the relay network 137. Here, assuming that the file delivery request messages 151a, 151d, 151b, and 151c are sent to the upper connection line 135a in this order, they arrive at the monitored device 138a in that order.

被監視装置138aは、ファイル配信要求メッセージ151aを抽出すると(S201)、後続のファイル配信要求メッセージ151b〜151dを待機状態とする。被監視装置138aは、抽出されたファイル配信要求151aに対して、第1の実施の形態における図3のステップS102〜S107と同様の処理を実行する(図14のS202〜S207)。   When the monitored device 138a extracts the file delivery request message 151a (S201), the monitored device 138a places the subsequent file delivery request messages 151b to 151d in a standby state. The monitored apparatus 138a performs the same processing as the steps S102 to S107 of FIG. 3 in the first embodiment on the extracted file distribution request 151a (S202 to S207 of FIG. 14).

次に被監視装置138aは、同一配信ファイルAを指定した待機中の他装置宛ての複数のファイル配信要求メッセージ151b〜151dが存在するので(S208)、再配信装置選定部162による処理を行う(S209)。具体的には、再配信装置選定部162は、ネットワークトポロジ情報を参照して、これら待機中のファイル配信要求メッセージ151b〜151dの宛先装置138b〜138dの中から、ファイルの再配信経路が最短になるように、再配信実行装置とする被監視装置とこの再配信実行装置から再配信を行う再配信対象の被監視装置とを選定する。   Next, since there are a plurality of file delivery request messages 151b to 151d addressed to other waiting apparatuses that designate the same delivery file A (S208), the monitored device 138a performs processing by the redistribution device selection unit 162 (S208). S209). Specifically, the redistribution apparatus selection unit 162 refers to the network topology information, and the file redistribution path is the shortest among the destination apparatuses 138b to 138d of the waiting file distribution request messages 151b to 151d. In this manner, a monitored device to be a redistribution execution device and a monitored device to be redistributed to be redistributed from the redistribution execution device are selected.

今の場合、例えば、図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 device 138c is a redistribution execution device and the monitored device 138d is a redistribution target to be redistributed from the monitored device 138c, the monitored device 138a The total distance of the route through which the file is distributed to the monitored devices 138b, 138c, and 138d is 1 + 2 + 1 = 4, for example, where the distance connected by one interconnection line is 1, and is the shortest.

次に、再配信有効化メッセージ処理部163は、再配信実行装置に選定された被監視装置138cに対して再配信有効化メッセージを送信する(S210)。また、メッセージ編集・再送出部114は、再配信対象装置である被監視装置138d以外を宛先とする待機中のファイル配信要求メッセージ151b、151c中の配信サーバを自装置に書き換えて再送出する(S211)。   Next, the redistribution validation message processing unit 163 transmits a redistribution validation message to the monitored apparatus 138c selected as the redistribution execution apparatus (S210). In addition, the message editing / retransmission unit 114 rewrites the distribution server in the waiting file distribution request messages 151b and 151c destined for a device other than the monitored device 138d, which is a redistribution target device, to its own device and retransmits it ( S211).

被監視装置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 device 138a, the monitored device 138c obtains the file A from the monitored device 138a, which is the delivery server specified by the message, in the file acquisition unit 115. To start. Further, the monitored apparatus 138c transmits, in the redistribution validation message processing unit 163, a file distribution acquisition message in which its own apparatus is designated as the distribution server of file A to the monitored apparatus 138d. The monitored device 138d that has received this file distribution acquisition message acquires a file from the monitored device 138c, which is the distribution server specified by the message. On the other hand, the monitored device 138b receives the file delivery request message 151b, and acquires a file from the monitored device 138a that is the delivery server designated by the message.

このように本実施の形態によれば、監視装置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 file delivery server 132 as the delivery server and the file A as the delivery file is sent from the monitoring device 131 to each of the monitored devices 138a to 138d. Is transmitted from the file distribution server 132 for the monitored device 138a, but the monitored device 138a is a distribution server for the monitored devices 138b and 138c as shown in FIG. The file A is distributed and the monitored device 138d is distributed as the monitored device 138c as a distribution server. As a result, the load on the file distribution server 132 is reduced, and an increase in the amount of data due to the same file flowing over and over the relay network 137 and the upper connection line 135a is suppressed. Furthermore, since the file redistribution process can be distributed in addition to the monitored device 138a arranged at the boundary with the relay network, it is possible to avoid the concentration of the load on a specific monitored device.

また、ファイルの再配信経路が最短となるように、再配信実行装置とする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 monitoring device 131 in order to distribute the file distribution sources.

なお、上記説明では、ファイルの再配信を行う被監視装置を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 Message Extraction Unit 114 Message Editing / Retransmission Unit 115 File Acquisition Unit 116 File Distribution Unit 117 File Storage Unit 118 Stored File List 131 Monitoring Device 132 File Distribution Server 133 Monitored Device 136 Router 137 Relay Network 138 Monitored Device 161 Network Topology Management unit 162 Redistribution device selection unit 163 Redistribution validation message processing unit

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.
前記第1の被監視装置は、
被監視装置のネットワークトポロジ情報を保持するネットワークトポロジ管理手段を備え、
前記再配信装置選定手段は、前記ネットワークトポロジ情報を参照して、ファイルの再配信経路が最短となるように、再配信実行被監視装置と再配信対象被監視装置とを決定することを特徴とする請求項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.
前記被監視装置は、回線と接続するための複数の外部接続ポートを備え、複数の外部接続ポートのうちの何れかのポートに上位接続回線が接続されている前記被監視装置が前記第1の被監視装置として動作し、何れのポートにも上位接続回線が接続されていない前記被監視装置が前記第2の被監視装置として動作することを特徴とする請求項1乃至3の何れか1項に記載のファイル配信システム。   The monitored apparatus includes a plurality of external connection ports for connecting to a line, and the monitored apparatus in which a higher-level connection line is connected to any one of the plurality of external connection ports is the first 4. The device according to claim 1, wherein the monitored device that operates as a monitored device and has no upper connection line connected to any port operates as the second monitored device. 5. The file distribution system described in 1. 前記上位接続回線は中継ネットワークを通じて前記監視装置に接続されることを特徴とする請求項1乃至4の何れか1項に記載のファイル配信システム。   5. The file distribution system according to claim 1, wherein the upper connection line is connected to the monitoring device through a relay network. (a)監視装置が、ファイル配信対象とする被監視装置宛てにファイル配信要求メッセージを送信し、
(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.
(a)監視装置が、ファイル配信対象とする複数の被監視装置宛てに同一のファイルに係る複数のファイル配信要求メッセージを送信し、
(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.
JP2009210198A 2009-09-11 2009-09-11 File distribution system, file distribution method and monitored device Pending JP2011060078A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160024144A (en) * 2014-08-25 2016-03-04 삼성전자주식회사 Electronic apparatus and file transfer managing method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
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