JP5162907B2 - Stream distribution system - Google Patents

Stream distribution system Download PDF

Info

Publication number
JP5162907B2
JP5162907B2 JP2007006918A JP2007006918A JP5162907B2 JP 5162907 B2 JP5162907 B2 JP 5162907B2 JP 2007006918 A JP2007006918 A JP 2007006918A JP 2007006918 A JP2007006918 A JP 2007006918A JP 5162907 B2 JP5162907 B2 JP 5162907B2
Authority
JP
Japan
Prior art keywords
stream data
terminal
distribution
stream
server
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.)
Active
Application number
JP2007006918A
Other languages
Japanese (ja)
Other versions
JP2008177657A (en
Inventor
芳樹 中松
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 JP2007006918A priority Critical patent/JP5162907B2/en
Publication of JP2008177657A publication Critical patent/JP2008177657A/en
Application granted granted Critical
Publication of JP5162907B2 publication Critical patent/JP5162907B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、再生表示端末に対してストリームデータを配信するストリーム配信システムに関する。   The present invention relates to a stream distribution system that distributes stream data to a playback display terminal.

現在、ネットワークを介して動画像コンテンツ等のストリームデータを配信するサービスが行われている。ストリームデータの配信を行うストリーム配信システムとしては、特許文献1に記載されているシステムがある。このシステムでは、再生表示端末からの要求に応じて、プロキシサーバが再生表示端末に対してストリームデータを配信している。プロキシサーバは、再生表示端末から要求されたストリームデータを自身で記憶している場合は、記憶しているストリームデータを再生表示端末へ配信する。ストリームデータを記憶していない場合は、配信サーバから配信されるストリームデータを受信して、受信したストリームデータを再生表示端末へ配信する。
特開2003−256321号公報
Currently, there is a service for distributing stream data such as moving image content via a network. As a stream distribution system for distributing stream data, there is a system described in Patent Document 1. In this system, the proxy server distributes stream data to the playback display terminal in response to a request from the playback display terminal. When the proxy server stores the stream data requested from the playback / display terminal itself, the proxy server distributes the stored stream data to the playback / display terminal. When the stream data is not stored, the stream data distributed from the distribution server is received, and the received stream data is distributed to the reproduction display terminal.
JP 2003-256321 A

上記した如く配信システムにおいて、再生表示端末に対して一連のストリームデータの配信を行っている途中で、別のストリームデータを配信する必要が生じたとする。この場合、再生表示端末で現在配信されているストリームデータの配信を中止する操作を行い、次に別のストリームデータを配信するように要求を出す操作を行う必要がある。また、配信する必要の生じたストリームデータの配信完了後に、元のストリームデータの配信を再開するためには、再生表示端末で元のストリームデータを配信するように要求を出す操作を行う必要がある。   In the distribution system as described above, it is assumed that another stream data needs to be distributed while a series of stream data is being distributed to the reproduction display terminal. In this case, it is necessary to perform an operation of canceling the distribution of the stream data currently distributed at the reproduction display terminal, and then an operation of issuing a request to distribute another stream data. Further, in order to resume the delivery of the original stream data after the delivery of the stream data that needs to be delivered, it is necessary to perform an operation for issuing a request to deliver the original stream data at the playback display terminal. .

再生表示端末で現在配信されているストリームデータの配信を中止する操作を行うと、再生表示端末とプロキシサーバ間及びプロキシサーバと配信サーバ間の接続が切断される。次に、再生表示端末で別のストリームを配信するように要求を出す操作を行うと、再生表示端末とプロキシサーバ間及びプロキシサーバと配信サーバ間で、再び接続が行われる。それ故、再生表示端末に対して一連のストリームデータを配信している途中に割り込んで別のストリームデータの配信を行う場合は、再生表示端末とプロキシサーバ間及びプロキシサーバと配信サーバ間で接続の切断と再接続が行われる。また、別のストリームデータの配信完了後に、元のストリームデータの配信を再開する場合にも、接続の切断と再接続が行われる。   When an operation to stop the distribution of the stream data currently distributed at the reproduction display terminal is performed, the connection between the reproduction display terminal and the proxy server and between the proxy server and the distribution server is disconnected. Next, when an operation for issuing a request to distribute another stream is performed at the reproduction display terminal, connection is performed again between the reproduction display terminal and the proxy server and between the proxy server and the distribution server. Therefore, if another stream data is to be distributed by interrupting a series of stream data being delivered to the playback display terminal, connection between the playback display terminal and the proxy server and between the proxy server and the delivery server must be established. Disconnect and reconnect. Also, when the delivery of the original stream data is resumed after the delivery of another stream data is completed, the connection is disconnected and reconnected.

本発明は、上記した点に鑑みてなされたものであり、再生表示端末に対して一連のストリームデータを配信中に別のストリームデータの配信を行う場合に、再生表示端末での操作及び接続の切断と再接続を行う必要がないストリーム配信システムを提供することを目的とする。   The present invention has been made in view of the above points, and in the case where another stream data is distributed during the distribution of a series of stream data to the reproduction display terminal, the operation and connection of the reproduction display terminal are performed. An object of the present invention is to provide a stream distribution system that does not require disconnection and reconnection.

本発明のストリーム配信システムは、ストリームデータを配信する配信サーバと、前記配信サーバから配信されるストリームデータを受信して中継するプロキシサーバとを有するストリーム配信システムであって、
前記配信サーバは、割り込み処理を実行する第1割り込み処理手段を有し、割り込みにより配信する第3ストリームデータの配信先である第1端末を表す第1端末識別情報と第2端末を表す第2端末識別情報とを有する割り込み要求信号を前記プロキシサーバに送信し、割り込み許可信号を受信すると、前記割り込みにより配信する前記第3ストリームデータを前記プロキシサーバに配信し、前記第3ストリームデータの配信が完了すると割り込み終了信号を前記プロキシサーバに送信し、
前記プロキシサーバは、前記第1端末及び前記第2端末に接続され、
第1ストリームデータと第2ストリームデータとを記憶するストリームデータ記憶手段と、
前記第1ストリームデータを第1端末に送信し前記第2ストリームデータを第2端末に送信、若しくは配信サーバから受信した前記第3ストリームデータを前記第1端末及び前記第2端末に中継するストリーム中継手段と、
割り込み処理を実行する第2割り込み処理手段と、
前記第1端末に送信している前記第1ストリームデータの位置と、前記第2端末に送信している前記第2ストリームデータの位置と、前記割り込み要求信号を送信した配信サーバの識別情報と、を記憶する配信管理情報記憶手段と、を有し、
前記割り込み要求信号を受信すると、前記第1端末識別情報に対応する前記第1端末に送信している前記第1ストリームデータの位置を記憶し、前記第2端末識別情報に対応する前記第2端末に送信している前記第2ストリームデータの位置を記憶し、前記第1ストリームデータを前記第1端末に送信することを一時停止し、前記第2ストリームデータを前記第2端末に送信することを一時停止し、一時停止後に前記割り込み許可信号を前記配信サーバに送信し、前記配信サーバの識別情報を前記配信管理情報記憶手段をして記憶せしめ、
前記配信サーバから前記第3ストリームデータを受信して、前記第1端末及び前記第2端末に中継し、
前記割り込み終了信号を受信すると、前記配信管理情報記憶手段に記録される前記配信サーバの識別情報を削除し、割り込み終了許可信号を前記配信サーバに送信し、
前記第1端末への送信を一時停止したときに記憶した前記第1ストリームデータの位置を読み出して、前記第1ストリームデータの位置から、前記第1ストリームデータを前記第1端末に送信し、前記第2端末への送信を一時停止したときに記憶した前記第2ストリームデータの位置を読み出して、前記第2ストリームデータの位置から、前記第2ストリームデータを前記第2端末に送信することを特徴とする。
The stream distribution system of the present invention is a stream distribution system having a distribution server that distributes stream data and a proxy server that receives and relays stream data distributed from the distribution server,
The distribution server includes first interrupt processing means for executing interrupt processing, and includes first terminal identification information representing a first terminal that is a distribution destination of third stream data distributed by interruption, and second representing a second terminal. When the interrupt request signal having terminal identification information is transmitted to the proxy server and the interrupt permission signal is received, the third stream data distributed by the interrupt is distributed to the proxy server, and the third stream data is distributed. Upon completion, an interrupt end signal is sent to the proxy server,
The proxy server is connected to the first terminal and the second terminal;
Stream data storage means for storing the first stream data and the second stream data;
Stream relay for transmitting the first stream data to the first terminal and transmitting the second stream data to the second terminal, or relaying the third stream data received from the distribution server to the first terminal and the second terminal Means,
Second interrupt processing means for executing interrupt processing;
The position of the first stream data transmitted to the first terminal, the position of the second stream data transmitted to the second terminal, the identification information of the distribution server that transmitted the interrupt request signal, Distribution management information storage means for storing
When the interrupt request signal is received, the position of the first stream data transmitted to the first terminal corresponding to the first terminal identification information is stored, and the second terminal corresponding to the second terminal identification information is stored. Storing the position of the second stream data being transmitted to the terminal, temporarily stopping transmission of the first stream data to the first terminal, and transmitting the second stream data to the second terminal. Pause, send the interrupt permission signal to the distribution server after the suspension, store the distribution server identification information in the distribution management information storage means,
Receiving the third stream data from the distribution server and relaying to the first terminal and the second terminal;
When receiving the interrupt end signal, delete the distribution server identification information recorded in the distribution management information storage means, and send an interrupt end permission signal to the distribution server,
Reading the position of the first stream data stored when transmission to the first terminal is paused, and transmitting the first stream data from the position of the first stream data to the first terminal, The position of the second stream data stored when the transmission to the second terminal is paused is read, and the second stream data is transmitted to the second terminal from the position of the second stream data. And

本発明のストリーム配信システムによれば、配信サーバから割り込み要求があったときに、再生表示端末へのストリームデータの配信を一時停止して、割り込み要求を送出した配信サーバからのストリームデータを再生表示端末へ配信している。それ故、再生表示端末で操作を行うことなく、配信中のストリームデータとは別のストリームデータを再生表示端末へ配信することが出来る。このとき、再生表示端末とプロキシサーバ間及びプロキシサーバと配信サーバ間の接続は切断されないので、再接続を行う必要がない。また、割り込み要求を送出した配信サーバからのストリームデータの配信が完了した場合は、一時停止しているストリームデータの配信を再開している。それ故、再生表示端末で操作を行うことなく、元のストリームデータの配信を再開することが出来る。   According to the stream distribution system of the present invention, when there is an interrupt request from the distribution server, the distribution of the stream data to the reproduction display terminal is temporarily stopped, and the stream data from the distribution server that has transmitted the interrupt request is reproduced and displayed. Delivered to the terminal. Therefore, stream data different from the stream data being distributed can be distributed to the playback display terminal without performing any operation on the playback display terminal. At this time, since the connection between the reproduction display terminal and the proxy server and between the proxy server and the distribution server is not disconnected, it is not necessary to perform reconnection. In addition, when the distribution of the stream data from the distribution server that has transmitted the interrupt request is completed, the distribution of the suspended stream data is resumed. Therefore, it is possible to resume the delivery of the original stream data without performing an operation on the playback display terminal.

以下、本発明の実施例について図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明に係るストリーム配信システムの実施例を示している。ストリーム配信システムは、ストリームデータの配信を行う配信サーバ1a及び1b、ストリームデータを中継するプロキシサーバ2、ストリームデータの再生及び表示を行う再生表示端末3a及び3bすなわち第1端末及び第2端末から構成されている。配信サーバ1a及び1bとプロキシサーバ2の各々は、LAN4により接続されている。プロキシサーバ2と再生表示端末3a及び3bの各々は、IPネットワーク5により接続されている。 FIG. 1 shows an embodiment of a stream distribution system according to the present invention. The stream distribution system includes distribution servers 1a and 1b that distribute stream data, a proxy server 2 that relays stream data, and reproduction display terminals 3a and 3b that reproduce and display stream data, that is, a first terminal and a second terminal. Has been. Each of the distribution servers 1 a and 1 b and the proxy server 2 is connected by a LAN 4. Each of the proxy server 2 and the reproduction display terminals 3 a and 3 b is connected by an IP network 5.

配信サーバ1aは、自身で記憶しているストリームデータの配信を行うものである。ストリームデータ記憶手段11は、動画像コンテンツ等のストリームデータを記憶している。ストリーム配信手段12は、プロキシサーバ2からの要求に応じて、ストリームデータ記憶手段11に記憶されているストリームデータをプロキシサーバ2に向けて配信する。割り込み要求手段13すなわち第1割り込み処理手段の一方は、プロキシサーバ2に対して割り込み要求を送出する。割り込み終了通知手段14すなわち第1割り込み処理手段の他方は、プロキシサーバ2に対して割り込み終了通知を送出する。配信一時停止手段15は、プロキシサーバ2からのストリームデータの配信を一時停止する要求に応じて、ストリームデータの配信を一時停止する。配信一時停止解除手段16は、プロキシサーバ2からの一時停止を解除する要求に応じて、一時停止しているストリームデータの配信を再開する。尚、他の配信サーバ1bも配信サーバ1aと同様の構成である。 The distribution server 1a distributes the stream data stored by itself. The stream data storage unit 11 stores stream data such as moving image content. The stream distribution unit 12 distributes the stream data stored in the stream data storage unit 11 toward the proxy server 2 in response to a request from the proxy server 2. One of the interrupt request means 13, that is, the first interrupt processing means sends an interrupt request to the proxy server 2. The other of the interrupt end notification means 14, that is, the first interrupt processing means sends an interrupt end notification to the proxy server 2. The distribution pause unit 15 temporarily stops the distribution of the stream data in response to a request for temporarily stopping the distribution of the stream data from the proxy server 2. The distribution pause cancellation means 16 resumes the distribution of the paused stream data in response to a request to cancel the pause from the proxy server 2. The other distribution server 1b has the same configuration as the distribution server 1a.

プロキシサーバ2は、配信サーバ1a及び1bの各々から配信されるストリームデータを再生表示端末3a及び3bの各々へ中継するものである。配信要求手段21は、再生表示端末3a及び3bの各々からの要求に応じて、配信サーバ1a及び1bの各々に対してストリームデータの配信を要求する。ストリーム中継手段22は、配信サーバ1a及び1bの各々から配信されるストリームデータを再生表示端末3a及び3bの各々へ中継する。また、ストリーム中継手段22は、ストリームデータ一時記憶手段25に再生表示端末へ送出するストリームデータが記憶されている場合は、ストリームデータ一時記憶手段25からストリームデータを読み出して再生表示端末へ送出する。配信一時停止要求手段23すなわち第2割り込み処理手段の一方は、配信サーバ1a及び1bの各々からの割り込み要求に応じて、ストリームデータの配信を行っている配信サーバに対してストリームデータの配信を一時停止するように要求する。配信一時停止解除要求手段24すなわち第2割り込み処理手段の他方は、配信サーバ1a及び1bの各々からの割り込み終了通知に応じて、ストリームデータの配信を一時停止している配信サーバに対して一時停止の解除を要求する。ストリームデータ一時記憶手段25は、配信サーバ1a及び1bの各々から配信されるストリームデータを一時記憶する。配信管理情報記憶手段26は、ストリームデータの配信先や配信元等の情報を表す配信管理テーブルを記憶している。配信管理テーブルには、ストリームデータの配信先の再生表示端末、ストリームデータを配信している配信サーバ、割り込み要求を送出した配信サーバを表す情報等が記録されている。

The proxy server 2 relays the stream data distributed from each of the distribution servers 1a and 1b to each of the reproduction display terminals 3a and 3b. The distribution request means 21 requests the distribution servers 1a and 1b to distribute the stream data in response to requests from the reproduction display terminals 3a and 3b. The stream relay means 22 relays the stream data distributed from each of the distribution servers 1a and 1b to each of the reproduction display terminals 3a and 3b. Further, when the stream data to be sent to the reproduction display terminal is stored in the stream data temporary storage means 25, the stream relay means 22 reads the stream data from the stream data temporary storage means 25 and sends it to the reproduction display terminal. One of the distribution suspension request means 23, that is, the second interruption processing means , temporarily distributes the stream data to the distribution server that distributes the stream data in response to the interruption request from each of the distribution servers 1a and 1b. Request to stop. The other of the distribution suspension cancellation request means 24, that is, the second interrupt processing means, suspends the distribution server that has suspended the distribution of the stream data in response to the interruption end notification from each of the distribution servers 1a and 1b. Request release of. The stream data temporary storage means 25 temporarily stores stream data distributed from each of the distribution servers 1a and 1b. The distribution management information storage unit 26 stores a distribution management table that represents information such as a distribution destination and a distribution source of the stream data. In the distribution management table, information representing the reproduction display terminal to which the stream data is distributed, the distribution server that distributes the stream data, the distribution server that sent the interrupt request, and the like are recorded.

図2に、配信管理テーブルの例を示す。配信管理テーブルは、端末識別子、アドレス、ポート番号、伝送パラメータ、配信サーバ識別子、割り込み配信サーバ識別子の項目から構成されている。端末識別子の項目には、再生表示端末の各々を表す識別子が記録されている。アドレスの項目には、再生表示端末のIPアドレスが記録されている。ポート番号の項目には、再生表示端末のポート番号が記録されている。伝送パラメータの項目には、伝送パラメータであるストリームデータの圧縮形式とビットレートが記録されている。配信サーバ識別子の項目には、ストリームデータの配信を行っている配信サーバを表す識別子が記録されている。割り込み配信サーバ識別子の項目には、割り込み要求を送出した配信サーバを表す識別子が記録されている。配信サーバから割り込み要求が送出されていない場合、割り込み配信サーバ識別子の項目には、何も記録されない。   FIG. 2 shows an example of the distribution management table. The distribution management table includes items of a terminal identifier, an address, a port number, a transmission parameter, a distribution server identifier, and an interrupt distribution server identifier. In the terminal identifier item, an identifier representing each reproduction display terminal is recorded. In the address item, the IP address of the playback display terminal is recorded. In the port number item, the port number of the reproduction display terminal is recorded. In the transmission parameter item, the compression format and bit rate of stream data, which is a transmission parameter, are recorded. In the item of distribution server identifier, an identifier representing a distribution server that distributes stream data is recorded. In the item of interrupt distribution server identifier, an identifier representing the distribution server that sent the interrupt request is recorded. When no interrupt request is sent from the distribution server, nothing is recorded in the item of interrupt distribution server identifier.

再生表示端末3aは、プロキシサーバ2から中継されるストリームデータの再生及び表示を行うものである。再生表示端末3aとしては、例えば、パーソナルコンピュータ等が用いられる。ストリーム中継要求手段31は、プロキシサーバ2に対してストリームデータを中継するように要求する。再生表示手段32は、プロキシサーバ2から送られてくるストリームデータの再生及び表示を行う。尚、他の再生表示端末3bも再生表示端末3aと同様の構成である。   The reproduction display terminal 3a reproduces and displays stream data relayed from the proxy server 2. For example, a personal computer or the like is used as the reproduction display terminal 3a. The stream relay request unit 31 requests the proxy server 2 to relay the stream data. The reproduction display means 32 reproduces and displays the stream data sent from the proxy server 2. The other reproduction display terminal 3b has the same configuration as the reproduction display terminal 3a.

図3に、配信サーバ1aから配信されるストリームデータを再生表示端末3aで再生及び表示する場合の動作を示す。   FIG. 3 shows an operation in a case where stream data distributed from the distribution server 1a is reproduced and displayed on the reproduction display terminal 3a.

再生表示端末3aの利用者がストリームデータの中継を要求する操作を行ったとする。ストリームデータの中継を要求する操作があると、再生表示端末3aは、プロキシサーバ2に向けて接続要求を送出する(ステップS301)。接続要求には、中継を要求するストリームデータを表すストリーム識別子、再生表示端末のポート番号、ストリームデータの圧縮形式やビットレート等の伝送パラメータが含まれる。プロキシサーバ2は、接続要求を受信すると、接続要求で指定されているストリームデータがストリームデータ一時記憶手段25に記憶されているかどうかを確認する。ここでは、ストリームデータ一時記憶手段25に記憶されていないとする。この場合、プロキシサーバ2は、接続要求で指定されているストリームデータを記憶している配信サーバの中から1つを選択する。ここでは、配信サーバ1aが選択されたとする。配信サーバを選択した後、プロキシサーバ2は、配信管理テーブルに接続要求を送出した再生表示端末の端末識別子、アドレス、ポート番号、伝送パラメータ、選択した配信サーバの識別子を記録する。このときの配信管理テーブルの例を図4に示す。プロキシサーバ2は、配信管理テーブルを更新した後、配信サーバ1aに向けて接続要求を送出する(ステップS302)。このとき送出する接続要求には、ストリーム識別子及び伝送パラメータが含まれる。   It is assumed that the user of the reproduction display terminal 3a performs an operation for requesting relay of stream data. When there is an operation for requesting relay of stream data, the playback / display terminal 3a sends a connection request to the proxy server 2 (step S301). The connection request includes a stream identifier representing stream data for which relay is requested, a port number of the playback / display terminal, a transmission parameter such as a compression format and bit rate of the stream data. When the proxy server 2 receives the connection request, the proxy server 2 checks whether or not the stream data specified in the connection request is stored in the stream data temporary storage unit 25. Here, it is assumed that the stream data is not stored in the temporary storage unit 25. In this case, the proxy server 2 selects one of the distribution servers that store the stream data specified in the connection request. Here, it is assumed that the distribution server 1a is selected. After selecting the distribution server, the proxy server 2 records the terminal identifier, address, port number, transmission parameter, and identifier of the selected distribution server of the reproduction display terminal that sent the connection request in the distribution management table. An example of the distribution management table at this time is shown in FIG. After updating the distribution management table, the proxy server 2 sends a connection request to the distribution server 1a (step S302). The connection request sent at this time includes a stream identifier and a transmission parameter.

配信サーバ1aは、プロキシサーバ2から接続要求を受信すると、接続OKをプロキシサーバ2に向けて送出する(ステップS303)。プロキシサーバ2は、配信サーバ1aから接続OKを受信すると、再生表示端末3aに向けて接続OKを送出する(ステップS304)。再生表示端末3aは、プロキシサーバ2から接続OKを受信すると、再生要求をプロキシサーバ2に向けて送出する(ステップS305)。プロキシサーバ2は、再生表示端末3aから再生要求を受信すると、配信サーバ1aに向けて再生要求を送出する(ステップS306)。配信サーバ1aは、プロキシサーバ2から再生要求を受信すると、再生OKをプロキシサーバ2に向けて送出する(ステップS307)。プロキシサーバ2は、配信サーバ1aから再生OKを受信すると、再生表示端末3aに向けて再生OKを送出する(ステップS308)。   When the distribution server 1a receives the connection request from the proxy server 2, the distribution server 1a sends connection OK to the proxy server 2 (step S303). When the proxy server 2 receives the connection OK from the distribution server 1a, the proxy server 2 sends the connection OK to the reproduction display terminal 3a (step S304). When receiving the connection OK from the proxy server 2, the reproduction display terminal 3a sends a reproduction request to the proxy server 2 (step S305). When the proxy server 2 receives the reproduction request from the reproduction display terminal 3a, the proxy server 2 sends the reproduction request to the distribution server 1a (step S306). When the distribution server 1a receives the reproduction request from the proxy server 2, the distribution server 1a transmits reproduction OK to the proxy server 2 (step S307). When the proxy server 2 receives the reproduction OK from the distribution server 1a, the proxy server 2 sends the reproduction OK to the reproduction display terminal 3a (step S308).

配信サーバ1aは、S307の処理で再生OKを送出した後、ストリームデータを配信する処理を行う。まず、配信サーバ1aは、受信した接続要求に含まれるストリーム識別子に対応するストリームデータをストリームデータ記憶手段11から検索する。そして、検索したストリームデータをストリームデータ記憶手段11から読み出して、プロキシサーバ2に向けて配信する(ステップS309)。   The distribution server 1a performs a process of distributing the stream data after sending the reproduction OK in the process of S307. First, the distribution server 1a searches the stream data storage unit 11 for stream data corresponding to the stream identifier included in the received connection request. Then, the retrieved stream data is read from the stream data storage unit 11 and distributed to the proxy server 2 (step S309).

プロキシサーバ2は、配信サーバ1aから配信されるストリームデータを受信すると、受信したストリームデータを再生表示端末3aへ中継する(ステップS310)。また、プロキシサーバ2は、受信したストリームデータをストリームデータ一時記憶手段25に記憶する。再生表示端末3aは、プロキシサーバ2から中継されるストリームデータを受信すると、受信したストリームデータの再生及び表示を行う。   When the proxy server 2 receives the stream data distributed from the distribution server 1a, the proxy server 2 relays the received stream data to the reproduction display terminal 3a (step S310). Further, the proxy server 2 stores the received stream data in the stream data temporary storage unit 25. When receiving the stream data relayed from the proxy server 2, the playback / display terminal 3a plays back and displays the received stream data.

図5は、プロキシサーバ2が配信サーバ1aから配信されるストリームデータを再生表示端末1aへ中継しているときに、配信サーバ1bが割り込み要求を送出した場合の動作を示した図である。   FIG. 5 is a diagram showing an operation when the distribution server 1b sends an interrupt request when the proxy server 2 relays the stream data distributed from the distribution server 1a to the reproduction display terminal 1a.

ストリーム配信システムの管理者が配信サーバ1bに向けて割り込みによりストリームデータを再生表示端末3aに向けて配信するように要求を出したとする。この要求には、割り込みにより配信するストリームデータを表すストリーム識別子と配信先の再生表示端末を表す端末識別子が含まれる。配信サーバ1bは、割り込みによりストリームデータを配信する要求を受けると、配信先に指定されている再生表示端末3aに向けてストリームデータを中継しているプロキシサーバ2に対して割り込み要求を送出する(ステップS501)。この割り込み要求には、割り込みにより配信するストリームデータの配信先である再生表示端末3aを表す端末識別子が含まれる。   Assume that the administrator of the stream distribution system issues a request to the distribution server 1b to distribute the stream data to the reproduction display terminal 3a by interruption. This request includes a stream identifier representing stream data to be distributed by interruption and a terminal identifier representing a reproduction display terminal as a distribution destination. When the distribution server 1b receives a request to distribute the stream data by interruption, the distribution server 1b sends an interruption request to the proxy server 2 that relays the stream data to the reproduction display terminal 3a designated as the distribution destination ( Step S501). This interrupt request includes a terminal identifier representing the reproduction display terminal 3a that is a distribution destination of the stream data distributed by the interrupt.

プロキシサーバ2は、割り込み要求を受信すると、配信管理テーブルから、割り込み要求で配信先に指定されている再生情報端末3aに向けてストリームデータを配信している配信サーバの識別子や伝送パラメータ等を取得する。割り込み要求を受信する前の配信管理テーブルの内容が図4に示す内容であったとすると、再生情報端末3aに向けてストリームデータを配信している配信サーバとして、配信サーバ1aが取得される。また、伝送パラメータとして、圧縮形式「mpeg2」及びビットレート「4Mbps」が取得される。配信サーバの識別子や伝送パラメータ等を取得した後、プロキシサーバ2は、再生情報端末3aに向けたストリームデータを配信している配信サーバ1aに対して一時停止要求を送出する(ステップS502)。   When the proxy server 2 receives the interrupt request, the proxy server 2 acquires, from the distribution management table, an identifier, a transmission parameter, and the like of the distribution server that distributes the stream data toward the reproduction information terminal 3a specified as the distribution destination in the interrupt request. To do. If the contents of the distribution management table before receiving the interrupt request are the contents shown in FIG. 4, the distribution server 1a is acquired as a distribution server that distributes the stream data toward the reproduction information terminal 3a. Also, the compression format “mpeg2” and the bit rate “4 Mbps” are acquired as transmission parameters. After acquiring the distribution server identifier, transmission parameters, and the like, the proxy server 2 sends a pause request to the distribution server 1a that distributes the stream data to the reproduction information terminal 3a (step S502).

配信サーバ1aは、プロキシサーバ2から一時停止要求を受信すると、その時点で配信しているストリームデータの位置を記憶して、ストリームデータの配信を一時停止する。そして、配信サーバ1aは、プロキシサーバ2に対して一時停止OKを送出する(ステップS503)。配信サーバ1aから一時停止OKを受信すると、プロキシサーバ2は、割り込み要求を送出した配信サーバ1bへ割り込みOKを送出する(ステップS504)。このとき送出される割り込みOKには、配信管理テーブルに記録されている伝送パラメータである圧縮形式「mpeg2」及びビットレート「4Mbps」が含まれる。プロキシサーバ2は、割り込みOKを送出した後、配信管理テーブルの割り込み配信サーバ識別子の項目に、割り込み要求を送出した配信サーバ1bを表す識別子を記録する。割り込み要求を受信する前の配信管理テーブルが図4であるとすると、このときの配信管理テーブルは図6のようになる。   When the distribution server 1a receives a pause request from the proxy server 2, the distribution server 1a stores the position of the stream data distributed at that time and temporarily stops the distribution of the stream data. Then, the distribution server 1a sends a temporary stop OK to the proxy server 2 (step S503). When the temporary stop OK is received from the distribution server 1a, the proxy server 2 transmits an interrupt OK to the distribution server 1b that has transmitted the interrupt request (step S504). The interrupt OK sent at this time includes a compression format “mpeg2” and a bit rate “4 Mbps” which are transmission parameters recorded in the distribution management table. After sending the interrupt OK, the proxy server 2 records the identifier representing the delivery server 1b that sent the interrupt request in the item of the interrupt delivery server identifier in the delivery management table. If the distribution management table before receiving the interrupt request is FIG. 4, the distribution management table at this time is as shown in FIG.

配信サーバ1bは、プロキシサーバ2から割り込みOKを受信すると、管理者からの要求で指定されているストリームデータをストリームデータ記憶手段から読み出して、プロキシサーバ2に向けて配信する(ステップS505)。プロキシサーバ2は、配信サーバ1bから配信されるストリームデータを受信すると、受信したストリームデータを再生表示端末3aへ中継する(ステップS506)。このとき受信したストリームデータは割り込みにより配信されているものなので、プロキシサーバ2は、受信したストリームデータをストリームデータ一時記憶手段25に記憶しない。再生表示端末3aは、プロキシサーバ2から中継されるストリームデータを受信すると、受信したストリームデータの再生及び表示を行う。   When the distribution server 1b receives the interrupt OK from the proxy server 2, the distribution server 1b reads out the stream data specified by the request from the administrator from the stream data storage unit and distributes the stream data to the proxy server 2 (step S505). When the proxy server 2 receives the stream data distributed from the distribution server 1b, the proxy server 2 relays the received stream data to the reproduction display terminal 3a (step S506). Since the stream data received at this time is distributed by interruption, the proxy server 2 does not store the received stream data in the stream data temporary storage unit 25. When receiving the stream data relayed from the proxy server 2, the playback / display terminal 3a plays back and displays the received stream data.

ここで、配信サーバ1bがストリームデータの配信を完了したとする(ステップS507)。ストリームデータの配信が完了すると、配信サーバ1bは、プロキシサーバ2へ割り込み終了通知を送出する(ステップS508)。プロキシサーバ2は、割り込み終了通知を受信すると、配信管理テーブルの割り込み配信サーバ識別子の項目に記録されている配信サーバ1bを表す識別子を削除する。割り込み終了通知を受信する前の配信管理テーブルが図6であるとすると、このときの配信管理テーブルは図4のようになる。プロキシサーバ2は、配信管理テーブルを更新した後、配信サーバ1bへ割り込み終了OKを送出する(ステップS509)。そして、プロキシサーバ2は、配信サーバ1aに向けて一時停止解除要求を送出する(ステップS510)。   Here, it is assumed that the distribution server 1b has completed the distribution of the stream data (step S507). When the distribution of the stream data is completed, the distribution server 1b sends an interruption end notification to the proxy server 2 (step S508). When the proxy server 2 receives the interrupt end notification, the proxy server 2 deletes the identifier representing the distribution server 1b recorded in the interrupt distribution server identifier item of the distribution management table. If the distribution management table before receiving the interrupt end notification is FIG. 6, the distribution management table at this time is as shown in FIG. After updating the distribution management table, the proxy server 2 sends an interruption end OK to the distribution server 1b (step S509). Then, the proxy server 2 sends a temporary suspension release request to the distribution server 1a (step S510).

配信サーバ1aは、プロキシサーバ2から一時停止解除要求を受信すると、プロキシサーバ2に向けて一時停止解除OKを送出する(ステップS511)。また、配信サーバ1aは、ストリームデータの配信を一時停止したときに記憶したストリームデータの位置を読み出して、その位置からストリームデータの配信を再開する(ステップS512)。   When receiving the suspension release request from the proxy server 2, the distribution server 1a sends a suspension release OK to the proxy server 2 (step S511). Further, the distribution server 1a reads the position of the stream data stored when the distribution of the stream data is temporarily stopped, and resumes the distribution of the stream data from the position (step S512).

プロキシサーバ2は、配信サーバ1aから配信されるストリームデータを受信すると、受信したストリームデータを再生表示端末3aへ中継する(ステップS513)。また、プロキシサーバ2は、受信したストリームデータをストリームデータ一時記憶手段25に記憶する。再生表示端末3aは、プロキシサーバ2から中継されるストリームデータを受信すると、受信したストリームデータの再生及び表示を行う。   When the proxy server 2 receives the stream data distributed from the distribution server 1a, the proxy server 2 relays the received stream data to the reproduction display terminal 3a (step S513). Further, the proxy server 2 stores the received stream data in the stream data temporary storage unit 25. When receiving the stream data relayed from the proxy server 2, the playback / display terminal 3a plays back and displays the received stream data.

図7に、プロキシサーバ2が、ストリームデータ一時記憶手段25に記憶しているストリームデータを再生表示端末3aへ配信する場合の動作を示す。   FIG. 7 shows an operation when the proxy server 2 distributes the stream data stored in the stream data temporary storage means 25 to the reproduction display terminal 3a.

再生表示端末3aの利用者がストリームデータの中継を要求する操作を行ったとする。ストリームデータの中継を要求する操作があると、再生表示端末3aは、プロキシサーバ2へ接続要求を送出する(ステップS701)。接続要求には、中継を要求するストリームデータを表すストリーム識別子、再生表示端末のポート番号、ストリームデータの圧縮形式やビットレート等の伝送パラメータが含まれる。プロキシサーバ2は、接続要求を受信すると、接続要求で指定されているストリームデータがストリームデータ一時記憶手段25に記憶されているかどうかを確認する。ここでは、ストリームデータ一時記憶手段25に接続要求で指定されているストリームデータが記憶されているとする。この場合、プロキシサーバ2は、配信管理テーブルに接続要求を送出した再生表示端末の端末識別子、アドレス、ポート番号、伝送パラメータを記録する。そして、再生表示端末3aに対して接続OKを送出する(ステップS702)。再生表示端末3aは、プロキシサーバ2から接続OKを受信すると、再生要求をプロキシサーバ2へ送出する(ステップS703)。   It is assumed that the user of the reproduction display terminal 3a performs an operation for requesting relay of stream data. When there is an operation for requesting relay of stream data, the playback / display terminal 3a sends a connection request to the proxy server 2 (step S701). The connection request includes a stream identifier representing stream data for which relay is requested, a port number of the playback / display terminal, a transmission parameter such as a compression format and bit rate of the stream data. When the proxy server 2 receives the connection request, the proxy server 2 checks whether or not the stream data specified in the connection request is stored in the stream data temporary storage unit 25. Here, it is assumed that the stream data specified by the connection request is stored in the stream data temporary storage unit 25. In this case, the proxy server 2 records the terminal identifier, address, port number, and transmission parameter of the playback / display terminal that sent the connection request in the distribution management table. Then, a connection OK is sent to the reproduction display terminal 3a (step S702). When receiving the connection OK from the proxy server 2, the playback display terminal 3a sends a playback request to the proxy server 2 (step S703).

プロキシサーバ2は、再生表示端末3aから再生要求を受信すると、再生表示端末3aへ再生OKを送出する(ステップS704)。そして、プロキシサーバ2は、ストリームデータ一時記憶手段25に記憶しているストリームデータを読み出して、再生表示端末3aへ送出する(ステップS705)。再生表示端末3aは、プロキシサーバ2から送出されるストリームデータを受信すると、受信したストリームデータの再生及び表示を行う。   When the proxy server 2 receives the reproduction request from the reproduction display terminal 3a, the proxy server 2 sends reproduction OK to the reproduction display terminal 3a (step S704). Then, the proxy server 2 reads out the stream data stored in the stream data temporary storage unit 25 and sends it to the reproduction display terminal 3a (step S705). When receiving the stream data sent from the proxy server 2, the playback / display terminal 3a plays back and displays the received stream data.

図8は、プロキシサーバ2がストリームデータ一時記憶手段25に記憶しているストリームデータを再生表示端末3aへ送出しているときに、配信サーバ1bが割り込み要求を送出した場合の動作を示した図である。   FIG. 8 shows an operation when the distribution server 1b sends an interrupt request when the proxy server 2 sends the stream data stored in the stream data temporary storage means 25 to the reproduction display terminal 3a. It is.

ストリーム配信システムの管理者が配信サーバ1bに向けて割り込みによりストリームデータを再生表示端末3aへ配信するように要求を出したとする。この要求には、割り込みにより配信するストリームデータを表すストリーム識別子と配信先の再生表示端末を表す端末識別子が含まれる。配信サーバ1bは、割り込みによりストリームデータを配信する要求を受けると、配信先として指定されている再生表示端末3aに向けてストリームデータを中継しているプロキシサーバ2に対して割り込み要求を送出する(ステップS801)。この割り込み要求には、割り込みにより配信するストリームデータの配信先である再生表示端末3aを表す端末識別子が含まれる。   Assume that the administrator of the stream distribution system issues a request to the distribution server 1b to distribute the stream data to the reproduction display terminal 3a by interruption. This request includes a stream identifier representing stream data to be distributed by interruption and a terminal identifier representing a reproduction display terminal as a distribution destination. When the distribution server 1b receives a request to distribute the stream data by interruption, the distribution server 1b sends an interruption request to the proxy server 2 that relays the stream data to the reproduction display terminal 3a designated as the distribution destination ( Step S801). This interrupt request includes a terminal identifier representing the reproduction display terminal 3a that is a distribution destination of the stream data distributed by the interrupt.

プロキシサーバ2は、割り込み要求を受信すると、配信管理テーブルから配信サーバ識別子や伝送パラメータ等を取得する。そして、プロキシサーバ2は、その時点で送出しているストリームデータの位置を記憶して、ストリームデータの送出を一時停止する。ストリームデータの送出を一時停止した後、プロキシサーバ2は、割り込み要求を送出した配信サーバ1bへ割り込みOKを送出する(ステップS802)。このとき送出される割り込みOKには、配信管理テーブルに記録されている伝送パラメータが含まれる。プロキシサーバ2は、割り込みOKを送出した後、配信管理テーブルの割り込み配信サーバ識別子の項目に、割り込み要求を送出した配信サーバ1bを表す識別子を記録する。   When the proxy server 2 receives the interrupt request, the proxy server 2 acquires a distribution server identifier, a transmission parameter, and the like from the distribution management table. Then, the proxy server 2 stores the position of the stream data being sent at that time, and temporarily stops sending the stream data. After temporarily stopping the transmission of the stream data, the proxy server 2 sends an interrupt OK to the distribution server 1b that sent the interrupt request (step S802). The interrupt OK sent at this time includes the transmission parameters recorded in the distribution management table. After sending the interrupt OK, the proxy server 2 records the identifier representing the delivery server 1b that sent the interrupt request in the item of the interrupt delivery server identifier in the delivery management table.

配信サーバ1bは、プロキシサーバ2から割り込みOKを受信すると、管理者からの要求で指定されているストリームデータをストリームデータ記憶手段から読み出して、プロキシサーバ2に向けて配信する(ステップS803)。プロキシサーバ2は、配信サーバ1bから配信されるストリームデータを受信すると、受信したストリームデータを再生表示端末3aへ中継する(ステップS804)。このとき受信したストリームデータは割り込みにより配信されているものなので、プロキシサーバ2は、受信したストリームデータをストリームデータ一時記憶手段25に記憶しない。再生表示端末3aは、配信サーバ1bから配信されているストリームデータを受信すると、受信したストリームデータの再生及び表示を行う。   When the distribution server 1b receives the interrupt OK from the proxy server 2, the distribution server 1b reads out the stream data specified by the request from the administrator from the stream data storage unit and distributes the stream data to the proxy server 2 (step S803). When the proxy server 2 receives the stream data distributed from the distribution server 1b, the proxy server 2 relays the received stream data to the reproduction display terminal 3a (step S804). Since the stream data received at this time is distributed by interruption, the proxy server 2 does not store the received stream data in the stream data temporary storage unit 25. When receiving the stream data distributed from the distribution server 1b, the reproduction display terminal 3a reproduces and displays the received stream data.

ここで、配信サーバ1bがストリームデータの配信を完了したとする(ステップS805)。ストリームデータの配信が完了すると、配信サーバ1bは、プロキシサーバ2へ割り込み終了通知を送出する(ステップS806)。プロキシサーバ2は、割り込み終了通知を受信すると、配信管理テーブルの割り込み配信サーバ識別子の項目に記録されている配信サーバ1bを表す識別子を削除する。そして、プロキシサーバ2は、配信サーバ1bへ割り込み終了OKを送出する(ステップS807)。割り込み終了OKを送出した後、プロキシサーバは、ストリームデータの送出を一時停止したときに記憶したストリームデータの位置を読み出す。そして、その位置から再生表示端末3aに向けたストリームデータの送出を再開する(ステップS808)。再生表示端末3aは、プロキシサーバ2から送出されるストリームデータを受信すると、受信したストリームデータの再生及び表示を行う。   Here, it is assumed that the distribution server 1b has completed the distribution of the stream data (step S805). When the distribution of the stream data is completed, the distribution server 1b sends an interruption end notification to the proxy server 2 (step S806). When the proxy server 2 receives the interrupt end notification, the proxy server 2 deletes the identifier representing the distribution server 1b recorded in the interrupt distribution server identifier item of the distribution management table. Then, the proxy server 2 sends an interruption end OK to the distribution server 1b (step S807). After sending the interrupt end OK, the proxy server reads the position of the stream data stored when the sending of the stream data is temporarily stopped. Then, transmission of the stream data from the position toward the reproduction display terminal 3a is resumed (step S808). When receiving the stream data sent from the proxy server 2, the playback / display terminal 3a plays back and displays the received stream data.

尚、異なる再生表示端末を指定した複数の割り込み要求を送出することにより、複数の再生表示端末に向けて、割り込みによるストリームデータの配信を行うことが出来る。   By sending a plurality of interrupt requests designating different playback display terminals, it is possible to deliver stream data by interrupts to a plurality of playback display terminals.

図9に、プロキシサーバ2のコントローラ(図示せず)で実行される接続要求受信ルーチンの動作を示す。接続要求受信ルーチンはデータ受信まで実行をブロックする(ステップS900)。   FIG. 9 shows an operation of a connection request reception routine executed by a controller (not shown) of the proxy server 2. The connection request reception routine blocks execution until data reception (step S900).

コントローラは、再生表示端末3a〜3bからの接続要求を受信したかどうかを確認する(ステップS901)。接続要求を受信していない場合は、再びデータ受信待ちになる(ステップS900)。接続要求を受信した場合、コントローラは、接続要求に含まれるストリーム識別子に対応するストリームデータがストリームデータ一時記憶手段25に記憶されているかどうかを確認する(ステップS902)。   The controller confirms whether or not the connection request from the reproduction display terminals 3a to 3b has been received (step S901). If a connection request has not been received, data reception waits again (step S900). When the connection request is received, the controller checks whether or not the stream data corresponding to the stream identifier included in the connection request is stored in the stream data temporary storage unit 25 (step S902).

ストリームデータがストリームデータ一時記憶手段25に記憶されていない場合、コントローラは、そのストリームデータを記憶している配信サーバの中から1つを選択する(ステップS903)。配信サーバを選択する方法としては、例えば、負荷の最も少ない配信サーバを選択する方法等がある。配信サーバを選択した後、コントローラは、配信管理テーブルを更新する(ステップS904)。コントローラは、配信管理テーブルに、接続要求を送出した再生表示端末の端末識別子とIPアドレス、接続要求に含まれるポート番号と伝送パラメータ、S903の処理で選択した配信サーバの識別子を記録する。そして、コントローラは、S903の処理で選択した配信サーバに向けて接続要求を送出するように配信要求手段21へ指令を出す(ステップS905)。配信要求手段21は、コントローラからの指令を受けると、配信サーバへ接続要求を送出する。このとき送出する接続要求には、再生表示端末から受信した接続要求に含まれているストリーム識別子及び伝送パラメータが含まれる。   When the stream data is not stored in the stream data temporary storage unit 25, the controller selects one from the distribution servers storing the stream data (step S903). As a method for selecting a distribution server, for example, there is a method for selecting a distribution server having the least load. After selecting the distribution server, the controller updates the distribution management table (step S904). The controller records, in the distribution management table, the terminal identifier and IP address of the playback display terminal that sent the connection request, the port number and transmission parameter included in the connection request, and the identifier of the distribution server selected in the processing of S903. Then, the controller issues a command to the distribution request means 21 so as to send a connection request to the distribution server selected in the process of S903 (step S905). When receiving a command from the controller, the distribution request means 21 sends a connection request to the distribution server. The connection request transmitted at this time includes a stream identifier and transmission parameters included in the connection request received from the playback / display terminal.

S902の処理でストリームデータがストリームデータ一時記憶手段25に記憶されていると判断した場合、コントローラは、配信管理テーブルの更新を行う(ステップS906)。コントローラは、配信管理テーブルに、接続要求を送出した再生表示端末の端末識別子とIPアドレス、接続要求に含まれるポート番号と伝送パラメータを記録する。そして、コントローラは、接続要求を送出した再生表示端末に向けて接続OKを送出する(ステップS907)。   If it is determined in step S902 that stream data is stored in the stream data temporary storage unit 25, the controller updates the distribution management table (step S906). The controller records in the distribution management table the terminal identifier and IP address of the playback display terminal that sent the connection request, the port number included in the connection request, and the transmission parameters. Then, the controller sends connection OK to the playback display terminal that sent the connection request (step S907).

図10に、プロキシサーバ2のコントローラ(図示せず)で実行される再生要求受信ルーチンの動作を示す。再生要求受信ルーチンはデータ受信まで実行をブロックする(ステップS1000)。   FIG. 10 shows an operation of a reproduction request reception routine executed by the controller (not shown) of the proxy server 2. The reproduction request reception routine blocks execution until data reception (step S1000).

コントローラは、再生表示端末3a〜3bからの再生要求を受信したかどうかを確認する(ステップS1001)。再生要求を受信していない場合は、再びデータ受信待ちになる(ステップS1000)。再生要求を受信した場合、コントローラは、配信するストリームデータがストリームデータ一時記憶手段25に記憶されているかどうかを確認する(ステップS1002)。   The controller confirms whether or not a reproduction request has been received from the reproduction display terminals 3a to 3b (step S1001). If a reproduction request has not been received, data reception waits again (step S1000). When the reproduction request is received, the controller checks whether or not the stream data to be distributed is stored in the stream data temporary storage unit 25 (step S1002).

ストリームデータがストリームデータ一時記憶手段25に記憶されていない場合、コントローラは、配信サーバに向けて再生要求を送出すように配信要求手段21へ指令を出す(ステップS1003)。配信要求手段21は、コントローラからの指令を受けると、配信サーバへ再生要求を送出する。このときの再生要求の送出先の配信サーバは接続要求受信ルーチンのS903の処理で選択した配信サーバである。配信要求手段21へ指令を出した後、コントローラは、配信サーバから受信したストリームデータを再生要求の送出元の再生表示端末へ中継するようにストリーム中継手段22へ指令を出す(ステップS1004)。ストリーム中継手段22は、コントローラからの指令を受けると、配信サーバから受信したストリームデータを再生表示端末へ中継する。   If the stream data is not stored in the stream data temporary storage unit 25, the controller issues a command to the distribution request unit 21 to send a reproduction request to the distribution server (step S1003). When receiving a command from the controller, the distribution request means 21 sends a reproduction request to the distribution server. The distribution server to which the reproduction request is sent at this time is the distribution server selected in step S903 of the connection request reception routine. After issuing a command to the distribution request unit 21, the controller issues a command to the stream relay unit 22 so as to relay the stream data received from the distribution server to the reproduction display terminal that has transmitted the reproduction request (step S1004). When receiving a command from the controller, the stream relay unit 22 relays the stream data received from the distribution server to the reproduction display terminal.

S1002の処理でストリームデータがストリームデータ一時記憶手段25に記憶されていると判断された場合、コントローラは、再生要求を送出した再生表示端末に向けて再生OKを送出する(ステップS1005)。そして、コントローラは、ストリームデータ一時記憶手段25からストリームデータを読み出して、再生要求を送出した再生表示端末に向けて送出するようにストリーム中継手段22へ指令を出す(ステップS1006)。ストリーム中継手段22は、コントローラからの指令を受けると、一時記憶手段25からストリームデータを読み出して、再生表示端末へ送出する。   If it is determined in the process of S1002 that the stream data is stored in the stream data temporary storage unit 25, the controller sends a playback OK to the playback display terminal that has sent the playback request (step S1005). The controller then reads the stream data from the stream data temporary storage means 25 and issues a command to the stream relay means 22 to send it to the playback display terminal that sent the playback request (step S1006). When the stream relay means 22 receives a command from the controller, the stream relay means 22 reads the stream data from the temporary storage means 25 and sends it to the reproduction display terminal.

図11に、プロキシサーバ2のコントローラ(図示せず)で実行される割り込み要求受信ルーチンの動作を示す。割り込み要求受信ルーチンはデータ受信まで実行をブロックする(ステップS1100)。   FIG. 11 shows the operation of the interrupt request reception routine executed by the controller (not shown) of the proxy server 2. The interrupt request reception routine blocks execution until data reception (step S1100).

コントローラは、配信サーバ1a〜1bからの割り込み要求を受信したかどうかを確認する(ステップS1101)。割り込み要求を受信していない場合は、再びデータ受信待ちになる(ステップS1100)。割り込み要求を受信した場合、コントローラは、配信管理テーブルから端末識別子の項目に割り込み要求で指定されている再生表示端末の識別子が記録されている行を検索する。そして、検索した行の配信サーバ識別子の項目と伝送パラメータの項目に記録されている内容を取得する(ステップS1102)。配信サーバの識別子と伝送パラメータを取得した後、コントローラは、再生表示端末に配信しているストリームデータの配信元を確認する(ステップS1103)。S1102の処理で取得した配信サーバ識別子の項目の内容に配信サーバの識別子が記録されている場合は、再生表示端末に配信しているストリームデータの配信元が配信サーバであると判断する。S1102の処理で取得した配信サーバ識別子の項目の内容に何も記録されていない場合は、ストリームデータ一時記憶手段25に記憶されているストリームデータを読み出して配信していると判断する。すなわち、再生表示端末に配信しているストリームデータの配信元が配信サーバでないと判断する。   The controller confirms whether or not an interrupt request has been received from the distribution servers 1a to 1b (step S1101). If no interrupt request has been received, data reception waits again (step S1100). When the interrupt request is received, the controller searches the distribution management table for a line in which the identifier of the playback display terminal specified by the interrupt request is recorded in the terminal identifier item. Then, the contents recorded in the item of the distribution server identifier and the item of the transmission parameter in the retrieved line are acquired (step S1102). After acquiring the distribution server identifier and the transmission parameters, the controller confirms the distribution source of the stream data distributed to the reproduction display terminal (step S1103). If the distribution server identifier is recorded in the content of the distribution server identifier item acquired in the processing of S1102, it is determined that the distribution source of the stream data distributed to the reproduction display terminal is the distribution server. If nothing is recorded in the contents of the item of the distribution server identifier acquired in the processing of S1102, it is determined that the stream data stored in the stream data temporary storage unit 25 is read and distributed. That is, it is determined that the distribution source of the stream data distributed to the reproduction display terminal is not the distribution server.

再生表示端末に配信しているストリームデータの配信元が配信サーバであると判断した場合、コントローラは、配信サーバに向けて一時停止要求を送出するように配信一時停止要求手段23へ指令を出す(ステップS1104)。配信一時停止要求手段23は、コントローラからの指令を受けると、ステップS1102の処理で取得された配信サーバ識別子に対応する配信サーバに向けて一時停止要求を送出する。配信一時停止要求手段23へ指令を出した後、コントローラは、配信サーバからの一時停止OKの受信を待つ(ステップS1105)。一時停止OKを受信すると、コントローラは、割り込み要求を送出した配信サーバへ割り込みOKを送出する(ステップS1106)。そして、コントローラは、配信管理テーブルを更新する(ステップS1107)。コントローラは、配信管理テーブルに割り込み要求を送出した配信サーバの識別子を記録する。   When it is determined that the distribution source of the stream data distributed to the reproduction display terminal is the distribution server, the controller issues a command to the distribution pause request means 23 to send a pause request to the distribution server ( Step S1104). When receiving a command from the controller, the distribution pause request means 23 sends a pause request to the distribution server corresponding to the distribution server identifier acquired in step S1102. After issuing a command to the distribution pause request means 23, the controller waits for reception of a pause OK from the distribution server (step S1105). When the pause OK is received, the controller sends an interrupt OK to the distribution server that sent the interrupt request (step S1106). Then, the controller updates the distribution management table (step S1107). The controller records the identifier of the distribution server that sent the interrupt request in the distribution management table.

S1103の処理で、再生表示端末に配信しているストリームデータの配信元が配信サーバでないと判断した場合、コントローラは、ストリームデータの送出を一時停止するようにストリーム中継手段22に指令を出す(ステップS1108)。ストリーム中継手段22は、コントローラからの指令を受けると、その時点で送出しているストリームデータの位置を記憶して、ストリームデータの送出を一時停止する。ストリーム中継手段22に指令を出した後、コントローラは、割り込み要求を送出した配信サーバへ割り込みOKを送出する(ステップS1109)。そして、コントローラは、配信管理テーブルを更新する(ステップS1110)。コントローラは、配信管理テーブルに割り込み要求を送出した配信サーバの識別子を記録する。   If it is determined in S1103 that the distribution source of the stream data distributed to the playback / display terminal is not a distribution server, the controller issues a command to the stream relay means 22 to temporarily stop the transmission of the stream data (step S1103). S1108). When the stream relay means 22 receives a command from the controller, the stream relay means 22 stores the position of the stream data being sent at that time and temporarily stops sending the stream data. After issuing a command to the stream relay means 22, the controller sends an interrupt OK to the distribution server that sent the interrupt request (step S1109). Then, the controller updates the distribution management table (step S1110). The controller records the identifier of the distribution server that sent the interrupt request in the distribution management table.

図12に、プロキシサーバ2のコントローラ(図示せず)で実行される割り込み終了通知受信ルーチンの動作を示す。割り込み終了通知受信ルーチンはデータ受信まで実行をブロックする(ステップS1200)。   FIG. 12 shows the operation of the interrupt end notification receiving routine executed by the controller (not shown) of the proxy server 2. The interrupt completion notification reception routine blocks execution until data reception (step S1200).

コントローラは、配信サーバ1a〜1bからの割り込み終了通知を受信したかどうかを確認する(ステップS1201)。割り込み終了通知を受信していない場合は、再びデータ受信待ちになる(ステップS1200)。割り込み終了通知を受信した場合、コントローラは、配信管理テーブルの更新を行う(ステップS1202)。コントローラは、配信管理テーブルの割り込み配信サーバ識別子の項目に記録されている配信サーバの識別子を削除する。そして、コントローラは、割り込み終了通知を送出した配信サーバへ割り込み終了OKを送出する(ステップS1203)。割り込み終了OKを送出した後、コントローラは、割り込み前に再生表示端末へ配信していたストリームデータの配信元が配信サーバであるかどうかを確認する(ステップS1204)。   The controller confirms whether or not an interruption end notification has been received from the distribution servers 1a to 1b (step S1201). If no interruption end notification has been received, data reception waits again (step S1200). When the interruption end notification is received, the controller updates the distribution management table (step S1202). The controller deletes the distribution server identifier recorded in the interrupt distribution server identifier item of the distribution management table. Then, the controller sends an interrupt end OK to the distribution server that sent the interrupt end notification (step S1203). After sending the interrupt completion OK, the controller confirms whether or not the distribution source of the stream data distributed to the reproduction display terminal before the interruption is a distribution server (step S1204).

割り込み前に再生表示端末へ配信していたストリームデータの配信元が配信サーバであると判断した場合、コントローラは、配信サーバに向けて一時停止解除要求を送出するように配信一時停止解除要求手段24へ指令を出す(ステップS1205)。割り込み前に再生表示端末へ配信していたストリームデータの配信元が配信サーバでないと判断した場合、コントローラは、ストリームデータの送出の一時停止を解除するようにストリーム中継手段22へ指令を出す(ステップS1206)。   When it is determined that the distribution source of the stream data distributed to the playback display terminal before interruption is the distribution server, the controller sends the distribution suspension cancellation request means 24 so as to send a suspension cancellation request to the distribution server. Command is issued (step S1205). If the controller determines that the distribution source of the stream data distributed to the playback display terminal before the interruption is not the distribution server, the controller issues a command to the stream relay means 22 to cancel the temporary stop of the transmission of the stream data (step S1206).

上記説明したように、本発明のストリーム配信システムは、配信サーバから割り込み要求があったときに、再生表示端末へのストリームデータの配信を一時停止して、割り込み要求を送出した配信サーバからのストリームデータを再生表示端末へ配信している。それ故、再生表示端末で操作を行うことなく、配信中のストリームデータとは別のストリームデータを再生表示端末へ配信することが出来る。このとき、再生表示端末とプロキシサーバ間及びプロキシサーバと配信サーバ間の接続は切断されないので、再接続を行う必要がない。また、割り込み要求を送出した配信サーバからのストリームデータの配信が完了した場合は、一時停止しているストリームデータの配信を再開している。それ故、再生表示端末で操作を行うことなく、元のストリームデータの配信を再開することが出来る。   As described above, the stream distribution system of the present invention, when receiving an interrupt request from the distribution server, temporarily stops the distribution of the stream data to the playback display terminal and sends the stream from the distribution server that has transmitted the interrupt request. Data is distributed to playback display terminals. Therefore, stream data different from the stream data being distributed can be distributed to the playback display terminal without performing any operation on the playback display terminal. At this time, since the connection between the reproduction display terminal and the proxy server and between the proxy server and the distribution server is not disconnected, it is not necessary to perform reconnection. In addition, when the distribution of the stream data from the distribution server that has transmitted the interrupt request is completed, the distribution of the suspended stream data is resumed. Therefore, it is possible to resume the delivery of the original stream data without performing an operation on the playback display terminal.

本発明の実施例であるストリーム配信システムを示すブロック図である。It is a block diagram which shows the stream delivery system which is an Example of this invention. 図1のストリーム配信システムの配信管理テーブルの例を示す図である。It is a figure which shows the example of the delivery management table of the stream delivery system of FIG. 図1のストリーム配信システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the stream delivery system of FIG. 図1のストリーム配信システムの配信管理テーブルの例を示す図である。It is a figure which shows the example of the delivery management table of the stream delivery system of FIG. 図1のストリーム配信システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the stream delivery system of FIG. 図1のストリーム配信システムの配信管理テーブルの例を示す図である。It is a figure which shows the example of the delivery management table of the stream delivery system of FIG. 図1のストリーム配信システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the stream delivery system of FIG. 図1のストリーム配信システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the stream delivery system of FIG. 図1のストリーム配信システムの接続要求受信ルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the connection request reception routine of the stream delivery system of FIG. 図1のストリーム配信システムの再生要求受信ルーチンの動作を示すフローチャートである。3 is a flowchart showing an operation of a reproduction request reception routine of the stream distribution system of FIG. 図1のストリーム配信システムの割り込み要求受信ルーチンの動作を示すフローチャートである。3 is a flowchart showing an operation of an interrupt request reception routine of the stream distribution system of FIG. 図1のストリーム配信システムの割り込み終了通知受信ルーチンの動作を示すフローチャートである。3 is a flowchart showing an operation of an interruption end notification reception routine of the stream distribution system of FIG. 1.

符号の説明Explanation of symbols

1a〜1b 配信サーバ
2 プロキシサーバ
3a〜3b 再生表示端末
4 LAN
5 IPネットワーク
1a to 1b Distribution server 2 Proxy servers 3a to 3b Playback display terminal 4 LAN
5 IP network

Claims (2)

ストリームデータを配信する配信サーバと、前記配信サーバから配信されるストリームデータを受信して中継するプロキシサーバとを有するストリーム配信システムであって、A stream distribution system comprising: a distribution server that distributes stream data; and a proxy server that receives and relays stream data distributed from the distribution server,
前記配信サーバは、割り込み処理を実行する第1割り込み処理手段を有し、割り込みにより配信する第3ストリームデータの配信先である第1端末を表す第1端末識別情報と第2端末を表す第2端末識別情報とを有する割り込み要求信号を前記プロキシサーバに送信し、割り込み許可信号を受信すると、前記割り込みにより配信する前記第3ストリームデータを前記プロキシサーバに配信し、前記第3ストリームデータの配信が完了すると割り込み終了信号を前記プロキシサーバに送信し、The distribution server includes first interrupt processing means for executing interrupt processing, and includes first terminal identification information representing a first terminal that is a distribution destination of third stream data distributed by interruption, and second representing a second terminal. When the interrupt request signal having terminal identification information is transmitted to the proxy server and the interrupt permission signal is received, the third stream data distributed by the interrupt is distributed to the proxy server, and the third stream data is distributed. Upon completion, an interrupt end signal is sent to the proxy server,
前記プロキシサーバは、前記第1端末及び前記第2端末に接続され、The proxy server is connected to the first terminal and the second terminal;
第1ストリームデータと第2ストリームデータとを記憶するストリームデータ記憶手段と、Stream data storage means for storing the first stream data and the second stream data;
前記第1ストリームデータを第1端末に送信し前記第2ストリームデータを第2端末に送信、若しくは配信サーバから受信した前記第3ストリームデータを前記第1端末及び前記第2端末に中継するストリーム中継手段と、Stream relay for transmitting the first stream data to the first terminal and transmitting the second stream data to the second terminal, or relaying the third stream data received from the distribution server to the first terminal and the second terminal Means,
割り込み処理を実行する第2割り込み処理手段と、Second interrupt processing means for executing interrupt processing;
前記第1端末に送信している前記第1ストリームデータの位置と、前記第2端末に送信している前記第2ストリームデータの位置と、前記割り込み要求信号を送信した配信サーバの識別情報と、を記憶する配信管理情報記憶手段と、を有し、The position of the first stream data transmitted to the first terminal, the position of the second stream data transmitted to the second terminal, the identification information of the distribution server that transmitted the interrupt request signal, Distribution management information storage means for storing
前記割り込み要求信号を受信すると、前記第1端末識別情報に対応する前記第1端末に送信している前記第1ストリームデータの位置を記憶し、前記第2端末識別情報に対応する前記第2端末に送信している前記第2ストリームデータの位置を記憶し、前記第1ストリームデータを前記第1端末に送信することを一時停止し、前記第2ストリームデータを前記第2端末に送信することを一時停止し、一時停止後に前記割り込み許可信号を前記配信サーバに送信し、前記配信サーバの識別情報を前記配信管理情報記憶手段をして記憶せしめ、When the interrupt request signal is received, the position of the first stream data transmitted to the first terminal corresponding to the first terminal identification information is stored, and the second terminal corresponding to the second terminal identification information is stored. Storing the position of the second stream data being transmitted to the terminal, temporarily stopping transmission of the first stream data to the first terminal, and transmitting the second stream data to the second terminal. Pause, send the interrupt permission signal to the distribution server after the suspension, store the distribution server identification information in the distribution management information storage means,
前記配信サーバから前記第3ストリームデータを受信して、前記第1端末及び前記第2端末に中継し、Receiving the third stream data from the distribution server and relaying to the first terminal and the second terminal;
前記割り込み終了信号を受信すると、前記配信管理情報記憶手段に記録される前記配信サーバの識別情報を削除し、割り込み終了許可信号を前記配信サーバに送信し、When receiving the interrupt end signal, delete the distribution server identification information recorded in the distribution management information storage means, and send an interrupt end permission signal to the distribution server,
前記第1端末への送信を一時停止したときに記憶した前記第1ストリームデータの位置を読み出して、前記第1ストリームデータの位置から、前記第1ストリームデータを前記第1端末に送信し、前記第2端末への送信を一時停止したときに記憶した前記第2ストリームデータの位置を読み出して、前記第2ストリームデータの位置から、前記第2ストリームデータを前記第2端末に送信することを特徴とするストリーム配信システム。Reading the position of the first stream data stored when transmission to the first terminal is paused, and transmitting the first stream data from the position of the first stream data to the first terminal, The position of the second stream data stored when the transmission to the second terminal is paused is read, and the second stream data is transmitted to the second terminal from the position of the second stream data. Stream delivery system.
前記プロキシサーバは、前記配信サーバから配信されるストリームデータを一時記憶するストリームデータ一時記憶手段を有し、The proxy server has stream data temporary storage means for temporarily storing stream data distributed from the distribution server,
前記ストリーム中継手段は、前記ストリームデータ一時記憶手段に前記第1端末及び第2端末へ配信するストリームデータが記憶されている場合は、前記ストリームデータ一時記憶手段からストリームデータを読み出して、読み出したストリームデータを前記第1端末及び第2端末へ送信することを特徴とする請求項1記載のストリーム配信システム。When the stream data to be delivered to the first terminal and the second terminal is stored in the stream data temporary storage unit, the stream relay unit reads the stream data from the stream data temporary storage unit, and reads the stream 2. The stream distribution system according to claim 1, wherein data is transmitted to the first terminal and the second terminal.
JP2007006918A 2007-01-16 2007-01-16 Stream distribution system Active JP5162907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007006918A JP5162907B2 (en) 2007-01-16 2007-01-16 Stream distribution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007006918A JP5162907B2 (en) 2007-01-16 2007-01-16 Stream distribution system

Publications (2)

Publication Number Publication Date
JP2008177657A JP2008177657A (en) 2008-07-31
JP5162907B2 true JP5162907B2 (en) 2013-03-13

Family

ID=39704376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007006918A Active JP5162907B2 (en) 2007-01-16 2007-01-16 Stream distribution system

Country Status (1)

Country Link
JP (1) JP5162907B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6212288B2 (en) * 2013-05-30 2017-10-11 日本放送協会 Push distribution server, receiving terminal, receiving program and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4126928B2 (en) * 2002-02-28 2008-07-30 日本電気株式会社 Proxy server and proxy control program
JP3637032B2 (en) * 2002-04-22 2005-04-06 スターコラボレーション株式会社 Content management system and method, viewer apparatus, and computer program
JP2005167891A (en) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Content server, content receiving apparatus, program and storage medium
JP4293160B2 (en) * 2005-05-19 2009-07-08 ソニー株式会社 Content playback apparatus and content playback method
JP2006333338A (en) * 2005-05-30 2006-12-07 Kyocera Corp Transmission request informing method and mobile terminal device, and computer program

Also Published As

Publication number Publication date
JP2008177657A (en) 2008-07-31

Similar Documents

Publication Publication Date Title
JP4333655B2 (en) Content receiving apparatus and content receiving method
JP5818412B2 (en) Content providing method and apparatus via network, content receiving method and apparatus, data backup method and apparatus via network, backup data providing apparatus and backup system
WO2012011450A1 (en) Content distribution device, content playback device, content distribution system, method for controlling a content distribution device, control program, and recording medium
JP4671422B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND DISPLAY METHOD THEREOF
JP2007323732A (en) Reproduction controller, reproduction control method, and reproducing device
JP5969569B2 (en) Content providing method and apparatus via network, content receiving method and apparatus, data backup method and apparatus via network, backup data providing apparatus and backup system
WO2016147667A1 (en) Communication control device, communication system, communication control method, and computer program product
JP4706278B2 (en) Information processing system, playback terminal device and playback method, information processing device and method, and program
JP5394307B2 (en) Synchronized playback system, synchronized playback method, and synchronized playback program
JP2008283368A (en) Network system, server apparatus, terminal apparatus, and method for controlling playback
JP4880996B2 (en) Video title playback device and video title playback system
JP5162907B2 (en) Stream distribution system
CN112351299B (en) Propaganda and education broadcasting method and device
JP2007531354A (en) Content relay server, content relay system, content relay method and program thereof
JP2006254339A (en) Video recording apparatus, video recording system, and video recording method
JP5420863B2 (en) Thin client system, application server, terminal control server, communication method
JP2010087950A (en) Thin client system, thin client terminal, thin client server and program
JP2007228395A (en) Av network system and control method thereof
US20200195461A1 (en) System and method for controlling playback or recording of media assets based on a state of a secondary device
JP2005167891A (en) Content server, content receiving apparatus, program and storage medium
JP5589654B2 (en) Video / audio playback device and video / audio playback method
JP2011239254A (en) Advertisement distribution system and advertisement distribution method
JP3964418B2 (en) Communication terminal for video communication and call control relay device
JP2006285586A (en) Content distribution system, content distribution device, content distribution program, and computer program
TW201717031A (en) Data compression apparatus and data compression approval apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120405

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121203

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5162907

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150