JP2015170866A - Content distribution device, content distribution method and content distribution program - Google Patents

Content distribution device, content distribution method and content distribution program Download PDF

Info

Publication number
JP2015170866A
JP2015170866A JP2014042025A JP2014042025A JP2015170866A JP 2015170866 A JP2015170866 A JP 2015170866A JP 2014042025 A JP2014042025 A JP 2014042025A JP 2014042025 A JP2014042025 A JP 2014042025A JP 2015170866 A JP2015170866 A JP 2015170866A
Authority
JP
Japan
Prior art keywords
content
distribution
cache
distribution information
storage means
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
JP2014042025A
Other languages
Japanese (ja)
Other versions
JP6287353B2 (en
Inventor
芳樹 中松
Yoshiki Nakamatsu
芳樹 中松
冠二 平岡
Kanji Hiraoka
冠二 平岡
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 Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2014042025A priority Critical patent/JP6287353B2/en
Publication of JP2015170866A publication Critical patent/JP2015170866A/en
Application granted granted Critical
Publication of JP6287353B2 publication Critical patent/JP6287353B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To optimize the timing to delete a cache by improving the number of distributions while reducing a load of a bulk storage device in accordance with properties of the bulk storage device and a cache storage device.SOLUTION: A content distribution device includes bulk storage means and cache storage means and distributes contents to a distribution request source. The content distribution device manages first distribution information indicating a distribution information quantity of contents in the bulk storage means and second distribution information indicating a distribution information quantity of contents in the cache storage means, caches cache target contents in the cache storage means on the basis of a result of comparing first distribution information of the cache target contents and the second distribution information of contents in the cache storage means, and deletes contents relating to the second distribution information.

Description

本発明は、コンテンツ配信装置、コンテンツ配信方法及びコンテンツ配信プログラムに関し、例えば、ビデオオンデマンドシステムにおける動的に配置されるコンテンツを配信するコンテンツ配信装置、コンテンツ配信方法及びコンテンツ配信プログラムに適用し得るものである。   The present invention relates to a content distribution device, a content distribution method, and a content distribution program, and can be applied to, for example, a content distribution device, a content distribution method, and a content distribution program that distribute dynamically arranged content in a video on demand system. It is.

従来、ビデオオンデマンドシステムにおいて、効率の良いサ−ビスを行なうために、管理サーバは、ビデオサーバからクライアントに対して配信されるコンテンツの送出数または予測可能なアクセス数が閾値を超えたとき、予想されるリソ−スの不足が最も深刻となるコンテンツを複数のビデオサーバ間で動的に配置することで、効率の良いサ−ビスを提供している(特許文献1参照)。   Conventionally, in order to perform an efficient service in a video-on-demand system, the management server, when the number of contents sent from the video server or the number of predictable accesses exceeds a threshold value, Efficient services are provided by dynamically allocating content that is expected to have the most serious shortage of resources among a plurality of video servers (see Patent Document 1).

管理サーバは、コンテンツを動的に配置する際、コンテンツ格納手段の格納残容量が不足した場合、サーバ内に格納されているコンテンツの内、現時点でサ−ビス中でなく、かつ稼動率の最も低いコンテンツを削除する。若しくは、管理サーバは、定期的にコンテンツを削除、移動しておくことになる。   When the management server dynamically allocates content, if the storage capacity of the content storage means is insufficient, the content stored in the server is not currently in service and has the highest operating rate. Remove low content. Alternatively, the management server periodically deletes and moves content.

また、管理サーバは、クライアントから配信要求を受信したときは、同時アクセス数が最小のビデオサーバを選択する。   In addition, when the management server receives a distribution request from a client, the management server selects a video server having the smallest number of simultaneous accesses.

特開平11−098446号公報Japanese Patent Laid-Open No. 11-098446

ところで、記憶装置には、大容量かつ低速アクセスのRAID装置と、小容量かつ高速アクセスのメモリ等のキャッシュ記憶装置があり、両者の特長を組み合わせることにより、RAID装置の負荷を下げつつ、配信数を向上するのが望ましい。   By the way, the storage device includes a high-capacity and low-speed access RAID device and a small-capacity and high-speed access memory storage device and the like. It is desirable to improve.

しかしながら、従来技術のコンテンツ格納手段では、以下のような問題が生じ得る。   However, the following problems may occur in the conventional content storage means.

第1に、記憶装置の特性の違いが考慮されていないので、両者の特長を組み合わせることにより、RAID装置の負荷を下げつつ、配信数を向上することができないという問題点がある。   First, since the difference in the characteristics of the storage devices is not taken into account, there is a problem in that the number of distributions cannot be improved while reducing the load on the RAID device by combining the features of both.

第2に、動的に配置、すなわちキャッシュしたコンテンツをいつどのように削除するかが十分考慮されていないという問題点がある。   Secondly, there is a problem in that it is not sufficiently considered when and how to delete dynamically arranged, that is, cached content.

例えば、説明を簡単にするために、コンテンツがC1及びC2の2個のみとする。また、キャッシュ記憶装置は、C1とC2のいずれかのコンテンツを記憶する分の容量しかないものとする。この状態で、図2に例示するように、コンテンツに対するアクセスパタ−ンがあるものとする。なお、図2において、横軸は時間を示し、縦軸はコンテンツC1、C2のアクセス数を示す。   For example, in order to simplify the description, it is assumed that there are only two contents C1 and C2. In addition, the cache storage device has only a capacity for storing the content of either C1 or C2. In this state, it is assumed that there is an access pattern for content as illustrated in FIG. In FIG. 2, the horizontal axis indicates time, and the vertical axis indicates the number of accesses to the contents C1 and C2.

特許文献1の記載技術は、サ−ビス中のコンテンツについては削除しないというものである。そのため、図2に例示するように、コンテンツC1及びC2の両方がアクセスされている場合には、特許文献1の記載技術によれば、いずれのコンテンツを削除することができない。従って、キャッシュ記憶装置の容量が一杯になると、それ以上キャッシュを配置することができないことになる。   The technique described in Patent Document 1 does not delete the content in the service. Therefore, as illustrated in FIG. 2, when both the contents C1 and C2 are accessed, according to the technique described in Patent Document 1, none of the contents can be deleted. Therefore, when the capacity of the cache storage device is full, no more caches can be arranged.

比較的簡単な解決策としてキャッシュが必要になるたびに、以前配置していたコンテンツを削除する方法が考えられる。   As a relatively simple solution, there may be a method of deleting previously placed content each time a cache is required.

例えば、図2において、アクセス数が「150回」を超えるタイミングでキャッシュの作成と削除を行うものとする。しかし、この場合、キャッシュ作成と削除のタイミングは、図2の例の場合、図2に示す(1)〜(7)のタイミングのように、頻繁なキャッシュの作成と削除が発生してしまい、オーバーヘッドが大きく効率が悪い。すなわち、キャッシュ作成と削除はキャッシュ記憶装置に対するI/O負荷が高いため、その間の配信性能は低下し、しかも時間がかかるので頻繁なキャッシュ作成、削除は望ましくない。   For example, in FIG. 2, it is assumed that the cache is created and deleted at a timing when the number of accesses exceeds “150 times”. However, in this case, in the case of the example of FIG. 2, the cache creation and deletion timing occurs frequently as shown in (1) to (7) in FIG. Large overhead and inefficient. That is, since the cache creation and deletion has a high I / O load on the cache storage device, the distribution performance during that time is reduced and it takes time, so frequent cache creation and deletion is not desirable.

第3に、従来技術は、クライアントからコンテンツに対する配信要求を受けたとき、配信要求を受けるたび、その時点での同時アクセス数が最小のサーバを選択する。そのため、負荷はほぼ均等に分散される。しかし、キャッシュを作成してもRAID装置の負荷低減効果はそれほど大きくならないという問題点がある。   Third, when receiving a distribution request for content from a client, the prior art selects a server having the smallest number of simultaneous accesses at that time each time a distribution request is received. Therefore, the load is distributed almost evenly. However, there is a problem that even if the cache is created, the load reduction effect of the RAID device is not so great.

例えば、サーバがN台あり、コンテンツC1の総配信数をMとする。この場合、各サーバは、ほぼ均等にC1を配信することになるので、RAID装置は、サーバ1台あたりに対してM/N本のコンテンツC1を配信する。このとき、図3に示すように、時刻t0でサーバ1にキャッシュを作ったとすると、サーバ1のみRAID装置の負荷が0になり、他のサーバの負荷は変わらない。したがって、RAID全体では、RAID装置からサーバに対する配信本数において、M/N本の負荷が軽減されるだけである。   For example, assume that there are N servers and the total number of contents C1 distributed is M. In this case, since each server delivers C1 almost equally, the RAID device delivers M / N pieces of content C1 per server. At this time, as shown in FIG. 3, if a cache is created in the server 1 at time t0, only the server 1 has a RAID device load of 0, and the loads of other servers remain unchanged. Therefore, in the entire RAID, only the load of M / N is reduced in the number of distributions from the RAID device to the server.

そのため、大容量記憶装置及びキャッシュ記憶装置の特性に応じて、大容量記憶装置の負荷を下げながら配信数を向上させ、キャッシュ記憶装置からキャッシュを削除するタイミングを最適化させることができるコンテンツ配信装置、コンテンツ配信方法及びコンテンツ配信プログラムが求められている。   Therefore, in accordance with the characteristics of the mass storage device and the cache storage device, the content distribution device can improve the number of distributions while reducing the load on the mass storage device and optimize the timing for deleting the cache from the cache storage device There is a need for a content distribution method and a content distribution program.

かかる課題を解決するために、第1の本発明は、1又は複数の大容量記憶手段と、キャッシュ記憶手段とを備え、大容量記憶手段又はキャッシュ記憶手段から、配信要求されたコンテンツを読み出して配信要求元に配信するコンテンツ配信装置において、(1)少なくとも、各大容量記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第1の配信情報と、キャッシュ記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第2の配信情報とを管理する配信情報管理手段と、(2)大容量記憶手段に記憶されるコンテンツのうちキャッシュ対象コンテンツの第1の配信情報と、キャッシュ記憶手段における1又は複数のコンテンツの第2の配信情報との比較結果が所定の情報量以上となる場合に、キャッシュ対象コンテンツをキャッシュ記憶手段にキャッシュし、第2の配信情報に係る1又は複数のコンテンツをキャッシュ記憶手段から削除するコンテンツ配置制御手段とを備えることを特徴とするコンテンツ配信装置である。   In order to solve such a problem, the first aspect of the present invention includes one or a plurality of large-capacity storage units and a cache storage unit, and reads the requested content from the large-capacity storage unit or the cache storage unit. In a content distribution apparatus that distributes to a distribution request source, (1) at least first distribution information indicating the distribution information amount of each content that is read from each large-capacity storage unit and distributed, and read from the cache storage unit Distribution information management means for managing second distribution information indicating the distribution information amount of each content that is distributed, and (2) first distribution of the content to be cached among the contents stored in the mass storage means When the comparison result between the information and the second distribution information of one or more contents in the cache storage means is equal to or greater than a predetermined amount of information, the cache Caching elephants content into the cache storage unit, a content delivery apparatus, characterized in that it comprises a content arrangement control means for removal from the cache memory means one or more of contents according to the second distribution information.

第2の本発明は、1又は複数の大容量記憶手段と、キャッシュ記憶手段とを備え、大容量記憶手段又はキャッシュ記憶手段から、配信要求されたコンテンツを読み出して配信要求元に配信するコンテンツ配信方法において、(1)配信情報管理手段が、少なくとも、各大容量記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第1の配信情報と、キャッシュ記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第2の配信情報とを管理し、(2)コンテンツ配置制御手段が、大容量記憶手段に記憶されるコンテンツのうちキャッシュ対象コンテンツの第1の配信情報と、キャッシュ記憶手段における1又は複数のコンテンツの第2の配信情報との比較結果が所定の情報量以上となる場合に、キャッシュ対象コンテンツをキャッシュ記憶手段にキャッシュし、第2の配信情報に係る1又は複数のコンテンツを上記キャッシュ記憶手段から削除することを特徴とするコンテンツ配信方法である。   The second aspect of the present invention is a content distribution that includes one or a plurality of large-capacity storage units and a cache storage unit, and reads the distribution-requested content from the large-capacity storage unit or the cache storage unit and distributes it to the distribution request source In the method, (1) distribution information management means is read from at least first distribution information indicating the distribution information amount of each content read and distributed from each large-capacity storage means, and cache storage means. And second distribution information indicating the distribution information amount of each content to be distributed, and (2) the content distribution control means first distribution information of the cache target content among the contents stored in the large-capacity storage means And a comparison result between the cache storage unit and the second distribution information of one or more contents is equal to or greater than a predetermined amount of information. Cache content in the cache storage means, one or more content according to the second distribution information is a content distribution method and deletes from the cache storage means.

第3の本発明は、1又は複数の大容量記憶手段と、キャッシュ記憶手段とを備え、大容量記憶手段又はキャッシュ記憶手段から、配信要求されたコンテンツを読み出して配信要求元に配信するコンテンツ配信プログラムにおいて、コンピュータを、(1)少なくとも、各大容量記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第1の配信情報と、キャッシュ記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第2の配信情報とを管理する配信情報管理手段、(2)大容量記憶手段に記憶されるコンテンツのうちキャッシュ対象コンテンツの第1の配信情報と、キャッシュ記憶手段における1又は複数のコンテンツの第2の配信情報との比較結果が所定の情報量以上となる場合に、キャッシュ対象コンテンツをキャッシュ記憶手段にキャッシュし、第2の配信情報に係る1又は複数のコンテンツをキャッシュ記憶手段から削除するコンテンツ配置制御手段として機能させることを特徴とするコンテンツ配信プログラムである。   A third aspect of the present invention is a content distribution that includes one or a plurality of large-capacity storage units and a cache storage unit, reads out the distribution-requested content from the large-capacity storage unit or the cache storage unit, and distributes it to the distribution request source In the program, (1) at least first distribution information indicating the amount of distribution information of each content to be read and distributed from each large-capacity storage means and the cache storage means to be read and distributed Distribution information management means for managing second distribution information indicating the distribution information amount of each content, (2) First distribution information of cache target contents among contents stored in the large-capacity storage means, and cache storage means When the comparison result with the second distribution information of one or a plurality of contents in the cache exceeds a predetermined information amount, Caches Ntsu the cache storage unit, a contents distribution program for causing to function 1 or more content according to the second distribution information as a content arrangement control means for removal from the cache storage means.

本発明によれば、大容量記憶装置及びキャッシュ記憶装置の特性に応じて、大容量記憶装置の負荷を下げながら配信数を向上させ、キャッシュ記憶装置からキャッシュを削除するタイミングを最適化させることができる。   According to the present invention, according to the characteristics of a mass storage device and a cache storage device, the number of distributions can be improved while reducing the load on the mass storage device, and the timing for deleting the cache from the cache storage device can be optimized. it can.

実施形態に係るコンテンツ配信システムの全体構成及びビデオオンデマンドシステムの内部構成を示す構成図である。It is a block diagram which shows the whole structure of the content delivery system which concerns on embodiment, and the internal structure of a video on demand system. 従来のキャッシュ作成と削除のタイミングを説明する説明図である。It is explanatory drawing explaining the timing of the conventional cache creation and deletion. 従来のRAID装置におけるコンテンツ配信の配信負荷を説明する説明図である。It is explanatory drawing explaining the delivery load of the content delivery in the conventional RAID apparatus. 実施形態に係るコンテンツ配信・配置制御サーバ5の機能的な構成を示す構成図である。It is a block diagram which shows the functional structure of the content delivery and arrangement | positioning control server 5 which concerns on embodiment. 実施形態に係るマシン情報テ−ブルの構成を説明する説明図である。It is explanatory drawing explaining the structure of the machine information table which concerns on embodiment. 実施形態に係るデバイス負荷情報テ−ブルの構成を説明する説明図である。It is explanatory drawing explaining the structure of the device load information table which concerns on embodiment. 実施形態に係るビデオサーバ負荷情報テ−ブルの構成を説明する説明図である。It is explanatory drawing explaining the structure of the video server load information table which concerns on embodiment. 実施形態に係るサーバごとコンテンツごとデバイスごとの配信情報テ−ブルの構成を説明する説明図である。It is explanatory drawing explaining the structure of the delivery information table for every device for every server which concerns on embodiment. 実施形態に係るコンテンツ配置処理を示すフローチャートである。It is a flowchart which shows the content arrangement | positioning process which concerns on embodiment. 実施形態に係るキャッシュ候補の選択方式を説明する説明図である。It is explanatory drawing explaining the selection method of the cache candidate which concerns on embodiment. コンテンツ配置制御部によるキャッシュ候補の選択処理を示すフローチャートである(その1)。It is a flowchart which shows the selection process of the cache candidate by a content arrangement | positioning control part (the 1). コンテンツ配置制御部によるキャッシュ候補の選択処理を示すフローチャートである(その2)。It is a flowchart which shows the selection process of the cache candidate by a content arrangement | positioning control part (the 2). コンテンツ配置制御部によるキャッシュ候補の選択処理を示すフローチャートである(その3)。It is a flowchart which shows the selection process of the cache candidate by a content arrangement | positioning control part (the 3). 実施形態に係るコンテンツ配置制御部によるキャッシュ作成先候補リストの作成方法を示すフローチャートである。It is a flowchart which shows the creation method of the cache creation destination candidate list by the content arrangement control unit according to the embodiment. 実施形態に係るコンテンツ配置処理を説明する説明図である。It is explanatory drawing explaining the content arrangement | positioning process which concerns on embodiment. 実施形態に係るキャッシュ削除候補の選択処理を示すフローチャートである。It is a flowchart which shows the selection process of the cache deletion candidate which concerns on embodiment. 実施形態に係るコンテンツ配信制御処理を示すフローチャートである(その1)。It is a flowchart which shows the content delivery control process which concerns on embodiment (the 1). 実施形態に係るコンテンツ配信制御処理を示すフローチャートである(その2)。It is a flowchart which shows the content delivery control process which concerns on embodiment (the 2). 実施形態に係るRAID装置におけるコンテンツ配信の配信負荷を説明する説明図である。It is explanatory drawing explaining the delivery load of the content delivery in the RAID apparatus which concerns on embodiment. 実施形態に係る方式1のキャッシュ作成候補選択処理を説明する説明図である(その1)。It is explanatory drawing explaining the cache creation candidate selection process of the system 1 which concerns on embodiment (the 1). 実施形態に係る方式1のキャッシュ作成候補選択処理を説明する説明図である(その2)。It is explanatory drawing explaining the cache creation candidate selection process of the system 1 which concerns on embodiment (the 2). 実施形態に係る方式1のキャッシュ作成候補選択処理を説明する説明図である(その3)。It is explanatory drawing explaining the cache creation candidate selection process of the system 1 which concerns on embodiment (the 3). 実施形態に係る方式2のキャッシュ作成候補選択処理を説明する説明図である。It is explanatory drawing explaining the cache creation candidate selection process of the method 2 which concerns on embodiment. 実施形態に係る方式3のキャッシュ作成候補選択処理を説明する説明図である。It is explanatory drawing explaining the cache creation candidate selection process of the method 3 which concerns on embodiment. 実施形態に係る方式4のキャッシュ作成候補選択処理を説明する説明図である。It is explanatory drawing explaining the cache creation candidate selection process of the system 4 which concerns on embodiment. 実施形態に係るキャッシュ作成候補選択方式の比較を説明する説明図である。It is explanatory drawing explaining the comparison of the cache creation candidate selection system which concerns on embodiment. 実施形態に係るキャッシュ作成候補選択方式の比較を説明する説明図である。It is explanatory drawing explaining the comparison of the cache creation candidate selection system which concerns on embodiment. 実施形態に係るキャッシュ作成先候補選択処理を説明する説明図である。It is explanatory drawing explaining the cache creation destination candidate selection process which concerns on embodiment. 実施形態においてマシンM1及びM2におけるキャッシュ記憶装置の優先度及びビジー率を示すキャッシュ作成先候補選択処理を説明する説明図である。It is explanatory drawing explaining the cache creation destination candidate selection process which shows the priority and the busy rate of the cache storage apparatus in the machines M1 and M2 in the embodiment. 実施形態において時刻t1における各ビデオサーバVS1、VS2の各RAID装置R1及びR2とキャッシュ記憶装置D1〜D5における各コンテンツの配信ビットレ−トの状態を説明する説明図である。It is explanatory drawing explaining the state of the distribution bit rate of each content in each RAID apparatus R1 and R2 of each video server VS1, VS2 and cache storage apparatus D1-D5 in time t1 in embodiment. 実施形態においてキャッシュ削除処理結果を示す説明図である。It is explanatory drawing which shows a cache deletion process result in embodiment. 実施形態に係る削除判定方法(1)の場合のキャッシュ作成と削除のタイミングを説明する説明図である。It is explanatory drawing explaining the timing of cache creation and deletion in the case of the deletion determination method (1) which concerns on embodiment. 実施形態に係る削除判定方法(2)の場合のキャッシュ作成と削除のタイミングを説明する説明図である。It is explanatory drawing explaining the timing of cache creation and deletion in the case of the deletion determination method (2) which concerns on embodiment. 実施形態に係る配信制御処理を説明する説明図である。It is explanatory drawing explaining the delivery control process which concerns on embodiment. 実施形態において時刻t1における各コンテンツ、各デバイスでの配信ビットレ−トの状態を示す図である。It is a figure which shows the state of the delivery bit rate in each content and each device in the time t1 in embodiment. 実施形態において時刻t1における各コンテンツ、各デバイスでの配信本数の状態を示す図である。It is a figure which shows the state of the delivery number in each content and each device in the time t1 in embodiment. 実施形態において各ビデオサーバのCPU使用率、T14(CPU使用率の上限値)、T15(配信ビットレ−トの上限値)、T16(配信本数の上限値)を示す図である。CPU utilization for each video server in the embodiment, (the upper limit value of the CPU utilization rate) T 14, T 15 (delivery bit rate - the upper limit of g) is a diagram showing T 16 (the upper limit of the number of distributions). 実施形態において各デバイスのPri、Busy(ビジー率)、T17(ビジー率の上限値)、T18(配信ビットレ−トの上限値)、T19(配信本数の上限値)を示す図である。Pri of each device in the embodiment, Busy (busy rate), (the upper limit value of the busy rate) T 17, T 18 (delivery bit rate - the upper limit of g) is a diagram showing a T 19 (upper limit of the number of distributions) . 実施形態においてビデオサーバ毎の配信ビットレート及び配信本数の計算結果を説明する説明図である。It is explanatory drawing explaining the calculation result of the delivery bit rate for every video server and the number of delivery in embodiment. 実施形態においてマシンごとの指定コンテンツの配信本数の計算結果を説明する説明図である。It is explanatory drawing explaining the calculation result of the delivery number of the designated content for every machine in embodiment. 実施形態においてデバイス毎の配信ビットレート及び配信本数の計算結果を説明する説明図である。It is explanatory drawing explaining the calculation result of the delivery bit rate for every device and the delivery number in embodiment. 実施形態においてマシンM1の各ビデオサーバの指定コンテンツの配信数の計算結果を説明する説明図である。It is explanatory drawing explaining the calculation result of the delivery number of the designated content of each video server of the machine M1 in embodiment.

(A)主たる実施形態
以下では、本発明のコンテンツ配信装置、コンテンツ配信方法及びコンテンツ配信プログラムの実施形態を、図面を参照しながら詳細に説明する。
(A) Main Embodiment Hereinafter, embodiments of a content distribution apparatus, a content distribution method, and a content distribution program of the present invention will be described in detail with reference to the drawings.

(A−1)実施形態の構成
図1は、この実施形態に係るコンテンツ配信システムの全体構成及びビデオオンデマンドシステムの内部構成を示す構成図である。
(A-1) Configuration of Embodiment FIG. 1 is a configuration diagram showing an overall configuration of a content distribution system and an internal configuration of a video on demand system according to this embodiment.

図1において、コンテンツ配信システム100は、ビデオオンデマンドシステム10、ネットワ−クNT、複数の端末装置20−1〜20−k(kは整数)を有する。   In FIG. 1, a content distribution system 100 includes a video on demand system 10, a network NT, and a plurality of terminal devices 20-1 to 20-k (k is an integer).

複数の端末装置20−1〜20−kは、ネットワ−クNTを介してビデオオンデマンドシステム10に対してコンテンツ配信要求をしたり、ネットワ−クNTを介してビデオオンデマンドシステム10から配信されたコンテンツを受信して出力(表示、音出力等)したりするものである。   The plurality of terminal devices 20-1 to 20-k make a content distribution request to the video on demand system 10 via the network NT, or are distributed from the video on demand system 10 via the network NT. The received content is received and output (display, sound output, etc.).

ビデオオンデマンドシステム10は、複数のRAID装置R1〜RL(Lは整数)、RAID装置管理サーバ3、複数のマシンM1〜MN(Nは整数)、コンテンツ配信・配置制御サーバ5を有する。   The video on demand system 10 includes a plurality of RAID devices R1 to RL (L is an integer), a RAID device management server 3, a plurality of machines M1 to MN (N is an integer), and a content distribution / arrangement control server 5.

なお、以下では、複数のRAID装置、複数のマシンについて共通の機能構成を説明する場合には、「RAID装置RD」、「マシンM」と表記して説明し、各RAID装置、各マシンを区別して説明する場合には、「RAID装置R1」、「マシンM1」等のように表記して説明する。   In the following, when a common functional configuration is described for a plurality of RAID devices and a plurality of machines, they are described as “RAID device RD” and “Machine M”, and each RAID device and each machine are divided. In the case of separate description, description will be made with “RAID device R1”, “machine M1”, and the like.

複数のマシンM1〜MNのそれぞれには、1又は複数のビデオサーバVSとキャッシュ記憶装置管理サーバCSとが稼働できる状態となっており、1又は複数のキャッシュ記憶装置CDが搭載されている。   Each of the plurality of machines M1 to MN can operate one or a plurality of video servers VS and a cache storage device management server CS, and is equipped with one or a plurality of cache storage devices CD.

なお、以下では、ビデオサーバ、キャッシュ記憶装置について共通の機能構成を説明する場合には、「ビデオサーバVS」、「キャッシュ記憶装置CD」と表記して説明し、各ビデオサーバ、各キャッシュ記憶装置を区別して説明する場合には、「ビデオサーバVS1」、「キャッシュ記憶装置CD1」等のように表記して説明する。   In the following, when a common functional configuration is described for the video server and the cache storage device, they will be described as “video server VS” and “cache storage device CD”. Will be described in terms of “video server VS1”, “cache storage device CD1”, and the like.

各ビデオサーバVSは、コンテンツ配信・配置制御サーバ5からの指示により、指定のコンテンツを指定のキャッシュ記憶装置CD又はRAID装置RDから読み込み、指定された端末装置20に配信する。各ビデオサーバVSは、同じマシン上に搭載されているキャッシュ記憶装置CDと、全てのRAID装置RDに格納されているコンテンツにアクセス可能である。   Each video server VS reads the designated content from the designated cache storage device CD or RAID device RD in accordance with an instruction from the content distribution / arrangement control server 5 and distributes it to the designated terminal device 20. Each video server VS can access the contents stored in the cache storage device CD and all the RAID devices RD mounted on the same machine.

コンテンツ配信・配置制御サーバ5は、端末装置20からの配信要求を受けて、要求されたコンテンツの配信をマシンM上で動作するビデオサーバVSに指示するものである。   The content distribution / arrangement control server 5 receives a distribution request from the terminal device 20 and instructs the video server VS operating on the machine M to distribute the requested content.

図4は、この実施形態に係るコンテンツ配信・配置制御サーバ5の機能的な構成を示す構成図である。図4において、コンテンツ配信・配置制御サーバ5は、配信情報管理部51、コンテンツ配置制御部52、コンテンツ配信制御部53、通信部54を有する。   FIG. 4 is a configuration diagram showing a functional configuration of the content distribution / arrangement control server 5 according to this embodiment. In FIG. 4, the content distribution / arrangement control server 5 includes a distribution information management unit 51, a content arrangement control unit 52, a content distribution control unit 53, and a communication unit 54.

なお、コンテンツ配信・配置制御サーバ5は、CPU、ROM、RAM、EEPROM、入出力インタフェース等を有して構成されるサーバである。CPUが、ROMに格納される処理プログラムを実行することにより、コンテンツ配信・配置制御サーバ5の機能を実現する。なお、処理プログラムは、インストールにより搭載されるようにしても良く、その場合でも図4に示す機能部を示すことができる。   The content distribution / arrangement control server 5 is a server configured to include a CPU, ROM, RAM, EEPROM, input / output interface, and the like. The function of the content distribution / arrangement control server 5 is realized by the CPU executing a processing program stored in the ROM. Note that the processing program may be installed by installation, and even in this case, the functional unit shown in FIG. 4 can be shown.

通信部54は、端末装置20からコンテンツ配信要求を受信すると、そのコンテンツ配信要求をコンテンツ配信制御部53に与えたり、ビデオサーバVSから負荷情報(例えば、CPU使用率等)を受信すると、その負荷情報を配信情報管理部51に与えたりするものである。   When the communication unit 54 receives a content distribution request from the terminal device 20, the communication unit 54 gives the content distribution request to the content distribution control unit 53 or receives load information (for example, CPU usage rate) from the video server VS. Information is given to the distribution information management unit 51.

コンテンツ配信制御部53は、適当なビデオサーバVSを見つけ、ビデオサーバVSに対して、要求元の端末装置20にコンテンツの配信を行なわせるよう指示をするコンテンツ配信制御を行なう。また、コンテンツ配信制御部53は、コンテンツ配信要求の要求元である端末装置20に対して配信応答を行う。   The content distribution control unit 53 finds an appropriate video server VS, and performs content distribution control to instruct the video server VS to cause the requesting terminal device 20 to distribute the content. In addition, the content distribution control unit 53 sends a distribution response to the terminal device 20 that is a request source of the content distribution request.

配信情報管理部51は、通信部54から受け取ったビデオサーバVSの負荷情報を管理するものである。負荷情報には、デバイス負荷情報、ビデオサーバ負荷情報、サーバごとコンテンツごとデバイスごと配信情報がある。また、配信情報管理部51は、マシンMとビデオサーバVSとを対応付けたマシン情報も管理する。   The distribution information management unit 51 manages the load information of the video server VS received from the communication unit 54. The load information includes device load information, video server load information, and distribution information for each content for each server and each device. The distribution information management unit 51 also manages machine information in which the machine M and the video server VS are associated with each other.

図5は、実施形態に係るマシン情報テ−ブルの構成を説明する説明図である。図6は、実施形態に係るデバイス負荷情報テ−ブルの構成を説明する説明図である。図7は、実施形態に係るビデオサーバ負荷情報テ−ブルの構成を説明する説明図である。図8は、実施形態に係るサーバごとコンテンツごとデバイスごとの配信情報テ−ブルの構成を説明する説明図である。   FIG. 5 is an explanatory diagram illustrating the configuration of the machine information table according to the embodiment. FIG. 6 is an explanatory diagram illustrating the configuration of the device load information table according to the embodiment. FIG. 7 is an explanatory diagram illustrating the configuration of the video server load information table according to the embodiment. FIG. 8 is an explanatory diagram illustrating the configuration of the distribution information table for each server, for each content, for each device according to the embodiment.

配信情報格納部51は、例えば図5のようなマシンMとビデオサーバVSを対応付けるマシン情報テ−ブルも格納する。例えば、マシン情報テ−ブルは、「マシン名」と「所属するビデオサーバID」とを対応付けている。図5に示すように、マシンM1上には、ビデオサーバVS1、VS2が動作している等のように示す。   The distribution information storage unit 51 also stores a machine information table that associates the machine M and the video server VS as shown in FIG. For example, the machine information table associates “machine name” with “belonging video server ID”. As shown in FIG. 5, the video servers VS1 and VS2 are operating on the machine M1.

デバイス負荷情報については、図6のようなデバイス負荷情報テ−ブルを配信情報管理部51に格納して管理する。図6において、デバイス負荷情報テ−ブルは、例えば、「デバイスID」、コンテンツを格納しているデバイスがRAID装置RDか又はキャッシュ記憶装置CDかを示す「デバイス種類」、「I/Oビジー率(%)」、「ビジー率上限(%)」、「デバイス配信ビットレ−ト上限(Mbps)」、「デバイス配信数上限(本)」、「空き容量(GB)」、「容量(GB)」、コンテンツを格納先の優先度を示す「デバイス優先度」を項目としている。   The device load information is managed by storing a device load information table as shown in FIG. In FIG. 6, the device load information table includes, for example, “device ID”, “device type” indicating whether the device storing the content is the RAID device RD or the cache storage device CD, and “I / O busy rate”. (%) ”,“ Busy rate upper limit (%) ”,“ Device delivery bit rate upper limit (Mbps) ”,“ Device delivery number upper limit (book) ”,“ Free capacity (GB) ”,“ Capacity (GB) ” “Device priority” indicating the priority of the content storage destination is an item.

ビデオサーバ負荷情報については図7のようなビデオサーバ負荷情報テ−ブルを配信情報管理部51に格納して管理する。ビデオサーバ負荷情報テ−ブルは、例えば、「ビデオサーバID」、「CPU使用率(%)」、「CPU使用率上限(%)」、「配信ビットレ−ト上限(Mbps)」、「配信数上限(本)」を項目として有する。   The video server load information is managed by storing the video server load information table as shown in FIG. The video server load information table includes, for example, “video server ID”, “CPU usage rate (%)”, “CPU usage rate upper limit (%)”, “distribution bit rate upper limit (Mbps)”, “number of distributions” “Upper limit (book)” as an item.

サーバごとコンテンツごとデバイスごと配信情報については図8のようなサーバごとコンテンツごとデバイスごと配信情報テ−ブル(以下、配信情報テ−ブルとも呼ぶ。)を配信情報管理部51に格納して管理する。配信情報テ−ブルは、例えば、「ビデオサーバID」、「コンテンツID」、「デバイスID」、「配信ビットレ−ト(Mbps)」、「配信数(本)」を項目として有する。   As for the distribution information for each server, for each content, for each device, the distribution information table for each server, for each content, and for each device (hereinafter also referred to as a distribution information table) as shown in FIG. . The distribution information table includes, for example, “video server ID”, “content ID”, “device ID”, “distribution bit rate (Mbps)”, and “number of distributions (books)”.

コンテンツ配置制御部52は、定期的に、図8に例示する配信情報テ−ブルを検査してRAID装置RDの負荷(例えばCPU使用率等)が高くなったことを検知し、適当なマシンのキャッシュ記憶装置管理サーバCSにキャッシュ作成と不要になったキャッシュの削除を指示することにより、コンテンツ配置制御を行なう。   The content arrangement control unit 52 periodically checks the distribution information table illustrated in FIG. 8 to detect that the load on the RAID device RD (for example, the CPU usage rate) has increased, and Content allocation control is performed by instructing the cache storage device management server CS to create a cache and delete a cache that is no longer needed.

RAID装置RDは、冗長化とストライピングにより優れた耐故障性と読み書き性能を有し、大量のコンテンツを格納する大容量の記憶装置である。   The RAID device RD is a large-capacity storage device that has excellent fault tolerance and read / write performance due to redundancy and striping, and stores a large amount of content.

キャッシュ記憶装置CDは、高速なアクセス機能を持ち、少量のコンテンツを格納する。キャッシュ記憶装置CD上のコンテンツはRAID装置RDに格納されたコンテンツの複製であり、ビデオオンデマンドシステム10内ではコンテンツのキャッシュとして機能する。例えば、キャッシュ記憶装置CDは、SSDやメモリ等を適用することができる。   The cache storage device CD has a high-speed access function and stores a small amount of content. The content on the cache storage device CD is a copy of the content stored in the RAID device RD, and functions as a content cache in the video on demand system 10. For example, an SSD or a memory can be applied to the cache storage device CD.

キャッシュ記憶装置管理サーバCSは、同じマシン上のキャッシュ記憶装置CDのコンテンツ(=キャッシュ)を管理し、コンテンツ配信・配置制御サーバ5のコンテンツ配置制御部52からのキャッシュ作成指示により、RAID装置管理サーバ3を通じてRAID装置RDからマシンM内に配置されるビデオサーバVSに送信されるコンテンツに関して、RAID装置RDのコンテンツの複製を作成し、キャッシュとして格納する。また、キャッシュ記憶装置管理サーバCSは、コンテンツ配信・配置制御サーバ5のコンテンツ配置制御部53からのキャッシュ削除指示により、キャッシュを削除する。   The cache storage device management server CS manages the contents (= cache) of the cache storage device CD on the same machine, and in accordance with a cache creation instruction from the content placement control unit 52 of the content distribution / placement control server 5, the RAID device management server For the content transmitted from the RAID device RD to the video server VS arranged in the machine M through 3, a copy of the content of the RAID device RD is created and stored as a cache. Further, the cache storage device management server CS deletes the cache in response to a cache deletion instruction from the content distribution control unit 53 of the content distribution / arrangement control server 5.

(A−2)実施形態の動作
次に、この実施形態のビデオオンデマンドシステム10におけるコンテンツ配置制御処理及びコンテンツ配信制御処理の動作を、図面を参照しながら詳細に説明する。
(A-2) Operation of Embodiment Next, the operation of the content arrangement control process and the content distribution control process in the video on demand system 10 of this embodiment will be described in detail with reference to the drawings.

(A−2−1)コンテンツ配置制御処理
まず、この実施形態のビデオオンデマンドシステム10におけるコンテンツの配信制御処理について図面を参照しながら詳細に説明する。
(A-2-1) Content Placement Control Processing First, content distribution control processing in the video on demand system 10 of this embodiment will be described in detail with reference to the drawings.

図9は、実施形態に係るコンテンツ配置処理を示すフローチャートである。   FIG. 9 is a flowchart showing content arrangement processing according to the embodiment.

コンテンツ配信・配置制御サーバ5のコンテンツ配置制御部52は、定期的に、図9に例示するフローチャート処理を行なう。なお、コンテンツ配信・配置制御サーバ5の定期的な実行の時間間隔をΔtとし、以下では時刻tで実行しているとする。   The content distribution control unit 52 of the content distribution / arrangement control server 5 periodically performs the flowchart processing illustrated in FIG. It is assumed that the time interval of periodic execution of the content distribution / arrangement control server 5 is Δt, and that it is executed at time t below.

(S1)コンテンツ配置制御部52はキャッシュ作成候補を選択する。ここで、コンテンツ配置制御部52によるキャッシュ作成候補の選択方法は、4個の選択方式がある。そのため、管理者は4個の選択方式の優先度を決めておくようにしてもよい。また、4個の選択方式のうち、いずれの方式を使用するかを決定しておくようにしても良い。 (S1) The content arrangement control unit 52 selects a cache creation candidate. Here, there are four selection methods for selecting a cache creation candidate by the content arrangement control unit 52. Therefore, the administrator may determine the priorities of the four selection methods. Moreover, you may make it determine which system is used among four selection systems.

(A−2−1−1)キャッシュ作成候補選択処理
図10は、実施形態に係るキャッシュ候補の選択方式を説明する説明図である。
(A-2-1-1) Cache Creation Candidate Selection Processing FIG. 10 is an explanatory diagram for explaining a cache candidate selection method according to the embodiment.

図10に示すように、この実施形態に係るキャッシュ候補方式の「方式1」は、配信負荷の高いコンテンツを検出したときにキャッシュを開始する。「方式1」のキャッシュ対象のコンテンツは、総配信ビットレ−トが最大のコンテンツとする。   As shown in FIG. 10, the “method 1” of the cache candidate method according to this embodiment starts caching when content with a high distribution load is detected. The content to be cached in “method 1” is the content having the maximum total delivery bit rate.

「方式2」は、配信負荷増分の高いコンテンツ(すなわち、単位時間当たりの配信負荷が高いコンテンツ)を検出したときにキャッシュを開始する。「方式2」のキャッシュ対象のコンテンツは、総配信ビットレ−トの増分が最大のコンテンツとする。   “Method 2” starts caching when a content having a high distribution load increment (that is, a content having a high distribution load per unit time) is detected. The content to be cached in “method 2” is the content with the largest increase in the total distribution bit rate.

「方式3」は、配信負荷の高いRAID装置RDを検出したときにキャッシュを開始する。「方式3」のキャッシュ対象のコンテンツは、配信負荷の高いRAID装置RDの中で、総配信ビットレ−トが最大のコンテンツとする。   “Method 3” starts caching when a RAID device RD having a high distribution load is detected. The content to be cached in “method 3” is the content having the maximum total distribution bit rate in the RAID device RD having a high distribution load.

「方式4」は、配信負荷増分の高いRAID装置RDを検出したときにキャッシュを開始する。「方式4」のキャッシュ対象のコンテンツは、配信負荷増分の高いRAID装置RDの中で、総配信ビットレ−トが最大のコンテンツとする。   “Method 4” starts caching when a RAID device RD having a high distribution load increment is detected. The content to be cached in “method 4” is the content having the maximum total distribution bit rate in the RAID device RD having a high distribution load increment.

図11〜図13は、コンテンツ配置制御部52によるキャッシュ候補の選択処理を示すフローチャートである。   FIGS. 11 to 13 are flowcharts showing cache candidate selection processing by the content arrangement control unit 52.

(S1−1)まず、管理者等により、コンテンツ配置制御部52がキャッシュ候補の選択方式として使用する方式の選択や、複数の方式を使用する場合にその方式の優先度の設定を選択方式リストに行う。 (S1-1) First, the administrator or the like selects the method used by the content arrangement control unit 52 as the cache candidate selection method, and sets the priority of the method when a plurality of methods are used. To do.

例えば、「方式4」、「方式1」、「方式3」の順に優先し、「方式2」は無効にしたい場合には、「方式1:2」,「方式2:0」、「方式3:3」、「方式4:1」等のように選択方式リストに設定するようにしても良い。コンテンツ配置制御部52は、このように決められた優先度の高い順に選択方式をソートし、選択方式リストを作成する。上の例では、選択方式リストは(方式4,方式1,方式3)のようにソートする。   For example, when priority is given to “method 4”, “method 1”, and “method 3” in order, and “method 2” is invalidated, “method 1: 2”, “method 2: 0”, “method 3” : 3 ”,“ method 4: 1 ”, etc., may be set in the selection method list. The content arrangement control unit 52 sorts the selection methods in descending order of priority determined in this way, and creates a selection method list. In the above example, the selection method list is sorted as (method 4, method 1, method 3).

(S1−2)コンテンツ配置制御部52は、選択方式リストの先頭を取り出す。例えば、上記例の場合、コンテンツ配置制御部52は、「方式4」を取り出し、選択方式リストは(方式1,方式3)のようになる。 (S1-2) The content arrangement control unit 52 extracts the top of the selection method list. For example, in the case of the above example, the content arrangement control unit 52 extracts “method 4” and the selection method list becomes (method 1, method 3).

(S1−3)取り出した方式が「方式1」であるかを判断する。 (S1-3) It is determined whether the extracted method is “method 1”.

(S1−4)例えば、取り出した方式が「方式1」の場合、コンテンツ配置制御部52は、次式(1)、式(2)により、時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信される各コンテンツについての配信ビットレ−トの和fB(c,t)と配信数の和fN(c,t)を計算する。

Figure 2015170866
(S1-4) For example, in the case where the extracted method is “method 1”, the content arrangement control unit 52 uses the following equations (1) and (2) from all RAID devices RD by all video servers VS at time t. The distribution bit rate sum f B (c, t) and the distribution number sum f N (c, t) for each content distributed to the terminal device 20 are calculated.
Figure 2015170866

ここで、fB(c,t)は、時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツの配信ビットレ−トの和を示す。 Here, f B (c, t) indicates the sum of the distribution bit rates of the content with content ID = c distributed from all RAID devices RD to the terminal device 20 by all video servers VS at time t.

また、fN(c,t)は、時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツの配信数の和を示す。 F N (c, t) indicates the sum of the distribution numbers of content ID = c distributed from all RAID devices RD to the terminal device 20 by all video servers VS at time t.

Br(v,r,c,t)は、時刻tにおけるサーバID=vのビデオサーバによりデバイスID=rのRAID装置RDのデバイスから端末装置20に配信されるコンテンツI=cのコンテンツの配信ビットレ−トを示す。Br(v,r,c,t)は、図8の配信情報テ−ブルから取得することができる。   Br (v, r, c, t) is the distribution bit rate of the content of content I = c distributed from the device of the RAID device RD of device ID = r to the terminal device 20 by the video server of server ID = v at time t. -Indicates. Br (v, r, c, t) can be acquired from the distribution information table of FIG.

Num(v,r,c,t)は、時刻tにおけるサーバID=vのビデオサーバVSによりデバイスID=rのRAID装置RDのデバイスから端末装置20に配信されるコンテンツID=cのコンテンツの配信数を示す。Num(v,r,c,t)は、図8の配信情報テ−ブルから取得することができる。   Num (v, r, c, t) is the distribution of the content with content ID = c distributed from the device of the RAID device RD with device ID = r to the terminal device 20 by the video server VS with server ID = v at time t. Indicates a number. Num (v, r, c, t) can be acquired from the distribution information table of FIG.

Vは、全ビデオサーバVSのIDの集合示し、また、Rは全RAID装置RDのデバイスIDの集合を示す。   V indicates a set of IDs of all video servers VS, and R indicates a set of device IDs of all RAID devices RD.

また、式(1)及び式(2)の右辺の関数「Σ」は、全てのビデオサーバVS、全てのRAID装置RDについての和であることを表す。   In addition, the function “Σ” on the right side of Equation (1) and Equation (2) represents the sum for all video servers VS and all RAID devices RD.

(S1−5)コンテンツ配置制御部52は、式(3)が成立するか否かを判断する。式(3)が成立する場合にはS1−6に進み、不成立の場合にはS1−8に進む。

Figure 2015170866
(S1-5) The content arrangement control unit 52 determines whether or not Expression (3) is satisfied. If the expression (3) is satisfied, the process proceeds to S1-6. If the expression (3) is not satisfied, the process proceeds to S1-8.
Figure 2015170866

(S1−6) 式(3)が成立する場合、コンテンツ配置制御部52は、「fB(c,t)は時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信ビットレ−トの和」が「管理者が設定するコンテンツの配信ビットレ−ト閾値T」以上であり、最も配信ビットレ−トの和fB(c,t)が大きくなるコンテンツID=cを選択する。 (S1-6) When Expression (3) is established, the content arrangement control unit 52 distributes “f B (c, t) from all RAID devices RD to the terminal device 20 by all video servers VS at time t. “Sum of delivery bit rates for content with content ID = c” is equal to or greater than “delivery bit rate threshold T 1 of content set by the administrator”, and sum of delivery bit rates f B (c, t) Content ID = c that increases is selected.

ここで、T1は管理者が設定するコンテンツの配信ビットレ−ト閾値を示す。 Here, T1 indicates a distribution bit rate threshold of content set by the administrator.

また、式(3)の関数「max」は、コンテンツID=cを変化させたときに最大となる値を表す。 In addition, the function “max” in Expression (3) represents a maximum value when the content ID = c is changed.

(S1−7)S1−6でコンテンツIDを選択すると、処理を図9に戻す。 (S1-7) When a content ID is selected in S1-6, the process returns to FIG.

(S1−8)コンテンツ配置制御部52は、式(4)が成立するか否かを判断する。式(4)が成立する場合にはS1−9に進み、不成立の場合にはS1−11に進む。

Figure 2015170866
(S1-8) The content arrangement control unit 52 determines whether or not Expression (4) is established. If the expression (4) is established, the process proceeds to S1-9. If the expression (4) is not established, the process proceeds to S1-11.
Figure 2015170866

(S1−9)式(4)が成立する場合、コンテンツ配置制御部52は、「fN(c,t)が時刻tにおける全ビデオサーバにより全RAID装置から端末装置に配信されるコンテンツID=cのコンテンツについての配信数の和」が「管理者が設定するコンテンツの配信数閾値T」以上であり、最も配信数の和fN(c,t)が大きくなるコンテンツID=c」を選択する。ここで、式(4)において、Tは管理者が設定するコンテンツの配信数閾値を示す。 (S1-9) When Expression (4) is satisfied, the content arrangement control unit 52 determines that “f N (c, t) is distributed from all RAID devices to terminal devices by all video servers at time t = “content ID = c” in which the “sum of the number of distributions for the content of c” is equal to or greater than the “number of content distribution threshold T 2 set by the administrator” and the sum of distributions f N (c, t) is the largest select. Here, in the formula (4), T 2 indicates the delivery speed threshold of the content to be set by the administrator.

(S1−10)S1−9でコンテンツIDを選択すると、処理を図9に戻す。 (S1-10) When a content ID is selected in S1-9, the process returns to FIG.

(S1−11)式(3)、式(4)の両方とも成り立たず、かつ、選択方式リストが空であるかを判断する。式(3)、式(4)の両方とも成り立たず、かつ、選択方式リストが空でない場合、処理をS1−2へ戻す。 (S1-11) It is determined whether both formula (3) and formula (4) do not hold and the selection method list is empty. If neither Expression (3) nor Expression (4) holds and the selection method list is not empty, the process returns to S1-2.

(S1−12)選択方式リストが空である場合、キャッシュ候補のコンテンツのコンテンツIDは「なし」として、図9に処理を戻す。 (S1-12) If the selection method list is empty, the content ID of the cache candidate content is set to “none”, and the process returns to FIG.

(S1−13)取り出した方式が「方式2」であるかを判断する。 (S1-13) It is determined whether or not the extracted method is “method 2”.

(S1−14)取り出した方式が「方式2」の場合、コンテンツ配置制御部52は、式(5)及び式(6)により「時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信ビットレ−トの和」と「時刻t−Δtにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信ビットレ−トの和」との差分ΔfB(c,t)を計算する。 (S1-14) When the extracted method is “method 2”, the content arrangement control unit 52 determines that “all video servers VS at time t from all RAID devices RD to the terminal device 20 according to equations (5) and (6). “Sum of distribution bit rate for content with content ID = c distributed to” and “content with content ID = c distributed from all RAID devices RD to terminal device 20 by all video servers VS at time t−Δt”. The difference Δf B (c, t) with respect to the “sum of the distribution bit rate” is calculated.

さらに、コンテンツ配置制御部52は、「時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信数の和」と「時刻t−Δtにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信数の和」との差分ΔfN(c,t)を計算する。

Figure 2015170866
Further, the content arrangement control unit 52 “the sum of the distribution numbers for the content of content ID = c distributed from all RAID devices RD to the terminal device 20 by all video servers VS at time t” and “at time t−Δt”. A difference Δf N (c, t) is calculated with respect to the “sum of the distribution numbers of content ID = c distributed from all RAID devices RD to the terminal device 20 by all video servers VS”.
Figure 2015170866

ここで、
ΔfB(c,t)は、時刻tにおけるコンテンツID=cのコンテンツの配信ビットレ−トの和と時刻t−Δtのそれとの差分を示す。
here,
Δf B (c, t) indicates the difference between the sum of the distribution bit rates of the content with content ID = c at time t and that at time t−Δt.

ΔfN(c,t)は、時刻tにおけるコンテンツID=cのコンテンツの配信数の和と時刻t−Δtのそれとの差分を示す。 Δf N (c, t) indicates the difference between the sum of the number of content distributions of content ID = c at time t and that at time t−Δt.

(S1−15)式(7)が成立か否かを判断する。式(7)が成立する場合、S1−16に進み、不成立の場合、S1−18に進む。

Figure 2015170866
(S1-15) It is determined whether or not Expression (7) is established. If Expression (7) is satisfied, the process proceeds to S1-16, and if not satisfied, the process proceeds to S1-18.
Figure 2015170866

(S1−16)式(7)が成立する場合、コンテンツ配置制御部52は、「fB(c,t):時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信ビットレ−トの和」と「fB(c,t−Δt):時刻t−Δtにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信ビットレ−トの和」との差分ΔfB(c,t)」が「管理者が設定するコンテンツの配信ビットレ−トの差分閾値T」以上であり、最も差分ΔfB(c,t)が大きくなるコンテンツID=cを選択する。ここで、Tは管理者が設定するコンテンツの配信ビットレ−ト差分閾値を示す。 (S1-16) When Expression (7) is established, the content arrangement control unit 52 distributes “f B (c, t)” from all RAID devices RD to the terminal device 20 by all video servers VS at time t. “Sum of distribution bit rate for content of content ID = c” and “f B (c, t−Δt): content distributed from all RAID devices RD to terminal device 20 by all video servers VS at time t−Δt. The difference Δf B (c, t) ”with the“ sum of the distribution bit rates for the content of ID = c ”is equal to or greater than“ the distribution bit rate difference threshold T 3 of the content set by the administrator ”, and the most difference A content ID = c that increases Δf B (c, t) is selected. Here, T 3 is the delivery bit rate of the content to be set by the administrator - shown the door difference threshold.

(S1−17)S1−16でコンテンツIDを選択すると、処理を図9に戻す。 (S1-17) When a content ID is selected in S1-16, the process returns to FIG.

(S1−18)式(8)が成立か否かを判断する。式(8)が成立する場合、S1−19に進み、不成立の場合、S1−21に進む。

Figure 2015170866
(S1-18) It is determined whether or not Expression (8) is established. If Expression (8) is established, the process proceeds to S1-19, and if not established, the process proceeds to S1-21.
Figure 2015170866

(S1−19)式(8)が成立する場合、コンテンツ配置制御部52は、「fN(c,t):「時刻tにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信数の和」と「fN(c,t−Δt):時刻t−Δtにおける全ビデオサーバVSにより全RAID装置RDから端末装置20に配信されるコンテンツID=cのコンテンツについての配信数の和」との差分ΔfN(c,t)」が、「管理者が設定するコンテンツの配信数の差分閾値T」以上であり、最も差分ΔfN(c,t)が大きくなるコンテンツID=c」を選択する。ここで、Tは管理者が設定するコンテンツの配信数の差分閾値を示す。 (S1-19) When Expression (8) is satisfied, the content arrangement control unit 52 “f N (c, t):“ delivered from all RAID devices RD to the terminal device 20 by all video servers VS at time t. Content ID = the sum of the distribution numbers for the content of c ”and“ f N (c, t−Δt): Content ID distributed from all RAID devices RD to the terminal device 20 by all video servers VS at time t−Δt. The difference Δf N (c, t) ”with respect to the“ sum of the number of distributions for content of “= c” ”is equal to or larger than the“ difference threshold T 4 of the number of content distributions set by the administrator ”, and the difference Δf N (c , t) increases in content ID = c ”. Here, T 4 indicates the number of distributions of the difference threshold of the content to be set by the administrator.

(S1−20)S1−19でコンテンツIDを選択すると、処理を図9に戻す。 (S1-20) When a content ID is selected in S1-19, the process returns to FIG.

(S1−21)式(7)、式(8)の両方とも成り立たず、かつ、選択方式リストが空であるかを判断する。式(7)、式(8)の両方とも成り立たず、かつ、選択方式リストが空でない場合、処理をS1−2へ戻す。 (S1-21) It is determined whether both formulas (7) and (8) do not hold and the selection method list is empty. If neither Expression (7) nor Expression (8) holds and the selection method list is not empty, the process returns to S1-2.

(S1−22)選択方式リストが空である場合、キャッシュ候補のコンテンツのコンテンツIDは「なし」として、図9に処理を戻す。 (S1-22) If the selection method list is empty, the content ID of the cache candidate content is set to “none”, and the process returns to FIG.

(S1−23)取り出した方式が「方式3」であるかを判断する。 (S1-23) It is determined whether the extracted method is “method 3”.

(S1−24)取り出した方式が「方式3」の場合、コンテンツ配信制御部52は、式(9)、式(10)により、時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信ビットレ−トの和gB(r,t)と配信数の和のgN(r,t)を計算する。

Figure 2015170866
(S1-24) When the extracted method is “method 3”, the content distribution control unit 52 uses the terminal device 20 from each RAID device RD by the all video servers VS at time t according to the equations (9) and (10). The sum g B (r, t) of the distribution bit rate and the sum g N (r, t) of the number of distributions are calculated for all the contents distributed to.
Figure 2015170866

ここで、gB(r,t)は、時刻tにおけるデバイスID=rのRAID装置のデバイスの配信ビットレ−トの和を示す。 Here, g B (r, t) represents the sum of the distribution bit rates of the devices of the RAID device with the device ID = r at time t.

gN(r,t)は、時刻tにおけるデバイスID=rのRAID装置のデバイスの配信数の和を示す。 g N (r, t) indicates the sum of the distribution numbers of the devices of the RAID device with the device ID = r at time t.

C:全コンテンツIDの集合を示す。 C: A set of all content IDs.

式(9)、式(10)において右辺の関数「Σ」は、全てのビデオサーバ、全てのコンテンツについての和であることを表す。 In Expressions (9) and (10), the function “Σ” on the right side represents the sum for all video servers and all contents.

(S1−25)式(11)が成立か否かを判断する。式(11)が成立する場合、S1−26に進み、不成立の場合、S1−30に進む。

Figure 2015170866
(S1-25) It is determined whether or not Expression (11) is established. If the expression (11) is established, the process proceeds to S1-26. If the expression (11) is not established, the process proceeds to S1-30.
Figure 2015170866

ここでTは管理者が設定するRAID装置の配信ビットレ−トの閾値を示す。また関数「max」は、rを変化させたときに最大となる値を表す。 Here T 5 is delivered bit rate of the RAID device for setting the administrator - shows the threshold of bets. The function “max” represents a maximum value when r is changed.

(S1−26)式(11)が成立する場合、コンテンツ配置制御部52は、「gB(r,t): 時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信ビットレ−トの和」が「管理者が設定するRAID装置RDの配信ビットレ−トの閾値T」以上であり、最も配信ビットレ−トの和gB(r,t)が大きくなるRAID装置RDのデバイスID=rを選択する。ここではデバイスID=rが選択されたとする。 (S1-26) When Expression (11) is satisfied, the content arrangement control unit 52 distributes “g B (r, t)” from each RAID device RD to the terminal device 20 by all the video servers VS at time t. “Sum of distribution bit rates for all contents” is equal to or greater than “threshold bit rate of distribution bit rate T 5 of RAID device RD set by the administrator”, and the sum g B (r, t) of distribution bit rates is the most. The device ID = r of the RAID device RD to be enlarged is selected. Here, it is assumed that the device ID = r 0 is selected.

(S1−27)コンテンツ配置制御部52は、時刻tにおける全ビデオサーバVSによりデバイスID=rのRAID装置RDから端末装置20に配信される各コンテンツID=cの配信ビットレ−トの和hB(r,c,t)を次式から計算する。

Figure 2015170866
(S1-27) The content arrangement control unit 52 sums the distribution bit rate of each content ID = c distributed from the RAID device RD with the device ID = r 0 to the terminal device 20 by all the video servers VS at time t. B (r 0 , c, t) is calculated from the following equation.
Figure 2015170866

ここで、右辺の関数「Σ」は、全てのビデオサーバVSについての和であることを表す。 Here, the function “Σ” on the right side represents the sum for all the video servers VS.

(S1−28)式(12−1)が成立するか否かを判断する。

Figure 2015170866
(S1-28) It is determined whether or not Expression (12-1) is established.
Figure 2015170866

式(12−1)が成立する場合、コンテンツ配置制御部52は、時刻tにおける全ビデオサーバVSによりデバイスID=rのRAID装置RDから端末装置20に配信される各コンテンツID=cの配信ビットレ−トの和が最大配信ビットレ−トとなるコンテンツID=cを選択する。 When Expression (12-1) is satisfied, the content arrangement control unit 52 distributes each content ID = c distributed from the RAID device RD having the device ID = r 0 to the terminal device 20 by all the video servers VS at time t. The content ID = c is selected such that the sum of the bit rates is the maximum distribution bit rate.

(S1−29)処理を図9に戻す。 (S1-29) The processing is returned to FIG.

(S1−30)式(13)が成立するか否かを判断する。式(13)が成立する場合にはS1−31に進み、不成立の場合にはS1−35に進む。

Figure 2015170866
(S1-30) It is determined whether or not Expression (13) is established. If the expression (13) is established, the process proceeds to S1-31, and if it is not established, the process proceeds to S1-35.
Figure 2015170866

ここで、Tは管理者が設定するRAID装置の配信数の閾値を示す。 Here, T 6 represents a delivery threshold for the number of RAID device to be set by the administrator.

(S1−31)式(13)が成立する場合、コンテンツ配置制御部52は、「gN(r,t):時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信数の和」が「管理者が設定するRAID装置RDの配信数の閾値T」以上であり、最も配信数の和gB(r,t)が大きくなるRAID装置RDのデバイスID=rを選択する。ここではデバイスID=rが選択されたとする。 (S1-31) When Expression (13) is established, the content arrangement control unit 52 distributes “g N (r, t)” from each RAID device RD to the terminal device 20 by all the video servers VS at time t. The sum of the number of distributions for all contents ”is equal to or greater than the“ threshold number T 6 for distribution of the RAID device RD set by the administrator ”, and the RAID device RD having the largest distribution number g B (r, t) is the largest. Select device ID = r. Here, it is assumed that the device ID = r 0 is selected.

(S1−32)コンテンツ配置制御部52は、時刻tにおける全ビデオサーバによりデバイスID=rのRAID装置RDから端末装置20に配信される各コンテンツID=cの配信数の和hN(r,c,t)を計算する。

Figure 2015170866
(S1-32) The content arrangement control unit 52 sums the distribution numbers h N (r of each content ID = c distributed from the RAID device RD with the device ID = r 0 to the terminal device 20 by all video servers at time t. 0 , c, t).
Figure 2015170866

(S1−33)式(14−1)によりコンテンツを選択する。

Figure 2015170866
(S1-33) A content is selected by the equation (14-1).
Figure 2015170866

つまり、コンテンツ配置制御部52は、時刻tにおける全ビデオサーバによりデバイスID=rのRAID装置から端末装置に配信される各コンテンツID=cの配信数の和が最大配信数となるコンテンツID=cを選択する。 That is, the content arrangement control unit 52 determines that the sum of the distribution numbers of each content ID = c distributed from the RAID device with the device ID = r 0 to the terminal device by all the video servers at the time t is the maximum distribution number. Select c.

(S1−34)処理を図9に戻す。 (S1-34) The processing is returned to FIG.

(S1−35)式(13)が成り立たず、かつ、選択方式リストが空であるかを判断する。式(11)が成り立たず、かつ、選択方式リストが空でない場合、処理をS1−2へ戻す。 (S1-35) It is determined whether equation (13) does not hold and the selection method list is empty. If Expression (11) does not hold and the selection method list is not empty, the process returns to S1-2.

(S1−36)選択方式リストが空である場合、キャッシュ候補のコンテンツのコンテンツIDは「なし」として、図9に処理を戻す。 (S1-36) If the selection method list is empty, the content ID of the cache candidate content is set to “none”, and the process returns to FIG.

(S1−37)取り出した方式が「方式4」であるかを判断する。 (S1-37) It is determined whether or not the extracted method is “method 4”.

(S1−38)取り出した方式が「方式4」以外の場合、候補のコンテンツのコンテンツIDは「なし」とする。 (S1-38) If the extracted method is other than “method 4”, the content ID of the candidate content is “none”.

(S1−39)取り出した方式が「方式4」の場合、コンテンツ配置制御部52は、式(15)により「gB(r,t):時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信ビットレ−トの和」と「gB(r,t−Δt):時刻t−Δtにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信ビットレ−トの和」との差分ΔgB(r,t)を計算する。 (S1-39) When the extracted method is “method 4”, the content arrangement control unit 52 determines that “g B (r, t): from each RAID device RD by all video servers VS at time t according to equation (15). “Sum of distribution bit rate for all contents distributed to terminal device 20” and “g B (r, t−Δt): distributed from each RAID device RD to terminal device 20 by all video servers VS at time t−Δt. The difference Δg B (r, t) with respect to the “sum of distribution bit rates for all contents to be processed” is calculated.

さらに、コンテンツ配置制御部52は、式(16)により「gN(r,t):時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信数の和」と「gN(r,t−Δt):時刻t−Δtにおける全ビデオサーバVSにより各RAID装置RDから端末装置に配信される全コンテンツについての配信数の和」との差分ΔgN(r,t)を計算する。

Figure 2015170866
Furthermore, the content arrangement control unit 52 calculates “g N (r, t): the number of distributions for all contents distributed from the RAID devices RD to the terminal device 20 by all the video servers VS at time t according to the equation (16). The difference Δg N (“sum” and “g N (r, t−Δt): the sum of the distribution numbers for all contents distributed from the RAID devices RD to the terminal devices by all the video servers VS at time t−Δt” r, t) is calculated.
Figure 2015170866

ここで
ΔgB(r,t)は、時刻tにおけるデバイスID=rのRAID装置RDの配信ビットレ−トの和と時刻t−Δtのそれとの差分を示す。
Here, Δg B (r, t) indicates the difference between the sum of the distribution bit rates of the RAID device RD with the device ID = r at time t and that at time t−Δt.

ΔgN(r,t)は、時刻tにおけるデバイスID=rのRAID装置RDの配信数の和と時刻t−Δtのそれとの差分を示す。 Δg N (r, t) indicates the difference between the sum of the numbers of distributions of the RAID device RD with the device ID = r at time t and that at time t−Δt.

(S1−40)式(17)が成立するか否かを判断する。

Figure 2015170866
(S1-40) It is determined whether or not Expression (17) is established.
Figure 2015170866

ここで、Tは管理者が設定するRAID装置の配信ビットレ−トの差分の閾値を示す。 Here, T 7 indicates a threshold value of the difference in the distribution bit rate of the RAID device set by the administrator.

式(17)が成り立つ場合、コンテンツ配置制御部52は、「ΔgB(r,t):「gB(r,t):時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信ビットレ−トの和」と「gB(r,t−Δt):時刻t−Δtにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信ビットレ−トの和」との差分」が、「管理者が設定するRAID装置の配信ビットレ−トの差分の閾値T」以上であり、最も差分ΔgB(r,t)が大きくなるRAID装置ID=r」を選択する。ここでは、例えばRAID装置RDのデバイスID=rが選択されたとする。 When Expression (17) holds, the content arrangement control unit 52 determines that “Δg B (r, t):“ g B (r, t): from each RAID device RD to the terminal device 20 by all video servers VS at time t. “Sum of distribution bit rate for all contents to be distributed” and “g B (r, t−Δt): all contents distributed from each RAID device RD to terminal device 20 by all video servers VS at time t−Δt. "Difference with the sum of the distribution bit rates for" is equal to or greater than the "threshold value T 7 of the distribution bit rate difference of the RAID device set by the administrator", and the difference Δg B (r, t) is the largest. RAID device ID = r ”is selected. Here, for example, it is assumed that the device ID = r 0 of the RAID device RD is selected.

(S1−42)コンテンツ配置制御部52は、式(12)より、時刻tにおけるデバイスID=rのRAID装置RDから全ビデオサーバVSに配信される各コンテンツID=cの配信ビットレ−トの和h(r,c,t)を計算する。 (S1-42) From the equation (12), the content arrangement control unit 52 determines the distribution bit rate of each content ID = c distributed from the RAID device RD with the device ID = r 0 at time t to all the video servers VS. The sum h B (r 0 , c, t) is calculated.

(S1−43)式(17−1)によりコンテンツを選択する。つまり、コンテンツ配置制御部52は、時刻tにおける全ビデオサーバVSによりデバイスID=rのRAID装置RDから端末装置20に配信される各コンテンツID=cの配信ビットレ−トの和が最大配信ビットレ−トとなるコンテンツID=cを選択する。

Figure 2015170866
(S1-43) A content is selected by the equation (17-1). That is, the content arrangement control unit 52 determines that the sum of the distribution bit rates of each content ID = c distributed from the RAID device RD with the device ID = r 0 to the terminal device 20 by the all video servers VS at time t is the maximum distribution bit rate. -Select content ID = c to be the target.
Figure 2015170866

(S1−44)処理を図9に戻す。 (S1-44) The processing is returned to FIG.

(S1−45)式(18)が成立するか否かを判断する。式(18)が成立する場合にはS1−46に進み、不成立の場合にはS1−50に進む。

Figure 2015170866
(S1-45) It is determined whether or not Expression (18) is established. If the equation (18) is established, the process proceeds to S1-46, and if it is not established, the process proceeds to S1-50.
Figure 2015170866

ここで、Tは管理者が設定するRAID装置の配信数の差分の閾値を示す。 Here, T 8 shows the threshold value of the distribution number of differences between RAID device for setting the administrator.

(S1−46)式(18)が成立する場合、コンテンツ配置制御部52は、「ΔgN(r,t):「gN(r,t):時刻tにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信数の和」と「gN(r,t−Δt):時刻t−Δtにおける全ビデオサーバVSにより各RAID装置RDから端末装置20に配信される全コンテンツについての配信数の和」との差分」が、「管理者が設定するRAID装置RDの配信ビットレ−トの差分の閾値T」以上であり、「最も差分ΔgN(r,t)が大きくなるRAID装置ID=r」を選択する。ここではデバイスID=rが選択されたとする。 (S1-46) When Expression (18) is established, the content arrangement control unit 52 determines that each RAID device is operated by “Δg N (r, t):“ g N (r, t): all video servers VS at time t ”. "Sum of distribution numbers for all contents distributed from RD to terminal device 20" and "g N (r, t-Δt): distributed from each RAID device RD to terminal device 20 by all video servers VS at time t-Δt. is the difference "with the sum" distribution of the number of for all content, delivery of RAID device RD that "the administrator to set bit rate - is the capital of the threshold T 8 of difference" or more, "the most difference Δg N (r, Select RAID device ID = r ”that increases t). Here, it is assumed that the device ID = r 0 is selected.

(S1−47)コンテンツ配置制御部52は、式(14)により、時刻tにおける全ビデオサーバVSによりデバイスID=rのRAID装置RDから端末装置20に配信される各コンテンツID=cの配信数の和hN(r,c,t)を計算する。 (S1-47) The content arrangement control unit 52 distributes each content ID = c distributed from the RAID device RD with the device ID = r 0 to the terminal device 20 by all the video servers VS at time t according to the equation (14). The sum of numbers h N (r 0 , c, t) is calculated.

(S1−48)式(18−1)によりコンテンツを選択する。コンテンツ配置制御部52は、時刻tにおける全ビデオサーバによりデバイスID=rのRAID装置から端末装置に配信される各コンテンツID=cの配信数の和が最大配信数となるコンテンツID=cを選択する。

Figure 2015170866
(S1-48) A content is selected by equation (18-1). The content arrangement control unit 52 sets the content ID = c in which the sum of the distribution numbers of each content ID = c distributed from the RAID device with the device ID = r 0 to the terminal device by all the video servers at time t is the maximum distribution number. select.
Figure 2015170866

(S1−49)処理を図9に戻す。 (S1-49) The processing is returned to FIG.

(S1−50)式(17)、式(18)が成り立たず、かつ、選択方式リストが空であるかを判断する。式(17)、式(18)が成り立たず、かつ、選択方式リストが空でない場合、処理をS1−2へ戻す。 (S1-50) It is determined whether Expressions (17) and (18) do not hold and the selection method list is empty. If Expressions (17) and (18) do not hold and the selection method list is not empty, the process returns to S1-2.

(S1−51)選択方式リストが空である場合、キャッシュ候補のコンテンツのコンテンツIDは「なし」として、図9に処理を戻す。 (S1-51) If the selection method list is empty, the content ID of the cache candidate content is set to “none”, and the process returns to FIG.

以上のように、図11〜図13の処理により、コンテンツ配置制御部52は、キャッシュ作成の候補を選択する。   As described above, the content arrangement control unit 52 selects a cache creation candidate through the processes of FIGS.

図9に戻る。(S2)では、コンテンツ配置制御部52が、S1の処理のよりキャッシュ作成の候補があるか否かを判断する。キャッシュ作成の候補が無い場合、単にキャッシュを作成せずに処理を終了する(S3)。   Returning to FIG. In (S2), the content arrangement control unit 52 determines whether or not there is a cache creation candidate by the process of S1. If there is no cache creation candidate, the process ends without simply creating a cache (S3).

(S4)コンテンツ配置制御部52は、キャッシュ作成先候補リストを作成する。 (S4) The content arrangement control unit 52 creates a cache creation destination candidate list.

図14は、この実施形態に係るコンテンツ配置制御部52によるキャッシュ作成先候補リストの作成方法を示すフローチャートである。ここでは、S1で、キャッシュ作成の候補がコンテンツID=cのコンテンツとして説明する。 FIG. 14 is a flowchart showing a method of creating a cache creation destination candidate list by the content arrangement control unit 52 according to this embodiment. Here, it is assumed that the cache creation candidate is content with content ID = c 0 in S1.

(S4−1)コンテンツ配置制御部52は、時刻tにおける各マシンID=mの全ビデオサーバVSにより各RAID装置RDから端末装置20に配信されるコンテンツID=cの配信数の和の配信数QN(m,c,t)を計算する。

Figure 2015170866
(S4-1) the content allocation control unit 52, distributed by all the video server VS for each machine ID = m at time t from the RAID device RD delivery number of the sum of the content ID = c 0 is distributed to the terminal device 20 The number Q N (m, c 0 , t) is calculated.
Figure 2015170866

ここで、Vmは、マシンID=mのマシンで稼動するビデオサーバのIDの集合を示す。また、式(19)の右辺の関数「Σ」は、マシンID=mのマシンMで稼動する全てのビデオサーバVS、全てのRAID装置RDについての和であることを表す。 Here, Vm represents a set of IDs of video servers operating on a machine with machine ID = m. Also, the function “Σ” on the right side of Expression (19) represents the sum for all video servers VS and all RAID devices RD operating on the machine M with the machine ID = m.

(S4−2)コンテンツ配置制御部52は、以下の条件((条件1−1)かつ(条件1−2))を満たすマシンを候補マシンリストに抽出する。 (S4-2) The content arrangement control unit 52 extracts machines that satisfy the following conditions ((condition 1-1) and (condition 1-2)) to the candidate machine list.

(条件1−1)CPU(v)<T …(20)
ここで、CPU(v)は、ビデオサーバID=vのビデオサーバのCPU使用率を示す。Tは、管理者が設定するビデオサーバのCPU使用率の上限値を示す。CPU(v)とTとは、ビデオサーバ負荷情報テ−ブルを参照して得られる。
(Condition 1-1) CPU (v) <T 9 (20)
Here, CPU (v) indicates the CPU usage rate of the video server with video server ID = v. T 9 shows the upper limit of the CPU usage rate of the video server administrator sets. CPU (v) and T 9, the video server load information Te - obtained by referring to the table.

(条件1−2)

Figure 2015170866
(Condition 1-2)
Figure 2015170866

(S4−3)候補マシンリストが空であるか否かを判断し、空である場合にはS4−4に進み、空でない場合にはS4−6に進む。 (S4-3) It is determined whether or not the candidate machine list is empty. If it is empty, the process proceeds to S4-4, and if it is not empty, the process proceeds to S4-6.

(S4−4)候補マシンリストが空の場合、コンテンツ配置制御部52はキャッシュ作成先候補リストを空とする。 (S4-4) When the candidate machine list is empty, the content arrangement control unit 52 sets the cache creation destination candidate list empty.

(S4−5)処理を図9に戻す。 (S4-5) Return the processing to FIG.

(S4−6)コンテンツ配置制御部52は、候補マシンリストの各マシンに対して、以下の条件((条件2−1)かつ(条件2−2))を満たすキャッシュ記憶装置CDを候補デバイスリストに抽出する。 (S4-6) The content arrangement control unit 52 selects a cache storage device CD that satisfies the following conditions ((condition 2-1) and (condition 2-2)) for each machine in the candidate machine list. To extract.

(条件2−1)

Figure 2015170866
(Condition 2-1)
Figure 2015170866

ここで、Kは、全てのキャッシュ記憶装置CDのデバイスIDの集合を示す。C(k)は、デバイスID=kに格納された全コンテンツIDの集合を示す。 Here, K indicates a set of device IDs of all cache storage devices CD. C (k) represents a set of all content IDs stored in device ID = k.

(条件2−2)

Figure 2015170866
(Condition 2-2)
Figure 2015170866

ここで、Busy(k)は、デバイスID=kのキャッシュ記憶装置CDのI/Oビジー率を示す。T10は、管理者が設定するキャッシュ記憶装置CDのI/Oビジー率の上限値を示す。Busy(k)とT10とは、図6に示すデバイス負荷情報テ−ブルを参照して得られる。 Here, Busy (k) indicates the I / O busy rate of the cache storage device CD with the device ID = k. T 10 denotes the upper limit of the I / O busy ratio of the cache memory device CD by the administrator set. Busy (k) and T 10, the device load information Te shown in FIG. 6 - is obtained by referring to the table.

すなわち、コンテンツ配置制御部52は、マシンID=mにおけるキャッシュ記憶装置CDにおいて、コンテンツID=cのコンテンツが格納されておらず、ビジー率が閾値未満のキャッシュ記憶装置CDを抽出する。 That is, the content arrangement control unit 52 extracts a cache storage device CD in which the content with content ID = c 0 is not stored and the busy rate is less than the threshold in the cache storage device CD with the machine ID = m.

(S4−7)コンテンツ配置制御部52は、式(24)の組からなるキャッシュ作成先候補リストを作成する

Figure 2015170866
(S4-7) The content arrangement control unit 52 creates a cache creation destination candidate list composed of the set of the formula (24).
Figure 2015170866

ここで、mは、候補マシンリストに含まれるマシンIDを示す。kは、候補デバイスリストに含まれるキャッシュ記憶装置CDのデバイスIDを示す。ただしkは、マシンID=mのマシンに存在するキャッシュ記憶装置CDを示す。 Here, m indicates a machine ID included in the candidate machine list. k indicates the device ID of the cache storage device CD included in the candidate device list. Here, k indicates a cache storage device CD existing in the machine with machine ID = m.

MCPU(m)は、マシンID=mで稼動するビデオサーバVSのCPU使用率の最大値を示し、次式で与えられる。

Figure 2015170866
MCPU (m) indicates the maximum CPU usage rate of the video server VS operating with the machine ID = m, and is given by the following equation.
Figure 2015170866

Pri(k)は、デバイスID=kのキャッシュ記憶装置CDのデバイス優先度を示す。Pri(k)は、図6に示すデバイス負荷情報テ−ブルから得られる。   Pri (k) indicates the device priority of the cache storage device CD with the device ID = k. Pri (k) is obtained from the device load information table shown in FIG.

(S4−8)(S4−9)コンテンツ配置制御部52は、作成したキャッシュ作成先候補リストを、第1キ−、第2キ−、第3キ−でソートして、図9に戻る。 (S4-8) (S4-9) The content placement control unit 52 sorts the created cache creation destination candidate list by the first key, the second key, and the third key, and returns to FIG.

ソートの第1キ−=Q(m,c,t)の降順
ソートの第2キ−=MCPU(m)の昇順
ソートの第3キ−=Pri(k)の降順
図9に戻る。(S5)では、コンテンツ配置制御部52が、キャッシュ作成先リストが空であるか否かを判断し、空である場合には、キャッシュを作成せず処理を終了する(S6)。
Sort first key = Q N (m, c 0 , t) descending sort second key = MCPU (m) ascending sort third key = Pri (k) descending order Returning to FIG. In (S5), the content arrangement control unit 52 determines whether or not the cache creation destination list is empty. If the cache creation destination list is empty, the process is terminated without creating a cache (S6).

(S7)コンテンツ配置制御部52は、キャッシュ作成先候補リストの先頭要素のマシンMとキャッシュ記憶装置CDとを取り出す。 (S7) The content arrangement control unit 52 takes out the machine M and the cache storage device CD that are the top elements of the cache creation destination candidate list.

すなわち、コンテンツID=cのコンテンツの配信数が、最多のマシンMが選ばれる。これにより、キャッシュ作成後の配信切り替えのとき、RAID装置RDの負荷低減効果が大きくなる。ここでは、マシンID=m、デバイスID=kが選ばれたとする。 That is, the machine M with the largest number of content distributions with content ID = c 0 is selected. As a result, the effect of reducing the load on the RAID device RD is increased when the distribution is switched after the cache is created. Here, it is assumed that machine ID = m 0 and device ID = k 0 are selected.

(S8)コンテンツ配置制御部52は、デバイスID=kのキャッシュ記憶装置CDの残り容量が、コンテンツID=cのコンテンツのサイズ以上あるかチェックする。そして、デバイスID=kのキャッシュ記憶装置CDの残り容量がある場合S9に進む、残り容量がない場合S12に進む。 (S8) The content arrangement control unit 52 checks whether the remaining capacity of the cache storage device CD with the device ID = k 0 is equal to or larger than the size of the content with the content ID = c 0 . If there is a remaining capacity of the cache storage device CD with the device ID = k 0 , the process proceeds to S9, and if there is no remaining capacity, the process proceeds to S12.

(S9)コンテンツ配置制御部52は、デバイスID=kのキャッシュ記憶装置CD上でコンテンツID=cのコンテンツのキャッシュを作成する。 (S9) The content arrangement control unit 52 creates a cache of the content with content ID = c 0 on the cache storage device CD with device ID = k 0 .

図15は、実施形態に係るコンテンツ配置処理を説明する説明図である。図15は、マシンID=mのマシンにおけるキャッシュ記憶装置kにコンテンID=cをキャッシュする場合を例示している。また、図5に記載の[1]の数字は図9の「ステップS1」に対応している。 FIG. 15 is an explanatory diagram illustrating content arrangement processing according to the embodiment. FIG. 15 illustrates a case where the content ID = c 0 is cached in the cache storage device k 0 in the machine with the machine ID = m 0 . Further, the numeral [1] described in FIG. 5 corresponds to “Step S1” in FIG.

図15に示すように、コンテンツ配置制御部52は、マシンID=mのマシンにあるキャッシュ記憶装置管理サーバCSmにコンテンツID=cのコンテンツのキャッシュをデバイスID=kのキャッシュ記憶装置k上に作成するよう指示を与える。 As shown in FIG. 15, the content placement control unit 52 transfers the content cache with the content ID = c 0 to the cache storage device management server CSm 0 in the machine with the machine ID = m 0 and the cache storage device with the device ID = k 0. k 0 give an indication as to create on.

キャッシュ記憶装置管理サーバCSmはRAID装置管理サーバ3と通信してコンテンツID=cのコンテンツデ−タを取得して、コンテンツ配置制御部52は、デバイスID=kのキャッシュ記憶装置CD上でコンテンツID=cのコンテンツのキャッシュを作成する。 The cache storage device management server CSm 0 communicates with the RAID device management server 3 to acquire the content data with the content ID = c 0 , and the content placement control unit 52 is on the cache storage device CD with the device ID = k 0. Then, a cache of the content with content ID = c 0 is created.

(S10)(S11)対象コンテンツが既にRAID装置RDから配信されていれば、キャッシュ記憶装置CDからのコンテンツ配信に切り替えて、処理を終了する。 (S10) (S11) If the target content has already been distributed from the RAID device RD, the processing is terminated after switching to content distribution from the cache storage device CD.

例えば、図15において、マシンID=mのマシンで稼動しているビデオサーバVSのうち、コンテンツID=cのコンテンツを既にRAID装置から配信しているものがあれば、デバイスID=kのキャッシュ記憶装置CDからコンテンツ配信へ切り替える。 For example, in FIG. 15, if there is a video server VS operating on a machine with machine ID = m 0 that has already delivered content with content ID = c 0 from the RAID device, device ID = k 0. From the cache storage device CD to the content distribution.

そのために、コンテンツ配置制御部52は、マシンID=mのマシンで稼動している全てのビデオサーバVSへデバイスID=kのキャッシュ記憶装置CDからのコンテンツ配信へ切り替えるよう指示を与える。 For this purpose, the content arrangement control unit 52 gives an instruction to switch to content distribution from the cache storage device CD with the device ID = k 0 to all the video servers VS operating on the machine with the machine ID = m 0 .

(S12)デバイスID=kのキャッシュ記憶装置CDの残り容量が充分でない場合、コンテンツ配置制御部52はキャッシュ削除候補を選択する。 (S12) If the remaining capacity of the cache storage device CD with the device ID = k 0 is not sufficient, the content arrangement control unit 52 selects a cache deletion candidate.

図16は、実施形態に係るキャッシュ削除候補の選択処理を示すフローチャートである。   FIG. 16 is a flowchart illustrating a cache deletion candidate selection process according to the embodiment.

(S12−1)キャッシュ作成先でマシンID=mのマシンのデバイスID=kのキャッシュ記憶装置CDの各コンテンツの配信ビットレ−トの和H(m,k,c,t)と、マシンのマシンID=mにおけるコンテンツID=cのコンテンツの配信ビットレ−トの和Q(m,c,t)を次式から計算する。

Figure 2015170866
(S12-1) The sum H B (m 0 , k 0 , c, t) of the distribution bit rate of each content of the cache storage device CD with the device ID = k 0 of the machine with machine ID = m 0 at the cache creation destination When the distribution of content in the content ID = c 0 in the machine ID = m 0 machine bit rate - calculating the sum of the bets Q B the (m 0, c 0, t ) from the following equation.
Figure 2015170866

ここで、H(m,k,c,t)は、時刻tにおけるマシンID=mのマシンで稼動するビデオサーバVSがデバイスID=kのキャッシュ記憶装置CDのデバイスから端末装置20に配信するコンテンツID=cのコンテンツの配信ビットレ−トの和を示す。 Here, H B (m 0 , k 0 , c, t) indicates that the video server VS operating on the machine with the machine ID = m 0 at time t is the terminal device from the device of the cache storage device CD with the device ID = k 0. 20 shows the sum of the distribution bit rates of the content with content ID = c 0 to be distributed.

(m,c,t)は、時刻tにおけるマシンID=mのマシンで稼動する全てのビデオサーバVSによるコンテンツID=cのコンテンツのRAID装置RDから端末装置20への配信ビットレ−トの和を示す。 Q B (m 0 , c 0 , t) is a distribution of content with content ID = c 0 from the RAID device RD to the terminal device 20 by all video servers VS operating on the machine with machine ID = m 0 at time t. Indicates the sum of bit rates.

Br(v,k,c,t)は、時刻tにおけるサーバID=vのビデオサーバVSによりデバイスID=kのキャッシュ記憶装置CDから端末装置20に配信されるコンテンツID=cのコンテンツの配信ビットレ−トを示す。このBr(v,k,c,t)は、図8に示す配信情報テ−ブルから取得することができる。 Br (v, k, c, t) is the distribution of the content with content ID = c 0 distributed from the cache storage device CD with device ID = k to the terminal device 20 by the video server VS with server ID = v at time t. Indicates bit rate. This Br (v, k, c, t) can be obtained from the distribution information table shown in FIG.

(S12−2)ここで、後述するように削除候補の判定方法として2種類の方法があるため、コンテンツ配置制御部52は、管理者により決定された方法で削除候補を選択する。削除候補の判定方法は、式(28)に従う方法と、式(29)に従う方法とがあり、コンテンツ配置制御部52は、管理者に設定された式(28)又は式(29)が成立するか否かを判断する。 (S12-2) Here, since there are two types of deletion candidate determination methods as will be described later, the content arrangement control unit 52 selects deletion candidates by the method determined by the administrator. The deletion candidate determination method includes a method according to equation (28) and a method according to equation (29), and the content arrangement control unit 52 holds equation (28) or equation (29) set by the administrator. Determine whether or not.

(削除候補判定方法1)

Figure 2015170866
(Deletion candidate determination method 1)
Figure 2015170866

ここで、T11は、管理者が設定する削除用配信ビットレ−ト閾値を示す。また、式(28)の「min」は、cを変化させたときに最小となる値を表す。 Here, T 11 is deleted for delivery bit rate administrator sets - shown the door threshold. In addition, “min” in Expression (28) represents a minimum value when c is changed.

コンテンツ配置制御部52は、式(28)が成立するか否かを判断する。つまり、「H(m,k,c,t):時刻tにおけるマシンID=mのマシンで稼動するビデオサーバVSがキャッシュ記憶装置CDのデバイスID=kのデバイスから端末装置20に配信するコンテンツID=cのコンテンツの配信ビットレ−トの和」が、「管理者が設定する削除用配信ビットレ−ト閾値T11」以下であり、H(m,k,c,t)が最小となるコンテンツID=cを選択する。すなわち、配信ビットレ−トが最小でかつ閾値以下のコンテンツを削除する。 The content arrangement control unit 52 determines whether or not Expression (28) is established. That is, “H B (m 0 , k 0 , c, t): The video server VS operating on the machine with machine ID = m 0 at time t is changed from the device with the device ID = k 0 of the cache storage device CD to the terminal device 20. "Sum of distribution bit rate of content with content ID = c to be distributed" is equal to or less than "deletion distribution bit rate threshold T 11 set by the administrator" and H B (m 0 , k 0 , c, Select the content ID = c that minimizes t). That is, the content having the minimum delivery bit rate and the threshold value or less is deleted.

(削除判定方法2)

Figure 2015170866
(Delete determination method 2)
Figure 2015170866

ここでT12は、管理者が設定する削除用配信ビットレ−ト差の閾値を示す。 Here T 12 is removed for delivery bit rate administrator sets - indicates the threshold value of bets difference.

コンテンツ配置制御部52は、式(29)が成立するか否かを判断する。つまり、「Q(m,c,t)時刻tにおけるマシンID=mのマシンで稼動する全てのビデオサーバVSがRAID装置RDから端末装置20に配信するコンテンツID=cのコンテンツの配信ビットレ−トの和」と「H(m,k,c,t):時刻tにおけるマシンID=mのマシンで稼動するビデオサーバVSがキャッシュ記憶装置CDのデバイスID=kのデバイスから端末装置20に配信するコンテンツID=cのコンテンツの配信ビットレ−トの和であり、H(m,k,c,t)」が最小となるコンテンツID=cとの差」が、「管理者が設定する削除用配信ビットレ−ト差閾値:T12」以上であるコンテンツID=cを選択する。 The content arrangement control unit 52 determines whether or not Expression (29) is established. In other words, “content of content ID = c 0 distributed from the RAID device RD to the terminal device 20 by all video servers VS operating on the machine of machine ID = m 0 at time“ Q B (m 0 , c 0 , t) ”. And H B (m 0 , k 0 , c, t): The video server VS operating on the machine with machine ID = m 0 at time t has a device ID = k of the cache storage device CD 0 is the sum of the distribution bit rates of the content of content ID = c distributed from the device of 0 to the terminal device 20, and H B (m 0 , k 0 , c, t) ”is the minimum content ID = c The content ID = c whose “difference” is equal to or greater than “deletion distribution bit rate difference threshold set by the administrator: T 12 ” is selected.

式(29)第1項はマシン(マシンID=m)におけるキャッシュ対象コンテンツの配信ビットレ−トの和、第2項は同じマシンのキャッシュ対象デバイスの削除対象コンテンツの配信ビットレ−トの和を表す。すなわち、配信ビットレ−トが最小でかつキャッシュ対象との差が閾値以上のコンテンツを削除する。 Expression (29) The first term is the sum of the distribution bit rates of the cache target content in the machine (machine ID = m 0 ), and the second term is the sum of the distribution bit rates of the deletion target content of the cache target device of the same machine. Represent. In other words, the content having the smallest delivery bit rate and the difference from the cache target being equal to or larger than the threshold is deleted.

(S12−3)式(28)又は式(29)が成立するときは、コンテンツ配置制御部52は、式(28)又は式(29)が成立するコンテンツID=cを削除対象のコンテンツIDとして選択する。 (S12-3) When Expression (28) or Expression (29) is satisfied, the content arrangement control unit 52 sets content ID = c where Expression (28) or Expression (29) is satisfied as a content ID to be deleted. select.

(S12−4)式(28)又は式(29)が成立しないとき、コンテンツ配置制御部52は、削除候補がないと判断し、図9に戻る。 (S12-4) When Expression (28) or Expression (29) is not satisfied, the content arrangement control unit 52 determines that there is no deletion candidate, and returns to FIG.

図9に戻る。(S13)において、コンテンツ配置制御部52は、削除候補があるか否かを判断する。削除候補がある場合S14に進み、削除候補が無い場合、S5に戻り処理を繰り返す。   Returning to FIG. In (S13), the content arrangement control unit 52 determines whether there is a deletion candidate. If there is a deletion candidate, the process proceeds to S14. If there is no deletion candidate, the process returns to S5 and the process is repeated.

(S14)削除候補がある場合(ここでは、例えばコンテンツID=cが削除候補のコンテンツのIDとする。)、コンテンツ配置制御部52は、さらにその削除候補が配信中か否かを調べる。配信中でなければS17に進み、配信中であればS15に進む。 (S14) When there is a deletion candidate (in this case, for example, the content ID = c 1 is the ID of the content of the deletion candidate.), The content allocation control unit 52 further checks whether this deletion candidate or during delivery. If not being distributed, the process proceeds to S17, and if being distributed, the process proceeds to S15.

(S15)コンテンツ配置制御部52は、式(30)、式(31)が成立するRAID装置RDがあるか否かを判断する。 (S15) The content arrangement control unit 52 determines whether or not there is a RAID device RD that satisfies the expressions (30) and (31).

すなわち、マシンID=mのマシンで稼動しているビデオサーバVSのうち、コンテンツID=cのコンテンツを既にデバイスID=kのキャッシュ記憶装置CDから配信されていれば、コンテンツ配置制御部52はRAID装置RDからの配信へ切り替える。 That is, if the content ID = c 1 of the video server VS running on the machine with the machine ID = m 0 has already been distributed from the cache storage device CD with the device ID = k 0 , the content arrangement control unit 52 switches to distribution from the RAID device RD.

つまり、コンテンツ配置制御部52は、削除候補が配信中のときRAID装置RDへ配信を切り替えるため、式(30)、式(31)が成り立つRAID装置RDがあるか否かを判断する。配信元を切り替えることで、RAID装置RDの負荷が高くなるため、コンテンツ配置制御部52は負荷増加に耐えられるRAID装置RDを探す。式(30)、式(31)を満たすRAID装置RDがなければS5に戻って処理を行い、他のキャッシュ作成先候補を検索する。

Figure 2015170866
That is, the content arrangement control unit 52 switches the distribution to the RAID device RD when the deletion candidate is being distributed, and therefore determines whether there is a RAID device RD that satisfies Expressions (30) and (31). Since the load on the RAID device RD increases by switching the distribution source, the content arrangement control unit 52 searches for a RAID device RD that can withstand the load increase. If there is no RAID device RD that satisfies Expressions (30) and (31), the process returns to S5 and the process is performed to search for other cache creation destination candidates.
Figure 2015170866

ここで、T13は、管理者が設定するRAID装置のI/Oビジー率の上限値を示す。なお、Busy(r)とT13は、図6に示すデバイス負荷情報テ−ブルを参照して得られる。 Here, T 13 indicates the upper limit of the I / O busy rate of a RAID device administrator sets. Incidentally, T 13 and Busy (r) the device load information Te shown in FIG. 6 - is obtained by referring to the table.

式(30)、式(31)は、コンテンツID=cのコンテンツが格納されており、I/Oビジー率が閾値未満のRAID装置を選択することを意図している。 Expressions (30) and (31) are intended to select a RAID device in which the content with content ID = c 1 is stored and the I / O busy rate is less than the threshold.

また、式(30)、式(31)が成り立つRAID装置RDが複数あれば、デバイス優先度が最も高いRAID装置を選択するようにする。例えば、ここでは、RAID装置RDのデバイスID=rが選択されたとする。 Further, if there are a plurality of RAID devices RD that satisfy Equation (30) and Equation (31), the RAID device with the highest device priority is selected. For example, here, it is assumed that the device ID = r 1 of the RAID device RD is selected.

(S16)コンテンツ配置制御部52は、式(30)、式(31)が成立するRAID装置RDからの配信に切り替える。 (S16) The content arrangement control unit 52 switches to the distribution from the RAID device RD in which the expressions (30) and (31) are established.

これにより、例えば、図15に示すように、コンテンツ配置・配信制御サーバ5のコンテンツ配置制御部52は、マシンID=mのマシンで稼動している全てのビデオサーバへデバイスID=rのRAID装置RDからの配信へ切り替えるよう指示を与える。 As a result, for example, as shown in FIG. 15, the content placement control unit 52 of the content placement / distribution control server 5 sends the device ID = r 1 to all video servers operating on the machine ID = m 0 . An instruction is given to switch to distribution from the RAID device RD.

(S17)コンテンツ配置制御部52は、当該マシンのキャッシュ記憶装置管理サーバCSに削除指示を与えて、キャッシュ記憶装置CDからキャッシュを削除する。 (S17) The content arrangement control unit 52 gives a deletion instruction to the cache storage device management server CS of the machine, and deletes the cache from the cache storage device CD.

例えば、図15に示すように、コンテンツ配置制御部52は、マシンID=mのマシンのキャッシュ記憶装置管理サーバCSへコンテンツID=cのコンテンツを削除するように指示を与える。その後、S8に処理を戻して空き容量を再度チェックする。 For example, as shown in FIG. 15, the content arrangement control unit 52 instructs the cache storage device management server CS of the machine with the machine ID = m 0 to delete the content with the content ID = c 1 . Thereafter, the process returns to S8 to check the free space again.

(A−2−2)コンテンツ配信制御処理
次に、実施形態に係るコンテンツ配信制御処理を、図面を参照しながら詳細に説明する。
(A-2-2) Content Distribution Control Process Next, the content distribution control process according to the embodiment will be described in detail with reference to the drawings.

図17及び図18は、実施形態に係るコンテンツ配信制御処理を示すフローチャートである。   17 and 18 are flowcharts showing the content distribution control process according to the embodiment.

(S100)コンテンツ配信制御部53は、クライアントよりコンテンツ配信要求を受信する。ここではコンテンツID=cのコンテンツの配信要求を受信するものとする。 (S100) The content distribution control unit 53 receives a content distribution request from the client. Here, it is assumed that a content distribution request with content ID = c 0 is received.

(S101)〜(S103)コンテンツ配信制御部53は、指定コンテンツが記憶装置(RAID装置RD)に存在するかを確認し、指定コンテンツがいずれの記憶装置にも存在しない場合は、端末装置に該当コンテンツなしのエラーを返して処理を終了する。 (S101) to (S103) The content distribution control unit 53 checks whether the designated content exists in the storage device (RAID device RD), and if the designated content does not exist in any storage device, it corresponds to the terminal device. An error with no content is returned and the process ends.

(S104)コンテンツ配信制御部53は、時刻tにおける各ビデオサーバから各端末装置に配信される全コンテンツの配信ビットレ−トの和S(v,t)と配信数の和S(v,t)を次式から計算する。

Figure 2015170866
(S104) The content distribution control unit 53 adds the sum S B (v, t) of the distribution bit rates of all the content distributed from each video server to each terminal device at time t and the sum S N (v, t t) is calculated from the following equation.
Figure 2015170866

ここで、Dは、全てのキャッシュ記憶装置CDとRAID装置RDのデバイスIDの集合を示す。すなわちD=R∪Kである。   Here, D indicates a set of device IDs of all the cache storage devices CD and the RAID device RD. That is, D = R∪K.

(v,t)は、時刻tにおけるビデオサーバID=vのビデオサーバVSが配信するコンテンツの配信ビットレ−トの和を示す。 S B (v, t) indicates the sum of the distribution bit rates of the contents distributed by the video server VS with the video server ID = v at time t.

(v,t)は、時刻tにおけるビデオサーバID=vのビデオサーバVSが配信するコンテンツの配信数の和を示す。 S N (v, t) indicates the sum of the distribution numbers of contents distributed by the video server VS with the video server ID = v at time t.

Br(v,d、c、t)は、時刻tにおけるサーバID=vのビデオサーバVSによりデバイスID=dのデバイス(キャッシュ記憶装置CD又はRAID装置RD)から端末装置20に配信されるコンテンツID=cのコンテンツの配信ビットレ−トを示す。Br(v,d、c、t)は、図8に示す配信情報テ−ブルから得られる。   Br (v, d, c, t) is a content ID delivered from the device (cache storage device CD or RAID device RD) with device ID = d to the terminal device 20 by the video server VS with server ID = v at time t. = C indicates the distribution bit rate of the content of c. Br (v, d, c, t) is obtained from the distribution information table shown in FIG.

Num(v,d,c,t)は、時刻tにおけるサーバID=vのビデオサーバVSによりデバイスID=dのデバイス(キャッシュ記憶装置CD又はRAID装置RD)から端末装置20に配信されるコンテンツID=cのコンテンツの配信数を示す。Num(v,d,c,t)は、図8に示す配信情報テ−ブルから得られる。   Num (v, d, c, t) is a content ID distributed from the device (cache storage device CD or RAID device RD) with device ID = d to the terminal device 20 by the video server VS with server ID = v at time t. = C indicates the number of content distributions. Num (v, d, c, t) is obtained from the distribution information table shown in FIG.

式(32)及び式(33)の右辺の関数「Σ」は、全てのデバイス(RAID装置RDとキャッシュ記憶装置CD)と全てのコンテンツについての和であることを表す。   The function “Σ” on the right side of Equation (32) and Equation (33) represents the sum of all devices (RAID device RD and cache storage device CD) and all contents.

(S105)コンテンツ配信制御部53は、以下を満足するビデオサーバVSのIDを候補ビデオサーバリストVLに抽出する。

Figure 2015170866
(S105) The content distribution control unit 53 extracts the ID of the video server VS that satisfies the following to the candidate video server list VL.
Figure 2015170866

ここで、式(34)〜式(36)を説明する。 Here, Formula (34)-Formula (36) are demonstrated.

14は、管理者が設定するビデオサーバVSのCPU使用率の上限値を示す。 T 14 denotes the upper limit of the CPU usage rate of the video server VS the administrator sets.

15は、管理者が設定するビデオサーバVSの配信ビットレ−トの上限値を示す。 T 15, the distribution bit rate of the video server VS the administrator to set - indicating the upper limit of the door.

16は、管理者が設定するビデオサーバVSの配信数の上限値を示す。 T 16 indicates the upper limit of the number of distributions of the video server VS be configured by the administrator.

Br(c)は、ビデオサーバVSから端末装置20に配信されるコンテンツID=cのコンテンツのビットレ−トを示す。Br(c)は、端末装置20から1つの配信要求に対するコンテンツを配信するビットレ−トである。 Br (c 0 ) indicates the bit rate of the content with content ID = c 0 distributed from the video server VS to the terminal device 20. Br (c 0 ) is a bit rate for distributing content corresponding to one distribution request from the terminal device 20.

14、T15、T16は、コンテンツ配信制御部53が、図7に例示するビデオサーバ負荷情報テ−ブルを参照して得られる。 T 14 , T 15 , and T 16 are obtained by the content distribution control unit 53 with reference to the video server load information table illustrated in FIG.

式(34)〜式(36)は、実際にコンテンツ配信を行うビデオサーバVSの状態をチェックするためのものである。   Expressions (34) to (36) are for checking the state of the video server VS that actually performs content distribution.

すなわち、コンテンツ配信制御部53は、ビデオサーバVSのCPU使用率が閾値以下であることと、そのビデオサーバVSを配信元に選んだときそのビデオサーバVSの配信数とビットレ−トが予め決定した上限値を超えないこと(そのため、式(36)では、現在の配信数にマ−ジンとして例えば「1」を加算し、配信ビットレ−トにコンテンツのビットレ−トを加算している)を条件にしたとき、コンテンツ配信制御部53は、上記式(34)〜式(36)を条件とし、これら条件を満たすビデオサーバVSを候補として選択し、その選択したビデオサーバのIDを候補ビデオサーバリストVLに設定する。   That is, the content distribution control unit 53 determines that the CPU usage rate of the video server VS is equal to or less than the threshold value, and the number of distributions and the bit rate of the video server VS are determined in advance when the video server VS is selected as the distribution source. It is a condition that the upper limit value is not exceeded (so, in Expression (36), for example, “1” is added as a margin to the current number of distributions, and the content bit rate is added to the distribution bit rate). In this case, the content distribution control unit 53 selects the video server VS that satisfies these conditions as a condition, using the above expressions (34) to (36), and sets the ID of the selected video server as a candidate video server list. Set to VL.

(S106)〜(S108)コンテンツ配信制御部53は、候補ビデオサーバリストVLが空か否かを判断し、該当するビデオサーバがなければ、クライアントへ配信不可のエラーを返して処理を終了する。 (S106) to (S108) The content distribution control unit 53 determines whether or not the candidate video server list VL is empty, and if there is no corresponding video server, returns an undeliverable error to the client and ends the process.

(S109)候補ビデオサーバリストVLが空でない場合、コンテンツ配信制御部53は、少なくとも1個のビデオサーバが候補ビデオサーバリストVLに含まれるマシンをマシンリストに抽出する。 (S109) If the candidate video server list VL is not empty, the content distribution control unit 53 extracts machines in which at least one video server is included in the candidate video server list VL to the machine list.

(S110)コンテンツ配信制御部53は、マシンリストの各マシン(マシンID=m)のコンテンツID=cのコンテンツの配信数の和P(m,c,t)を式(37)から計算する。

Figure 2015170866
(S110) The content distribution control unit 53 calculates the sum P N (m, c 0 , t) of the distribution numbers of the content with content ID = c 0 of each machine (machine ID = m) in the machine list from the equation (37). calculate.
Figure 2015170866

ここで、P(m,c,t)は、時刻tにおけるマシンID=m上の全てのビデオサーバVSが各端末装置20に配信するコンテンツID=cのコンテンツの配信数の和を示す。 Here, P N (m, c, t) indicates the sum of the distribution numbers of content ID = c distributed to all terminal devices 20 by all video servers VS on machine ID = m at time t.

式(37)の右辺の関数「Σ」は、マシンM上の全てのビデオサーバVSと全てのデバイス(RAID装置RDとキャッシュ記憶装置CD)についての和であることを表す。   The function “Σ” on the right side of Expression (37) represents the sum of all video servers VS and all devices (RAID device RD and cache storage device CD) on the machine M.

(m,c,t)は、式(37)でコンテンツIDについてc=cと置き換えて計算する。 P N (m, c 0 , t) is calculated by substituting c = c 0 for the content ID in equation (37).

(S111)コンテンツ配信制御部53は、(m,P(m,c,t))の組からなる候補マシンリストMLを作成して、P(m,c,t)の降順にソートする。 (S111) the content distribution control section 53 creates a (m, P N (m, c 0, t)) Candidate machine list ML composed of a set of, in descending order of P N (m, c 0, t) Sort.

(S112)コンテンツ配信制御部53は、各デバイス(RAID装置RDとキャッシュ記憶装置CD)の配信ビットレ−トの和g(d,t)と配信数の和g(d,t)とを式(9)と式(10)から計算する。ただし、d∈D=R∪Kとする。 (S112) The content distribution control unit 53 obtains the sum g B (d, t) of the distribution bit rate and the sum g N (d, t) of the number of distributions of each device (RAID device RD and cache storage device CD). It calculates from Formula (9) and Formula (10). However, dεD = R∪K.

(S113)コンテンツ配信制御部53は、以下を満足するデバイス(RAID装置RDとキャッシュ記憶装置CD)のデバイスIDを候補デバイスリストDLに抽出する。

Figure 2015170866
(S113) The content distribution control unit 53 extracts device IDs of devices (RAID device RD and cache storage device CD) satisfying the following to the candidate device list DL.
Figure 2015170866

ここで、式(38)は、コンテンツID=cのコンテンツが格納されたデバイス(RAID装置RDまたはキャッシュ記憶装置CD)であることを示す。 Here, the equation (38) indicates that the device (RAID device RD or cache storage device CD) stores the content with content ID = c 0 .

式(39)は、I/Oビジー率が閾値未満のデバイス(RAID装置RDまたはキャッシュ記憶装置CD)であることを示す。   Expression (39) indicates that the device (RAID device RD or cache storage device CD) has an I / O busy rate less than the threshold.

式(40)は、もしコンテンツID=cのコンテンツを追加で配信したとしても、現在の配信ビットレ−トとコンテンツID=cのコンテンツの配信ビットレ−トの合計が配信ビットレ−ト上限値以下であることを示す。 Equation (40) shows that even if the content with content ID = c 0 is additionally distributed, the sum of the distribution bit rates of the current distribution bit rate and the content with content ID = c 0 is the distribution bit rate upper limit value. Indicates that:

式(41)は、もしコンテンツID=cのコンテンツを追加で配信したとしても、現在の配信本数との合計が配信本数上限値以下であること。ただし、d∈D=R∪Kとする。 Formula (41) indicates that even if content with content ID = c 0 is additionally distributed, the total with the current number of distributions is not more than the upper limit value of the number of distributions. However, dεD = R∪K.

ここで、T17は、管理者が設定する各デバイス(RAID装置RDとキャッシュ記憶装置CD)のI/Oビジー率の上限値を示す。 Here, T 17 indicates the upper limit value of the I / O busy rate of each device (RAID device RD and cache storage device CD) set by the administrator.

18は、管理者が設定する各デバイス(RAID装置RDとキャッシュ記憶装置CD)の配信ビットレ−トの上限値を示す。 T 18 is delivered bit rate of each device administrator sets (RAID device RD and the cache storage device CD) - shows the upper limit of the bets.

19は、管理者が設定する各デバイス(RAID装置RDとキャッシュ記憶装置CD)の配信数の上限値を示す。 T 19 indicates the upper limit of the number of distributions of each device (RAID device RD and cache storage device CD) set by the administrator.

17、T18、T19は、図6に示すデバイス負荷情報テ−ブルを参照して得られる。 T 17 , T 18 , and T 19 are obtained with reference to the device load information table shown in FIG.

すなわち、コンテンツID=cのコンテンツが格納され、ビジー率が閾値以下で、配信先に選んだとき、そのデバイスの配信数とビットレ−トが予め決められた上限値を超えないこと(そのために、式(41)では、現在の配信数にマ−ジンとして「1」を加算し、配信ビットレ−トにコンテンツのビットレ−トを加算している)を条件にしたとき、式(38)〜式(41)を条件としてこれらの条件を満たすデバイスを候補として選択する。 That is, when the content with content ID = c 0 is stored, the busy rate is equal to or less than the threshold, and the delivery destination is selected, the delivery number and bit rate of the device do not exceed a predetermined upper limit (for that reason) In Expression (41), “1” is added as the margin to the current number of distributions, and the content bit rate is added to the distribution bit rate). Devices satisfying these conditions are selected as candidates on the condition of Expression (41).

(S114)〜(S116)コンテンツ配信制御部53は、候補デバイスリストDLが空であるか否かを判断する。そして、候補デバイスリストDLが空の場合、コンテンツ配信制御部53は、端末装置20に配信不可エラーを返して処理を終了する。 (S114) to (S116) The content distribution control unit 53 determines whether the candidate device list DL is empty. If the candidate device list DL is empty, the content distribution control unit 53 returns a non-distributable error to the terminal device 20 and ends the process.

(S117)コンテンツ配信制御部53は、ソート後、候補マシンリストMLの先頭にあるマシンを取り出す。 (S117) After sorting, the content distribution control unit 53 takes out the machine at the head of the candidate machine list ML.

(S118)コンテンツ配信制御部53は、候補マシンリストMLから抽出したマシン(ここでは、例えばマシンID=mとする。)に属する各ビデオサーバ(ここでは、例えば、ビデオサーバID=v,v∈Vm)について、指定コンテンツの配信数の和p(v,c,t)を式(42)に従って計算する。

Figure 2015170866
(S118) The content distribution control unit 53 sets each video server (here, for example, video server ID = v, vε) belonging to the machine (here, for example, machine ID = m) extracted from the candidate machine list ML. For Vm), the sum p N (v, c 0 , t) of the number of distributions of the designated content is calculated according to the equation (42).
Figure 2015170866

ここで、p(v,c,t)は、時刻tにおけるビデオサーバID=vのビデオサーバVSが各端末装置20に配信するコンテンツID=cのコンテンツの配信数の和を示す。ここでは、p(v,c,t)は、式(42)でc=cと置き換えて計算する。 Here, p N (v, c, t) indicates the sum of the distribution numbers of the content with content ID = c distributed to each terminal device 20 by the video server VS with video server ID = v at time t. Here, p N (v, c 0 , t) is calculated by substituting c = c 0 in equation (42).

(S119)コンテンツ配信制御部53は、v(v∈Vm)、d(d∈DL)、p(v,c,t)、Pri(d)に基づいて、式(43)の組を構成し、配信候補リストを作成する。

Figure 2015170866
(S119) The content distribution control unit 53 sets the set of the expression (43) based on v (vεVm), d (dεDL), p N (v, c 0 , t), Pri (d). Configure and create a distribution candidate list.
Figure 2015170866

ここで、vはマシンID=m上のビデオサーバVSのビデオサーバIDを示す。ただしv∈Vである。 Here, v indicates the video server ID of the video server VS on the machine ID = m. However, vεV.

DはビデオサーバID=vのビデオサーバVSが参照できる各デバイス(RAID装置RDとキャッシュ記憶装置CD)のデバイスIDを示す。ただし、d∈Dである。   D indicates a device ID of each device (RAID device RD and cache storage device CD) that can be referred to by the video server VS with the video server ID = v. However, dεD.

(v,c,t)は、時刻tにおけるビデオサーバID=vのビデオサーバVSが各端末装置20に配信するコンテンツID=cのコンテンツの配信数の和である。なお、p(v,c,t)は式(42)に従って計算することができる。 p N (v, c 0 , t) is the sum of the distribution numbers of content ID = c 0 distributed by the video server VS with video server ID = v to each terminal device 20 at time t. Note that p N (v, c 0 , t) can be calculated according to equation (42).

Pri(d)は、デバイスID=dのデバイスのデバイス優先度。デバイス負荷情報テ−ブルから得られる。   Pri (d) is the device priority of the device with device ID = d. Obtained from the device load information table.

(S120)コンテンツ配信制御部53は、配信候補リストが空か否かを判断する。配信候補リストが空の場合S121に進み、そうでない場合S124に進む。 (S120) The content distribution control unit 53 determines whether or not the distribution candidate list is empty. If the distribution candidate list is empty, the process proceeds to S121, and if not, the process proceeds to S124.

(S121)コンテンツ配信制御部53は、候補マシンリストMLが空か否かを判断する。そして、配信候補リストが空であり、かつ、候補マシンリストMLが空でない場合、S117に進み、処理を繰り返す。 (S121) The content distribution control unit 53 determines whether the candidate machine list ML is empty. If the distribution candidate list is empty and the candidate machine list ML is not empty, the process proceeds to S117 and the process is repeated.

(S122)、(S123)一方、配信候補リストが空であり、かつ、候補マシンリストMLも空である場合、コンテンツ配信制御部53は、端末装置20に配信不可エラーを返して処理を終了する。 (S122), (S123) On the other hand, if the distribution candidate list is empty and the candidate machine list ML is also empty, the content distribution control unit 53 returns a non-distributable error to the terminal device 20 and ends the process. .

(S124)コンテンツ配信制御部53は、配信候補リストを、ソートの第1キ−=p(v,c,t)の降順、ソートの第2キ−=Pri(d)の降順によりソートする。 (S124) The content distribution control unit 53 sorts the distribution candidate list in the descending order of the first key of sorting = p N (v, c 0 , t) and the descending order of the second key of sorting = Pri (d). To do.

(S125)コンテンツ配信制御部53は、S124のソート後の配信候補リストの先頭要素のビデオサーバIDとデバイスIDを取り出す。これらを配信元として選択する。 (S125) The content distribution control unit 53 takes out the video server ID and device ID of the head element of the distribution candidate list after sorting in S124. These are selected as distribution sources.

ここでは、ビデオサーバID=v,デバイスID=dが選ばれたとする(d∈D)。 Here, it is assumed that video server ID = v 0 and device ID = d 0 are selected (d 0 εD).

コンテンツID=cのコンテンツの配信数が最大のデバイスが選ばれる。 The device with the largest content distribution number of content ID = c 0 is selected.

選ばれたデバイスがRAID装置の場合、将来キャッシュ記憶装置にキャッシュを作ったとき、キャッシュからへの配信に切り替えることにより、多くの配信がキャッシュへ移行するためRAID装置の負荷軽減効果を最大化することができる。 When the selected device is a RAID device, when a cache is created in the cache storage device in the future, by switching to the delivery from the cache, many deliveries are transferred to the cache, thereby maximizing the load reduction effect of the RAID device. be able to.

また、選択されたデバイスがキャッシュ記憶装置の場合、同じキャッシュ記憶装置に配信が集中する。その結果、あまり使われないキャッシュ記憶装置の配信数はより小さくなるので削除がされやすくなる。キャッシュが削除されると、空いた容量を別のキャッシュの作成に利用できるので、容量の効率がよくなる。   Further, when the selected device is a cache storage device, distribution is concentrated on the same cache storage device. As a result, the number of cache storage devices that are not frequently used becomes smaller, and is easily deleted. When the cache is deleted, the free capacity can be used to create another cache, thus improving the capacity efficiency.

図19は、この実施形態に係るコンテンツ配信の配信負荷を説明する説明図である。図19は、例えば、サーバがN台あり、コンテンツC1の総配信数をMとしている。図19において、C1の総配信数をMの場合を考えると、いずれかのサーバ、例えばサーバ1が集中的にC1を配信する。   FIG. 19 is an explanatory diagram for explaining a distribution load of content distribution according to this embodiment. In FIG. 19, for example, there are N servers, and the total distribution number of the content C1 is M. In FIG. 19, considering the case where the total distribution number of C1 is M, one of the servers, for example, server 1, distributes C1 intensively.

図19に示すように、時刻t0でサーバ1にキャッシュが作成されると、RAID装置全体ではM本の負荷が軽減され、従来の図3と場合と比べて、負荷低減効果が大きい。   As shown in FIG. 19, when a cache is created in the server 1 at time t0, M loads are reduced in the entire RAID device, and the load reduction effect is greater than in the case of FIG.

(S126)コンテンツ配信制御部53は、ビデオサーバID=vのビデオサーバVSに要求のあった端末装置に対してコンテンツcをデバイスID=dのデバイスから配信するよう要求指示する。コンテンツ配信制御部53は、ビデオサーバVSに配信先クライアントアドレス、ポ−ト番号なども通知する。 (S126) The content distribution control unit 53 instructs the terminal device requested to the video server VS with the video server ID = v 0 to distribute the content c 0 from the device with the device ID = d 0 . The content distribution control unit 53 notifies the video server VS of a distribution destination client address, a port number, and the like.

(A−2−3)キャッシュ作成候補選択処理の具体的な実施形態
[方式1]
まず、図11で説明した方式1のキャッシュ作成候補選択処理について具体的に説明する。
(A-2-3) Specific embodiment of cache creation candidate selection process
[Method 1]
First, the cache creation candidate selection process of method 1 described in FIG. 11 will be specifically described.

図20〜図23は、方式1のキャッシュ作成候補選択処理を説明する説明図である。   20 to 23 are explanatory diagrams for explaining cache creation candidate selection processing of method 1. FIG.

ここでは、マシンは、マシンM1及びM2の2台とし、M1にはビデオサーバVS1が稼働し、M2にはビデオサーバVS2が稼働しているものとする。   Here, it is assumed that there are two machines M1 and M2, the video server VS1 is operating in M1, and the video server VS2 is operating in M2.

また、RAID装置はRAID装置R1及びR2の2台とする。キャッシュ記憶装置は、キャッシュ記憶装置D1、D2、D3、D4の4台とする。コンテンツは、コンテンツC1、C2、C3、C4の4つが存在するとする。   Two RAID devices, RAID devices R1 and R2, are provided. The cache storage devices are four cache storage devices D1, D2, D3, and D4. Assume that there are four contents C1, C2, C3, and C4.

図20は、時刻t1における各RAID装置の状態を示す図であり、図21は、時刻t2におけるRAID装置の状態を示す図である。   20 is a diagram illustrating the state of each RAID device at time t1, and FIG. 21 is a diagram illustrating the state of the RAID device at time t2.

時刻t1と時刻t2での各ビデオサーバVS1及びVS2の各RAID装置R1及びR2における各コンテンツの配信ビットレ−トを計算する(単位Mbps)。   The distribution bit rate of each content in each RAID device R1 and R2 of each video server VS1 and VS2 at time t1 and time t2 is calculated (unit: Mbps).

図20及び図21は、図8に示す配信情報テ−ブルからRAID装置R1及びR2のデバイスの配信ビットレートのデータのみ抽出したものに相当する。また、閾値Tは200Mbpsとし、キャッシュはどれも作られていないとする。 20 and 21 correspond to the distribution information table shown in FIG. 8 where only the data of the distribution bit rate of the devices of the RAID devices R1 and R2 is extracted. Further, thresholds T 1 is set to 200 Mbps, and not made any cache.

例えば、図20では、コンテンツC1について、ビデオサーバVS1のRAID装置R1からコンテンツC1が「10(Mbps)」配信されており、ビデオサーバVS1のRAID装置R2からコンテンツC1が「60(Mbps)」配信されており、ビデオサーバVS2のRAID装置R1からコンテンツC1が「30(Mbps)」配信されており、ビデオサーバVS3のRAID装置R2からコンテンツC1が「40(Mbps)」配信されている等のように示している。他のコンテンツC2〜C4についても同様である。   For example, in FIG. 20, for the content C1, the content C1 is distributed from the RAID device R1 of the video server VS1 to “10 (Mbps)”, and the content C1 is distributed from the RAID device R2 of the video server VS1 to “60 (Mbps)”. The content C1 is distributed “30 (Mbps)” from the RAID device R1 of the video server VS2, the content C1 is distributed “40 (Mbps)” from the RAID device R2 of the video server VS3, and so on. It shows. The same applies to the other contents C2 to C4.

なお、ここでは説明を簡単にするために、コンテンツの配信ビットレ−トについて例示して説明するが、配信ビットレ−トだけでなく、コンテンツの配信本数について注目しても同様に適用することができる。   In order to simplify the description, the content distribution bit rate will be described by way of example. However, not only the distribution bit rate but also the number of content distributions can be applied in the same manner. .

方式1の場合、コンテンツ配置制御部52は、図22に示すように、時刻t1におけるRAID装置の配信状態に基づいて、各コンテンツごとの配信ビットレ−ト和fを計算する。 In the case of method 1, the content arrangement control unit 52 calculates the distribution bit rate sum f B for each content based on the distribution state of the RAID device at time t1, as shown in FIG.

C1:fB(C1,t1)=10+60+30+40=140
C2:fB(C2,t1)=50+20+70+75=215
C3:fB(C3,t1)=1+6+3+4=14
C4:fB(C4,t1)=5+2+7+8=22
そうすると、上記の各コンテンツの配信ビットレ−ト和fより、コンテンツC2が最も配信ビットレ−トが高いことが分かる。このことは、コンテンツC2が最も端末装置20への配信が多く(すなわち、人気が高く)、かつ、閾値200Mbpsを超えている。そのため、方式1によれば、コンテンツ配置制御部52は、コンテンツC2をキャッシュ対象のコンテンツとして選択する。
C1: f B (C1, t1) = 10 + 60 + 30 + 40 = 140
C2: f B (C2, t1) = 50 + 20 + 70 + 75 = 215
C3: f B (C3, t1) = 1 + 6 + 3 + 4 = 14
C4: f B (C4, t1) = 5 + 2 + 7 + 8 = 22
Then, the distribution of each content of the bit rate - than DOO sum f B, delivery content C2 is most bit rate - can be seen that high bets. This means that the content C2 is most frequently distributed to the terminal device 20 (that is, highly popular) and exceeds the threshold value of 200 Mbps. Therefore, according to the scheme 1, the content arrangement control unit 52 selects the content C2 as the content to be cached.

[方式2]
図24は、方式2のキャッシュ作成候補選択処理を説明する説明図である。図24においても、ビデオサーバVS1、VS2及びRAID装置R1、R2の構成及び配信状態は方式1の場合と同様とする。
[Method 2]
FIG. 24 is an explanatory diagram for explaining cache creation candidate selection processing of method 2. Also in FIG. 24, the configurations and distribution states of the video servers VS1 and VS2 and the RAID devices R1 and R2 are the same as those in the method 1.

また、閾値Tは200Mbpsとして、キャッシュはどれも作られていないものとする。ここでも、配信ビットレ−トのみを説明するが、配信本数に注目しても適用することができる。 The threshold T 3 as 200 Mbps, and those not made any cache. Here, only the distribution bit rate will be described, but the present invention can also be applied by paying attention to the number of distributions.

図24(A)は時刻t1における配信状態であり、図24(B)は時刻t2における配信状態を示す。   FIG. 24A shows the distribution state at time t1, and FIG. 24B shows the distribution state at time t2.

コンテンツ配置制御部52は、時刻t2において、それぞれのコンテンツについて、各ビデオサーバVS1及びVS2の各RAID装置R1及びR2の時刻2における配信状態と時刻t1における配信状態との差分を計算する。   The content arrangement control unit 52 calculates the difference between the distribution state at the time 2 of the RAID devices R1 and R2 of the video servers VS1 and VS2 and the distribution state at the time t1 for each content at the time t2.

図24(C)は、時刻t2と時刻t1との差分結果を示している。コンテンツ配置制御部52は、各コンテンツ毎、各デバイス(ここでは、RAID装置を意図する。)毎に、時刻t2における差分Δfを計算する。 FIG. 24C shows a difference result between time t2 and time t1. The content arrangement control unit 52 calculates the difference Δf B at time t2 for each content and for each device (in this case, a RAID device is intended).

次に、以下のようにコンテンツごとの差分の和を計算する。   Next, the sum of differences for each content is calculated as follows.

C1:ΔfB(C1,t2)=(9−10)+(61−60)+(29−30)+(39−40)=−2
C2:ΔfB(C2,t2)=(51−50)+(21−20)+(71−70)+(76−75)=4
C3:ΔfB(C3,t2)=(61−1)+(16−6)+(73−3)+(54−4)=190
C4:ΔfB(C4,t2)=(25−5)+(52−2)+(97−7)+(48−8)=200
そうすると、図24(D)に示すように、各コンテンツ毎、各デバイス毎の時刻t2における差分Δfより、コンテンツC2が(t2−t1)時間で、最も配信ビットレ−トが上昇したことがわかる。このことは、(t2−t1)時間の中で、コンテンツC2が最も端末装置20への配信が上昇し(すなわち、人気が高く)、かつ、閾値200Mbpsを超えている。そのため、方式2によれば、コンテンツ配置制御部52は、コンテンツC2をキャッシュ対象のコンテンツとして選択する。
C1: Δf B (C1, t2) = (9−10) + (61−60) + (29−30) + (39−40) = − 2
C2: Δf B (C2, t2) = (51−50) + (21−20) + (71−70) + (76−75) = 4
C3: Δf B (C3, t2) = (61−1) + (16−6) + (73−3) + (54−4) = 190
C4: Δf B (C4, t2) = (25−5) + (52-2) + (97−7) + (48−8) = 200
Then, as shown in FIG. 24D, it can be seen from the difference Δf B at time t2 for each content and for each device that content C2 has the highest distribution bit rate in (t2-t1) time. . This means that the distribution of the content C2 to the terminal device 20 is the highest (that is, the popularity is high) and exceeds the threshold value of 200 Mbps within (t2-t1) time. Therefore, according to the method 2, the content arrangement control unit 52 selects the content C2 as the content to be cached.

[方式3]
図24は、方式3のキャッシュ作成候補選択処理を説明する説明図である。図24においても、ビデオサーバVS1、VS2及びRAID装置R1、R2の構成及び配信状態は方式1の場合と同様とする。
[Method 3]
FIG. 24 is an explanatory diagram for explaining cache creation candidate selection processing of method 3. Also in FIG. 24, the configurations and distribution states of the video servers VS1 and VS2 and the RAID devices R1 and R2 are the same as those in the method 1.

また、閾値Tは200Mbpsとし、キャッシュはどれも作られていないとする。ここでも、配信ビットレ−トのみを説明するが、配信本数に注目しても適用することができる。 The threshold T 5 is set to 200 Mbps, and not made any cache. Here, only the distribution bit rate will be described, but the present invention can also be applied by paying attention to the number of distributions.

まず、コンテンツ配置制御部52は、図24(A)に示すように、RAID装置R1、R2毎に配信ビットレ−ト和gを計算する。 First, the content arrangement control unit 52 calculates a distribution bit rate sum g B for each of the RAID devices R1 and R2, as shown in FIG.

R1:gB(R1,t1)=10+50+1+5+30+70+3+7=176
R2:gB(R1,t1)=60+20+6+2+40+75+4+8=215
そうすると、RAID装置R2に人気コンテンツが集中しており、かつ、閾値200Mbpsを超えているので、コンテンツ配置制御部52はRAID装置R2をキャッシュの対象のデバイスとして選択する。
R1: g B (R1, t1) = 10 + 50 + 1 + 5 + 30 + 70 + 3 + 7 = 176
R2: g B (R1, t1) = 60 + 20 + 6 + 2 + 40 + 75 + 4 + 8 = 215
Then, since the popular content is concentrated on the RAID device R2 and exceeds the threshold value 200 Mbps, the content arrangement control unit 52 selects the RAID device R2 as a device to be cached.

次に、コンテンツ配置制御部52は、図24(B)に示すように、RAID装置R2が配信している各コンテンツについて、各コンテンツ毎の配信ビットレ−トhを計算する。 Next, as shown in FIG. 24B, the content arrangement control unit 52 calculates a distribution bit rate h B for each content for each content distributed by the RAID device R2.

C1:hB(R2,C1,t1)=60+40=100
C2:hB(R2,C2,t1)=20+75=95
C3:hB(R2,C3,t1)=6+4=10
C4:hB(R2,C4,t1)=2+8=10
そうすると、キャッシュ対象のデバイスであるRAID装置R2が配信しているコンテンツの中で、コンテンツC1の配信ビットレ−トが最も高いため、コンテンツ配置制御部52は、コンテンツC1をキャッシュすればRAID装置R2の負荷を最大限低減できる。
C1: h B (R2, C1, t1) = 60 + 40 = 100
C2: h B (R2, C2, t1) = 20 + 75 = 95
C3: h B (R2, C3, t1) = 6 + 4 = 10
C4: h B (R2, C4, t1) = 2 + 8 = 10
Then, since the distribution bit rate of the content C1 is the highest among the content distributed by the RAID device R2 that is the device to be cached, the content placement control unit 52 can store the content of the RAID device R2 by caching the content C1. The load can be reduced as much as possible.

したがって、コンテンツ配置制御部52は、配信ビットレ−トが最大のコンテンツC1をキャッシュの対象のコンテンツとして選択する。   Therefore, the content arrangement control unit 52 selects the content C1 having the maximum distribution bit rate as the content to be cached.

[方式4]
図25は、方式4のキャッシュ作成候補選択処理を説明する説明図である。図25においても、ビデオサーバVS1、VS2及びRAID装置R1、R2の構成及び配信状態は方式1の場合と同様とする。
[Method 4]
FIG. 25 is an explanatory diagram for explaining cache creation candidate selection processing of method 4. Also in FIG. 25, the configurations and distribution states of the video servers VS1 and VS2 and the RAID devices R1 and R2 are the same as those in the method 1.

また、閾値Tは200Mbpsとし、キャッシュはどれも作られていないとする。ここでも、配信ビットレ−トのみを説明するが、配信本数に注目しても適用することができる。 The threshold T 7 is a 200 Mbps, and not made any cache. Here, only the distribution bit rate will be described, but the present invention can also be applied by paying attention to the number of distributions.

コンテンツ配置制御部52は、時刻t2において、各コンテンツ毎、各デバイス(ここでは、RAID装置を意図する。)毎に、時刻t2における差分Δfを計算する。図25(A)は、図23(C)に相当するものである。 The content arrangement control unit 52 calculates the difference Δf B at the time t2 for each content and each device (here, a RAID device is intended) at the time t2. FIG. 25A corresponds to FIG.

次に、コンテンツ配置制御部52は、図25(B)に示すように、時刻t2において、各コンテンツ毎、各RAID装置R1及びR2毎の時刻t1との差分Δgを計算する。 Next, as shown in FIG. 25B, the content arrangement control unit 52 calculates a difference Δg B from the time t1 for each content and each RAID device R1 and R2 at the time t2.

R1:ΔgB(R1,t2)=
(9−10)+(51−50)+(61−1)+(25−5)+(29−30)+(71−70)+(73−3)+(97−7)=240
R2:ΔgB(R2,t2)=
(61−60)+(21−20)+(16−6)+(52−2)+(39−40)+(76−75)+(54−4)+(48−8)=152
これにより、コンテンツ配置制御部52は、閾値200Mbpsを超えたRAID装置R1をキャッシュの対象のデバイスとして選択する。つまり、コンテンツ配置制御部52は、RAID装置R1のコンテンツが全体として急速に人気を上昇させており、かつ閾値200Mbpsを超えているため、RAID装置R1をキャッシュの対象のデバイスとして選択する。
R1: Δg B (R1, t2) =
(9-10) + (51-50) + (61-1) + (25-5) + (29-30) + (71-70) + (73-3) + (97-7) = 240
R2: Δg B (R2, t2) =
(61-60) + (21-20) + (16-6) + (52-2) + (39-40) + (76-75) + (54-4) + (48-8) = 152
Accordingly, the content arrangement control unit 52 selects the RAID device R1 that exceeds the threshold value 200 Mbps as a device to be cached. That is, the content arrangement control unit 52 selects the RAID device R1 as a device to be cached because the content of the RAID device R1 is rapidly gaining popularity as a whole and exceeds the threshold value of 200 Mbps.

次に、コンテンツ配置制御部52は、時刻t2においてRAID装置R1が配信している各コンテンツの配信ビットレ−トhを計算する。 Then, the content allocation control unit 52, the distribution of each content that RAID device R1 is delivered at time t2 bit rate - calculating a preparative h N.

C1:hN(R1,C1,t2)=9+29=38
C2:hN(R1,C2,t2)=51+71=122
C3:hN(R1,C3,t2)=61+73=134
C4:hN(R1,C4,t2)=25+97=122
そうすると、RAID装置R1の中ではコンテンツC3の配信ビットレ−トが最も高いので、コンテンツC3をキャッシュすれば、RAID装置R1の負荷を最大限低減できる。
C1: h N (R1, C1, t2) = 9 + 29 = 38
C2: h N (R1, C2, t2) = 51 + 71 = 122
C3: h N (R1, C3, t2) = 61 + 73 = 134
C4: h N (R1, C4, t2) = 25 + 97 = 122
Then, since the distribution bit rate of the content C3 is the highest in the RAID device R1, if the content C3 is cached, the load on the RAID device R1 can be reduced to the maximum.

したがって、コンテンツ配置制御部52は、配信ビットレ−トが最大のコンテンツC3をキャッシュの対象のコンテンツとして選択する。   Therefore, the content arrangement control unit 52 selects the content C3 having the maximum distribution bit rate as the content to be cached.

[方式1〜方式4の比較]
キャッシュ作成候補の選択方法として、方式1〜方式4の4方式を例示した。ここで、各方式について比較する。
[Comparison between Method 1 and Method 4]
As the cache creation candidate selection method, four methods of method 1 to method 4 are illustrated. Here, each method is compared.

図26は、キャッシュ作成候補選択方式の比較を説明する説明図である。ここでは、ビデオサーバはビデオサーバVS1及びVS2の2台であり、RAID装置はRAID装置R1の1台のみとする。コンテンツは、コンテンツC1〜C10の10個が存在するものとする。また、キャッシュはどれも作られていないとする。ここでは、配信ビットレ−トだけを考えるが、配信本数の場合も同様である。   FIG. 26 is an explanatory diagram illustrating comparison of cache creation candidate selection methods. Here, there are two video servers VS1 and VS2, and only one RAID device is the RAID device R1. It is assumed that there are ten contents C1 to C10. Also assume that no cache has been created. Here, only the distribution bit rate is considered, but the same applies to the number of distributions.

方式1の閾値T=20000(Mbps)、方式3の閾値T=30000(Mbps)とする。 It is assumed that threshold value T 1 of method 1 is 20000 (Mbps) and threshold value T 5 of method 3 is 30000 (Mbps).

(1)突出して人気の高いコンテンツがある場合
各ビデオサーバVS1、VS2のRAID装置R1における各コンテンツの配信ビットレ−トは、以下のものとする(図26参照、単位Mbps)。
(1) When there is a prominently popular content The distribution bit rate of each content in the RAID device R1 of each video server VS1, VS2 is as follows (see FIG. 26, unit Mbps).

C1:25000
C2:30
C3:30
C4:30
C5:30
C6:30
C7:30
C8:30
C9:30
C10:30
従って、RAID装置R1全体の配信ビットレ−トは25270Mbpsとなる。
C1: 25000
C2: 30
C3: 30
C4: 30
C5: 30
C6: 30
C7: 30
C8: 30
C9: 30
C10: 30
Therefore, the distribution bit rate of the entire RAID device R1 is 25270 Mbps.

図26に示すように、コンテンツC1は突出して配信ビットレ−トが高いので、コンテンツC1をキャッシュすることに意味があることがわかる。   As shown in FIG. 26, since the content C1 protrudes and the distribution bit rate is high, it is understood that it is meaningful to cache the content C1.

実際、コンテンツC1の配信ビットレ−トはT1を超えるため、コンテンツ配置制御部52は、方式1及び方式3によれば、コンテンツC1をキャッシュ作成候補として選択する。   Actually, since the distribution bit rate of the content C1 exceeds T1, the content arrangement control unit 52 selects the content C1 as a cache creation candidate according to the scheme 1 and the scheme 3.

また、方式2は、所定時間(例えば、(t2−t1)時間)において、急速にアクセス数が上昇したコンテンツがある場合に、そのコンテンツを伸ばしたコンテンツをキャッシュ作成候補として選択する。   Further, in the method 2, when there is content whose access number has rapidly increased in a predetermined time (for example, (t2-t1) time), the content obtained by extending the content is selected as a cache creation candidate.

(2)中程度の人気コンテンツが多くある場合
図27は、キャッシュ作成候補選択方式の比較を説明する説明図である。ここでは、ビデオサーバはビデオサーバVS1及びVS2の2台であり、RAID装置はRAID装置R1の1台のみとする。コンテンツは、コンテンツC1〜C10の10個が存在するものとする。また、キャッシュはどれも作られていないとする。ここでは、配信ビットレ−トだけを考えるが、配信本数の場合も同様である。
(2) When there are many moderately popular contents FIG. 27 is an explanatory diagram illustrating a comparison of cache creation candidate selection methods. Here, there are two video servers VS1 and VS2, and only one RAID device is the RAID device R1. It is assumed that there are ten contents C1 to C10. Also assume that no cache has been created. Here, only the distribution bit rate is considered, but the same applies to the number of distributions.

各ビデオサーバVS1、VS2のRAID装置R1における各コンテンツの配信ビットレ−トは以下のようになる(図27参照、単位Mbps)。   The distribution bit rate of each content in the RAID device R1 of each video server VS1 and VS2 is as follows (see FIG. 27, unit Mbps).

C1:4000
C2:3400
C3:3000
C4:3000
C5:2600
C6:2600
C7:2600
C8:3400
C9:2200
C10:3700
従って、RAID装置R1全体の配信ビットレ−トでは30200Mbpsとなる。
C1: 4000
C2: 3400
C3: 3000
C4: 3000
C5: 2600
C6: 2600
C7: 2600
C8: 3400
C9: 2200
C10: 3700
Accordingly, the distribution bit rate of the entire RAID device R1 is 30200 Mbps.

このように、上述した(1)の例におけるコンテンツC1ほど突出した人気のコンテンツはなくても、どのコンテンツもそれなりに人気が高く、RAID装置R1全体では上述した(1)より負荷が高く、RAID装置R1の負荷を下げる必要がある。   In this way, even if there is no popular content that protrudes as much as the content C1 in the example of (1) described above, any content is so popular that the RAID device R1 as a whole has a higher load than (1) described above. It is necessary to reduce the load on the device R1.

このような例は、例えばシリーズもののコンテンツを同じデバイス(ここではRAID装置)に投入した場合に発生することがある(例えば、コンテンツC1が連続ドラマの第1話、コンテンツC2が同第2話等の場合に発生し得る)。   Such an example may occur when, for example, a series of contents is put into the same device (in this case, a RAID device) (for example, the content C1 is the first episode of the serial drama, the content C2 is the second episode, etc.) Can occur in the case of:

この中でコンテンツC1をキャッシュすれば、RAID装置R1の負荷を低減できる。   If the content C1 is cached in this, the load on the RAID device R1 can be reduced.

実際、コンテンツ配置制御部52は、方式1ではどのコンテンツもTより小さいので検出はできない。しかし、コンテンツ配置制御部52は、方式3によれば、RAID装置R1全体の配信ビットレ−トがTを超えるため、キャッシュを作成することができる。 In fact, the content allocation control unit 52 can not detect because the system 1 which content is also less than T 1. However, the content allocation control unit 52, according to the scheme 3, RAID devices R1 entire delivery bit rate - for bets exceeds T 5, it is possible to create the cache.

また、コンテンツ配置制御部52は、方式4によればRAID装置R1全体で急速にアクセス数を伸ばした複数の人気コンテンツがある場合に検出できる。   Further, according to the method 4, the content arrangement control unit 52 can detect when there are a plurality of popular contents whose access number has rapidly increased in the entire RAID device R1.

(A−2−4)キャッシュ作成先候補選択処理の具体的な実施形態
ここでは、方式1のキャッシュ作成候補選択処理により、コンテンツC2を、キャッシュ対象のコンテンツとして選択した場合を例示する。なお、キャッシュ作成候補選択処理は、他の方式で選択した場合でも同様である。
(A-2-4) Specific Embodiment of Cache Creation Destination Candidate Selection Process Here, a case where the content C2 is selected as a cache target content by the cache creation candidate selection process of method 1 is illustrated. Note that the cache creation candidate selection process is the same even when selected by another method.

図28は、実施形態に係るキャッシュ作成先候補選択処理を説明する説明図である。図28は、時刻t1における配信本数状態(単位は[本])を示している。   FIG. 28 is an explanatory diagram illustrating cache creation destination candidate selection processing according to the embodiment. FIG. 28 shows the distribution number state (unit: [lines]) at time t1.

図28は、マシンM1上でビデオサーバVS1が稼働しており、マシンM2上でビデオサーバVS2が稼働しているものとする。RAID装置は、RAID装置R1及びR2の2台としており、コンテンツは、コンテンツC1、C2、C3、C4の4個とする。   In FIG. 28, it is assumed that the video server VS1 is operating on the machine M1, and the video server VS2 is operating on the machine M2. There are two RAID apparatuses, RAID apparatuses R1 and R2, and the contents are four contents C1, C2, C3, and C4.

図29は、マシンM1及びM2におけるキャッシュ記憶装置の優先度及びビジー率を示すキャッシュ作成先候補選択処理を説明する説明図である。   FIG. 29 is an explanatory diagram for explaining cache creation destination candidate selection processing indicating the priority and busy rate of the cache storage device in the machines M1 and M2.

図29では、マシンM1にキャッシュ記憶装置D1及びD2が存在しており、マシンM2にキャッシュ記憶装置D3、D4及びD5が存在しているものとする。   In FIG. 29, it is assumed that the cache storage devices D1 and D2 exist in the machine M1, and the cache storage devices D3, D4, and D5 exist in the machine M2.

また、図29において、「Pri」は、キャッシュ記憶装置CDを選択する優先度を例示しており、「Pri」の値が大きい方が優先度は高いとする。なお、「Pri」の値は、「1」〜「5」とする場合を例示しているが、Priの値の範囲は特に限定されるものではない。また、「Busy(%)」は、キャッシュ記憶装置のビジー率の上限値を示す。図29の「Pri」及び「Busy」の値は、図6の負荷情報テ−ブルに格納される値から取得することができる。   In FIG. 29, “Pri” illustrates the priority for selecting the cache storage device CD, and the higher the value of “Pri”, the higher the priority. In addition, although the value of “Pri” is exemplified as “1” to “5”, the range of the value of Pri is not particularly limited. “Busy (%)” indicates the upper limit value of the busy rate of the cache storage device. The values of “Pri” and “Busy” in FIG. 29 can be acquired from the values stored in the load information table in FIG.

図28及び図29では、ビデオサーバV1のCPU使用率が「50%」、ビデオサーバVS2のCPU使用率が「60%」であると仮定する。また、閾値Tは「T=80」、閾値T10は「T10=70」と仮定する。 28 and 29, it is assumed that the CPU usage rate of the video server V1 is “50%” and the CPU usage rate of the video server VS2 is “60%”. Further, it is assumed that the threshold T 9 is “T 9 = 80” and the threshold T 10 is “T 10 = 70”.

まず、コンテンツ配置制御部52は、時刻t1において、以下のようにマシンごとのコンテンツC2の配信本数の和Qを計算する。 First, the content arrangement control unit 52 calculates the sum Q N of the number of distributions of the content C2 for each machine as follows at time t1.

M1:QN(M1,C2,t1)=10+4=14
M2:QN(M2,C2,t1)=14+15=29
ビデオサーバVS1とVS2のCPU使用率は、いずれも閾値Tより小さい。また、ビデオサーバVS1とVS2のコンテンツC2の配信本数の和Q(M1、C2、t1)、QN(M2、C2、t1)はいずれも「1(本)」以上であるため、マシンM1、マシンM2のいずれも候補マシンとなる。
M1: Q N (M1, C2, t1) = 10 + 4 = 14
M2: Q N (M2, C2, t1) = 14 + 15 = 29
CPU utilization of the video server VS1 and VS2 are both smaller than the threshold value T 9. In addition, since the sum Q N (M1, C2, t1) and QN (M2, C2, t1) of the distribution numbers of the contents C2 of the video servers VS1 and VS2 are both “1 (book)” or more, the machine M1, Any of the machines M2 is a candidate machine.

また、コンテンツC2は、どのキャッシュ記憶装置にも存在しないため、キャッシュ記憶装置D1〜D5も、式(22)は成立する。   Further, since the content C2 does not exist in any cache storage device, the cache storage devices D1 to D5 also hold the expression (22).

ビジー率については、Busy(D1)=Busy(D2)=Busy(D4)=60<T10,Busy(D5)=30<T10である。しかし、Busy(D3)=80>T10なので、キャッシュ記憶装置D3のみ候補デバイスに含まれない。 The busy rate, Busy (D1) = Busy ( D2) = Busy (D4) = 60 <T 10, Busy (D5) is a = 30 <T 10. However, Busy (D3) = 80> T 10 because, not only included in the candidate device cache storage device D3.

その結果、コンテンツ配置制御部52は、キャッシュ記憶装置D1、D2、D4、D5のキャッシュ作成先候補リストとして、((M1,D1,14,50,5), (M1,D2,14,50,4), (M2,D4,29,60,4), (M2,D5,29,60,3))を作成する。   As a result, the content arrangement control unit 52 uses ((M1, D1, 14, 50, 5), (M1, D2, 14, 50, 5) as the cache creation destination candidate list of the cache storage devices D1, D2, D4, and D5. 4), (M2, D4, 29, 60, 4), (M2, D5, 29, 60, 3)).

コンテンツ配置制御部52は、キャッシュ作成先候補リストをソートして、以下の先頭要素であるマシンM2のキャッシュ記憶装置D4をキャッシュ作成先候補として選択する。   The content arrangement control unit 52 sorts the cache creation destination candidate list and selects the cache storage device D4 of the machine M2, which is the following top element, as a cache creation destination candidate.

((M2,D4,29,60,4),(M2,D5,29,60,3),(M1,D1,14,50,5),(M1,D2,14,50,4))
(A−2−5)キャッシュ削除処理の具体的な実施形態
図30は、時刻t1における各ビデオサーバVS1、VS2の各RAID装置R1及びR2とキャッシュ記憶装置D1〜D5における各コンテンツの配信ビットレ−トの状態を説明する説明図である(単位Mbps)。
((M2, D4, 29, 60, 4), (M2, D5, 29, 60, 3), (M1, D1, 14, 50, 5), (M1, D2, 14, 50, 4))
(A-2-5) Specific Embodiment of Cache Deletion Processing FIG. 30 shows the distribution bit rate of each content in each of the RAID devices R1 and R2 of each video server VS1 and VS2 and the cache storage devices D1 to D5 at time t1. FIG.

ここでは、コンテンツC2、C5、C6、C7のコンテンツのサイズはそれぞれ6GB、4GB、3GB、3GBとし、キャッシュ記憶装置D4の容量は10GBとする。また閾値T11はT11=30とし、閾値T12は、T12=120とする。 Here, the content sizes of the contents C2, C5, C6, and C7 are 6 GB, 4 GB, 3 GB, and 3 GB, respectively, and the capacity of the cache storage device D4 is 10 GB. The threshold T 11 is T 11 = 30, and the threshold T 12 is T 12 = 120.

まず、コンテンツC2のキャッシュをキャッシュ記憶装置D4に作成する場合を例示する。ここで、キャッシュ記憶装置D4には、図30に示すように、既にコンテンツC5、C6、C7が格納されており、これらコンテンツのサイズ合計が10GBであり、キャッシュ記憶装置D4に空き容量がないとする。   First, the case where the cache of the content C2 is created in the cache storage device D4 is illustrated. Here, as shown in FIG. 30, contents C5, C6, and C7 are already stored in the cache storage device D4, the total size of these contents is 10 GB, and there is no free space in the cache storage device D4. To do.

そのため、コンテンツ配置制御部52は、キャッシュ記憶装置D4からコンテンツC5、C6、C7のいずれかを削除することを判断する。   Therefore, the content arrangement control unit 52 determines to delete any of the contents C5, C6, and C7 from the cache storage device D4.

コンテンツ配置制御部52は、キャッシュ記憶装置D4における各コンテンツの配信ビットレ−トの和Hを計算する。 Content allocation control unit 52, the distribution of each content in the cache memory device D4 bit rate - calculating the capital of sum H B.

C5:HB(M2,D4,C5,t1)=20
C6:HB(M2,D4,C6,t1)=30
C7:HB(M2,D4,C7,t1)=40
次に、コンテンツ配置制御部52は、キャッシュ記憶装置D4にコンテンツC2をキャッシュするための容量を確保するため、コンテンツ2の配信ビットレ−トの和Qを求める。このとき、図30の例の場合、ビデオサーバVS2は、RAID装置R1及びR2に格納されているコンテンツC2を配信している。従って、コンテンツ配置制御部52は、コンテンツC2の配信ビットレ−トの和Qを計算し、Q(M2,C2,t1)=70+75=145である。
C5: H B (M2, D4, C5, t1) = 20
C6: H B (M2, D4, C6, t1) = 30
C7: H B (M2, D4, C7, t1) = 40
Then, the content allocation control unit 52, to ensure the capacity for caching the content C2 to the cache storage device D4, the distribution of the content 2 bit rate - the sum of bets Q B. At this time, in the case of the example of FIG. 30, the video server VS2 distributes the content C2 stored in the RAID devices R1 and R2. Therefore, the content arrangement control unit 52 calculates the sum Q B of the distribution bit rates of the content C2, and Q B (M2, C2, t1) = 70 + 75 = 145.

そのため、コンテンツ配置制御部52は、各コンテンツの配信ビットレ−トの和Hのうち、最小値minHのコンテンツを選択する。すなわち、minH=20となり、対応するコンテンツはコンテンツC5となる。 Therefore, the content arrangement control unit 52 selects the content having the minimum value minH B out of the sum H B of the distribution bit rates of the respective contents. That is, minH B = 20, and the corresponding content is content C5.

ここで、コンテンツ配置制御部52は、削除判定方法(1)又は(2)の条件を満たすコンテンツを削除する。   Here, the content arrangement control unit 52 deletes content that satisfies the conditions of the deletion determination method (1) or (2).

例えば、削除判定方法(1)では、minH≦T11であり条件を満たすので、コンテンツC5を削除する。 For example, in the deletion determination method (1), since minH B ≦ T 11 and the condition is satisfied, the content C5 is deleted.

また例えば、削除判定方法(2)でも、Q−minH=145−20=125>T12であり、条件を満たすのでコンテンツC5を削除する。 Also, for example, in the deletion determination method (2), Q B −minH B = 145-20 = 125> T 12 and the condition C5 is satisfied, and the content C5 is deleted.

しかし、コンテンツC5のサイズは4GBなので、キャッシュ記憶装置D4の空き容量は4GBとなり、依然コンテンツC2をキャッシュ記憶装置D4にキャッシュするための空き容量が不足であり、この状態ではコンテンツC2のキャッシュを作成することができない。   However, since the size of the content C5 is 4 GB, the free capacity of the cache storage device D4 is 4 GB, and the free space for caching the content C2 in the cache storage device D4 is still insufficient. In this state, the cache for the content C2 is created. Can not do it.

そこで、コンテンツ配置制御部52は、再び各コンテンツのHを参照して、各コンテンツの配信ビットレ−トの和Hのうち、最小値minHのコンテンツを選択する。この場合、minH=30に対応するコンテンツC6を選択する。 Therefore, the content allocation control unit 52 refers to the H B of the contents again, the contents of the delivery bit rate - DOO of sum H B of selecting a content of minimum Minh B. In this case, the content C6 corresponding to minH B = 30 is selected.

また、上記と同様に、コンテンツ配置制御部52は、削除判定方法(1)又は(2)の条件を満たすコンテンツを削除する。   Similarly to the above, the content arrangement control unit 52 deletes content that satisfies the conditions of the deletion determination method (1) or (2).

例えば、削除判定方法(1)では、minH≦T11であり条件を満たすので、コンテンツC6を削除する。ここで、コンテンツC6のサイズは3GBなので、キャッシュ記憶装置D4の空き容量は7GBとなり、コンテンツC2のキャッシュを作成することができる。 For example, in the deletion determination method (1), since minH B ≦ T 11 and the condition is satisfied, the content C6 is deleted. Here, since the size of the content C6 is 3 GB, the free capacity of the cache storage device D4 is 7 GB, and the cache of the content C2 can be created.

また例えば、削除判定方法(2)では、Q−minH=145−30=115>T12であり、条件を満たしておらず、コンテンツC6を削除しない。 Further, for example, in the deletion determination method (2), Q B −minH B = 145-30 = 115> T 12 , the condition is not satisfied, and the content C6 is not deleted.

この場合、キャッシュ記憶装置D4にキャッシュを作成するのは中止し、キャッシュ作成先候補リストの次の要素であるキャッシュ記憶装置D5に対して同様の処理を行なうことになる。   In this case, the creation of the cache in the cache storage device D4 is stopped, and the same processing is performed on the cache storage device D5 that is the next element in the cache creation destination candidate list.

削除判定方法(1)により、キャッシュ記憶装置D4のコンテンツC5、C6を削除するときはC5,C6∈C(R1),Pri(R1)>Pri(R2)が成り立つとすると、削除前にRAID装置R1からの配信に切り替える。   When deleting the contents C5 and C6 of the cache storage device D4 by the deletion determination method (1), if C5, C6εC (R1), Pri (R1)> Pri (R2) holds, the RAID device before deletion Switch to delivery from R1.

さらに、コンテンツC2のキャッシュをキャッシュ記憶装置D4に作成した後、配信の切り替わりが発生する。   Further, after the cache of the content C2 is created in the cache storage device D4, distribution switching occurs.

この結果、配信ビットレ−トの状態は、図31のようになる。図30と図31とを比較すると、図31に示すように、ビデオサーバVS2において、RAID装置R1とRAID装置R2の配信ビットレ−トが小さくなり、負荷が減少していることがわかる。   As a result, the distribution bit rate is as shown in FIG. Comparing FIG. 30 with FIG. 31, as shown in FIG. 31, in the video server VS2, it can be seen that the distribution bit rate of the RAID device R1 and the RAID device R2 is reduced and the load is reduced.

(A−2−6)キャッシュ作成と削除のパタ−ン例の説明
図32は、削除判定方法(1)の場合のキャッシュ作成と削除のタイミングを説明する説明図である。図33は、削除判定方法(2)の場合のキャッシュ作成と削除のタイミングを説明する説明図である。
(A-2-6) Description of Cache Creation and Deletion Pattern Example FIG. 32 is an explanatory diagram for explaining the timing of cache creation and deletion in the case of the deletion determination method (1). FIG. 33 is an explanatory diagram illustrating the timing of cache creation and deletion in the case of the deletion determination method (2).

ここでは、コンテンツは、コンテンツC1とC2の2個だけとする。キャッシュ記憶装置にはいずれか1個のコンテンツの容量しかない状態とする。   Here, there are only two contents C1 and C2. The cache storage device has only one content capacity.

図32に示すように、削除判定方法(1)を採用した場合、閾値T11=10、すなわち配信ビットレ−トの和が10Mbps以下のコンテンツのみを削除の対象とする。 As shown in FIG. 32, when the deletion determination method (1) is adopted, only content whose threshold value T 11 = 10, that is, the sum of distribution bit rates is 10 Mbps or less is targeted for deletion.

そうすると、図2に示すように従来技術による場合は、コンテンツのキャッシュ作成と削除とが頻繁に行われていたが、図32に示すように、この実施形態の削除判定方法(1)によれば、キャッシュ作成及び削除の回数は減り、ある程度の配信数があるコンテンツについては削除されない。   Then, as shown in FIG. 2, in the case of the prior art, content cache creation and deletion were frequently performed. However, according to the deletion determination method (1) of this embodiment as shown in FIG. The number of cache creations and deletions is reduced, and content with a certain number of distributions is not deleted.

図33に示すように、削除判定方法(2)を採用した場合、閾値T12=140、すなわちキャッシュ作成対象コンテンツと削除対象コンテンツの配信ビットレ−トの差が140Mbps以上のコンテンツのみ削除の対象とする。 As shown in FIG. 33, when the deletion determination method (2) is adopted, the threshold T 12 = 140, that is, only the content whose difference in distribution bit rate between the cache creation target content and the deletion target content is 140 Mbps or more is to be deleted. To do.

そうすると、図2に示すように従来技術による場合と比較すると、図33に示すように、この実施形態の削除判定方法(2)によれば、キャッシュ作成対象コンテンツとの配信ビットレ−トの差があまりないときは削除しない。その結果、キャッシュの作成及び削除の回数が減る。   Then, as shown in FIG. 2, compared with the case of the prior art as shown in FIG. 2, according to the deletion determination method (2) of this embodiment, as shown in FIG. Do not delete when there are not many. As a result, the number of cache creations and deletions is reduced.

上記のように、削除判定方法(1)は、キャッシュ作成時に容量が不足したときだけ行なうことになる。一方、削除判定方法(2)は、削除対象の配信ビットレ−トが十分多いか、キャッシュ作成対象との配信ビットレ−トの差があまりないときは削除しない。   As described above, the deletion determination method (1) is performed only when the capacity is insufficient at the time of cache creation. On the other hand, the deletion determination method (2) does not delete when there is a sufficiently large distribution bit rate to be deleted or when there is not much difference between the distribution bit rate and the cache creation target.

そのため、従来技術より配信数が拮抗したコンテンツ間の頻繁なキャッシュ作成と削除は抑制される。   For this reason, frequent cache creation and deletion between contents whose distribution numbers are antagonized compared to the prior art is suppressed.

(A−2−7)配信制御処理の具体的な実施形態
図34は、実施形態に係る配信制御処理を説明する説明図である。
(A-2-7) Specific Embodiment of Distribution Control Processing FIG. 34 is an explanatory diagram illustrating distribution control processing according to the embodiment.

ここでは、マシンはマシンM1、M2、M3の3台である。マシンM1には、ビデオサーバVS1、VS2、VS3が稼働しているものとする。マシンM1は、キャッシュ記憶装置D1、D2、D3が搭載されているものとする。   Here, there are three machines M1, M2, and M3. It is assumed that the video servers VS1, VS2, and VS3 are operating on the machine M1. It is assumed that the machine M1 is equipped with cache storage devices D1, D2, and D3.

マシンM2には、ビデオサーバVS4が稼働しており、キャッシュ記憶装置D4が搭載されているものとする。マシンM3にはビデオサーバVS5が稼動し、キャッシュ記憶装置D5が搭載されているものとする。   It is assumed that the video server VS4 is running on the machine M2 and the cache storage device D4 is installed. It is assumed that the video server VS5 is running on the machine M3 and the cache storage device D5 is installed.

RAID装置R1は全てのマシンM1〜M3で共有するとする。   The RAID device R1 is assumed to be shared by all the machines M1 to M3.

コンテンツはコンテンツC1、C2の2つが各デバイス(ここでは、RAID装置、キャッシュ記憶装置)に存在しているものとする。また、Br(C1)=8(Mbps)とし、Br(C2)=10(Mbps)とする。   It is assumed that two contents C1 and C2 exist in each device (here, a RAID device and a cache storage device). Also, Br (C1) = 8 (Mbps) and Br (C2) = 10 (Mbps).

図35は、時刻t1における各コンテンツ、各デバイスでの配信ビットレ−トの状態を示す図である。図36は、時刻t1における各コンテンツ、各デバイスでの配信本数の状態を示す図である。   FIG. 35 is a diagram showing the state of the distribution bit rate in each content and each device at time t1. FIG. 36 is a diagram showing the state of the number of distributions at each content and at each device at time t1.

図37は、各ビデオサーバのCPU使用率、T14(CPU使用率の上限値)、T15(配信ビットレ−トの上限値)、T16(配信本数の上限値)を示す図である。 FIG. 37 is a diagram showing the CPU usage rate, T 14 (upper limit value of CPU usage rate), T 15 (upper limit value of distribution bit rate), and T 16 (upper limit value of the number of distributions) of each video server.

図38は、各デバイスのPri、Busy(ビジー率)、T17(ビジー率の上限値)、T18(配信ビットレ−トの上限値)、T19(配信本数の上限値)を示す図である。 FIG. 38 is a diagram showing Pri, Busy (busy rate), T 17 (upper limit value of busy rate), T 18 (upper limit value of delivery bit rate), and T 19 (upper limit value of the number of delivery) of each device. is there.

図35〜図36における値はそれぞれ、図8に示す配信情報テ−ブルからそれぞれ配信ビットレ−トと配信本数を抽出したものに相当する。   The values in FIGS. 35 to 36 correspond to values obtained by extracting the distribution bit rate and the number of distributions from the distribution information table shown in FIG.

図34に示すように、ある端末装置20からコンテンツC2の配信要求を受信する(図34のS501)。以下、コンテンツ配信制御部53の処理手順を説明する。   As shown in FIG. 34, a distribution request for content C2 is received from a certain terminal device 20 (S501 in FIG. 34). Hereinafter, the processing procedure of the content distribution control unit 53 will be described.

(1)コンテンツ配信制御部53は、時刻t1の各ビデオサーバの配信ビットレ−トの和Sと配信数の和Sを計算する(図39参照)。 (1) The content delivery control unit 53 calculates the sum S B of delivery bit rates and the sum S N of delivery numbers of each video server at time t1 (see FIG. 39).

VS1:sB(VS1,t1)=80+0+8+8+0+500+20+10=626
VS1:sN(VS1,t1)=10+0+1+1+0+50+2+1=65
VS2:sB(VS2,t1)=80+8+8+8+0+10+500+10=624
VS2:sN(VS2,t1)=10+1+1+1+0+1+50+1=65
VS3:sB(VS3,t1)=80+8+8+8+100+10+10+10=234
VS3:sN(VS3,t1)=10+1+1+1+10+1+1+1=26
VS4:sB(VS4,t1)=80+0+100+0=180
VS4:sN(VS4,t1)=100+10+0 =20
VS5:sB(VS5,t1)=0+800+400+0=1200
VS5:sN(VS5,t1)=0+100+40+0=140
(2)次に、コンテンツ配信制御部53は、式(34)〜式(36)の条件をチェックする。この場合、いずれのビデオサーバも式(34)を満たしていることがわかる。
VS1: s B (VS1, t1) = 80 + 0 + 8 + 8 + 0 + 500 + 20 + 10 = 626
VS1: s N (VS1, t1) = 10 + 0 + 1 + 1 + 0 + 50 + 2 + 1 = 65
VS2: s B (VS2, t1) = 80 + 8 + 8 + 8 + 0 + 10 + 500 + 10 = 624
VS2: s N (VS2, t1) = 10 + 1 + 1 + 1 + 0 + 1 + 50 + 1 = 65
VS3: s B (VS3, t1) = 80 + 8 + 8 + 8 + 100 + 10 + 10 + 10 = 234
VS3: s N (VS3, t1) = 10 + 1 + 1 + 1 + 10 + 1 + 1 + 1 = 26
VS4: s B (VS4, t1) = 80 + 0 + 100 + 0 = 180
VS4: s N (VS4, t1) = 100 + 10 + 0 = 20
VS5: s B (VS5, t1) = 0 + 800 + 400 + 0 = 1200
VS5: s N (VS5, t1) = 0 + 100 + 40 + 0 = 140
(2) Next, the content distribution control unit 53 checks the conditions of Expressions (34) to (36). In this case, it can be seen that any video server satisfies the equation (34).

式(35)、式(36)については、以下のように、VS1〜VS4を満足する。   About Formula (35) and Formula (36), VS1-VS4 are satisfied as follows.

VS1:sB(VS1,t1)+Br(C2)=626+10=636<T15=1200
VS1:sN(VS1,t1)+1=65+1=66<T16=200
VS2:sB(VS2,t1)+Br(C2)=624+10=634<T15=1200
VS2:sN(VS2,t1)+1=65+1=66<T16=200
VS3:sB(VS3,t1)+Br(C2)=234+10=244<T15=1200
VS3:sN(VS3,t1)+1=26+1=27<T16=200
VS4:sB(VS4,t1)+Br(C2)=180+10=190<T15=1200
VS4:sN(VS4,t1)+1=20+1=21<T16=200
しかし、VS5については、以下の通り満足しない。
VS1: s B (VS1, t1) + Br (C2) = 626 + 10 = 636 <T 15 = 1200
VS1: s N (VS1, t1) + 1 = 65 + 1 = 66 <T 16 = 200
VS2: s B (VS2, t1) + Br (C2) = 624 + 10 = 634 <T 15 = 1200
VS2: s N (VS2, t1) + 1 = 65 + 1 = 66 <T 16 = 200
VS3: s B (VS3, t1) + Br (C2) = 234 + 10 = 244 <T 15 = 1200
VS3: s N (VS3, t1) + 1 = 26 + 1 = 27 <T 16 = 200
VS4: s B (VS4, t1) + Br (C2) = 180 + 10 = 190 <T 15 = 1200
VS4: s N (VS4, t1) + 1 = 20 + 1 = 21 <T 16 = 200
However, VS5 is not satisfied as follows.

VS5:sB(VS5,t1)+Br(C2)=1200+10=1210>T15=1200
つまり、VS5のSは配信ビットレ−トの上限値を超過するので、対応するマシンのM3は候補からはずれる。そのため、候補マシンリストは(M1,M2)となる(マシンM3にはVS5しかないことに注意)。
VS5: s B (VS5, t1) + Br (C2) = 1200 + 10 = 1210> T 15 = 1200
That, S B of VS5 is delivered bit rate - so exceeds the upper limit value of the bets, the corresponding machine M3 is disengaged from the candidates. Therefore, the candidate machine list is (M1, M2) (note that the machine M3 has only VS5).

(3)コンテンツ配信制御部53は、図36を参照して、各マシンのコンテンツC2の配信数の和Pを計算する(図40参照)。 (3) the content distribution control section 53, with reference to FIG. 36, calculates the sum P N number of deliveries of contents C2 of each machine (see FIG. 40).

M1:PN(M1,C2,t1)=0+50+2+1+0+1+50+1+10+1+1+1=118
M2:PN(M2,C2,t1)=10+0=10
候補マシンリストは((M1,118),(M2,10))となり、コンテンツ配信制御部53はPの降順にソートすると、((M1,118),(M2,10))となる。
M1: P N (M1, C2, t1) = 0 + 50 + 2 + 1 + 0 + 1 + 50 + 1 + 10 + 1 + 1 + 1 = 118
M2: P N (M2, C2, t1) = 10 + 0 = 10
Candidate machine list ((M1,118), (M2,10) ) , and the content distribution control section 53 when sorted in descending order of P N, the ((M1,118), (M2,10) ).

(4)コンテンツ配信制御部53は、各デバイスの配信ビットレ−トの和gと配信数の和gを計算する(図41参照)。キャッシュD5については候補マシンリストに含まれないマシンに対応するので計算する必要はない。 (4) The content distribution control unit 53 calculates a distribution bit rate sum g B and a distribution number sum g N of each device (see FIG. 41). The cache D5 does not need to be calculated because it corresponds to a machine not included in the candidate machine list.

R1:gB(R1,t1)=80+0+80+0+80+100+80+100+0+400=920
R2:gN(R1,t1)=10+0+10+0+10+10+10+10+0+40=100
D1:gB(D1,t1)=0+500+8+10+8+10=536
D1:gN(D1,t1)=0+50+1+1+1+1=54
D2:gB(D2,t1)=8+20+8+500+8+10=554
D2:gN(D2,t1)=1+2+1+50+1+1=56
D3:gB(D3,t1)=8+10+8+10+8+10=54
D3:gN(D3,t1)=1+1+1+1+1+1=6
D4:gB(D4,t1)=0,gN(D4,t1)=0
(5)コンテンツ配信制御部53は、式(38)〜式(41)の条件をチェックする。式(38)については、ここでの前提条件なので満足している。
R1: g B (R1, t1) = 80 + 0 + 80 + 0 + 80 + 100 + 80 + 100 + 0 + 400 = 920
R2: g N (R1, t1) = 10 + 0 + 10 + 0 + 10 + 10 + 10 + 10 + 0 + 40 = 100
D1: g B (D1, t1) = 0 + 500 + 8 + 10 + 8 + 10 = 536
D1: g N (D1, t1) = 0 + 50 + 1 + 1 + 1 + 1 = 54
D2: g B (D2, t1) = 8 + 20 + 8 + 500 + 8 + 10 = 554
D2: g N (D2, t1) = 1 + 2 + 1 + 50 + 1 + 1 = 56
D3: g B (D3, t1) = 8 + 10 + 8 + 10 + 8 + 10 = 54
D3: g N (D3, t1) = 1 + 1 + 1 + 1 + 1 + 1 = 6
D4: g B (D4, t1) = 0, g N (D4, t1) = 0
(5) The content distribution control unit 53 checks the conditions of the expressions (38) to (41). Formula (38) is satisfied because it is a precondition here.

図38において、「Busy」と「T17」とを比較すると、R1,D1,D2,D3,D4はいずれも式(39)を満たしていることがわかる。 In FIG. 38, when “Busy” and “T 17 ” are compared, it is found that R1, D1, D2, D3, and D4 all satisfy Expression (39).

式(40)、式(41)については、以下の通り満足する。   The expressions (40) and (41) are satisfied as follows.

R1:gB(R1,t1)+Br(C2)=920+10=930<T18=10000
R1:gN(R1,t1)+1=100+1=101<T19=1500
D1:gB(D1,t1)+Br(C2)=536+10=546<T18=1000
D1:gN(D1,t1)+1=54+1=55<T19=150
D2:gB(D2,t1)+Br(C2)=554+10=564<T18=1000
D2:gN(D2,t1)+1=56+1=57<T19=150
D3:gB(D3,t1)+Br(C2)=54+10=64<T18=1000
D3:gN(D3,t1)+1=6+1=7<T19=150
D4:gB(D4,t1)+Br(C2)=0+10=10<T18=1000
D4:gN(D4,t1)+1=0+1=1<T19=150
従って、候補デバイスリストは(R1,D1,D2,D3,D4)となる。
R1: g B (R1, t1) + Br (C2) = 920 + 10 = 930 <T 18 = 10000
R1: g N (R1, t1) + 1 = 100 + 1 = 101 <T 19 = 1500
D1: g B (D1, t1) + Br (C2) = 536 + 10 = 546 <T 18 = 1000
D1: g N (D1, t1) + 1 = 54 + 1 = 55 <T 19 = 150
D2: g B (D2, t1) + Br (C2) = 554 + 10 = 564 <T 18 = 1000
D2: g N (D2, t1) + 1 = 56 + 1 = 57 <T 19 = 150
D3: g B (D3, t1) + Br (C2) = 54 + 10 = 64 <T 18 = 1000
D3: g N (D3, t1) + 1 = 6 + 1 = 7 <T 19 = 150
D4: g B (D4, t1) + Br (C2) = 0 + 10 = 10 <T 18 = 1000
D4: g N (D4, t1) + 1 = 0 + 1 = 1 <T 19 = 150
Therefore, the candidate device list is (R1, D1, D2, D3, D4).

(6)候補マシンリストの先頭はM1なのでマシンM1に属する各ビデオサーバVS1のコンテンツC2の配信数の和p(v,C,t)を計算する(図42参照)。 (6) Since the top of the candidate machine list is M1, the sum p N (v, C 0 , t) of the distribution numbers of the contents C2 of each video server VS1 belonging to the machine M1 is calculated (see FIG. 42).

VS1:pN(VS1,C2,t1)=0+50+2+1=53
VS2:pN(VS2,C2,t1)=0+1+50+1=52
VS3:pN(VS3,C2,t1)=10+1+1+1=13
(7)コンテンツ配信制御部53は、配信候補リスト(v,d, p,Pri(d))を以下のように作成する。
VS1: p N (VS1, C2, t1) = 0 + 50 + 2 + 1 = 53
VS2: p N (VS2, C2, t1) = 0 + 1 + 50 + 1 = 52
VS3: p N (VS3, C2, t1) = 10 + 1 + 1 + 1 = 13
(7) The content distribution control unit 53 creates a distribution candidate list (v, d, p N , Pri (d)) as follows.

((VS1,R1,53,1),(VS1,D1,53,30),(VS1,D2,53,20),(VS1,D3,53,10),(VS2,R1,52,1),(VS2,D1,52,30),(VS2,D2,52,20),(VS2,D3,52,10),(VS3,R1,13,1),(VS3,D1,13,30),(VS3,D2,13,20),(VS3,D3,13,10))
コンテンツ配信制御部53は、上記配信候補リストをpNの降順、Pri(d)の降順にソートすると、以下のようになる。
((VS1, R1, 53, 1), (VS1, D1, 53, 30), (VS1, D2, 53, 20), (VS1, D3, 53, 10), (VS2, R1, 52, 1) , (VS2, D1, 52, 30), (VS2, D2, 52, 20), (VS2, D3, 52, 10), (VS3, R1, 13, 1), (VS3, D1, 13, 30) , (VS3, D2, 13, 20), (VS3, D3, 13, 10))
Content distribution control section 53, when sorting the distribution candidate list descending p N, in order of decreasing Pri (d), as follows.

((VS1,D1,53,30),(VS1,D2,53,20),(VS1,D3,53,10),(VS1,R1,53,1),(VS2,D1,52,30),(VS2,D2,52,20),(VS2,D3,52,10),(VS2,R1,52,1),(VS3,D1,13,30),(VS3,D2,13,20),(VS3,D3,13,10),(VS3,R1,13,1))
この結果、コンテンツ配信制御部53は、配信元ビデオサーバとしてVS1、配信元記憶装置としてD1を選択する。
((VS1, D1, 53, 30), (VS1, D2, 53, 20), (VS1, D3, 53, 10), (VS1, R1, 53, 1), (VS2, D1, 52, 30) , (VS2, D2, 52, 20), (VS2, D3, 52, 10), (VS2, R1, 52, 1), (VS3, D1, 13, 30), (VS3, D2, 13, 20) , (VS3, D3, 13, 10), (VS3, R1, 13, 1))
As a result, the content distribution control unit 53 selects VS1 as the distribution source video server and D1 as the distribution source storage device.

コンテンツ配信・配信制御サーバ5はビデオサーバVS1にコンテンツC2をキャッシュ記憶装置D1から読み込んで端末装置に配信するよう指示する(図34のS502)。   The content distribution / distribution control server 5 instructs the video server VS1 to read the content C2 from the cache storage device D1 and distribute it to the terminal device (S502 in FIG. 34).

ビデオサーバVS1は、キャッシュ記憶装置D1からコンテンツC2のデ−タを読みこみ(図34のS503)、端末装置20に配信する(図34のS504)。   The video server VS1 reads the data of the content C2 from the cache storage device D1 (S503 in FIG. 34) and distributes it to the terminal device 20 (S504 in FIG. 34).

(A−3)実施形態の効果
以上のように、この実施形態によれば、以下の効果を奏する。
(A-3) Effects of Embodiment As described above, according to this embodiment, the following effects can be obtained.

第1にRAID装置などの大容量、低速アクセスの記憶装置とメモリなどの小容量、高速アクセスの記憶装置という両者の特長を組み合わせ、サーバごとコンテンツごとデバイスごとに配信負荷を定期的に観測することにより(1)配信負荷の高いコンテンツを検出したとき、または(2)配信負荷増分の高いコンテンツを検出したときまたは(3)配信負荷の高いRAID装置を検出したとき、または(4)配信負荷増分の高いRAID装置を検出したときにキャッシュを作成する、しかもキャッシュ効果の高い記憶装置にキャッシュを作成することでRAID装置の負荷を下げ、全体の配信数を向上することができる。   First, combine the features of a large-capacity storage device such as a RAID device, a low-speed access storage device and a small-capacity memory device, and a high-speed access storage device, and regularly monitor the distribution load for each server and content. (1) When content with high distribution load is detected, or (2) When content with high distribution load increment is detected, or (3) When a RAID device with high distribution load is detected, or (4) Distribution load increment When a high RAID device is detected, a cache is created, and a cache is created in a storage device having a high cache effect, thereby reducing the load on the RAID device and improving the total number of distributions.

第2に削除は(1)キャッシュ作成時に容量が不足したときだけ行ないかつ、(2)配信数が一定以上程度あるコンテンツ、またはキャッシュ作成対象コンテンツと削除対象コンテンツの配信ビットレ−トの差が一定以下のコンテンツは削除しないので、従来技術と比べ配信数が拮抗したコンテンツ間の頻繁なキャッシュ作成と削除を抑制することができ、それにより負荷と時間を要するキャッシュ作成と削除の間の配信性能低下を回避できる。   Secondly, deletion is performed only when the capacity is insufficient at the time of cache creation, and (2) the difference between the distribution bit rate of the content having a certain number of distributions or the content to be cached and the content to be deleted is constant. Since the following contents are not deleted, it is possible to suppress frequent cache creation and deletion between contents that have been counteracted by the number of distributions compared to the conventional technology, thereby reducing distribution performance between cache creation and deletion that requires load and time. Can be avoided.

第3にクライアントから配信要求を受信したときは、同時アクセス数が最大のサーバから配信するよう制御するので、キャッシュ作成時、RAID装置の負荷軽減効果が最大化される。   Third, when a distribution request is received from a client, control is performed so that distribution is performed from the server having the maximum number of simultaneous accesses, so that the load reduction effect of the RAID device is maximized when the cache is created.

(B)他の実施形態
上述した実施形態において、キャッシュ作成候補の選択、キャッシュ作成先候補の選択、キャッシュ削除候補の選択処理について、各デバイス(RAID装置)からのコンテンツの配信ビットレートに基づいて算出する場合を例示した。しかし、コンテンツの配信ビットレートに限定されるものではなく、各デバイスが配信しているコンテンツの配信数に基づいても同様に算出するようにしても良い。
(B) Other Embodiments In the above-described embodiments, the cache creation candidate selection, cache creation destination candidate selection, and cache deletion candidate selection processing are based on the distribution bit rate of content from each device (RAID device). The case of calculating was illustrated. However, it is not limited to the content distribution bit rate, and may be calculated in the same manner based on the number of content distributions distributed by each device.

100…コンテンツ配信システム、10…ビデオオンデマンドシステム、R1〜RL…RAID装置、3…RAID装置管理サーバ、M1〜MN…マシン、VS1〜VS6…ビデオサーバ、CS1〜CSN…キャッシュ記憶装置管理サーバ、CD1〜CD6…キャッシュ記憶装置、5…コンテンツ配信・配置制御サーバ、51…配信情報管理部、52…コンテンツ配置制御部、53…コンテンツ配信制御部、54…通信部、511…デバイス負荷テーブル、512…ビデオサーバ負荷情報テーブル、513…サーバごとコンテンツごとデバイスごと配信情報テーブル、514…マシン情報テーブル、20…端末装置。 DESCRIPTION OF SYMBOLS 100 ... Content delivery system, 10 ... Video on demand system, R1-RL ... RAID apparatus, 3 ... RAID apparatus management server, M1-MN ... Machine, VS1-VS6 ... Video server, CS1-CSN ... Cache storage apparatus management server, CD1 to CD6 ... cache storage device, 5 ... content distribution / arrangement control server, 51 ... distribution information management unit, 52 ... content arrangement control unit, 53 ... content distribution control unit, 54 ... communication unit, 511 ... device load table, 512 ... Video server load information table, 513... Server, contents, device, distribution information table, 514... Machine information table, 20.

Claims (5)

1又は複数の大容量記憶手段と、キャッシュ記憶手段とを備え、上記大容量記憶手段又は上記キャッシュ記憶手段から、配信要求されたコンテンツを読み出して配信要求元に配信するコンテンツ配信装置において、
少なくとも、上記各大容量記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第1の配信情報と、上記キャッシュ記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第2の配信情報とを管理する配信情報管理手段と、
上記大容量記憶手段に記憶されるコンテンツのうちキャッシュ対象コンテンツの第1の配信情報と、上記キャッシュ記憶手段における1又は複数のコンテンツの第2の配信情報との比較結果が所定の情報量以上となる場合に、上記キャッシュ対象コンテンツを上記キャッシュ記憶手段にキャッシュし、上記第2の配信情報に係る上記1又は複数のコンテンツを上記キャッシュ記憶手段から削除するコンテンツ配置制御手段と
を備えることを特徴とするコンテンツ配信装置。
In a content distribution apparatus that includes one or a plurality of large-capacity storage units and a cache storage unit, reads out content requested for distribution from the large-capacity storage unit or the cache storage unit, and distributes the content to a distribution request source.
At least the first distribution information indicating the distribution information amount of each content read and distributed from each of the large-capacity storage means, and the distribution information amount of each content read and distributed from the cache storage means Distribution information management means for managing the second distribution information shown;
Of the contents stored in the large-capacity storage means, the comparison result between the first distribution information of the content to be cached and the second distribution information of one or more contents in the cache storage means is greater than or equal to a predetermined amount of information. The cache storage content is cached in the cache storage means, and the one or more contents related to the second distribution information are deleted from the cache storage means. Content distribution device.
上記第1の配信情報が、上記大容量記憶手段から読み出されて配信されるコンテンツの配信数、配信レート、所定時間における配信数の増分、又は、所定時間における配信レートの増分を含むものであり、
上記第2の配信情報が、上記キャッシュ記憶手段から読み出されて配信されるコンテンツの配信数、配信レート、所定時間における配信数の増分、又は、所定時間における配信レートの増分を含むものである
ことを特徴とする請求項1に記載のコンテンツ配信装置。
The first distribution information includes the number of contents to be read and distributed from the large-capacity storage means, the distribution rate, an increase in the number of distributions at a predetermined time, or an increase in the distribution rate at a predetermined time. Yes,
The second distribution information includes the number of contents to be read and distributed from the cache storage means, the distribution rate, an increase in the number of distributions at a predetermined time, or an increase in the distribution rate at a predetermined time. The content distribution apparatus according to claim 1, wherein:
上記コンテンツ配置制御手段が、上記配信情報管理手段の上記第1の配信情報を参照して、上記1又は複数の大容量記憶手段から読み出されて配信されるコンテンツのうち、最も配信情報量が大きいコンテンツを上記キャッシュ対象コンテンツの候補とすることを特徴とする請求項1又は2に記載のコンテンツ配信装置。   The content arrangement control unit refers to the first distribution information of the distribution information management unit, and among the contents that are read and distributed from the one or more large-capacity storage units, the distribution information amount is the largest. 3. The content distribution apparatus according to claim 1, wherein a large content is set as a candidate for the cache target content. 1又は複数の大容量記憶手段と、キャッシュ記憶手段とを備え、上記大容量記憶手段又は上記キャッシュ記憶手段から、配信要求されたコンテンツを読み出して配信要求元に配信するコンテンツ配信方法において、
配信情報管理手段が、少なくとも、上記各大容量記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第1の配信情報と、上記キャッシュ記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第2の配信情報とを管理し、
コンテンツ配置制御手段が、上記大容量記憶手段に記憶されるコンテンツのうちキャッシュ対象コンテンツの第1の配信情報と、上記キャッシュ記憶手段における1又は複数のコンテンツの第2の配信情報との比較結果が所定の情報量以上となる場合に、上記キャッシュ対象コンテンツを上記キャッシュ記憶手段にキャッシュし、上記第2の配信情報に係る上記1又は複数のコンテンツを上記キャッシュ記憶手段から削除する
ことを特徴とするコンテンツ配信方法。
In a content distribution method comprising one or a plurality of large-capacity storage means and a cache storage means, reading out the content requested to be distributed from the large-capacity storage means or the cache storage means and distributing it to a distribution request source.
The distribution information management means includes at least first distribution information indicating a distribution information amount of each content read and distributed from each of the large capacity storage means, and each of the distribution information read from the cache storage means and distributed. Managing the second distribution information indicating the distribution information amount of the content,
The content placement control means has a comparison result between the first distribution information of the cache target content among the contents stored in the large capacity storage means and the second distribution information of one or more contents in the cache storage means. When the amount of information exceeds a predetermined amount, the cache target content is cached in the cache storage unit, and the one or more contents related to the second distribution information are deleted from the cache storage unit. Content distribution method.
1又は複数の大容量記憶手段と、キャッシュ記憶手段とを備え、上記大容量記憶手段又は上記キャッシュ記憶手段から、配信要求されたコンテンツを読み出して配信要求元に配信するコンテンツ配信プログラムにおいて、
コンピュータを、
少なくとも、上記各大容量記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第1の配信情報と、上記キャッシュ記憶手段から読み出されて配信される各コンテンツの配信情報量を示す第2の配信情報とを管理する配信情報管理手段、
上記大容量記憶手段に記憶されるコンテンツのうちキャッシュ対象コンテンツの第1の配信情報と、上記キャッシュ記憶手段における1又は複数のコンテンツの第2の配信情報との比較結果が所定の情報量以上となる場合に、上記キャッシュ対象コンテンツを上記キャッシュ記憶手段にキャッシュし、上記第2の配信情報に係る上記1又は複数のコンテンツを上記キャッシュ記憶手段から削除するコンテンツ配置制御手段
として機能させることを特徴とするコンテンツ配信プログラム。
In a content distribution program comprising one or a plurality of large-capacity storage means and a cache storage means, reading out the content requested for distribution from the large-capacity storage means or the cache storage means and distributing it to a distribution request source.
Computer
At least the first distribution information indicating the distribution information amount of each content read and distributed from each of the large-capacity storage means, and the distribution information amount of each content read and distributed from the cache storage means Distribution information management means for managing the second distribution information shown;
Of the contents stored in the large-capacity storage means, the comparison result between the first distribution information of the content to be cached and the second distribution information of one or more contents in the cache storage means is greater than or equal to a predetermined amount of information. The cache target content is cached in the cache storage means, and the content distribution control means is configured to delete the one or more contents related to the second distribution information from the cache storage means. Content distribution program.
JP2014042025A 2014-03-04 2014-03-04 Content distribution apparatus, content distribution method, and content distribution program Active JP6287353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014042025A JP6287353B2 (en) 2014-03-04 2014-03-04 Content distribution apparatus, content distribution method, and content distribution program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014042025A JP6287353B2 (en) 2014-03-04 2014-03-04 Content distribution apparatus, content distribution method, and content distribution program

Publications (2)

Publication Number Publication Date
JP2015170866A true JP2015170866A (en) 2015-09-28
JP6287353B2 JP6287353B2 (en) 2018-03-07

Family

ID=54203275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014042025A Active JP6287353B2 (en) 2014-03-04 2014-03-04 Content distribution apparatus, content distribution method, and content distribution program

Country Status (1)

Country Link
JP (1) JP6287353B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018003081A1 (en) * 2016-06-30 2018-01-04 株式会社オプティム Entire celestial sphere camera captured image display system, method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185604A (en) * 1997-09-12 1999-03-30 Nippon Telegr & Teleph Corp <Ntt> Contents arrangement changing method and system and storage medium storing contents arrangement change program
JP2009122981A (en) * 2007-11-15 2009-06-04 Nec Corp Cache allocation method
JP2011172021A (en) * 2010-02-18 2011-09-01 Nec Corp Cache server control device, content distribution system, method of distributing content, and program
JP2012059204A (en) * 2010-09-13 2012-03-22 Nec Corp Information processing apparatus, information processing method and computer program
JP2012147272A (en) * 2011-01-12 2012-08-02 Nippon Telegr & Teleph Corp <Ntt> Traffic cache system, cache replacement method, cache device, and cache program
JP2012195854A (en) * 2011-03-17 2012-10-11 Oki Networks Co Ltd Content distribution server, content distribution system, and content distribution program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185604A (en) * 1997-09-12 1999-03-30 Nippon Telegr & Teleph Corp <Ntt> Contents arrangement changing method and system and storage medium storing contents arrangement change program
JP2009122981A (en) * 2007-11-15 2009-06-04 Nec Corp Cache allocation method
JP2011172021A (en) * 2010-02-18 2011-09-01 Nec Corp Cache server control device, content distribution system, method of distributing content, and program
JP2012059204A (en) * 2010-09-13 2012-03-22 Nec Corp Information processing apparatus, information processing method and computer program
JP2012147272A (en) * 2011-01-12 2012-08-02 Nippon Telegr & Teleph Corp <Ntt> Traffic cache system, cache replacement method, cache device, and cache program
JP2012195854A (en) * 2011-03-17 2012-10-11 Oki Networks Co Ltd Content distribution server, content distribution system, and content distribution program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018003081A1 (en) * 2016-06-30 2018-01-04 株式会社オプティム Entire celestial sphere camera captured image display system, method, and program
JPWO2018003081A1 (en) * 2016-06-30 2018-12-20 株式会社オプティム Spherical camera captured image display system, method and program
US10419671B2 (en) 2016-06-30 2019-09-17 Optim Corporation System, method, and program for displaying omnidirectional camera image

Also Published As

Publication number Publication date
JP6287353B2 (en) 2018-03-07

Similar Documents

Publication Publication Date Title
US9513817B2 (en) Free space collection in log structured storage systems
JP5159884B2 (en) Network adapter resource allocation between logical partitions
KR101827369B1 (en) Apparatus and method for managing data stream distributed parallel processing service
US8145614B1 (en) Selection of a data path based on the likelihood that requested information is in a cache
US20190163371A1 (en) Next generation storage controller in hybrid environments
US7688753B1 (en) Selection of a data path based on one or more performance characteristics of a computer system
US7979668B2 (en) Method and system for automatically distributing real memory between virtual memory page sizes
US7454420B2 (en) Data sorting method and system
JP2004070403A (en) File storage destination volume control method
US20150127880A1 (en) Efficient implementations for mapreduce systems
JPWO2010137455A1 (en) Computer system, method, and program
US20170019345A1 (en) Multi-tenant resource coordination method
JP6293683B2 (en) Computer system and coping method for performance failure of computer system
US20160065663A1 (en) Dynamic load-based merging
CN101673271A (en) Distributed file system and file sharding method thereof
JP5552343B2 (en) Management device, management method, and program
US8458719B2 (en) Storage management in a data processing system
JP6287353B2 (en) Content distribution apparatus, content distribution method, and content distribution program
US20190146677A1 (en) Storage device volume selection for improved space allocation
CN101783814A (en) Metadata storing method for mass storage system
Liu et al. Understanding the i/o performance gap between cori knl and haswell
JP6764175B2 (en) Database management system and database management method
JP7310378B2 (en) Information processing program, information processing method, and information processing apparatus
JP6210501B2 (en) Database management system, computer, database management method
KR102283364B1 (en) Method for controlling bandwidth in virtualized environment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170926

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180122

R150 Certificate of patent or registration of utility model

Ref document number: 6287353

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150