JP6042205B2 - Distribution system - Google Patents
Distribution system Download PDFInfo
- Publication number
- JP6042205B2 JP6042205B2 JP2012287424A JP2012287424A JP6042205B2 JP 6042205 B2 JP6042205 B2 JP 6042205B2 JP 2012287424 A JP2012287424 A JP 2012287424A JP 2012287424 A JP2012287424 A JP 2012287424A JP 6042205 B2 JP6042205 B2 JP 6042205B2
- Authority
- JP
- Japan
- Prior art keywords
- multicast
- distribution
- file
- unicast
- reception
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
この発明は、配信装置からネットワーク経由で受信装置へデータ送信を行う配信システムに関する。 The present invention relates to a distribution system that transmits data from a distribution device to a reception device via a network.
複数の受信装置に同じファイルを配信する方式としては、UDP(User Datagram Protocol)によるマルチキャストと、TCP(Transmission Control Protocol)によるユニキャストがある。 As a method for distributing the same file to a plurality of receiving apparatuses, there are multicast by UDP (User Datagram Protocol) and unicast by TCP (Transmission Control Protocol).
ユニキャストの場合、ファイルをダウンロードするタイミングは受信装置側に依存しており、配信装置と受信装置間で個々にTCPセッションを確立して配信することになる。TCPによるため、ファイルを一部ロスする心配がなく、受信装置はファイル全部の受信が可能である。 In the case of unicast, the timing of downloading a file depends on the receiving device side, and a TCP session is individually established and distributed between the distributing device and the receiving device. Since it is based on TCP, there is no worry of losing a part of the file, and the receiving apparatus can receive the entire file.
一般に、配信装置に新しいファイルが登録された直後は、大量のアクセスが集中する。それからしばらく時間が経過すると、急激にアクセス数が減少する。ユニキャストのみを用いる配信システムの場合、どれだけ平時の負荷が低い場合でも、配信装置側はピーク時のセッション数に耐えられるだけの設計が必要であり、構築コストの増加に繋がっている。 In general, a large amount of access is concentrated immediately after a new file is registered in the distribution apparatus. After a while, the number of accesses decreases rapidly. In the case of a distribution system that uses only unicast, no matter how low the load during normal times is, the distribution apparatus side needs to be designed to withstand the number of sessions at the peak, leading to an increase in construction cost.
一方、マルチキャストの場合、複数の受信装置に対して同時に同じデータを送信するため、配信装置の負荷軽減を図ることは可能だが、受信タイミングがずれた受信装置は、ファイル全部を受信することができない。また、マルチキャストの通信プロトコルはUDPなので、信頼性に欠け、ファイルの一部ロスが起こり得る。配信するファイルが映像ファイルや音声ファイルのように不完全な受信を許容できるものの場合、一部ロスをある程度許容することは可能だが、ファームウェアのように完全な受信を要するものの場合、一部ロスは許されず、マルチキャストのみを用いる配信システムは不向きである。 On the other hand, in the case of multicast, since the same data is simultaneously transmitted to a plurality of receiving devices, it is possible to reduce the load on the distribution device, but a receiving device whose reception timing is shifted cannot receive the entire file. . In addition, since the multicast communication protocol is UDP, it is not reliable and a part of the file may be lost. If the file to be delivered can accept incomplete reception, such as a video file or audio file, it is possible to allow some loss, but if the file requires complete reception, such as firmware, some loss is A distribution system that is not allowed and uses only multicast is not suitable.
近年では、配信装置の負荷軽減と、マルチキャストで受信できなかったデータの補完とを実現するため、マルチキャストとユニキャストを組み合わせた配信システムが提案されている。この種の配信システムでは、配信装置が、基本的にマルチキャストでファイルを配信し、受信装置が、マルチキャストで受信できなかったデータをユニキャストで補完し、マルチキャストで得たデータと、ユニキャストで得たデータを用いてファイルの復元を行えるようになっている(例えば、特許文献1〜3)。
In recent years, a distribution system that combines multicast and unicast has been proposed in order to reduce the load on the distribution device and complement data that could not be received by multicast. In this type of distribution system, the distribution device basically distributes the file by multicast, and the reception device supplements the data that could not be received by multicast by unicast, and obtains the data obtained by multicast and unicast. A file can be restored using the data (for example,
しかしながら、この種の配信システムでは、マルチキャストによるダウンロードの開始タイミングを各受信装置間で一致させることができない。これは、受信装置間でファイル配信要求の時期が異なったり、配信装置と受信装置間の通信状況に依存したりするためである。また、ファームウェアのダウンロードのように受信装置の内部タイマの状態にも依存する場合、受信装置間で内部タイマの状態に差があるため、これも不一致の原因になる。 However, in this type of distribution system, the download start timing by multicast cannot be made consistent among the receiving apparatuses. This is because the timing of the file distribution request differs between the receiving devices or depends on the communication status between the distributing device and the receiving device. Further, when depending on the state of the internal timer of the receiving device such as downloading of firmware, there is a difference in the state of the internal timer between the receiving devices, which also causes a mismatch.
特許文献3のように、マルチキャストに途中参加した受信装置が当該参加回のマルチキャスト終了後、途中参加までに送信済みのデータをユニキャストで補完するシステムにすると、ユニキャストのデータ補完が大量に発生し、かえって配信装置に必要なリソースを大きくする可能性がある。
As in
そこで、この発明が解決しようとする課題は、マルチキャストとユニキャストを組み合わせたシステムでのファイル配信に際し、マルチキャストで配信装置のピーク負荷を抑制しながら、ユニキャストでのデータ補完を抑制することである。 Therefore, the problem to be solved by the present invention is to suppress unicast data supplementation while suppressing the peak load of the distribution device by multicast when distributing files in a system that combines multicast and unicast. .
上記の課題を解決するこの発明は、配信装置が、マルチキャストでのデータ送信を担当するマルチキャスト配信部と、ユニキャストでのデータ送信を担当するユニキャスト配信部とを備え、マルチキャストに参加した受信装置が、マルチキャストで未受信のファイル部分をユニキャストで補完する配信システムを前提にしている。
前記受信装置は、ファイル全部の受信を確認すると受信完了通知を前記配信装置へ送信する。また、マルチキャストに途中参加した場合、次回マルチキャストでの補完をユニキャストでの補完よりも優先する。
前記配信装置は、配信先の数:nを監視し、新規のファイル配信要求又は前記受信完了通知を受信するとnの値を更新する。新規のファイル配信要求を受信した場合、更新後のnの値と規定値:Nを比較する。当該比較でn<Nのとき、当該新規の配信先の前記受信装置へユニキャストでの受信を指示する。当該比較でn≧Nのとき、当該新規の配信先の前記受信装置へマルチキャストでの受信を指示し、前記指示したユニキャストを全て中止する。当該中止対象になった全ての前記受信装置へマルチキャストでの受信を指示する。マルチキャストを要する前記受信装置の存在中、マルチキャストでのファイル送信を繰り返す。
前記中止対象の受信装置は、中止までに受信済みのデータをユニキャストでの補完よりも優先してファイル復元に用いる。
ここで、配信先の数:nとは、配信装置が同じ配信用のファイルについてファイル配信要求に応答し、かつ受信完了通知を受信していない受信装置の総数のことをいう。また、規定値:Nとは、しきい値である。n、Nは、それぞれ配信装置のメモリに保持される。配信装置の管理者は、配信装置のピーク負荷が問題にならないようにNを予め配信装置へ入力し、新規ファイルの配信受け付けを開始することができる。
The present invention that solves the above-described problem is a receiving apparatus in which the distribution apparatus includes a multicast distribution unit that is responsible for data transmission by multicast and a unicast distribution unit that is responsible for data transmission by unicast, and participates in the multicast However, it is premised on a distribution system that uses unicast to supplement unreceived file parts by multicast.
When the receiving device confirms the reception of all the files, the receiving device transmits a reception completion notification to the distribution device. Also, when participating in a multicast, the next multicast complement takes priority over the unicast complement.
The distribution apparatus monitors the number of distribution destinations: n, and updates the value of n when a new file distribution request or the reception completion notification is received. When a new file distribution request is received, the updated value of n is compared with the specified value: N. When n <N in the comparison, the receiving apparatus of the new distribution destination is instructed to receive by unicast. When n ≧ N in the comparison, the receiving apparatus of the new distribution destination is instructed to receive by multicast, and all the instructed unicasts are canceled. Instructing all of the receiving devices to be canceled by multicast reception. Multicast file transmission is repeated while the receiving device requiring multicast is present.
The receiving device to be canceled uses data received before the cancellation for file restoration in preference to complementing by unicast.
Here, the number of distribution destinations: n refers to the total number of receiving apparatuses that have responded to a file distribution request for the same distribution file and have not received a reception completion notification. The specified value: N is a threshold value. n and N are respectively held in the memory of the distribution apparatus. The administrator of the distribution apparatus can input N to the distribution apparatus in advance so that the peak load of the distribution apparatus does not become a problem, and can start receiving a new file.
この発明によれば、受信装置からの新規のファイル配信要求と受信完了通知とによって、配信装置側で配信先の数:nを把握することができる。ピーク負荷の心配がないn<Nのとき、配信装置が新規の配信先にユニキャストでの受信を指示するため、この配信先ではパケットロスのないファイル受信が進行する。ユニキャストのみでファイル配信を実行中の状態でn=Nを満足すると、配信装置は、先に指示したユニキャストでのファイル配信(最大でN−1台分のユニキャストのセッション)を全て中止し、以後、n≧Nを満足する限り、新規の配信先にマルチキャストでの受信を指示するため、配信先の数がNから幾ら増えても、新規にユニキャストでのファイル送信が発生することはない。これにより、配信装置のユニキャスト配信部のピーク負荷が問題になる前、マルチキャストでピーク負荷を抑制することができる。
また、中止対象になった全ての受信装置、及びn≧Nを満足する新規の配信先の受信装置は、マルチキャストに途中参加した場合、次回マルチキャストでの補完をユニキャストでの補完よりも優先し、配信装置は、マルチキャストを要する受信装置の存在中、マルチキャストでのファイル送信を繰り返す。したがって、マルチキャストに途中参加した受信装置は、先ず、次回のマルチキャストで補完を試み、それでも未受信のファイル部分のみをユニキャストで補完することになる。これにより、マルチキャストでピーク負荷を抑えている状況下、マルチキャストへの途中参加に起因したユニキャストでのデータ補完を抑制することができる。
また、マルチキャストでピーク負荷を抑え始める最大台数(N−1台)の中止対象発生時は、中止までに受信済みのデータと、途中参加したマルチキャストで配信済みのデータとが重複することも期待できる。重複が発生した中止対象の受信装置は、ユニキャストでの補完に優先して受信済みのデータをファイル復元に用いるため、この分、マルチキャストでピーク負荷を抑えている状況下、ユニキャストでの補完を抑制することも可能である。
According to the present invention, the number of distribution destinations: n can be grasped on the distribution apparatus side by a new file distribution request and reception completion notification from the reception apparatus. When n <N when there is no concern about the peak load, the distribution apparatus instructs the new distribution destination to receive data by unicast, and file reception without packet loss proceeds at this distribution destination. When n = N is satisfied while file distribution is being executed only by unicast, the distribution apparatus cancels all of the previously specified unicast file distribution (unicast sessions for up to N-1 units). After that, as long as n ≧ N is satisfied, a new distribution destination is instructed to receive by multicast. Therefore, even if the number of distribution destinations increases from N, new unicast file transmission occurs. There is no. Thereby, before the peak load of the unicast delivery part of a delivery apparatus becomes a problem, a peak load can be suppressed by multicast.
In addition, if all receiving devices that have been canceled and new receiving device satisfying n ≧ N participate in the middle of the multicast, the next multicast complement takes precedence over the unicast complement. The distribution device repeats multicast file transmission while there is a receiving device that requires multicast. Therefore, the receiving apparatus that has joined the multicast in the middle first tries to complement the next multicast, and still complements only the unreceived file part by unicast. Thereby, under the situation where the peak load is suppressed by multicast, it is possible to suppress data complementation by unicast due to halfway participation in multicast.
In addition, when the maximum number (N-1) of cancellation targets that start to suppress the peak load by multicast occurs, it can be expected that the data received before the cancellation and the data already distributed by multicast that has joined in the middle will overlap. . Because the receiving device that is the target of the cancellation, which has been duplicated, uses the received data for file restoration in preference to the unicast complement, the unicast complement is used in this situation where the peak load is suppressed by multicast. It is also possible to suppress this.
前記マルチキャスト配信部が、ファイル先頭又は末尾の一方から順に送信し、前記配信装置からユニキャストでの受信を指示された受信装置が、ファイル先頭又は末尾の前記一方と反対の他方から順に前記ユニキャスト配信部へ要求し、前記中止対象の受信装置が、前記中止までに受信済みのデータをマルチキャストよりも優先してファイル復元に用いるようにしてもよい。この場合、ユニキャストでのファイル送信と、マルチキャストでのファイル送信がファイル両端から進行する関係なので、中止対象の受信装置において、中止までにユニキャストで受信済みのデータと、マルチキャストで受信するデータとの重複を防止することができる。したがって、中止対象の受信装置では、次回のマルチキャストに最後まで参加することなく、ファイル復元を終えたり、ユニキャストの補完を始めたりすることができる。 The multicast delivery unit transmits in order from one of the beginning or end of the file, and the receiving device instructed to receive by unicast from the delivery device is the unicast in order from the other opposite to the one at the beginning or end of the file. A request may be made to the distribution unit, and the receiving device to be canceled may use data received by the cancellation prior to multicasting for file restoration. In this case, since the file transmission by unicast and the file transmission by multicast proceed from both ends of the file, in the receiving device to be canceled, the data received by unicast before the cancellation, the data received by multicast, Can be prevented from overlapping. Therefore, the receiving device to be canceled can finish file restoration or start unicast complementing without participating in the next multicast to the end.
上述のように、この発明は、マルチキャストとユニキャストを組み合わせたシステムでのファイル配信に際し、規定値の設定に基いたマルチキャストでピーク負荷を抑制し、この抑制状況下、繰り返されるマルチキャストでのファイル受信を優先、及びマルチキャスト開始前にユニキャストで受信済みのデータを優先したファイル復元により、マルチキャストへの途中参加に起因したユニキャストでのデータ補完を抑制することができる。 As described above, the present invention suppresses the peak load by multicast based on the setting of a specified value when distributing files in a system that combines multicast and unicast, and receives a file by repeated multicast under this suppression situation. Unicast data supplementation due to halfway participation in multicast can be suppressed by file restoration that prioritizes data and prioritizing data received by unicast before multicast start.
以下、この発明に係る配信システムの実施形態(以下、単に「この配信システム」と呼ぶ)を添付図面に基づいて説明する。このシステムは、図2に示すように、配信装置10と、複数の受信装置20と、配信装置10と複数の受信装置20を接続するためのネットワーク30とからなる。 Hereinafter, an embodiment of a distribution system according to the present invention (hereinafter simply referred to as “this distribution system”) will be described with reference to the accompanying drawings. As shown in FIG. 2, this system includes a distribution device 10, a plurality of reception devices 20, and a network 30 for connecting the distribution device 10 and the plurality of reception devices 20.
配信装置10は、受信装置20に提供する資源を管理する1台以上のコンピュータ機器からなる。受信装置20は、ネットワーク30を介して配信装置10の資源を利用するコンピュータ機器からなる。配信装置10に対してクライアントとなる受信装置20は、例えば、ホームゲートウェイ(HGW)、ルータなどの中継機器、移動通信端末、エンドユーザのPC端末などの通信機器が挙げられる。ネットワーク30は、NGN(Next Generation Network)、バックボーン通信網、ISP網といった1又は複数のIP網からなり、閉域網であるかインターネットであるかを問わない。 The distribution apparatus 10 includes one or more computer devices that manage resources provided to the reception apparatus 20. The receiving device 20 includes computer equipment that uses the resources of the distribution device 10 via the network 30. Examples of the receiving device 20 serving as a client for the distribution device 10 include a communication device such as a home gateway (HGW), a relay device such as a router, a mobile communication terminal, and a PC terminal of an end user. The network 30 includes one or a plurality of IP networks such as an NGN (Next Generation Network), a backbone communication network, and an ISP network, regardless of whether it is a closed network or the Internet.
配信装置10は、図3、図4に示すように、配信用のファイル(A、B、C・・・)を配信データ蓄積部11に記憶し、配信情報管理テーブル12で管理する。配信用のファイルは、受信装置20側で実行されるプログラム、受信装置20側のプログラムで処理されるプログラム以外のもののどちらでもよい。例えば、受信装置20側で実行されるプログラムとして、HGWに組み込むファームウェアが挙げられる。 As shown in FIGS. 3 and 4, the distribution device 10 stores distribution files (A, B, C...) In the distribution data storage unit 11 and manages them in the distribution information management table 12. The file for distribution may be either a program executed on the receiving device 20 side or a program other than a program processed by the program on the receiving device 20 side. For example, as a program executed on the receiving device 20 side, firmware incorporated in the HGW can be cited.
配信情報管理テーブル12は、受信装置20からの配信要求中のファイル識別子に基いて特定されたファイルを配信するために用いるマルチキャストアドレス、ユニキャストアドレス、及びファイルサイズを管理する。ユニキャストアドレスは、IPアドレス、IPアドレスとポート番号の組み合わせ、URLのいずれでもよい。また、ユニキャストアドレスやマルチキャストアドレスは、ファイル識別子に対して予め唯一指定されていてもよく、ファイルの配信要求が発生した都度、配信情報管理テーブル12が、利用されていないアドレスを選択して割り当ててもよい。 The distribution information management table 12 manages a multicast address, a unicast address, and a file size used for distributing a file specified based on a file identifier in a distribution request from the receiving device 20. The unicast address may be an IP address, a combination of an IP address and a port number, or a URL. Further, the unicast address or multicast address may be uniquely specified in advance for the file identifier. Each time a file distribution request is generated, the distribution information management table 12 selects and assigns an unused address. May be.
配信装置10は、マルチキャストでのデータ送信を担当するマルチキャスト配信部13と、ユニキャストでのデータ送信を担当するユニキャスト配信部14と、ファイル配信要求元へマルチキャスト又はユニキャストを指示するデータ送信制御部15と、配信データ蓄積部11に記憶されたファイルからマルチキャスト用のデータフレームを生成するマルチキャスト配信データ生成部16とを備える。 The distribution device 10 includes a multicast distribution unit 13 in charge of data transmission by multicast, a unicast distribution unit 14 in charge of data transmission by unicast, and data transmission control instructing multicast or unicast to a file distribution request source. Unit 15 and a multicast distribution data generation unit 16 that generates a multicast data frame from the file stored in the distribution data storage unit 11.
受信装置20は、マルチキャストでのデータ受信を担当するマルチキャスト受信部21と、ユニキャストでのデータ受信を担当するユニキャスト受信部22と、データ送信制御部15と交信するデータ受信制御部23と、マルチキャスト受信部21で受信したデータを蓄積するマルチキャストデータ受信バッファ24と、ユニキャスト受信部22で受信したデータを蓄積するユニキャストデータ受信バッファ25と、これらバッファ24、25に蓄積されたデータを用いて配信対象のファイルを復元する受信データ管理部26とを備える。 The receiving device 20 includes a multicast receiving unit 21 in charge of data reception by multicast, a unicast reception unit 22 in charge of data reception by unicast, a data reception control unit 23 in communication with the data transmission control unit 15, A multicast data receiving buffer 24 that stores data received by the multicast receiving unit 21, a unicast data receiving buffer 25 that stores data received by the unicast receiving unit 22, and data stored in these buffers 24 and 25 are used. And a received data management unit 26 for restoring the distribution target file.
配信データ蓄積部11〜マルチキャスト配信データ生成部16、及びマルチキャスト受信部21〜受信データ管理部26は、対応の配信装置10、受信装置20の演算処理装置でコンピュータプログラムを実行することにより、対応の配信装置10、受信装置20に備わる演算処理装置、記憶装置、ネットワークインターフェイスといったハードウェア資源上に構成される。 The distribution data storage unit 11 to the multicast distribution data generation unit 16 and the multicast reception unit 21 to the reception data management unit 26 execute the computer program on the arithmetic processing unit of the corresponding distribution device 10 and the reception device 20, thereby The distribution device 10 and the reception device 20 are configured on hardware resources such as an arithmetic processing device, a storage device, and a network interface.
データ送信制御部15は、配信装置10の稼働中、配信先の数:nを監視する。データ送信制御部15は、nの初期値を零として、配下の所定のメモリ領域に保持する。nは、データ送信制御部15が同じファイルについてファイル配信要求に応答し、かつ受信完了通知を受信していない受信装置20の総数である。この総数は、配信情報管理テーブル12で管理している配信用のファイル(A、B、C・・・)ごとに別個に保持される。 The data transmission control unit 15 monitors the number of distribution destinations: n while the distribution apparatus 10 is in operation. The data transmission control unit 15 sets the initial value of n to zero and holds it in a predetermined subordinate memory area. n is the total number of receiving devices 20 in which the data transmission control unit 15 responds to the file distribution request for the same file and has not received the reception completion notification. This total number is held separately for each distribution file (A, B, C...) Managed by the distribution information management table 12.
図1(a)、(b)に示すように、データ送信制御部15は、データ受信制御部23から新規のファイル配信要求又はファイルの受信完了通知を受信すると(S1、S2)、nを更新する(S3、S4)。新規のファイル配信要求には、配信対象とするファイルの識別子が含まれている。ファイルの受信完了通知は、データ送信制御部15にファイル配信要求を受信されて配信先となった1台の受信装置20が配信を要求したファイル全部を受信し終えたことを示す信号になっている。 As shown in FIGS. 1A and 1B, when the data transmission control unit 15 receives a new file distribution request or a file reception completion notification from the data reception control unit 23 (S1, S2), it updates n. (S3, S4). The new file distribution request includes the identifier of the file to be distributed. The file reception completion notification is a signal indicating that one receiving device 20 that has received the file distribution request by the data transmission control unit 15 and has received the distribution request has received all the files requested for distribution. Yes.
データ送信制御部15は、新規のファイル配信要求を受信した場合(S1)、更新後のnの値と規定値:Nの大小を比較する(S5)。Nは、データ送信制御部15の配下のメモリ領域に予め保持されている。Nは、新規の配信用のファイルが配信データ蓄積部11に登録されるとき、そのファイルに対応付けてNがデータ送信制御部15に入力される。 When receiving a new file distribution request (S1), the data transmission control unit 15 compares the updated value of n with the specified value: N (S5). N is stored in advance in a memory area under the data transmission control unit 15. When a new distribution file is registered in the distribution data storage unit 11, N is input to the data transmission control unit 15 in association with the file.
この比較でn<N(YES)のとき、データ送信制御部15は、当該更新のトリガとなった新規の配信先のデータ受信制御部23へユニキャストでの受信を指示する(S6)。この指示は、新規のファイル配信要求に対する応答中に含められる。この指示中には、ユニキャスト配信部14にアクセスするためのユニキャストアドレスが含められる。データ送信制御部15は、そのユニキャストアドレスを配信情報管理テーブル12から取得する。 When n <N (YES) in this comparison, the data transmission control unit 15 instructs the data reception control unit 23 of the new distribution destination that has triggered the update to receive data by unicast (S6). This instruction is included in the response to the new file delivery request. In this instruction, a unicast address for accessing the unicast delivery unit 14 is included. The data transmission control unit 15 acquires the unicast address from the distribution information management table 12.
一方、(S5)の比較でn≧N(No)のとき、データ送信制御部15は、配信対象のファイルがマルチキャスト中か否かを判断する(S7)。この判断は、例えば、データ送信制御部15が、配信対象のファイルに指定のマルチキャストアドレスを配信情報管理テーブル12から取得し、マルチキャスト配信部13に当該マルチキャストアドレスへの送信の有無を問い合わせ、この応答を得ることで行う。 On the other hand, when n ≧ N (No) in the comparison of (S5), the data transmission control unit 15 determines whether the file to be distributed is being multicast (S7). For this determination, for example, the data transmission control unit 15 obtains a multicast address designated for the file to be distributed from the distribution information management table 12, inquires of the multicast distribution unit 13 whether or not there is transmission to the multicast address, and responds to this response. To do.
(S7)でマルチキャスト中でないとき(No)、データ送信制御部15は、新規の配信先のデータ受信制御部23へマルチキャストでの受信を指示する(S8)。この指示は、新規のファイル配信要求に対する応答中に含められる。この指示中には、マルチキャスト配信部13にアクセスするためのマルチキャストアドレスと、ユニキャスト配信部14にアクセスするためのユニキャストアドレスと、配信対象のファイルサイズとが含められる。データ送信制御部15は、マルチキャストアドレス等を配信情報管理テーブル12から取得する。そのユニキャストアドレスは、受信装置20がマルチキャストに所定の参加をした後、ユニキャストでの補完が必要な場合に使用される。 When the multicast is not in progress at (S7) (No), the data transmission control unit 15 instructs the data reception control unit 23 of the new distribution destination to receive the multicast (S8). This instruction is included in the response to the new file delivery request. In this instruction, a multicast address for accessing the multicast distribution unit 13, a unicast address for accessing the unicast distribution unit 14, and a file size to be distributed are included. The data transmission control unit 15 acquires a multicast address and the like from the distribution information management table 12. The unicast address is used when it is necessary to complement the unicast after the receiving apparatus 20 performs a predetermined participation in the multicast.
データ送信制御部15は、マルチキャスト配信部13から、(S8)で指示したマルチキャストアドレスに対するマルチキャストの開始を通知されると、同じ配信対象のファイルについて(S7)で指示した全ての受信装置20へのユニキャストを中止する。また、データ送信制御部15は、中止対象の受信装置20のデータ受信制御部23へマルチキャストでの受信を指示する(S9)。この指示中には、マルチキャスト配信部13にアクセスするためのマルチキャストアドレスと、配信対象のファイルサイズとが含められる。データ送信制御部15は、マルチキャストアドレス等を配信情報管理テーブル12から取得する。この中止は、例えば、該当のユニキャストアドレスで確立している持続的セッションを全て切断することをユニキャスト配信部14へ命令することで行う。この指示は、例えば、セッションの切断前に当該セッションを利用してユニキャスト受信部22へ送信し、ユニキャスト受信部22が指示をデータ受信制御部23へ知らせることで行う。 When the multicast transmission unit 13 notifies the multicast transmission unit 13 of the start of multicasting for the multicast address instructed in (S8), the data transmission control unit 15 sends all the receiving devices 20 instructed in (S7) for the same distribution target file. Cancel unicast. Further, the data transmission control unit 15 instructs the data reception control unit 23 of the receiving device 20 to be canceled to receive data by multicast (S9). In this instruction, a multicast address for accessing the multicast distribution unit 13 and a file size to be distributed are included. The data transmission control unit 15 acquires a multicast address and the like from the distribution information management table 12. This cancellation is performed by, for example, instructing the unicast distribution unit 14 to disconnect all the persistent sessions established with the corresponding unicast address. For example, this instruction is transmitted to the unicast receiving unit 22 using the session before the session is disconnected, and the unicast receiving unit 22 notifies the data reception control unit 23 of the instruction.
一方、(S7)でマルチキャスト中のとき(Yes)、データ送信制御部15は、新規の配信先のデータ受信制御部23へ実施中のマルチキャストでの受信を指示する(S10)。この指示は、新規のファイル配信要求に対する応答中に含められる。この指示中には、マルチキャスト配信部13にアクセスするためのマルチキャストアドレスと、ユニキャスト配信部14にアクセスするためのユニキャストアドレスと、配信対象のファイルサイズとが含められる。データ送信制御部15は、マルチキャストアドレス等を配信情報管理テーブル12から取得する。そのユニキャストアドレスは、受信装置20がマルチキャストに所定の参加をした後、ユニキャストでの補完が必要な場合に使用される。 On the other hand, when the multicast is in progress in (S7) (Yes), the data transmission control unit 15 instructs the data reception control unit 23 of the new distribution destination to receive in the ongoing multicast (S10). This instruction is included in the response to the new file delivery request. In this instruction, a multicast address for accessing the multicast distribution unit 13, a unicast address for accessing the unicast distribution unit 14, and a file size to be distributed are included. The data transmission control unit 15 acquires a multicast address and the like from the distribution information management table 12. The unicast address is used when it is necessary to complement the unicast after the receiving apparatus 20 performs a predetermined participation in the multicast.
図5に示すように、データ受信制御部23は、ファイル識別子を特定した新規のファイル配信要求を、ユーザ入力、内部タイマ作動等の受信装置依存のトリガによって生成し、データ送信制御部15に送信する(S21)。なお、データ受信制御部23がネットワーク30を介してデータ送信制御部15にアクセスするためのアドレスは、予め配信装置10からの通知、ユーザ入力等によってデータ受信制御部23に与えられている。 As shown in FIG. 5, the data reception control unit 23 generates a new file delivery request specifying the file identifier by a trigger dependent on the receiving device such as user input, internal timer operation, etc., and transmits it to the data transmission control unit 15. (S21). Note that an address for the data reception control unit 23 to access the data transmission control unit 15 via the network 30 is given to the data reception control unit 23 in advance by notification from the distribution device 10, user input, or the like.
データ受信制御部23は、ファイル配信要求に対するデータ送信制御部15からの応答中の指示を読み取る(S22)。ここで、ユニキャストでの受信を指示されている場合、ユニキャストでのファイル受信処理を開始する(S23)。その後、ユニキャストの中止及びマルチキャストでの受信を指示されたか否かを判断し(S24)、Noの場合、ユニキャストでのファイル受信を継続し(S25)、(S24)に戻る。一方、Yesの場合、マルチキャストでのファイル受信処理を開始する(S26)。また、データ受信制御部23は、(S22)で、マルチキャストでの受信を指示されている場合、マルチキャストでのファイル受信処理を開始する(S27)。ファイル受信処理(S23)、(S26)、(S27)は受信データ管理部26へ要求される。これを受け付けた受信データ管理部26は、対応のアドレス、ファイルサイズ等を取得し、対応のマルチキャスト受信部21又はユニキャスト受信部22に受信開始を要求する。 The data reception control unit 23 reads an instruction in response from the data transmission control unit 15 to the file distribution request (S22). Here, when an instruction to receive by unicast is given, a file receiving process by unicast is started (S23). Thereafter, it is determined whether or not an instruction to stop unicast and reception by multicast is given (S24). If No, file reception by unicast is continued (S25), and the process returns to (S24). On the other hand, in the case of Yes, the multicast file reception process is started (S26). In addition, when it is instructed to receive by multicast in (S22), the data reception control unit 23 starts a file reception process by multicast (S27). File reception processing (S23), (S26), and (S27) are requested to the reception data management unit 26. Receiving this, the received data management unit 26 acquires the corresponding address, file size, etc., and requests the corresponding multicast receiving unit 21 or unicast receiving unit 22 to start reception.
ユニキャスト受信部22は、(S23)で受信データ管理部26から受信開始を要求されると、ユニキャストでのファイル受信を開始する。すなわち、図6に示すように、ユニキャスト配信部14とHTTP1.1に従った持続的なセッションを確立する。この後、ユニキャスト受信部22は、配信対象のファイルの識別子、ファイルの先頭から何バイト目以降を要求するかを指定するオフセット(offset)、要求するデータサイズ(length)をユニキャスト配信部14に送信する。ユニキャスト配信部14は、要求されたファイルのデータを送信する。ユニキャスト受信部22は、ファイル先頭のオフセット1、データ長1のデータ1からオフセット順にデータ受信を進め、受信したデータのオフセット、データ長、データをユニキャストデータ受信バッファ25に書き込む。全てのオフセットのデータを受信できた場合、セッションを切断して、ユニキャストでの受信処理を終了する。
When the reception data management unit 26 requests the unicast reception unit 22 to start reception in (S23), the unicast reception unit 22 starts unicast file reception. That is, as shown in FIG. 6, the unicast delivery part 14 and the persistent session according to HTTP1.1 are established. Thereafter, the unicast receiving unit 22 supplies the identifier of the file to be distributed, an offset (offset) for specifying the number of bytes and after from the head of the file, and the requested data size (length). Send to. The unicast distribution unit 14 transmits the requested file data. The unicast receiving unit 22 advances data reception in the order of offset from
図7(a)、図8に示すように、マルチキャスト受信部21は、前述の(S26)、(S27)に基いて受信データ管理部26から受信開始を要求されると、マルチキャストでのファイル受信を開始する。すなわち、マルチキャスト受信部21は、受信データ管理部26からマルチキャストアドレス、配信対象のファイルの識別子、ファイルサイズを取得し(S31)、マルチキャストアドレス及びファイルの識別子の少なくとも一方を含んだマルチキャスト受信開始要求をマルチキャスト配信部13へ送信する(S32)。 As shown in FIGS. 7A and 8, when the multicast reception unit 21 is requested to start reception from the reception data management unit 26 based on the above (S26) and (S27), the multicast file reception is performed. To start. That is, the multicast receiving unit 21 acquires the multicast address, the identifier of the file to be distributed, and the file size from the received data management unit 26 (S31), and issues a multicast reception start request including at least one of the multicast address and the file identifier. It transmits to the multicast delivery part 13 (S32).
図7(b)、図8に示すように、マルチキャスト配信部13は、(S32)のマルチキャスト受信開始要求を受信すると、このマルチキャスト要求元である受信装置20を記憶し(S41)、当該マルチキャストアドレスへファイル送信中か否かを確認する(S42)。ここで、Noの場合、そのマルチキャスト受信開始要求中のマルチキャストアドレスに対応するファイル識別子を配信情報管理テーブル12から取得し、マルチキャスト配信データ生成部16へファイル識別子を含んだフレーム生成要求を渡す(S43)。なお、マルチキャスト受信開始要求中にファイル識別子のみを含むようにする場合、そのファイル識別子を読み取り、フレーム生成要求を渡せばよい。 As shown in FIGS. 7B and 8, upon receiving the multicast reception start request in (S32), the multicast distribution unit 13 stores the receiving device 20 that is the multicast request source (S41), and the multicast address It is confirmed whether a file is being transmitted to (S42). Here, in the case of No, a file identifier corresponding to the multicast address in the multicast reception start request is acquired from the distribution information management table 12, and a frame generation request including the file identifier is passed to the multicast distribution data generation unit 16 (S43). ). If only the file identifier is included in the multicast reception start request, the file identifier is read and the frame generation request is passed.
マルチキャスト配信データ生成部16は、フレーム生成要求中のファイル識別子に該当するファイルを配信データ蓄積部11から取り出し、パケット単位に分割してオフセットを付与し、生成したフレームをマルチキャスト配信部13へ渡す(S44)。オフセットは、配信対象のファイルの先頭から何バイト目以降のデータであるかを示す情報である。オフセット、データ長は、ユニキャストと共通化されている。 The multicast distribution data generation unit 16 takes out the file corresponding to the file identifier in the frame generation request from the distribution data storage unit 11, divides it into packet units, gives an offset, and passes the generated frame to the multicast distribution unit 13 ( S44). The offset is information indicating the number of bytes after the start of the distribution target file. The offset and data length are shared with unicast.
マルチキャスト配信部13は、当該マルチキャスト要求元の全ての受信装置20からマルチキャスト受信終了要求を受信したか否かを判断する(S45)。ここで、Noの場合、マルチキャスト配信部13は、(S44)で入手したフレームをオフセット順に、つまりファイルの先頭から順にマルチキャストで送信し(S46)、フレームを送信のたび、全てのオフセットを配信し終えたか判断する(S47)。ここで、Noの場合、(S45)に戻り、Yesの場合、次回のマルチキャストを開始する(S48)。これは、1回のマルチキャストが終了し、再びファイル先頭であるオフセット1のフレームからオフセット順にマルチキャストで送信することを意味する。 The multicast distribution unit 13 determines whether or not a multicast reception end request has been received from all the receiving devices 20 of the multicast request source (S45). Here, in the case of No, the multicast distribution unit 13 transmits the frames obtained in (S44) in the order of offset, that is, in order from the beginning of the file (S46), and distributes all the offsets every time the frame is transmitted. It is determined whether or not it is finished (S47). Here, if No, the process returns to (S45), and if Yes, the next multicast is started (S48). This means that one multicast is completed and transmission is performed in the order of offset from the frame of offset 1 which is the head of the file again.
(S48)を実行すると、(S45)に戻る。(S45)でYesの場合、当該マルチキャストアドレスについてのマルチキャストを終了する(S49)。なお、マルチキャスト配信部13は、マルチキャスト受信終了要求を受信すると、この要求元の受信装置20を(S41)の記憶から削除する。 When (S48) is executed, the process returns to (S45). In the case of Yes in (S45), the multicast for the multicast address is terminated (S49). When receiving the multicast reception end request, the multicast distribution unit 13 deletes the requesting receiving device 20 from the storage in (S41).
図7(a)、図8に示すように、マルチキャスト受信部21は、(S32)の後、一定時間以上、パケット未受信か否かを判断する(S33)。ここで、Noの場合、マルチキャストパケットの受信後(S34)、受信したパケット中のオフセットを取得し(S35)、データ長、データをマルチキャストデータ受信バッファ24に書き込む(S36)。次に、マルチキャスト受信部21は、マルチキャストに1周参加したか否かを判断する(S37)。1周とは、(S32)後に最初に受信したマルチキャストパケットの(S35)で取得したオフセット(基準オフセットと呼ぶ)と、基準オフセットの1つ手前のオフセットを含んだパケット、又は基準オフセット以上のオフセットを含んだパケットの2回目の受信が最初に発生したことに相当する。(S37)での判断は、マルチキャストデータ受信バッファ24に蓄積されたオフセット、受信データ管理部26から取得したファイルサイズを適宜に活用して行うことができ、かつマルチキャストへの途中参加やパケットロスが発生した場合でも少なくとも1周参加が保障された手段であればよい。例えば、マルチキャストデータ受信バッファ24に蓄積されたオフセットを閲覧し、前述の1つ手前のオフセット及び2回目のオフセットのいずれかの検索で判断してもよいし、オフセット、データ長及びファイルサイズを利用した計算に基いて判断してもよい。計算方法として、オフセット+データ長≧ファイルサイズが挙げられる。(S37)でNoの場合、(S33)に戻る。また、(S37)又は(S33)でYesの場合、マルチキャスト受信部21は、マルチキャスト受信終了要求をマルチキャスト配信部13に送信し、受信データ管理部26へマルチキャストでの受信終了を通知し(S38)、マルチキャストでのファイル受信を終了する。 As shown in FIGS. 7A and 8, the multicast receiver 21 determines whether or not a packet has not been received for a predetermined time or more after (S32) (S33). Here, in the case of No, after receiving the multicast packet (S34), the offset in the received packet is acquired (S35), and the data length and data are written in the multicast data reception buffer 24 (S36). Next, the multicast receiver 21 determines whether or not it has participated in one round of multicast (S37). One round is a packet including an offset (referred to as a reference offset) acquired in (S35) of a multicast packet first received after (S32) and an offset immediately before the reference offset, or an offset greater than or equal to the reference offset This is equivalent to the first reception of a packet containing the. The determination in (S37) can be made by appropriately utilizing the offset accumulated in the multicast data reception buffer 24 and the file size acquired from the reception data management unit 26, and there is no halfway participation in the multicast or packet loss. Even if it occurs, it may be any means that guarantees participation for at least one round. For example, the offset stored in the multicast data reception buffer 24 may be browsed and determined by searching for one of the previous offset and the second offset, or using the offset, data length, and file size. You may judge based on the calculated. The calculation method includes offset + data length ≧ file size. If No in (S37), the process returns to (S33). In the case of Yes in (S37) or (S33), the multicast reception unit 21 transmits a multicast reception end request to the multicast distribution unit 13, and notifies the reception data management unit 26 of the end of multicast reception (S38). The file reception by multicast is terminated.
前述の(S23)、(S26)、(S27)でデータ受信制御部23からユニキャスト又はマルチキャストでの受信開始を要求された受信データ管理部26は、図9に示すように、その受信に必要なアドレス、ファイルサイズ等をデータ受信制御部23から取得する(S51)。次に、受信データ管理部26は、マルチキャストデータ受信バッファ24とユニキャストデータ受信バッファ25をクリアした後(S52)、対応のマルチキャスト受信部21又はユニキャスト受信部22へ受信開始を要求する(S53)。 The reception data management unit 26 requested to start reception by unicast or multicast from the data reception control unit 23 in the above (S23), (S26), and (S27) is necessary for reception as shown in FIG. An appropriate address, file size, and the like are acquired from the data reception control unit 23 (S51). Next, the reception data management unit 26 clears the multicast data reception buffer 24 and the unicast data reception buffer 25 (S52), and then requests the corresponding multicast reception unit 21 or unicast reception unit 22 to start reception (S53). ).
この後、受信データ管理部26は、マルチキャストで受信中か否かを判断する(S54)。ここで、受信データ管理部26は、(S53)でマルチキャスト受信部21へ受信開始を要求し、かつマルチキャスト受信部21から前述の(S38)における受信終了を通知されていない場合、Yesと判断し、(S54)の処理を繰り返す。一方、受信データ管理部26は、(S53)でユニキャスト受信部22へ受信開始を要求している場合、又は(S53)でマルチキャスト受信部21へ受信開始を要求し、かつ前述の(S38)でマルチキャスト受信部21から受信終了を通知されている場合、Noと判断し、マルチキャストデータ受信バッファ24とユニキャストデータ受信バッファ25のいずれにも存在しない未受信のデータのオフセットとデータ長を検索する(S55)。 Thereafter, the reception data management unit 26 determines whether or not reception is being performed by multicast (S54). Here, the reception data management unit 26 determines Yes when the multicast reception unit 21 is requested to start reception in (S53), and the reception end in (S38) is not notified from the multicast reception unit 21. , (S54) is repeated. On the other hand, the reception data management unit 26 requests the unicast reception unit 22 to start reception in (S53), or requests the multicast reception unit 21 to start reception in (S53) and (S38) described above. If the end of reception is notified from the multicast receiver 21, the determination is No, and the offset and data length of unreceived data that does not exist in either the multicast data reception buffer 24 or the unicast data reception buffer 25 are searched. (S55).
次に、受信データ管理部26は、未受信のデータの有無から、ファイル復元に必要なデータを全て受信したか否かを判断する(S56)。ここで、Noの場合、受信データ管理部26は、ユニキャスト受信部22へ未受信のオフセットから指定されたデータ長のデータを受信するように要求し(S57)、そのまま(S55)へ戻る。一方、(S56)でYesの場合、受信データ管理部26は、オフセット順に結合して配信対象のファイルを復元し、データ受信制御部23にファイルの全データ受信完了を通知して終了する(S58)。 Next, the received data management unit 26 determines whether all data necessary for file restoration has been received from the presence / absence of unreceived data (S56). Here, in the case of No, the reception data management unit 26 requests the unicast reception unit 22 to receive data having a data length designated from an unreceived offset (S57), and returns to (S55). On the other hand, in the case of Yes in (S56), the reception data management unit 26 restores the distribution target file by combining in the order of offset, notifies the data reception control unit 23 of the completion of reception of all data of the file, and ends (S58). ).
(S57)の要求を受けたユニキャスト受信部22は、図10(a)に示すように、ユニキャストでの補完を開始し、当該要求に含まれたユニキャストアドレス、指定のオフセット、データ長を取得し(S61)、取得したユニキャストアドレスからユニキャスト配信部14を特定し(S62)、そのユニキャスト配信部14とセッションを確立し(S63)、オフセット、データ長を指定してデータを要求する(S64)。図10(b)に示すように、ユニキャスト配信部14は、(S63)のセッションを確立すると(S71)、このセッションの宛先ユニキャストアドレスに対応するファイル識別子を配信情報管理テーブル12から取得する(S72)。(S64)で要求されたオフセット、データ長のデータ要求を受信すると(S73)、そのファイル識別子に該当するファイルのうち、先頭からオフセット以降のデータをデータ長だけ取り出し(S74)、取り出したデータをユニキャスト受信部22へ送信し(S75)、そのセッションを切断する。一方、ユニキャスト受信部22は、図10(a)に示すように、(S64)の後、要求したデータをユニキャスト配信部14から受信すると(S65)、そのセッションを切断し(S66)、ユニキャストデータ受信バッファ25へ書き込み(S67)、1つの未受信データの補完を終了する。 As shown in FIG. 10A, the unicast receiving unit 22 that has received the request of (S57) starts complementing by unicast, and includes the unicast address, the specified offset, and the data length included in the request. (S61), specify the unicast delivery unit 14 from the obtained unicast address (S62), establish a session with the unicast delivery unit 14 (S63), specify the offset and data length, and send the data. A request is made (S64). As shown in FIG. 10B, when the unicast distribution unit 14 establishes the session of (S63) (S71), the unicast distribution unit 14 acquires the file identifier corresponding to the destination unicast address of this session from the distribution information management table 12. (S72). When the data request for the offset and data length requested in (S64) is received (S73), the data after the offset is extracted from the file corresponding to the file identifier by the data length (S74). The data is transmitted to the unicast receiving unit 22 (S75), and the session is disconnected. On the other hand, as shown in FIG. 10A, the unicast receiving unit 22 receives the requested data from the unicast distribution unit 14 after (S64) (S65), disconnects the session (S66), Writing to the unicast data reception buffer 25 (S67), and completion of one unreceived data is terminated.
図11に示すように、データ受信制御部23は、(S58)の通知を受信すると(S81)、受信完了通知をデータ送信制御部15に送信する(S82)。 As shown in FIG. 11, when receiving the notification (S58) (S81), the data reception control unit 23 transmits a reception completion notification to the data transmission control unit 15 (S82).
この実施形態の配信システムによれば、受信装置20からの新規のファイル配信要求(S21、S1)と受信完了通知(S82、S2)とによって、配信装置10側で配信先の数:nを把握することができる(S3、S4)。ピーク負荷の心配がないn<Nのとき(S5)、配信装置10が新規の配信先にユニキャストでの受信を指示するため(S6)、これに従った受信装置20ではパケットロスのないファイル受信が進行する(S23、S24、S25、図6)。ユニキャストのみでファイル配信を実行中の状態でn=Nを満足する新規のファイル配信要求を受信すると(S21、S1、S5、S7)と、配信装置10は、先に指示したユニキャストでのファイル配信(最大でN−1台分のユニキャストのセッション)を全て中止し(S9)、以後、n≧Nを満足する限り、新規の配信先にマルチキャストでの受信を指示し(S8、S10)、該当する全ての受信装置20がこれに従うため(S22、S24、S26、S27)、配信先の数がNから幾ら増えても、新規にユニキャストでのファイル送信が発生することはない。これにより、配信装置10のユニキャスト配信部14のピーク負荷が問題になる前、マルチキャストでピーク負荷を抑制することができる。 According to the distribution system of this embodiment, the distribution apparatus 10 side grasps the number of distribution destinations: n based on a new file distribution request (S21, S1) and a reception completion notification (S82, S2) from the reception apparatus 20. (S3, S4). When n <N when there is no concern about peak load (S5), the distribution device 10 instructs the new distribution destination to receive data by unicast (S6). Reception proceeds (S23, S24, S25, FIG. 6). When a new file distribution request satisfying n = N is received in a state where file distribution is being executed only by unicast (S21, S1, S5, S7), the distribution apparatus 10 receives the unicast instructed earlier. All file distributions (up to N-1 unicast sessions) are canceled (S9), and thereafter, as long as n ≧ N is satisfied, a new distribution destination is instructed to receive multicast (S8, S10). ) Since all the corresponding receiving devices 20 follow this (S22, S24, S26, S27), no new unicast file transmission occurs even if the number of distribution destinations increases from N. Thereby, before the peak load of the unicast delivery part 14 of the delivery apparatus 10 becomes a problem, a peak load can be suppressed by multicast.
また、中止対象になった全ての受信装置20(S9)、及びn≧Nを満足する新規の配信先の受信装置20(S8、S10)は、マルチキャストに途中参加した場合、必ず1周の参加を行い(S37、S38)、次回マルチキャストでの補完をユニキャストでの補完よりも優先し(S54〜S57)、配信装置10は、マルチキャストを要する受信装置20の存在中、マルチキャストでのファイル送信を繰り返す(S37、S38、S41、S42、S45〜S48)。したがって、マルチキャストに途中参加した受信装置20は、次回のマルチキャストで補完を試みても未受信であったファイル部分(すなわち、1周のマルチキャスト中のパケットロス分)のみをユニキャストで補完することになる。これにより、マルチキャストでピーク負荷を抑えている状況下、マルチキャストへの途中参加に起因したユニキャストでのデータ補完を抑制することができる。 In addition, all receiving devices 20 (S9) that are subject to cancellation and new receiving device 20 (S8, S10) satisfying n ≧ N must participate in one round when participating in multicast halfway. (S37, S38), the next multicast supplement is prioritized over the unicast complement (S54 to S57), and the distribution device 10 performs file transmission by multicast while the receiver 20 requiring multicast exists. Repeat (S37, S38, S41, S42, S45 to S48). Therefore, the receiving device 20 that has joined the multicast in the middle is to complement only the file portion (that is, the packet loss during one round of multicast) that has not been received even if the supplement is attempted in the next multicast by unicast. Become. Thereby, under the situation where the peak load is suppressed by multicast, it is possible to suppress data complementation by unicast due to halfway participation in multicast.
また、マルチキャストでピーク負荷を抑え始める最大台数(N−1)の中止対象発生時は、中止までに受信済みのデータと、途中参加したマルチキャストで配信済みのデータや、次回のマルチキャストで補完できなかったデータとが重複することも期待できる。重複が発生した中止対象の受信装置は、ユニキャストでの補完に優先して受信済みのデータをファイル復元に用いるため(S55〜S57)、この分、マルチキャストでピーク負荷を抑えている状況下、ユニキャストでの補完を抑制することも可能である。 In addition, when the maximum number of units (N-1) to be canceled that starts to suppress the peak load by multicast occurs, data that has been received by the time of cancellation, data that has already been distributed in the middle of the multicast, and cannot be supplemented by the next multicast It can be expected that the data will overlap. Since the receiving device to be canceled in which duplication has occurred uses the received data for file restoration in preference to complementing by unicast (S55 to S57), under this situation, the peak load is suppressed by multicast. Unicast completion can also be suppressed.
例えば、この実施形態では、先のユニキャストでのファイル受信がファイル先頭から進行し(S23、図6)、マルチキャストでのファイル送信において図12中に送信順序(1)の矢線で示すように、ファイル先頭のデータ1から順に末尾のデータ(Z)まで送信するため、途中参加までに当該参加回のマルチキャストで送信済みのデータと、ユニキャストで受信済みのデータとが重複する。したがって、途中参加時点でマルチキャストが先のユニキャストで受信済みの範囲を超えて進んでいなければ、マルチキャスト中のパケットロス分のみを補完するだけで済む(S54〜S57)。また、途中参加時点でマルチキャストが先のユニキャストで受信済みの範囲を超えて進んでいたとしても、先のユニキャストで受信したデータは、全て補完に使うことができ(S54〜S57)、この分、ユニキャストで補完せずに済む。したがって、先のユニキャストを中止された全受信装置20について、途中参加に起因したユニキャストでの補完を抑制することができる。このことは、配信装置10のピーク負荷を抑えるため、特に、ユニキャストでの補完の発生自体、補完のデータ量を抑制したい場合に好適である。
For example, in this embodiment, the file reception by the previous unicast proceeds from the beginning of the file (S23, FIG. 6), and the file transmission by multicast is as shown by the arrow in the transmission order (1) in FIG. Since data is transmitted in order from the
また、マルチキャストへの参加は、途中参加時であれ(S9、S26)、当初からの参加であれ(S10、S27)、1周に限っているので(S37、S38)、最大でも次回のマルチキャストに参加するだけである。したがって、配信装置10のピーク負荷を抑えつつ、受信装置20がユニキャストでのパケットロス分の補完を可及的に速く開始することができるので(S54〜S57)、ファイル全部の受信まで不必要に時間を掛けることがない。 In addition, participation in the multicast is limited to one lap (S37, S38), at the time of joining in the middle (S9, S26) or from the beginning (S10, S27). Just participate. Accordingly, since the receiving device 20 can start complementing the packet loss by unicast as quickly as possible while suppressing the peak load of the distribution device 10 (S54 to S57), it is unnecessary until reception of the entire file. Don't spend time on
なお、マルチキャストの開始時期は、この実施形態のように最初にn=Nとなってマルチキャストでの受信を指示した受信装置からのマルチキャスト配信要求に応じて開始してもよいし、ファイル配信の開始後、最初にn=Nとなってマルチキャストを指示することをトリガとして開始してもよい。これらの場合は、不必要なマルチキャストの発生を防止することができる。また、ファイルを配信情報管理テーブルに登録する配信開始当初から繰り返してもよい。この場合は、マルチキャスト受信開始要求、マルチキャスト受信終了要求に関する処理を省略することができる(S37、S38)。 Note that the multicast start time may be started in response to a multicast distribution request from a receiving apparatus that first instructs n = N and instructed to receive the multicast as in this embodiment, or starts file distribution. Later, it may be triggered by the fact that n = N is first given and multicast is instructed. In these cases, unnecessary multicast can be prevented from occurring. Moreover, you may repeat from the beginning of the delivery which registers a file into a delivery information management table. In this case, the processes related to the multicast reception start request and the multicast reception end request can be omitted (S37, S38).
また、この実施形態では、ユニキャストでのファイル送信をファイル先頭(データ1)から開始し(図6)、マルチキャストでのファイル送信を図12中の送信順序(2)の矢線で示すように、ファイル末尾(データ(Z))から順にデータ1まで送信するように変更してもよい。送信順序(2)の場合、ユニキャストでのファイル送信と、マルチキャストでのファイル送信がファイル両端から進行する関係なので、中止対象の受信装置において、中止までにユニキャストで受信済みのデータと、マルチキャストで受信するデータの重複を防止することができる。したがって、中止対象の受信装置では、次回のマルチキャストに最後まで参加することなく、ファイル復元を終えたり、ユニキャストの補完を始めたりすることができる。このことは、配信装置のピーク負荷を抑えるため、特に、ユニキャストでの補完の集中を抑制したい場合に好適である。この発明の技術的範囲は、上述の実施形態に限定されず、特許請求の範囲の記載に基く技術的思想の範囲内での全ての変更を含むものである。
In this embodiment, file transmission by unicast is started from the beginning of the file (data 1) (FIG. 6), and file transmission by multicast is indicated by an arrow in the transmission order (2) in FIG. The data may be changed so that
10 配信装置
11 配信データ蓄積部
12 配信情報管理テーブル
13 マルチキャスト配信部
14 ユニキャスト配信部
15 データ送信制御部
16 マルチキャスト配信データ生成部
20 受信装置
21 マルチキャスト受信部
22 ユニキャスト受信部
23 データ受信制御部
24 マルチキャストデータ受信バッファ
25 ユニキャストデータ受信バッファ
26 受信データ管理部
30 ネットワーク
DESCRIPTION OF SYMBOLS 10 Distribution apparatus 11 Distribution data storage part 12 Distribution information management table 13 Multicast distribution part 14 Unicast distribution part 15 Data transmission control part 16 Multicast distribution data generation part 20 Receiving device 21 Multicast reception part 22 Unicast reception part 23 Data reception control part 24 Multicast data reception buffer 25 Unicast data reception buffer 26 Reception data management unit 30 Network
Claims (2)
前記受信装置が、ファイル全部の受信を確認すると受信完了通知を前記配信装置へ送信する処理と、マルチキャストに途中参加した場合、次回マルチキャストでの補完をユニキャストでの補完よりも優先する処理と、マルチキャストに参加する場合、必ずマルチキャストに1周参加し、当該1周参加すると、マルチキャスト受信終了要求を前記配信装置へ送信してマルチキャストでのファイル受信を終了する処理とを実行し、
前記配信装置が、配信先の数:nを監視し、新規のファイル配信要求又は前記受信完了通知を受信するとnの値を更新する処理と、新規のファイル配信要求を受信した場合、更新後のnの値と規定値:Nを比較する処理と、当該比較でn<Nのとき、当該新規の配信先の前記受信装置へユニキャストでの受信を指示する処理と、当該比較でn≧Nのとき、当該新規の配信先の前記受信装置へマルチキャストでの受信を指示し、前記指示したユニキャストを全て中止する処理と、当該中止対象になった全ての前記受信装置へマルチキャストでの受信を指示する処理と、マルチキャストでの受信を指示した全ての前記受信装置から前記マルチキャスト受信終了要求を受信したか否かを判断して、マルチキャストを要する前記受信装置の存在中、マルチキャストでのファイル送信を繰り返す処理とを実行し、
前記中止対象になった受信装置が、中止までに受信済みのデータを前記ユニキャストでの補完よりも優先してファイル復元に用いることを特徴とする配信システム。 The distribution device includes a multicast distribution unit that is responsible for data transmission by multicast and a unicast distribution unit that is responsible for data transmission by unicast. In a delivery system complemented by unicast,
When the reception device confirms reception of the entire file, a process of sending a reception completion notification to the distribution device, and a process that prioritizes complementation in the next multicast over complementation in unicast when participating in the middle of the multicast, When participating in multicast, be sure to participate in one round of multicast, and when the first round of participation , perform a process of sending a multicast reception end request to the distribution device and ending file reception in multicast ,
The distribution apparatus monitors the number of distribution destinations: n, receives a new file distribution request or the reception completion notification, updates the value of n, and receives a new file distribution request. The process of comparing the value of n with the specified value: N, the process of instructing the receiving device of the new distribution destination to receive in unicast when n <N, and n ≧ N in the comparison In this case, the receiving device of the new distribution destination is instructed to receive the multicast, and the processing of canceling all of the instructed unicasts and the reception of the multicast to all the receiving devices targeted for the cancellation are performed. a process of instructing, by determining whether or not it has received the multicast reception end request from all of the receiving device instructs the reception of a multicast, in the presence of the receiver that require multicast, Ma Run the process of repeating the file transmission in Chikyasuto,
The distribution system, wherein the receiving device to be canceled uses data received before the cancellation for file restoration in preference to complementing by unicast.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012287424A JP6042205B2 (en) | 2012-12-28 | 2012-12-28 | Distribution system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012287424A JP6042205B2 (en) | 2012-12-28 | 2012-12-28 | Distribution system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014131156A JP2014131156A (en) | 2014-07-10 |
| JP6042205B2 true JP6042205B2 (en) | 2016-12-14 |
Family
ID=51409184
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012287424A Active JP6042205B2 (en) | 2012-12-28 | 2012-12-28 | Distribution system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6042205B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6661931B2 (en) * | 2015-09-17 | 2020-03-11 | 沖電気工業株式会社 | Information distribution apparatus, information distribution program, and information distribution system |
| JP6699231B2 (en) * | 2016-02-25 | 2020-05-27 | 沖電気工業株式会社 | Information distribution device, information distribution program, communication terminal, communication processing program, and information distribution system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004260758A (en) * | 2003-02-27 | 2004-09-16 | Sharp Corp | Digital broadcast transmission / reception system |
| JP2005276079A (en) * | 2004-03-26 | 2005-10-06 | Matsushita Electric Ind Co Ltd | Data distribution server and data distribution system |
| JP4925266B2 (en) * | 2006-05-09 | 2012-04-25 | ソフトバンクモバイル株式会社 | Content download method and content download device |
| JP2008311947A (en) * | 2007-06-14 | 2008-12-25 | Panasonic Corp | Content distribution system, content server, terminal, content distribution method, program, and recording medium |
| JP2010211519A (en) * | 2009-03-10 | 2010-09-24 | Sony Corp | Information processor, content distribution method, and program |
-
2012
- 2012-12-28 JP JP2012287424A patent/JP6042205B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014131156A (en) | 2014-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6618552B2 (en) | Method and apparatus for multipath media transmission | |
| US8984158B2 (en) | Data communication system and method | |
| KR102132266B1 (en) | Secondary node type based control for data streaming | |
| US20140258412A1 (en) | Method and apparatus for service migration between user devices | |
| WO2008086702A1 (en) | Method, device and system for policy control | |
| CN109842567B (en) | Data distribution method and distribution server | |
| US10182012B2 (en) | Route control device, system and route control method | |
| JP3872051B2 (en) | System and method for searching and distributing contents, and program | |
| JP6042205B2 (en) | Distribution system | |
| JP7473025B2 (en) | Content distribution system, unicast-multicast conversion device, content distribution method, and content distribution program | |
| CN105897853A (en) | Peer-to-peer network connection method and device | |
| CN117793166A (en) | Session synchronization method and device between cloud gateway clusters | |
| CN105657570B (en) | Resource transmission method and device for caching platform | |
| JP4099772B2 (en) | IP multicast switching control system, IP multicast switching control method, program for the same, and recording medium recording the program | |
| IL224750A (en) | Asynchronous multi-source streaming in a peer-to-peer network | |
| US20140161125A1 (en) | Method, duplication point device, and system for data flow reuse transmission | |
| EP3896926B1 (en) | Network device and packet processing method using same | |
| US9319266B2 (en) | Method and apparatus for managing diameter routing | |
| JP2005011267A (en) | Real-time data communication system, real-time data communication apparatus, and real-time data communication method | |
| KR20090047426A (en) | How to transmit real-time data using P2P and real-time data server at the same time in real-time data transmission of communication network | |
| US20250158932A1 (en) | Method and apparatus for rate-control of media streams with selectable discrete levels of quality in selective forwarding units | |
| CN115150363B (en) | IP address updating method, gateway device, gateway down-hanging device and storage medium | |
| JP4477088B1 (en) | Data receiving apparatus, data transmitting apparatus, and data distribution method | |
| Oryńczak et al. | Agent based infrastructure for real-time applications | |
| US20240298051A1 (en) | Data relay apparatus, distribution system, data relay method, and computer-readable medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150623 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160224 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160308 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20160426 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160525 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161108 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161109 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6042205 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |