JP2006013912A - Stream data distributing method, steam data distributing apparatus, stream data control apparatus, program and recording medium - Google Patents
Stream data distributing method, steam data distributing apparatus, stream data control apparatus, program and recording medium Download PDFInfo
- Publication number
- JP2006013912A JP2006013912A JP2004188403A JP2004188403A JP2006013912A JP 2006013912 A JP2006013912 A JP 2006013912A JP 2004188403 A JP2004188403 A JP 2004188403A JP 2004188403 A JP2004188403 A JP 2004188403A JP 2006013912 A JP2006013912 A JP 2006013912A
- Authority
- JP
- Japan
- Prior art keywords
- stream
- packet
- rewrite
- server
- address
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、一つまたは複数のストリーム配信サーバまたはストリーム中継サーバからクライアントまたはストリーム中継サーバにマルチキャストを用いてストリームパケットを送出するストリーム配信ネットワークに関する。 The present invention relates to a stream distribution network for sending stream packets from one or a plurality of stream distribution servers or stream relay servers to clients or stream relay servers using multicast.
従来、インターネット上で大規模なストリームライブ放送を行う場合、一般的に、ストリーム配信サーバ自身や配信機能が異常停止し、ストリーム配信サーバからストリームパケットを送信することができなくなった場合に、別のストリーム配信サーバからストリームパケットを送信することで、ストリームライブ放送サービスの中断時間を短くさせる冗長化構成がとられている。 Conventionally, when performing large-scale stream live broadcasting on the Internet, generally, if the stream distribution server itself or the distribution function stops abnormally and stream packets cannot be transmitted from the stream distribution server, A redundant configuration is adopted in which a stream packet is transmitted from the stream distribution server to shorten the interruption time of the stream live broadcast service.
冗長化の方法としては、ストリーム配信サーバ自身や配信機能の異常終了の際に、クライアントが別のストリーム配信サーバに接続することで、異常終了したストリーム配信サーバとは別のストリーム配信サーバからストリームパケットを送信する方法がある。上記機能を持つストリームメディアとしては、Microsoft社のWindows Media、Real Network社のReal Media(非特許文献1参照)があげられる。 As a redundancy method, when a stream distribution server itself or the distribution function abnormally terminates, the client connects to another stream distribution server, so that the stream packet from a stream distribution server different from the stream distribution server that has terminated abnormally There is a way to send. Examples of stream media having the above functions include Windows Media from Microsoft and Real Media from Real Network (see Non-Patent Document 1).
また、上記と別の冗長化の方法としては、複数のストリーム配信サーバが相互に接続し、仮想的に一つのストリーム配信サーバとして振舞わせる、クラスタリングと呼ばれる方法がある(非特許文献2参照)。このクラスタリングについて、図5、図6、図7を用いて説明する。 As another redundancy method, there is a method called clustering in which a plurality of stream distribution servers are connected to each other and virtually behave as one stream distribution server (see Non-Patent Document 2). This clustering will be described with reference to FIG. 5, FIG. 6, and FIG.
図5は、クラスタリングを用いない場合の、現用ストリーム配信サーバ故障時の動作例を示す図である。クライアント500が、現用ストリーム配信サーバ400Aに接続し、現用ストリーム配信サーバ400Aからストリームパケットを受信している際に、現用ストリーム配信サーバ400Aに故障が発生した場合、クライアント500は、現用ストリーム配信サーバ400Aからストリームパケットを受信することができなくなる。その後、クライアント500は、切替先ストリーム配信サーバ400Bに接続することで、切替先ストリーム配信サーバ400Bからストリームパケットを受信することができるようになる。
FIG. 5 is a diagram illustrating an operation example when the active stream distribution server fails when clustering is not used. When the
図6は、クラスタリングを用いる場合の、現用ストリームサーバ故障時の動作例を示す図である。この場合、現用ストリーム配信サーバ400Aと切替先ストリーム配信サーバ400Bは、クライアント500からは一つのストリーム配信サーバ(クラスタノード)として認識されるため、クライアント500は、クラスタノードに接続することで、自動的に現用ストリーム配信サーバ400Aに接続し、現用ストリーム配信サーバ400Aからストリームパケットを受信する。クライアント500が、現用ストリーム配信サーバ400Aからストリームパケットを受信している際に、現用ストリーム配信サーバ400Aに故障が発生した場合、クライアント500は、現用ストリーム配信サーバ400Aからストリームパケットを受信することができなくなる。この時、切替先ストリーム配信サーバ400Bは、現用ストリーム配信サーバ400Aが故障したことを自動的に認識し、該切替先ストリーム配信サーバ400Bを現用に自動的に切り替える(フェールオーバ)。その後、クライアント500は、切替先ストリーム配信サーバ400Bでなく、該クラスタノードに再接続することで、自動的に切替先ストリーム配信サーバ400Bに接続し、切替先ストリーム配信サーバ400Bからストリームパケットを受信することができるようになる。
FIG. 6 is a diagram illustrating an operation example when a working stream server fails when clustering is used. In this case, since the active
図7は、クラスタリングのメカニズムの一例を示す図である。クラスタリングされた現用ストリームサーバ400Aと切替先ストリーム配信サーバ400Bは共に、プロセス監視部を具備する。プロセス監視部は、自サーバのストリームパケットを配信するプロセス(アプリケーション)が生きているかの監視を行っており、該監視状態を、現用ストリームサーバ400Aのプロセス監視部は、切替先ストリーム配信サーバ400Bのプロセス監視部へ、切替先ストリーム配信サーバ400Bのプロセス監視部は現用ストリームサーバ400Aのプロセス監視部へ定期的に通知している。ここで、切替先ストリーム配信サーバ400Bのプロセス監視部は、現用ストリームサーバ400Aのプロセス監視部からの状態通知(ハートビート)をある一定時間以上受信しなかった場合、現用ストリームサーバ400Aがダウンしたと判断し、切替先ストリーム配信サーバ400Bを現用に切り替える。また、切替先ストリーム配信サーバ400Bのプロセス監視部は、現用ストリームサーバ400Aのプロセス監視部からの状態通知(ハートビート)がプロセスダウンの異常通知を受信した場合、切替先ストリーム配信サーバ400Bを現用に切り替える。
FIG. 7 is a diagram illustrating an example of a clustering mechanism. Both the clustered
ところで、インターネット上でストリームライブ放送を行う場合、ストリーム配信サーバから複数のクライアントへ同一コンテンツのストリームパケットを転送するが、その際、ストリームパケットの転送手段として、ストリーム配信サーバがそれぞれのクライアントに対してストリームパケットを転送するユニキャストを用いる場合と、ストリーム配信サーバが複数のクライアント全体に対して、ストリームパケットを転送するマルチキャストを用いる場合とがある。マルチキャストの場合、ストリーム配信サーバが、複数のクライアントそれぞれに対してストリームパケットを送出する必要がないため、使用するネットワークの帯域をユニキャストに比べ大幅に抑えることができる。
上述した従来の技術では、ストリーム配信サーバ自身や配信機能の異常の際に、クライアントは該ストリーム配信サーバを切断することで、バッファに蓄積していたストリームパケットを全て廃棄し、別のストリーム配信サーバに新たに接続することで、該ストリーム配信サーバから受信したストリームパケットを再度バッファに蓄積し始めるため、ストリームパケットがバッファに蓄積されるまで、クライアントで視聴を再開することができなかった。 In the above-described conventional technology, when the stream distribution server itself or the distribution function is abnormal, the client disconnects the stream distribution server, thereby discarding all stream packets stored in the buffer, and another stream distribution server. Since the stream packet received from the stream distribution server starts to be accumulated again in the buffer by newly connecting to the network, viewing cannot be resumed by the client until the stream packet is accumulated in the buffer.
また、クラスタリングは、ストリーム配信サーバ自身の異常監視や、ハードウェアやプロセスの異常監視を検知することはできるが、ストリーム配信サーバの送出するストリームパケットの異常を検知できないため、ストリームパケットの送出が荒れたり抜けたりした場合でも、ストリーム配信サーバは切り替わらず、クライアントは視聴品質が悪化し続けていた。 Clustering can detect abnormalities in the stream distribution server itself and hardware and processes, but it cannot detect abnormalities in the stream packet sent by the stream distribution server, so the stream packet transmission is rough. Even if it was dropped or dropped, the streaming server did not switch, and the viewing quality of the client continued to deteriorate.
さらに、クラスタリングは、切替先のストリーム配信サーバがストリームパケットを送出し始める契機として、クライアントからストリーム配信サーバへ接続が必須である。マルチキャストにて、ストリーム配信サーバからクライアントへストリームパケットを送出する場合には、クライアントはストリーム配信サーバへ接続要求メッセージやストリーム制御メッセージを送信しないため、ストリーム配信サーバを切り替える契機がなく、ストリーム配信サーバ自身や配信機能の異常の際に、クライアントで視聴を再開することができなかった。 Further, in the clustering, the connection from the client to the stream distribution server is indispensable when the switching destination stream distribution server starts sending the stream packet. When sending a stream packet from a stream distribution server to a client by multicast, the client does not send a connection request message or a stream control message to the stream distribution server, so there is no opportunity to switch the stream distribution server, and the stream distribution server itself And the client was unable to resume viewing when the distribution function was abnormal.
本発明の目的は、ストリーム配信サーバからクライアントへストリームパケットの転送に、マルチキャストを用いる場合において、ストリーム配信サーバ自身や配信機能の異常の際に、クライアントでの視聴中断時間を低減させるストリームデータ配信方法、ストリーム制御装置、ストリーム配信装置、プログラム、および記録媒体を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a stream data distribution method for reducing the viewing interruption time at the client when the multicast is used for transferring the stream packet from the stream distribution server to the client and the stream distribution server itself or the distribution function is abnormal. A stream control device, a stream distribution device, a program, and a recording medium.
本発明は、ストリーム制御装置が、マルチキャストを用いてストリームパケットを送出するストリーム配信サーバまたはストリーム中継サーバ(以下、総じてストリーム配信サーバと呼ぶ)から受信するストリームパケットを監視し、ストリームパケットが正常に届かないことを検出した場合に、ストリーム配信サーバと切替先のストリーム配信サーバに書換要求メッセージを送信する。マルチキャストを用いてストリームパケットを送出するストリーム配信サーバは、ストリーム制御装置から送られた書換要求メッセージを解析し、マルチキャストIPアドレス、書換先IPアドレスを書換リストに追加し、IP処理部にて処理したIPパケットをクライアントへ送信する前に、該パケットが書換対象パケットであるかどうか書換リストから判別する。書換対象パケットである場合に、書換リストの書換IPアドレスがnullである場合には、該パケットを廃棄し、書換リストの書換IPアドレスがnullでない場合には、該パケットのIPヘッダのSource IP Addressフィールドの値を該書換IPアドレスに書き換え、クライアントへ送信する。 In the present invention, a stream control device monitors stream packets received from a stream distribution server or a stream relay server (hereinafter collectively referred to as a stream distribution server) that transmits stream packets using multicast, and the stream packets are normally delivered. When it is detected that there is not, a rewrite request message is transmitted to the stream distribution server and the switching destination stream distribution server. The stream distribution server that sends the stream packet using multicast analyzes the rewrite request message sent from the stream control device, adds the multicast IP address and rewrite destination IP address to the rewrite list, and processes them by the IP processing unit. Before transmitting the IP packet to the client, it is determined from the rewrite list whether the packet is a rewrite target packet. In the case of a rewrite target packet, if the rewrite IP address of the rewrite list is null, the packet is discarded. If the rewrite IP address of the rewrite list is not null, the source IP address of the IP header of the packet is discarded. The field value is rewritten to the rewritten IP address and transmitted to the client.
ストリーム配信サーバからクライアントへのストリームパケットの転送にマルチキャストを用いる場合に、ストリームパケットがストリーム配信サーバから定期的に送出されなくなった際に、該ストリーム配信サーバが送出するストリームパケットと同じ送信先マルチキャストIPアドレスと同じ送信元IPアドレスのストリームパケットを、切替先のストリーム配信サーバから送出できるため、クライアントはストリーム配信サーバに再接続する必要がなく、バッファに蓄積されたストリームパケットを廃棄することなく、切替先のストリーム配信サーバからストリームパケットを受信することができる。これにより、ストリーム配信サーバ自身や配信機能の異常の際の、クライアントでの視聴中断時間を低減することができる。 When multicast is used for transfer of stream packets from the stream distribution server to the client, when the stream packet is not periodically transmitted from the stream distribution server, the same destination multicast IP as the stream packet transmitted by the stream distribution server Stream packets with the same source IP address as the address can be sent from the destination stream distribution server, so the client does not need to reconnect to the stream distribution server and switches without discarding the stream packets stored in the buffer. Stream packets can be received from the previous stream distribution server. As a result, it is possible to reduce the viewing interruption time at the client when the stream distribution server itself or the distribution function is abnormal.
本発明によれば、クライアント側で特別の操作、手段を具備する必要がなく、ストリーム配信サーバ自身や配信機能の異常の際の、クライアントにおける視聴品質劣化時間、視聴中断時間を低減することが可能となる。 According to the present invention, it is not necessary to provide special operations and means on the client side, and it is possible to reduce the viewing quality degradation time and the viewing interruption time in the client when the stream distribution server itself or the distribution function is abnormal. It becomes.
以下、本発明の実施の形態を図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明における各装置の接続構成例を示す図である。100A、100Bは、クライアント300へマルチキャストを用いてストリームパケットを送出するストリーム配信サーバであり、現在、マルチキャストを用いてクライアント300へストリームパケットを送出しているストリーム配信サーバを100A、ストリーム配信サーバ100Aが異常終了した際に、ストリーム配信サーバ100Aに代わって、マルチキャストを用いてクライアント300へストリームパケットを送出するストリーム配信サーバを100Bとする。ストリーム制御装置200は、クライアント300と同様に、ストリーム配信サーバ100A、100Bがマルチキャストを用いて送出するストリームパケットを受信する機能を具備する。
FIG. 1 is a diagram showing a connection configuration example of each device in the present invention. 100A and 100B are stream delivery servers that send stream packets to the
図2はストリーム制御装置200のブロック構成例を示す図である。ストリーム制御装置200は、図2に示す通り、受信部211と監視パケット判別部212と監視書換リスト213と書換判断部214と書換要求部215と送信部216から構成され、送信部216、受信部211を通して、ストリーム配信サーバ100A、100Bとパケットの送受信をする。
FIG. 2 is a diagram illustrating a block configuration example of the
受信部211は、ストリーム配信サーバ100Aから受信したパケットを監視パケット判別部212へ渡す。監視パケット判別部212は、該パケットが監視対象パケットであるかどうかを監視書換リスト213から判別し、監視対象パケットである場合に、書換判断部214へ渡す。本実施形態における監視書換リスト213の例を表1に示す。
The
本実施形態においては、受信したパケットのIPヘッダのDestination IP Addressフィールド、Source IP Addressフィールドの値が、監視書換リスト213にあるマルチキャストIPアドレス、送信元IPアドレスとどちらも一致した場合、監視対象パケットであると判断する。書換判断部214は、監視対象パケットが正常に届いているか監視し、正常に届かない場合に、該パケットの情報を書換要求部215に渡す。本実施形態においては、監視対象パケットがあらかじめ決めた時間(例えば5秒)以上届かなかった場合に、監視対象パケットが正常に届かないと判断する。また、本実施形態においては、書換要求部215に渡すパケットの情報は、当該パケットのIPヘッダのDestination IP AddressフィールドとSource IP Addressフィールドの値とする。書換要求部215は、書換判断部214から渡されたパケットの情報から書換要求メッセージを2つ生成し、該メッセージを送信部216を通してそれぞれストリーム配信サーバ100Aと切替先のストリーム配信サーバ100Bへ送信する。本実施形態における書換要求メッセージの例は表2に示す通り、TCPデータの先頭32ビットをマルチキャストIPアドレス、その後の32ビットを書換先IPアドレス、TCPヘッダのDestination Portフィールドの値を3000とする。
In the present embodiment, when the values of the Destination IP Address field and the Source IP Address field of the IP header of the received packet match the multicast IP address and the source IP address in the
本実施形態においては、ストリーム配信サーバ100Aへ送信する書換要求メッセージは、書換判断部214から渡されたIPヘッダのDestination IP Addressフィールドの値をマルチキャストIPアドレス、書換先IPアドレスをnull、書換判断部214から渡されたSource IP Addressフィールドの値を該書換要求メッセージの送信先(ストリーム配信サーバ100A)とし、切替先のストリーム配信サーバ100Bへ送信する書換要求メッセージは、書換判断部214から渡されたIPヘッダのDestination IP AddressフィールドとSource IP Addressフィールドの値をそれぞれマルチキャストIPアドレスと書換先IPアドレスとし、この時の切替先IPアドレスを監視書換リスト213から検索し、検索された切替先IPアドレスを、該書換要求メッセージの送信先(ストリーム配信サーバ100B)とする。
In the present embodiment, the rewrite request message to be transmitted to the
図3はストリーム配信サーバ100A、100Bのブロック構成例を示す図である。
FIG. 3 is a diagram illustrating a block configuration example of the
ストリーム配信サーバ100A、100Bは、図3に示す通り、受信部111とIP処理部112とTCP/UDP処理部113と書換要求解析部114とリスト書き込み部115と書換リスト116とストリームパケット処理部117と書換部118と送信部119から構成され、送信部119、受信部111を通して、ストリーム制御装置200およびクライアント300とパケットの送受信をする。
As shown in FIG. 3, the
ストリーム制御装置200から受信部111を通して受信した書換要求メッセージはIP処理部112で、IPプロトコルで規定された処理がされ、TCP/UDP処理部113でTCPパケット、UDPパケットに対してそれぞれTCPプロトコル、UDPプロトコルで規定された処理がされ、書換要求解析部114に渡される。書換要求解析部114は、該書換要求メッセージからマルチキャストIPアドレス、書換先IPアドレスをリスト書き込み部115へ渡す。本実施形態においては、TCPヘッダのDestination Portフィールドの値が3000のパケットを書換要求メッセージと判断し、該パケットのTCPデータの先頭32ビットをマルチキャストIPアドレス、その後の32ビットを書換先IPアドレスとする。リスト書き込み部115は、書換要求解析部114から渡されたマルチキャストIPアドレスと書換先IPアドレスを書換リスト116へ追加する。本実施形態における書換リスト116の例を表3に示す。
The rewrite request message received from the
ストリームパケット処理部117にて、ストリームプロトコルで規定された処理が実施されたストリームパケットは、TCP/UDP処理部113、IP処理部112と順に処理され、クライアント300へ送信する前に、書換部118へ渡される。書換部118は、該パケットが書換対象パケットであるかどうかを書換リスト116より判別し、書換対象パケットである場合には、該パケットのIPヘッダのSource IP Addressフィールドの値を書換リスト116に従い書き換え、書き換え後のパケットのIPヘッダのSource IP Addressフィールドの値がnullの場合には該パケットを廃棄し、書き換え後のパケットのIPヘッダのSource IP Addressフィールドの値がnullでない場合には該パケットは送信部119を通し、クライアント300へ送信される。書換対象パケットでない場合は、当該パケットに何もせず送信部119へ渡し、クライアント300へ送信される。本実施形態においては、IP処理部112から渡されたパケットのIPヘッダのDestination IP Addressフィールドの値が書換リスト116のマルチキャストIPアドレスの中に一致するものがあるかどうか検索し、一致するものがある場合には、書換対象パケットと判断し、その時の書換リスト116の書換先IPアドレスに当該パケットのIPヘッダのSource IP Addressフィールドの値を書き換える。また、本実施形態においては、書き換え後のパケットのIPヘッダのSource IP Addressフィールドの値は、ストリーム配信サーバ100Aではnull、ストリーム配信サーバ100Bではnull以外の値となる。
The stream packet processed by the stream
前記実施形態は、ストリーム配信サーバとストリーム制御装置が分かれているが、ストリーム制御装置の機能をストリーム配信サーバが具備し、図1のストリーム制御装置200がストリーム配信サーバとなる構成や、ストリーム配信サーバ100Bとストリーム制御装置200が一つとなる構成もあり得る。ストリーム配信サーバ100Bとストリーム制御装置200が一つとなる構成の場合、ストリーム制御装置200の書換判断部214からストリーム配信サーバ100Bのリスト書き込み部115へ書換情報を直接渡せばよい。また、この場合、ストリーム配信サーバ100Bの書換リスト116をストリーム制御装置200の監視書換リスト213で兼ねてもよい。
In the embodiment, the stream distribution server and the stream control device are separated, but the stream distribution server has the function of the stream control device, and the
また、前記実施形態は、監視書換リスト213への情報書き込み手段は特に記載していないが、システムに応じた書き込み手段(例えばINIファイル)を具備すればよい。
In the embodiment, information writing means to the
また、前記実施形態は、書換判断部214での監視対象パケットが正常に届かないと判断する条件を、監視対象パケットがあらかじめ決めた時間(例えば5秒)以上届かなかった場合としたが、必要に応じて他の条件(例えば監視対象パケットが単位時間内にあらかじめ決めた個数以上届いた場合)であっても、他の条件を追加して複数の条件であってもよい。
In the above embodiment, the condition for determining that the monitoring target packet does not normally arrive in the
また、前記実施形態は、書換判断部214での監視対象パケットが正常に届かないと判断する条件閾値を設定する手段(例えば監視対象パケットが正常に届かないと判断する、監視対象パケットが届かないと時間を設定する手段)は特に記載していないが、システムに応じた書き込み手段を具備すればよい。 Further, in the above-described embodiment, a means for setting a condition threshold for determining that the monitoring target packet does not normally reach in the rewrite determining unit 214 (for example, determining that the monitoring target packet does not normally reach does not reach the monitoring target packet) And means for setting the time) are not particularly described, but it is only necessary to provide writing means according to the system.
また、前記実施形態は、監視書換リスト213を表1に示す通りとしたが、マルチキャストIPアドレス、書換先IPアドレス、送信先IPアドレスがあれば形式には拘らない。また、前記実施形態は、書換要求メッセージを表2に示す通りとしたが、マルチキャストIPアドレス、書換先IPアドレスがあれば順序や形式には拘らない。また、TCPヘッダのDestination Portフィールドの値を3000以外でもよく、TCPでなくUDPでもよい。
In the above embodiment, the
また、前記実施形態は、書換部118にてIPヘッダのSource IP Addressフィールドの値のみを書き換えているが、マルチキャストIPアドレスの書き換えもあり得る。
In the above-described embodiment, only the value of the Source IP Address field of the IP header is rewritten by the
また、前記実施形態は、切替先のストリーム配信サーバは一つの構成としたが、複数台の構成もあり得る。この場合の実施形態を図4、表4を用いて説明する。 In the embodiment, the switching destination stream distribution server has a single configuration, but a plurality of configurations may be used. An embodiment in this case will be described with reference to FIG.
図4はストリーム制御装置のブロック構成例を示す図で、前実施形態のストリーム制御装置が切替情報読み取り部217を具備する。書換要求部215は書換要求メッセージのIPデータを生成後、該メッセージのマルチキャストIPアドレス、書換先IPアドレスを切替情報読み取り部217に渡す。切替情報読み取り部217は、該マルチキャストIPアドレスと書換先IPアドレスで、表4に示す監視切替リスト213から次切替先フラグが1の次切替先IPアドレスを検索し、該切替先IPアドレスを書換要求部215へ渡す。この時、切替情報読み取り部217は、監視切替リスト213の1である次切替先フラグを0にし、次の切替先フラグを0から1に変更する。
FIG. 4 is a diagram illustrating an example of a block configuration of the stream control apparatus. The stream control apparatus according to the previous embodiment includes a switching
また、前記実施形態では、監視するストリームコンテンツが一つとして記載されているが、複数のストリームコンテンツを一つのストリーム制御装置にて監視、制御する構成もあり得る。 In the above embodiment, one stream content to be monitored is described as one. However, a configuration in which a plurality of stream contents are monitored and controlled by one stream control device may be possible.
また、前記実施形態では、配信するストリームコンテンツが一つとして記載されているが、複数のストリームコンテンツをストリーム配信サーバにて配信する構成もあり得る。 Moreover, in the said embodiment, although the stream content to deliver is described as one, the structure by which a some stream content is delivered by a stream delivery server can also exist.
また、前記実施形態では、ストリーム配信サーバ100A、100Bの書換部118にて書き換えたパケットのIPヘッダSource IP Addressフィールドの値がnullの場合に廃棄しているが、代わりに他の値(例えば127.0.0.1)でもよい。
In the embodiment, the packet is rewritten when the value of the IP header Source IP Address field of the packet rewritten by the
なお、ストリーム制御装置、ストリーム配信サーバの機能は専用のハードウェアにより実現されるもの以外に、その機能を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するものであってもよい。コンピュータ読み取り可能な記録媒体とは、フレキシブルディスク、光磁気ディスク、CD−ROM等の記録媒体、コンピュータシステムに内蔵されるハードディスク装置等の記憶装置を指す。さらに、コンピュータ読み取り可能な記録媒体は、インターネットを介してプログラムを送信する場合のように、短時間の間、動的にプログラムを保持するもの(伝送媒体もしくは伝送波)、その場合のサーバとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含む。 In addition to the functions of the stream control device and the stream distribution server realized by dedicated hardware, a program for realizing the functions is recorded on a computer-readable recording medium and recorded on the recording medium. The read program may be read into a computer system and executed. The computer-readable recording medium refers to a recording medium such as a flexible disk, a magneto-optical disk, and a CD-ROM, and a storage device such as a hard disk device built in a computer system. Furthermore, a computer-readable recording medium is a server that dynamically holds a program (transmission medium or transmission wave) for a short period of time, as in the case of transmitting a program via the Internet, and a server in that case. Some of them hold programs for a certain period of time, such as volatile memory inside computer systems.
100A、100B ストリーム配信サーバ
111 受信部
112 IP処理部
113 TCP/UDP処理部
114 書換要求解析部
115 リスト書き込み部
116 書換リスト
117 ストリームパケット処理部
118 書換部
119 送信部
200 ストリーム制御装置
211 受信部
212 監視パケット判別部
213 監視書換リスト
214 書換判断部
215 書換要求部
216 送信部
217 切替情報読み取り部
300 クライアント
100A, 100B Stream distribution server 111
Claims (10)
ストリーム制御装置にて、
ストリーム配信サーバまたはストリーム中継サーバから受信したパケットが監視対象のパケットであるかどうか判断し、該パケットが監視対象のパケットである場合に、該パケットを監視し、ストリームパケットが正常に届かないことを検出した場合に、前記ストリーム配信サーバまたはストリーム中継サーバ、および切替先のストリーム配信サーバまたはストリーム中継サーバに書換要求メッセージを送信し、
ストリーム配信サーバまたはストリーム中継サーバにて、
前記ストリーム制御装置から送られた書換要求メッセージを解析し、マルチキャストIPアドレス、書換先IPアドレスを書換リストに追加し、IP処理部にて処理したIPパケットをクライアントへ送信する前に、該パケットが書換対象パケットであるかどうかを前記書換リストから判別し、書換対象パケットである場合に、該パケットのIPヘッダのSource IP Addressフィールドの値を前記書換リストに従い書き換え、書き換え後の該パケットのIPヘッダのSource IP Addressフィールドの値がnullの場合は該パケットを廃棄し、nullでない場合は該パケットを前記クライアントへ送信する
ことを特徴とするストリームデータ配信方法。 In a stream distribution network that sends stream packets from one or more stream distribution servers or stream relay servers to clients or stream relay servers using multicast,
In the stream control device,
It is determined whether the packet received from the stream distribution server or the stream relay server is a packet to be monitored, and when the packet is the packet to be monitored, the packet is monitored to confirm that the stream packet does not reach normally. If detected, send a rewrite request message to the stream delivery server or stream relay server and the switching destination stream delivery server or stream relay server,
At the stream delivery server or stream relay server,
The rewrite request message sent from the stream control device is analyzed, the multicast IP address and the rewrite destination IP address are added to the rewrite list, and the IP packet processed by the IP processing unit is sent to the client before being sent to the client. Whether the packet is a rewrite target packet is determined from the rewrite list. When the packet is a rewrite target packet, the value of the Source IP Address field of the IP header of the packet is rewritten according to the rewrite list, and the IP header of the rewritten packet is rewritten. A stream data distribution method comprising: discarding the packet when the value of the Source IP Address field of the packet is null, and transmitting the packet to the client when the value is not null.
ストリーム制御装置にて、前記ストリーム配信サーバまたはストリーム中継サーバから受信したパケットが監視対象のパケットであるかどうか判断し、該パケットが監視対象のパケットである場合に、該パケットを監視し、ストリームパケットが正常に届かないことを検出した場合に、前記ストリーム配信サーバまたはストリーム中継サーバ、および切替先のストリーム配信サーバまたはストリーム中継サーバに書換要求メッセージを送信することを特徴とするストリーム制御方法。 In a stream distribution network that sends stream packets from one or more stream distribution servers or stream relay servers to clients or stream relay servers using multicast,
In the stream control device, it is determined whether the packet received from the stream distribution server or the stream relay server is a packet to be monitored, and when the packet is the packet to be monitored, the packet is monitored, and the stream packet A stream control method comprising: transmitting a rewrite request message to the stream distribution server or stream relay server and the switching destination stream distribution server or stream relay server when it is detected that the message does not reach normally.
ストリーム配信サーバまたはストリーム中継サーバにて、
ストリーム制御装置から送られた書換要求メッセージを解析し、マルチキャストIPアドレス、書換先IPアドレスを書換リストに追加し、IP処理部にて処理したIPパケットをクライアントへ送信する前に、該パケットが書換対象パケットであるかどうか前記書換リストから判別し、書換対象パケットである場合に、該パケットのIPヘッダのSource IP Addressフィールドの値を書換リストに従い書き換え、書き換え後の該パケットのIPヘッダのSource IP Addressフィールドの値がnullの場合は当該パケットを廃棄し、nullでない場合はクライアントへ送信することを特徴とするストリームデータ配信方法。 In a stream distribution network that sends stream packets from one or more stream distribution servers or stream relay servers to clients or stream relay servers using multicast,
At the stream delivery server or stream relay server,
Analyzes the rewrite request message sent from the stream controller, adds the multicast IP address and rewrite destination IP address to the rewrite list, and rewrites the packet before sending the IP packet processed by the IP processing unit to the client Whether the packet is a target packet is determined from the rewrite list. If the packet is a rewrite target packet, the value of the Source IP Address field of the IP header of the packet is rewritten according to the rewrite list, and the source IP of the IP header of the rewritten packet is rewritten. A stream data delivery method characterized in that if the value of the Address field is null, the packet is discarded, and if it is not null, the packet is transmitted to the client.
ストリーム配信サーバまたはストリーム中継サーバから受信したパケットが監視対象のパケットであるかどうか判断する手段と、
該パケットが監視対象のパケットである場合に、該パケットを監視し、ストリームパケットが正常に届かないことを検出する手段と、
検出した際に、前記ストリーム配信サーバまたはストリーム中継サーバ、および切替先のストリーム配信サーバまたはストリーム中継サーバに送信するための書換要求メッセージを生成する手段と
を有するストリーム制御装置。 In a stream distribution network that sends stream packets from one or more stream distribution servers or stream relay servers to clients or stream relay servers using multicast,
Means for determining whether a packet received from a stream distribution server or a stream relay server is a packet to be monitored;
Means for monitoring the packet when the packet is a packet to be monitored and detecting that the stream packet does not normally reach;
And a means for generating a rewrite request message for transmission to the stream delivery server or stream relay server and the switching destination stream delivery server or stream relay server when detected.
ストリーム制御装置から送られた書換要求メッセージを解析する手段と、
解析して得たマルチキャストIPアドレス、書換先IPアドレスを書換リストに追加する手段と、
IP処理部にて処理したIPパケットをクライアントへ送信する前に、該パケットが書換対象パケットであるかどうか前記書換リストから判別し、書換対象パケットである場合に、該パケットのIPヘッダのSource IP Addressフィールドの値を書換リストに従い書き換え、書き換え後の当該パケットのIPヘッダのSource IP Addressフィールドの値がnullの場合は該パケットを廃棄し、nullでない場合は該パケットを前記クライアントへ送信する手段と
を有するストリーム配信装置。 In a stream distribution network that sends stream packets from one or more stream distribution servers or stream relay servers to clients or stream relay servers using multicast,
Means for analyzing the rewrite request message sent from the stream control device;
Means for adding the multicast IP address and rewrite destination IP address obtained by analysis to the rewrite list;
Before transmitting the IP packet processed by the IP processing unit to the client, it is determined from the rewrite list whether the packet is a rewrite target packet. If the packet is a rewrite target packet, the source IP of the IP header of the packet is determined. Means for rewriting the value of the Address field according to the rewrite list, discarding the packet if the value of the Source IP Address field of the IP header of the packet after rewriting is null, and transmitting the packet to the client if not null A stream distribution apparatus.
A computer-readable recording medium on which the program according to claim 9 is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004188403A JP2006013912A (en) | 2004-06-25 | 2004-06-25 | Stream data distributing method, steam data distributing apparatus, stream data control apparatus, program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004188403A JP2006013912A (en) | 2004-06-25 | 2004-06-25 | Stream data distributing method, steam data distributing apparatus, stream data control apparatus, program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006013912A true JP2006013912A (en) | 2006-01-12 |
Family
ID=35780614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004188403A Pending JP2006013912A (en) | 2004-06-25 | 2004-06-25 | Stream data distributing method, steam data distributing apparatus, stream data control apparatus, program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006013912A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010531618A (en) * | 2007-06-26 | 2010-09-24 | トムソン ライセンシング | Real-time protocol stream migration |
US10735502B2 (en) * | 2014-03-24 | 2020-08-04 | Square Enix Co., Ltd. | Interactive system, terminal apparatus, server apparatus, control method, program, and recording medium |
-
2004
- 2004-06-25 JP JP2004188403A patent/JP2006013912A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010531618A (en) * | 2007-06-26 | 2010-09-24 | トムソン ライセンシング | Real-time protocol stream migration |
US10735502B2 (en) * | 2014-03-24 | 2020-08-04 | Square Enix Co., Ltd. | Interactive system, terminal apparatus, server apparatus, control method, program, and recording medium |
US11516284B2 (en) | 2014-03-24 | 2022-11-29 | Square Enix Co., Ltd. | Interactive system, terminal apparatus, server apparatus, control method, program, and recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7742485B2 (en) | Distributed system for delivery of information via a digital network | |
US7546355B2 (en) | Network architecture for data transmission | |
US8307024B2 (en) | Assisted peer-to-peer media streaming | |
US9219640B2 (en) | Performing failover in a redundancy group | |
US7343413B2 (en) | Method and system for optimizing a network by independently scaling control segments and data flow | |
US20060176804A1 (en) | Data transfer apparatus and multicast system | |
US9019815B2 (en) | Source alive route injection | |
US7518983B2 (en) | Proxy response apparatus | |
US20130159487A1 (en) | Migration of Virtual IP Addresses in a Failover Cluster | |
US8218549B2 (en) | Synchronization of message stream in a multi-tier messaging system | |
CN107438012B (en) | Load balancing service forwarding method, system, balancing device and host machine | |
US20140095592A1 (en) | Network Connection Hand-Off and Hand-Back | |
US20130227022A1 (en) | Peer discovery and secure communication in failover schemes | |
US6389550B1 (en) | High availability protocol computing and method | |
US7385978B1 (en) | Method and apparatus for reliable multicast distribution | |
CN107332793B (en) | Message forwarding method, related equipment and system | |
US6988125B2 (en) | Servicing client requests in a network attached storage (NAS)-based network including replicating a client-server protocol in a packet generated by the NAS device | |
EP1062766A1 (en) | Method, apparatus, and medium for minimal time multicast graft/join restoration | |
JP2006013912A (en) | Stream data distributing method, steam data distributing apparatus, stream data control apparatus, program and recording medium | |
JP2006332935A (en) | System and method for contents data transmission | |
JP3872410B2 (en) | Stream relay control method, apparatus, and program | |
CA2684824C (en) | Failover with redundant multicasts for switched digital video | |
US20100312866A1 (en) | Redundancy pair detecting method, communication device and recording medium for recording redundancy pair detection program | |
JP2021087036A (en) | Receiver, distribution system, and program | |
JP2006121593A (en) | Server device, data distribution method, and program |