JP2013069205A - Distribution system and virtual machine allocation device - Google Patents

Distribution system and virtual machine allocation device Download PDF

Info

Publication number
JP2013069205A
JP2013069205A JP2011208701A JP2011208701A JP2013069205A JP 2013069205 A JP2013069205 A JP 2013069205A JP 2011208701 A JP2011208701 A JP 2011208701A JP 2011208701 A JP2011208701 A JP 2011208701A JP 2013069205 A JP2013069205 A JP 2013069205A
Authority
JP
Japan
Prior art keywords
virtual machine
distribution
server
distribution server
connections
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
JP2011208701A
Other languages
Japanese (ja)
Other versions
JP5760898B2 (en
Inventor
Masaki Sato
正樹 佐藤
Masahito Iwashita
将人 岩下
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 JP2011208701A priority Critical patent/JP5760898B2/en
Publication of JP2013069205A publication Critical patent/JP2013069205A/en
Application granted granted Critical
Publication of JP5760898B2 publication Critical patent/JP5760898B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a distribution server to which a virtual machine does not belong, while taking into consideration capacity of the distribution server.SOLUTION: A distribution system 1 comprises a virtual machine allocation device 5 which determines a virtual machine VM to be moved and a distribution server 2 of a movement destination of the virtual machine VM, on the basis of the number of present connections of each virtual machine VM in distribution processing with external devices 9 connected through an external network NW2 and the maximum number of connections of each distribution server 2 in distribution processing with the external devices 9 connected through the external network NW2, so that the number of distribution servers 2 to which a virtual machine VM does not belong becomes maximum and, at the same time, the sum of the number of present connections of each virtual machine VM belonging to a distribution server 2 becomes equal to or less than maximum number of connections of the distribution server 2.

Description

本発明は、配信システムおよび仮想マシン割当装置に関し、特に、仮想マシン割当装置および複数の各種サーバを備えるシステムにおいて低消費電力化を実現する配信システムおよび仮想マシン割当装置に関する。   The present invention relates to a distribution system and a virtual machine allocation apparatus, and more particularly to a distribution system and a virtual machine allocation apparatus that realize low power consumption in a system including a virtual machine allocation apparatus and a plurality of various servers.

仮想化技術の一つに、ホストサーバが1つしか存在しないにもかかわらず、あたかも複数のホストサーバが存在して、それらのホストサーバがそれぞれ独立して動作する仮想マシン技術がある。このような仮想マシン技術を利用している製品として、例えばVMware社のESX Server(登録商標)やMicrosoft社のVirtual Server(登録商標)などが挙げられる。   As one of the virtualization technologies, there is a virtual machine technology in which a plurality of host servers exist and each of these host servers operates independently even though there is only one host server. Examples of products using such virtual machine technology include VMware ESX Server (registered trademark) and Microsoft Virtual Server (registered trademark).

この仮想マシン技術は、ホストサーバで稼働中の仮想マシンを、オンライン状態のまま別のホストサーバに移動するホット・マイグレーションという機能を有している。この機能を利用して、仮想マシンのリアルタイムにおける消費電力、およびホストサーバのリアルタイムの残電力に基づいて、ホストサーバの稼働数をできる限り低減する条件を満たすように、ホストサーバの最大電力の範囲で仮想マシンを移動させて集約し、仮想マシンが所属しないサーバを捻出する。そして、当該集約により仮想マシンが所属しないサーバを停止(電源OFF)させて、電力の消費量を低減させるサーバシステムがある(例えば、特許文献1参照)。   This virtual machine technology has a function called hot migration that moves a virtual machine running on a host server to another host server in an online state. Utilizing this function, the range of the maximum power of the host server so that the conditions for reducing the number of host server operations can be reduced as much as possible based on the real-time power consumption of the virtual machine and the real-time remaining power of the host server. Move and aggregate the virtual machines to create a server to which the virtual machines do not belong. There is a server system that reduces power consumption by stopping (powering off) a server to which a virtual machine does not belong by the aggregation (see, for example, Patent Document 1).

また、ホストサーバは、音楽や映像などマルチメディアコンテンツをストリーミング配信する場合、コンテンツを視聴する側のクライアント装置に、IETF(Internet Engineering Task Force)によりRFC2326で規定されたRTSP(Real Time Streaming Protocol)を利用して配信する。このときのRTSPのシーケンス例が非特許文献1に開示されている。   Further, when streaming multimedia content such as music and video, the host server uses RTSP (Real Time Streaming Protocol) defined by RFC2326 by the IETF (Internet Engineering Task Force) to the client device viewing the content. Use and distribute. A sequence example of RTSP at this time is disclosed in Non-Patent Document 1.

特開2009−169858号公報JP 2009-169858 A

「マルチメディア配信技術」、Jan 2001、NTT DoCoMo テクニカル・ジャーナル Vol.8 No.4(p.46〜47,図5)"Multimedia Distribution Technology", Jan 2001, NTT DoCoMo Technical Journal Vol.8 No.4 (p.46-47, Fig. 5)

しかしながら、従来のサーバシステムは、ホストサーバ(配信サーバ)で消費される電力を基準に、仮想マシンを移動させていたため、移動先ホストサーバ(移動先配信サーバ)の能力(例えば、処理能力や通信能力など)が考慮されていなかった。これにより、所属する仮想マシンそれぞれを実行するための能力が足りなくなった移動先配信サーバは、負荷がかかりすぎたことにより、クライアント装置にマルチメディアコンテンツを遅滞なくストリーミング配信することができないという問題がある。   However, since the conventional server system moves the virtual machine based on the power consumed by the host server (distribution server), the capability (for example, processing capability and communication) of the destination host server (destination distribution server) Abilities etc.) were not considered. As a result, there is a problem in that the destination distribution server that lacks the ability to execute each of the virtual machines to which it belongs cannot stream multimedia content to the client device without delay due to excessive load. is there.

本発明は、以上のような問題を解決するためになされたものであり、配信サーバの能力を考慮して、仮想マシンが所属しない配信サーバを捻出する配信システムおよび仮想マシン割当装置を提供することを課題とする。   The present invention has been made to solve the above-described problems, and provides a distribution system and a virtual machine allocation apparatus that generate a distribution server to which a virtual machine does not belong in consideration of the capability of the distribution server. Is an issue.

前記課題を解決するために、本発明の配信システムは、外部ネットワークを介して接続する複数の配信サーバと、前記複数の配信サーバを監視し、当該配信サーバ間を移動可能な複数の仮想マシンの移動を管理する仮想マシン管理サーバと、前記配信サーバと前記仮想マシン管理サーバとが内部ネットワークを介して接続し、移動する仮想マシンと当該仮想マシンの移動先配信サーバとを決定する仮想マシン割当装置とを備える配信システムであって、前記仮想マシン割当装置は、各仮想マシンから、当該仮想マシンにおいて前記外部ネットワークを介して接続している通信装置との配信処理における現在接続数を受信し、前記各仮想マシンの現在接続数と、各配信サーバが前記外部ネットワークを介して接続している通信装置との配信処理における最大接続数とに基づき、前記仮想マシンが所属しない配信サーバの数が最大となるように、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在接続数の合計が当該配信サーバの最大接続数以下になるように、前記仮想マシンそれぞれの移動先配信サーバを決定することを特徴とする。   In order to solve the above problems, a distribution system according to the present invention includes a plurality of distribution servers connected via an external network, a plurality of virtual machines that monitor the plurality of distribution servers and can move between the distribution servers. A virtual machine management server that manages movement, a virtual machine allocation apparatus that connects the distribution server and the virtual machine management server via an internal network, and determines a virtual machine to be moved and a destination distribution server for the virtual machine The virtual machine allocation device receives the current number of connections in a distribution process with a communication device connected to the virtual machine via the external network from each virtual machine, and Distribution processing between the current number of connections of each virtual machine and the communication device to which each distribution server is connected via the external network Based on the maximum number of connections in the distribution server so that the number of distribution servers to which the virtual machine does not belong is maximized, and the total number of current connections of each virtual machine when belonging to the distribution server is A destination distribution server for each of the virtual machines is determined so that the number of connections is less than or equal to the maximum number of connections.

また、仮想マシン割当装置は、外部ネットワークと接続する複数の配信サーバと内部ネットワークを介して接続し、前記複数の配信サーバ間を移動可能な複数の仮想マシンの移動先配信サーバを決定する仮想マシン割当装置であって、各仮想マシンから、前記外部ネットワークを介して接続している通信装置との配信処理における現在接続数と、各配信サーバが前記外部ネットワークを介して接続している通信装置との配信処理における最大接続数とに基づき、前記仮想マシンが所属しない配信サーバの数が最大となるように、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在配信数の合計が当該配信サーバの最大接続数以下になるように、前記仮想マシンそれぞれの移動先配信サーバを決定することを特徴とする。   The virtual machine allocating device is connected to a plurality of distribution servers connected to an external network via the internal network, and determines a destination distribution server of a plurality of virtual machines that can move between the plurality of distribution servers. An allocation device, a current number of connections in a distribution process from each virtual machine to a communication device connected via the external network, and a communication device to which each distribution server is connected via the external network; Based on the maximum number of connections in the distribution process, the total number of the current distribution of each virtual machine when the virtual machine belongs to the distribution server is the maximum number of distribution servers to which the virtual machine does not belong The destination distribution server of each of the virtual machines is determined so as to be equal to or less than the maximum number of connections of the distribution server.

本発明によれば、配信サーバの能力を考慮して、仮想マシンが所属しない配信サーバを捻出することができる。これにより、稼動中の配信サーバの処理能力を格段に落とすことなく、仮想マシンが所属しない配信サーバを待機状態にすることができ、当該配信サーバの電源を落とすことや、当該配信サーバに供給する電力を待機するために必要な最小限の量に抑えることができる。そのため、配信サーバを含む配信システム全体における省電力効果が期待できる。   According to the present invention, a distribution server to which a virtual machine does not belong can be created in consideration of the capability of the distribution server. As a result, the distribution server to which the virtual machine does not belong can be put on standby without significantly reducing the processing capacity of the distribution server in operation, and the distribution server can be turned off or supplied to the distribution server. It can be kept to the minimum amount required to wait for power. Therefore, the power saving effect in the whole distribution system including the distribution server can be expected.

第1の実施形態に係る配信システムの構成を示す図である。It is a figure which shows the structure of the delivery system which concerns on 1st Embodiment. 仮想マシンの構成を示す図である。It is a figure which shows the structure of a virtual machine. 配信サーバ最大接続数管理テーブルの一例を示す図である。It is a figure which shows an example of a delivery server maximum connection number management table. 仮想マシン接続数管理テーブルの一例を示す図である。It is a figure which shows an example of a virtual machine connection number management table. RTSPのシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of RTSP. SETUPメッセージの一例を示す図である。It is a figure which shows an example of a SETUP message. 図6のSETUPメッセージに対するレスポンスメッセージの一例を示す図である。It is a figure which shows an example of the response message with respect to the SETUP message of FIG. PLAYメッセージの一例を示す図である。It is a figure which shows an example of a PLAY message. 図8のPLAYメッセージに対するレスポンスメッセージの一例を示す図である。It is a figure which shows an example of the response message with respect to the PLAY message of FIG. TEARDOWNメッセージの一例を示す図である。It is a figure which shows an example of a TEARDOWN message. 図10のTEARDOWNメッセージに対するレスポンスメッセージの一例を示す図である。It is a figure which shows an example of the response message with respect to the TEARDOWN message of FIG. 仮想マシン割当サーバが行う集約処理を説明するためのシーケンス図の一例を示す図である。It is a figure which shows an example of the sequence diagram for demonstrating the aggregation process which a virtual machine allocation server performs. 図12Aの仮想マシン移動処理の完了確認において、仮想マシン移動要求メッセージが同期メッセージである場合のシーケンス図の一例を示す図である。FIG. 12B is a diagram illustrating an example of a sequence diagram in a case where the virtual machine movement request message is a synchronization message in the completion confirmation of the virtual machine movement process of FIG. 12A. 図12Aの仮想マシン移動処理の完了確認において、仮想マシン移動要求メッセージが非同期メッセージである場合のシーケンス図の一例を示す図である。FIG. 12B is a diagram illustrating an example of a sequence diagram when the virtual machine movement request message is an asynchronous message in the completion confirmation of the virtual machine movement process of FIG. 12A. 第2の実施形態に係る配信システムの構成を示す図である。It is a figure which shows the structure of the delivery system which concerns on 2nd Embodiment. DESCRIBEメソッドを含むリクエストメッセージの一例を示す図である。It is a figure which shows an example of the request message containing a DESCRIBE method. 図14のリクエストメッセージに対するレスポンスメッセージの一例を示す図である。It is a figure which shows an example of the response message with respect to the request message of FIG. 最大配信ビットレート値管理テーブルの一例を示す図である。It is a figure which shows an example of the maximum delivery bit rate value management table. 配信ビットレート値管理テーブルの一例を示す図である。It is a figure which shows an example of a delivery bit rate value management table.

以下、図面を参照して、本発明の実施の形態(以下、「本実施形態」と称する)につき詳細に説明する。なお、各図は、本発明について概略的に示してあるに過ぎない。よって、本発明は、図示例のみに限定されるものではない。また、各図において、共通する構成要素や同様な構成要素については、同一の符号を付し、それらの重複する説明を省略する。   Hereinafter, an embodiment of the present invention (hereinafter referred to as “the present embodiment”) will be described in detail with reference to the drawings. Each figure is only schematically showing the present invention. Therefore, the present invention is not limited to the illustrated example. Moreover, in each figure, the same code | symbol is attached | subjected about the common component and the same component, and those overlapping description is abbreviate | omitted.

《第1の実施形態》
(配信システム1)
図1に示すように、配信システム1は、複数の配信サーバ2(2a,2b,2c)と、仮想マシン管理サーバ3と、蓄積サーバ4と、仮想マシン割当サーバ5と、複数の外部装置9(9a,9b,9c)と、内部ネットワークNW1と、外部ネットワークNW2とで構成される。
複数の配信サーバ2と、仮想マシン管理サーバ3と、蓄積サーバ4と、仮想マシン割当サーバ5とは、内部ネットワークNW1を介して通信可能に接続される。また、複数の配信サーバ2と、複数の外部装置9とは、外部ネットワークNW2を介して通信可能に接続される。
図1では、配信サーバ2および外部装置9はそれぞれ3台で図示しているが、本発明は最大台数を制限しない。特に、配信サーバ2は2台以上あればよい。
<< First Embodiment >>
(Distribution system 1)
As shown in FIG. 1, the distribution system 1 includes a plurality of distribution servers 2 (2a, 2b, 2c), a virtual machine management server 3, a storage server 4, a virtual machine allocation server 5, and a plurality of external devices 9. (9a, 9b, 9c), an internal network NW1, and an external network NW2.
The plurality of distribution servers 2, the virtual machine management server 3, the storage server 4, and the virtual machine allocation server 5 are communicably connected via the internal network NW 1. In addition, the plurality of distribution servers 2 and the plurality of external devices 9 are communicably connected via the external network NW2.
In FIG. 1, three distribution servers 2 and three external devices 9 are illustrated, but the present invention does not limit the maximum number. In particular, there may be two or more distribution servers 2.

なお、配信サーバ2、仮想マシン管理サーバ3、蓄積サーバ4、仮想マシン割当サーバ5および、外部装置9は、図示を省略したCPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disc Drive)などを備えた一般的なコンピュータで構成することができ、コンピュータを前記した各手段として機能させるプログラムにより実現することができる。   The distribution server 2, virtual machine management server 3, storage server 4, virtual machine allocation server 5, and external device 9 include a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access), not shown. It can be configured by a general computer including a memory (HDD), a hard disk drive (HDD), and the like, and can be realized by a program that causes the computer to function as each means described above.

また、第1の実施形態における配信サーバ2には、予めVMware社の“VMware(登録商標) ESXi”がインストールされている。また、仮想マシン管理サーバ3には、予めVMware社の“VMware(登録商標) vCenter Server”がインストールされている。そして、配信サーバ2には、仮想マシン管理サーバ3から内部ネットワークNW1を介して、“VMware(登録商標) vCenter Serverエージェント”がインストールされている。
その他の構成として、Citrix社の“XenServer”、Red Hat社の“Red Hat Enterprise Virtualization for Servers”がある。
さらに、配信サーバ2には、予め仮想マシン追加機能アプリケーション(以下、“仮想マシン追加AP”とする)がインストールされている。
Further, “VMware (registered trademark) ESXi” of VMware Inc. is installed in advance in the distribution server 2 in the first embodiment. The virtual machine management server 3 is preinstalled with “VMware (registered trademark) vCenter Server” of VMware. The distribution server 2 is installed with “VMware (registered trademark) vCenter Server agent” from the virtual machine management server 3 via the internal network NW1.
Other configurations include Citrix “XenServer” and Red Hat “Red Hat Enterprise Virtualization for Servers”.
Furthermore, a virtual machine addition function application (hereinafter referred to as “virtual machine addition AP”) is installed in the distribution server 2 in advance.

(内部ネットワークNW1)
内部ネットワークNW1は、例えば、有線/無線LAN(Local Area Network)などを介して、インターネットプロトコル(Internet Protocol)技術を利用して相互接続されるコンピュータネットワークである。また、LAN以外にも、ZigBee(登録商標)やBluetooth(登録商標)であってもよい。
(Internal network NW1)
The internal network NW1 is a computer network that is interconnected using Internet Protocol technology via, for example, a wired / wireless LAN (Local Area Network). In addition to the LAN, ZigBee (registered trademark) or Bluetooth (registered trademark) may be used.

(外部ネットワークNW2)
外部ネットワークNW2は、例えば、WAN(Wide Area Network)や有線/無線LANなどを介して、インターネットプロトコル技術を利用して相互接続されるコンピュータネットワークである。また、LAN以外にも、ZigBee(登録商標)やBluetooth(登録商標)であってもよい。
(External network NW2)
The external network NW2 is a computer network that is interconnected using an Internet protocol technology via, for example, a WAN (Wide Area Network) or a wired / wireless LAN. In addition to the LAN, ZigBee (registered trademark) or Bluetooth (registered trademark) may be used.

また、配信サーバ2(2a,2b,2c)は互いに図示しない共有ストレージを介して、vMotion専用のギガビット・イーサネット(登録商標)で接続されている。本発明は、仮想マシンVMの移動先を決定することを目的としているものであるため、その後の仮想マシンVMを移動する処理の説明について省略する。   Further, the distribution servers 2 (2a, 2b, 2c) are connected to each other by vEthernet-dedicated Gigabit Ethernet (registered trademark) via a shared storage (not shown). The present invention is intended to determine the migration destination of the virtual machine VM, and therefore description of the subsequent process of moving the virtual machine VM will be omitted.

(外部装置9)
外部装置9(9a,9b,9c)は、例えば、PC(Personal Computer)などであり、利用者(視聴者)が外部装置9の操作部(不図示)を介して、映像の視聴要求を入力することで、外部装置9は配信サーバ2との通信を開始し、配信サーバ2からストリーミング配信されるメディアデータ(映像データ)を受信して、ディスプレイなどの表示部(不図示)に映像を表示させる。
(External device 9)
The external device 9 (9a, 9b, 9c) is, for example, a PC (Personal Computer) or the like, and a user (viewer) inputs a video viewing request via an operation unit (not shown) of the external device 9. As a result, the external device 9 starts communication with the distribution server 2, receives media data (video data) streamed from the distribution server 2, and displays the video on a display unit (not shown) such as a display. Let

(配信サーバ2)
配信サーバ2(2a,2b,2c)は、仮想マシンVM(VM1,VM2,VM3,・・・)として動作させる仮想マシン制御部と、配信状態記録部21と、電力制御部22とを備える。
配信状態記録部21は、データを記憶する構成部であって、例えば、HDD、RAM、光ディスクなどの記憶手段である。
電力制御部22は、不図示の外部電源と接続し、配信サーバ2内部への電力供給量を制限する構成部であり、図示しないCPUによるプログラム実行処理や専用回路などにより実現される。
(Distribution server 2)
The distribution server 2 (2a, 2b, 2c) includes a virtual machine control unit that operates as a virtual machine VM (VM1, VM2, VM3,...), A distribution state recording unit 21, and a power control unit 22.
The distribution status recording unit 21 is a configuration unit that stores data, and is a storage unit such as an HDD, a RAM, or an optical disc.
The power control unit 22 is a component that is connected to an external power source (not shown) and restricts the amount of power supplied to the distribution server 2, and is realized by a program execution process or a dedicated circuit by a CPU (not shown).

前記したように、配信サーバ2には、予めVMware社の“VMware(登録商標) ESXi”や“VMware(登録商標)vCenter Serverエージェント”、“仮想マシン追加AP”がインストールされており、不図示の仮想マシン制御部(CPUなど)により、それらのアプリケーションが実行されることで、配信サーバ2は仮想マシンVMとして動作する。
図1では、第1の実施形態において、配信サーバ2aに仮想マシンVM1と仮想マシンVM2とが所属することが示されている。これは、配信サーバ2aは、仮想マシンVM1として動作すると共に、仮想マシンVM2としても動作することを示している。
同様に、図1に示すように、配信サーバ2bには、仮想マシンVM3と仮想マシンVM4とが所属し、配信サーバ2cには、仮想マシンVM5が所属している。
これら仮想マシンVMには、それぞれを識別する番号(仮想マシンID)が付与されており、仮想マシンVM1には“VM−ID01”、仮想マシンVM2には“VM−ID02”、仮想マシンVM3には“VM−ID03”、仮想マシンVM4には“VM−ID04”、仮想マシンVM5には“VM−ID05”がそれぞれ仮想マシンIDとして付与されている。
As described above, the VMware “VMware (registered trademark) ESXi”, “VMware (registered trademark) vCenter Server agent”, and “virtual machine addition AP” are installed in the distribution server 2 in advance. The distribution server 2 operates as a virtual machine VM by executing these applications by a virtual machine control unit (CPU or the like).
FIG. 1 shows that the virtual machine VM1 and the virtual machine VM2 belong to the distribution server 2a in the first embodiment. This indicates that the distribution server 2a operates as the virtual machine VM1 and also operates as the virtual machine VM2.
Similarly, as shown in FIG. 1, a virtual machine VM3 and a virtual machine VM4 belong to the distribution server 2b, and a virtual machine VM5 belongs to the distribution server 2c.
Each virtual machine VM is given a number (virtual machine ID) for identifying each of them, “VM-ID01” for the virtual machine VM1, “VM-ID02” for the virtual machine VM2, and “VM-ID02” for the virtual machine VM3. “VM-ID03”, “VM-ID04” is assigned to the virtual machine VM4, and “VM-ID05” is assigned to the virtual machine VM5.

配信サーバ2は、外部ネットワークNW2を介して接続された外部装置9からの要求に応じて、内部ネットワークNW1を介して接続された(後記する)蓄積サーバ4からメディアデータ(映像データ)を取得して、外部装置9とのストリーミング配信(配信処理)を行う。
また、配信サーバ2は、内部ネットワークNW1を介して接続された仮想マシン割当サーバ5と通信を行う。詳細は後記する。
The distribution server 2 acquires media data (video data) from the storage server 4 connected (described later) via the internal network NW1 in response to a request from the external device 9 connected via the external network NW2. Thus, streaming delivery (delivery processing) with the external device 9 is performed.
The distribution server 2 communicates with the virtual machine allocation server 5 connected via the internal network NW1. Details will be described later.

配信サーバ2は、“Session_ID”で識別されるセッションで接続される外部装置9との配信状態が記録される配信状態記録部21を備える。この配信状態記録部21に記録される配信状態は、セッションが接続されているものの配信データをまだ配信できない状態(待機中)であれば「0」であり、一方、セッションが接続されており配信データを配信できる状態(配信中)であれば「1」である。例えば、配信状態記録部21には“Session_ID”と配信状態とが(Session_ID,1)のように記録される。また、セッションが開放された場合、配信サーバ2は、そのセッションに係る“Session_ID”のデータを配信状態記録部21から削除する。   The distribution server 2 includes a distribution state recording unit 21 that records a distribution state with the external device 9 connected in the session identified by “Session_ID”. The distribution status recorded in the distribution status recording unit 21 is “0” if the session is connected but the distribution data cannot be distributed yet (waiting), while the session is connected and distributed. “1” if the data can be distributed (during distribution). For example, the distribution state recording unit 21 records “Session_ID” and the distribution state as (Session_ID, 1). When the session is released, the distribution server 2 deletes the data of “Session_ID” related to the session from the distribution state recording unit 21.

また、配信サーバ2は、仮想マシンVMとして動作して、内部ネットワークNW1を介して接続された仮想マシン管理サーバ3からの指示(vMotion機能)に応じて、仮想マシンVMが外部装置9と確立したセッションを切断することなく、自装置に所属する仮想マシンVMを別の配信サーバ2に移動させる処理を行ったり、別の配信サーバ2から移動してきた仮想マシンVMを所属させたりする。   Further, the distribution server 2 operates as a virtual machine VM, and the virtual machine VM is established with the external device 9 in response to an instruction (vMotion function) from the virtual machine management server 3 connected via the internal network NW1. Without disconnecting the session, a process of moving the virtual machine VM belonging to the own apparatus to another distribution server 2 is performed, or a virtual machine VM moved from another distribution server 2 is assigned.

(仮想マシンVM)
図2に示すように、仮想マシンVMは、VODシステム部201と、RTSP監視部202とを有する。
仮想マシンVMは、配信サーバ2の制御部(CPU)により、VMware社のアプリケーションが実行されることでvMotion機能を有する。このvMotion機能は、配信サーバ2(例えば、配信サーバ2a)で稼働中の当該仮想マシンVMを、オンライン状態のまま別の配信サーバ2(例えば、配信サーバ2b)に移動することができるという機能である。
VODシステム部201は、ビデオオンデマンド(Video On Demand)を実現する構成部であり、外部装置9からの要求に応じて、蓄積サーバ4から要求されるメディアデータを取得して、外部装置9とのストリーミング配信を行う。
(Virtual machine VM)
As illustrated in FIG. 2, the virtual machine VM includes a VOD system unit 201 and an RTSP monitoring unit 202.
The virtual machine VM has a vMotion function by executing a VMware application by the control unit (CPU) of the distribution server 2. The vMotion function is a function capable of moving the virtual machine VM running on the distribution server 2 (for example, the distribution server 2a) to another distribution server 2 (for example, the distribution server 2b) while being online. is there.
The VOD system unit 201 is a component that realizes video on demand, acquires media data requested from the storage server 4 in response to a request from the external device 9, Streaming is performed.

また、仮想マシンVMは、配信サーバ2の制御部(CPU)により仮想マシン追加APが実行されることで、以下の機能を実行するRTSP監視部202を有する。
(1)セッションID記録機能
(2)配信開始記録機能
(3)配信停止記録機能
このRTSP監視部202は、配信サーバ2(仮想マシンVM)と外部装置9との間で通信されるRTSPパケットを監視し、各機能を実行する。以下に、各機能の詳細について説明する。
In addition, the virtual machine VM includes an RTSP monitoring unit 202 that executes the following functions when the virtual machine addition AP is executed by the control unit (CPU) of the distribution server 2.
(1) Session ID recording function (2) Distribution start recording function (3) Distribution stop recording function This RTSP monitoring unit 202 receives RTSP packets communicated between the distribution server 2 (virtual machine VM) and the external device 9. Monitor and execute each function. Details of each function will be described below.

(1)セッションID記録機能
配信サーバ2(仮想マシンVM)は、外部装置9から送信されるSETUPメッセージ(リクエストメッセージ)に対して、送信元の外部装置9と接続するセッションを識別する“Session_ID”を含むレスポンスメッセージを送信する。このとき、RTSP監視部202は、配信状態記録部21に“Session_ID”の配信状態を「0」(待機中)で記録させる。
(1) Session ID recording function In response to a SETUP message (request message) transmitted from the external device 9, the distribution server 2 (virtual machine VM) identifies “Session_ID” that identifies a session connected to the transmission source external device 9. Send a response message containing At this time, the RTSP monitoring unit 202 causes the distribution state recording unit 21 to record the distribution state of “Session_ID” as “0” (standby).

(2)配信開始記録機能
配信サーバ2(仮想マシンVM)は、外部装置9から送信される(初回の)PLAYメッセージ(リクエストメッセージ)に対して、送信元の外部装置9と接続するセッションを識別する“Session_ID”を含むレスポンスメッセージを送信する。このレスポンスメッセージに含まれる“Status_Code”が“200 OK”の場合、RTSP監視部202は、該当する“Session_ID”の配信状態を「1」(配信中)で配信状態記録部21に記録させる。このとき、記録している全データについて、配信状態のカウンタが「1」である個数(接続数)を求め、仮想マシンVMの識別番号(仮想マシンID)と接続数とを含めた配信状態通知メッセージを生成し、仮想マシン割当サーバ5に送信する。
ここで接続数とは、仮想マシンVM(配信サーバ2)が外部ネットワークNW2を介して、外部装置9と現在確立しているセッションの数である。配信サーバ2は、外部装置9にメディアコンテンツをストリーミング配信するごとに、外部装置9と新たにセッションを確立する。
(2) Distribution start recording function The distribution server 2 (virtual machine VM) identifies a session connected to the transmission source external device 9 in response to the (first) PLAY message (request message) transmitted from the external device 9. A response message including “Session_ID” is transmitted. When “Status_Code” included in this response message is “200 OK”, the RTSP monitoring unit 202 causes the distribution state recording unit 21 to record the distribution state of the corresponding “Session_ID” as “1” (during distribution). At this time, for all the recorded data, the number (connection number) of which the distribution state counter is “1” is obtained, and the distribution state notification including the identification number (virtual machine ID) of the virtual machine VM and the number of connections is obtained. A message is generated and transmitted to the virtual machine allocation server 5.
Here, the number of connections is the number of sessions that the virtual machine VM (distribution server 2) currently establishes with the external device 9 via the external network NW2. The distribution server 2 establishes a new session with the external device 9 every time streaming the media content to the external device 9.

(3)配信停止記録機能
配信サーバ2(仮想マシンVM)は、外部装置9から送信されるTEARDOWNメッセージ(リクエストメッセージ)に対して、送信元の外部装置9と接続するセッションを識別する“Session_ID”を含むレスポンスメッセージを送信する。そして、RTSP監視部202は、このレスポンスメッセージに含まれる“Session_ID”に係るデータを配信状態記録部21から削除する。
さらに、RTSP監視部202は、配信状態記録部21に記録されている全てのデータに対して、配信状態が「1」であるデータ数(接続数)を求め、仮想マシンVMの識別番号(仮想マシンID)と接続数とを含めた配信状態通知メッセージを生成し、仮想マシン割当サーバ5に送信する。
(3) Distribution stop recording function In response to a TEARDOWN message (request message) transmitted from the external device 9, the distribution server 2 (virtual machine VM) identifies “Session_ID” that identifies a session connected to the transmission source external device 9. Send a response message containing Then, the RTSP monitoring unit 202 deletes the data related to “Session_ID” included in this response message from the distribution status recording unit 21.
Further, the RTSP monitoring unit 202 obtains the number of data (number of connections) whose distribution status is “1” for all data recorded in the distribution status recording unit 21, and identifies the identification number (virtual number) of the virtual machine VM. A distribution status notification message including the machine ID) and the number of connections is generated and transmitted to the virtual machine allocation server 5.

(仮想マシン管理サーバ3)
仮想マシン管理サーバ3は、内蔵する制御部(CPU)がVMware社のアプリケーション“VMware(登録商標) vCenter Server”を実行することで一般的な機能として、仮想マシン監視手段31と、仮想マシン移動手段32と、配信サーバ電源管理手段33とを実現する装置である。
(Virtual machine management server 3)
The virtual machine management server 3 includes a virtual machine monitoring unit 31 and a virtual machine moving unit as general functions when the built-in control unit (CPU) executes the VMware application “VMware (registered trademark) vCenter Server”. 32 and the distribution server power management means 33.

(仮想マシン監視手段31)
仮想マシン監視手段31は、仮想マシンVMが所属する配信サーバ2(所属中配信サーバ)の情報を取得する。
(Virtual machine monitoring means 31)
The virtual machine monitoring unit 31 acquires information of the distribution server 2 (the belonging distribution server) to which the virtual machine VM belongs.

(仮想マシン移動手段32)
仮想マシン移動手段32は、仮想マシンVMを、所属中配信サーバ2から別の配信サーバ2(所属先配信サーバ)に移動させる。
(Virtual machine moving means 32)
The virtual machine moving unit 32 moves the virtual machine VM from the belonging distribution server 2 to another distribution server 2 (affiliation destination distribution server).

(配信サーバ電源管理手段33)
配信サーバ電源管理手段33は、配信サーバ2に電力供給量を制限させる指示をする。例えば、配信サーバ電源管理手段33は、電源のON/OFFを切り替える指示をする。また、配信サーバ2が「通常モード」と、通常モードより少ない電力で駆動する「省電力モード(スタンバイモード)」とを備える場合、配信サーバ電源管理手段33は、配信サーバ2に対して、「通常モード」または「省電力モード」に切り替える指示をする。
(Distribution server power management means 33)
The distribution server power management unit 33 instructs the distribution server 2 to limit the power supply amount. For example, the distribution server power management unit 33 gives an instruction to switch the power ON / OFF. Further, when the distribution server 2 includes the “normal mode” and the “power saving mode (standby mode)” that is driven with less power than the normal mode, the distribution server power management unit 33 instructs the distribution server 2 to “ An instruction to switch to “normal mode” or “power saving mode” is given.

(蓄積サーバ4)
蓄積サーバ4は、配信データを蓄積するサーバである。例えば、ストリーミング配信される音楽や映像などのメディアデータである。蓄積サーバ4は、配信サーバ2(仮想マシンVM)からの要求に応じて、要求された配信データを配信サーバ2に出力する。
(Storage server 4)
The accumulation server 4 is a server that accumulates distribution data. For example, it is media data such as music and video that are streamed. The storage server 4 outputs the requested distribution data to the distribution server 2 in response to a request from the distribution server 2 (virtual machine VM).

(仮想マシン割当サーバ5)
仮想マシン割当サーバ5は、仮想マシンVMの移動先の配信サーバ2を決定する仮想マシン集約手段51と、配信サーバ最大接続数管理テーブル52(図3)と、仮想マシン接続数管理テーブル53(図4)とを備える。
(Virtual machine allocation server 5)
The virtual machine allocation server 5 includes a virtual machine aggregation unit 51 that determines the distribution server 2 to which the virtual machine VM is moved, a distribution server maximum connection number management table 52 (FIG. 3), and a virtual machine connection number management table 53 (FIG. 3). 4).

(配信サーバ最大接続数管理テーブル52)
配信サーバ最大接続数管理テーブル52は、配信サーバ2を識別する“配信サーバID”と、その配信サーバIDに該当する配信サーバ2が確立可能なセッションの最大数を示す“最大接続数”とを記憶する。
図3に、図1の状態であるときの配信サーバ最大接続数管理テーブル52の一例を示す。配信サーバ最大接続数管理テーブル52には、配信サーバID“NS−ID2a”で識別される配信サーバ2aの最大接続数が“10”であること、配信サーバID“NS−ID2b”で識別される配信サーバ2bの最大接続数が“9”であること、配信サーバID“NS−ID2c”で識別される配信サーバ2cの最大接続数が“6”であることが記憶されている。
ここで、“最大接続数”は、配信サーバ2が確立可能なセッションの最大数でなくてもよく、余裕をもたせた数値であってもよい。例えば、最大数の80%の数値であってもよい。
(Distribution server maximum connection number management table 52)
The distribution server maximum connection number management table 52 includes a “distribution server ID” for identifying the distribution server 2 and a “maximum number of connections” indicating the maximum number of sessions that can be established by the distribution server 2 corresponding to the distribution server ID. Remember.
FIG. 3 shows an example of the distribution server maximum connection number management table 52 in the state of FIG. In the distribution server maximum connection number management table 52, the maximum number of connections of the distribution server 2a identified by the distribution server ID “NS-ID2a” is “10”, and the distribution server ID “NS-ID2b” is identified. It is stored that the maximum number of connections of the distribution server 2b is “9” and the maximum number of connections of the distribution server 2c identified by the distribution server ID “NS-ID2c” is “6”.
Here, the “maximum number of connections” may not be the maximum number of sessions that can be established by the distribution server 2, but may be a numerical value with a margin. For example, the numerical value may be 80% of the maximum number.

(仮想マシン接続数管理テーブル53)
仮想マシン接続数管理テーブル53は、仮想マシンVMを識別する“仮想マシンID”と、その仮想マシンIDに該当する仮想マシンVMが現在確立しているセッションの数を示す“接続数”とを記憶する。
図4に、図1の状態であるときの仮想マシン接続数管理テーブル53の一例を示す。仮想マシン接続数管理テーブル53には、仮想マシンID“VM−ID01”で識別される仮想マシンVM1の接続数が“6”であること、仮想マシンID“VM−ID02”で識別される仮想マシンVM2の接続数が“2”であること、仮想マシンID“VM−ID03”で識別される仮想マシンVM3の接続数が“4”であること、仮想マシンID“VM−ID04”で識別される仮想マシンVM4の接続数が“1”であること、仮想マシンID“VM−ID05”で識別される仮想マシンVM5の接続数が“3”であることが記憶されている。
(Virtual Machine Connection Number Management Table 53)
The virtual machine connection number management table 53 stores a “virtual machine ID” for identifying the virtual machine VM and a “number of connections” indicating the number of sessions currently established by the virtual machine VM corresponding to the virtual machine ID. To do.
FIG. 4 shows an example of the virtual machine connection number management table 53 in the state of FIG. In the virtual machine connection number management table 53, the number of connections of the virtual machine VM1 identified by the virtual machine ID “VM-ID01” is “6”, and the virtual machine identified by the virtual machine ID “VM-ID02” The number of connections of VM2 is “2”, the number of connections of virtual machine VM3 identified by virtual machine ID “VM-ID03” is “4”, and identified by virtual machine ID “VM-ID04” It is stored that the number of connections of the virtual machine VM4 is “1” and that the number of connections of the virtual machine VM5 identified by the virtual machine ID “VM-ID05” is “3”.

(仮想マシン集約手段51)
仮想マシン集約手段51は、配信サーバ2(仮想マシンVM)から配信状態通知メッセージを受信したことを契機に、配信サーバ2間で仮想マシンVMを移動させて、仮想マシンVMが所属しない配信サーバ2が存在するような、配信サーバ2(2a〜2c)と仮想マシンVM(VM1〜VM5)との組み合わせを探索し、その組み合わせを抽出する構成部である。
(Virtual machine aggregation means 51)
The virtual machine aggregation unit 51 moves the virtual machine VM between the distribution servers 2 when receiving the distribution status notification message from the distribution server 2 (virtual machine VM), and the distribution server 2 to which the virtual machine VM does not belong. Is a component that searches for a combination of the distribution server 2 (2a to 2c) and the virtual machine VM (VM1 to VM5) and extracts the combination.

仮想マシン集約手段51は、配信サーバ2(仮想マシンVM)から送信された配信状態通知メッセージに基づき、仮想マシン接続数管理テーブル53における仮想マシンVMの接続数の数値を更新する。この仮想マシン集約手段51は、配信状態通知メッセージに含まれる「仮想マシンID」と「接続数」とを取得して、仮想マシン接続数管理テーブル53の「仮想マシンID」に対応する「接続数」の数値を、取得した「接続数」で更新する。   The virtual machine aggregation unit 51 updates the numerical value of the number of connections of the virtual machine VM in the virtual machine connection number management table 53 based on the distribution state notification message transmitted from the distribution server 2 (virtual machine VM). The virtual machine aggregation unit 51 acquires the “virtual machine ID” and the “number of connections” included in the distribution status notification message, and the “number of connections” corresponding to the “virtual machine ID” in the virtual machine connection number management table 53. ”Is updated with the acquired“ Number of connections ”.

仮想マシン集約手段51は、仮想マシン管理サーバ3に、仮想マシンVMそれぞれが所属する配信サーバ2の情報の提供を要求する。これにより、どの配信サーバ2にどの仮想マシンVMが所属しているのか(配信サーバ2がどの仮想マシンVMとして動作しているのか)という情報を、仮想マシン集約手段51は仮想マシン管理サーバ3から取得することができる。第1の実施形態において、この情報は、仮想マシン管理サーバ3にインストールされたVMware社の“VMware(登録商標) vCenter Server”がデフォルトの構成で提供しているvSphere APIの機能を利用して得られる情報である。すなわち、どの配信サーバ2にどの仮想マシンVMが所属しているのかという情報は、仮想マシン集約手段51が仮想マシン管理サーバ3に要求することで容易に得られる。   The virtual machine aggregation unit 51 requests the virtual machine management server 3 to provide information on the distribution server 2 to which each virtual machine VM belongs. As a result, the virtual machine aggregation unit 51 obtains information on which distribution server 2 belongs to which virtual machine VM (which distribution server 2 operates as which virtual machine VM) from the virtual machine management server 3. Can be acquired. In the first embodiment, this information is obtained by using the function of the vSphere API provided by “VMware (registered trademark) vCenter Server” of VMware, which is installed in the virtual machine management server 3, with a default configuration. Information. That is, information as to which virtual machine VM belongs to which distribution server 2 can be easily obtained when the virtual machine aggregation means 51 requests the virtual machine management server 3.

仮想マシン集約手段51は、仮想マシン接続数管理テーブル53を参照して、仮想マシンVMそれぞれの「接続数」を取得し、配信サーバ最大接続数管理テーブル52を参照して、配信サーバ2の「最大接続数」を取得する。
そして、仮想マシン集約手段51は、仮想マシン管理サーバ3から取得した「仮想マシンVMがどの配信サーバ2に所属しているかを示す情報」と、「仮想マシンVMの接続数」と、「配信サーバ2の最大接続数」との3つの情報から、配信サーバ2間で仮想マシンVMを移動させて、仮想マシンVMが所属しない配信サーバ2が存在するような、配信サーバ2(2a〜2c)と仮想マシンVM(VM1〜VM5)との組み合わせを探索し、その組み合わせを抽出する。
The virtual machine aggregation unit 51 refers to the virtual machine connection number management table 53 to acquire the “connection number” of each virtual machine VM, and refers to the distribution server maximum connection number management table 52 to refer to “ Get "Maximum number of connections".
The virtual machine aggregation means 51 acquires “information indicating which distribution server 2 the virtual machine VM belongs to” acquired from the virtual machine management server 3, “number of connections of the virtual machine VM”, and “distribution server” The distribution server 2 (2a to 2c) such that there is a distribution server 2 to which the virtual machine VM does not belong by moving the virtual machine VM between the distribution servers 2 from the three pieces of information “maximum number of connections of 2”. A combination with the virtual machines VM (VM1 to VM5) is searched and the combination is extracted.

仮想マシン集約手段51が探索する組み合わせの例を、図1,図3,図4を用いて説明する。
図1に示すように、最大接続数が“10”の配信サーバ2aには、接続数が“6”の仮想マシンVM1と、接続数が“2”の仮想マシンVM2とが所属している。また、最大接続数が“9”の配信サーバ2bには、接続数が“4”の仮想マシンVM3と、接続数が“1”の仮想マシンVM4とが所属している。そして、最大接続数が“8”の配信サーバ2cには、接続数が“3”の仮想マシンVM5が所属している。
Examples of combinations searched by the virtual machine aggregation unit 51 will be described with reference to FIGS.
As shown in FIG. 1, a virtual machine VM1 having a connection number of “6” and a virtual machine VM2 having a connection number of “2” belong to the distribution server 2a having a maximum connection number of “10”. In addition, the virtual machine VM3 with the number of connections “4” and the virtual machine VM4 with the number of connections “1” belong to the distribution server 2b with the maximum number of connections “9”. Then, the virtual machine VM5 with the number of connections “3” belongs to the distribution server 2c with the maximum number of connections “8”.

この状態において、仮想マシン集約手段51は、配信サーバ2と仮想マシンVMとの組み合わせを探索する。この探索において、最大接続数が“9”の配信サーバ2bの残り接続数が“4”であることを算出し、配信サーバ2cに所属する仮想マシンVM5(接続数“3”)を移動させて、配信サーバ2bに所属させることで、仮想マシンVMが所属しない配信サーバ2cを捻出する組み合わせ(パターン1)を抽出する。   In this state, the virtual machine aggregation unit 51 searches for a combination of the distribution server 2 and the virtual machine VM. In this search, it is calculated that the number of remaining connections of the distribution server 2b whose maximum number of connections is “9” is “4”, and the virtual machine VM5 (number of connections “3”) belonging to the distribution server 2c is moved. Then, by belonging to the distribution server 2b, a combination (pattern 1) for extracting the distribution server 2c to which the virtual machine VM does not belong is extracted.

また、この探索において、最大接続数が“8”の配信サーバ2cの残り接続数が“5”であることを算出し、配信サーバ2bに所属する仮想マシンVM3(接続数“4”)と仮想マシンVM4(接続数“1”)を移動させて、配信サーバ2cに所属させることで、仮想マシンVMが所属しない配信サーバ2bを捻出する組み合わせ(パターン2)を抽出する。
また、この探索において、最大接続数が“10”の配信サーバ2aの残り接続数が“2”であることを算出し、配信サーバ2bに所属する仮想マシンVM4(接続数“1”)を移動させ、さらに最大接続数が“8”の配信サーバ2cの残り接続数が“5”であることを算出し、配信サーバ2bに所属する仮想マシンVM3(接続数“4”)を移動させて、配信サーバ2cに所属させることで、仮想マシンVMが所属しない配信サーバ2bを捻出する組み合わせ(パターン3)を抽出する。
仮想マシン集約手段51は、抽出した組み合わせパターンより、移動コストが最も低い(移動する回数が少ない)組み合わせを選択する。
ここで、パターン1は、1つの配信サーバに対して1つの仮想マシンVMを移動するものであり、パターン2は、1つの配信サーバに対して2つの仮想マシンVMを移動するものであり、パターン3は、2つの各配信サーバに対して1つずつの仮想マシンVMを移動するものである。
よって、仮想マシン集約手段51は、最終的に、抽出した組み合わせのパターン1〜パターン3からパターン1を選択し、配信サーバ2cに所属する仮想マシンVM5を移動させて、配信サーバ2bに所属させることで、仮想マシンVMが所属しない配信サーバ2cを捻出する組み合わせを抽出する。
Further, in this search, it is calculated that the remaining number of connections of the distribution server 2c with the maximum number of connections “8” is “5”, and the virtual machine VM3 (number of connections “4”) belonging to the distribution server 2b and the virtual By moving the machine VM4 (number of connections “1”) and belonging to the distribution server 2c, a combination (pattern 2) for extracting the distribution server 2b to which the virtual machine VM does not belong is extracted.
Further, in this search, it is calculated that the remaining number of connections of the distribution server 2a having the maximum connection number “10” is “2”, and the virtual machine VM4 (number of connections “1”) belonging to the distribution server 2b is moved. Further, it is calculated that the number of remaining connections of the distribution server 2c with the maximum number of connections “8” is “5”, and the virtual machine VM3 (number of connections “4”) belonging to the distribution server 2b is moved, By making it belong to the distribution server 2c, a combination (pattern 3) for extracting the distribution server 2b to which the virtual machine VM does not belong is extracted.
The virtual machine aggregation unit 51 selects a combination having the lowest movement cost (the number of times of movement is smaller) than the extracted combination pattern.
Here, the pattern 1 is for moving one virtual machine VM for one distribution server, and the pattern 2 is for moving two virtual machines VM for one distribution server. 3 moves one virtual machine VM to each of the two distribution servers.
Therefore, the virtual machine aggregation unit 51 finally selects the pattern 1 from the extracted patterns 1 to 3 of the combination, moves the virtual machine VM5 belonging to the distribution server 2c, and makes it belong to the distribution server 2b. Thus, a combination for creating the distribution server 2c to which the virtual machine VM does not belong is extracted.

以上のように、仮想マシン集約手段51は、仮想マシンVM5を配信サーバ2bに所属させる組み合わせを抽出する。   As described above, the virtual machine aggregation unit 51 extracts a combination that causes the virtual machine VM5 to belong to the distribution server 2b.

<RTSPのシーケンス>
第1の実施形態において、配信サーバ2(仮想マシンVM)と、外部装置9との間でやりとりされるRTSPのシーケンスの一例を図5に示す。そして、図6〜図11にRTSPのシーケンスにおけるメッセージの一例を示す。例えば、利用者(視聴者)が以下、外部装置9の操作部(不図示)を介して、映像の視聴要求を入力することで、外部装置9は配信サーバ2との通信処理を開始する。
<RTSP sequence>
An example of the RTSP sequence exchanged between the distribution server 2 (virtual machine VM) and the external device 9 in the first embodiment is shown in FIG. FIG. 6 to FIG. 11 show examples of messages in the RTSP sequence. For example, when a user (viewer) inputs a video viewing request via an operation unit (not shown) of the external device 9, the external device 9 starts communication processing with the distribution server 2.

まず、外部装置9は、DESCRIBEメソッドを含むリクエストメッセージを配信サーバ2に送信する(ステップS101)。これに対して、配信サーバ2は、外部装置9にレスポンスメッセージ(description)を送信する(ステップS102)。   First, the external device 9 transmits a request message including the DESCRIBE method to the distribution server 2 (step S101). In response to this, the distribution server 2 transmits a response message (description) to the external device 9 (step S102).

次に、外部装置9は、配信サーバ2にSETUPメッセージ(図6)を送信する(ステップS103)。受信した配信サーバ2は、リソースを確保し、レスポンスメッセージ(図7)を外部装置9に送信して、外部装置9とのセッションを開始する(ステップS104)。
次に、外部装置9は、PLAYメッセージ(図8)を配信サーバ2に送信する(ステップS105)。受信した配信サーバ2は、外部装置9に、レスポンスメッセージ(図9)を送信する(ステップS106)。その後、配信サーバ2は、外部装置9に対して、メディアデータ(映像データ)のストリーミング配信を開始する。
これにより、外部装置9と、配信サーバ2との間で、RTP(Real-time Transport Protocol)やRTCP(RTP Control Protocol)に準じたストリーミング配信(データの送受信)が行われる。
Next, the external device 9 transmits a SETUP message (FIG. 6) to the distribution server 2 (step S103). The received distribution server 2 secures resources, transmits a response message (FIG. 7) to the external device 9, and starts a session with the external device 9 (step S104).
Next, the external device 9 transmits a PLAY message (FIG. 8) to the distribution server 2 (step S105). The received distribution server 2 transmits a response message (FIG. 9) to the external device 9 (step S106). Thereafter, the distribution server 2 starts streaming distribution of media data (video data) to the external device 9.
Thereby, streaming distribution (data transmission / reception) according to RTP (Real-time Transport Protocol) or RTCP (RTP Control Protocol) is performed between the external device 9 and the distribution server 2.

その後、外部装置9は、PAUSEメッセージを配信サーバ2に送信する(ステップS107)。受信した配信サーバ2は、ストリーミング配信を中断し、レスポンスメッセージを外部装置9に送信する(ステップS108)。
次に、外部装置9は、TEARDOWNメッセージ(図10)を配信サーバ2に送信する(ステップS109)。受信した配信サーバ2は、終了させるセッションの“Session_ID”を含めたレスポンスメッセージ(図11)を外部装置9に送信してから、リソースを解放し、外部装置9とのセッションを終了する(ステップS110)。
Thereafter, the external device 9 transmits a PAUSE message to the distribution server 2 (step S107). The received distribution server 2 interrupts the streaming distribution and transmits a response message to the external device 9 (step S108).
Next, the external device 9 transmits a TEARDOWN message (FIG. 10) to the distribution server 2 (step S109). The received distribution server 2 transmits a response message (FIG. 11) including the “Session_ID” of the session to be terminated to the external device 9, releases the resources, and terminates the session with the external device 9 (step S110). ).

<集約処理>
第1の実施形態において仮想マシン割当サーバ5が実行する集約処理について、図12Aを用いて、配信サーバ2(仮想マシンVM)と、仮想マシン管理サーバ3と、仮想マシン割当サーバ5との間で行われるシーケンスとともに説明する。ここでは、例として、前記パターン1の組み合わせが選択され、図1に示す配信サーバ2cに所属する仮想マシンVM5が配信サーバ2bに移動する処理を説明する。
<Aggregation processing>
Regarding the aggregation processing executed by the virtual machine allocation server 5 in the first embodiment, the distribution server 2 (virtual machine VM), the virtual machine management server 3, and the virtual machine allocation server 5 are used with reference to FIG. 12A. It will be described together with the sequence to be performed. Here, as an example, a process will be described in which the combination of the pattern 1 is selected and the virtual machine VM5 belonging to the distribution server 2c illustrated in FIG. 1 moves to the distribution server 2b.

まず、配信サーバ2cに所属する仮想マシンVM5が、外部装置9aと、Session_IDが“Session1001”で識別されるセッションで接続されているとする。このとき、仮想マシンVM5のRTSP監視部202により、配信状態記録部21には〔Session1001,0〕が記録されている。
そして、配信サーバ2cに所属する仮想マシンVM5は、外部装置9から受信したPLAYメッセージに対してレスポンスメッセージを送信する。このレスポンスメッセージに含まれるStatus_Codeが“200 OK”である場合(ステップS201)に、RTSP監視部202は、配信状態記録部21に〔Session1001,1〕を記録する(ステップS202)。
First, it is assumed that the virtual machine VM5 belonging to the distribution server 2c is connected to the external device 9a through a session identified by Session_ID “Session1001”. At this time, [Session1001,0] is recorded in the distribution status recording unit 21 by the RTSP monitoring unit 202 of the virtual machine VM5.
The virtual machine VM5 belonging to the distribution server 2c transmits a response message to the PLAY message received from the external device 9. When the Status_Code included in this response message is “200 OK” (step S201), the RTSP monitoring unit 202 records [Session1001,1] in the distribution status recording unit 21 (step S202).

RTSP監視部202は、配信状態記録部21に「1」で記録されたセッションIDの数を数え、その総数である仮想マシンVM5の接続数を算出する(ステップS203)。そして、RTSP監視部202は、仮想マシンVM5の「仮想マシンID」と「接続数」とを含む配信状態通知メッセージを作成し、配信サーバ2cの通信部を介して、仮想マシン割当サーバ5に送信する(ステップS204)。   The RTSP monitoring unit 202 counts the number of session IDs recorded with “1” in the distribution status recording unit 21, and calculates the total number of connections of the virtual machine VM5 (step S203). Then, the RTSP monitoring unit 202 creates a distribution status notification message including the “virtual machine ID” and “number of connections” of the virtual machine VM5, and transmits it to the virtual machine allocation server 5 via the communication unit of the distribution server 2c. (Step S204).

仮想マシン割当サーバ5は、配信サーバ2cから配信状態通知メッセージを受信する。仮想マシン集約手段51は、配信状態通知メッセージに含まれる「仮想マシンID」と「接続数」とを取得して、仮想マシン接続数管理テーブル53にて仮想マシンVM5の接続数の数値を更新する(ステップS205)。   The virtual machine allocation server 5 receives the distribution status notification message from the distribution server 2c. The virtual machine aggregation unit 51 acquires “virtual machine ID” and “number of connections” included in the distribution status notification message, and updates the numerical value of the number of connections of the virtual machine VM5 in the virtual machine connection number management table 53. (Step S205).

配信サーバ2から配信状態通知メッセージを受信した仮想マシン割当サーバ5の仮想マシン集約手段51は、仮想マシン管理サーバ3に仮想マシンVMが所属する配信サーバ情報を要求する(ステップS206)。
仮想マシン管理サーバ3の仮想マシン監視手段31は、監視する全ての仮想マシンVMの「仮想マシンID」と、その仮想マシンVMが所属する配信サーバ2の「配信サーバID」とを含む仮想マシンが所属する配信サーバ情報を、仮想マシン割当サーバ5に送信する(ステップS207)。
The virtual machine aggregation unit 51 of the virtual machine allocation server 5 that has received the distribution status notification message from the distribution server 2 requests the distribution server information to which the virtual machine VM belongs from the virtual machine management server 3 (step S206).
The virtual machine monitoring means 31 of the virtual machine management server 3 is a virtual machine including “virtual machine IDs” of all virtual machines VM to be monitored and “distribution server IDs” of the distribution server 2 to which the virtual machine VM belongs. The belonging distribution server information is transmitted to the virtual machine allocation server 5 (step S207).

仮想マシン集約手段51は、仮想マシン管理サーバ3から取得した配信サーバ情報と、仮想マシン接続数管理テーブル53に記憶されたデータとに基づき、配信サーバ2それぞれの接続数を算出する(ステップS208)。   The virtual machine aggregation unit 51 calculates the number of connections of each distribution server 2 based on the distribution server information acquired from the virtual machine management server 3 and the data stored in the virtual machine connection number management table 53 (step S208). .

仮想マシン集約手段51は、配信サーバ最大接続数管理テーブル52を参照して、配信サーバ2の最大接続数を取得する。そして、最大接続数から、ステップS208で算出した接続数を差分して、配信サーバ2の残り接続可能数を算出する(ステップS209)。それらの算出処理を、配信サーバ最大接続数管理テーブル52に記録された全ての配信サーバ2に対して行い、配信サーバ2それぞれの残り接続可能数を算出する。   The virtual machine aggregation unit 51 refers to the distribution server maximum connection number management table 52 and acquires the maximum number of connections of the distribution server 2. Then, the number of connections calculated in step S208 is subtracted from the maximum number of connections to calculate the remaining connectable number of distribution servers 2 (step S209). These calculation processes are performed for all the distribution servers 2 recorded in the distribution server maximum connection number management table 52, and the remaining connectable numbers of the distribution servers 2 are calculated.

仮想マシン集約手段51は、仮想マシン接続数管理テーブル53に記憶された仮想マシンVMの接続数と、ステップS209で算出した配信サーバ2の残り接続可能数と、配信サーバ情報に含まれる仮想マシンVMの所属先配信サーバとの3つの情報から、仮想マシンVMを移動(集約)して、配信サーバ2の稼動数を減らすことが可能な組み合わせがあるか否かを探索する(ステップS210)。
探索の結果、組み合わせがあれば、仮想マシン集約手段51は、移動させる仮想マシンVM(VM5)の「仮想マシンID」(VM−ID05)と、所属中の配信サーバ2の「配信サーバID」(NS−ID2c)と、移動先の配信サーバ2の「配信サーバID」(NS−ID2b)とを含めた移動要求メッセージを作成し、仮想マシン管理サーバ3に送信する(ステップS211)。
一方、ステップS210の探索の結果、組み合わせがなければ、次の配信状態通知メッセージ(ステップS204)を受信するまで待機する。
The virtual machine aggregation unit 51 includes the number of connections of the virtual machine VM stored in the virtual machine connection number management table 53, the remaining connectable number of the distribution server 2 calculated in step S209, and the virtual machine VM included in the distribution server information. The virtual machine VM is moved (aggregated) from the three pieces of information with the affiliation distribution server, and it is searched whether there is a combination that can reduce the number of operations of the distribution server 2 (step S210).
If there is a combination as a result of the search, the virtual machine aggregation unit 51 determines the “virtual machine ID” (VM-ID05) of the virtual machine VM (VM5) to be moved and the “distribution server ID” ( NS-ID 2c) and a “distribution server ID” (NS-ID 2b) of the destination distribution server 2 are created and transmitted to the virtual machine management server 3 (step S211).
On the other hand, if there is no combination as a result of the search in step S210, the process waits until the next delivery state notification message (step S204) is received.

ステップS211の後、仮想マシン管理サーバ3は、仮想マシン割当サーバ5から移動要求メッセージを受信する。
仮想マシン移動手段32は、移動要求メッセージを解析して、vMotion機能を利用して、仮想マシンVM5を所属中の配信サーバ2cから、移動先の配信サーバ2bに移動させる処理(仮想マシン移動処理)を行う(ステップS212)。この仮想マシン移動処理により、仮想マシンVM5の移動が完了する。
After step S <b> 211, the virtual machine management server 3 receives a movement request message from the virtual machine allocation server 5.
The virtual machine moving means 32 analyzes the movement request message and uses the vMotion function to move the virtual machine VM5 from the distribution server 2c to which it belongs to the distribution server 2b to which the virtual machine VM5 belongs (virtual machine movement processing). Is performed (step S212). With this virtual machine movement process, the movement of the virtual machine VM5 is completed.

ステップS212の処理後、仮想マシン移動処理の完了確認を行う(ステップS213)。そして、ステップS213の処理後、仮想マシン集約手段51は、ステップS211の処理で、仮想マシン管理サーバ3に送信した仮想マシン移動要求メッセージに含めた所属中の配信サーバ2cに対する電源オフ要求メッセージを、仮想マシン管理サーバ3に送信する(ステップS214)。その後、仮想マシン集約手段51は、次に配信状態通知メッセージ(ステップS204)を受信するまで待機する。   After the process of step S212, completion confirmation of the virtual machine migration process is performed (step S213). Then, after the process of step S213, the virtual machine aggregation unit 51 outputs a power-off request message to the belonging distribution server 2c included in the virtual machine movement request message transmitted to the virtual machine management server 3 in the process of step S211. It transmits to the virtual machine management server 3 (step S214). Thereafter, the virtual machine aggregation unit 51 stands by until the next distribution status notification message (step S204) is received.

ここで、ステップS213の処理(仮想マシン移動処理の完了確認)は、ステップS211の処理で送信した仮想マシン移動要求メッセージが、同期メッセージなのか非同期メッセージなのかによって、電源オフ要求メッセージを送るタイミングが変わる。そのため、仮想マシン移動要求メッセージが、同期メッセージである場合と非同期メッセージである場合とに分けて説明する。   Here, in the process of step S213 (confirmation of completion of the virtual machine migration process), the timing for sending the power-off request message depends on whether the virtual machine migration request message transmitted in the process of step S211 is a synchronous message or an asynchronous message. change. Therefore, the case where the virtual machine movement request message is a synchronous message will be described separately.

<仮想マシン移動要求メッセージが同期メッセージである場合>
仮想マシン移動要求メッセージが同期メッセージである場合の処理について、図12Bを用いて、配信サーバ2(仮想マシンVM)と、仮想マシン管理サーバ3と、仮想マシン割当サーバ5との間で行われるシーケンス(ステップS2131〜ステップS2132)とともに説明する。
<When the virtual machine movement request message is a synchronous message>
About processing when the virtual machine movement request message is a synchronous message, a sequence performed among the distribution server 2 (virtual machine VM), the virtual machine management server 3, and the virtual machine allocation server 5 with reference to FIG. This will be described together with (Steps S2131 to S2132).

ステップS212(図12A)により、所属中の配信サーバ2cから、移動先の配信サーバ2bに移動させる処理(仮想マシン移動処理)が完了すると、所属中の配信サーバ2cと移動先の配信サーバ2bは、仮想マシン管理サーバ3の仮想マシン移動手段32に、ステップS212(仮想マシン移動処理実行)に対するレスポンスメッセージとしてACKメッセージを送信する(ステップS2131)。
仮想マシン管理サーバ3の仮想マシン移動手段32は、仮想マシン割当サーバ5の仮想マシン集約手段51に、ステップS211(仮想マシン移動要求メッセージ送信)に対するレスポンスメッセージとしてACKメッセージを送信する(ステップS2132)。
When the process of moving from the affiliated distribution server 2c to the destination delivery server 2b (virtual machine migration process) is completed in step S212 (FIG. 12A), the affiliated distribution server 2c and the destination delivery server 2b are moved to each other. Then, an ACK message is transmitted as a response message to step S212 (virtual machine movement processing execution) to the virtual machine moving means 32 of the virtual machine management server 3 (step S2131).
The virtual machine migration unit 32 of the virtual machine management server 3 transmits an ACK message as a response message to step S211 (virtual machine migration request message transmission) to the virtual machine aggregation unit 51 of the virtual machine allocation server 5 (step S2132).

<仮想マシン移動要求メッセージが非同期メッセージである場合>
一方、仮想マシン移動要求メッセージが非同期メッセージである場合の処理について、図12Cを用いて、配信サーバ2(仮想マシンVM)と、仮想マシン管理サーバ3と、仮想マシン割当サーバ5との間で行われるシーケンス(ステップS2133〜ステップS2135)とともに説明する。
<When the virtual machine movement request message is an asynchronous message>
On the other hand, the processing when the virtual machine movement request message is an asynchronous message is performed among the distribution server 2 (virtual machine VM), the virtual machine management server 3, and the virtual machine allocation server 5 with reference to FIG. 12C. Will be described together with the sequence (steps S2133 to S2135).

仮想マシン割当サーバ5の仮想マシン集約手段51は、ステップS211(仮想マシン移動要求メッセージ送信)の処理から所定時間後に、仮想マシン管理サーバ3に配信サーバ情報を要求する(ステップS2133)。
仮想マシン管理サーバ3の仮想マシン監視手段31は、監視する全ての仮想マシンVMの「仮想マシンID」と、その仮想マシンVMが所属する配信サーバ2の「配信サーバID」とを含めた、つまり、仮想マシンVMが所属する配信サーバの情報(配信サーバ情報)を、仮想マシン割当サーバ5の仮想マシン集約手段51に送信する(ステップS2134)。
The virtual machine aggregation means 51 of the virtual machine allocation server 5 requests distribution server information from the virtual machine management server 3 after a predetermined time from the processing of step S211 (virtual machine movement request message transmission) (step S2133).
The virtual machine monitoring unit 31 of the virtual machine management server 3 includes the “virtual machine ID” of all the virtual machines VM to be monitored and the “distribution server ID” of the distribution server 2 to which the virtual machine VM belongs. Information of the distribution server to which the virtual machine VM belongs (distribution server information) is transmitted to the virtual machine aggregation means 51 of the virtual machine allocation server 5 (step S2134).

仮想マシン割当サーバ5の仮想マシン集約手段51は、仮想マシン管理サーバ3の仮想マシン監視手段31から取得した配信サーバ情報に基づき、ステップS211で送信した移動要求メッセージに含めた「仮想マシンID」と「配信サーバID」との組み合わせと、配信サーバ情報から得られるその「仮想マシンID」に該当する仮想マシンVMが現在所属する配信サーバ2の「配信サーバID」とが一致するか否かにより、ステップS211で移動対象の仮想マシンVMが、移動先として指示した「配信サーバID」に該当する配信サーバ2への仮想マシン移動処理が完了したか否かを判定する(ステップS2135)。   Based on the distribution server information acquired from the virtual machine monitoring unit 31 of the virtual machine management server 3, the virtual machine aggregation unit 51 of the virtual machine allocation server 5 includes the “virtual machine ID” included in the movement request message transmitted in step S211. Depending on whether or not the combination of the “distribution server ID” and the “distribution server ID” of the distribution server 2 to which the virtual machine VM corresponding to the “virtual machine ID” obtained from the distribution server information currently belongs is the same, In step S211, the virtual machine VM to be moved determines whether or not the virtual machine movement processing to the distribution server 2 corresponding to the “distribution server ID” instructed as the movement destination has been completed (step S2135).

ここで、ステップS211の処理に基づく仮想マシン移動処理が完了していない場合(ステップS2135,No)、仮想マシン割当サーバ5の仮想マシン集約手段51は、ステップS2133に戻り、再び、仮想マシン管理サーバ3に仮想マシンVMが所属する配信サーバ情報を要求する。
一方、ステップS211の処理に基づく仮想マシン移動処理が完了した場合(ステップS2135,Yes)、仮想マシン割当サーバ5の仮想マシン集約手段51は、次の処理(ステップS214,図12A)を行う。
Here, when the virtual machine movement process based on the process of step S211 is not completed (step S2135, No), the virtual machine aggregation unit 51 of the virtual machine allocation server 5 returns to step S2133, and again the virtual machine management server 3 requests distribution server information to which the virtual machine VM belongs.
On the other hand, when the virtual machine migration process based on the process of step S211 is completed (step S2135, Yes), the virtual machine aggregation unit 51 of the virtual machine allocation server 5 performs the following process (step S214, FIG. 12A).

図12Aに戻る。
ステップS214の後、配信サーバ2cに対する電源オフ要求メッセージを受信した仮想マシン管理サーバ3の配信サーバ電源管理手段33は、配信サーバ2cに対して、電源オフ指示を送信する(ステップS215)。指示を受けた配信サーバ2の電力制御部22は、電源をOFFする処理を行う(ステップS216)。以上のように集約処理が行われる。
Returning to FIG.
After step S214, the distribution server power management means 33 of the virtual machine management server 3 that has received the power-off request message for the distribution server 2c transmits a power-off instruction to the distribution server 2c (step S215). Receiving the instruction, the power control unit 22 of the distribution server 2 performs a process of turning off the power (step S216). Aggregation processing is performed as described above.

この例では、便宜上、配信状態通知メッセージを送信した仮想マシンVM5が移動対象となっているが、配信状態通知メッセージの送信元の配信サーバ2の仮想マシンVMが必ずしも移動対象となるわけではない。   In this example, for the sake of convenience, the virtual machine VM5 that has transmitted the distribution status notification message is the movement target, but the virtual machine VM of the distribution server 2 that is the transmission source of the distribution status notification message is not necessarily the movement target.

《第2の実施形態》
図13に示す第2の実施形態の配信システム1Aは、仮想マシンVMの配信ビットレートを用いて、仮想マシンVMが所属しない配信サーバ2が存在するような、配信サーバ2と仮想マシンVMとの組み合わせを探索する。第2の実施形態の配信システム1Aは、「接続数」の代わりに、「配信ビットレート」を用いる点で第1の実施形態の配信システム1と異なる。
<< Second Embodiment >>
The distribution system 1A according to the second embodiment illustrated in FIG. 13 uses a distribution bit rate of the virtual machine VM to distribute the distribution server 2 and the virtual machine VM such that there is a distribution server 2 to which the virtual machine VM does not belong. Search for combinations. The distribution system 1A of the second embodiment is different from the distribution system 1 of the first embodiment in that “distribution bit rate” is used instead of “number of connections”.

第2の実施形態の配信システム1Aは、配信サーバ2Aと、仮想マシン割当サーバ5の一部機能が異なる仮想マシン割当サーバ5Aとを備える。
ここで、配信サーバ2A自体は、第1の実施形態における配信サーバ2と変わらない。しかしながら、仮想マシンVMAには、第1の実施形態にて配信サーバ2にインストールした仮想マシン追加APとは一部機能が異なる、仮想マシン追加APAが予め配信サーバ2Aにインストールされている。そのため、配信サーバ2Aは、仮想マシン追加APAを実行することで、仮想マシンVMの一部機能が異なる仮想マシンVMAとして動作することとなる。そこで、便宜上、第2の実施形態において配信サーバ2Aとする。
A distribution system 1A according to the second embodiment includes a distribution server 2A and a virtual machine allocation server 5A in which some functions of the virtual machine allocation server 5 are different.
Here, the distribution server 2A itself is the same as the distribution server 2 in the first embodiment. However, in the virtual machine VMA, a virtual machine addition APA having a partial function different from the virtual machine addition AP installed in the distribution server 2 in the first embodiment is installed in the distribution server 2A in advance. Therefore, the distribution server 2A operates as a virtual machine VMA in which some functions of the virtual machine VM are different by executing the virtual machine addition APA. Therefore, for convenience, the distribution server 2A is used in the second embodiment.

(仮想マシンVMA)
仮想マシンVMAは、第1の実施形態における仮想マシンVMと同様に、配信サーバ2Aの制御部(CPU)により、VMware社のアプリケーションが実行されることでvMotion機能を有する。
(Virtual machine VMA)
Similar to the virtual machine VM in the first embodiment, the virtual machine VMA has a vMotion function by executing a VMware application by the control unit (CPU) of the distribution server 2A.

また、仮想マシンVMAは、配信サーバ2Aの制御部(CPU)により仮想マシン追加APAが実行されることで、以下の機能を実行するRTSP監視部202A(不図示)を有する。
(1α)ビットレート特定機能
(2α)セッションID記録機能
(3α)配信開始記録機能
(4α)配信停止記録機能
ここで(2α)〜(4α)の機能は、第1の実施形態の仮想マシンVMのRTSP監視部202(図2)が有する機能(1)〜(3)と同様であるが、接続数の代わりに、配信ビットレートを扱う点が異なる。
RTSP監視部202A(不図示)の各機能について、図5および図14〜図15を用いて説明する。
In addition, the virtual machine VMA includes an RTSP monitoring unit 202A (not illustrated) that performs the following functions when the virtual machine addition APA is executed by the control unit (CPU) of the distribution server 2A.
(1α) Bit rate specifying function (2α) Session ID recording function (3α) Distribution start recording function (4α) Distribution stop recording function The functions (2α) to (4α) are the virtual machine VM of the first embodiment. This is the same as the functions (1) to (3) of the RTSP monitoring unit 202 (FIG. 2), except that the distribution bit rate is handled instead of the number of connections.
Each function of the RTSP monitoring unit 202A (not shown) will be described with reference to FIG. 5 and FIGS.

(1α)ビットレート特定機能
配信サーバ2A(仮想マシンVMA)は、外部装置9から送信されるDESCRIBEメソッドを含むリクエストメッセージ(図14)に対して、レスポンスメッセージ(description)(図15)を送信する(図5のステップS101〜S102を参照)。
このとき、RTSP監視部202A(不図示)(仮想マシンVMA)は、DESCRIBEメッセージに含まれる“rtsp_URL”と、descriptionメッセージに含まれるSDP(図15の破線枠内)に記述された“bitrate”のビットレート値とを取得する。そして、配信状態記録部21に“rtsp_URL”とビットレート値とを対応付けて記録し、“Session_ID”の配信状態を「0」(待機中)で記録させる。
(1α) Bit rate specifying function The distribution server 2A (virtual machine VMA) transmits a response message (description) (FIG. 15) to the request message (FIG. 14) including the DESCRIBE method transmitted from the external device 9. (See steps S101 to S102 in FIG. 5).
At this time, the RTSP monitoring unit 202A (not shown) (virtual machine VMA) sets the “rtsp_URL” included in the DESCRIBE message and the “bitrate” described in the SDP (inside the broken line frame in FIG. 15) included in the description message. Get the bit rate value. Then, “rtsp_URL” and the bit rate value are recorded in the distribution state recording unit 21 in association with each other, and the distribution state of “Session_ID” is recorded as “0” (standby).

(2α)セッションID記録機能
配信サーバ2A(仮想マシンVMA)は、外部装置9から送信されるSETUPメッセージ(リクエストメッセージ)に対して、送信元の外部装置9と接続するセッションを識別する“Session_ID”を含むレスポンスメッセージを送信する(図5のステップS103〜S104を参照)。
このとき、RTSP監視部202A(不図示)(仮想マシンVMA)は、SETUPメッセージに含まれる“rtsp_URL”と、レスポンスメッセージに含まれる“Session_ID”とを、配信状態記録部21に記録された同じ“rtsp_URL”と対応付けて記録させる。これにより、配信状態記録部21には、“Session_ID”とビットレート値と“rtsp_URL”との3つが対応付けられて記録される。
(2α) Session ID recording function In response to a SETUP message (request message) transmitted from the external device 9, the distribution server 2A (virtual machine VMA) identifies “Session_ID” that identifies a session connected to the transmission source external device 9. (See steps S103 to S104 in FIG. 5).
At this time, the RTSP monitoring unit 202A (not shown) (virtual machine VMA) uses the same “record” recorded in the distribution status recording unit 21 as “rtsp_URL” included in the SETUP message and “Session_ID” included in the response message. Record in association with “rtsp_URL”. As a result, the distribution state recording unit 21 records “Session_ID”, the bit rate value, and “rtsp_URL” in association with each other.

(3α)配信開始記録機能
配信サーバ2A(仮想マシンVMA)は、外部装置9から送信される(初回の)PLAYメッセージ(リクエストメッセージ)に対して、送信元の外部装置9と接続するセッションを識別する“Session_ID”を含むレスポンスメッセージを送信する(図5のステップS105〜S106を参照)。
このレスポンスメッセージに含まれる“Status_Code”が“200 OK”の場合、RTSP監視部202A(不図示)(仮想マシンVMA)は、該当する“Session_ID”の配信状態を「1」(配信中)で配信状態記録部21に記録させる。このとき、記録している全データについて、配信状態のカウンタが「1」であるビットレート値の総和(総配信ビットレート値)を求め、仮想マシンVMAの識別番号(仮想マシンID)と総配信ビットレート値とを含めた配信状態通知メッセージを生成し、仮想マシン割当サーバ5Aに送信する。
(3α) Distribution start recording function The distribution server 2A (virtual machine VMA) identifies a session connected to the transmission source external device 9 in response to the (first) PLAY message (request message) transmitted from the external device 9. A response message including “Session_ID” is transmitted (see steps S105 to S106 in FIG. 5).
When “Status_Code” included in this response message is “200 OK”, the RTSP monitoring unit 202A (not shown) (virtual machine VMA) distributes the distribution status of the corresponding “Session_ID” to “1” (distributing). It is recorded in the state recording unit 21. At this time, for all the recorded data, the sum of the bit rate values (total distribution bit rate value) with the distribution status counter being “1” is obtained, and the identification number (virtual machine ID) of the virtual machine VMA and the total distribution A distribution status notification message including the bit rate value is generated and transmitted to the virtual machine allocation server 5A.

(4α)配信停止記録機能
配信サーバ2A(仮想マシンVMA)は、外部装置9から送信されるTEARDOWNメッセージ(リクエストメッセージ)に対して、送信元の外部装置9と接続するセッションを識別する“Session_ID”を含むレスポンスメッセージを送信する(図5のステップS109〜S110を参照)。
そして、RTSP監視部202A(不図示)(仮想マシンVMA)は、このレスポンスメッセージに含まれる“Session_ID”に係るデータを配信状態記録部21から削除する。
さらに、RTSP監視部202A(不図示)(仮想マシンVMA)は、配信状態記録部21に記録されている全てのデータに対して、配信状態が「1」であるビットレート値の総和(総配信ビットレート値)を求め、仮想マシンVMAの識別番号(仮想マシンID)と総配信ビットレート値と総配信ビットレート値とを含めた配信状態通知メッセージを生成し、仮想マシン割当サーバ5Aに送信する。
(4α) Distribution stop recording function In response to a TEARDOWN message (request message) transmitted from the external device 9, the distribution server 2A (virtual machine VMA) identifies a session connected to the external device 9 that is the transmission source. (See steps S109 to S110 in FIG. 5).
Then, the RTSP monitoring unit 202A (not shown) (virtual machine VMA) deletes the data related to “Session_ID” included in the response message from the distribution status recording unit 21.
Further, the RTSP monitoring unit 202A (not shown) (virtual machine VMA) adds up the total bit rate value (total distribution) with the distribution state “1” for all data recorded in the distribution state recording unit 21. Bit rate value), a distribution status notification message including the identification number (virtual machine ID) of the virtual machine VMA, the total distribution bit rate value, and the total distribution bit rate value is generated and transmitted to the virtual machine allocation server 5A. .

(仮想マシン割当サーバ5A)
仮想マシン割当サーバ5Aは、仮想マシンVMAの移動先の配信サーバ2Aを決定する仮想マシン集約手段51Aと、最大配信ビットレート値管理テーブル52A(図16)と、配信ビットレート値管理テーブル53A(図17)とを備える。
(Virtual machine allocation server 5A)
The virtual machine allocation server 5A includes a virtual machine aggregation unit 51A that determines a distribution server 2A to which the virtual machine VMA is moved, a maximum distribution bit rate value management table 52A (FIG. 16), and a distribution bit rate value management table 53A (FIG. 17).

(最大配信ビットレート値管理テーブル52A)
最大配信ビットレート値管理テーブル52Aは、図16に示すように、配信サーバ2Aを識別する“配信サーバID”と、その配信サーバIDに該当する配信サーバ2Aが配信可能な最大ビットレート値を示す“最大配信ビットレート値”とを記憶する。
ここで、“最大配信ビットレート値”は、配信サーバ2Aが配信可能な最大ビットレート値でなくてもよく、余裕をもたせた数値であってもよい。例えば、最大ビットレート値の80%の数値であってもよい。
(Maximum delivery bit rate value management table 52A)
As shown in FIG. 16, the maximum distribution bit rate value management table 52A indicates a “distribution server ID” for identifying the distribution server 2A and a maximum bit rate value that can be distributed by the distribution server 2A corresponding to the distribution server ID. “Maximum delivery bit rate value” is stored.
Here, the “maximum distribution bit rate value” may not be the maximum bit rate value that can be distributed by the distribution server 2A, but may be a numerical value with a margin. For example, the value may be 80% of the maximum bit rate value.

(配信ビットレート値管理テーブル53A)
配信ビットレート値管理テーブル53Aは、図17に示すように、仮想マシンVMAを識別する“仮想マシンID”と、その仮想マシンIDに該当する仮想マシンVMAが現在の配信時のビットレート値を示す“配信ビットレート値”とを記憶する。
(Distribution bit rate value management table 53A)
As shown in FIG. 17, the distribution bit rate value management table 53A indicates a “virtual machine ID” for identifying a virtual machine VMA, and the virtual machine VMA corresponding to the virtual machine ID indicates a bit rate value at the time of current distribution. “Distribution bit rate value” is stored.

(仮想マシン集約手段51A)
仮想マシン集約手段51Aは、配信サーバ2A(仮想マシンVMA)から配信状態通知メッセージを受信したことを契機に、配信サーバ2A間で仮想マシンVMAを移動させて、仮想マシンVMAが所属しない配信サーバ2Aが存在するような、配信サーバ2A(2Aa〜2Ac)と仮想マシンVMA(VMA1〜VMA5)との組み合わせを探索し、その組み合わせを抽出する構成部である。
(Virtual machine aggregation means 51A)
The virtual machine aggregation means 51A moves the virtual machine VMA between the distribution servers 2A upon receiving the distribution status notification message from the distribution server 2A (virtual machine VMA), and the distribution server 2A to which the virtual machine VMA does not belong Is a component that searches for a combination of the distribution server 2A (2Aa to 2Ac) and the virtual machine VMA (VMA1 to VMA5) and extracts the combination.

仮想マシン集約手段51Aは、配信サーバ2A(仮想マシンVMA)から送信された配信状態通知メッセージに基づき、配信ビットレート値管理テーブル53Aにおける仮想マシンVMAの配信ビットレート値を更新する。この仮想マシン集約手段51Aは、配信状態通知メッセージに含まれる「仮想マシンID」と「配信ビットレート値」とを取得して、配信ビットレート値管理テーブル53Aの「仮想マシンID」に対応する「配信ビットレート値」の数値を、取得した「配信ビットレート値」で更新する。   The virtual machine aggregation unit 51A updates the distribution bit rate value of the virtual machine VMA in the distribution bit rate value management table 53A based on the distribution state notification message transmitted from the distribution server 2A (virtual machine VMA). The virtual machine aggregation unit 51A acquires the “virtual machine ID” and the “distribution bit rate value” included in the distribution status notification message, and corresponds to the “virtual machine ID” in the distribution bit rate value management table 53A. The value of “distribution bit rate value” is updated with the acquired “distribution bit rate value”.

仮想マシン集約手段51Aは、仮想マシン管理サーバ3に、仮想マシンVMAそれぞれが所属する配信サーバ2Aの情報の提供を要求する。これにより、どの配信サーバ2Aにどの仮想マシンVMAが所属しているのか(配信サーバ2Aがどの仮想マシンVMAとして動作しているのか)という情報を、仮想マシン集約手段51Aは仮想マシン管理サーバ3から取得することができる。第1の実施形態において、仮想マシン集約手段51が仮想マシン管理サーバ3に、VMware社のvSphere APIを利用して要求することで得られる情報と同様である。   The virtual machine aggregation unit 51A requests the virtual machine management server 3 to provide information on the distribution server 2A to which each virtual machine VMA belongs. Thereby, the virtual machine aggregation means 51A obtains information about which virtual machine VMA belongs to which distribution server 2A (which virtual machine VMA the distribution server 2A is operating from) the virtual machine management server 3. Can be acquired. In the first embodiment, the virtual machine aggregation unit 51 is the same as the information obtained by making a request to the virtual machine management server 3 using the VMware vSphere API.

仮想マシン集約手段51Aは、配信ビットレート値管理テーブル53Aを参照して、仮想マシンVMAそれぞれの「配信ビットレート値」を取得し、最大配信ビットレート値管理テーブル52Aを参照して、配信サーバ2Aの「最大配信ビットレート値」を取得する。
そして、仮想マシン集約手段51Aは、仮想マシン管理サーバ3から取得した「仮想マシンVMAがどの配信サーバ2Aに所属しているかを示す情報」と、「仮想マシンVMAの配信ビットレート値」と、「配信サーバ2Aの最大配信ビットレート値」との3つの情報から、配信サーバ2A間で仮想マシンVMAを移動させて、仮想マシンVMAが所属しない配信サーバ2Aが存在するような、配信サーバ2A(2Aa〜2Ac)と仮想マシンVMA(VMA1〜VMA5)との組み合わせを探索し、その組み合わせを抽出する。
The virtual machine aggregation unit 51A refers to the distribution bit rate value management table 53A, acquires the “distribution bit rate value” of each virtual machine VMA, refers to the maximum distribution bit rate value management table 52A, and distributes to the distribution server 2A. Get “Maximum delivery bit rate value”.
Then, the virtual machine aggregation unit 51A acquires “information indicating to which distribution server 2A the virtual machine VMA belongs” acquired from the virtual machine management server 3, “distribution bit rate value of the virtual machine VMA”, “ The distribution server 2A (2Aa) such that there is a distribution server 2A to which the virtual machine VMA does not belong by moving the virtual machine VMA between the distribution servers 2A from the three pieces of information “maximum distribution bit rate value of the distribution server 2A” ˜2Ac) and a combination of virtual machines VMA (VMA1 to VMA5) are searched, and the combination is extracted.

《その他の実施形態》
以上、本発明の実施形態について説明したが、本発明は前記した実施形態に限定されず、適宜変更して実施することが可能である。
例えば、第1および第2の実施形態において配信システム1(1A)が備える、仮想マシン管理サーバ3と仮想マシン割当サーバ5(5A)とは、1つのサーバであってもよい。
<< Other Embodiments >>
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and can be implemented with appropriate modifications.
For example, the virtual machine management server 3 and the virtual machine allocation server 5 (5A) included in the distribution system 1 (1A) in the first and second embodiments may be one server.

例えば、仮想マシン割当サーバ5(5A)は、第1の実施形態では「接続数」を用い、一方、第2の実施形態では「配信ビットレート値」を用いて、仮想マシンVM(VMA)が所属しない配信サーバ2(2A)が存在するような、配信サーバ2(2A)と仮想マシンVM(VMA)との組み合わせを探索した。しかし、仮想マシン割当サーバ5(5A)は、この「接続数」と「配信ビットレート値」との双方を用いて、探索を行ってもよい。
当該探索により、配信サーバ2(2A)の「接続数」と「配信ビットレート値」との双方に係る能力を考慮して、仮想マシンVM(VMA)の移動を行うことができる。そのため、残り接続数に余裕があるものの残り配信ビットレート値に余裕がない配信サーバ2(2A)や、逆に、残り配信ビットレート値に余裕があるものの残り接続数に余裕がない配信サーバ2(2A)を、仮想マシンVM(VMA)の移動先に選ぶことがない。これにより、配信サーバ2(2A)が過負荷状態に陥ることを回避することができる。
For example, the virtual machine allocation server 5 (5A) uses the “number of connections” in the first embodiment, while using the “distribution bit rate value” in the second embodiment, the virtual machine VM (VMA) A search was made for a combination of the distribution server 2 (2A) and the virtual machine VM (VMA) such that there is a distribution server 2 (2A) that does not belong. However, the virtual machine allocation server 5 (5A) may perform a search using both the “number of connections” and the “distribution bit rate value”.
With this search, the virtual machine VM (VMA) can be moved in consideration of the capabilities related to both the “number of connections” and the “distribution bit rate value” of the distribution server 2 (2A). For this reason, the distribution server 2 (2A) that has the remaining number of connections but the remaining distribution bit rate value has no margin, or conversely, the distribution server 2 that has the remaining distribution bit rate value but the remaining number of connections has no margin. (2A) is not selected as the migration destination of the virtual machine VM (VMA). Thereby, it can avoid that the delivery server 2 (2A) falls into an overload state.

例えば、第1および第2の実施形態において配信システム1(1A)は、蓄積サーバ4を備えなくてもよい。その代わり、同一の配信データを記憶する記憶部を配信サーバ2(2A)それぞれが備える。当該構成により、第1および第2の実施形態と異なり、配信サーバ2(2A)は、蓄積サーバ4にアクセスすることなく、自装置の記憶部からメディアデータ(映像データ)を取得してストリーミング配信すればよい。   For example, in the first and second embodiments, the distribution system 1 (1A) may not include the accumulation server 4. Instead, each distribution server 2 (2A) includes a storage unit that stores the same distribution data. With this configuration, unlike the first and second embodiments, the distribution server 2 (2A) acquires the media data (video data) from the storage unit of its own device without accessing the storage server 4 and performs streaming distribution. do it.

例えば、仮想マシン割当サーバ5は、配信サーバ2(2A)それぞれの電力消費量を示すテーブルを備えてもよい。仮想マシン割当サーバ5は、電力消費量の値も考慮して、仮想マシンVM(VMA)の集約処理を行う。これにより、配信システム1(1A)が電力消費量の異なる配信サーバ(新旧の配信サーバ)を備える場合に、節電効果が高いシステムを提供することができる。例えば、電力消費量が少ない配信サーバ2(2A)に優先的に仮想マシンVM(VMA)を割り当てる。これにより、電力消費量が高い配信サーバ2(2A)に仮想マシンVM(VMA)が割り当てられる優先順位が下がるため、節電効果が高くなる。特に、接続中の仮想マシンVM(VMA)の数が少ない場合に効果的である。   For example, the virtual machine allocation server 5 may include a table indicating the power consumption amount of each distribution server 2 (2A). The virtual machine allocation server 5 performs the aggregation process of the virtual machines VM (VMA) in consideration of the power consumption value. Thereby, when the distribution system 1 (1A) includes distribution servers (new and old distribution servers) having different power consumption, a system with a high power saving effect can be provided. For example, the virtual machine VM (VMA) is preferentially allocated to the distribution server 2 (2A) that consumes less power. As a result, the priority for assigning the virtual machine VM (VMA) to the distribution server 2 (2A) with high power consumption is lowered, and the power saving effect is increased. This is particularly effective when the number of connected virtual machines VM (VMA) is small.

1,1A 配信システム
2(2a,2b,2c),2A(2Aa,2Ab,2Ac) 配信サーバ
3 仮想マシン管理サーバ
4 蓄積サーバ
5,5A 仮想マシン割当サーバ
9(9a,9b,9c) 外部装置(通信装置)
21 配信状態記録部
22 電力制御部
31 仮想マシン監視手段
32 仮想マシン移動手段
33 配信サーバ電源管理手段
51,51A 仮想マシン集約手段
52 配信サーバ最大接続数管理テーブル
52A 最大配信ビットレート値管理テーブル
53 仮想マシン接続数管理テーブル
53A 配信ビットレート値管理テーブル
201 VODシステム部
202,202A RTSP監視部
NW1 内部ネットワーク
NW2 外部ネットワーク
VM(VM1〜VM5),VMA(VMA1〜VMA5) 仮想マシン
1, 1A Distribution system 2 (2a, 2b, 2c), 2A (2Aa, 2Ab, 2Ac) Distribution server 3 Virtual machine management server 4 Storage server 5, 5A Virtual machine allocation server 9 (9a, 9b, 9c) External device ( Communication device)
21 Distribution state recording unit 22 Power control unit 31 Virtual machine monitoring unit 32 Virtual machine moving unit 33 Distribution server power management unit 51, 51A Virtual machine aggregation unit 52 Distribution server maximum connection number management table 52A Maximum distribution bit rate value management table 53 Virtual Machine connection number management table 53A Distribution bit rate value management table 201 VOD system unit 202, 202A RTSP monitoring unit NW1 Internal network NW2 External network VM (VM1 to VM5), VMA (VMA1 to VMA5) Virtual machine

Claims (11)

外部ネットワークを介して接続する複数の配信サーバと、
前記複数の配信サーバを監視し、当該配信サーバ間を移動可能な複数の仮想マシンの移動を管理する仮想マシン管理サーバと、
前記配信サーバと前記仮想マシン管理サーバとが内部ネットワークを介して接続し、移動する仮想マシンと当該仮想マシンの移動先配信サーバとを決定する仮想マシン割当装置と
を備える配信システムであって、
前記仮想マシン割当装置は、
各仮想マシンから、当該仮想マシンにおいて前記外部ネットワークを介して接続している通信装置との配信処理における現在接続数を受信し、
前記各仮想マシンの現在接続数と、各配信サーバが前記外部ネットワークを介して接続している通信装置との配信処理における最大接続数とに基づき、
前記仮想マシンが所属しない配信サーバの数が最大となるように、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在接続数の合計が当該配信サーバの最大接続数以下になるように、
前記仮想マシンそれぞれの移動先配信サーバを決定する
ことを特徴とする配信システム。
A plurality of distribution servers connected via an external network;
A virtual machine management server that monitors the plurality of distribution servers and manages movement of a plurality of virtual machines that can move between the distribution servers;
A distribution system comprising: a virtual machine allocation apparatus that connects the distribution server and the virtual machine management server via an internal network and determines a virtual machine to be moved and a destination distribution server for the virtual machine;
The virtual machine allocation device is:
From each virtual machine, receive the current number of connections in the distribution process with the communication device connected via the external network in the virtual machine,
Based on the current number of connections of each virtual machine and the maximum number of connections in distribution processing with each communication server connected via the external network,
The number of distribution servers to which the virtual machine does not belong is maximized, and the total number of current connections of each virtual machine when belonging to the distribution server is equal to or less than the maximum number of connections of the distribution server. ,
A distribution system for determining a destination distribution server for each of the virtual machines.
前記仮想マシン管理サーバは、
前記各仮想マシンが所属している配信サーバの所属情報を取得し、
前記仮想マシン割当装置は、
前記現在接続数と前記最大接続数と前記所属情報とに基づき、
前記仮想マシンを移動させる処理回数が最小になるように、前記仮想マシンそれぞれの移動先配信サーバを決定する
ことを特徴とする請求項1に記載された配信システム。
The virtual machine management server is
Obtain the belonging information of the distribution server to which each virtual machine belongs,
The virtual machine allocation device is:
Based on the current number of connections, the maximum number of connections, and the affiliation information,
The distribution system according to claim 1, wherein a destination distribution server for each of the virtual machines is determined so that the number of processing times for moving the virtual machines is minimized.
前記仮想マシン割当装置は、
前記各仮想マシンから前記各仮想マシンの現在接続数を受信したときに更新される、前記仮想マシンの識別情報と、当該仮想マシンが前記外部ネットワークを介して接続している通信装置の現在接続数とを対応付けて記憶する仮想マシン接続数管理テーブルと、
前記配信サーバの識別情報と、当該配信サーバにおいて前記外部ネットワークを介して接続している通信装置との配信処理における最大接続数とを対応付けて記憶する配信サーバ最大接続数管理テーブルと
を備えることを特徴とする請求項1または請求項2に記載された配信システム。
The virtual machine allocation device is:
The identification information of the virtual machine, which is updated when the current connection number of each virtual machine is received from each virtual machine, and the current connection number of the communication device to which the virtual machine is connected via the external network A virtual machine connection number management table for storing
A distribution server maximum connection number management table that stores the identification information of the distribution server and the maximum number of connections in the distribution process with the communication device connected to the distribution server via the external network in association with each other. The distribution system according to claim 1 or 2, wherein
前記配信サーバは、各部に供給される供給電力を低減する電力制御部を備え、
前記仮想マシン管理サーバは、前記配信サーバに供給電力の低減を指示する配信サーバ電源管理部をさらに備え、
前記仮想マシン割当装置は、前記仮想マシンそれぞれの移動先配信サーバを決定した後で、前記仮想マシンが所属しない配信サーバの情報を、前記仮想マシン管理サーバに提供する
ことを特徴とする請求項1乃至請求項3のいずれか1項に記載された配信システム。
The distribution server includes a power control unit that reduces power supplied to each unit,
The virtual machine management server further includes a distribution server power management unit that instructs the distribution server to reduce power supply,
The virtual machine allocation apparatus provides information on a distribution server to which the virtual machine does not belong to the virtual machine management server after determining a destination distribution server for each of the virtual machines. The distribution system according to any one of claims 3 to 3.
前記仮想マシン管理サーバが有する、複数の仮想マシンを移動させる機能は、VMware社が提供するvMotion機能であることを特徴とする請求項1乃至請求項4のいずれか1項に記載された配信システム。   The distribution system according to any one of claims 1 to 4, wherein the function of moving a plurality of virtual machines included in the virtual machine management server is a vMotion function provided by VMware. . 前記配信サーバは、前記外部ネットワークを介して、マルチメディアコンテンツをストリーミング配信することを特徴とする請求項1乃至請求項5のいずれか1項に記載された配信システム。   The distribution system according to claim 1, wherein the distribution server performs streaming distribution of multimedia content via the external network. 前記仮想マシン割当装置は、
さらに、前記各仮想マシンが前記外部ネットワークとの通信における現在配信ビットレート値と、各配信サーバが前記外部ネットワークとの通信における最大配信ビットレート値とに基づき、
前記仮想マシンが所属しない配信サーバの数が最大となるように、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在接続数の合計が当該配信サーバの最大接続数以下になり、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在配信ビットレート値の合計が当該配信サーバの最大配信ビットレート値以下になるように、
前記仮想マシンそれぞれの移動先配信サーバを決定する
ことを特徴とする請求項1乃至請求項6のいずれか1項に記載された配信システム。
The virtual machine allocation device is:
Furthermore, each virtual machine is based on a current delivery bit rate value in communication with the external network, and each delivery server is based on a maximum delivery bit rate value in communication with the external network.
The total number of current connections of each virtual machine when belonging to the distribution server is less than or equal to the maximum number of connections of the distribution server, so that the number of distribution servers to which the virtual machine does not belong is maximized, and , So that the total of the current delivery bit rate value of each virtual machine when belonging to the delivery server is less than or equal to the maximum delivery bit rate value of the delivery server,
The distribution system according to any one of claims 1 to 6, wherein a destination distribution server for each of the virtual machines is determined.
外部ネットワークを介して接続する複数の配信サーバと、
前記複数の配信サーバを監視し、当該配信サーバ間を移動可能な複数の仮想マシンの移動を管理する仮想マシン管理サーバと、
前記配信サーバと前記仮想マシン管理サーバとが内部ネットワークを介して接続し、移動する仮想マシンと当該仮想マシンの移動先配信サーバとを決定する仮想マシン割当装置と
を備える配信システムであって、
前記仮想マシン割当装置は、
各仮想マシンから、当該仮想マシンにおいて前記外部ネットワークを介して接続している通信装置との配信処理における現在接続数を受信し、
前記各仮想マシンが前記外部ネットワークとの通信における現在配信ビットレート値と、各配信サーバが前記外部ネットワークとの通信における最大配信ビットレート値とに基づき、
前記仮想マシンが所属しない配信サーバの数が最大となるように、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在配信ビットレート値の合計が当該配信サーバの最大配信ビットレート値以下になるように、
前記仮想マシンそれぞれの移動先配信サーバを決定する
ことを特徴とする配信システム。
A plurality of distribution servers connected via an external network;
A virtual machine management server that monitors the plurality of distribution servers and manages movement of a plurality of virtual machines that can move between the distribution servers;
A distribution system comprising: a virtual machine allocation apparatus that connects the distribution server and the virtual machine management server via an internal network and determines a virtual machine to be moved and a destination distribution server for the virtual machine;
The virtual machine allocation device is:
From each virtual machine, receive the current number of connections in the distribution process with the communication device connected via the external network in the virtual machine,
Each virtual machine is based on a current delivery bit rate value in communication with the external network, and each delivery server is based on a maximum delivery bit rate value in communication with the external network.
The total of the current distribution bit rate values of each virtual machine when belonging to the distribution server is equal to or less than the maximum distribution bit rate value of the distribution server so that the number of distribution servers to which the virtual machine does not belong is maximized So that
A distribution system for determining a destination distribution server for each of the virtual machines.
外部ネットワークと接続する複数の配信サーバと内部ネットワークを介して接続し、前記複数の配信サーバ間を移動可能な複数の仮想マシンの移動先配信サーバを決定する仮想マシン割当装置であって、
各仮想マシンから、前記外部ネットワークを介して接続している通信装置との配信処理における現在接続数と、各配信サーバが前記外部ネットワークを介して接続している通信装置との配信処理における最大接続数とに基づき、
前記仮想マシンが所属しない配信サーバの数が最大となるように、かつ、前記配信サーバに所属したときの前記各仮想マシンの現在配信数の合計が当該配信サーバの最大接続数以下になるように、
前記仮想マシンそれぞれの移動先配信サーバを決定することを特徴とする仮想マシン割当装置。
A virtual machine allocation device that connects a plurality of distribution servers connected to an external network via an internal network and determines a destination distribution server of a plurality of virtual machines that can move between the plurality of distribution servers,
From each virtual machine, the current number of connections in the distribution process with the communication device connected via the external network, and the maximum connection in the distribution process with each communication server connected via the external network Based on the number and
The number of distribution servers to which the virtual machine does not belong is maximized, and the total number of current distributions of the virtual machines when belonging to the distribution server is equal to or less than the maximum number of connections of the distribution server. ,
A virtual machine allocation apparatus that determines a destination distribution server for each of the virtual machines.
前記現在接続数および前記最大接続数と、さらに前記各仮想マシンが所属している配信サーバの情報とに基づき、
前記仮想マシンを移動させる処理回数が最小になるように、前記仮想マシンそれぞれの移動先配信サーバを決定することを特徴とする請求項9に記載された仮想マシン割当装置。
Based on the current number of connections and the maximum number of connections, and further information on the distribution server to which each virtual machine belongs,
The virtual machine allocation apparatus according to claim 9, wherein a destination distribution server for each of the virtual machines is determined so that the number of times of moving the virtual machines is minimized.
前記仮想マシンの識別情報と、当該仮想マシンが前記外部ネットワークを介して接続している通信装置との配信処理における現在接続数とを対応付けて記憶する仮想マシン接続数管理テーブルと、
前記配信サーバの識別情報と、当該配信サーバが前記外部ネットワークを介して接続している通信装置との配信処理における最大接続数とを対応付けて記憶する配信サーバ最大接続数管理テーブルと
を備えることを特徴とする請求項9または請求項10に記載された仮想マシン割当装置。
A virtual machine connection number management table for storing the identification information of the virtual machine and the current number of connections in the distribution process with the communication device to which the virtual machine is connected via the external network;
A distribution server maximum connection number management table that stores the identification information of the distribution server and the maximum number of connections in the distribution process with the communication device connected to the distribution server via the external network in association with each other. The virtual machine allocating device according to claim 9 or 10, characterized in that:
JP2011208701A 2011-09-26 2011-09-26 Distribution system, virtual machine allocation apparatus, and program Active JP5760898B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011208701A JP5760898B2 (en) 2011-09-26 2011-09-26 Distribution system, virtual machine allocation apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011208701A JP5760898B2 (en) 2011-09-26 2011-09-26 Distribution system, virtual machine allocation apparatus, and program

Publications (2)

Publication Number Publication Date
JP2013069205A true JP2013069205A (en) 2013-04-18
JP5760898B2 JP5760898B2 (en) 2015-08-12

Family

ID=48474823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011208701A Active JP5760898B2 (en) 2011-09-26 2011-09-26 Distribution system, virtual machine allocation apparatus, and program

Country Status (1)

Country Link
JP (1) JP5760898B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016540298A (en) * 2013-11-11 2016-12-22 アマゾン・テクノロジーズ・インコーポレーテッド Managed service for acquisition, storage and consumption of large data streams
US9858322B2 (en) 2013-11-11 2018-01-02 Amazon Technologies, Inc. Data stream ingestion and persistence techniques
US10467105B2 (en) 2013-12-20 2019-11-05 Amazon Technologies, Inc. Chained replication techniques for large-scale data streams
US10635644B2 (en) 2013-11-11 2020-04-28 Amazon Technologies, Inc. Partition-based data stream processing framework
US10768830B1 (en) 2018-07-16 2020-09-08 Amazon Technologies, Inc. Streaming data service with isolated read channels
US10798140B1 (en) 2018-07-16 2020-10-06 Amazon Technologies, Inc. Stream data record reads using push-mode persistent connections
US10855754B1 (en) 2018-07-16 2020-12-01 Amazon Technologies, Inc. Isolated read channel categories at streaming data service
US10956246B1 (en) 2018-07-16 2021-03-23 Amazon Technologies, Inc. Isolated read channel management interfaces at streaming data service
US11070600B1 (en) 2018-07-16 2021-07-20 Amazon Technologies, Inc. Optimization techniques to support lagging readers at streaming data service
US11075984B1 (en) 2018-07-16 2021-07-27 Amazon Technologies, Inc. Workload management at streaming data service supporting persistent connections for reads

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016540298A (en) * 2013-11-11 2016-12-22 アマゾン・テクノロジーズ・インコーポレーテッド Managed service for acquisition, storage and consumption of large data streams
US9794135B2 (en) 2013-11-11 2017-10-17 Amazon Technologies, Inc. Managed service for acquisition, storage and consumption of large-scale data streams
US9858322B2 (en) 2013-11-11 2018-01-02 Amazon Technologies, Inc. Data stream ingestion and persistence techniques
US10635644B2 (en) 2013-11-11 2020-04-28 Amazon Technologies, Inc. Partition-based data stream processing framework
US10795905B2 (en) 2013-11-11 2020-10-06 Amazon Technologies, Inc. Data stream ingestion and persistence techniques
US10467105B2 (en) 2013-12-20 2019-11-05 Amazon Technologies, Inc. Chained replication techniques for large-scale data streams
US10798140B1 (en) 2018-07-16 2020-10-06 Amazon Technologies, Inc. Stream data record reads using push-mode persistent connections
US10768830B1 (en) 2018-07-16 2020-09-08 Amazon Technologies, Inc. Streaming data service with isolated read channels
US10855754B1 (en) 2018-07-16 2020-12-01 Amazon Technologies, Inc. Isolated read channel categories at streaming data service
US10956246B1 (en) 2018-07-16 2021-03-23 Amazon Technologies, Inc. Isolated read channel management interfaces at streaming data service
US11070600B1 (en) 2018-07-16 2021-07-20 Amazon Technologies, Inc. Optimization techniques to support lagging readers at streaming data service
US11075984B1 (en) 2018-07-16 2021-07-27 Amazon Technologies, Inc. Workload management at streaming data service supporting persistent connections for reads
US11509700B2 (en) 2018-07-16 2022-11-22 Amazon Technologies, Inc. Stream data record reads using push-mode persistent connections
US11621999B2 (en) 2018-07-16 2023-04-04 Amazon Technologies, Inc. Isolated read channel categories at streaming data service
US11675501B2 (en) 2018-07-16 2023-06-13 Amazon Technologies, Inc. Streaming data service with isolated read channels

Also Published As

Publication number Publication date
JP5760898B2 (en) 2015-08-12

Similar Documents

Publication Publication Date Title
JP5760898B2 (en) Distribution system, virtual machine allocation apparatus, and program
JP2020024722A (en) Session idle optimization for streaming server
JP2020103941A (en) Game state save, transfer and resume for cloud gaming
US9395786B2 (en) Cross-layer power management in a multi-layer system
Hong et al. Placing virtual machines to optimize cloud gaming experience
RU2701118C2 (en) Multimode server data processing center administration
WO2016197864A1 (en) Connection-status detection method and apparatus, and smart television system
Kosta et al. Unleashing the power of mobile cloud computing using thinkair
JP2012190264A (en) Power supply device and program
TW201443662A (en) Dynamically modifying a frame rate of data transmission associated with an application executing on a data server on behalf of a client device to the client device
JP2013171355A (en) Computer system
Jang et al. Stratus: Assembling virtual platforms from device clouds
Kazandjieva et al. System architecture support for green enterprise computing
Bhattacherjee et al. A review on energy efficient resource management strategies for cloud
Hong et al. ANCS: Achieving QoS through dynamic allocation of network resources in virtualized clouds
Jin et al. Workload-aware scheduling across geo-distributed data centers
Pete et al. 3E-VMC: An experimental energy efficient model for VMs scheduling over cloud
TW201020804A (en) Virtualization in a multi-core processor (MCP)
Liu et al. A VM-shared desktop virtualization system based on OpenStack
Dong et al. Energy efficient virtual machine consolidation in mobile media cloud
Li et al. Cloud computing for multimedia services
JP2011186775A (en) Technology of facilitating operation on virtualized environment of application server
WO2013040929A1 (en) Virtual machine running method and system
JP2013257607A (en) Power supply device and program
JP2018067957A (en) Multiple stream content presentation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150313

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150525

R150 Certificate of patent or registration of utility model

Ref document number: 5760898

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150