JP6195785B2 - Communication device, server device, and program for storing transferred content - Google Patents
Communication device, server device, and program for storing transferred content Download PDFInfo
- Publication number
- JP6195785B2 JP6195785B2 JP2013251365A JP2013251365A JP6195785B2 JP 6195785 B2 JP6195785 B2 JP 6195785B2 JP 2013251365 A JP2013251365 A JP 2013251365A JP 2013251365 A JP2013251365 A JP 2013251365A JP 6195785 B2 JP6195785 B2 JP 6195785B2
- Authority
- JP
- Japan
- Prior art keywords
- segment
- received
- request message
- communication
- round trip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Description
本開示は、コンテンツ配信システムにおいて、コンテンツを転送した通信装置における当該コンテンツのキャッシュ技術に関する。 The present disclosure relates to a cache technology for content in a communication apparatus that has transferred content in a content distribution system.
取得するコンテンツがどのサーバ装置に保存されているかを、コンテンツを取得するクライアント装置が意識することなく、コンテンツ名に基づき、コンテンツの配信要求メッセージのパケットのルーティングや、コンテンツの配信を行うネットワークが提案されている。特許文献1及び非特許文献1は、その様なネットワークの1つであるコンテンツ・セントリック・ネットワーク(CCN:Content Centric Networking)を開示している。
A network that routes content distribution request messages and distributes content based on the content name is proposed without the client device acquiring the content being aware of which server device stores the content to be acquired Has been.
コンテンツ・セントリック・ネットワークにおいて、コンテンツを公開するサーバ装置は当該コンテンツを1つ以上のセグメントに分割し、クライアント装置はセグメント単位でコンテンツを取得する。また、コンテンツ・セントリック・ネットワークにおいて、クライアント装置へのセグメントの転送を行った通信装置(以下、中間装置と呼ぶ。)は、当該セグメントを保存でき、この中間装置は、自装置が保持しているセグメントの配信要求メッセージをクライアント装置から受信すると、当該配信要求メッセージをサーバ装置に転送することなく、自装置が保持するセグメントを、当該配信要求メッセージの送信元のクライアント装置に向けて送信できる。 In a content-centric network, a server device that publishes content divides the content into one or more segments, and a client device acquires content in segment units. In a content-centric network, a communication device (hereinafter referred to as an intermediate device) that has transferred a segment to a client device can store the segment. When the distribution request message of a certain segment is received from the client device, the segment held by the own device can be transmitted to the client device that is the transmission source of the distribution request message without transferring the distribution request message to the server device.
中間装置がセグメントを保持することで、クライアント装置がセグメントを受信するまでの時間が短くなり、かつ、セグメントの転送のために消費するネットワークの帯域を少なくすることができる。このクライアント装置へのセグメントの配信時間を短くし、セグメントの転送のために消費するネットワークの帯域をできるだけ少なくするためには、各中間装置が様々なコンテンツの様々なセグメントを保持することが望ましい。しかしながら、中間装置がセグメントを保持するために使用できる記憶容量には上限があり、中間装置が保持できるセグメント数はこの記憶容量により制限される。したがって、セグメントの配信に関わった総ての中間装置が同じセグメントを保持するのではなく、何らかの基準により保持するセグメントを選択することが望ましい。しかしながら、特許文献1及び非特許文献1は、中間装置がどの様に保持するセグメントを決定するかについては何ら開示していない。
Since the intermediate device holds the segment, the time until the client device receives the segment is shortened, and the network bandwidth consumed for the transfer of the segment can be reduced. In order to shorten the distribution time of the segment to the client device and to reduce the network bandwidth consumed for transferring the segment as much as possible, it is desirable that each intermediate device holds various segments of various contents. However, there is an upper limit on the storage capacity that the intermediate device can use to hold segments, and the number of segments that the intermediate device can hold is limited by this storage capacity. Therefore, it is desirable to select a segment to hold on some basis, rather than all the intermediate devices involved in the segment delivery holding the same segment. However,
本発明は、コンテンツを1つ以上のセグメントに分割して配信し、通信装置は転送したセグメントをその後の配信のため保持できるコンテンツ配信システムにおいて、効果的に保持するセグメントを選択する通信装置、当該コンテンツ配信システムでコンテンツの配信を行うサーバ装置及びプログラムを提供するものである。 The present invention relates to a communication device that selects a segment to be effectively retained in a content distribution system in which content is divided into one or more segments and distributed, and the communication device can retain the transferred segment for subsequent distribution, The present invention provides a server device and a program for distributing content in a content distribution system.
本発明の一側面によると、コンテンツを1つ以上のセグメントに分割して配信するコンテンツ配信システムの通信装置であって、セグメントを保持する保持手段と、保持していないコンテンツのセグメントを示す配信要求メッセージを受信すると、前記受信した配信要求メッセージを所定の判断基準に従い転送し、前記配信要求メッセージを転送したことの応答としてセグメントを受信すると、前記受信したセグメントを前記配信要求メッセージの送信元に向けて転送する通信手段と、前記受信したセグメントを前記保持手段に保持させるか否かを判定する判定手段と、を備えており、前記判定手段は、セグメントを示す配信要求メッセージを転送してから、当該配信要求メッセージを転送したことの応答として当該セグメントを受信するまでの時間である当該セグメントのラウンドトリップ時間を、当該セグメントを前記保持手段に保持させるか否かの判定に使用することを特徴とする通信装置。 According to one aspect of the present invention, there is provided a communication device of a content distribution system that divides content into one or more segments for distribution, a holding unit that holds the segments, and a distribution request that indicates segments of the content that are not held When the message is received, the received distribution request message is transferred according to a predetermined criterion, and when the segment is received as a response to the transfer of the distribution request message, the received segment is directed to the transmission source of the distribution request message. And a communication unit that transfers the received segment, and a determination unit that determines whether or not to hold the received segment in the holding unit, the determination unit, after transferring the delivery request message indicating the segment, The segment is received as a response to the transfer of the delivery request message. Communication apparatus characterized by the round trip time of the segments is time to use the segment to determine whether to retain the holding means.
通信装置は、効果的に保持するセグメントを選択することができる。 The communication device can select a segment to hold effectively.
以下、本発明の例示的な実施形態について図面を参照して説明する。なお、以下の各図においては実施形態の説明に必要ではない構成要素については図から省略する。また、以下の実施形態は例示であり本発明を実施形態の内容に限定するものではない。 Hereinafter, exemplary embodiments of the present invention will be described with reference to the drawings. In the following drawings, components that are not necessary for describing the embodiment are omitted from the drawings. Moreover, the following embodiment is an illustration and does not limit this invention to the content of embodiment.
<第一実施形態>
まず、図1を用いてコンテンツ・セントリック・ネットワークの概略を説明する。コンテンツを公開したいユーザは、サーバ装置1に当該コンテンツを保存する。サーバ装置1は、保持している公開用のコンテンツをそれぞれ1つ以上のセグメントに分割すると共に、保持しているコンテンツ名を他の装置に報知する。コンテンツの転送を担う中間装置21及び22は、サーバ装置1が報知するコンテンツ名から、コンテンツ名に基づくルーティング・テーブルを作成する。例えば、クライアント装置31のユーザが取得したいコンテンツが、サーバ装置1に保持されているものとする。このとき、クライアント装置31のユーザが、取得したいコンテンツ名をクライアント装置31に入力すると、クライアント装置31は、入力されたコンテンツ名を含むインタレスト・パケット(配信要求メッセージ)を中間装置21に向けて送信する。なお、クライアント装置31は、入力されたコンテンツ名に対応するコンテンツのいずれのセグメントもまだ受信していないため、クライアント装置31は、このインタレスト・パケットにセグメント番号"01"も含める。
<First embodiment>
First, the outline of the content-centric network will be described with reference to FIG. A user who wants to publish content stores the content in the
中間装置21は、ルーティング・テーブルから、クライアント装置31から受信したインタレスト・パケットに含まれるコンテンツ名に対応するコンテンツをサーバ装置1が保持していると認識し、このインタレスト・パケットをサーバ装置1に転送する。クライアント装置31からのインタレスト・パケットを受信したサーバ装置1は、受信したインタレスト・パケットで指定されたコンテンツの1番目のセグメントを中間装置21に送信し、中間装置21は、サーバ装置1から受信したセグメントをクライアント装置31に送信する。ここで、中間装置21は、転送したセグメントを保存することができ、本例では保存したものとする。
The
クライアント装置31は、セグメント番号を1ずつ増加させながら、入力されたコンテンツ名を含むインタレスト・パケットを中間装置21に転送し、上述したのと同様に、サーバ装置1から、入力されたコンテンツ名の残りのセグメントを受信する。なお、最後のセグメントには、最後のセグメントであることを示す情報が含まれており、クライアント装置31は、この情報によりコンテンツの総てのセグメントを受信したことを認識する。また、本例では、中間装置21は、クライアント装置31が要求したコンテンツの総てのセグメントを保持したものとする。
The
その後、例えば、クライアント装置32が、クライアント装置31が取得したのと同じコンテンツについてのインタレスト・パケット(セグメント番号は"01"を含む)を中間装置22に送信すると、中間装置22は、ルーティング・テーブルに基づき、このインタレスト・パケットを中間装置21に転送する。中間装置21は、受信したインタレスト・パケットが示すコンテンツの番号1のセグメントを保持しているため、受信したインタレスト・パケットをサーバ装置1に転送することなく、自装置が保持している当該コンテンツの番号1のセグメントを中間装置22に送信し、中間装置22は、受信したコンテンツをクライアント装置32に送信する。また、本例では、中間装置22は、転送したコンテンツのセグメントを保存するものとする。以後、残りのセグメントも同様に処理され、よってクライアント装置32へのコンテンツの配信により、中間装置22も当該コンテンツの総てのセグメントを保持することになる。その後、クライアント装置33が、クライアント装置31及び32が取得したのと同じコンテンツの取得を要求すると、クライアント装置33は、中間装置22が保持するコンテンツを中間装置22から受信する。
Thereafter, for example, when the
図2は、一実施形態による中間装置21の構成図である。なお、中間装置22の構成も中間装置21と同様である。通信部211は、複数の通信インタフェースを有し、他の装置(クライアント装置又は他の中間装置)からコンテンツのセグメントを示す配信要求メッセージを受信すると、その判定部212は、受信した配信要求メッセージが示すセグメントを保持部210が保持しているかを判定する。ここで、保持部210が当該セグメントを保持している場合、通信部211は、当該セグメントを保持部210から読み出して配信要求メッセージの送信元の装置に向けて送信する。
FIG. 2 is a configuration diagram of the
一方、保持部210が当該セグメントを保持していない場合、通信部211は、所定の判断基準に従い受信した配信要求メッセージをサーバ装置1に向けて転送する。なお、所定の判断基準とは、本実施形態では、ルーティング・テーブル213が示す基準である。また、このとき通信部211は、保持部210の未処理テーブルに、転送した配信要求メッセージについて、配信要求メッセージで指定されているセグメントを示す値と、配信要求メッセージの応答を送信するインタフェースと、配信要求メッセージの転送時刻を示す情報を追加する。図3(B)は、未処理テーブルの例である。図3(B)においては、"Name2"という名のコンテンツの2番目及び3番目のセグメントを要求する配信要求メッセージをそれぞれ時刻ta及びtbにサーバ装置1に向けて転送したことと、当該配信要求メッセージの応答として、サーバ装置1又は他の中間装置からセグメントを受信すると、受信したセグメントを配信要求メッセージの送信元の装置に配信するために、インタフェースIF1に出力することが示されている。
On the other hand, when the
なお、サーバ装置1に向けて転送した配信要求メッセージと同じセグメントを指定する配信要求メッセージを、既に転送した配信要求メッセージの応答として当該セグメントを受信する前に受信した場合、通信部211は、保持部210の未処理テーブルに後から受信した配信要求メッセージに関する情報を追加はするが、サーバ装置1に向けての転送は行わない。なお、この場合、配信要求メッセージの転送は行わないため、未処理テーブルの転送時刻フィールドは、ヌル値のままとするか、転送していないことを示す値を設定する。さらに、転送先インタフェースには、複数の値を設定できる様にしておき、サーバ装置1に向けて転送した配信要求メッセージと同じセグメントを指定する配信要求メッセージを、既に転送した配信要求メッセージの応答として当該セグメントを受信する前に受信した場合、後から受信した配信要求メッセージに対する転送先インタフェースを、未処理テーブルの当該セグメントに対するエントリに追加する構成とすることもできる。具体的には、図3(B)の状態で、"Name2"の2番目のセグメントを要求する配信要求メッセージを受信し、この配信要求メッセージに対する転送先インタフェースがIF2である場合、"Name2"の2番目のセグメントに対応するエントリの転送先インタフェースにIF2を追加する形態であっても良い。
Note that when the distribution request message specifying the same segment as the distribution request message transferred to the
通信部211は、サーバ装置1に向けて転送した配信要求メッセージの応答としてセグメントを受信すると、未処理テーブルに従いセグメントを転送すると共に、転送済となったセグメントに関する未処理テーブルのエントリを削除する。また、判定部212は、受信したセグメントのラウンドトリップ時間と閾値を比較し、ラウンドトリップ時間が閾値以内であると、当該セグメントを保持しないと判定する。ここで、ラウンドトリップ時間とは、未処理テーブルの配信要求メッセージの転送時刻と、当該配信要求メッセージの応答として当該セグメントを受け取った時刻の差である。一方、判定部212は、受信したセグメントのラウンドトリップ時間が閾値より大きい場合、保持部210に当該セグメントを保持するための空き容量があれば、当該セグメントを保持部210に保持させる。
When the
クライアント装置があるセグメントをある通信装置(サーバ装置又は中間装置)から取得する場合を基準とした、クライアント装置と当該通信装置との間の経路上に位置する中間装置が当該セグメントを保持している場合の取得時間の削減量は、当該中間装置における当該セグメントのラウンドトリップ時間に等しくなる。したがって、ラウンドトリップ時間の小さいセグメントを保持しても、クラインアント装置におけるセグメントの取得時間の削減効果は小さい。一方、ラウンドトリップ時間の大きいセグメントを保持することで、クラインアント装置におけるセグメントの取得時間を大きく削減できる。したがって、本実施形態においては、ラウンドトリップ時間と閾値を比較することで、セグメントを保存対象とするか否を判定する。 Based on the case where a client device acquires a segment from a certain communication device (server device or intermediate device), an intermediate device located on the path between the client device and the communication device holds the segment. In this case, the reduction amount of the acquisition time is equal to the round trip time of the segment in the intermediate device. Therefore, even if a segment with a small round trip time is held, the effect of reducing the segment acquisition time in the client device is small. On the other hand, holding a segment with a long round trip time can greatly reduce the segment acquisition time in the client device. Therefore, in the present embodiment, it is determined whether or not the segment is to be saved by comparing the round trip time with a threshold value.
しかしながら、受信したセグメントのラウンドトリップ時間が閾値より大きくても、保持部210に当該セグメントを保持するための空き容量が存在しない場合もある。この場合、判定部212は、受信したセグメントを保存することなく廃棄するか、保持部210が保持しているセグメントのいずれかを廃棄して、受信したセグメントを保持するかを決定する。この決定のため、保持部210は、一例として、保持しているセグメントを管理する図3(A)に示す様な管理テーブルを保持することができる。図3(A)に示す様に、本例において、管理テーブルは、保持部210が保持しているセグメント名を示す情報と、当該セグメントのラウンドトリップ時間を含んでいる。なお、管理テーブルは、例えば、セグメントの保存位置を示す図示しない情報等も含むものとすることができる。
However, even if the round trip time of the received segment is larger than the threshold value, there is a case where there is no free capacity for holding the segment in the holding
判定部212は、受信したセグメントのラウンドトリップ時間が閾値より大きいが、当該セグメント保持するための空き容量が保持部210にない場合、既に保持部210に保持しているセグメントと新たに受信したセグメントから廃棄順位を算出し、廃棄順位の最も高いものを廃棄すると決定する。つまり、廃棄順位の最も高いセグメントが既に保持部210に保持されているものである場合、通信部211は、廃棄順位の最も高いセグメントを保持部210から削除して新たに受信したセグメントを保持部210に保持させる。また、廃棄順位の最も高いセグメントが新たに受信したものである場合、通信部211は、受信したセグメントを転送後に廃棄する。なお、判定部212は、保持部210に保持させるセグメントを追加、変更すると、管理テーブルもそれに応じて更新する。
If the round-trip time of the received segment is larger than the threshold value, but the holding
例えば、この廃棄順位は、各セグメントのラウンドトリップ時間に基づき算出することができる。なお、この場合、廃棄順位は、ラウンドトリップ時間の短いものほど高くする。クライアント装置があるセグメントをある中間装置から取得する場合を基準とした、当該中間装置が当該セグメントを保持していなかった場合の取得時間の変動量は、当該中間装置における当該セグメントのラウンドトリップ時間に等しくなる。したがって、ラウンドトリップ時間の小さいセグメントは、削除したとしてもクラインアント装置におけるセグメントの取得にかかる時間への影響は小さい。 For example, the discard order can be calculated based on the round trip time of each segment. In this case, the discard order is increased as the round trip time is shorter. Based on the case where a client device acquires a segment from an intermediate device, the amount of change in the acquisition time when the intermediate device does not hold the segment is the round trip time of the segment at the intermediate device. Will be equal. Therefore, even if a segment with a short round trip time is deleted, the influence on the time required to acquire the segment in the client device is small.
さらに、セグメントのラウンドトリップ時間が長いことは、その中間装置の次に当該セグメントを保持している中間装置又はサーバ装置までの距離が長いことを意味し、これは、多くの伝送区間を経由している可能性が高いことを意味する。したがって、セグメントのラウンドトリップ時間が長いセグメントを削除すると、当該セグメントを示す配信要求メッセージをその後に受信した場合、配信要求メッセージの転送及びその後のセグメントの受信によりネットワークの多くの資源を消費することになる。したがって、ラウンドトリップ時間の小さいセグメントから先に削除することで、ネットワークの使用効率を高めることができる。 Furthermore, the long round trip time of a segment means that the distance from the intermediate device to the intermediate device or server device that holds the segment is long, and this is due to the fact that it passes through many transmission sections. It means that there is a high possibility. Therefore, when a segment having a long round trip time is deleted, if a delivery request message indicating the segment is received later, a large amount of network resources are consumed by forwarding the delivery request message and receiving the subsequent segment. Become. Therefore, the network usage efficiency can be improved by deleting the segment with the short round trip time first.
なお、各セグメントのラウンドトリップ時間に加え、或いは、代えて、セグメントの要求頻度を考慮して廃棄順位を算出することもできる。この場合、ランドトリップ時間が小さい程、廃棄順位は高く、かつ、コンテンツの要求頻度が小さい程、廃棄順位は高くなる。例えば、ラウンドトリップ時間とコンテンツの要求頻度を乗じた値に基づき廃棄順位を算出することができる。なお、要求頻度は、過去所定期間の要求数や、セグメントを保持してからの累積要求数や、所定期間毎の要求数の平均値とすることができる。また、現在時点から、過去に要求された時までの時間が長い程小さくなる重み係数で重みづけすることもできる。なお、新たに受信したセグメントの要求頻度は0又は小さい値であるため、要求頻度を使用する場合には、新たに受信したセグメントは廃棄順位算出の対象外として常に保存することができる。さらに、新たに受信したセグメントの要求頻度を0以外の所定値、例えば、既に保持されているセグメントの要求頻度に基づく値、例えば、平均値、最小値、最大値とすることができる。 In addition to or instead of the round trip time of each segment, the discard order can be calculated in consideration of the segment request frequency. In this case, the lower the land trip time, the higher the discard order, and the smaller the content request frequency, the higher the discard order. For example, the discard order can be calculated based on a value obtained by multiplying the round trip time and the content request frequency. Note that the request frequency can be the average number of requests in the past predetermined period, the cumulative number of requests since the segment is held, or the number of requests in each predetermined period. Further, weighting can be performed with a weighting coefficient that decreases as the time from the present time to the time requested in the past increases. Since the request frequency of the newly received segment is 0 or a small value, when using the request frequency, the newly received segment can always be saved as a target for calculating the discard order. Furthermore, the request frequency of the newly received segment can be a predetermined value other than 0, for example, a value based on the request frequency of the already held segment, for example, an average value, a minimum value, or a maximum value.
以上、各中間装置は、セグメントのラウンドトリップ時間を判定し、ラウンドトリップ時間と閾値を比較することで、当該セグメントが保存対象であるか否かを判定する。この構成により、クライアント装置1への配信にかかる時間を短くしつつ、同じセグメントが無駄に多くの中間装置で保持されることを防ぐことができる。なお、閾値の決め方としては、中間装置の管理者があらかじめ値を設定しておくことができる。また、管理テーブルが示す、保持部210が保持する総てのセグメントのラウンドトリップ時間の平均値、中央値、最小値、最大値等を使用して算出する値とすることができる。さらに、保持部210が保持するセグメントではなく、直近に転送した所定個数のセグメントのラウンドトリップ時間の平均値、中央値、最小値、最大値等を使用して算出する値とすることもできる。
As described above, each intermediate device determines the round trip time of the segment and compares the round trip time with a threshold value to determine whether or not the segment is a storage target. With this configuration, it is possible to prevent the same segment from being unnecessarily held by many intermediate devices while shortening the time required for distribution to the
なお、上記実施形態では、ラウンドトリップ時間が閾値以下であると、保存しないと判定していたが、他の条件と組み合わせて判定することもできる。つまり、ラウンドトリップ時間が閾値以下であることは、保存しないと判定するための条件の1つであり、ラウンドトリップ時間が閾値以下であり、かつ、他の条件を満たす場合に保存しないと判定し、それ以外は保存対象とすると判定する構成であっても良い。また、上記実施形態では、ラウンドトリップ時間が閾値より大きいと、保持対象であると判定し、保持部210に空き容量があれば保持部210に保持させていた。しかしながら、ラウンドトリップ時間以外の他の条件を組み合わせて使用することもできる。つまり、ラウンドトリップ時間が閾値より大きいことは、保存すると判定するための条件の1つであり、ラウンドトリップ時間が閾値より大きく、かつ、他の条件を満たす場合に、保存対象であると判定し、それ以外は保存しないと判定する構成であっても良い。
In the above embodiment, it is determined that the data is not stored when the round trip time is equal to or less than the threshold. However, the round trip time may be determined in combination with other conditions. In other words, the fact that the round trip time is equal to or less than the threshold is one of the conditions for determining that the data is not stored, and it is determined that the data is not stored when the round trip time is equal to or less than the threshold and other conditions are satisfied. Other than that, it may be determined to be a storage target. Further, in the above embodiment, when the round trip time is larger than the threshold, it is determined that the round trip time is to be held, and if the holding
<第二実施形態>
続いて、第二実施形態について第一実施形態との相違点を中心に説明する。例えば、セグメントの転送に多くの中間装置が関わり、保存するか否かを判定する閾値が総ての中間装置で同じである場合、第一実施形態の構成では、セグメントの転送に関わった中間装置の内、ある中間装置からクライアント装置側にある総ての中間装置は、当該セグメントを保存対象とする。つまり、ある中間装置からクライアント装置側にある総ての中間装置が当該セグメントを保持できる場合、当該総ての中間装置は同じセグメントを保持することになる。本実施形態はこの様な状態を防ぐものである。
<Second embodiment>
Next, the second embodiment will be described focusing on the differences from the first embodiment. For example, when many intermediate devices are involved in segment transfer and the threshold for determining whether or not to save is the same in all intermediate devices, the intermediate device involved in segment transfer is the same in the configuration of the first embodiment. Of these, all intermediate devices on the client device side from a certain intermediate device have the segment as a storage target. That is, when all intermediate devices on the client device side from a certain intermediate device can hold the segment, all the intermediate devices hold the same segment. This embodiment prevents such a state.
このため、本実施形態では、配信するセグメントを含む信号のヘッダ領域に判定フィールドを設ける。そして、保存しているセグメントをクライアント装置に向けて送信するサーバ装置又は中間装置は、この判定フィールドに値"0"を設定してセグメントを送信する。また、受信したセグメントを転送する中間装置は、受信したセグメントを保存しないのであれば、判定フィールドの値を変更することなく、受信したセグメントを転送する。一方、転送するセグメントを保存する場合、中間装置は、判定フィールドに自装置での当該セグメントのラウンドトリップ時間を設定して転送する。 For this reason, in this embodiment, the determination field is provided in the header area of the signal including the segment to be distributed. Then, the server device or the intermediate device that transmits the saved segment to the client device sets the value “0” in the determination field and transmits the segment. If the intermediate device that transfers the received segment does not store the received segment, the intermediate device transfers the received segment without changing the value of the determination field. On the other hand, when storing the segment to be transferred, the intermediate device sets the round trip time of the segment in its own device in the determination field and transfers it.
以下、図4を用いて本実施形態における処理を説明する。図4において、クライアント装置31が要求したセグメントを保持しているのは中間装置24のみであり、中間装置24が、要求されたセグメントを送信し、このセグメントは、中間装置23、22、21の順で転送されてクライアント装置31に配信されるものとする。また、各装置間の転送遅延は簡単のため"t"とし、各装置内での処理時間は無視できるものとする。したがって、中間装置21、22、23での当該セグメントのラウンドトリップ時間は、図4の対応する装置の下に示す様に、"6t"、"4t"、"2t"となる。また、セグメントを保存対象とするか否かの判定に使用する閾値を各中間装置共に"3t"とする。
Hereinafter, the processing in this embodiment will be described with reference to FIG. In FIG. 4, only the
中間装置24は、判定フィールドに値"0"を設定してセグメントを中間装置23に送信する。なお、図4において、装置間の矢印の数字は、判定フィールドに設定される値を示している。中間装置23は、当該セグメントのラウンドトリップ時間から、判定フィールドに設定された値を減じ、その値が閾値以下であると、受信したセグメントを保存しないと判定する。中間装置23におけるラウンドトリップ時間から判定フィールドの値を減じた値は"2t"であり、閾値"3t"以下であるため、中間装置23は、受信したセグメントを保存しないと判定する。中間装置23は、受信したセグメントを保存しないため、判定フィールドを変更することなく、受信したセグメントを中間装置22に転送する。
The
中間装置22におけるラウンドトリップ時間から判定フィールドの値を減じた値は"4t"であり、閾値"3t"より大きい。したがって、中間装置22は、受信したセグメントを保存対象であると判定し、保持部210に空き容量があると受信したセグメントを保存する。ここで、中間装置22は、受信したセグメントを保存したものとする。この場合、中間装置22は、判定フィールドに、自装置でのラウンドトリップ時間である"4t"を設定して、受信したセグメントを転送する。なお、保持部210に空き容量が無い等の理由により受信したセグメントを保存しなかった場合には、判定フィールドを変更することなく受信したセグメントを転送する。
A value obtained by subtracting the value of the determination field from the round trip time in the
中間装置21におけるラウンドトリップ時間から判定フィールドの値を減じた値は"2t"であり、閾値である"3t"以下である。したがって、中間装置21は、受信したセグメントを保存しないと判定する。
A value obtained by subtracting the value of the determination field from the round trip time in the
図5は、本実施形態によるサーバ装置の構成図である。保持部110は、配信対象のコンテンツを1つ以上のセグメントに分割して保持している。通信部111は、コンテンツのセグメントを示す配信要求メッセージを受信すると、当該セグメントを含む信号の判定フィールドに0を示す値を設定し、当該配信要求メッセージの送信元に向けて送信する。なお、中間装置の構成は、図2の通りであり、本実施形態では、判定部212が上述した方法によりセグメントを保存するか否かを決定し、保存する場合、通信部211は、転送するセグメントを含む信号の判定フィールドに、当該中間装置での当該セグメントのラウンドトリップ時間を設定する。なお、保存しない場合、通信部211は、転送するセグメントを含む信号の判定フィールドの値を変更しない。なお、上記実施形態では、判定フィールドにラウンドトリップ時間を設定するとしたが、ラウンドトリップ時間を示す、或いは、ラウンドトリップ時間を計算できる値を設定する形態であっても良い。
FIG. 5 is a configuration diagram of the server apparatus according to the present embodiment. The holding
以上の構成により、同じセグメントがネットワークにおいて互いに近い位置にある中間装置において重複して保存されることを防ぎ、よって、クライアント装置がセグメントを受信するまでの時間の短縮と、セグメントの転送のために消費するネットワークの帯域の削減を実現することができる。 With the above configuration, it is possible to prevent the same segment from being redundantly stored in intermediate devices located close to each other in the network, thereby reducing the time until the client device receives the segment and transferring the segment. It is possible to reduce the bandwidth of the consumed network.
なお、本発明による中間装置21及びサーバ装置1は、それぞれ、コンピュータを上記中間装置21及びサーバ装置1として動作させるプログラムにより実現することができる。これらコンピュータプログラムは、コンピュータが読み取り可能な記憶媒体に記憶されて、又は、ネットワーク経由で配布が可能なものである。
The
Claims (13)
セグメントを保持する保持手段と、
保持していないコンテンツのセグメントを示す配信要求メッセージを受信すると、前記受信した配信要求メッセージを所定の判断基準に従い転送し、前記配信要求メッセージを転送したことの応答としてセグメントを受信すると、前記受信したセグメントを前記配信要求メッセージの送信元に向けて転送する通信手段と、
前記受信したセグメントを前記保持手段に保持させるか否かを判定する判定手段と、
を備えており、
前記判定手段は、セグメントを示す配信要求メッセージを転送してから、当該配信要求メッセージを転送したことの応答として当該セグメントを受信するまでの時間である当該セグメントのラウンドトリップ時間を、当該セグメントを前記保持手段に保持させるか否かの判定に使用することを特徴とする通信装置。 A communication device of a content distribution system that distributes content into one or more segments,
Holding means for holding the segment;
When a distribution request message indicating a segment of content that is not held is received, the received distribution request message is transferred according to a predetermined criterion, and when the segment is received as a response to the transfer of the distribution request message, the received A communication means for transferring a segment toward a transmission source of the delivery request message;
Determining means for determining whether or not to hold the received segment in the holding means;
With
The determination means determines the round trip time of the segment, which is the time from when the distribution request message indicating the segment is transferred to when the segment is received as a response to the transfer of the distribution request message. A communication apparatus used for determining whether or not to hold a holding means.
セグメントを保持する保持手段と、
前記保持手段が保持するセグメントを示す配信要求メッセージを受信すると、当該セグメントを含む信号の判定フィールドに0を示す値を設定して前記配信要求メッセージの送信元に向けて送信する通信手段と、
を備えており、
前記判定フィールドは、セグメントの転送を行う通信装置が当該セグメントを保持する際に、当該通信装置が当該セグメントを示す配信要求メッセージを転送してから、当該配信要求メッセージを転送したことの応答として当該セグメントを受信するまでのラウンドトリップ時間を示す値を設定するために使用されることを特徴とするサーバ装置。 A server device of a content distribution system that distributes content by dividing it into one or more segments,
Holding means for holding the segment;
A communication unit that, upon receiving a distribution request message indicating a segment held by the holding unit, sets a value indicating 0 in a determination field of a signal including the segment and transmits the value to a transmission source of the distribution request message;
With
When the communication device that transfers the segment holds the segment, the determination field includes a response indicating that the communication device has transferred the distribution request message after transferring the distribution request message indicating the segment. A server apparatus used for setting a value indicating a round trip time until a segment is received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013251365A JP6195785B2 (en) | 2013-12-04 | 2013-12-04 | Communication device, server device, and program for storing transferred content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013251365A JP6195785B2 (en) | 2013-12-04 | 2013-12-04 | Communication device, server device, and program for storing transferred content |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015108959A JP2015108959A (en) | 2015-06-11 |
JP6195785B2 true JP6195785B2 (en) | 2017-09-13 |
Family
ID=53439265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013251365A Expired - Fee Related JP6195785B2 (en) | 2013-12-04 | 2013-12-04 | Communication device, server device, and program for storing transferred content |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6195785B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167438A (en) * | 1997-05-22 | 2000-12-26 | Trustees Of Boston University | Method and system for distributed caching, prefetching and replication |
JP2006287331A (en) * | 2005-03-31 | 2006-10-19 | Fujitsu Ltd | Congestion control network repeating device and method |
JP5566320B2 (en) * | 2011-03-02 | 2014-08-06 | Kddi株式会社 | Cache apparatus, method, and program |
JP5723307B2 (en) * | 2012-02-28 | 2015-05-27 | 日本電信電話株式会社 | Packet monitoring system |
-
2013
- 2013-12-04 JP JP2013251365A patent/JP6195785B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2015108959A (en) | 2015-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10063488B2 (en) | Tracking queuing delay and performing related congestion control in information centric networking | |
US10757011B2 (en) | Context-aware path computation and selection | |
US8819080B2 (en) | System and method for collection, retrieval, and distribution of data | |
CN105282216B (en) | Method and system for keeping interest alive in a content-centric network | |
JP2017509053A (en) | Content delivery network architecture with edge proxies | |
KR102160494B1 (en) | Network nodes, endpoint nodes, and how to receive messages of interest | |
KR20130088774A (en) | System and method for delivering segmented content | |
WO2019148569A1 (en) | Method and system for sending request for acquiring data resource | |
WO2021253889A1 (en) | Load balancing method and apparatus, proxy device, cache device and serving node | |
JPWO2018220708A1 (en) | Resource allocation system, management device, method and program | |
US20160205047A1 (en) | Hierarchical caching system for lossless network packet capture applications | |
CN113676514A (en) | File source returning method and device | |
JP6195785B2 (en) | Communication device, server device, and program for storing transferred content | |
JP6495777B2 (en) | Transfer device, server device, and program for content distribution network | |
JP6081322B2 (en) | Communication device for storing transferred content | |
CN112154425B (en) | Delivery device for a content delivery network | |
JP6403567B2 (en) | Communication device and program for content distribution network | |
JP6144559B2 (en) | Parallel distributed management device, program, and parallel distributed processing system | |
JP6348377B2 (en) | Communication device and program for content distribution network | |
JP6516692B2 (en) | Transfer device and program for content distribution network | |
JP6238233B2 (en) | Program and network controller | |
US20150195360A1 (en) | Streaming system and node device used in streaming system | |
JP6081316B2 (en) | Server device for publishing content, intermediate device for transferring content, and program | |
JP6371230B2 (en) | Transfer device and program for content distribution network | |
JP6362536B2 (en) | Client device and program for content distribution network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160714 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170508 |
|
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: 20170804 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170816 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6195785 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |