JP2012195854A - Content distribution server, content distribution system, and content distribution program - Google Patents

Content distribution server, content distribution system, and content distribution program Download PDF

Info

Publication number
JP2012195854A
JP2012195854A JP2011059662A JP2011059662A JP2012195854A JP 2012195854 A JP2012195854 A JP 2012195854A JP 2011059662 A JP2011059662 A JP 2011059662A JP 2011059662 A JP2011059662 A JP 2011059662A JP 2012195854 A JP2012195854 A JP 2012195854A
Authority
JP
Japan
Prior art keywords
cache
content
data
video
distributed
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.)
Granted
Application number
JP2011059662A
Other languages
Japanese (ja)
Other versions
JP5617712B2 (en
Inventor
Takehiro Ueda
剛弘 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Networks Co Ltd
Original Assignee
Oki Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Networks Co Ltd filed Critical Oki Networks Co Ltd
Priority to JP2011059662A priority Critical patent/JP5617712B2/en
Publication of JP2012195854A publication Critical patent/JP2012195854A/en
Application granted granted Critical
Publication of JP5617712B2 publication Critical patent/JP5617712B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a content distribution server which has a reduced time from a cache start-up to the time when the cache data becomes available.SOLUTION: The present invention relates to a content distribution server which has a cache data storage and a cache controller and delivers content data stored in a content storage device to one or more delivery target devices. The cache controller determines whether a caching start condition is met. If the start condition is not yet met, the cache controller retrieves data from the content storage device and controls the data to be delivered to the delivery target devices. After the start condition is met, if data to be delivered to delivery target devices is stored in the cache data storage, the cache controller reads the data from the storage and controls the data to be delivered to the delivery target devices, or if the data to be delivered to the delivery target devices is not stored in the cache data storage, the cache controller retrieves the data from the content storage device and controls the retrieved data to be delivered and also stored in the cache data storage.

Description

本発明はコンテンツ配信サーバ、コンテンツ配信システム及びコンテンツ配信プログラムに関し、例えば、映像コンテンツをキャッシュしながら発信する場合に適用し得るものである。   The present invention relates to a content distribution server, a content distribution system, and a content distribution program. For example, the present invention can be applied when transmitting video content while caching it.

一般に、ビデオ・オン・デマンドシステムなどの映像コンテンツ配信システムでは、映像コンテンツ配信サーバの負荷とネットワークトラフィックを軽減する目的で、コンテンツデータを複製するキャッシュを利用する場合がある。このようなキャッシュを利用する映像コンテンツ配信システムでは、対象の映像コンテンツを別のサーバに複製する機能を追加することによりキャッシュを実現している(特許文献1参照)。ここで、1つのコンテンツデータの同時配信数が所定値以上になると、要求されたコンテンツデータの複製をキャッシュする。   In general, a video content distribution system such as a video-on-demand system may use a cache for copying content data in order to reduce the load on the video content distribution server and network traffic. In such a video content distribution system using a cache, a cache is realized by adding a function of copying the target video content to another server (see Patent Document 1). Here, when the number of simultaneous deliverys of one content data exceeds a predetermined value, the requested copy of the content data is cached.

特開2009−89019JP 2009-89019 A

しかしながら、上述した従来システムでは、1つのコンテンツデータの全体を別のサーバにキャッシュとして複製するため、大容量の映像コンテンツの複製には時間がかかり、複製が完了するまではキャッシュデータが使用できないという課題があった。   However, in the above-described conventional system, since the entire content data is copied as a cache to another server, it takes time to copy a large amount of video content, and the cache data cannot be used until the copying is completed. There was a problem.

そのため、キャッシュを起動したときからキャッシュデータを利用できるまでの時間が短いコンテンツ配信サーバ、コンテンツ配信システム及びコンテンツ配信プログラムが望まれている。   Therefore, a content distribution server, a content distribution system, and a content distribution program that have a short time from when the cache is activated until the cache data can be used are desired.

第1の本発明は、コンテンツ配信サーバが、オリジナルコンテンツ格納装置に格納されているコンテンツのデータを配信対象の1又は複数の配信先装置へ配信するコンテンツ配信システムにおいて、(1)上記コンテンツ配信サーバは、(1−1)キャッシュデータ格納手段と、(1−2)キャッシュ処理を開始する条件が成立したか否かを判定し、キャッシュ処理を開始する条件の成立前には、そのときの上記各配信先装置に対するコンテンツデータをそれぞれ、上記オリジナルコンテンツ格納装置から取得して配信させ、キャッシュ処理を開始する条件の成立後には、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されている上記各配信先装置に対しては、上記キャッシュデータ格納手段からコンテンツデータを読み出して配信させ、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されていない上記各配信先装置に対しては、上記オリジナルコンテンツ格納装置からコンテンツデータを取得して配信させると共に、そのコンテンツデータを上記キャッシュデータ格納手段に格納させるキャッシュ制御手段とを有することを特徴とする。   A first aspect of the present invention is a content distribution system in which a content distribution server distributes content data stored in an original content storage device to one or a plurality of distribution destination devices to be distributed. (1) The content distribution server Determines (1-1) the cache data storage means and (1-2) whether or not the condition for starting the cache process is satisfied, and before the condition for starting the cache process is satisfied, Content data for each distribution destination device is acquired from the original content storage device and distributed, and after the condition for starting the cache processing is satisfied, the content data to be distributed is stored in the cache data storage means For each destination device, the content data is read from the cache data storage means. The content data to be delivered and distributed to each delivery destination device in which the content data to be delivered is not stored in the cache data storage means is acquired and delivered from the original content storage device, and the content data Cache control means for storing the data in the cache data storage means.

第2の本発明は、オリジナルコンテンツ格納装置に格納されているコンテンツのデータを、配信対象の1又は複数の配信先装置へ配信するコンテンツ配信サーバにおいて、(1)キャッシュデータ格納手段と、(2)キャッシュ処理を開始する条件が成立したか否かを判定し、キャッシュ処理を開始する条件の成立前には、そのときの上記各配信先装置に対するコンテンツデータをそれぞれ、上記オリジナルコンテンツ格納装置から取得して配信させ、キャッシュ処理を開始する条件の成立後には、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されている上記各配信先装置に対しては、上記キャッシュデータ格納手段からコンテンツデータを読み出して配信させ、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されていない上記各配信先装置に対しては、上記オリジナルコンテンツ格納装置からコンテンツデータを取得して配信させると共に、そのコンテンツデータを上記キャッシュデータ格納手段に格納させるキャッシュ制御手段とを有することを特徴とする。   According to a second aspect of the present invention, in a content distribution server that distributes content data stored in an original content storage device to one or a plurality of distribution destination devices to be distributed, (1) a cache data storage unit; ) It is determined whether or not a condition for starting the cache processing is satisfied, and before the condition for starting the cache processing is satisfied, the content data for each of the delivery destination devices at that time is acquired from the original content storage device. After the condition for starting the cache processing is satisfied, the content data to be distributed is stored in the cache data storage unit from the cache data storage unit to the content data. And the content data to be distributed is the cache data A cache control unit that acquires and distributes content data from the original content storage device and stores the content data in the cache data storage unit to each distribution destination device that is not stored in the storage unit. It is characterized by having.

第3の本発明のコンテンツ配信プログラムは、オリジナルコンテンツ格納装置に格納されているコンテンツのデータを、配信対象の1又は複数の配信先装置へ配信するコンテンツ配信サーバであって、キャッシュデータ格納手段となるメモリを有するコンテンツ配信サーバに搭載されているコンピュータを、キャッシュ処理を開始する条件が成立したか否かを判定し、キャッシュ処理を開始する条件の成立前には、そのときの上記各配信先装置に対するコンテンツデータをそれぞれ、上記オリジナルコンテンツ格納装置から取得して配信させ、キャッシュ処理を開始する条件の成立後には、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されている上記各配信先装置に対しては、上記キャッシュデータ格納手段からコンテンツデータを読み出して配信させ、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されていない上記各配信先装置に対しては、上記オリジナルコンテンツ格納装置からコンテンツデータを取得して配信させると共に、そのコンテンツデータを上記キャッシュデータ格納手段に格納させるキャッシュ制御手段として機能させることを特徴とする。   A content distribution program according to a third aspect of the present invention is a content distribution server that distributes content data stored in an original content storage device to one or a plurality of distribution destination devices to be distributed, the cache data storage means, Determining whether or not a condition for starting the cache process is satisfied for the computer installed in the content distribution server having the memory, and before the condition for starting the cache process is satisfied, each of the distribution destinations at that time The content data for the device is acquired from the original content storage device and distributed, and after the condition for starting the cache processing is satisfied, the distribution destinations where the content data to be distributed are stored in the cache data storage means For the device, the cache data storage means The content data to be distributed is acquired and distributed from the original content storage device to each distribution destination device in which the content data to be distributed is not stored in the cache data storage means. It is characterized by functioning as cache control means for storing content data in the cache data storage means.

本発明によれば、キャッシュを起動したときからキャッシュデータを利用できるまでの時間が短いコンテンツ配信サーバ、コンテンツ配信システム及びコンテンツ配信プログラムを実現できる。   According to the present invention, it is possible to realize a content distribution server, a content distribution system, and a content distribution program that have a short time from when the cache is activated until the cache data can be used.

第1の実施形態のコンテンツ配信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the content delivery system of 1st Embodiment. 第1の実施形態のキャッシュ制御部の処理を示すフローチャートである。It is a flowchart which shows the process of the cache control part of 1st Embodiment. 第1の実施形態のキャッシュデータ格納部へ映像データが格納される状況を示したもの(その1)である。FIG. 2 illustrates a situation in which video data is stored in the cache data storage unit of the first embodiment (part 1). 第1の実施形態のキャッシュデータ格納部へ映像データが格納される状況を示したもの(その2)である。FIG. 6 illustrates a situation (part 2) in which video data is stored in the cache data storage unit of the first embodiment. 第1の実施形態のキャッシュデータ格納部へ映像データが格納される状況を示したもの(その3)である。FIG. 6 illustrates a situation (part 3) in which video data is stored in the cache data storage unit of the first embodiment. 第2の実施形態のコンテンツ配信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the content delivery system of 2nd Embodiment.

(A)第1の実施形態
以下、本発明によるコンテンツ配信サーバ、コンテンツ配信システム及びコンテンツ配信プログラムの第1の実施形態を、図面を参照しながら説明する。第1の実施形態のコンテンツ配信システムは映像コンテンツを配信するものである。
(A) First Embodiment Hereinafter, a first embodiment of a content distribution server, a content distribution system, and a content distribution program according to the present invention will be described with reference to the drawings. The content distribution system according to the first embodiment distributes video content.

(A−1)第1の実施形態の構成
図1は、第1の実施形態のコンテンツ配信システムの構成を示すブロック図である。コンテンツ配信システムが配信可能な映像コンテンツは複数種類であることが多いが、図1は、ある1種類の映像コンテンツに着目して示している。
(A-1) Configuration of First Embodiment FIG. 1 is a block diagram illustrating a configuration of a content distribution system according to the first embodiment. Although there are many types of video content that can be distributed by the content distribution system, FIG. 1 shows a single type of video content.

図1において、第1の実施形態のコンテンツ配信システム1は、オリジナルコンテンツ格納部101、コンテンツ配信サーバ110及び映像再生端末30−1〜30−N(Nは任意の自然数)を有する。   In FIG. 1, the content distribution system 1 of 1st Embodiment has the original content storage part 101, the content distribution server 110, and the video reproduction terminals 30-1 to 30-N (N is arbitrary natural numbers).

オリジナルコンテンツ格納部101は、配信対象の映像コンテンツのオリジナル(キャッシュの映像コンテンツに対する表現である)を格納しているものである。オリジナルコンテンツ格納部101は、コンテンツ配信サーバ110の外部記憶装置として実現されているものであっても良く、また、ネットワークや専用線を介してコンテンツ配信サーバ110に接続するコンテンツ格納サーバやコンテンツ供給元サーバとして実現されているものであっても良い。また、オリジナルの映像コンテンツは、圧縮処理がなされていないものであっても良く、また、圧縮処理がなされたものであっても良い。   The original content storage unit 101 stores the original of the video content to be distributed (which is an expression for the video content in the cache). The original content storage unit 101 may be realized as an external storage device of the content distribution server 110, and is a content storage server or content supplier connected to the content distribution server 110 via a network or a dedicated line. It may be realized as a server. Further, the original video content may be one that has not been subjected to compression processing, or one that has been subjected to compression processing.

コンテンツ配信サーバ110は、オリジナルコンテンツ格納部101に格納されている映像コンテンツを、ネットワークNETを介して映像コンテンツを要求している映像再生端末30−1〜30−Nに供給するものである。例えば、ネットワークNETがパケット通信ネットワークである場合、映像コンテンツは1つのパケットに挿入できる所定量の映像データに切り分けられて映像再生端末30−1〜30−Nに供給される。この実施形態の場合、コンテンツ配信サーバ110は、オリジナルコンテンツ格納部101からの映像コンテンツを、所定量に切り分けたりすることはあっても、圧縮などの加工を実行しないものである。   The content distribution server 110 supplies the video content stored in the original content storage unit 101 to the video playback terminals 30-1 to 30-N requesting the video content via the network NET. For example, when the network NET is a packet communication network, the video content is divided into a predetermined amount of video data that can be inserted into one packet and supplied to the video playback terminals 30-1 to 30-N. In the case of this embodiment, the content distribution server 110 does not perform processing such as compression even if the video content from the original content storage unit 101 is cut into a predetermined amount.

映像再生端末30−1〜30−Nはそれぞれ、例えば、ネットワーク接続機能を有するテレビ、セットトップボックス、パソコン、スマートフォンなどが該当し、コンテンツ配信サーバ110から供給された映像コンテンツを再生して利用者に提供するものである。映像コンテンツの配信開始は、例えば、利用者との契約に基づいた日時になると自動的に映像再生端末に対して配信を開始するようにしても良く、また例えば、映像再生端末から配信の要求があったときに、その映像再生端末に対して配信を開始するようにしても良い。以下では、後者であるとして説明する。   Each of the video playback terminals 30-1 to 30-N corresponds to, for example, a television set, a set top box, a personal computer, a smartphone, or the like having a network connection function, and plays back video content supplied from the content distribution server 110 to a user. It is to provide. For example, the distribution of the video content may be started automatically to the video playback terminal at a date and time based on a contract with the user. When it occurs, distribution may be started to the video playback terminal. In the following description, the latter is assumed.

コンテンツ配信サーバ110は、配信先管理部111、キャッシュ制御部112、キャッシュデータ格納部113及び映像送出データ部20−1〜20−N(図1では映像再生端末が割り当てられているものだけを描き出している)を有する。例えば、配信先管理部111及びキャッシュ制御部112は、専用的な処理用のICチップとして構成されていても良く(この場合であれば、配信先管理部111やキャッシュデータ格納部113なども実装可能である)、また、コンテンツ配信サーバ110に搭載されているCPUが実行するプログラムとして用意されたものであっても良い。すなわち、後者の場合であっても、機能的には、このような配信先管理部111及びキャッシュ制御部112に分けることができる。   The content distribution server 110 draws only the distribution destination management unit 111, the cache control unit 112, the cache data storage unit 113, and the video transmission data units 20-1 to 20-N (in FIG. 1, only those to which video playback terminals are assigned). Have). For example, the distribution destination management unit 111 and the cache control unit 112 may be configured as an IC chip for exclusive processing (in this case, the distribution destination management unit 111 and the cache data storage unit 113 are also mounted). In addition, the program may be prepared as a program executed by a CPU mounted on the content distribution server 110. That is, even in the latter case, it can be functionally divided into the distribution destination management unit 111 and the cache control unit 112.

配信先管理部111は、配信を要求してきた映像再生端末に映像データを配信(送信)する映像データ送出部を割り当てたり、配信先の映像再生端末についての情報を管理したり、映像データ送出部に対して配信の開始を指示したりするものである。   The distribution destination management unit 111 assigns a video data transmission unit that distributes (transmits) video data to the video reproduction terminal that has requested distribution, manages information about the video reproduction terminal that is the distribution destination, and the video data transmission unit. Or instructing the start of distribution.

配信先管理部111は、例えば、配信が必要な映像再生端末の数(同時配信数)、配信先の各映像再生端末の特定情報(例えば、ネットワーク上のアドレス)、その特定情報に対応付けられている利用する映像データ送出部などが管理されている。   The distribution destination management unit 111 is associated with, for example, the number of video reproduction terminals that need to be distributed (number of simultaneous distributions), identification information (for example, addresses on the network) of each distribution destination video reproduction terminal, and the identification information. The video data transmission unit to be used is managed.

例えば、映像再生端末が予め配信を要求する場合にアクセスしてくる当該コンテンツ配信サーバ110のアドレスやWebページなどが定まっており、そのようなアドレスやWebページなどへのアクセスを受け付ける図示しない要求受信部があり、要求受信部が任意の映像再生端末30−nからの配信要求を受け付けたときに、配信先管理部111は、未使用の映像データ送出部の中から、映像データを配信(送信)する映像データ送出部20−nを割り当てる。そして、配信先管理部111は、割り当てた映像データ送出部20−nに対して、配信先の映像再生端末30−nの特定情報を与えて配信の開始を指示する。   For example, when the video playback terminal requests distribution in advance, the address or web page of the content distribution server 110 to be accessed is determined, and a request reception (not shown) for accepting access to such an address or web page is received. When the request receiving unit receives a distribution request from an arbitrary video playback terminal 30-n, the distribution destination management unit 111 distributes (transmits) video data from unused video data transmission units. The video data transmission unit 20-n is assigned. Then, the distribution destination management unit 111 gives the specific information of the distribution destination video reproduction terminal 30-n to the allocated video data transmission unit 20-n to instruct the start of distribution.

キャッシュデータ格納部113は、映像コンテンツのキャッシュデータを格納するものである。すなわち、キャッシュデータ格納部113は、映像コンテンツの配信にキャッシュを利用することとなった場合に、配信に供した映像データが格納されると共に、適宜、格納された映像データが読み出されるものである。キャッシュデータ格納部113は、コンテンツ配信サーバ110内のメモリ(例えばRAM)やハードディスなどの内部の記憶装置上に形成されても良く、コンテンツ配信サーバ110の外部の記憶装置等に構築されても良い。ここで、外部の記憶装置が離れていても良いが、オリジナルコンテンツ格納部101との比較でアクセス性が格段的に良いことを要する。   The cache data storage unit 113 stores cache data of video content. In other words, the cache data storage unit 113 stores the video data provided for distribution when the cache is used for distribution of the video content, and appropriately reads the stored video data. . The cache data storage unit 113 may be formed on an internal storage device such as a memory (for example, RAM) or a hard disk in the content distribution server 110, or may be constructed on a storage device external to the content distribution server 110. good. Here, the external storage device may be separated, but it is required that the accessibility is markedly better in comparison with the original content storage unit 101.

キャッシュ制御部112は、映像コンテンツを構成する部分のデータである映像データをキャッシュデータ格納部113に書き込んだり、キャッシュデータ格納部113から映像データを読み出したりするものである。   The cache control unit 112 writes video data, which is data constituting a video content, to the cache data storage unit 113 and reads video data from the cache data storage unit 113.

キャッシュ制御部112は、配信先管理部111の管理情報や、キャッシュデータ格納部113に対する映像データ毎の格納済か否かの内蔵する格納有無情報を参照しながら、配信が必要な映像再生端末30−1〜30−Nに対する映像コンテンツ(従って映像データ)の配信を制御するものである。   The cache control unit 112 refers to the management information of the distribution destination management unit 111 and the built-in storage presence / absence information indicating whether or not each video data is stored in the cache data storage unit 113, and the video playback terminal 30 that needs to be distributed. It controls the distribution of video content (and hence video data) to -1 to 30-N.

キャッシュ制御部112は、配信中の映像再生端末の数が予め定まっている所定数に達するまでは、オリジナルコンテンツ格納部101から読み出した映像データを映像再生端末30−1〜30−Nに配信させるが、キャッシュデータ格納部113への格納を実行しない。   The cache control unit 112 distributes the video data read from the original content storage unit 101 to the video playback terminals 30-1 to 30-N until the predetermined number of video playback terminals being distributed reaches a predetermined number. However, storage in the cache data storage unit 113 is not executed.

キャッシュ制御部112は、配信中の映像再生端末の数が予め定まっている所定数に達すると、オリジナルコンテンツ格納部101から読み出した映像データ又はキャッシュデータ格納部113から読み出した映像データを映像再生端末に配信させ、また、オリジナルコンテンツ格納部101から読み出した映像データを複製してキャッシュデータ格納部113へ格納させる。キャッシュデータ格納部113に映像コンテンツの全ての映像データが格納された以降は、キャッシュ制御部112は、キャッシュデータ格納部113から読み出した映像データを映像再生端末に配信させる。   When the number of video playback terminals being distributed reaches a predetermined number, the cache control unit 112 outputs the video data read from the original content storage unit 101 or the video data read from the cache data storage unit 113 to the video playback terminal. The video data read from the original content storage unit 101 is duplicated and stored in the cache data storage unit 113. After all the video data of the video content is stored in the cache data storage unit 113, the cache control unit 112 distributes the video data read from the cache data storage unit 113 to the video playback terminal.

配信先の映像再生端末によって、同じ時刻でも、その時刻に配信すべき映像データは異なっている。配信中の映像再生端末の数が予め定まっている所定数に達した以降、キャッシュ制御部112は、キャッシュデータ格納部113に映像データがなければ、オリジナルコンテンツ格納部101から読み出した映像データを配信する。映像コンテンツ中で異なる箇所の映像データをオリジナルコンテンツ格納部101から読み出して異なる映像再生端末に配信する場合、キャッシュ制御部112は、読み出された映像データを全てキャッシュデータ格納部113に格納させる。そのため、キャッシュ制御部112は、キャッシュデータ格納部113への格納を開始する前に、映像コンテンツの長さなどに基づいて、キャッシュデータ格納部113のエリアを映像データ毎に分割すると共に、映像データ毎(若しくはキャッシュデータ格納部113のアドレス毎)に格納済か未格納を書き入れることができるテーブルを内部に生成し(生成直後は全てが未格納になっている)、キャッシュデータ格納部113に映像データを書き込む毎に「未格納」を「格納済」に更新する。キャッシュ制御部112は、映像データを、その映像データの映像コンテンツにおける位置に応じた、キャッシュデータ格納部113のエリアに書き込むように制御する。   Even at the same time, the video data to be distributed at the same time differs depending on the video reproduction terminal as the distribution destination. After the number of video playback terminals being delivered reaches a predetermined number, the cache control unit 112 delivers the video data read from the original content storage unit 101 if there is no video data in the cache data storage unit 113. To do. When video data at different locations in video content is read from the original content storage unit 101 and distributed to different video playback terminals, the cache control unit 112 stores all the read video data in the cache data storage unit 113. Therefore, before starting storage in the cache data storage unit 113, the cache control unit 112 divides the area of the cache data storage unit 113 into video data based on the length of the video content and the like. A table in which stored or unstored data can be written every time (or every address of the cache data storage unit 113) is generated internally (all are unstored immediately after generation), and video is stored in the cache data storage unit 113. Every time data is written, “not stored” is updated to “stored”. The cache control unit 112 controls the video data to be written in the area of the cache data storage unit 113 according to the position of the video data in the video content.

キャッシュ制御部112の映像データの読出し、書込み制御については、後述する動作説明の項でも明らかにする。   The video data read / write control of the cache control unit 112 will also be clarified in the description of the operation described later.

キャッシュ制御部112は、映像データ送出部20−nから要求された映像コンテンツの要求された映像データを、要求元の映像再生端末30−nへ出力する。   The cache control unit 112 outputs the requested video data of the video content requested from the video data sending unit 20-n to the requesting video playback terminal 30-n.

なお、キャッシュ制御部112は、キャッシュ処理を止める条件の成立をも監視しており、この条件の成立時には、オリジナルコンテンツ格納部101から読み出した映像データを映像再生端末30−1〜30−Nに配信させる状態に復帰させる。   Note that the cache control unit 112 also monitors the establishment of a condition for stopping the cache processing. When this condition is established, the video data read from the original content storage unit 101 is sent to the video playback terminals 30-1 to 30-N. Return to the state to be delivered.

映像データ送出部20は、当該コンテンツ配信サーバ110が同時配信し得る最大数だけ設けられている。図1では、映像コンテンツを配信する映像再生端末30−1〜30−Nに割り当てられている映像データ送出部20−1〜20−Nだけを記載している。配信先の映像再生端末30−nが割り当てられた映像データ送出部20−nは、キャッシュ制御部112から映像データを取り出し、ネットワークNETを通過できる形式(例えば、所定形式のパケット)に変換して、対応付けられている映像再生端末30−nに配信(送信)するものである。   The maximum number of video data transmission units 20 that can be simultaneously distributed by the content distribution server 110 is provided. In FIG. 1, only the video data transmission units 20-1 to 20-N assigned to the video playback terminals 30-1 to 30-N that distribute video content are shown. The video data sending unit 20-n to which the distribution destination video playback terminal 30-n is assigned takes out the video data from the cache control unit 112 and converts it into a format that can pass through the network NET (for example, a packet in a predetermined format). And distributed (transmitted) to the associated video reproduction terminal 30-n.

映像データ送出部20−nが、配信中の映像コンテンツのうちの未配信のデータ部分情報、若しくは、配信済のデータ部分の情報を内部で管理しており、この管理情報に基づいて、次の映像データをキャッシュ制御部112に要求する。又は、キャッシュ制御部112が、映像データ送出部20−nに映像コンテンツのどこまでの映像データを与えたかを管理しておき、映像データ送出部20−nから次の映像データの要求(映像データを特定する情報は含まれていない要求)があったときに、管理している情報に基づいて、次の映像データを映像データ送出部20−nに与えるようにしても良い。   The video data sending unit 20-n internally manages undistributed data portion information or distributed data portion information of the video content being distributed, and based on this management information, The video data is requested to the cache control unit 112. Alternatively, the cache control unit 112 manages how much video data has been supplied to the video data transmission unit 20-n, and requests the next video data (video data from the video data transmission unit 20-n). When there is a request that does not include information to be specified), the next video data may be given to the video data transmission unit 20-n based on the managed information.

以上では、映像データ送出部20−nが次の映像データをキャッシュ制御部112に要求し、それに応じて、キャッシュ制御部112が映像データ送出部20−nに次の映像データを与える方法を示したが、キャッシュ制御部112が映像データ送出部20−nに次々と映像データを自律的に与える方法であっても良い。後者の方法では、映像データ送出部20−nがバッファメモリを持っていることが好ましい。後述する動作の項では、前者の方法が適用されているとして説明する。   In the above, the video data sending unit 20-n requests the next video data from the cache control unit 112, and the cache control unit 112 provides the next video data to the video data sending unit 20-n accordingly. However, the cache control unit 112 may autonomously give video data to the video data transmission unit 20-n one after another. In the latter method, the video data transmission unit 20-n preferably has a buffer memory. In the operation section described later, the former method is assumed to be applied.

(A−2)第1の実施形態の動作
次に、第1の実施形態のコンテンツ配信システム1の動作を説明する。
(A-2) Operation of the First Embodiment Next, the operation of the content distribution system 1 of the first embodiment will be described.

映像再生端末30−nからの映像コンテンツの配信要求(視聴要求)に対し、コンテンツ配信サーバ110においては、その映像再生端末30−nに映像データを配信(送信)する映像データ送出部20−nが割り当てられる。映像データ送出部20−nは、キャッシュ制御部112に対して、要求されている映像コンテンツの配信する区間のデータ取得を順次要求し、キャッシュ制御部112から順次与えられた映像データをキャッシュ制御部112に配信(送信)する。   In response to a video content distribution request (viewing request) from the video reproduction terminal 30-n, the content distribution server 110 distributes (transmits) video data to the video reproduction terminal 30-n. Is assigned. The video data sending unit 20-n sequentially requests the cache control unit 112 to acquire data in the section in which the requested video content is distributed, and the video data sequentially given from the cache control unit 112 is cache control unit 112 (delivery).

ここで、キャッシュ制御部112は、要求された区間の映像データがキャッシュデータ格納部113に格納されていれば、キャッシュデータ格納部113から映像データを取得して映像データ送出部20−nに渡す。一方、キャッシュ制御部112は、要求された区間の映像データがキャッシュデータ格納部113に格納されていなければ、オリジナルコンテンツ格納部101に対して当該区間の映像データの取得を要求し、取得した映像データを映像データ送出部20−nに渡す。このとき、キャッシュ制御部112は、キャッシュデータ格納部113へ格納する条件が成立していれば、オリジナルコンテンツ格納部101から取得した映像データを、キャッシュデータ格納部112にも格納する。   Here, if the video data of the requested section is stored in the cache data storage unit 113, the cache control unit 112 acquires the video data from the cache data storage unit 113 and passes it to the video data transmission unit 20-n. . On the other hand, if the video data of the requested section is not stored in the cache data storage unit 113, the cache control unit 112 requests the original content storage unit 101 to acquire the video data of the section and acquires the acquired video. Data is transferred to the video data sending unit 20-n. At this time, the cache control unit 112 also stores the video data acquired from the original content storage unit 101 in the cache data storage unit 112 if the condition for storing in the cache data storage unit 113 is satisfied.

一般的に、キャッシュデータ格納部113に格納できるデータ量は、オリジナルコンテンツ格納部101のデータ量よりも少なく、全ての映像コンテンツをキャッシュデータ格納部113に格納することは困難である。従って、利用頻度の高い映像コンテンツをキャッシュデータ格納部113に格納する制御が重要となる。キャッシュ制御部112は、キャッシュデータ格納部113に映像コンテンツを効率的に格納するための制御を行う。   Generally, the amount of data that can be stored in the cache data storage unit 113 is smaller than the data amount of the original content storage unit 101, and it is difficult to store all video content in the cache data storage unit 113. Therefore, it is important to control video content that is frequently used in the cache data storage unit 113. The cache control unit 112 performs control for efficiently storing video content in the cache data storage unit 113.

図2は、キャッシュ制御部112の処理を示すフローチャートである。図2において、1区画分の映像データを処理するステップS102〜S105の処理は、同一の映像コンテンツが配信される全ての映像再生端末について、並行的に、又は、時間順次に実行される処理である。ステップS101、S106、S107は、例えば、所定周期毎に、若しくは、同一の映像コンテンツが配信される全ての映像再生端末について、ステップS102〜S105の処理が実行される毎に、実行される処理である。   FIG. 2 is a flowchart showing the processing of the cache control unit 112. In FIG. 2, the processing of steps S102 to S105 for processing video data for one section is processing executed in parallel or in time sequence for all video playback terminals to which the same video content is distributed. is there. Steps S101, S106, and S107 are processes that are executed, for example, every predetermined period or every time the processes of steps S102 to S105 are executed for all video playback terminals to which the same video content is distributed. is there.

キャッシュ制御部112は、所定の判定タイミングになると、ある映像コンテンツ(以下、映像コンテンツAとする)の同時配信数が予め設定しているキャッシュ開始配信数を超えたか否かを判定する(ステップS101)。言い換えると、この判定は、キャッシュデータ格納部113を利用したキャッシュを開始するか否かの判定になっている。   At a predetermined determination timing, the cache control unit 112 determines whether or not the number of simultaneous distributions of a certain video content (hereinafter referred to as “video content A”) exceeds a preset number of cache start distributions (step S101). ). In other words, this determination is a determination as to whether or not to start cache using the cache data storage unit 113.

キャッシュ制御部112は、同時配信数がキャッシュ開始配信数を超えていなければ、映像コンテンツAに関する映像データ送出部20−nからのデータ取得要求に対して、オリジナルコンテンツ格納部101から取得した映像データを、キャッシュデータ格納部113に格納することなく映像データ送出部20−nに与えて映像再生端末30−nに配信させる(ステップS105)。キャッシュ制御部112は、かかるステップS105の処理を、その時点で映像コンテンツAが配信される全ての映像再生端末30−1〜30−Nに対して並行的に又は順次に実行する。このような処理後には、キャッシュ制御部112は、所定の判定タイミングになると、映像コンテンツAの同時配信数が予め設定しているキャッシュ開始配信数を超えたか否かを判定する次のタイミングを待ち受けることとなる。   If the simultaneous distribution number does not exceed the cache start distribution number, the cache control unit 112 receives the video data acquired from the original content storage unit 101 in response to the data acquisition request from the video data transmission unit 20-n regarding the video content A. Is supplied to the video data sending unit 20-n without being stored in the cache data storage unit 113 and distributed to the video playback terminal 30-n (step S105). The cache control unit 112 executes the process of step S105 in parallel or sequentially on all the video playback terminals 30-1 to 30-N to which the video content A is distributed at that time. After such processing, when the predetermined determination timing is reached, the cache control unit 112 waits for the next timing for determining whether or not the simultaneous distribution number of the video content A exceeds the preset cache start distribution number. It will be.

一方、キャッシュ制御部112は、同時配信数がキャッシュ開始配信数を超えた場合には、映像コンテンツAに関する映像送出データ部20−nからのデータ取得要求に対して、要求された部分の映像データがキャッシュデータ格納部113に格納されているか否かを判定する(ステップS102)。キャッシュ制御部112は、要求された部分の映像データがキャッシュデータ格納部113に格納されていた場合には、キャッシュデータ格納部113から映像データを取得して映像データ送出部20−nに与えて映像再生端末30−nに配信させる(ステップS103)。これに対して、キャッシュ制御部112は、要求された部分の映像データがキャッシュデータ格納部113に格納されていない場合には、オリジナルコンテンツ格納部101から取得して、映像データ送出部20−nに与えて映像再生端末30−nに配信させながら、キャッシュデータ格納部113にも映像データを格納する(ステップS104)。キャッシュ制御部112は、かかるステップS102〜S104の処理を、その時点で映像コンテンツAが配信される全ての映像再生端末30−1〜30−Nに対して並行的に又は順次に実行する。   On the other hand, when the number of simultaneous distributions exceeds the number of cache start distributions, the cache control unit 112 responds to a data acquisition request from the video transmission data unit 20-n regarding the video content A with the requested portion of video data. Is stored in the cache data storage unit 113 (step S102). When the requested part of the video data is stored in the cache data storage unit 113, the cache control unit 112 acquires the video data from the cache data storage unit 113 and gives it to the video data transmission unit 20-n. Distribution is performed to the video reproduction terminal 30-n (step S103). On the other hand, when the requested part of the video data is not stored in the cache data storage unit 113, the cache control unit 112 acquires the video data from the original content storage unit 101 and transmits the video data transmission unit 20-n. The video data is also stored in the cache data storage unit 113 while being distributed to the video playback terminal 30-n (step S104). The cache control unit 112 executes the processes in steps S102 to S104 in parallel or sequentially with respect to all the video reproduction terminals 30-1 to 30-N to which the video content A is distributed at that time.

キャッシュ制御部112は、キャッシュ処理を実行している場合において、所定の判定タイミングになると、映像コンテンツAの同時配信数が予め設定しているキャッシュ終了配信数を下回ったか否かを判定する(ステップS106)。言い換えると、この判定は、キャッシュデータ格納部113を利用したキャッシュを終了するか否かの判定になっている。キャッシュ終了配信数は、キャッシュ開始配信数と同じ数であっても良いが、キャッシュ状態への移行と、キャッシュ状態の終了とが頻繁に繰り返さないように、キャッシュ終了配信数をキャッシュ開始配信数より小さく選定しておくことが好ましい。   When the cache control is being executed, the cache control unit 112 determines whether or not the number of simultaneous distributions of the video content A is less than a preset number of cache end distributions at a predetermined determination timing (step S <b> 1). S106). In other words, this determination is a determination of whether or not to end the cache using the cache data storage unit 113. The number of cache end distributions may be the same as the number of cache start distributions, but the cache end distribution number should be less than the cache start distribution number so that the transition to the cache state and the end of the cache state are not repeated frequently. It is preferable to select a small size.

キャッシュ制御部112は、同時配信数がキャッシュ終了配信数を下回っていなければ、引き続き、要求された部分の映像データがキャッシュデータ格納部113に格納されているか否かの判定を実施しながら配信を制御する処理(ステップS102〜S104)に戻る。   If the simultaneous distribution number is not less than the cache end distribution number, the cache control unit 112 continues the distribution while determining whether or not the requested portion of the video data is stored in the cache data storage unit 113. The process returns to the control process (steps S102 to S104).

キャッシュ制御部112は、同時配信数がキャッシュ終了配信数を下回っていれば、映像コンテンツAのキャッシュデータ格納部113に格納されている映像データを削除する(ステップS107)。キャッシュ制御部112は、これ以降のデータ取得については、同時配信数がキャッシュ開始配信数を超えたと判定されるまで(ステップS102)、オリジナルコンテンツ格納部101から取得した映像データをキャッシュデータ格納部113に格納せずに配信させることとなる(ステップS105)。   If the simultaneous distribution number is less than the cache end distribution number, the cache control unit 112 deletes the video data stored in the cache data storage unit 113 of the video content A (step S107). For the subsequent data acquisition, the cache control unit 112 stores the video data acquired from the original content storage unit 101 until the simultaneous distribution number exceeds the cache start distribution number (step S102). The contents are distributed without being stored (step S105).

図3〜図5はそれぞれ、キャッシュデータ格納部113へデータが格納される状況を示したものであり、図3より図4の方が、図4より図5の方が時間的に後の状況を示している。図3〜図5は、キャッシュ開始配信数が3本に設定されている例である。映像送出データ部20−1〜20−5が割り当てられている映像再生端末(図3で示していないが端末30−1〜30−5)は、枝番が小さい方が早く配信を要求している。   3 to 5 each show a situation where data is stored in the cache data storage unit 113. FIG. 3 shows the situation after FIG. 3 and FIG. 4 shows the situation after FIG. Is shown. 3 to 5 are examples in which the number of cache start distributions is set to three. The video playback terminals (terminals 30-1 to 30-5 not shown in FIG. 3) to which the video transmission data portions 20-1 to 20-5 are assigned request delivery earlier when the branch number is smaller. Yes.

図3は、ある時刻に映像コンテンツAを同時に3本配信しているときの状態である。キャッシュ開始配信数が3本に設定されている状況では、映像コンテンツAを配信している3つの映像送出データ部20−1〜20−3に対し、キャッシュ制御部112は、キャッシュデータ格納部113からではなく、オリジナルコンテンツ格納部101から映像データを取得して供給している。この際には、キャッシュデータ格納部113に対する書込みは実行されない。   FIG. 3 shows a state in which three video contents A are distributed simultaneously at a certain time. In a situation where the number of cache start distributions is set to three, the cache control unit 112 performs the cache data storage unit 113 for the three video transmission data units 20-1 to 20-3 that distribute the video content A. The video data is acquired from the original content storage unit 101 and supplied from the original content storage unit 101. At this time, writing to the cache data storage unit 113 is not executed.

同時配信数が3本のままで配信が進んでいくと、キャッシュ制御部112は、オリジナルコンテンツ格納部101からの映像コンテンツAの読み出し位置を先頭から末尾の方向へ移動しながら映像データを取得する。   When the distribution proceeds while the number of simultaneous distributions remains three, the cache control unit 112 acquires the video data while moving the reading position of the video content A from the original content storage unit 101 from the top to the end. .

図4は、時間が経過して映像コンテンツAの4本目の配信が開始されるときの状態である。キャッシュ制御部112は、同時配信数(=4)がキャッシュ開始配信数(=3)を超えたことにより、映像送出データ部20−1〜20−4に送出する映像データをオリジナルコンテンツ格納部101から取得すると共に、キャッシュデータ格納部113の対応する格納領域w1〜w4に映像データを格納する。   FIG. 4 shows a state when the fourth delivery of the video content A is started after a lapse of time. When the simultaneous distribution number (= 4) exceeds the cache start distribution number (= 3), the cache control unit 112 transmits the video data to be transmitted to the video transmission data units 20-1 to 20-4 to the original content storage unit 101. The video data is stored in the corresponding storage areas w1 to w4 of the cache data storage unit 113.

図5は、さらに時間が経過して映像送出データ部20−4が読み出す部分が、映像送出データ部20−3への映像データをキャッシュデータ格納部113へ格納した部分r3まで到達した状態である。図5に示す直前には、映像送出データ部20−1〜20−4へ送出しながらキャッシュデータ格納部113へ格納した映像データにより、キャッシュデータ格納部113のr1〜r4の部分に、映像コンテンツAに係る映像データが格納されている。従って、キャッシュ制御部112は、映像送出データ部20−4が配信する映像データは、キャッシュデータ格納部113の区間r3に格納されているため、オリジナルコンテンツ格納部101からではなくキャッシュデータ格納部113から取得する。   FIG. 5 shows a state in which a portion read by the video transmission data unit 20-4 reaches a portion r3 in which the video data to the video transmission data unit 20-3 is stored in the cache data storage unit 113 as time elapses. . Immediately before the time shown in FIG. 5, the video data stored in the cache data storage unit 113 while being transmitted to the video transmission data units 20-1 to 20-4 is stored in the video content in the r1 to r4 portions of the cache data storage unit 113. Video data related to A is stored. Accordingly, since the video data distributed by the video transmission data unit 20-4 is stored in the section r3 of the cache data storage unit 113, the cache control unit 112 is not from the original content storage unit 101 but the cache data storage unit 113. Get from.

図5は、新たに映像コンテンツAの配信を開始する映像送出データ部20−5が増え、キャッシュ制御部112が、キャッシュデータ格納部113の区間r4から映像データを取得して映像送出データ部20−5に送出する様子をも示している。   In FIG. 5, the number of video transmission data units 20-5 for newly starting distribution of the video content A is increased, and the cache control unit 112 acquires video data from the section r 4 of the cache data storage unit 113 and the video transmission data unit 20. It also shows the state of sending to -5.

(A−3)第1の実施形態の効果
以上のように、第1の実施形態のコンテンツ配信システムによれば、キャッシュの起動後に、同一の映像コンテンツを複数の映像再生端末にそれぞれ配信している際、配信している部分の映像データがオリジナルコンテンツ格納部101から取得したものである場合には並行してキャッシュデータ格納部113に格納するようにしたので、起動から短時間で、映像コンテンツのキャッシュデータの生成と利用とを可能にすることができる。
(A-3) Effect of First Embodiment As described above, according to the content distribution system of the first embodiment, after the cache is activated, the same video content is distributed to a plurality of video playback terminals. When the video data of the part being distributed is acquired from the original content storage unit 101, the video content is stored in the cache data storage unit 113 in parallel. Cache data can be generated and used.

(B)第2の実施形態
次に、本発明によるコンテンツ配信システムの第2の実施形態を、図面を参照しながら説明する。
(B) Second Embodiment Next, a second embodiment of the content distribution system according to the present invention will be described with reference to the drawings.

図6は、第2の実施形態のコンテンツ配信システムの構成を示すブロック図である。図6において、第2の実施形態のコンテンツ配信システム2は、オリジナルコンテンツ格納部401、オリジナル配信サーバ402、複数のキャッシュ配信サーバ501〜50M、複数の映像再生端末501−1〜501−a、502−1〜502−b、…、50M−1〜50M−zを有する。   FIG. 6 is a block diagram illustrating a configuration of a content distribution system according to the second embodiment. 6, the content distribution system 2 according to the second embodiment includes an original content storage unit 401, an original distribution server 402, a plurality of cache distribution servers 501 to 50M, and a plurality of video reproduction terminals 501-1 to 501-a, 502. -1 to 502-b, ..., 50M-1 to 50Mz.

オリジナルコンテンツ格納部401は、配信対象の映像コンテンツのオリジナルを格納しているものである。   The original content storage unit 401 stores the original video content to be distributed.

オリジナル配信サーバ402は、各キャッシュ配信サーバ501〜50Mに対して映像コンテンツを配信するものである。オリジナル配信サーバ402は、キャッシュデータ格納部を内蔵し、キャッシュ配信サーバ501〜50Mに対する配信を、第1の実施形態のコンテンツ配信サーバが映像再生端末に配信すると同様な方法で配信するものである。   The original distribution server 402 distributes video content to each of the cache distribution servers 501 to 50M. The original distribution server 402 incorporates a cache data storage unit, and distributes the distribution to the cache distribution servers 501 to 50M in the same manner as when the content distribution server of the first embodiment distributes to the video playback terminal.

複数のキャッシュ配信サーバ501〜50Mは、例えば、地域毎に設けられているものである。キャッシュ配信サーバ501は、自己が担当する地域に属する映像再生端末501−1〜501−aに対して映像コンテンツを配信するものである。キャッシュ配信サーバ501は、オリジナル配信サーバ402からダウンロードされた映像コンテンツを格納するダウンロードコンテンツ格納部(第1の実施形態のオリジナルコンテンツ格納部101に相当する)の他に、キャッシュデータ格納部を内蔵し、映像再生端末501−1〜501−aに対する配信を、第1の実施形態のコンテンツ配信サーバが映像再生端末に配信すると同様な方法で配信するものである。他のキャッシュ配信サーバ501〜50Mも同様なものである。   The plurality of cache distribution servers 501 to 50M are provided for each region, for example. The cache distribution server 501 distributes video content to the video playback terminals 501-1 to 501-a belonging to the area that the cache distribution server 501 is in charge of. The cache distribution server 501 includes a cache data storage unit in addition to a download content storage unit (corresponding to the original content storage unit 101 of the first embodiment) that stores video content downloaded from the original distribution server 402. The distribution to the video reproduction terminals 501-1 to 501-a is performed in a similar manner when the content distribution server of the first embodiment distributes to the video reproduction terminals. The other cache distribution servers 501 to 50M are the same.

第2の実施形態のコンテンツ配信システムによれば、オリジナル配信サーバ402からキャッシュ配信サーバ501〜50Mへの配信でキャッシュの起動後に、短時間で、映像コンテンツのキャッシュデータの生成と利用とを可能にすることができる。   According to the content distribution system of the second embodiment, it is possible to generate and use cache data of video content in a short time after activation of the cache by distribution from the original distribution server 402 to the cache distribution servers 501 to 50M. can do.

また、各キャッシュ配信サーバ501、502、…50Mから、映像再生端末501−1〜501−a、502−1〜502−b、…、50M−1〜50M−zへの配信でキャッシュの起動後に、短時間で、映像コンテンツのキャッシュデータの生成と利用とを可能にすることができる。   .., 50M to the video playback terminals 501-1 to 501-a, 502-1 to 502-b,..., 50M-1 to 50M-z, after the cache is activated. It is possible to generate and use video content cache data in a short time.

(C)他の実施形態
上記各実施形態では、逐次的にデータを読み出す通常再生を想定した説明となっているが、早送り再生のようにデータを間欠的に読み飛ばすような高速再生についても同様に適用可能である。通常再生時に格納されたデータに対して、高速再生時に読む部分のキャッシュデータの格納を確認し、キャッシュに格納されていればキャッシュから読み出して配信すれば良い。あるいは、キャッシュデータ格納部に、通常再生用のデータを格納する部分と、高速再生用のデータを格納する部分とを設け、通常再生の同時配信数に基づいてキャッシュ処理の実行有無を制御すると共に、高速再生の同時配信数に基づいてキャッシュ処理の実行有無を制御するようにすれば良い。
(C) Other Embodiments In each of the above embodiments, the description is based on the assumption of normal playback in which data is read sequentially, but the same applies to high-speed playback in which data is skipped intermittently, such as fast-forward playback. It is applicable to. For the data stored during normal playback, the storage of the cache data to be read during high-speed playback is confirmed, and if stored in the cache, it may be read from the cache and distributed. Alternatively, a portion for storing normal reproduction data and a portion for storing high-speed reproduction data are provided in the cache data storage unit, and whether or not the cache processing is executed is controlled based on the number of normal reproduction simultaneous distributions. The execution / non-execution of the cache process may be controlled based on the number of high-speed playback simultaneous distributions.

上記第1の実施形態では、キャッシュデータ格納部に映像コンテンツの全てのデータが格納された後でも、ステップS102による格納を確認する判定を行うものを示したが、満杯フラグなどを用意し、満杯フラグが満杯を表しているときには、直ちにステップS103のキャッシュデータ格納部からの読出しを実行するようにしても良い。   In the first embodiment described above, the determination is made to confirm the storage in step S102 even after all the data of the video content is stored in the cache data storage unit. When the flag indicates full, reading from the cache data storage unit in step S103 may be immediately executed.

上記第1の実施形態では、キャッシュ処理を開始するかを決定するキャッシュ開始配信数が固定値のものを示したが、キャッシュ開始配信数を状況に応じて変化させるものであっても良い。例えば、キャッシュデータ格納部を構成するメモリが複数の映像コンテンツで併用される場合において、既に、キャッシュ処理を開始している映像コンテンツの数(若しくは数が属する範囲)をキャッシュ開始配信数に変換するテーブルを設け、このテーブルに従って、適用するキャッシュ開始配信数を定めるようにしても良い。また例えば、キャッシュデータ格納部を構成するメモリの残容量に応じて、適用するキャッシュ開始配信数を定めるようにしても良い。   In the first embodiment, the cache start distribution number for determining whether to start cache processing is a fixed value. However, the cache start distribution number may be changed according to the situation. For example, when the memory constituting the cache data storage unit is used in combination with a plurality of video contents, the number of video contents that have already started the cache process (or the range to which the number belongs) is converted into the cache start distribution number. A table may be provided, and the number of cache start distributions to be applied may be determined according to this table. Further, for example, the number of cache start distributions to be applied may be determined according to the remaining capacity of the memory constituting the cache data storage unit.

キャッシュ終了配信数についても、状況に応じて変化させるようにしても良い。   The number of distributions at the end of the cache may also be changed according to the situation.

上記第1の実施形態では、キャッシュ処理を開始するか否かを決定するために用いるパラメータが同時配信数であるものを示したが、これに代え、又は、これに加え、他のパラメータを用いるようにしても良い。例えば、映像コンテンツの先頭から末尾を2つ(3つ以上であっても良い)の区間に分け、先頭側の区間における同時配信数がキャッシュ開始配信数を超えたことを1条件として、キャッシュ処理を開始するようにしても良い。また例えば、最新の要求を含め、所定時間内に増加した配信数が所定数を超えたことを1条件として、キャッシュ処理を開始するようにしても良い。   In the first embodiment, the parameter used to determine whether or not to start the cache process is the number of simultaneous distributions, but other parameters are used instead of or in addition to this. You may do it. For example, the video content is divided into two (or more than three) sections from the beginning to the end, and the cache processing is performed on the condition that the simultaneous distribution number in the first section exceeds the cache start distribution number. May be started. Further, for example, the cache process may be started on the condition that the number of distributions increased within a predetermined time including the latest request exceeds a predetermined number.

キャッシュ終了条件についても、同時配信数に代え、又は、同時配信数に加え、他のパラメータを適用するようにしても良い。配信が終了した端末の増加率や、配信がまもなく終了する端末数を、終了条件に反映させることができる。   As for the cache end condition, other parameters may be applied instead of the simultaneous distribution number or in addition to the simultaneous distribution number. The increase rate of terminals for which distribution has ended and the number of terminals for which distribution will end soon can be reflected in the end condition.

上記第1の実施形態では、キャッシュ処理の終了条件が成立すると直ちにキャッシュしていた映像データを消去するものを示したが、終了条件を成立した後、新たに別のキャッシュ処理を開始するタイミングで映像データを消去するようにしても良い。あるいは、所定の待機時間の経過を待ってから映像データを消去するようにしても良い。ここで、所定の待機時間は、例えば、固定時間であっても良く、また、映像コンテンツの先頭から末尾を2つ(3つ以上であっても良い)の区間に分け、末尾側の区間における同時配信数に応じて待機時間を選定するようにしても良い。さらに、映像データの削除は、コンテンツの全区間を同時に消去せずに、配信が終了した先頭側の区間から順次消去するようにしても良い。   In the first embodiment, the cached video data is deleted immediately after the cache processing end condition is satisfied. However, at the timing when another cache process is newly started after the end condition is satisfied. The video data may be erased. Alternatively, the video data may be deleted after waiting for a predetermined waiting time. Here, the predetermined waiting time may be, for example, a fixed time, or the video content is divided into two (or three or more) sections from the beginning to the end, and in the section on the end side. You may make it select standby time according to the number of simultaneous delivery. Furthermore, the video data may be deleted sequentially from the top section where the distribution has been completed, without erasing all sections of the content at the same time.

本発明が対象とするコンテンツは、映像コンテンツに限定されるものではなく、種々のコンテンツを対象とすることができる。例えば、1つのコンテンツ配信システムが複数種類のコンテンツを扱うことができる場合において、コンテンツの種類によって、上述のキャッシュ開始配信数などを変更するようにしても良い。   The content targeted by the present invention is not limited to video content, and various content can be targeted. For example, in the case where one content distribution system can handle a plurality of types of content, the number of cache start distributions described above may be changed depending on the type of content.

1…コンテンツ配信システム、101…オリジナルコンテンツ格納部、110…コンテンツ配信サーバ、111…配信先管理部、112…キャッシュ制御部、113…キャッシュデータ格納部、20−1〜20−N…映像送出データ部、30−1〜30−N…映像再生端末。   DESCRIPTION OF SYMBOLS 1 ... Content delivery system, 101 ... Original content storage part, 110 ... Content delivery server, 111 ... Delivery destination management part, 112 ... Cache control part, 113 ... Cache data storage part, 20-1-20-N ... Video transmission data Part, 30-1 to 30-N... Video playback terminal.

Claims (4)

コンテンツ配信サーバが、オリジナルコンテンツ格納装置に格納されているコンテンツのデータを配信対象の1又は複数の配信先装置へ配信するコンテンツ配信システムにおいて、
上記コンテンツ配信サーバは、
キャッシュデータ格納手段と、
キャッシュ処理を開始する条件が成立したか否かを判定し、キャッシュ処理を開始する条件の成立前には、そのときの上記各配信先装置に対するコンテンツデータをそれぞれ、上記オリジナルコンテンツ格納装置から取得して配信させ、キャッシュ処理を開始する条件の成立後には、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されている上記各配信先装置に対しては、上記キャッシュデータ格納手段からコンテンツデータを読み出して配信させ、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されていない上記各配信先装置に対しては、上記オリジナルコンテンツ格納装置からコンテンツデータを取得して配信させると共に、そのコンテンツデータを上記キャッシュデータ格納手段に格納させるキャッシュ制御手段とを有する
ことを特徴とするコンテンツ配信システム。
In a content distribution system in which a content distribution server distributes content data stored in an original content storage device to one or more distribution destination devices to be distributed,
The content distribution server
Cache data storage means;
It is determined whether or not a condition for starting the cache process is satisfied, and before the condition for starting the cache process is satisfied, the content data for each of the delivery destination devices at that time is acquired from the original content storage device. After the condition for starting the cache processing is satisfied, the content data to be distributed is stored in the cache data storage unit from the cache data storage unit. The content data to be read and distributed is acquired and distributed from the original content storage device to each distribution destination device in which the content data to be distributed is not stored in the cache data storage means, and the content data Is stored in the cache data storage means. Content delivery system; and a cache control means.
キャッシュ処理を開始する条件が、そのときに配信対象である配信先装置の数が、所定値を超えていることであることを特徴とする請求項1に記載のコンテンツ配信システム。   2. The content distribution system according to claim 1, wherein the condition for starting the cache process is that the number of distribution destination devices to be distributed at that time exceeds a predetermined value. オリジナルコンテンツ格納装置に格納されているコンテンツのデータを、配信対象の1又は複数の配信先装置へ配信するコンテンツ配信サーバにおいて、
キャッシュデータ格納手段と、
キャッシュ処理を開始する条件が成立したか否かを判定し、キャッシュ処理を開始する条件の成立前には、そのときの上記各配信先装置に対するコンテンツデータをそれぞれ、上記オリジナルコンテンツ格納装置から取得して配信させ、キャッシュ処理を開始する条件の成立後には、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されている上記各配信先装置に対しては、上記キャッシュデータ格納手段からコンテンツデータを読み出して配信させ、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されていない上記各配信先装置に対しては、上記オリジナルコンテンツ格納装置からコンテンツデータを取得して配信させると共に、そのコンテンツデータを上記キャッシュデータ格納手段に格納させるキャッシュ制御手段と
を有することを特徴とするコンテンツ配信サーバ。
In a content distribution server that distributes content data stored in an original content storage device to one or more distribution destination devices to be distributed,
Cache data storage means;
It is determined whether or not a condition for starting the cache process is satisfied, and before the condition for starting the cache process is satisfied, the content data for each of the delivery destination devices at that time is acquired from the original content storage device. After the condition for starting the cache processing is satisfied, the content data to be distributed is stored in the cache data storage unit from the cache data storage unit. The content data to be read and distributed is acquired and distributed from the original content storage device to each distribution destination device in which the content data to be distributed is not stored in the cache data storage means, and the content data Is stored in the cache data storage means. Content distribution server, characterized in that it comprises a cache control unit.
オリジナルコンテンツ格納装置に格納されているコンテンツのデータを、配信対象の1又は複数の配信先装置へ配信するコンテンツ配信サーバであって、キャッシュデータ格納手段となるメモリを有するコンテンツ配信サーバに搭載されているコンピュータを、
キャッシュ処理を開始する条件が成立したか否かを判定し、キャッシュ処理を開始する条件の成立前には、そのときの上記各配信先装置に対するコンテンツデータをそれぞれ、上記オリジナルコンテンツ格納装置から取得して配信させ、キャッシュ処理を開始する条件の成立後には、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されている上記各配信先装置に対しては、上記キャッシュデータ格納手段からコンテンツデータを読み出して配信させ、配信すべきコンテンツデータが上記キャッシュデータ格納手段に格納されていない上記各配信先装置に対しては、上記オリジナルコンテンツ格納装置からコンテンツデータを取得して配信させると共に、そのコンテンツデータを上記キャッシュデータ格納手段に格納させるキャッシュ制御手段として機能させる
ことを特徴とするコンテンツ配信プログラム。
A content distribution server that distributes content data stored in an original content storage device to one or a plurality of distribution destination devices to be distributed, and is mounted on a content distribution server having a memory serving as cache data storage means. The computer
It is determined whether or not a condition for starting the cache process is satisfied, and before the condition for starting the cache process is satisfied, the content data for each of the delivery destination devices at that time is acquired from the original content storage device. After the condition for starting the cache processing is satisfied, the content data to be distributed is stored in the cache data storage unit from the cache data storage unit. The content data to be read and distributed is acquired and distributed from the original content storage device to each distribution destination device in which the content data to be distributed is not stored in the cache data storage means, and the content data Is stored in the cache data storage means. Content distribution program for causing to function as a cache controller.
JP2011059662A 2011-03-17 2011-03-17 Content distribution server, content distribution system, content distribution program, and content distribution method Active JP5617712B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011059662A JP5617712B2 (en) 2011-03-17 2011-03-17 Content distribution server, content distribution system, content distribution program, and content distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011059662A JP5617712B2 (en) 2011-03-17 2011-03-17 Content distribution server, content distribution system, content distribution program, and content distribution method

Publications (2)

Publication Number Publication Date
JP2012195854A true JP2012195854A (en) 2012-10-11
JP5617712B2 JP5617712B2 (en) 2014-11-05

Family

ID=47087343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011059662A Active JP5617712B2 (en) 2011-03-17 2011-03-17 Content distribution server, content distribution system, content distribution program, and content distribution method

Country Status (1)

Country Link
JP (1) JP5617712B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015170866A (en) * 2014-03-04 2015-09-28 沖電気工業株式会社 Content distribution device, content distribution method and content distribution program
JP2018514023A (en) * 2015-03-17 2018-05-31 アマゾン テクノロジーズ インコーポレイテッド Content deployment, scaling and telemetry
US10463957B2 (en) 2015-03-17 2019-11-05 Amazon Technologies, Inc. Content deployment, scaling, and telemetry

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003030087A (en) * 2001-07-17 2003-01-31 Fujitsu Ltd Content distribution network system
JP2003153229A (en) * 2001-11-15 2003-05-23 Mitsubishi Electric Corp Apparatus and method for data communication
JP2009089019A (en) * 2007-09-28 2009-04-23 Fujitsu Ltd Multicast delivery control apparatus, computer program, multicast delivery control system, and multicast delivery control method
WO2010058790A1 (en) * 2008-11-21 2010-05-27 日本電気株式会社 Content distribution device, content distribution control method, content distribution control program, and cache control device
JP2010273298A (en) * 2009-05-25 2010-12-02 Broad Earth Inc Content distribution system, distribution control device, and distribution control program
JP2011150382A (en) * 2010-01-19 2011-08-04 Nippon Telegr & Teleph Corp <Ntt> Content distribution system, method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003030087A (en) * 2001-07-17 2003-01-31 Fujitsu Ltd Content distribution network system
JP2003153229A (en) * 2001-11-15 2003-05-23 Mitsubishi Electric Corp Apparatus and method for data communication
JP2009089019A (en) * 2007-09-28 2009-04-23 Fujitsu Ltd Multicast delivery control apparatus, computer program, multicast delivery control system, and multicast delivery control method
WO2010058790A1 (en) * 2008-11-21 2010-05-27 日本電気株式会社 Content distribution device, content distribution control method, content distribution control program, and cache control device
JP2010273298A (en) * 2009-05-25 2010-12-02 Broad Earth Inc Content distribution system, distribution control device, and distribution control program
JP2011150382A (en) * 2010-01-19 2011-08-04 Nippon Telegr & Teleph Corp <Ntt> Content distribution system, method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015170866A (en) * 2014-03-04 2015-09-28 沖電気工業株式会社 Content distribution device, content distribution method and content distribution program
JP2018514023A (en) * 2015-03-17 2018-05-31 アマゾン テクノロジーズ インコーポレイテッド Content deployment, scaling and telemetry
US10463957B2 (en) 2015-03-17 2019-11-05 Amazon Technologies, Inc. Content deployment, scaling, and telemetry

Also Published As

Publication number Publication date
JP5617712B2 (en) 2014-11-05

Similar Documents

Publication Publication Date Title
US20150215656A1 (en) Content management apparatus and method, and storage medium
CN109408751B (en) Data processing method, terminal, server and storage medium
CN101706817B (en) Distributed file system and garbage data cleaning method thereof
CN102521279A (en) Playing method, playing system and player of streaming media files
CN102456035A (en) Webpage resource cache control method, device and system
JP2007080161A (en) Data distribution system, partial content storing server, method and program for increasing response speed
US20140067990A1 (en) Method for accessing a content item in a cloud storage system, and a corresponding cloud broker, cloud cache agent and client application
WO2011024949A1 (en) Content distribution device, content distribution method, and program
CN102790784A (en) Distributed cache method and system and cache analyzing method and analyzing system
CN101753936B (en) Configuration method of storage space and video server for video monitoring system
KR20100058786A (en) System and method for multimedia streaming of distributed contents
JP5617712B2 (en) Content distribution server, content distribution system, content distribution program, and content distribution method
TW201126338A (en) Flash memory device and data access method for flash memories
CN104602035A (en) Streaming media on-demand method and streaming media on-demand system
JP5040121B2 (en) Information processing apparatus, cache control method, and program
JP4754585B2 (en) Data distribution and buffering
JP2010191774A (en) Content distribution system, content distribution device, content distribution method and program therefor, data storage device, and processing method and program therefor
CN101968791A (en) Data storage method and device
CN108090087B (en) File processing method and device
CN102130963B (en) Method, device and system for storing file in client network
JP7318899B2 (en) Systems and methods for storing content items in secondary storage
JP3440032B2 (en) Memory control device, facsimile device and image forming device
CN104333803B (en) Method, equipment and the system of frame losing when preventing video editing
JP6015338B2 (en) Data transmission apparatus, data transmission system, data transmission method, and program
CN102402397B (en) Method and device for storing data

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120813

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140416

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140620

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140620

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: 20140819

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140901

R150 Certificate of patent or registration of utility model

Ref document number: 5617712

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150