JP6015338B2 - Data transmission apparatus, data transmission system, data transmission method, and program - Google Patents
Data transmission apparatus, data transmission system, data transmission method, and program Download PDFInfo
- Publication number
- JP6015338B2 JP6015338B2 JP2012234094A JP2012234094A JP6015338B2 JP 6015338 B2 JP6015338 B2 JP 6015338B2 JP 2012234094 A JP2012234094 A JP 2012234094A JP 2012234094 A JP2012234094 A JP 2012234094A JP 6015338 B2 JP6015338 B2 JP 6015338B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- storage unit
- transmission
- acquired
- 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
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Description
本発明は、データ送信装置、データ送信システム、データ送信方法、及びプログラム
に関する。
The present invention relates to a data transmission device, a data transmission system, a data transmission method, and a program.
例えば、映像コンテンツ等の配信システムにおいては、全てのコンテンツを一元的に管理するセンタサーバと、視聴端末の近くに分散されて配置されるエッジサーバとを含むものが有る。 For example, some video content distribution systems include a center server that centrally manages all content, and an edge server that is distributed and arranged near the viewing terminal.
エッジサーバは、視聴端末から直接的にアクセスされ、視聴対象のコンテンツをセンタサーバより取得し、視聴端末へ配信する。エッジサーバは、また、視聴されたコンテンツをキャッシュする機能を有する。したがって、視聴対象のコンテンツがキャッシュされている場合、エッジサーバは、キャッシュされているコンテンツを配信する。そうすることで、視聴端末に対する応答性の向上や、センタサーバとエッジサーバとの間のネットワーク負荷の低減等を図ることができる。 The edge server is directly accessed from the viewing terminal, acquires content to be viewed from the center server, and distributes the content to the viewing terminal. The edge server also has a function of caching viewed content. Therefore, when the content to be viewed is cached, the edge server distributes the cached content. By doing so, it is possible to improve the responsiveness to the viewing terminal, reduce the network load between the center server and the edge server, and the like.
しかしながら、エッジサーバにおけるキャッシュの容量は限られているため、一般的に、エッジサーバは、全てのコンテンツをキャッシュすることはできない。そのため、所定のアルゴリズムによって、キャッシュされているデータの削除が行われる。したがって、エッジサーバにおいては、キャッシュのミスヒットが発生する。 However, since the cache capacity of the edge server is limited, the edge server cannot generally cache all contents. Therefore, the cached data is deleted by a predetermined algorithm. Therefore, a cache miss hit occurs in the edge server.
エッジサーバにおけるキャッシュのヒット率は、センタサーバとエッジサーバとの間のネットワーク負荷に大きく影響する。複数のエッジサーバにおいてほぼ同時にミスヒットが発生した場合、エッジサーバからセンタサーバに対するアクセスが集中し、センタサーバとエッジサーバとの間のネットワークが帯域不足になる可能性がある。 The cache hit rate in the edge server greatly affects the network load between the center server and the edge server. When mis-hits occur at a plurality of edge servers almost simultaneously, access from the edge server to the center server is concentrated, and there is a possibility that the network between the center server and the edge server becomes insufficient in bandwidth.
そこで、一側面では、データ送信におけるネットワーク負荷を平準化させることを目的とする。 Therefore, an object of one aspect is to level the network load in data transmission.
一つの案では、データ送信装置は、ネットワークを介して受信される、データの第一の送信要求の受信に応じ、前記データをネットワークを介して取得する取得部と、取得されたデータを前記第一の送信要求元に送信する送信部と、取得されたデータを記憶する記憶部と、前記データの途中からの一部分を前記記憶部より削除する削除部とを有し、前記取得部は、前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、前記送信部は、前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信する。 In one proposal, the data transmission device receives the first transmission request for data received via the network, acquires the data via the network, and acquires the acquired data as the first data. A transmission unit that transmits to one transmission request source, a storage unit that stores the acquired data, and a deletion unit that deletes a part of the data from the middle of the storage unit, the acquisition unit, In response to a second transmission request for data, the part is acquired via the network at a slower rate than when acquiring all of the data, and the transmission unit responds to the second transmission request and the data Next to the remaining part excluding the part, the part acquired by the acquisition unit is transmitted to the second transmission request source.
一態様によれば、データ送信におけるネットワーク負荷を平準化させることができる。 According to one aspect, the network load in data transmission can be leveled.
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本実施の形態における配信システムの構成例を示す図である。図1において、配信システム1は、センタサーバ20と、複数のエッジサーバ10とを含む。センタサーバ20と各エッジサーバ10とは、例えば、インターネット等のネットワークN1を介して通信可能とされている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a distribution system according to the present embodiment. In FIG. 1, the
センタサーバ20は、配信対象とされる全てのコンテンツを一元的に管理するコンピュータである。
The
エッジサーバ10は、センタサーバ20に対する負荷を分散するために配置されるコンピュータである。エッジサーバ10は、コンテンツの視聴に利用される端末30と、例えば、インターネット等のネットワークN2を介して接続され、端末30に対するコンテンツの配信の中継を行う。エッジサーバ10は、中継されたコンテンツをキャッシュしておく。端末30からの配信要求に係るコンテンツが、キャッシュされている場合、エッジサーバ10は、キャッシュされているコンテンツを、端末30に配信する。
The
エッジサーバ10は、所定のアルゴリズムに基づいて、キャッシュされているコンテンツの削除を行う。すなわち、キャッシュするコンテンツの入れ替えを行う。所定のアルゴリズムとしては、LRU(Least Recently Used)法等、公知のアルゴリズムが用いられてもよい。
The
但し、エッジサーバ10は、削除対象とされたコンテンツの全部は削除せずに、当該コンテンツの終端からの一部分を削除する。以下、削除された部分を「欠落部」といい、残された部分を、「残存部」という。部分削除が行われたコンテンツの配信が端末30から要求された場合、エッジサーバ10は、当該コンテンツの残存部の配信と並行して、コンテンツサーバから欠落部を取得する(配信を受ける)。この際、エッジサーバ10は、残存部の配信に対して遅延が生じない範囲で、欠落部の取得速度を、コンテンツの全部を取得する場合の取得速度、又は端末30に対する残存部の送信速度より低下させて、欠落部をセンタサーバ20より取得する。そうすることで、端末30に対するコンテンツの送信速度(帯域)を一定に保ちつつ、エッジサーバ10とセンタサーバ20との間のネットワークN1の負荷を平準化することができる。なお、「残存部の配信に対して遅延が生じない」状態とは、残存部との間に区切りが無い状態で、残存部に続けて欠落部が配信される状態をいう。すなわち、配信要求の受信時にコンテンツの全部がエッジサーバ10に存在している状態における送信速度で、残存部及び欠落部を配信可能な状態をいう。
However, the
なお、取得速度や送信速度等の「速度」とは、単位時間あたりのデータの転送量をいう。すなわち、速度とは、データ送信に関するビットレート又は帯域と同義である。 The “speed” such as the acquisition speed and the transmission speed refers to the amount of data transferred per unit time. That is, the speed is synonymous with a bit rate or a band related to data transmission.
端末30は、コンテンツを再生可能な装置であれば、所定の装置に限定されない。例えば、PC(Personal Computer)、携帯電話、スマートフォン、又はタブレット型端末等が、端末30として利用されてもよい。
The
なお、本実施の形態において配信対象とされるコンテンツは、映像(動画)データや音声データ等、所定のビットレート(単位時間当たりの再生サイズ)で再生されるデータが好適である。また、配信形式は、ストリーミング形式が好適である。ストリーミング形式の場合、コンテンツ自体のビットレートに従った速度で、コンテンツの配信が行われてもよい。但し、静止画像データや、その他の形式のデータが、一般的なダウンロードの形式で配信される場合について、本実施の形態が適用されてもよい。 Note that the content to be distributed in the present embodiment is preferably data reproduced at a predetermined bit rate (reproduction size per unit time) such as video (moving image) data or audio data. Further, the distribution format is preferably a streaming format. In the case of the streaming format, the content may be distributed at a speed according to the bit rate of the content itself. However, the present embodiment may be applied to the case where still image data and other types of data are distributed in a general download format.
なお、本実施の形態では、コンテンツの再生に関するビットレートと、コンテンツの送信に関するビットレートとの混同を避けるため、後者については、「速度」という用語を用いる。 In this embodiment, the term “speed” is used for the latter in order to avoid confusion between the bit rate related to content reproduction and the bit rate related to content transmission.
図2は、本実施の形態におけるエッジサーバのハードウェア構成例を示す図である。図2のエッジサーバ10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、及びインタフェース装置105等を有する。
FIG. 2 is a diagram illustrating a hardware configuration example of the edge server in the present embodiment. The
エッジサーバ10での処理を実現するプログラムは、記録媒体101によって提供される。プログラムを記録した記録媒体101がドライブ装置100にセットされると、プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。
A program for realizing processing in the
メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従ってエッジサーバ10に係る機能を実行する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。
The
なお、記録媒体101の一例としては、CD−ROM、DVDディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。
An example of the
なお、センタサーバ20についても、図2に示されるハードウェアを有していてもよい。
The
図3は、本実施の形態におけるエッジサーバの機能構成例を示す図である。図3において、エッジサーバ10は、端末側通信部11、センタ側通信部12、キャッシュ部13、キャッシュ管理部14、ビットレート判定部15、送信速度計算部16、及び欠落率算出部17等を有する。これら各部は、エッジサーバ10にインストールされたプログラムが、CPU104に実行させる処理により実現される。エッジサーバ10は、また、キャッシュ管理情報記憶部18を有する。キャッシュ管理情報記憶部18、及びキャッシュ部13内のキャッシュ記憶部133は、例えば、補助記憶装置102等を用いて実現可能である。
FIG. 3 is a diagram illustrating a functional configuration example of the edge server according to the present embodiment. In FIG. 3, the
端末側通信部11は、端末30との通信を制御する。端末側通信部11は、要求受信部111、データ送信部112、及び帯域制御部113等を含む。要求受信部111は、端末30からのコンテンツの配信要求を受信する。データ送信部112は、配信要求に係るコンテンツについて、端末30への送信を行う。帯域制御部113は、コンテンツの再生が適切に行われるように、コンテンツの送信速度(配信帯域)を制御する。
The terminal
センタ側通信部12は、要求送信部121及びデータ受信部122等を含む。要求送信部121は、コンテンツの取得要求を、センタサーバ20に送信する。終端からの一部分が削除されたコンテンツについては、当該一部分の取得が要求される。データ受信部122は、コンテンツの取得要求に応じてセンタサーバ20より返信されるコンテンツを受信する。
The center
キャッシュ部13は、センタサーバ20より受信されたコンテンツ(すなわち、過去に端末30に配信されたコンテンツ)をキャッシュする。キャッシュ部13は、読込部131、書込部132、及びキャッシュ記憶部133等を含む。キャッシュ記憶部133は、キャッシュ対象のコンテンツを記憶する。読込部131は、キャッシュ記憶部133からコンテンツを読み込む。書込部132は、キャッシュ記憶部133に対してコンテンツを書き込む。
The
キャッシュ管理部14は、キャッシュされたコンテンツの管理を行う。キャッシュ管理部14は、削除対象選択部141及び削除部142等を含む。削除対象選択部141は、キャッシュ記憶部133に記憶されているコンテンツのアクセス状況(利用状況)に基づいて、削除対象とするコンテンツを選択する。削除部142は、削除対象選択部141によって選択されたコンテンツの残存部の終端(以下、「現終端」という。)からの一部分を削除する。削除が行われていないコンテンツであれば、コンテンツの全部が残存部ある。なお、コンテンツの全部の終端を、以下、「本来の終端」という。
The
キャッシュ管理情報記憶部18は、キャッシュ記憶部133に記憶された各コンテンツの属性情報を記憶する。属性情報には、アクセス状況を示す情報も含まれる。
The cache management
ビットレート判定部15は、端末30からの配信要求に係るコンテンツのビットレート(単位時間あたりの再生データ量)を判定する。ビットレートは、例えば、コンテンツ内に記録されている情報に基づいて判定されてもよい。 The bit rate determining unit 15 determines the bit rate (reproduction data amount per unit time) of the content related to the distribution request from the terminal 30. For example, the bit rate may be determined based on information recorded in the content.
送信速度計算部16は、端末30に対するコンテンツの送信速度を計算する。例えば、コンテンツのビットレートが、当該コンテンツの送信速度とされてもよい。または、ネットワークN2の帯域の変化に応じたコンテンツの再生の遅延を回避するため、コンテンツのビットレートに対して1.0を超える係数が乗じられた値が、当該コンテンツの送信速度とされてもよい。
The transmission
欠落率算出部17は、配信要求に係るコンテンツについて、当該コンテンツの全部に対する欠落部の割合(以下、「欠落率」という。)を算出する。なお、欠落率は、要求送信部121からの、センタサーバ20に対するコンテンツの取得要求に指定される。但し、キャッシュされていないコンテンツについて、欠落率は指定されない。又は、キャッシュされていないコンテンツについては、欠落率として、1.0(100%)が指定されてもよい。
The missing
図4は、本実施の形態におけるセンタサーバの機能構成例を示す図である。図4において、センタサーバ20は、通信処理部21、読込部22、欠落率判定部23、ビットレート判定部24、及び送信速度計算部25等を有する。これら各部は、センタサーバ20にインストールされたプログラムが、センタサーバ20のCPUに実行させる処理により実現される。センタサーバ20は、また、コンテンツ記憶部26を有する。コンテンツ記憶部26は、例えば、センタサーバ20が有する補助記憶装置を用いて実現可能である。
FIG. 4 is a diagram illustrating a functional configuration example of the center server according to the present embodiment. 4, the
通信処理部21は、エッジサーバ10との通信を制御する。通信処理部21は、要求受信部211、データ送信部212、及び帯域制御部213等を含む。要求受信部211は、エッジサーバ10からのコンテンツの取得要求を受信する。データ送信部212は、要求されたコンテンツをエッジサーバ10に送信する。帯域制御部213は、データ送信部212によるコンテンツの送信速度を制御する。
The
読込部22は、データ送信部212がエッジサーバ10に送信するコンテンツをコンテンツ記憶部26より読み込む。コンテンツ記憶部26は、各コンテンツを記憶する。
The
ビットレート判定部24は、エッジサーバ10からの取得要求に係るコンテンツのビットレートを判定する。
The bit
送信速度計算部25は、エッジサーバ10に対するコンテンツの送信速度を計算する。具体的には、送信速度計算部25は、コンテンツの全部をエッジサーバ10に送信する場合の送信速度に対し、当該コンテンツの欠落率を乗じた値を、エッジサーバ10に対するコンテンツの送信速度とする。本実施の形態では、コンテンツの全部をエッジサーバ10に送信する場合の送信速度は、当該コンテンツに関してビットレート判定部24によって判定されるビットレートに基づく。例えば、当該ビットレートに対して1.0以上の所定の係数を乗じた結果が、コンテンツの全部をエッジサーバ10に送信する場合の送信速度とされてもよい。
The transmission
以下、エッジサーバ10及びセンタサーバ20のそれぞれが実行する処理手順について説明する。図5は、エッジサーバが実行する処理手順の一例を説明するためのフローチャートである。
Hereinafter, processing procedures executed by each of the
ステップS101において、要求受信部111は、コンテンツの配信要求を端末30から受信する。コンテンツの配信要求には、コンテンツ名が指定されている。コンテンツの配信要求の受信に応じ、読込部131は、キャッシュ記憶部133を参照して、当該配信要求に指定されたコンテンツ名に係るコンテンツ(以下、「対象コンテンツ」という。)のキャッシュデータの有無を判定する(S102)。キャッシュデータの有無とは、対象コンテンツの少なくとも一部がキャッシュ記憶部133に記憶されているか否かをいう。
In step S <b> 101, the
キャッシュデータが無い場合(S102でNo)、要求送信部121は、欠落率を指定しないで、対象コンテンツの取得要求を、センタサーバ20に送信する(S103)。当該取得要求には、対象コンテンツのコンテンツ名が指定される。
When there is no cache data (No in S102), the
当該取得要求に応じてセンタサーバ20より返信された対象コンテンツの一部のデータがデータ受信部122によって受信されると(S104)、キャッシュ管理部14は、キャッシュデータ削除処理を実行する(S105)。キャッシュデータ削除処理の詳細については後述されるが、キャッシュデータ削除処理によって、必要に応じて、キャッシュデータが削除され、キャッシュ記憶部133に空き容量が確保される。
When a part of the data of the target content returned from the
続いて、書込部132は、受信されたデータをキャッシュ記憶部133に書き込む(S106)。具体的には、例えば、対象コンテンツのファイルがキャッシュ記憶部133に生成され、当該ファイルに受信されたデータが書き込まれる。
Subsequently, the
続いて、データ送信部112は、受信されたデータを端末30に送信する(S107)。この際、ビットレート判定部15によって、対象コンテンツのビットレートが判定される。送信速度計算部16は、ビットレート判定部15によって判定されたビットレートに対して、1.0以上の所定の係数を乗じた値を送信速度として算出する。帯域制御部113は、データ送信部112によるデータの送信速度を、算出された送信速度に維持されるように制御する。なお、帯域制御部113による送信速度の制御方法については、例えば、特開2010−232832号公報に記載されている方法等、公知の方法が用いられてもよい。
Subsequently, the
なお、対象コンテンツのビットレートは、対象コンテンツのヘッダ部等に記録されている情報に基づいて判定されてもよい。 Note that the bit rate of the target content may be determined based on information recorded in the header portion or the like of the target content.
上記ステップS104〜S107は、対象コンテンツの全部が端末30に送信されるまで繰り返される(S108)。すなわち、センタサーバ20からの対象コンテンツの受信と、端末30への対象コンテンツの送信とは、並列的に行われる。対象コンテンツの全部が端末30に送信されると、書込部132は、キャッシュ管理情報記憶部18に対して、新たにキャッシュされたコンテンツに関するキャッシュ管理情報を登録する(S109)。
The above steps S104 to S107 are repeated until the entire target content is transmitted to the terminal 30 (S108). That is, reception of the target content from the
図6は、キャッシュ管理情報記憶部の構成例を示す図である。図6において、キャッシュ管理情報記憶部18は、キャッシュ記憶部133に記憶されたコンテンツごとに、コンテンツ名、最終アクセス日時、サイズ、欠落量、及びコンテンツ尺等を記憶する。
FIG. 6 is a diagram illustrating a configuration example of the cache management information storage unit. In FIG. 6, the cache management
コンテンツ名は、コンテンツの識別名である。例えば、コンテンツを格納するファイルのファイル名が、コンテンツ名であってもよい。最終アクセス日時は、コンテンツが最後にアクセスされた日時である。サイズは、コンテンツの全部のデータサイズである。欠落量は、コンテンツの欠落部のデータサイズである。コンテンツ尺は、コンテンツの全部の再生時間である。 The content name is a content identification name. For example, the file name of the file storing the content may be the content name. The last access date and time is the date and time when the content was last accessed. The size is the total data size of the content. The missing amount is the data size of the missing portion of the content. The content scale is the total playback time of the content.
ステップS109では、最終アクセス日時には、現在日時が記憶される。欠落量には、0が記憶される。なお、コンテンツ名、サイズ、及びコンテンツ尺は、コンテンツ自体から取得されてもよいし、コンテンツと共に、コンテンツの属性情報として、センタサーバ20より取得されてもよい。
In step S109, the current date is stored as the last access date. 0 is stored in the missing amount. Note that the content name, size, and content scale may be acquired from the content itself, or may be acquired from the
一方、キャッシュデータが有る場合(S102でYes)、端末30へのキャッシュデータの配信処理(S110)と、センタサーバ20からの欠落部の取得処理(S120)とが並列的に実行される。 On the other hand, when there is cache data (Yes in S102), the process of distributing the cache data to the terminal 30 (S110) and the process of acquiring the missing part from the center server 20 (S120) are executed in parallel.
端末30へのキャッシュデータの配信処理(S110)では、次のような処理が実行される。ステップS111において、読込部131は、対象コンテンツのコンテンツ名に対応付けてキャッシュ管理情報記憶部18が記憶する、最終アクセス日時を現在日時に更新する(S111)。続いて、読込部131は、対象コンテンツの一部のデータキャッシュ記憶部133よりメモリ装置103に読み込む(S112)。データ送信部112は、メモリ装置103に読み込まれたデータを、端末30に送信する(S113)。ステップS112及びS113は、対象コンテンツの本来の終端が送信されるまで繰り返される(S114)。なお、ステップS113においては、ビットレート判定部15によって、対象コンテンツのビットレートが判定される。送信速度計算部16は、ビットレート判定部15によって判定されたビットレートに対して、1.0以上の所定の係数を乗じた値を送信速度として算出する。帯域制御部113は、データ送信部112によるデータの送信速度を、算出された送信速度に維持されるように制御する。
In the process of distributing cache data to the terminal 30 (S110), the following process is executed. In step S111, the
センタサーバ20からの欠落部の取得処理(S120)では、次のような処理が実行される。まず、欠落率算出部17は、対象コンテンツについて、欠落部の有無を判定する(S121)。欠落部の有無は、対象コンテンツのコンテンツ名に対応付けてキャッシュ管理情報記憶部18が記憶する、欠落量を参照することにより判定可能である。すなわち、欠落量が0を超える値であれば、欠落部は有ると判定される。
In the missing part acquisition process (S120) from the
欠落部が無い場合(S121でNo)、センタサーバ20からの欠落部の取得処理(S120)は終了する。欠落部が有る場合(S121でYes)、欠落率算出部17は、対象コンテンツの欠落率を算出する(S122)。欠落率は、対象コンテンツのコンテンツ名に対応づけてキャッシュ管理情報記憶部18が記憶する、サイズ及び欠落量に基づいて算出可能である。すなわち、欠落率は、当該欠落量を当該サイズによって除することにより算出可能である。
When there is no missing part (No in S121), the missing part acquisition process (S120) from the
続いて、要求送信部121は、対象コンテンツのコンテンツ名と、算出された欠落率とを指定して、対象コンテンツの取得要求を、センタサーバ20に送信する(S123)。当該取得要求に応じてセンタサーバ20より返信された対象コンテンツの一部のデータがデータ受信部122によって受信されると(S124)、キャッシュ管理部14は、キャッシュデータ削除処理を実行する(S125)。続いて、書込部132は、受信されたデータをキャッシュ記憶部133に書き込む(S126)。例えば、キャッシュ記憶部133に記憶されている、対象コンテンツのファイルの末端に、受信されたデータが追加的に書き込まれる。
Subsequently, the
ステップS124〜S126は、対象コンテンツの欠落部の全部がキャッシュ記憶部133に書き込まれるまで繰り返される(S127)。なお、センタサーバ20より取得され、キャッシュ記憶部133に書き込まれた、対象コンテンツの欠落部は、端末30へのキャッシュデータの配信処理(S110)において、対象コンテンツの残存部に続いて、端末30に送信される。すなわち、欠落部の取得が、残存部の送信に対して遅延なく行われれば、端末30へのキャッシュデータの配信処理(S110)においては、欠落部の存在は認識されることなく、端末30に対して、対象コンテンツの残存部及び欠落部の送信が行われる。
Steps S124 to S126 are repeated until all of the missing parts of the target content are written in the cache storage unit 133 (S127). The missing part of the target content acquired from the
続いて、書込部132は、対象コンテンツのコンテンツ名に対応付けてキャッシュ管理情報記憶部18が記憶する欠落量を0に更新する(S128)。
Subsequently, the
続いて、ステップS105及びS125の詳細について説明する。図7は、キャッシュデータ削除処理の処理手順の一例を説明するためのフローチャートである。 Next, details of steps S105 and S125 will be described. FIG. 7 is a flowchart for explaining an example of the processing procedure of the cache data deletion processing.
ステップS131において、削除対象選択部141は、キャッシュ記憶部133に所定量の空き容量が有るか否かを判定する。所定量は、例えば、予め設定された固定値であってもよいし、図5のステップS104又はS124において受信されたデータのサイズ以上の値であってもよい。
In step S131, the deletion
所定量の空きが無い場合(S131でNo)、削除対象選択部141は、キャッシュ管理情報記憶部18において、最も古い日時を示す最終アクセス日時に対応付けられているコンテンツ名に係るコンテンツを削除対象として選択する(S132)。続いて、削除部142は、選択されたコンテンツのキャッシュデータの残存部の終端からの一部を削除する(S133)。当該一部のデータサイズは、例えば、当該コンテンツのサイズに対する所定の割合であってもよいし、全てのコンテンツに共通の固定値であってもよい。
When there is no predetermined amount of space (No in S131), the deletion
続いて、削除部142は、選択されたコンテンツについて、キャッシュ管理情報記憶部18が記憶する最終アクセス日時と欠落量とを更新する(S134)。最終アクセス日時は、現在日時に更新される。欠落量は、更新前の欠落量に対して、ステップS133において削除された一部のデータサイズが加算された値に更新される。
Subsequently, the
ステップS132〜S134は、キャッシュ記憶部133に所定量の空き容量が確保されるまで繰り返される(S131)。 Steps S132 to S134 are repeated until a predetermined amount of free space is secured in the cache storage unit 133 (S131).
このように、本実施の形態では、キャッシュ記憶部133の容量を確保するために、削除対象として選択されたコンテンツの全部が削除されるのではなく、削除対象として選択されたコンテンツの一部が削除される。したがって、削除対象として選択されたコンテンツの全部が削除される場合に比べて、削除対象とされるコンテンツの数は増加するが、全部が削除されてしまうコンテンツの数を減少させることができる。その結果、少なくとも一部がキャッシュされているコンテンツの数を増加させることができ、キャッシュの見かけ上のヒット率を増加させることができる。
As described above, in this embodiment, in order to secure the capacity of the
なお、残存部の一部が繰り返し削除されることにより、最終的にその全部が削除されるコンテンツが有ってもよい。または、残存部が所定量以下となったコンテンツは、削除対象から除外されるようにしてもよい。この場合、キャッシュされている全てのコンテンツの残存部が所定量以下であるにも拘わらず、キャッシュ記憶部133に所定量の空き容量を確保できない場合は、残存部が所定量以下であるコンテンツは削除対象から除外するといったルールは無視されてもよい。
Note that there may be content in which all of the remaining part is finally deleted by repeatedly deleting the part. Alternatively, content whose remaining portion is equal to or less than a predetermined amount may be excluded from the deletion target. In this case, if a predetermined amount of free space cannot be secured in the
また、本実施の形態では、いわゆるLRU法によって、削除対象が選択される例を示したが、削除対象は、LRU法以外のアルゴリズムによって選択されてもよい。例えば、残存部のデータサイズ又は割合が最も大きいコンテンツが、削除対象として選択されてもよい。 In this embodiment, an example in which a deletion target is selected by a so-called LRU method has been described, but the deletion target may be selected by an algorithm other than the LRU method. For example, the content with the largest data size or ratio of the remaining part may be selected as the deletion target.
また、本実施の形態では、端末30からのコンテンツの配信要求の受信に応じて(S101)、キャッシュデータ削除処理が実行される例を示したが、キャッシュデータ削除処理は、当該配信要求の受信とは非同期に行われてもよい。例えば、定期的にキャッシュデータ削除処理が実行されてもよい。 In the present embodiment, an example is shown in which the cache data deletion process is executed in response to the reception of a content distribution request from the terminal 30 (S101). May be performed asynchronously. For example, cache data deletion processing may be executed periodically.
続いて、センタサーバ20が実行する処理手順について説明する。図8は、センタサーバが実行する処理手順の一例を説明するためのフローチャートである。
Subsequently, a processing procedure executed by the
ステップS201において、要求受信部211は、コンテンツの取得要求をエッジサーバ10から受信する。当該取得要求は、例えば、図5のステップS103やステップS123において、エッジサーバ10より送信されたものである。
In step S <b> 201, the
続いて、ビットレート判定部24は、取得要求に係るコンテンツ(以下、「対象コンテンツ」という。)のビットレートを判定する(S202)。続いて、送信速度計算部25は、対象コンテンツの送信速度を計算する(S203)。例えば、ビットレートに対して1.0以上の所定の係数を乗じた結果が、送信速度として算出される。
Subsequently, the bit
続いて、欠落率判定部23は、ステップS201において受信された対象コンテンツの取得要求に、欠落率が指定されているか否かを判定する(S204)。欠落率が指定されている場合(S204でYes)、送信速度計算部25は、ステップS203において算出された送信速度(以下、「基本送信速度」という。)に対して欠落率を乗じた結果を、送信速度とする(S205)。したがって、例えば、上記所定の係数を1.0とした場合、コンテンツのビットレートが、6Mbpsであり、欠落率が50%であれば、送信速度は、6.0×0.5=3Mbpsとなる。
Subsequently, the missing
なお、当該送信速度は、エッジサーバ10側で算出することも可能である。したがって、例えば、エッジサーバ10の欠落率算出部17は、欠落率に基づいて、当該送信速度を計算してもよい。この場合、センタサーバ20に対する、対象コンテンツの取得要求には、当該送信速度が指定されてもよい。センタサーバ20の送信速度計算部25は、指定された送信速度を、対象コンテンツの送信速度としてもよい。
The transmission speed can be calculated on the
なお、基本送信速度に欠落率を乗じて得られる値を超える速度が、送信速度とされてもよい。基本送信速度に欠落率を乗じて得られる値を超える速度で欠落部がエッジサーバ10に送信されれば、端末30へのコンテンツの配信について、残存部に対して欠落部が遅延する可能性を低くすることができるからである。但し、ネットワークN1の負荷の平準化の観点から、ステップS205において算出される送信速度は、対象コンテンツの全部を送信する場合の送信速度(すなわち、基本送信速度)よりも遅ければ遅いほど望ましい。当該送信速度が遅ければ、一つのコンテンツに関してネットワークN1に使用される帯域を小さくすることができ、センタサーバ20に対してコンテンツの取得要求が集中したとしても、ネットワークN1が帯域不足になる可能性を低減することができるからである。
Note that a speed exceeding the value obtained by multiplying the basic transmission speed by the missing rate may be set as the transmission speed. If the missing part is transmitted to the
続いて、読込部22は、対象コンテンツの取得要求に指定されているコンテンツ名に係る対象コンテンツの一部のデータを、コンテンツ記憶部26より読み込む(S206)。続いて、データ送信部212は、読み込まれたデータを、エッジサーバ10に送信する(S207)。帯域制御部213は、データ送信部212によるデータの送信速度を、対象コンテンツに関して算出された送信速度に維持されるように制御する。なお、帯域制御部213による送信速度の制御方法は、帯域制御部113による送信速度の制御方法と同様でもよい。
Subsequently, the
ステップS206及びS207は、対象コンテンツの全部が送信されるまで繰り返される。但し、コンテンツの取得要求に欠落率が指定されている場合、ステップS206及びS207において処理対象とされるのは、対象コンテンツの欠落部のデータである。したがって、欠落率が指定されている場合、対象コンテンツの欠落部のデータの先頭から順に、ステップS206及びS207が実行される。なお、対象コンテンツの欠落部のデータのデータサイズは、対象コンテンツの送信要求に指定された欠落率を、対象コンテンツのデータサイズに乗じることにより求めることができる。または、欠落部のデータの先頭位置が、対象コンテンツの送信要求に指定されてもよい。 Steps S206 and S207 are repeated until the entire target content is transmitted. However, when the missing rate is specified in the content acquisition request, the data to be processed in steps S206 and S207 is the data of the missing portion of the target content. Therefore, when the missing rate is specified, steps S206 and S207 are executed in order from the beginning of the data of the missing part of the target content. The data size of the data of the missing portion of the target content can be obtained by multiplying the data size of the target content by the missing rate specified in the target content transmission request. Alternatively, the start position of the missing portion data may be specified in the transmission request for the target content.
上述したように、本実施の形態によれば、エッジサーバ10にキャッシュされているコンテンツについて、一部ずつ削除されるため、キャッシュの見かけ上のヒット率を上げることができる。したがって、同時にキャッシュミスが多発することによる、ネットワークN1の帯域不足の発生等のリスクを低減することができる。
As described above, according to the present embodiment, the content cached in the
また、コンテンツの欠落部を、センタサーバ20からエッジサーバ10に送信する際には、コンテンツの残存部のエッジサーバ10から端末30への送信に要する時間分だけ余裕がある。したがって、当該余裕の分だけ、センタサーバ20からエッジサーバ10への当該コンテンツの欠落部の送信について、当該コンテンツの全部を送信対象とする場合に比べて、送信速度を低下させることができる。その結果、センタサーバ20とエッジサーバ10との間のネットワークN1の負荷を平準化することができる。
Further, when transmitting the missing content portion from the
また、欠落部の送信速度が、(基本送信速度×欠落率)以上とされることにより、端末30への欠落部への配信について、キャッシュされている残存部に対して遅延が発生する可能性を低減させることができる。したがって、コンテンツの視聴者に違和感を与えることなく(例えば、配信される映像の品質を劣化させることなく)、コンテンツが配信される可能性を高めることができる。 Further, when the transmission rate of the missing part is set to (basic transmission rate × missing rate) or more, there is a possibility that a delay will occur with respect to the cached remaining part in the delivery to the missing part to the terminal 30. Can be reduced. Therefore, it is possible to increase the possibility that the content will be distributed without giving a sense of incongruity to the viewer of the content (for example, without degrading the quality of the distributed video).
なお、欠落部は、コンテンツの終端からの一部分でなくてもよい。例えば、削除部142は、コンテンツの中間部分を削除するようにしてもよい。中間部分とは、コンテンツの先端及び終端を除く部分をいう。すなわち、欠落部による削除対象は、コンテンツの途中からの一部であればよく、当該一部の終端と、コンテンツの本来の終端とは必ずしも一致しなくてもよい。また、削除部142は、一つのコンテンツについて、歯抜け状に、複数の欠落部が形成されるように、コンテンツの削除を行ってもよい。
The missing part may not be a part from the end of the content. For example, the
中間部分が欠落部とされる場合、当欠落部の送信速度は、当該欠落部の直前の残存部と当該欠落部とのデータサイズの合計に対する当該欠落部のデータサイズの割合を、基本送信速度に乗じた値を、当該欠落部についてのセンタサーバ20からエッジサーバ10への送信速度としてもよい。
When the middle part is a missing part, the transmission rate of the missing part is the ratio of the data size of the missing part to the total data size of the remaining part immediately before the missing part and the missing part. A value obtained by multiplying by may be used as the transmission speed from the
なお、エッジサーバ10は、帯域制御部113、ビットレート判定部15、及び送信速度計算部16を有していなくてもよい。図9は、本実施の形態におけるエッジサーバの第二の機能構成例を示す図である。図9中、図3と同一部分には同一符号を付し、その説明は省略する。
The
図9において、エッジサーバ10は、帯域制御部113、ビットレート判定部15、及び送信速度計算部16を有していない。この場合、端末30へのコンテンツ送信速度は、端末30の主導によって制御される。例えば、端末30との通信において、端末30から通知されたデータサイズ分だけ端末30にコンテンツが送信されてもよい。このような形態の一例として、TCPにおけるウィンドウサイズの通知によるフロー制御が挙げられる。
In FIG. 9, the
なお、本実施の形態において、センタ側通信部12は、取得部の一例である。データ送信部112は、送信部の一例である。キャッシュ記憶部133は、記憶部の一例である。
In the present embodiment, the center
以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.
以上の説明に関し、更に以下の項を開示する。
(付記1)
ネットワークを介して受信される、データの第一の送信要求の受信に応じ、前記データをネットワークを介して取得する取得部と、
取得されたデータを前記第一の送信要求元に送信する送信部と、
取得されたデータを記憶する記憶部と、
前記データの途中からの一部分を前記記憶部より削除する削除部とを有し、
前記取得部は、前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、
前記送信部は、前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信するデータ送信装置。
(付記2)
前記取得部は、前記第二の送信要求に応じ、前記送信部による前記第二の送信要求元への前記一部分の送信が、前記残存部分の送信に対して遅延しないように、前記一部分を前記ネットワークを介して取得する付記1記載のデータ送信装置。
(付記3)
前記取得部は、前記第二の送信要求に応じ、前記データの全部を取得する場合の速度に、前記データの全部に対する前記一部分の割合を乗じることにより得られる値以上の速度で、前記一部分を前記ネットワークを介して取得する付記2記載のデータ送信装置。
(付記4)
前記取得部は、前記第二の送信要求に応じ、前記データの再生時のビットレートに、前記データの全部に対する前記一部分の割合を乗じることにより得られる値以上の速度で、前記一部分を前記ネットワークを介して取得する付記2記載のデータ送信装置。
(付記5)
データを記憶するデータ記憶装置と、前記データ記憶装置にネットワークを介して接続するデータ送信装置とを含むデータ送信システムであって、
前記データ送信装置は、
ネットワークを介して受信される、データの第一の送信要求の受信に応じ、前記データを前記データ記憶装置より取得する取得部と、
取得されたデータを前記第一の送信要求元に送信する送信部と、
取得されたデータを記憶する記憶部と、
前記データの途中からの一部分を前記記憶部より削除する削除部とを有し、
前記取得部は、前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記データ記憶装置より取得し、
前記送信部は、前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信するデータ送信システム。
(付記6)
ネットワークを介して受信される、データの第一の送信要求の受信に応じ、前記データをネットワークを介して取得し、
取得されたデータを前記第一の送信要求元に送信し、
取得されたデータを記憶部に記憶し、
前記データの途中からの一部分を前記記憶部より削除し、
前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、
前記データの前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信する処理をコンピュータが実行するデータ送信方法。
(付記7)
前記第二の送信要求に応じ、前記送信部による前記第二の送信要求元への前記一部分の送信が、前記残存部分の送信に対して遅延しないように、前記一部分を前記ネットワークを介して取得する付記6記載のデータ送信方法。
(付記8)
前記第二の送信要求に応じ、前記データの全部を取得する場合の速度に、前記データの全部に対する前記一部分の割合を乗じることにより得られる値以上の速度で、前記一部分を前記ネットワークを介して取得する付記7記載のデータ送信方法。
(付記9)
前記第二の送信要求に応じ、前記データの再生時のビットレートに、前記データの全部に対する前記一部分の割合を乗じることにより得られる値以上の速度で、前記一部分を前記ネットワークを介して取得する付記7記載のデータ送信方法。
(付記10)
ネットワークを介して受信される、データの第一の送信要求の受信に応じ、前記データをネットワークを介して取得し、
取得されたデータを前記第一の送信要求元に送信し、
取得されたデータを記憶部に記憶し、
前記データの途中からの一部分を前記記憶部より削除し、
前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、
前記データの前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信する処理をコンピュータに実行させるプログラム。
(付記11)
前記第二の送信要求に応じ、前記送信部による前記第二の送信要求元への前記一部分の送信が、前記残存部分の送信に対して遅延しないように、前記一部分を前記ネットワークを介して取得する付記10記載のプログラム。
(付記12)
前記第二の送信要求に応じ、前記データの全部を取得する場合の速度に、前記データの全部に対する前記一部分の割合を乗じることにより得られる値以上の速度で、前記一部分を前記ネットワークを介して取得する付記11記載のプログラム。
(付記13)
前記第二の送信要求に応じ、前記データの再生時のビットレートに、前記データの全部に対する前記一部分の割合を乗じることにより得られる値以上の速度で、前記一部分を前記ネットワークを介して取得する付記11記載のプログラム。
Regarding the above description, the following items are further disclosed.
(Appendix 1)
An acquisition unit for acquiring the data via the network in response to reception of the first transmission request for the data received via the network;
A transmission unit for transmitting the acquired data to the first transmission request source;
A storage unit for storing the acquired data;
A deletion unit that deletes a portion from the middle of the data from the storage unit,
The acquisition unit acquires the part via the network at a slower rate than when acquiring all of the data in response to a second transmission request for the data,
In response to the second transmission request, the transmission unit transmits the part acquired by the acquisition unit to the second transmission request source following the remaining part excluding the part of the data. apparatus.
(Appendix 2)
In response to the second transmission request, the acquisition unit sets the portion to the second transmission request source so that transmission of the portion to the second transmission request source is not delayed with respect to transmission of the remaining portion. The data transmission device according to
(Appendix 3)
In response to the second transmission request, the obtaining unit multiplies the part at a speed equal to or higher than a value obtained by multiplying a speed when obtaining all the data by a ratio of the part to the whole data. The data transmission device according to appendix 2, which is acquired via the network.
(Appendix 4)
In response to the second transmission request, the acquisition unit transfers the part to the network at a speed equal to or higher than a value obtained by multiplying a bit rate at the time of reproducing the data by a ratio of the part to the whole of the data. The data transmitting apparatus according to supplementary note 2, which is acquired via
(Appendix 5)
A data transmission system comprising a data storage device for storing data and a data transmission device connected to the data storage device via a network,
The data transmission device includes:
An acquisition unit for acquiring the data from the data storage device in response to reception of a first transmission request for data received via a network;
A transmission unit for transmitting the acquired data to the first transmission request source;
A storage unit for storing the acquired data;
A deletion unit that deletes a portion from the middle of the data from the storage unit,
The acquisition unit acquires the part from the data storage device in response to a second transmission request for the data at a slower rate than when acquiring all of the data,
In response to the second transmission request, the transmission unit transmits the part acquired by the acquisition unit to the second transmission request source following the remaining part excluding the part of the data. system.
(Appendix 6)
In response to receiving a first transmission request for data received via the network, the data is obtained via the network;
Send the acquired data to the first transmission request source,
Store the acquired data in the storage unit,
A part of the data from the middle is deleted from the storage unit,
In response to a second transmission request for the data, the portion is acquired via the network at a slower rate than when all of the data is acquired;
In response to the second transmission request for the data, the computer transmits the part acquired by the acquisition unit to the second transmission request source following the remaining part of the data excluding the part. Data transmission method to be executed.
(Appendix 7)
In response to the second transmission request, the part is acquired via the network so that the transmission of the part to the second transmission request source by the transmission unit is not delayed with respect to the transmission of the remaining part. The data transmission method according to appendix 6.
(Appendix 8)
In response to the second transmission request, the part is transmitted via the network at a speed equal to or higher than a value obtained by multiplying the speed for obtaining all the data by the ratio of the part to the whole data. The data transmission method according to appendix 7, which is acquired.
(Appendix 9)
In response to the second transmission request, the part is acquired via the network at a speed equal to or higher than a value obtained by multiplying the bit rate at the time of reproduction of the data by the ratio of the part to the whole of the data. The data transmission method according to appendix 7.
(Appendix 10)
In response to receiving a first transmission request for data received via the network, the data is obtained via the network;
Send the acquired data to the first transmission request source,
Store the acquired data in the storage unit,
A part of the data from the middle is deleted from the storage unit,
In response to a second transmission request for the data, the portion is acquired via the network at a slower rate than when all of the data is acquired;
In response to the second transmission request for the data, a process of transmitting the part acquired by the acquisition unit to the second transmission request source subsequent to the remaining part of the data excluding the part. The program to be executed.
(Appendix 11)
In response to the second transmission request, the part is acquired via the network so that the transmission of the part to the second transmission request source by the transmission unit is not delayed with respect to the transmission of the remaining part. The program according to
(Appendix 12)
In response to the second transmission request, the part is transmitted via the network at a speed equal to or higher than a value obtained by multiplying the speed for obtaining all the data by the ratio of the part to the whole data. The program according to
(Appendix 13)
In response to the second transmission request, the part is acquired via the network at a speed equal to or higher than a value obtained by multiplying the bit rate at the time of reproduction of the data by the ratio of the part to the whole of the data. The program according to
1 配信システム
10 エッジサーバ
11 端末側通信部
12 センタ側通信部
13 キャッシュ部
14 キャッシュ管理部
15 ビットレート判定部
16 送信速度計算部
17 欠落率算出部
18 キャッシュ管理情報記憶部
20 センタサーバ
21 通信処理部
22 読込部
23 欠落率判定部
24 ビットレート判定部
25 送信速度計算部
26 コンテンツ記憶部
30 端末
100 ドライブ装置
101 記録媒体
102 補助記憶装置
103 メモリ装置
104 CPU
105 インタフェース装置
111 要求受信部
112 データ送信部
113 帯域制御部
121 要求送信部
122 データ受信部
131 読込部
132 書込部
133 キャッシュ記憶部
141 削除対象選択部
142 削除部
211 要求受信部
212 データ送信部
213 帯域制御部
B バス
DESCRIPTION OF
105
Claims (7)
取得されたデータを前記第一の送信要求元に送信する送信部と、
取得されたデータを記憶する記憶部と、
前記記憶部に記憶されているデータとは異なるデータが前記取得部によって取得されると、前記異なるデータが前記記憶部に記憶される前に、前記記憶部に記憶されている複数のデータのそれぞれについて、途中からの一部分を前記記憶部より削除する削除部とを有し、
前記取得部は、前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、
前記送信部は、前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信し、
前記削除部は、前記記憶部に記憶されている全てのデータについて途中からの一部分を削除しても前記異なるデータを前記記憶部に記憶できない場合、既に一部分が削除されたデータの一部分を削除する、
データ送信装置。 An acquisition unit for acquiring the data via the network in response to reception of the first transmission request for the data received via the network;
A transmission unit for transmitting the acquired data to the first transmission request source;
A storage unit for storing the acquired data;
When data different from the data stored in the storage unit is acquired by the acquisition unit, each of the plurality of data stored in the storage unit is stored before the different data is stored in the storage unit. for, and a deleting unit for deleting from the storage unit a part of the middle,
The acquisition unit acquires the part via the network at a slower rate than when acquiring all of the data in response to a second transmission request for the data,
In response to the second transmission request, the transmission unit transmits the portion acquired by the acquisition unit to the second transmission request source following the remaining portion excluding the portion of the data ,
The deletion unit deletes a part of the data that has already been partially deleted when the different data cannot be stored in the storage unit even if a part of the data stored in the storage unit is deleted. ,
Data transmission device.
前記データ送信装置は、
ネットワークを介して受信される、データの第一の送信要求の受信に応じ、前記データを前記データ記憶装置より取得する取得部と、
取得されたデータを前記第一の送信要求元に送信する送信部と、
取得されたデータを記憶する記憶部と、
前記記憶部に記憶されているデータとは異なるデータが前記取得部によって取得されると、前記異なるデータが前記記憶部に記憶される前に、前記記憶部に記憶されている複数のデータのそれぞれについて、途中からの一部分を前記記憶部より削除する削除部とを有し、
前記取得部は、前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記データ記憶装置より取得し、
前記送信部は、前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記取得部によって取得される前記一部分を、前記第二の送信要求元に送信し、
前記削除部は、前記記憶部に記憶されている全てのデータについて途中からの一部分を削除しても前記異なるデータを前記記憶部に記憶できない場合、既に一部分が削除されたデータの一部分を削除する、
データ送信システム。 A data transmission system comprising a data storage device for storing data and a data transmission device connected to the data storage device via a network,
The data transmission device includes:
An acquisition unit for acquiring the data from the data storage device in response to reception of a first transmission request for data received via a network;
A transmission unit for transmitting the acquired data to the first transmission request source;
A storage unit for storing the acquired data;
When data different from the data stored in the storage unit is acquired by the acquisition unit, each of the plurality of data stored in the storage unit is stored before the different data is stored in the storage unit. for, and a deleting unit for deleting from the storage unit a part of the middle,
The acquisition unit acquires the part from the data storage device in response to a second transmission request for the data at a slower rate than when acquiring all of the data,
In response to the second transmission request, the transmission unit transmits the portion acquired by the acquisition unit to the second transmission request source following the remaining portion excluding the portion of the data ,
The deletion unit deletes a part of the data that has already been partially deleted when the different data cannot be stored in the storage unit even if a part of the data stored in the storage unit is deleted. ,
Data transmission system.
取得されたデータを前記第一の送信要求元に送信し、
取得されたデータを記憶部に記憶し、
前記記憶部に記憶されているデータとは異なるデータが前記取得する処理によって取得されると、前記異なるデータが前記記憶部に記憶される前に、前記記憶部に記憶されている複数のデータのそれぞれについて、途中からの一部分を前記記憶部より削除し、
前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、
前記データの前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記一部分を前記ネットワークを介して取得する処理によって取得される前記一部分を、前記第二の送信要求元に送信する処理をコンピュータが実行し、
前記削除する処理は、前記記憶部に記憶されている全てのデータについて途中からの一部分を削除しても前記異なるデータを前記記憶部に記憶できない場合、既に一部分が削除されたデータの一部分を削除する、
るデータ送信方法。 In response to receiving a first transmission request for data received via the network, the data is obtained via the network;
Send the acquired data to the first transmission request source,
Store the acquired data in the storage unit,
When data different from the data stored in the storage unit is acquired by the acquisition process, before the different data is stored in the storage unit, a plurality of data stored in the storage unit is stored. For each, a part from the middle is deleted from the storage unit,
In response to a second transmission request for the data, the portion is acquired via the network at a slower rate than when all of the data is acquired;
In response to the second transmission request for the data, following the remaining portion excluding the portion of the data, the portion acquired by the process of acquiring the portion via the network is changed to the second transmission request. The computer executes the process to send to the original ,
In the process of deleting, if the different data cannot be stored in the storage unit even if a part of all the data stored in the storage unit is deleted, a part of the data that has already been deleted is deleted. To
Data transmission method.
取得されたデータを前記第一の送信要求元に送信し、
取得されたデータを記憶部に記憶し、
前記記憶部に記憶されているデータとは異なるデータが前記取得する処理によって取得されると、前記異なるデータが前記記憶部に記憶される前に、前記記憶部に記憶されている複数のデータのそれぞれについて、途中からの一部分を前記記憶部より削除し、
前記データの第二の送信要求に応じ、前記データの全部を取得する場合より遅い速度で、前記一部分を前記ネットワークを介して取得し、
前記データの前記第二の送信要求に応じ、前記データの前記一部分を除く残存部分に続いて、前記一部分を前記ネットワークを介して取得する処理によって取得される前記一部分を、前記第二の送信要求元に送信する処理をコンピュータに実行させ、
前記削除する処理は、前記記憶部に記憶されている全てのデータについて途中からの一部分を削除しても前記異なるデータを前記記憶部に記憶できない場合、既に一部分が削除されたデータの一部分を削除する、
プログラム。 In response to receiving a first transmission request for data received via the network, the data is obtained via the network;
Send the acquired data to the first transmission request source,
Store the acquired data in the storage unit,
When data different from the data stored in the storage unit is acquired by the acquisition process, before the different data is stored in the storage unit, a plurality of data stored in the storage unit is stored. For each, a part from the middle is deleted from the storage unit,
In response to a second transmission request for the data, the portion is acquired via the network at a slower rate than when all of the data is acquired;
In response to the second transmission request for the data, following the remaining portion excluding the portion of the data, the portion acquired by the process of acquiring the portion via the network is changed to the second transmission request. Let the computer execute the process to send to the original ,
In the process of deleting, if the different data cannot be stored in the storage unit even if a part of all the data stored in the storage unit is deleted, a part of the data that has already been deleted is deleted. To
program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012234094A JP6015338B2 (en) | 2012-10-23 | 2012-10-23 | Data transmission apparatus, data transmission system, data transmission method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012234094A JP6015338B2 (en) | 2012-10-23 | 2012-10-23 | Data transmission apparatus, data transmission system, data transmission method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014085822A JP2014085822A (en) | 2014-05-12 |
JP6015338B2 true JP6015338B2 (en) | 2016-10-26 |
Family
ID=50788829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012234094A Expired - Fee Related JP6015338B2 (en) | 2012-10-23 | 2012-10-23 | Data transmission apparatus, data transmission system, data transmission method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6015338B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017145389A1 (en) * | 2016-02-26 | 2017-08-31 | 三菱電機株式会社 | Node apparatus |
WO2017163426A1 (en) * | 2016-03-25 | 2017-09-28 | 富士通株式会社 | Relay device, relay method, and relay program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2130395C (en) * | 1993-12-09 | 1999-01-19 | David G. Greenwood | Multimedia distribution over wide area networks |
JPH11331806A (en) * | 1998-05-11 | 1999-11-30 | Matsushita Electric Ind Co Ltd | Video server and data distributing method therefor |
JP4505977B2 (en) * | 2000-11-10 | 2010-07-21 | ソニー株式会社 | Data storage device and method, and recording medium |
JP2006172290A (en) * | 2004-12-17 | 2006-06-29 | Canon Inc | Image output system |
-
2012
- 2012-10-23 JP JP2012234094A patent/JP6015338B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014085822A (en) | 2014-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5408257B2 (en) | Content distribution system, content distribution method, and content distribution program | |
CN109600437B (en) | Downloading method of streaming media resource and cache server | |
JP5814436B2 (en) | Caching information system and method | |
US20150215656A1 (en) | Content management apparatus and method, and storage medium | |
JP2007080161A (en) | Data distribution system, partial content storing server, method and program for increasing response speed | |
JP5764100B2 (en) | Content distribution system and content distribution method | |
EP3873101A1 (en) | Selective pre-caching of media streams | |
WO2011024949A1 (en) | Content distribution device, content distribution method, and program | |
US20220086535A1 (en) | Presenting Media Items on a Playing Device | |
JP2020188387A (en) | Control device, control method, and program | |
JP6015338B2 (en) | Data transmission apparatus, data transmission system, data transmission method, and program | |
KR102521753B1 (en) | A method for playing content streamed over a network in a player on a client device | |
JP2010191774A (en) | Content distribution system, content distribution device, content distribution method and program therefor, data storage device, and processing method and program therefor | |
JP2012150532A (en) | Cache device, data management method, program and cache system | |
KR101169041B1 (en) | Cache server and mutimedia contens providing method | |
US9535837B2 (en) | Decentralized online cache management for digital content conveyed over shared network connections based on cache fullness and cache eviction policies | |
JP6638145B2 (en) | Network system, node device, cache method and program | |
US9870385B2 (en) | Computer system, data management method, and computer | |
JP5192506B2 (en) | File cache management method, apparatus, and program | |
KR101590098B1 (en) | Apparatus and method for buffering | |
US9601153B2 (en) | Systems and processes for efficiently storing and retrieving video content | |
JP2016015566A (en) | Terminal device and data distribution method | |
JP5617712B2 (en) | Content distribution server, content distribution system, content distribution program, and content distribution method | |
EP3207457B1 (en) | Hierarchical caching for online media | |
JP4533738B2 (en) | Cache deletion method and content relay server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150706 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160412 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160413 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160510 |
|
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: 20160830 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160912 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6015338 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |