JP2004274781A - Data-receiving terminal and data-receiving method - Google Patents
Data-receiving terminal and data-receiving method Download PDFInfo
- Publication number
- JP2004274781A JP2004274781A JP2004105580A JP2004105580A JP2004274781A JP 2004274781 A JP2004274781 A JP 2004274781A JP 2004105580 A JP2004105580 A JP 2004105580A JP 2004105580 A JP2004105580 A JP 2004105580A JP 2004274781 A JP2004274781 A JP 2004274781A
- Authority
- JP
- Japan
- Prior art keywords
- data
- destination address
- connection destination
- memory
- unit
- 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.)
- Withdrawn
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、使用可能帯域の変化、伝送誤り、障害等に適応できるAV(音声・映像)データの再生を実現すべく、サーバから送信されたAVデータを受信して再生するためのデータ受信端末及びデータ受信方法に関するものである。 The present invention relates to a data receiving terminal for receiving and reproducing AV data transmitted from a server in order to realize reproduction of AV (audio / video) data adaptable to changes in usable bandwidth, transmission errors, failures, and the like. And a data receiving method.
昨今、MPEG(Moving Picture Experts Group)−4等の映像符号化技術の発達に伴い、携帯電話等の移動体無線端末におけるAV配信サービスが開始され、今後、このようなAV配信サービスが広く普及していくと考えられる。 In recent years, with the development of video encoding technology such as MPEG (Moving Picture Experts Group) -4, AV distribution services for mobile wireless terminals such as mobile phones have been started, and such AV distribution services will be widely spread in the future. It is thought to go.
このAV配信用のデータ伝送方式としては、現在、主に2種類が存在しており、HTTP/TCP/IP(Hyper Text Transfer Protocol/Transmission Control Protocol/Internet Protocol)によるダウンロード再生と、RTP/UDP/IP(Realtime Transpot Protocol/User Datagram Protocol/Internet Protocol)によるストリーミング再生がある。ストリーミング再生の制御系では、例えばRTSP(Real Time Streaming Protocol)と呼ばれるプロトコルが用いられる(H. Schulzrinne et al., "Real Time Streaming Protocol", RFC 2326, Internet Engineering Taskforce, Apr. 1998)。 At present, there are mainly two types of data transmission systems for AV distribution, such as download / reproduction by HTTP / TCP / IP (Hyper Text Transfer Protocol / Transmission Control Protocol / Internet Protocol) and RTP / UDP / There is streaming reproduction by IP (Realtime Transport Protocol / User Datagram Protocol / Internet Protocol). In a control system for streaming reproduction, for example, a protocol called RTSP (Real Time Streaming Protocol) is used (H. Schulzrinne et al., "Real Time Streaming Protocol", RFC 2326, Internet Engineering Taskforce, Apr. 1998).
HTTP/TCP/IPによるダウンロード再生は、インターネットのホームページを閲覧する際と同じデータ伝送プロトコルを使用するため、実現が容易である反面、伝送エラーが発生した場合にはデータの再送が行われるため、実時間性を求められるAVデータのリアルタイム再生にはあまり向いていない。一方で、RTP/UDP/IPによるストリーミング再生は、伝送エラーの際にもデータの再送が行われないため、データが確実に伝送される保証はないが、実時間性が必要なAVデータのリアルタイム再生には適している。 Since the download reproduction by HTTP / TCP / IP uses the same data transmission protocol as when browsing the Internet homepage, it is easy to realize. On the other hand, if a transmission error occurs, the data is retransmitted. It is not very suitable for real-time reproduction of AV data that requires real-time performance. On the other hand, in streaming reproduction by RTP / UDP / IP, data is not retransmitted even in the case of a transmission error, so there is no guarantee that data is transmitted reliably. Suitable for reproduction.
また、HTTP/TCP/IPによるダウンロード再生では、通常受信したデータは再生後も端末上のメモリに記憶されるため、メモリの制約上、あまり長時間のコンテンツを配信することはできない。一方で、RTP/UDP/IPによるストリーミング再生では、通常受信したデータは再生後に破棄されるため、配信を行うコンテンツの時間的制約が少なく、長時間コンテンツの受信再生が可能である。 Also, in download reproduction by HTTP / TCP / IP, normally received data is stored in the memory of the terminal even after reproduction, so that it is not possible to distribute content for a long time due to memory restrictions. On the other hand, in streaming reproduction by RTP / UDP / IP, normally received data is discarded after reproduction, so that there is little time restriction on content to be distributed, and reception and reproduction of content can be performed for a long time.
従来のRTP/UDP/IPによるストリーミング再生では、伝送路が切断された場合、端末の電源が不意に落とされた場合、他のアプリケーションの割り込みにより再生が中断された場合等に、復旧後にAVデータの再生を再開するのが容易ではなかった。具体的には、あるコンテンツのデータ再生途中でサーバとの接続を切断した場合には、接続が切断された時点を特定することができず、同一コンテンツに対して再度接続する場合には、改めて最初からのデータを受信・再生する必要があった。そのため、使用者の都合により、特定のコンテンツを時間と場所を変え、数回に分けて視聴することができず、特に長時間コンテンツを視聴する場合には不便であるという問題点を有していた。 In the conventional streaming reproduction by RTP / UDP / IP, when the transmission path is disconnected, the power of the terminal is unexpectedly turned off, or the reproduction is interrupted by interruption of another application, etc., the AV data is restored after restoration. It was not easy to resume playing. Specifically, if the connection with the server is disconnected during the data reproduction of a certain content, the time at which the connection was disconnected cannot be specified. It was necessary to receive and reproduce the data from the beginning. For this reason, it is not possible to view specific content at several times by changing the time and place for the convenience of the user, which is inconvenient especially when viewing the content for a long time. Was.
また、携帯電話等の移動体無線端末は、使用者が移動しながら利用できるという特徴があるが、トンネル等の電波が届かない領域(受信不可領域)に移動した場合には、長時間に渡ってデータを受信できなくなる恐れがある。このような場合に、RTP/UDP/IPによるストリーミング再生では、受信不可領域にいる間に送信されたデータが再送されないため、受信不可領域にいた際のデータは完全に失われ、受信不可領域にいた間のデータを視聴することができないという問題点を有していた。 A mobile wireless terminal such as a mobile phone has a feature that a user can use the mobile terminal while moving, but if the user moves to an area where radio waves do not reach (a non-receivable area) such as a tunnel, the mobile wireless terminal may take a long time. Data may not be received. In such a case, in streaming reproduction by RTP / UDP / IP, data transmitted while in the non-receivable area is not retransmitted, so that data in the non-receivable area is completely lost, and However, there is a problem that data cannot be watched during a long time.
本発明は、前記問題点に鑑みてなされたものであり、ストリーミング再生においてデータストリームの途中から再生を再開できるデータ受信端末及びデータ受信方法を提供することを目的とする。 The present invention has been made in view of the above problems, and has as its object to provide a data receiving terminal and a data receiving method capable of resuming reproduction from a middle of a data stream in streaming reproduction.
前記課題を解決するために、本発明では、データストリームの再生が中断した時点の時刻情報を保持しておき、当該時刻情報に基づいてデータストリームの途中から再生を再開することとした。 In order to solve the above-mentioned problem, in the present invention, time information at the time when reproduction of the data stream is interrupted is held, and reproduction is restarted from the middle of the data stream based on the time information.
本発明によれば、データ受信端末又は送信端末(サーバ)で現在の再生時刻を保持し、データ受信端末の受信バッファが空になった場合、障害等により伝送路が切断した場合、いずれかの端末の電源が切られた場合、他のアプリケーション(例えば、インターネット電話)から割り込みが発生した場合に一旦AV再生を停止する。そして、伝送路が再開した場合、当該端末の電源が再度投入された場合、又は他のアプリケーションからの割り込みが解除された場合に、受信バッファが空になった時点、伝送路が切断された時点、当該端末の電源が切られた時点、又は他のアプリケーションからの割り込みが発生した時点の再生時刻から自動的にデータのバッファリングを開始し、再生することで、障害に強いAV伝送を実現することが可能となる。具体的には、再生時刻t1をデータ受信端末で記憶し(必要に応じて、アプリケーション名、再生コンテンツ名、ユーザ名等も記憶する)、伝送路が一旦切断されても、伝送路が再開された場合には、再生時刻t1から再生するようにデータ受信端末から送信端末(サーバ)へ要求を発行する。 According to the present invention, the current reproduction time is held at the data receiving terminal or the transmitting terminal (server), and when the reception buffer of the data receiving terminal becomes empty, when the transmission path is disconnected due to a failure, etc. When the power of the terminal is turned off, when an interrupt is generated from another application (for example, an Internet phone), the AV reproduction is temporarily stopped. When the transmission path is restarted, when the power of the terminal is turned on again, or when the interrupt from another application is released, the time when the reception buffer becomes empty and the time when the transmission path is disconnected Automatically starts data buffering from the playback time when the power of the terminal is turned off or when an interrupt from another application occurs, and reproduces the data, thereby realizing AV transmission resistant to failure. It becomes possible. Specifically, the reproduction time t1 is stored in the data receiving terminal (an application name, a reproduction content name, a user name, and the like are also stored as necessary), and even if the transmission path is temporarily disconnected, the transmission path is restarted. In this case, a request is issued from the data receiving terminal to the transmitting terminal (server) so as to be reproduced from the reproduction time t1.
例えば、データ受信端末において、再生を行ったデータのタイムスタンプを記憶しておき、ユーザの都合、あるいは受信状況の悪化等によりサーバとの接続が切断した場合であっても、前回の接続により再生したデータの続きからの再生を可能にする。 For example, in the data receiving terminal, the time stamp of the reproduced data is stored, and even if the connection with the server is disconnected due to the user's convenience or the reception condition is deteriorated, the reproduction is performed by the previous connection. It is possible to play back the continued data.
以上説明してきたとおり、本発明によれば、ストリーミング再生においてデータストリームの再生が中断した時点の時刻情報を保持しておくこととしたので、当該時刻情報に基づいてデータストリームの途中から再生を再開することができる。例えば、伝送路が切断された、端末の電源が不意に落とされた、アプリケーションの割り込みが発生したといった場合に、接続回復後にAVデータの再生を自動的に再開することができる効果がある。 As described above, according to the present invention, the time information at the time when the reproduction of the data stream is interrupted in the streaming reproduction is retained, so that the reproduction is restarted from the middle of the data stream based on the time information. can do. For example, when the transmission path is cut off, the power of the terminal is unexpectedly turned off, or an application interrupt occurs, the reproduction of the AV data can be automatically restarted after the connection is restored.
以下に、本発明の実施形態によるデータ受信端末について、図面を用いて説明する。 Hereinafter, a data receiving terminal according to an embodiment of the present invention will be described with reference to the drawings.
(第1の実施形態)
図1は、本発明の第1の実施形態によるデータ受信端末の構成の一例を示すブロック図である。図1において、本発明に係るデータ受信端末12は、送信装置(サーバ)11から、RTP/UDP/IPによる伝送方式により送信されたRTPパケットを受信し、再生するものであり、データ受信端末12は、データ受信ユニット101と、受信バッファ102と、復号ユニット103と、表示ユニット104と、メモリ105と、制御ユニット106と、ユーザ入力ユニット110と、メッセージ送受信ユニット111とからなる。制御ユニット106は、接続先アドレス検出ユニット107と、メモリ管理ユニット108と、接続要求作成ユニット109とからなる。
(1st Embodiment)
FIG. 1 is a block diagram showing an example of the configuration of the data receiving terminal according to the first embodiment of the present invention. In FIG. 1, a data receiving terminal 12 according to the present invention receives and reproduces an RTP packet transmitted from a transmitting device (server) 11 by a transmission method based on RTP / UDP / IP. Comprises a
図2は、送信装置11からRTP/UDP/IPによる伝送方式により送信されたRTPパケットを説明するための図である。図2に示すように、RTPパケットは、ヘッダ部とデータ部とから構成される。ヘッダ部には、再生時刻等の時間情報が含まれる。データ部には、MPEG4ビデオストリームが格納され、例えば、ビデオストリームの1フレームが、RTPパケットのデータ部に格納される。MPEG−4では、この単位(1フレーム)をVOP(Video Object Plane)と呼ぶ。ここでは、1つのRTPパケット毎に1つのVOPデータが送信されるものとして説明を行う。
FIG. 2 is a diagram for explaining an RTP packet transmitted from the
図3は、受信バッファ102のメモリ構造の一例を示す図である。データ受信ユニット101は、サーバから送信されるRTPパケットを受信して、VOPサイズを計算し、計算したVOPサイズとともに、受信したVOPデータの再生順序を示すタイムスタンプ、及びVOPデータを、受信バッファ102に格納する。受信バッファ102には、図3に示すように、タイムスタンプ201、VOPサイズ202、VOPデータ203がそれぞれ組となるように格納されている。復号ユニット103は、受信バッファ102内に格納された各VOPデータをそれぞれに付されたタイムスタンプに従って復号し、表示ユニット104に出力するとともに、復号データがI−VOP(イントラ符号化されたVOP)である場合には、当該I−VOPに対応するタイムスタンプをメモリ管理部108に出力する。表示ユニット104は、入力されたデータを表示画面上に表示する。
FIG. 3 is a diagram illustrating an example of a memory structure of the
図4は、メモリ105の記憶内容の一例を示す図である。図4に示すように、メモリ105は、受信中のコンテンツを示すアクティブフラグと、最後まで再生したコンテンツを示す再生完了フラグと、接続先のアドレスを示す接続先アドレスと、接続先アドレスで示されるコンテンツの再生が終了した位置を示すタイムスタンプと、アクセスが行われた日時を示すアクセス日時とを組にしたエントリを複数記憶している。本実施形態では、アクティブフラグは、受信中のコンテンツを1、他を0とする。再生完了フラグは、最後まで再生が完了したコンテンツを1、他を0とする。
FIG. 4 is a diagram showing an example of the contents stored in the
制御ユニット106は、データ受信端末12の全体を制御するとともに、メモリ105の管理、サーバへの接続要求を行う。具体的に説明すると、接続先アドレス検出ユニット107は、メモリ105内にユーザ入力ユニット110から出力された接続先アドレスのエントリが登録されているか否かを検出するとともに、接続先アドレスのエントリが登録されている場合であって、接続要求作成ユニット109からの当該エントリのタイムスタンプの検出要求があった場合には、当該エントリのタイムスタンプを検出する。メモリ管理ユニット108は、メモリ105の管理を行うものであり、新たなエントリの作成、及び復号ユニット103からタイムスタンプが出力されることにより、メモリ105内の現在受信中の接続先に対するタイムスタンプを復号ユニット103から出力されたタイムスタンプに置き換える。接続要求作成ユニット109は、ユーザ入力ユニット110に入力されたユーザの指示、及びメモリ105内に記憶されている情報に基づいて、サーバへの接続要求を作成する。
The
ユーザ入力ユニット110は、例えば、操作ボタンやタッチパネルであり、ユーザの選択、押下等の外部入力を解析し、解析結果を制御ユニット106に出力する。メッセージ送受信ユニット111は、接続要求作成ユニット109で作成された接続要求をサーバへ送信するとともに、サーバからの応答を処理する。
The
次に、本発明のデータ受信端末12の動作について具体的に説明する。ユーザ入力ユニット110に対して、例えば、ユーザが所望のコンテンツの接続先アドレスを入力したり、或いは表示ユニット104により表示されたコンテンツのシーン中から映像データ等へのリンクが張られている領域を選択することにより、ユーザ入力ユニット110から接続先アドレスが接続先アドレス検出ユニット107に出力される。ユーザ入力ユニット110から接続先アドレスが出力されると、接続先アドレス検出ユニット107は、メモリ105内にユーザ入力ユニット110から出力された接続先アドレスのエントリが登録されているか否かを検索し、検出結果をメモリ管理ユニット108、及び接続要求作成ユニット109に出力する。
Next, the operation of the data receiving terminal 12 of the present invention will be specifically described. For example, the user inputs a connection destination address of desired content to the
図5は、接続先アドレス検出ユニット107からの検出結果を受けたメモリ管理ユニット108の動作の一例を示すフローチャートであり、メモリ管理ユニット108は、接続先アドレス検出ユニット107からの検出結果を受け、以下に説明する動作を行う。まず、メモリ管理ユニット108は、ステップS101で接続先アドレス検出ユニット107からの検出結果を受け、接続先アドレスのエントリが登録されている場合にはステップS102に行き、接続先アドレスのエントリが登録されていない場合にはステップS103に行く。接続先アドレスのエントリが登録されている場合には、メモリ管理ユニット108は、メモリ105内に登録されているエントリのアクティブフラグを「1」にする(ステップS102)。一方、接続先アドレスが登録されていない場合には、メモリ管理ユニット108は、ステップS103でメモリ105内に空き領域がないか検索し、メモリに空き領域がある場合にはステップS104に行き、メモリに空き領域がない場合にはステップS105に行く。メモリに空き領域がある場合には、当該空き領域に、新たにエントリを作成する(ステップS104)。なお、このメモリ管理ユニット108による新たなエントリの作成は、接続先アドレスに対しユーザ入力ユニット110により指示された接続先アドレスをセットし、更にアクティブフラグを「1」、再生完了フラグを「0」、タイムスタンプを「0」とすることにより行う。一方、メモリに空き領域がない場合には、メモリ管理ユニット108は、メモリ105内に記憶されているエントリの再生完了フラグが「1」となっているエントリがあるか否かをステップS105で検索し、再生完了フラグが「1」となっているエントリがある場合にはステップS106に行き、再生完了フラグが「1」となっているエントリがない場合にはステップS107に行く。再生完了フラグが「1」となっているエントリがある場合には、再生完了フラグが「1」となっているエントリに新たなエントリを上書き作成する(ステップS106)。なお、再生完了フラグが「1」のエントリが複数存在する場合には、それらのエントリからアクセス日時がもっとも古いものを選択し、選択したエントリに新たなエントリを上書き作成する。一方、再生完了フラグが「1」となっているエントリがない場合には、登録されているエントリからアクセス日時がもっとも古いものを選択し、選択したエントリに新たなエントリを上書き作成する(ステップS107)。
FIG. 5 is a flowchart illustrating an example of the operation of the
図6は、接続先アドレス検出ユニット107からの検出結果を受けた接続要求作成ユニット109の動作の一例を示すフローチャートであり、接続要求作成ユニット109は、接続先アドレス検出ユニット107からの検出結果を受け、以下に説明する動作を行う。まず、接続要求作成ユニット109は、ステップS201で接続先アドレス検出ユニット107からの検出結果を受け、接続先アドレスのエントリが登録されている場合にはステップS202に行き、接続先アドレスのエントリが登録されていない場合にはステップS205に行く。接続先アドレスのエントリが登録されている場合には、接続要求作成ユニット109は、当該エントリの再生完了フラグを参照し、再生完了フラグが「0」であるか否かを検出する(ステップS202)。再生完了フラグが「0」である場合にはステップS203に行き、再生完了フラグが「0」でない場合にはステップS205に行く。再生完了フラグが「0」である場合には、前回の再生が途中で終了しているため、接続要求作成ユニット109は、表示ユニット104に、前回の続きから受信するか否かの判断を求めるメッセージを表示する旨の信号を表示ユニット104に出力し、表示させる(ステップS203)。そして、ユーザ入力ユニット110から、前回の続きからのデータを受信することを選択する選択信号が出力された場合には、接続要求作成ユニット109は、接続先アドレス検出ユニット107を介して、当該エントリのタイムスタンプを検出し、接続先アドレスで示されるコンテンツの前回の続きからのデータの受信を要求すべく、タイムスタンプで示される受信開始位置を指示した接続要求を作成し、メッセージ送受信ユニット111に出力する(ステップS204)。一方、ユーザ入力ユニット110から前回の続きからのデータを受信しないことを選択する選択信号が出力された場合、及び接続先アドレスのエントリが登録されていない場合、更に登録されている接続先アドレスのエントリの再生完了フラグが「0」でない場合には、接続要求作成ユニット109は、接続先アドレスで示されるコンテンツの先頭からのデータを受信すべく、受信開始位置を指示しない接続要求を作成し、メッセージ送受信ユニット111に出力する(ステップS205)。
FIG. 6 is a flowchart illustrating an example of the operation of the connection
さて、接続要求作成ユニット109から接続要求を受けたメッセージ送受信ユニット111は、RTSPのSETUPメッセージとして接続要求作成ユニット109により作成された接続要求をサーバに送信する。そして、サーバからOKの応答を受信すると、PLAYメッセージをサーバに送信する。更に、メッセージ送受信ユニット111は、PLAYメッセージに対してサーバからOKの応答を受信すると、データ受信ユニット101を開放し、データの受信が可能な状態にする。一方、メッセージ送受信ユニット111は、サーバからOKの応答を受信することができない場合には、接続不能と判断し、接続不能である旨を表示ユニット104を介して表示することにより、ユーザに知らせる。メッセージ送受信ユニット111により開放されたデ―タ受信ユニット101は、サーバから送信されるRTPパケットデータ列を受信し、受信バッファ102に、各VOPに対するタイムスタンプ、データサイズ、及びVOPデータを格納する。
The message transmission /
復号ユニット103は、受信バッファ102に格納された各VOPのタイムスタンプに従って順次受信バッファ102からデータを読み出して復号化し、表示ユニット104に復号化済みのデータを出力する。また、同時に復号ユニット103は、データの復号時に復号中データがI−VOPであるか否かを判断しており、復号したデータがI−VOPであった場合には、当該I−VOPに対応するタイムスタンプをメモリ管理ユニット108に出力する。一方、復号したデータがI−VOPでない場合には、当該I−VOPに対応するタイムスタンプをメモリ管理ユニット108に出力しない。メモリ管理ユニット108は、復号ユニット103からタイムスタンプの出力を受けると、メモリ105から現在受信中の接続先アドレスを示すアクティブフラグが「1」のエントリを検出し、当該エントリのタイムスタンプを復号ユニット103から出力されたタイムスタンプに置き換える。また、復号ユニット103により復号されたデータは、表示ユニット104により表示され、ユーザに提供される。
The
受信中のコンテンツの再生が最後まで終了すると、復号ユニット103からコンテンツの再生が終了した旨の信号がメモリ管理ユニット108に出力され、メモリ管理ユニット108は、メモリ105内のアクティブフラグが「1」であるエントリを検出して、当該エントリの再生完了フラグを「1」に設定するとともに、アクティブフラグを「0」にリセットする。
When the reproduction of the content being received is completed to the end, a signal indicating that the reproduction of the content has been completed is output from the
次に、データ再生途中で、ユーザがサーバとの接続を切断するための動作をユーザ入力ユニット110に対して行った場合のデータ受信端末12の動作について説明する。ユーザ入力ユニット110に対して、例えば、データの受信再生を中断するためのボタンが押下されること等により、ユーザ入力ユニット110からデータの受信再生を中断する旨の信号が制御ユニット106に出力される。ユーザ入力ユニット110からデータの送受信を中断する旨の信号を受けた制御ユニット106は、データの受信再生の中止処理を行う。すなわち、制御ユニット106は、データ受信ユニット101を閉じ、受信バッファ102、復号ユニット103をリセットし、メモリ105内のエントリのアクティブフラグを全て「0」にリセットする。なお、この時、メモリ105には、先に再生を行っていたデータの最後に復号・再生したI−VOPのタイムスタンプがメモリ管理ユニット108により記録されている。また、制御ユニット106は、メッセージ送受信ユニット111に対してデータの送信の停止を行うように指示し、メッセージ送受信ユニット111は、RTSPのTEARDOWNメッセージをサーバに送信する。これにより、サーバからの送信が停止する。
Next, the operation of the data receiving terminal 12 when the user performs an operation for disconnecting the connection with the server to the
このように、本実施形態によるデータ受信端末12では、メモリ管理ユニット108がデータ再生時に最後に復号・再生したデータのタイムスタンプをメモリ105に記憶しておくことにより、ユーザが途中で受信を終了した場合であっても、当該コンテンツを再度再生する際に、前回再生を行った続きからのデータの受信を行うことができ、ユーザの都合により、長時間コンテンツを時間と場所を変え、数回に分けて視聴することが可能となる。
As described above, in the data receiving terminal 12 according to the present embodiment, the
また、メモリ105内に記憶されているエントリのうち、現在接続中のコンテンツを示すエントリをアクティブフラグを用いて表すこととしたので、メモリ管理ユニット108は、タイムスタンプの更新時に当該アクティブフラグを見ることにより、タイムスタンプの更新を行うエントリを検出することができるため、タイムスタンプの更新処理速度の向上を図ることができるとともに、消費電力の低減にもつながる。更に、メモリ105内に記憶されているエントリのうち、最後まで再生したコンテンツを示すエントリを再生完了フラグを用いて表すこととしたので、接続要求作成ユニット109は、接続要求作成時に当該再生完了フラグを見ることにより、最後まで再生が完了したエントリを検出することができるため、接続要求の作成速度の向上を図ることができるとともに、消費電力の低減にもつながる。
In addition, among the entries stored in the
また、復号ユニット103がイントラ符号化データ(I−VOP)を復号した場合に当該データのタイムスタンプをメモリ管理ユニット108に出力することとしたので、メモリ管理ユニット108によるタイムスタンプの更新処理の回数を低減でき、消費電力の低減につながるとともに、前回再生を行った続きからのデータの受信を行う場合には、イントラ符号化データから受信を再開することができる。
Further, when the
なお、本実施形態によるデータ受信端末12の接続要求作成ユニット109では、前回の続きから再生を行うか否かのメッセージを表示し、ユーザに途中からの再生を行うか否かの判断をさせるものについて説明したが、例えば、接続先アドレスのエントリが登録されており、かつ再生完了フラグが「0」である場合には、自動的に前回の続きからのコンテンツのデータを受信するよう接続要求を作成するものであってもよい。
Note that the connection
(第2の実施形態)
図7は、本発明の第2の実施形態によるデータ受信端末の構成の一例を示すブロック図である。図7において、本発明に係るデータ受信端末22は、送信装置(サーバ)21から、RTP/UDP/IPによる伝送方式により送信されたRTPパケットを受信し、再生するものである。送信装置21は、受信状況解析ユニット201を備える。また、データ受信端末22は、データ受信ユニット101と、受信バッファ102と、復号ユニット103と、表示ユニット104と、メモリ105と、制御ユニット106と、ユーザ入力ユニット110と、メッセージ送受信ユニット111と、受信状況通知ユニット202とからなる。制御ユニット106は、接続先アドレス検出ユニット107と、メモリ管理ユニット108と、接続要求作成ユニット109とからなる。
(Second embodiment)
FIG. 7 is a block diagram illustrating an example of a configuration of a data receiving terminal according to the second embodiment of the present invention. In FIG. 7, a data receiving terminal 22 according to the present invention receives and reproduces an RTP packet transmitted from a transmitting device (server) 21 by a transmission method based on RTP / UDP / IP. The
第2の実施形態によるデータ受信端末22は、第1の実施形態で説明したデータ受信端末12に、更に、送信装置21との接続状況を知らせる受信状況通知ユニット202を設けた点において第1の実施形態によるデータ受信端末12と相違する。第1の実施形態によるデータ受信端末12と同様の構成要素については、同一の符号を付し、説明を省略することにする。
The data reception terminal 22 according to the second embodiment is different from the data reception terminal 12 described in the first embodiment in that a reception
データ受信端末22の受信状況通知ユニット202は、送信装置21との接続中に動作し、送信装置21の受信状況解析ユニット201との間で、データを受信した旨を示す受信レポートを送信するとともに、送信装置21がデータを送信した旨を示す送信レポートの受信を常に行っており、予め定めた所定の時間、送信装置21から送信される送信レポートを受信しない場合には、データ受信端末22がトンネル等の電波が届かない領域(受信不可能領域)に入ったと判断し、その旨を制御ユニット106に出力する。制御ユニット106は、これに応答して、データ受信ユニット101を閉じ、受信バッファ102、復号ユニット103をリセットし、メモリ105内のエントリのアクティブフラグを全て「0」にリセットするとともに、表示ユニット104を介して接続が切断した旨の表示を行う。なお、この時、メモリ105には、先に再生を行っていたデータの最後に復号・再生したI−VOPのタイムスタンプがメモリ管理ユニット108により記録されている。
The reception
一方、送信装置21の受信状況解析ユニット201も、同様に、データ受信端末22との接続中に動作し、データ受信端末22の受信状況通知ユニット202から送信された受信レポートを受信するとともに、送信レポートの送信を常に行っており、予め定めた所定の時間、データ受信端末22から送信される受信レポートを受信しない場合には、データ受信端末22がトンネル等の電波が届かない領域(受信不可能領域)に入ったと判断し、セッションを切断、すなわち送信装置21からのRTPのデータの送信を止める。
On the other hand, similarly, the reception
このように、本実施形態による送信装置(サーバ)21及びデータ受信端末22では、送信装置21とデータ受信端末22との間で、常に接続が維持されているかの通信レポートを送受信し合うことにより、データ受信端末22がトンネル等の受信不可能領域に入ったことを互いに検出することができ、それ以後のセッションを切断できるので、無駄なデータが送信されることなく、通信費用を削減できるとともに帯域の有効利用をすることができる。また、メモリ105には、最後に表示されたI−VOPのタイムスタンプが記録されているため、接続が切断されたところから再生を再開することができ、接続が切断されたコンテンツを改めて最初から見直す必要がなくなり、コンテンツを効率的に視聴することができる。
As described above, the transmitting device (server) 21 and the data receiving terminal 22 according to the present embodiment exchange communication reports between the transmitting
なお、本実施形態では、受信状況通知ユニット202が、予め定めた所定の時間、送信装置21から送信される送信レポートを受信しない場合に、データ受信端末22が受信不可能領域に入ったと判断するものについて説明したが、例えば、受信状況通知ユニット202がデータ受信ユニット101のRTPパケットの受信状況を監視し、一定期間、データ受信ユニット101がRTPパケットを受信していない場合に、データ受信端末22が受信不可能領域に入ったと判断するものであってもよい。
In the present embodiment, when the reception
また、送信装置21の受信状況解析ユニット201でデータ受信端末22が受信不可能領域に入ったと判断したとき、その時点のI−VOPのタイムスタンプを送信装置21にて記録しておくようにしてもよい。このようにしても、接続が切断されたところから再生を再開することができる。ただし、データ受信端末22が実際にどの時点のデータまで受信できたかは推定の域を出ないので、確実性の点では本実施形態の方が勝っている。
Also, when the reception
さて、上記各実施形態によるデータ受信端末12,22では、復号ユニット103がI−VOPのデータを復号した際に、メモリ105に格納された受信中のコンテンツのタイムスタンプを更新するものについて説明したが、復号ユニット103がデータの種類に関係なく、データを復号する毎にメモリ105に格納された受信中のコンテンツのタイムスタンプを更新するものや、一定時間が経過する毎にタイムスタンプの更新を行うもの等であってもよい。また、復号の順序に影響するタイムスタンプ、すなわちDTS(Decoding Time Stamp)に限らず、いわゆるCTS(Composition Time Stamp)又はPTS(Presentation Time Stamp)を利用することとしてもよい。
Now, in the data receiving terminals 12 and 22 according to the above embodiments, the description has been given of the case where the
11,21 送信装置
12,22 データ受信端末
101 データ受信ユニット
102 受信バッファ
103 復号ユニット
104 表示ユニット
105 メモリ
106 制御ユニット
107 接続先アドレス検出ユニット
108 メモリ管理ユニット
109 接続要求作成ユニット
110 ユーザ入力ユニット
111 メッセージ送受信ユニット
201 受信状況解析ユニット
202 受信状況通知ユニット
11, 21 Transmitting device 12, 22
Claims (14)
再生順序を示すタイムスタンプを有するデータを受信するためのデータ受信手段と、
前記データ受信手段が受信したデータを前記タイムスタンプ順に復号するとともに、復号したデータのタイムスタンプを出力するための復号手段と、
前記復号手段により復号されたデータを表示するための表示手段と、
少なくとも、接続先アドレスとタイムスタンプとを組にして記憶するためのメモリと、
前記復号手段から出力されたタイムスタンプを、前記メモリ内の接続中の接続先アドレスに対応するタイムスタンプと置き換えるように管理するためのメモリ管理手段と、
外部からの操作を解析し、少なくとも、接続先アドレスを出力するためのユーザ入力手段と、
前記ユーザ入力手段から出力された接続先アドレスが前記メモリ内に記憶されているか否かを検出するための接続先アドレス検出手段と、
前記サーバに対して、前記ユーザ入力手段から出力された接続先アドレス、前記接続先アドレス検出手段の検出結果、及び前記メモリ内に記憶されている接続先アドレスとタイムスタンプに基づいて、データの送信を要求する接続要求を作成するための接続要求作成手段と、
前記接続要求作成手段により作成された接続要求を前記サーバに送信するとともに、前記サーバからの応答を処理するためのメッセージ送受信手段とを備えたことを特徴とするデータ受信端末。 A data receiving terminal for receiving and reproducing data transmitted from the server,
Data receiving means for receiving data having a time stamp indicating a reproduction order;
A decoding unit for decoding the data received by the data receiving unit in the order of the time stamp, and outputting a time stamp of the decoded data,
Display means for displaying the data decoded by the decoding means,
At least a memory for storing a connection destination address and a time stamp as a set,
Memory management means for managing the time stamp output from the decoding means so as to replace the time stamp corresponding to the connected destination address in the memory,
A user input means for analyzing an operation from outside and outputting at least a connection destination address;
Connection destination address detection means for detecting whether the connection destination address output from the user input means is stored in the memory,
Sending data to the server based on the connection destination address output from the user input means, the detection result of the connection destination address detection means, and the connection destination address and time stamp stored in the memory; Connection request creation means for creating a connection request requesting
A data reception terminal, comprising: a message transmission / reception unit for transmitting a connection request created by the connection request creation unit to the server and processing a response from the server.
前記接続要求作成手段は、前記接続先アドレス検出手段が前記メモリ内から、前記ユーザ入力手段により示された接続先アドレスを検出した場合には、当該接続先アドレスに対する前記タイムスタンプにより示されたデータ位置からのデータの送信を要求することを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
The connection request creation unit, when the connection destination address detection unit detects the connection destination address indicated by the user input unit from the memory, the data indicated by the time stamp for the connection destination address A data receiving terminal for requesting data transmission from a position.
前記ユーザ入力手段は、更に、外部からの操作を解析してメッセージに対する選択信号を出力し、
前記接続要求作成手段は、前記接続先アドレス検出手段が前記メモリ内から、前記ユーザ入力手段により示された接続先アドレスを検出した場合には、前記表示手段を介して当該接続先アドレスに対するタイムスタンプからのデータの送信を要求するか否かの判断を求めるメッセージを表示するとともに、前記ユーザ入力手段から出力された前記メッセージに対する選択信号に基づいて、前記サーバに対する接続要求を作成することを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
The user input unit further analyzes an operation from outside and outputs a selection signal for the message,
The connection request creating unit, when the connection destination address detection unit detects the connection destination address indicated by the user input unit from the memory, a time stamp for the connection destination address via the display unit. Displaying a message asking whether to request transmission of data from the server, and creating a connection request to the server based on a selection signal for the message output from the user input means. Data receiving terminal.
前記メモリは、少なくとも、受信中のコンテンツであるか否かを示すアクティブフラグと、前記接続先アドレスと、前記タイムスタンプとを組として記憶しており、
前記メモリ管理手段は、前記復号手段からタイムスタンプが出力されると、前記メモリに記憶されたアクティブフラグから受信中を示すアクティブフラグを検出し、当該受信中を示すアクティブフラグに対応するタイムスタンプと置き換えることを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
The memory at least stores an active flag indicating whether or not the content is being received, the connection destination address, and the time stamp as a set,
The memory management unit, when a time stamp is output from the decoding unit, detects an active flag indicating that reception is in progress from the active flag stored in the memory, and a time stamp corresponding to the active flag indicating that reception is in progress. A data receiving terminal characterized by being replaced.
前記メモリは、少なくとも、最後まで再生したコンテンツを示す再生完了フラグと、前記接続先アドレスと、前記タイムスタンプとを組として記憶しており、 前記接続要求作成手段は、前記メモリ内の前記ユーザ入力手段から出力された接続先アドレスに対する再生完了フラグが、再生が完了した旨を示している場合には、当該接続先アドレスの最初からのデータの送信を要求する接続要求を作成することを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
The memory stores at least a playback completion flag indicating the content that has been played to the end, the connection destination address, and the time stamp, as a set. The connection request creation unit stores the user input in the memory. When the reproduction completion flag for the connection destination address output from the means indicates that the reproduction has been completed, a connection request for requesting data transmission from the beginning of the connection destination address is created. Data receiving terminal.
前記復号手段は、イントラ符号化データを復号する毎に当該データのタイムスタンプを前記メモリ管理手段に出力することを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
The data receiving terminal, wherein the decoding means outputs a time stamp of the intra-coded data to the memory management means every time the data is decoded.
前記サーバとの接続中に動作し、データを受信した旨を示す受信レポートの送信、及び前記サーバから送信された、データを送信した旨を示す送信レポートの受信を常に行う受信状況通知手段を更に備え、
前記受信状況通知手段は、予め定めた所定の時間、前記サーバから送信される送信レポートを受信しない場合には、データの受信を行うことができない領域に入った旨の信号を出力することを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
A reception status notifying unit that operates during connection with the server and transmits a reception report indicating that data has been received, and always receives a transmission report indicating that data has been transmitted, transmitted from the server. Prepare,
The reception status notifying unit outputs a signal indicating that the user has entered an area where data cannot be received when the transmission report transmitted from the server is not received for a predetermined time. Data receiving terminal.
前記データ受信手段のデータ受信状況を監視し、予め定めた所定の期間データを受信しない場合には、データの受信を行うことができない領域に入った旨の信号を出力する受信状況通知手段を更に備えたことを特徴とするデータ受信端末。 The data receiving terminal according to claim 1,
Monitoring the data reception status of the data reception means, and further comprising a reception status notifying means for outputting a signal indicating that the data reception area has entered an area where data cannot be received if the data reception is not received for a predetermined period. A data receiving terminal comprising:
再生順序を示すタイムスタンプを有するデータを受信するデータ受信ステップと、
受信したデータを前記タイムスタンプ順に復号するとともに、復号したデータのタイムスタンプを出力する復号ステップと、
前記復号ステップにより復号されたデータを表示する表示ステップと、
前記復号ステップから出力されたタイムスタンプを、少なくとも、接続中の接続先アドレスと組にしてメモリに記憶するメモリ管理ステップと、
外部からの操作を解析し、少なくとも、接続先アドレスを出力する外部入力出力ステップと、
前記外部入力出力ステップから出力された接続先アドレスが前記メモリ内に記憶されているか否かを検出する接続先アドレス検出ステップと、
前記サーバに対して、前記外部入力出力ステップから出力された接続先アドレス、前記接続先アドレス検出ステップの検出結果、及び前記メモリに記憶された接続先アドレスとタイムスタンプに基づいて、データの送信を要求する接続要求を作成する接続要求作成ステップと、
前記接続要求作成ステップにより作成された接続要求を前記サーバに送信するとともに、前記サーバからの応答を処理するメッセージ送受信ステップとを備えたことを特徴とするデータ受信方法。 A data receiving method for receiving and reproducing data transmitted from a server,
A data receiving step of receiving data having a time stamp indicating a reproduction order;
Decoding the received data in the order of the time stamps, and outputting a time stamp of the decoded data;
A display step of displaying the data decoded by the decoding step;
A memory management step of storing the time stamp output from the decoding step, at least, in a memory in combination with a connection destination address being connected;
An external input / output step of analyzing an external operation and outputting at least a connection destination address;
A connection destination address detection step of detecting whether the connection destination address output from the external input output step is stored in the memory,
Data transmission to the server based on the connection destination address output from the external input output step, the detection result of the connection destination address detection step, and the connection destination address and the time stamp stored in the memory. A connection request creation step for creating a requested connection request;
Transmitting a connection request created in the connection request creation step to the server and processing a response from the server.
前記接続先アドレス検出ステップにおいて接続先アドレスが前記メモリ内に記憶されていないことを検出した場合、前記メモリ内に空き領域があるか否かを検出し、空き領域があれば新たに接続先アドレスを前記メモリ内に登録することを特徴とするデータ受信方法。 The data receiving method according to claim 9,
In the connection destination address detecting step, when it is detected that the connection destination address is not stored in the memory, it is detected whether or not there is a free area in the memory. Is registered in the memory.
前記メモリ内に空き領域がない場合、既に前記表示ステップにおいて再生が完了しているデータがあるか否かを検出し、再生が完了したデータがある場合、前記再生が完了したデータに新たに接続先アドレスを上書き登録することを特徴とするデータ受信方法。 The data receiving method according to claim 10,
If there is no free space in the memory, it is detected whether or not there is data that has already been reproduced in the display step, and if there is data that has been reproduced, a new connection is made to the data that has been reproduced. A data receiving method characterized by overwriting and registering a destination address.
再生が完了したデータが複数存在する場合、登録時からアクセス時間が古い順序で上書き登録することを特徴とするデータ受信方法。 The data receiving method according to claim 11,
A data receiving method characterized in that when there are a plurality of data whose reproduction has been completed, the data is overwritten and registered in the order of access time from the time of registration.
前記メモリ内に空き領域がない場合、既に前記表示ステップにおいて再生が完了しているデータがあるか否かを検出し、再生が完了したデータがない場合、前記接続先アドレスの登録時からアクセス時間が古い順序で、既に登録したデータに新たに接続先アドレスを上書き登録することを特徴とするデータ受信方法。 The data receiving method according to claim 10,
If there is no free space in the memory, it is detected whether or not there is data that has already been played back in the display step. If there is no data that has been played back, the access time starts from the registration of the connection destination address. Is a method of overwriting and registering already registered data with a new connection destination address in an old order.
前記サーバとの接続中に動作し、データを受信した旨を示す受信レポートの送信、及び前記サーバから送信された、データを送信した旨を示す送信レポートの受信を常に行う受信状況通知ステップと、
予め定めた所定の時間、前記サーバから送信される送信レポートを受信しない場合には、データの受信を行うことができない領域に入った旨の信号を出力するステップとを更に備えたことを特徴とするデータ受信方法。 The data receiving method according to claim 9,
Operating during the connection with the server, transmission of a reception report indicating that data has been received, and transmitted from the server, a reception status notification step of always receiving a transmission report indicating that the data has been transmitted,
Outputting a signal indicating that the user has entered an area where data cannot be received if the transmission report transmitted from the server is not received for a predetermined period of time. Data receiving method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004105580A JP2004274781A (en) | 2000-12-07 | 2004-03-31 | Data-receiving terminal and data-receiving method |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000372629 | 2000-12-07 | ||
JP2001012779 | 2001-01-22 | ||
JP2001057480 | 2001-03-01 | ||
JP2004105580A JP2004274781A (en) | 2000-12-07 | 2004-03-31 | Data-receiving terminal and data-receiving method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001368184A Division JP2002330381A (en) | 2000-12-07 | 2001-12-03 | Data reproduction method, data receiving terminal and data receiving method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004274781A true JP2004274781A (en) | 2004-09-30 |
Family
ID=33136097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004105580A Withdrawn JP2004274781A (en) | 2000-12-07 | 2004-03-31 | Data-receiving terminal and data-receiving method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004274781A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007074529A (en) * | 2005-09-08 | 2007-03-22 | Mitsubishi Electric Corp | Contents continuously viewing system |
JP2008011166A (en) * | 2006-06-29 | 2008-01-17 | Victor Co Of Japan Ltd | Av server device |
JP2008160455A (en) * | 2006-12-22 | 2008-07-10 | Kyocera Corp | Portable terminal device with streaming reproduction function |
JP2011041048A (en) * | 2009-08-12 | 2011-02-24 | Funai Electric Co Ltd | Streaming data distribution system |
JP2013255265A (en) * | 2013-08-05 | 2013-12-19 | Hitachi Consumer Electronics Co Ltd | Data transmission device |
-
2004
- 2004-03-31 JP JP2004105580A patent/JP2004274781A/en not_active Withdrawn
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007074529A (en) * | 2005-09-08 | 2007-03-22 | Mitsubishi Electric Corp | Contents continuously viewing system |
JP2008011166A (en) * | 2006-06-29 | 2008-01-17 | Victor Co Of Japan Ltd | Av server device |
JP4735441B2 (en) * | 2006-06-29 | 2011-07-27 | 日本ビクター株式会社 | AV server device |
JP2008160455A (en) * | 2006-12-22 | 2008-07-10 | Kyocera Corp | Portable terminal device with streaming reproduction function |
JP2011041048A (en) * | 2009-08-12 | 2011-02-24 | Funai Electric Co Ltd | Streaming data distribution system |
JP2013255265A (en) * | 2013-08-05 | 2013-12-19 | Hitachi Consumer Electronics Co Ltd | Data transmission device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2002330381A (en) | Data reproduction method, data receiving terminal and data receiving method | |
EP1213926A2 (en) | Data reproduction method, data receiving terminal and data receiving method | |
US8316404B2 (en) | Multimedia playback control apparatus and method | |
US9380095B2 (en) | Method and apparatus for playing streaming media file | |
FI116816B (en) | Streaming media | |
JP5493627B2 (en) | Information processing apparatus, data management method, and program | |
US8005973B2 (en) | Method and system for playing video on a mobile device | |
US20080263219A1 (en) | Method and System to Minimize the Switching Delay Between Two Rtp Multimedia Streaming Sessions | |
JP2010530703A (en) | Method and apparatus for improved media session management | |
JP4308555B2 (en) | Receiving device and information browsing method | |
US20080133744A1 (en) | Multimedia data streaming server and method for dynamically changing amount of transmitting data in response to network bandwidth | |
JPWO2003041341A1 (en) | Server device and terminal device used in video transmission system | |
WO2009104639A1 (en) | Video distribution device, video distribution system, and video distribution method | |
JP2009512340A (en) | Method and system for seamless live broadcasting of digital content | |
US20070022183A1 (en) | Media recording functions in a streaming media server | |
JPWO2005057928A1 (en) | Content transmitting apparatus and content transmitting method | |
EP2312826A2 (en) | Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system | |
JP2004274781A (en) | Data-receiving terminal and data-receiving method | |
JP2008160301A (en) | Content distribution device, network terminal, and content distribution system | |
JP2004274562A (en) | Digital broadcast reception mobile terminal and program distribution station | |
JP4222253B2 (en) | Client terminal, streaming server, and streaming switching distribution system | |
JP2004104704A (en) | Video reproducing apparatus, video reproducing method, and program | |
JP2004007172A (en) | Information distributing system, device and method, information terminal equipment and information processing method, recording medium and program | |
JP2007184951A (en) | System, control device, and method for content distribution, and mobile terminal device | |
US20060227721A1 (en) | Content transmission device and content transmission method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040902 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060417 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20060417 |