JP3705107B2 - Stream data reading device - Google Patents

Stream data reading device Download PDF

Info

Publication number
JP3705107B2
JP3705107B2 JP2000314216A JP2000314216A JP3705107B2 JP 3705107 B2 JP3705107 B2 JP 3705107B2 JP 2000314216 A JP2000314216 A JP 2000314216A JP 2000314216 A JP2000314216 A JP 2000314216A JP 3705107 B2 JP3705107 B2 JP 3705107B2
Authority
JP
Japan
Prior art keywords
stream data
stream
read
requested
buffer
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.)
Expired - Fee Related
Application number
JP2000314216A
Other languages
Japanese (ja)
Other versions
JP2002123480A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2000314216A priority Critical patent/JP3705107B2/en
Publication of JP2002123480A publication Critical patent/JP2002123480A/en
Application granted granted Critical
Publication of JP3705107B2 publication Critical patent/JP3705107B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ストリームデータを読み出す技術に関する。
【0002】
【従来の技術】
従来、ストリームデータの読み出しを行う場合、読み出し要求の度毎にストリームからデータを取得していたため、ストリームへのアクセス処理に費やす時間(オーバーヘッド)が、その都度発生していた。そのため、アクセス回数が多い場合には、処理時間が増加し、ストリームデータ読み出し部の処理の負担の増加となっていた。
【0003】
従来技術のひとつが、特開平8−147234号公報に開示されている。それは、磁気ディスクユニット等の記憶装置に動画や音声のストリームデータを格納して、外部からの要求に応じてストリームデータを供給するストリーム処理装置に関したものである。特に、異なる速度指定のストリーム入出力要求を、MPUにより外部入出力装置、記憶装置、バッファメモリのスケジュールを管理することにより、効率的に処理する技術である。この技術におけるストリームデータの読み出しに関しては、要求がある毎に、外部ソースからストリームデータの取得を行っている。
【0004】
他の従来技術が、特開平10―031559号公報に開示されている。それは、ビデオカメラ等からのストリームデータを他のデバイスへ転送する場合において、暫定的にストリームデータを格納する読み出し・書き込み速度の高速な蓄積部と、転送の相手方であるデータの読み出し・書き込み速度の遅い外部記憶装との間でのストリームデータの転送に関するものである。具体的には、前記蓄積部の前後に一時的に使用されるストリームデータの格納部を挿入し、転送処理をサポートさせる。それにより、前記蓄積部に必要とされる空き容量を低減し、かつ、全体の処理時間を短縮する技術である。この技術において、ストリームデータの読み出しを行う際のストリームデータの取得は、要求がある毎に、ビデオカメラ等のデバイスあるいは外部記憶装置から行っている。
【0005】
以上に示すように、従来技術では、いずれの場合も、要求データ数に関わらず、ストリームデータの要求がある度毎に、外部のデバイスや記憶装置等にアクセスする必要がある。特に、少量のストリームデータを連続して読み出す場合には、アクセス回数の増加によりオーバーヘッドが増え、ストリームデータの読み出し処理時間が掛かることになる。
【0006】
【発明が解決しようとする課題】
従って、本発明の目的は、ストリームデータへのアクセスのための処理に費やす時間(オーバーヘッド)を減少させ、処理効率を向上させる装置を提供することにある。
【0007】
本発明の他の目的は、ストリームデータの読み出しの際、ストリームデータの読み出しにかかる時間を短縮する読み出し装置を提供することにある。
【0008】
本発明の更に他の目的は、特に、少量のストリームデータの読み出し要求が連続的に発生するような場合において、オーバーヘッドを減少させて、処理効率を向上させる装置を提供することにある。
【0009】
本発明の更に他の目的は、特に、少量のストリームデータの読み出し要求が連続的に発生するような場合において、ストリームデータの読み出しにかかる時間を短縮する読み出し装置を提供することにある。
【0010】
【課題を解決するための手段】
本課題を解決するための手段の項における、図番号、符号は、特許請求の範囲と発明の実施の形態との対応を示すために記したものであり、特許請求の範囲の解釈に用いてはならない。
【0011】
上記課題を解決するために、本発明のストリームデータ読み出し装置(図1、7)は、指定された場所としての返却バッファ(図1、1)と、先読みバッファと(図1、3)、ストリームデータ読み出し要求に応答して、ストリームデータ(図1、4)から要求されたストリームデータを読み出し、前記先読みバッファ(図1、3)に読み出した前記要求されたストリームデータを格納し、前記要求されたストリームデータあるいは前記先読みバッファ(図1、3)に格納された前記要求されたストリームデータを、前記返却バッファ(図1、1)に転送する手段を備えたストリーム読み出し部(図1、2)とから成ることを特徴とする。
【0012】
また、先読みバッファ(図1、3)と、ストリームデータ読み出し要求に応答して、ストリームデータ(図1、4)から要求されたストリームデータを読み出し、前記先読みバッファ(図1、3)に読み出した前記要求されたストリームデータを格納し、前記要求されたストリームデータあるいは前記先読みバッファ(図1、3)に格納された前記要求されたストリームデータを、指定された場所へ転送する手段を備えたストリーム読み出し部(図1、2)とから成ることを特徴とする。
【0013】
更に、前記ストリーム読み出し部(図1、2)は、前記指定された場所に転送したストリームデータだけでは、ストリームデータが不足である場合に、再度前記先読みバッファ(図1、3)の大きさ分の前記要求されたストリームデータをストリームデータ(図1、4)から読み出し、前記読み出した前記要求されたストリームデータを前記先読みバッファ(図1、3)に格納し、前記先読みバッファ(図1、3)に格納された前記要求されたストリームデータの中から、不足分のストリームデータを前記指定された場所に転送することを特徴とする。
【0014】
更に、前記ストリーム読み出し部(図1、2)は、前記指定された場所に転送したストリームデータだけでは、ストリームデータが不足である場合に、再度不足分のストリームデータをストリームデータ(図1、4)から読み出し、前記読み出した不足分のストリームデータを前記指定された場所に転送することを特徴とする。
【0015】
更に、前記先読みバッファ(図4、13)が、ストリーム読み出し部(図4、12)に内包されていることを特徴とする。
【0016】
更に、前記ストリーム読み出し部(図1、2)が、読み出した前記要求されたストリームデータを転送するバッファメモリ(図1、5)を具備し、前記返却バッファ(図1、1)は、ストリームデータ読み出し要求時に、バッファメモリ(図1、5)内に確保されるメモリ領域であることを特徴とする。
【0017】
更に、前記バッファメモリ(図1、5)の内部に、前記先読みバッファとは別の先読みバッファ(図1、3)を設定できることを特徴とする。
【0018】
更に、前記先読みバッファ(図1、3)のサイズが可変であることを特徴とする。
【0019】
更に、PDC、PHS、およびその他の移動通信に使用される機器に内包され、無線によりストリームデータを受信することを特徴とする。
【0020】
【発明の実施の形態】
以下、本発明であるストリームデータ読み出し装置の実施の形態に関して、携帯電話を例に挙げて、添付図面を参照しながら説明する。この例では、ストリームデータはアクセスポイント(図示せず)から獲得される。
【0021】
(実施例1)
図1は、本発明の実施例(実施例1)を示すブロック図であり、返却バッファ1、ストリーム読み出し部2、先読みバッファ3、バッファメモリ5、制御部6から成る。本実施の形態における本発明のストリームデータ読み出し装置7は、携帯電話内部に存在している。
【0022】
ストリームデータ4は、通信プロトコルに関わる情報を含む、ネットワーク先や各種デバイスから送られてくるシ−ケンシャルな情報を指す。
【0023】
制御部6は、携帯電話の機能を制御する。本発明であるストリームデータ読み出し装置7へのストリームデータ読み出し要求も、ここから発せられる。なお、携帯電話全体の制御部とは別に、ストリームデータ読み出し装置7専用の制御部6を具備することも可能である。
【0024】
返却バッファ1は、制御部6からストリームデータ読み出し装置7へ前記ストリームデータ読み出し要求があった時に、ストリーム読み出し部2(後述)に与えられるバッファメモリ5(後述)の内部の領域である。返却バッファ1は、ストリーム読み出し部2により読み出された前記要求されたストリームデータの転送先として使用される。
【0025】
ストリーム読み出し部2は、制御部6からの前記ストリームデータ読み出し要求に対応して、ストリームデータ4から前記要求されたストリームデータを読み出す機能を持つ。また、読み出した前記要求されたストリームデータを、先読みバッファ3(後述)に書き込み、更に、書き込んだ前記要求されたストリームデータを先読みバッファ3(後述)から読み出す機能を持っている。加えて、ストリームデータ4から読み出した前記要求されたストリームデータ、および、ストリームデータから読み出し後に先読みバッファ3(後述)に書き込んでおいた前記要求されたストリームデータを、返却バッファ1に転送する機能を持っている。
【0026】
先読みバッファ3は、ストリーム読み出し部2に接続されており、ストリーム読み出し部2がストリームデータから読み出した前記要求されたストリームデータを格納する。
【0027】
バッファメモリ5は、制御部6からのストリームデータ読み出し要求に対応して、ストリーム読み出し部2がストリームデータから読み出した前記要求されたストリームデータを出力する際、一時的にデータを格納しておく場所である。そして、前記ストリームデータ読み出し時に、返却バッファ1が確保される場所である。返却バッファ1に転送された前記要求されたストリームデータは、制御部6により使用される。
【0028】
先読みバッファ3の機能を、バッファメモリ5の内部の一部に確保された領域に設定することが可能である。また、ストリームデータ読み出し装置7の外部にあるメモリ(図示せず)の全部又は一部に、先読みバッファ3の機能を設定することもまた可能である。その場合、先読みバッファ3の機能を果たすバッファのメモリサイズを、初期の先読みバッファ3のメモリサイズよりも増加させることができる。
【0029】
次に、本発明に関わる実施例1の動作ついて、図2および3に示すフローチャートにより説明する。
【0030】
ストリームデータ4から要求されたストリームデータを読み出すとは、アクセスポイントから通信によりストリームデータを獲得することである。
【0031】
図2のStartの前の段階で、制御部6は、ストリーム読み出し部2に対して、ストリームデータ4の読み出し要求を行う。それと共に、バッファメモリ5内に返却バッファ1のための領域を確保する。
【0032】
返却バッファ1の大きさは、前記要求されたストリームデータのサイズに等しいサイズである。ただし、前記要求されたストリームデータのサイズは、例えば、携帯電話内の記憶装置(図示せず)または携帯電話の外部(図示せず)から得ることができる。制御部6は、その値を用いてストリームデータ4の読み出し要求を出す。
【0033】
次に、前記ストリームデータ読み出し要求に対して、ストリーム読み出し部2は、先読みバッファ3の中にストリームデータが格納されているかどうかを調べる(図2、S1)。先読みバッファ3の中にストリームデータが格納されている場合は、以下の様に処理する。(先読みバッファ3の中にストリームデータが格納されていない場合については、後述する)。まず、ストリームデータ読み出し装置7において、取り扱うデータの種類を予め一つに決めているかを調べる(図2、S2)。次に、取り扱うデータの種類を予め一つに決めていない場合には、先読みバッファ3に格納されているストリームデータが、前記要求されたストリームデータであるかを照合する(図2、S3)。照合は、先読みバッファ3に格納されているストリームデータの先頭あるいは途中に挿入された、予め決められた識別情報により行うことができる。
【0034】
先読みバッファ3にストリームデータが格納されている場合で、ストリームデータ読み出し装置7で取り扱うデータの種類を、予め一つに決めてある場合には、前記ストリームデータの照合のプロセス(図2、S3)は省略できる。
【0035】
前記ストリームデータの照合の結果、先読みバッファ3の中に、前記要求されたストリームデータの全部または一部が格納されている場合は、以下のようにする。ストリーム読み出し部2は、返却バッファ1のサイズ、即ち、前記要求されたストリームデータのサイズと、先読みバッファ3内に格納されている前記ストリームデータのサイズとを比較し(図3、S5)、二つの場合に分けて処理を進める。(前記ストリームデータの照合の結果、先読みバッファ3の中に、前記要求されたストリームデータが存在しない場合については、後述する)。
【0036】
第一の場合、即ち、先読みバッファ3内に格納されている前記ストリームデータのサイズが、前記要求されたストリームデータのサイズよりも多い場合には、ストリーム読み出し部2は、前記要求されたストリームデータのサイズ分のストリームデータを先読みバッファ3から取得し、返却バッファ1に転送(図3、S6)する。これにより、ストリームデータ読み出し装置7は、前記要求されたストリームデータの読み出し処理を終了する。この時、無線通信によるストリームデータの取得作業は発生しない。
【0037】
第二の場合、即ち、先読みバッファ3内に格納されている前記ストリームデータのサイズが、前記要求されたストリームデータのサイズよりも少ないか、または、等しい場合には、ストリーム読み出し部2は、まず、先読みバッファ3内に格納されている全てのストリームデータを返却バッファ1に転送する(図3、S7)。次に、前記不足分のストリームデータのサイズに合わせて、前記要求されたストリームデータの読み出しに関する処理を、以下の方法により行う。
【0038】
最初に、前記不足分のストリームデータのサイズと先読みバッファ3のサイズを比較(図3、S8)する。ここで、(前記不足分のストリームデータのサイズ)=(返却バッファ1のメモリサイズ)−(最初に先読みバッファ3に格納されていて前期返却バッファ1に転送したストリームデータのサイズ)である。次に、その結果に基づいて、二つの場合に分けて処理する。即ち、前記不足分のストリームデータのサイズが、先読みバッファ3のサイズよりも小さい場合には、ストリーム読み出し部2は、ストリームデータ4から先読みバッファ3のサイズ分の前記要求されたストリームデータを新たに読み出す。そして、先読みバッファ3にそのストリームデータを格納し、しかる後に、先読みバッファ3から前記不足分のストリームデータのサイズのストリームデータを取得して、返却バッファ1に転送する(図3、S9)。これにより、ストリームデータ読み出し装置7は、前記要求されたストリームデータの読み出し処理を終了する。
【0039】
次に、前記不足分のストリームデータのサイズが先読みバッファ3のサイズよりも大きいか等しい場合には、ストリーム読み出し部2は、ストリームデータ4から前記不足分のストリームデータのサイズの要求されたストリームデータを読み出し、先読みバッファ3に格納せずに返却バッファ1に転送する(図3、S10)。これにより、ストリームデータ読み出し装置7は、前記要求されたストリームデータの読み出し処理を終了する。
【0040】
前記ストリームデータ読み出し要求に対して、先読みバッファ3の中にストリームデータが格納されているかどうかを調べた際(図2、S1)に、先読みバッファ3の中にストリームデータが格納されていない場合には、以下のような処理を行う。即ち、ストリーム読み出し部2は、まず、ストリームデータ4から先読みバッファ3のサイズの前記要求されたストリームデータを読み出し、先読みバッファ3に格納する(図2、S4)。しかる後に、図3、S5から、前記の場合と同様にフローチャートに従った前記要求されたストリームデータに関する処理を実行する。
【0041】
前記ストリームデータ読み出し要求に対して、先読みバッファ3に格納されているストリームデータが前記要求されたストリームデータであるかを照合した際(図2、S3)に、先読みバッファ3の中に前記要求されたストリームデータが存在しない場合には、以下のような処理を行う。即ち、ストリーム読み出し部2は、まず、ストリームデータ4から先読みバッファ3のサイズ分の前記要求されたストリームデータを読み出し、先読みバッファ3に格納する(図2、S4)。しかる後に図3、S5から、前記の場合と同様にフローチャートに従った前記要求されたストリームデータに関する処理を実行する。
【0042】
なお、本実施例1では、ストリーム読み出し部2は、前記要求されたストリームデータのサイズを返却バッファ1のサイズから求めていた。しかし、ストリーム読み出し部2が、制御部6からストリームデータ4の読み出し要求を受ける際に、前記要求されたストリームデータのサイズの情報も一緒に直接受け取ることも可能である。その場合には、ストリーム読み出し部2が、制御部6から直接に受け取った前記要求されたストリームデータのサイズに基づいて、図2および3のフローチャートに従って、要求されたストリームデータの読み出し処理を実行する。
【0043】
その際、バッファメモリ5における返却バッファ1の領域の確保を、ストリーム読み出し部2が行うようすることも可能である。
【0044】
(実施例2)
本発明であるストリームデータ読み出し装置の実施の形態に関して、図4に示すような、先読みバッファ13をストリーム読み出し部12の内部に含むストリームデータ読み出し装置17もまた、実施の一形態である。以下にその内容について、図面を参照しながら説明する。
【0045】
図4は、本発明の他の実施例(実施例2)を示すブロック図であり、返却バッファ11、ストリーム読み出し部12、先読みバッファ13、バッファメモリ15、制御部16から成る。本実施の形態における本発明のストリームデータ読み出し装置17は、携帯電話内部に存在している。
【0046】
図4における、返却バッファ11、ストリーム読み出し部12、先読みバッファ13、バッファメモリ15、制御部16は、先読みバッファ13がストリーム読み出し部12に含まれていること以外は、実施例1で説明した図1における返却バッファ1、ストリーム読み出し部2、先読みバッファ3、バッファメモリ5、制御部6と同等である。また、ストリームデータ14の定義もまた、前記実施例1にあるストリームデータ4と同等である。
【0047】
次に、図4に示した本発明の実施例2の動作ついて、図5および6に示すフローチャートにより説明する。
【0048】
本実施例では、先読みバッファ13の中にストリームデータが既に格納されており、また、取り扱うデータの種類を、予め一つに決めてある、という場合について説明する。しかし、図4の装置構成でも、ストリームデータ読み出し装置17は、前記実施例1に示したストリームデータ読み出し装置7が行うストリームデータに係わる処理と同等の処理を行うことが可能である。
【0049】
ストリームデータ14から要求されたストリームデータを読み出すとは、アクセスポイントから通信によりストリームデータを獲得することである。
【0050】
図5のStartの前の段階で、制御部16は、ストリーム読み出し部12に対して、ストリームデータ14の読み出し要求を行う。それと共に、バッファメモリ15内に返却バッファ11のための領域を確保する。
【0051】
返却バッファ11の大きさは、前記要求されたストリームデータの大きさに対応した大きさである。ただし、前記要求されたストリームデータの大きさは、例えば、携帯電話内の記憶装置(図示せず)または携帯電話の外部(図示せず)から得ることができる。制御部16は、その値を用いてストリームデータ14の読み出し要求を出す。
【0052】
次に、前記ストリームデータ読み出し要求に対して、ストリーム読み出し部12は、返却バッファ11の大きさから前記要求されたストリームデータの数を求める。次に、その値と、以前に読み込んだ先読みバッファ13内に格納されているストリームデータの数とを比較し(図5、S11)、二つの場合に分けて処理を進める。
【0053】
なお、前記要求されたストリームデータの数は、返却バッファ11の大きさを、前記要求されたストリームデータの1個分の大きさで割って、求めることができる。
【0054】
第一の場合、即ち、先読みバッファ13内に残っているストリームデータの数が、前記要求されたストリームデータの数よりも多い場合には、ストリーム読み出し部12は、前記要求されたストリームデータの数の分のストリームデータを先読みバッファ13から取得し、返却バッファ11に転送(図5、S12)する。これにより、ストリームデータ読み出し装置17は、前記要求されたストリームデータの読み出し処理を終了する。この時、無線通信によるストリームデータの取得作業は発生しない。
【0055】
第二の場合、即ち、先読みバッファ13内に残っている前記ストリームデータの数が、前記要求されたストリームデータの数よりも少ないか、または、等しい場合には、ストリーム読み出し部12は、まず、先読みバッファ13内に格納されている全てのストリームデータを返却バッファ11に転送する(図5、S13)。次に、前記不足分のストリームデータ数に合わせて、前記要求されたストリームデータの読み出しに関する処理を、以下の方法により行う。
【0056】
最初に、不足分のストリームデータのサイズと先読みバッファ13のサイズを比較(図6、S14)する。ここで、(前記不足分のストリームデータのサイズ)=(返却バッファ11のメモリサイズ)−(最初に先読みバッファ13に残っていて前期返却バッファ11に転送したストリームデータのサイズ)である。次に、その結果に基づいて、二つの場合に分けて処理する。即ち、前記不足分のストリームデータのサイズが、先読みバッファ13のサイズよりも小さい場合には、ストリーム読み出し部2は、ストリームデータ14から先読みバッファサイズ分の前記要求されたストリームデータを新たに読み出す。そして、先読みバッファ13にそのストリームデータを格納し、しかる後に、先読みバッファ13から前記不足分のストリームデータのサイズのストリームデータを取得して、返却バッファ11に転送する(図6、S15)。これにより、ストリームデータ読み出し装置17は、前記要求されたストリームデータの読み出し処理を終了する。
【0057】
次に、前記不足分のストリームデータのサイズが先読みバッファ13のサイズよりも大きいか等しい場合には、ストリーム読み出し部12は、ストリームデータ14から前記不足分のストリームデータのサイズの要求されたストリームデータを読み出し、先読みバッファ13に格納せずに返却バッファ11に転送する(図6、S16)。これにより、ストリームデータ読み出し装置17は、前記要求されたストリームデータの読み出し処理を終了する。
【0058】
なお、本実施例2では、ストリーム読み出し部12は、前記要求されたストリームデータの数を返却バッファ11のサイズから求めていた。しかし、ストリーム読み出し部12が、制御部16からストリームデータ14の読み出し要求を受ける際に、前記要求されたストリームデータの数の情報も一緒に直接受け取ることも可能である。その場合には、ストリーム読み出し部12が、制御部16から直接に受け取った前記要求されたストリームデータの数に基づいて、図5のフローチャートに従って、要求されたストリームデータの読み出し処理を実行する。
【0059】
その際、バッファメモリ15における返却バッファ11の領域確保を、ストリーム読み出し部12が行うようすることも可能である。
【0060】
本実施例1および2において、ストリームデータ4および14から不足分あるいは全部の要求されたストリームデータを無線により読み出すプロセスは、次のようになる。ストリーム読み出し部2および12は、携帯電話において無線信号の送受信を担当する無線部(図示せず)へ、アクセスポイントへの通信を要求する。前記無線部が無線により接続を確立すると、ストリーム読み出し部2および12は、前記無線部を通して前記不足分あるいは全部の要求されたストリームデータの送信を前記アクセスポイントへ要求する。要求の際に、ストリーム読み出し部2および12は、要求するストリームデータを特定するのに必要な情報を、アクセスポイントへ送付する。前記アクセスポイントは、要求に応じて前記不足分あるいは全部の要求されたストリームデータを送信する。ストリーム読み出し部2および12は、前記無線部が受信した前記不足分あるいは全部の要求されたストリームデータの先頭からデータを読み込む。データの終わりは、データの最後に入っている識別情報で行う。
【0061】
また、本実施例1および2においては、先読みバッファ3および13に格納されているストリームデータあるいは、無線通信により獲得するストリームデータは、ストリームの先頭または途中に識別データを入れる、あるいは、各データの先頭またはヘッダー部に識別情報を入れることにより、ストリームデータ間で識別が可能である。
【0062】
上記例の他、この技術は、通信によりストリームデータを読み出す処理を行うようなPDC、PHS、およびその他の移動通信に用いられる機器に使用することができる。
【0063】
【発明の効果】
本発明により、ストリームデータの読み出しの際、ストリーム読み出し部のストリームデータへのアクセスのための処理に費やす時間(オーバーヘッド)を減少させることができ、処理効率を向上させることができる。
【0064】
また、本発明により、ストリームデータの読み出しの際、先読みバッファにあるストリームデータが利用できるので、ストリームデータを素早く獲得することができ、ストリームデータの読み出しにかかる時間を短縮するできる。
【0065】
本発明は、特に、先読みバッファの大きさ未満の少量のストリームデータの読み出し要求が連続的に発生するような場合に、オーバーヘッドを減少させることができ、処理効率を向上させることができる。
【0066】
本発明は、特に、先読みバッファの大きさ未満の少量のストリームデータの読み出し要求が連続的に発生するような場合に、先読みバッファにあるストリームデータが利用できるので、ストリームデータを素早く獲得することができ、ストリームデータの読み出しにかかる時間を短縮するできる。
【図面の簡単な説明】
【図1】本発明の実施例を示すブロック図である。
【図2】図1におけるストリームデータ読み出し装置の動作を示すフローチャートの一部分である。
【図3】図1におけるストリームデータ読み出し装置の動作を示すフローチャートの残りの部分である。
【図4】本発明の他の実施例を示すブロック図である。
【図5】図4におけるストリームデータ読み出し装置の動作を示すフローチャートの一部分である。
【図6】図4におけるストリームデータ読み出し装置の動作を示すフローチャートの残りの部分である。
【符号の説明】
1 返却バッファ
2 ストリーム読み出し部
3 先読みバッファ
4 ストリームデータ
5 バッファメモリ
6 制御部
7 ストリームデータ読み出し装置
11 返却バッファ
12 ストリーム読み出し部
13 先読みバッファ
14 ストリームデータ
15 バッファメモリ
16 制御部
17 ストリームデータ読み出し装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for reading stream data.
[0002]
[Prior art]
Conventionally, when reading stream data, data is acquired from the stream every time a read request is made, so that time (overhead) spent on access processing to the stream occurs each time. For this reason, when the number of accesses is large, the processing time increases, which increases the processing load of the stream data reading unit.
[0003]
One prior art is disclosed in JP-A-8-147234. The present invention relates to a stream processing apparatus that stores moving image or audio stream data in a storage device such as a magnetic disk unit and supplies the stream data in response to an external request. In particular, this is a technique for efficiently processing stream input / output requests with different speeds by managing schedules of external input / output devices, storage devices, and buffer memories by the MPU. Regarding the reading of stream data in this technique, stream data is acquired from an external source every time there is a request.
[0004]
Another prior art is disclosed in Japanese Patent Laid-Open No. 10-031559. In the case of transferring stream data from a video camera or the like to another device, a high-speed read / write speed storage unit that temporarily stores the stream data, and the read / write speed of data that is the transfer partner The present invention relates to the transfer of stream data to / from a slow external storage device. Specifically, a storage unit for temporarily used stream data is inserted before and after the storage unit to support transfer processing. This is a technique for reducing the free capacity required for the storage unit and reducing the overall processing time. In this technique, the acquisition of stream data when reading the stream data is performed from a device such as a video camera or an external storage device every time there is a request.
[0005]
As described above, in any of the conventional techniques, it is necessary to access an external device, a storage device, or the like every time stream data is requested, regardless of the number of requested data. In particular, when a small amount of stream data is read continuously, the overhead increases due to an increase in the number of accesses, and a stream data read processing time is required.
[0006]
[Problems to be solved by the invention]
Accordingly, an object of the present invention is to provide an apparatus that reduces the time (overhead) spent for processing for accessing stream data and improves processing efficiency.
[0007]
Another object of the present invention is to provide a reading apparatus that shortens the time required for reading stream data when reading stream data.
[0008]
Still another object of the present invention is to provide an apparatus for reducing the overhead and improving the processing efficiency, particularly when a request for reading a small amount of stream data is continuously generated.
[0009]
Still another object of the present invention is to provide a reading device that shortens the time required to read stream data, particularly when a small amount of stream data read requests are continuously generated.
[0010]
[Means for Solving the Problems]
The figure numbers and symbols in the means for solving the problems are described in order to show the correspondence between the claims and the embodiments of the invention, and are used for the interpretation of the claims. Must not.
[0011]
In order to solve the above problems, the stream data reading device (FIGS. 1 and 7) of the present invention includes a return buffer (FIGS. 1 and 1) as a designated location, a prefetch buffer (FIGS. 1 and 3), a stream, In response to the data read request, the requested stream data is read from the stream data (FIGS. 1 and 4), the read stream data is stored in the prefetch buffer (FIGS. 1 and 3), and the requested data is stored. Stream reading unit (FIGS. 1 and 2) provided with means for transferring the requested stream data stored in the prefetch buffer (FIGS. 1 and 3) to the return buffer (FIGS. 1 and 1) It is characterized by comprising.
[0012]
Further, in response to the prefetch buffer (FIGS. 1 and 3) and the stream data read request, the requested stream data is read from the stream data (FIGS. 1 and 4) and read to the prefetch buffer (FIGS. 1 and 3). A stream comprising means for storing the requested stream data and transferring the requested stream data or the requested stream data stored in the prefetch buffer (FIGS. 1 and 3) to a specified location. And a reading unit (FIGS. 1 and 2).
[0013]
Further, when the stream data is insufficient with only the stream data transferred to the designated location, the stream reading unit (FIGS. 1 and 2) again determines the size of the prefetch buffer (FIGS. 1 and 3). The requested stream data is read out from the stream data (FIGS. 1 and 4), the read stream data is stored in the prefetch buffer (FIGS. 1 and 3), and the prefetch buffer (FIGS. 1 and 3). The deficient stream data is transferred to the designated location from the requested stream data stored in (1).
[0014]
Further, when the stream data is insufficient only with the stream data transferred to the designated location, the stream reading unit (FIGS. 1 and 2) again converts the insufficient stream data to the stream data (FIGS. 1 and 4). ), And the read insufficient stream data is transferred to the designated location.
[0015]
Further, the prefetch buffer (FIGS. 4 and 13) is included in a stream read unit (FIGS. 4 and 12).
[0016]
Furthermore, the stream reading unit (FIGS. 1 and 2) includes a buffer memory (FIGS. 1 and 5) for transferring the requested stream data that has been read, and the return buffer (FIGS. 1 and 1) includes stream data It is a memory area secured in the buffer memory (FIGS. 1 and 5) when a read request is made.
[0017]
Furthermore, a prefetch buffer (FIGS. 1 and 3) different from the prefetch buffer can be set inside the buffer memory (FIGS. 1 and 5).
[0018]
Further, the size of the prefetch buffer (FIGS. 1 and 3) is variable.
[0019]
Furthermore, it is included in devices used for PDC, PHS, and other mobile communications, and receives stream data wirelessly.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of a stream data reading apparatus according to the present invention will be described with reference to the accompanying drawings, taking a mobile phone as an example. In this example, stream data is obtained from an access point (not shown).
[0021]
(Example 1)
FIG. 1 is a block diagram showing an embodiment (Embodiment 1) of the present invention, which comprises a return buffer 1, a stream reading unit 2, a prefetch buffer 3, a buffer memory 5, and a control unit 6. The stream data reading device 7 of the present invention in this embodiment is present inside a mobile phone.
[0022]
The stream data 4 indicates sequential information transmitted from a network destination or various devices including information related to a communication protocol.
[0023]
The control unit 6 controls the function of the mobile phone. A stream data read request to the stream data read device 7 according to the present invention is also issued from here. In addition to the control unit for the entire mobile phone, a control unit 6 dedicated to the stream data reading device 7 can be provided.
[0024]
The return buffer 1 is an internal area of the buffer memory 5 (described later) that is given to the stream reading unit 2 (described later) when the stream data reading request is sent from the control unit 6 to the stream data reading device 7. The return buffer 1 is used as a transfer destination of the requested stream data read by the stream reading unit 2.
[0025]
The stream read unit 2 has a function of reading the requested stream data from the stream data 4 in response to the stream data read request from the control unit 6. The read stream data is written in a prefetch buffer 3 (described later), and the written requested stream data is read from the prefetch buffer 3 (described later). In addition, a function of transferring the requested stream data read from the stream data 4 and the requested stream data written in the prefetch buffer 3 (described later) after reading from the stream data to the return buffer 1. have.
[0026]
The prefetch buffer 3 is connected to the stream reading unit 2 and stores the requested stream data read from the stream data by the stream reading unit 2.
[0027]
In response to the stream data read request from the control unit 6, the buffer memory 5 temporarily stores data when the stream read unit 2 outputs the requested stream data read from the stream data. It is. The return buffer 1 is secured when the stream data is read. The requested stream data transferred to the return buffer 1 is used by the control unit 6.
[0028]
The function of the prefetch buffer 3 can be set in an area secured in a part of the buffer memory 5. It is also possible to set the function of the prefetch buffer 3 in all or a part of a memory (not shown) outside the stream data reading device 7. In this case, the memory size of the buffer that performs the function of the prefetch buffer 3 can be made larger than the memory size of the initial prefetch buffer 3.
[0029]
Next, the operation of the first embodiment relating to the present invention will be described with reference to the flowcharts shown in FIGS.
[0030]
Reading the requested stream data from the stream data 4 means acquiring the stream data by communication from the access point.
[0031]
At the stage before Start in FIG. 2, the control unit 6 requests the stream reading unit 2 to read the stream data 4. At the same time, an area for the return buffer 1 is secured in the buffer memory 5.
[0032]
The size of the return buffer 1 is equal to the size of the requested stream data. However, the size of the requested stream data can be obtained, for example, from a storage device (not shown) in the mobile phone or from the outside (not shown) of the mobile phone. The control unit 6 issues a read request for the stream data 4 using the value.
[0033]
Next, in response to the stream data read request, the stream read unit 2 checks whether stream data is stored in the prefetch buffer 3 (S1 in FIG. 2). When stream data is stored in the prefetch buffer 3, processing is performed as follows. (The case where stream data is not stored in the prefetch buffer 3 will be described later). First, the stream data reading device 7 checks whether one type of data to be handled is determined in advance (S2 in FIG. 2). Next, if one type of data to be handled is not determined in advance, it is verified whether the stream data stored in the prefetch buffer 3 is the requested stream data (S3 in FIG. 2). The collation can be performed using predetermined identification information inserted at the beginning or in the middle of the stream data stored in the prefetch buffer 3.
[0034]
When stream data is stored in the prefetch buffer 3 and the data type handled by the stream data reading device 7 is determined in advance as one, the process of collating the stream data (FIG. 2, S3) Can be omitted.
[0035]
If all or part of the requested stream data is stored in the prefetch buffer 3 as a result of the collation of the stream data, the following is performed. The stream reading unit 2 compares the size of the return buffer 1, that is, the size of the requested stream data with the size of the stream data stored in the prefetch buffer 3 (FIG. 3, S5). The process is divided into two cases. (The case where the requested stream data does not exist in the prefetch buffer 3 as a result of the collation of the stream data will be described later).
[0036]
In the first case, that is, when the size of the stream data stored in the prefetch buffer 3 is larger than the size of the requested stream data, the stream reading unit 2 determines the requested stream data. Is obtained from the prefetch buffer 3 and transferred to the return buffer 1 (FIG. 3, S6). Thus, the stream data reading device 7 ends the requested stream data reading process. At this time, stream data acquisition work by wireless communication does not occur.
[0037]
In the second case, that is, when the size of the stream data stored in the prefetch buffer 3 is smaller than or equal to the size of the requested stream data, the stream reading unit 2 firstly All the stream data stored in the prefetch buffer 3 are transferred to the return buffer 1 (FIG. 3, S7). Next, processing related to reading of the requested stream data is performed by the following method in accordance with the size of the insufficient stream data.
[0038]
First, the size of the insufficient stream data is compared with the size of the prefetch buffer 3 (S8 in FIG. 3). Here, (the size of the shortage stream data) = (memory size of the return buffer 1) − (size of stream data first stored in the prefetch buffer 3 and transferred to the previous return buffer 1). Next, based on the result, processing is divided into two cases. That is, when the size of the insufficient stream data is smaller than the size of the prefetch buffer 3, the stream reading unit 2 newly adds the requested stream data corresponding to the size of the prefetch buffer 3 from the stream data 4. read out. Then, the stream data is stored in the prefetch buffer 3, and thereafter, the stream data having the size of the insufficient stream data is acquired from the prefetch buffer 3 and transferred to the return buffer 1 (FIG. 3, S9). Thus, the stream data reading device 7 ends the requested stream data reading process.
[0039]
Next, when the size of the insufficient stream data is larger than or equal to the size of the prefetch buffer 3, the stream reading unit 2 requests the stream data requested for the size of the insufficient stream data from the stream data 4. Is transferred to the return buffer 1 without being stored in the prefetch buffer 3 (FIG. 3, S10). Thus, the stream data reading device 7 ends the requested stream data reading process.
[0040]
In response to the stream data read request, when it is determined whether or not stream data is stored in the prefetch buffer 3 (FIG. 2, S1), the stream data is not stored in the prefetch buffer 3 Performs the following processing. That is, the stream reading unit 2 first reads the requested stream data having the size of the prefetch buffer 3 from the stream data 4 and stores it in the prefetch buffer 3 (S4 in FIG. 2). Thereafter, from FIG. 3 and S5, the processing related to the requested stream data according to the flowchart is executed in the same manner as in the above case.
[0041]
In response to the stream data read request, whether the stream data stored in the prefetch buffer 3 is the requested stream data (FIG. 2, S3), the request is made in the prefetch buffer 3. If there is no stream data, the following processing is performed. That is, the stream reading unit 2 first reads the requested stream data corresponding to the size of the prefetch buffer 3 from the stream data 4 and stores it in the prefetch buffer 3 (S4 in FIG. 2). Thereafter, from FIG. 3 and S5, the processing related to the requested stream data according to the flowchart is executed in the same manner as in the above case.
[0042]
In the first embodiment, the stream reading unit 2 calculates the size of the requested stream data from the size of the return buffer 1. However, when the stream reading unit 2 receives a request for reading the stream data 4 from the control unit 6, it is also possible to directly receive information on the size of the requested stream data. In this case, the stream reading unit 2 executes the requested stream data reading process according to the flowcharts of FIGS. 2 and 3 based on the size of the requested stream data received directly from the control unit 6. .
[0043]
At that time, it is possible for the stream reading unit 2 to secure the area of the return buffer 1 in the buffer memory 5.
[0044]
(Example 2)
Regarding the embodiment of the stream data reading device according to the present invention, a stream data reading device 17 including the prefetch buffer 13 in the stream reading unit 12 as shown in FIG. 4 is also an embodiment. The contents will be described below with reference to the drawings.
[0045]
FIG. 4 is a block diagram showing another embodiment (Embodiment 2) of the present invention, which comprises a return buffer 11, a stream read unit 12, a prefetch buffer 13, a buffer memory 15, and a control unit 16. The stream data reading device 17 of the present invention in this embodiment is present inside a mobile phone.
[0046]
4, the return buffer 11, the stream read unit 12, the prefetch buffer 13, the buffer memory 15, and the control unit 16 are the same as those described in the first embodiment except that the prefetch buffer 13 is included in the stream read unit 12. 1 is equivalent to the return buffer 1, the stream reading unit 2, the prefetching buffer 3, the buffer memory 5, and the control unit 6. The definition of the stream data 14 is also equivalent to the stream data 4 in the first embodiment.
[0047]
Next, the operation of the second embodiment of the present invention shown in FIG. 4 will be described with reference to the flowcharts shown in FIGS.
[0048]
In the present embodiment, a case will be described in which stream data is already stored in the prefetch buffer 13 and one type of data to be handled is determined in advance. However, even with the apparatus configuration of FIG. 4, the stream data reading device 17 can perform processing equivalent to the processing related to the stream data performed by the stream data reading device 7 described in the first embodiment.
[0049]
Reading the requested stream data from the stream data 14 means obtaining the stream data by communication from the access point.
[0050]
At the stage prior to Start in FIG. 5, the control unit 16 requests the stream reading unit 12 to read the stream data 14. At the same time, an area for the return buffer 11 is secured in the buffer memory 15.
[0051]
The size of the return buffer 11 is a size corresponding to the size of the requested stream data. However, the size of the requested stream data can be obtained, for example, from a storage device (not shown) in the mobile phone or from the outside (not shown) of the mobile phone. The control unit 16 issues a read request for the stream data 14 using the value.
[0052]
Next, in response to the stream data read request, the stream read unit 12 obtains the number of requested stream data from the size of the return buffer 11. Next, the value is compared with the number of stream data stored in the previously read prefetch buffer 13 (FIG. 5, S11), and the process proceeds in two cases.
[0053]
The number of requested stream data can be obtained by dividing the size of the return buffer 11 by the size of one requested stream data.
[0054]
In the first case, that is, when the number of stream data remaining in the prefetch buffer 13 is larger than the number of requested stream data, the stream reading unit 12 determines the number of requested stream data. Are obtained from the prefetch buffer 13 and transferred to the return buffer 11 (S12 in FIG. 5). Thus, the stream data reading device 17 ends the requested stream data reading process. At this time, stream data acquisition work by wireless communication does not occur.
[0055]
In the second case, that is, when the number of the stream data remaining in the prefetch buffer 13 is less than or equal to the number of the requested stream data, the stream reading unit 12 firstly All the stream data stored in the prefetch buffer 13 are transferred to the return buffer 11 (FIG. 5, S13). Next, processing related to reading of the requested stream data is performed according to the following method in accordance with the number of the insufficient stream data.
[0056]
First, the size of the insufficient stream data is compared with the size of the prefetch buffer 13 (S14 in FIG. 6). Here, (the size of the insufficient stream data) = (the memory size of the return buffer 11) − (the size of the stream data that is initially left in the prefetch buffer 13 and transferred to the previous return buffer 11). Next, based on the result, processing is divided into two cases. That is, when the size of the insufficient stream data is smaller than the size of the prefetch buffer 13, the stream reading unit 2 newly reads the requested stream data for the prefetch buffer size from the stream data 14. Then, the stream data is stored in the prefetch buffer 13, and thereafter, the stream data having the size of the insufficient stream data is acquired from the prefetch buffer 13 and transferred to the return buffer 11 (FIG. 6, S15). Thus, the stream data reading device 17 ends the requested stream data reading process.
[0057]
Next, when the size of the insufficient stream data is larger than or equal to the size of the prefetch buffer 13, the stream reading unit 12 requests the stream data requested for the size of the insufficient stream data from the stream data 14. Is transferred to the return buffer 11 without being stored in the prefetch buffer 13 (FIG. 6, S16). Thus, the stream data reading device 17 ends the requested stream data reading process.
[0058]
In the second embodiment, the stream reading unit 12 obtains the requested number of stream data from the size of the return buffer 11. However, when the stream reading unit 12 receives a request to read the stream data 14 from the control unit 16, it is also possible to directly receive information on the number of requested stream data. In this case, the stream reading unit 12 executes the requested stream data reading process according to the flowchart of FIG. 5 based on the number of requested stream data received directly from the control unit 16.
[0059]
At that time, it is possible for the stream reading unit 12 to secure the area of the return buffer 11 in the buffer memory 15.
[0060]
In the first and second embodiments, a process for wirelessly reading the deficient or all requested stream data from the stream data 4 and 14 is as follows. The stream reading units 2 and 12 request communication to an access point from a radio unit (not shown) responsible for transmission / reception of radio signals in the mobile phone. When the wireless unit establishes a connection wirelessly, the stream reading units 2 and 12 request the access point to transmit the shortage or all the requested stream data through the wireless unit. At the time of the request, the stream reading units 2 and 12 send information necessary for specifying the requested stream data to the access point. The access point transmits the shortage or all the requested stream data in response to the request. Stream reading units 2 and 12 read data from the head of the shortage or all requested stream data received by the radio unit. The end of data is performed by the identification information included at the end of the data.
[0061]
In the first and second embodiments, the stream data stored in the prefetch buffers 3 and 13 or the stream data acquired by wireless communication includes identification data at the beginning or middle of the stream, or It is possible to distinguish between stream data by putting identification information in the head or header part.
[0062]
In addition to the above example, this technology can be used for PDC, PHS, and other devices used for mobile communication that perform processing for reading stream data by communication.
[0063]
【The invention's effect】
According to the present invention, when reading stream data, the time (overhead) spent for processing for accessing the stream data of the stream reading unit can be reduced, and the processing efficiency can be improved.
[0064]
In addition, according to the present invention, the stream data in the prefetch buffer can be used when reading the stream data, so that the stream data can be acquired quickly and the time required for reading the stream data can be shortened.
[0065]
The present invention can reduce overhead and improve the processing efficiency, particularly when read requests for a small amount of stream data smaller than the size of the prefetch buffer are continuously generated.
[0066]
The present invention makes it possible to quickly acquire stream data because the stream data in the prefetch buffer can be used, particularly when a read request for a small amount of stream data smaller than the size of the prefetch buffer occurs continuously. And the time required for reading the stream data can be shortened.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a part of a flowchart showing an operation of the stream data reading device in FIG. 1;
FIG. 3 is the remaining part of the flowchart showing the operation of the stream data reading device in FIG. 1;
FIG. 4 is a block diagram showing another embodiment of the present invention.
FIG. 5 is a part of a flowchart showing an operation of the stream data reading device in FIG. 4;
6 is the remaining part of the flowchart showing the operation of the stream data reading device in FIG. 4;
[Explanation of symbols]
1 Return buffer
2 Stream reading part
3 Prefetch buffer
4 Stream data
5 Buffer memory
6 Control unit
7 Stream data reading device
11 Return buffer
12 Stream reading unit
13 Prefetch buffer
14 Stream data
15 Buffer memory
16 Control unit
17 Stream data reading device

Claims (9)

指定された場所としての返却バッファと、
先読みバッファと、
ストリームデータ読み出し要求に応答して、ストリームデータから要求されたストリームデータを読み出し、前記先読みバッファに読み出した前記要求されたストリームデータを格納し、前記要求されたストリームデータあるいは前記先読みバッファに格納された前記要求されたストリームデータを、前記返却バッファに転送する手段を備えたストリーム読み出し部
備し、
前記ストリーム読み出し部は、
前記指定された場所に転送したストリームデータだけでは、ストリームデータが不足である場合に、再度前記先読みバッファの大きさ分の前記要求されたストリームデータをストリームデータから読み出し、読み出した前記要求されたストリームデータを前記先読みバッファに格納し、前記先読みバッファに格納された前記要求されたストリームデータの中から、不足分のストリームデータを前記指定された場所に転送する
ストリームデータ読み出し装置。
A return buffer as the specified location, and
A read-ahead buffer;
In response to the stream data read request, the requested stream data is read from the stream data, the requested stream data read to the prefetch buffer is stored, and the requested stream data or the prefetch buffer is stored. A stream reading unit comprising means for transferring the requested stream data to the return buffer ;
Was immediately Bei,
The stream reading unit
When the stream data is insufficient with only the stream data transferred to the designated location, the requested stream data corresponding to the size of the prefetch buffer is read again from the stream data, and the requested stream is read. A stream data reading device that stores data in the prefetch buffer and transfers insufficient stream data to the designated location from the requested stream data stored in the prefetch buffer .
先読みバッファと、
ストリームデータ読み出し要求に応答して、ストリームデータから要求されたストリームデータを読み出し、前記先読みバッファに読み出した前記要求されたストリームデータを格納し、前記要求されたストリームデータあるいは前記先読みバッファに格納された前記要求されたストリームデータを、指定された場所へ転送する手段を備えたストリーム読み出し部
え、
前記ストリーム読み出し部は、
前記指定された場所に転送したストリームデータだけでは、ストリームデータが不足である場合に、再度前記先読みバッファの大きさ分の前記要求されたストリームデータをストリームデータから読み出し、読み出した前記要求されたストリームデータを前記先読みバッファに格納し、前記先読みバッファに格納された前記要求されたストリームデータの中から、不足分のストリームデータを前記指定された場所に転送する
ストリームデータ読み出し装置。
A read-ahead buffer;
In response to the stream data read request, the requested stream data is read from the stream data, the requested stream data read to the prefetch buffer is stored, and the requested stream data or the prefetch buffer is stored. A stream reading unit comprising means for transferring the requested stream data to a designated location ;
Bei to give a,
The stream reading unit
When the stream data is insufficient with only the stream data transferred to the designated location, the requested stream data corresponding to the size of the prefetch buffer is read again from the stream data, and the requested stream is read. A stream data reading device that stores data in the prefetch buffer and transfers insufficient stream data to the designated location from the requested stream data stored in the prefetch buffer .
指定された場所としての返却バッファと、
先読みバッファと、
ストリームデータ読み出し要求に応答して、ストリームデータから要求されたストリームデータを読み出し、前記先読みバッファに読み出した前記要求されたストリームデータを格納し、前記要求されたストリームデータあるいは前記先読みバッファに格納された前記要求されたストリームデータを、前記返却バッファに転送する手段を備えたストリーム読み出し部
備し、
前記ストリーム読み出し部は、
前記指定された場所に転送したストリームデータだけでは、ストリームデータが不足である場合に、再度不足分のストリームデータをストリームデータから読み出し、前記読み出した不足分のストリームデータを前記指定された場所に転送する
ストリームデータ読み出し装置。
A return buffer as the specified location, and
A read-ahead buffer;
In response to the stream data read request, the requested stream data is read from the stream data, the requested stream data read to the prefetch buffer is stored, and the requested stream data or the prefetch buffer is stored. A stream reading unit comprising means for transferring the requested stream data to the return buffer ;
Was immediately Bei,
The stream reading unit
When the stream data is insufficient with only the stream data transferred to the designated location, the insufficient stream data is read again from the stream data, and the read insufficient stream data is transferred to the designated location. stream data read apparatus for.
先読みバッファと、
ストリームデータ読み出し要求に応答して、ストリームデータから要求されたストリームデータを読み出し、前記先読みバッファに読み出した前記要求されたストリームデータを格納し、前記要求されたストリームデータあるいは前記先読みバッファに格納された前記要求されたストリームデータを、指定された場所へ転送する手段を備えたストリーム読み出し部
え、
前記ストリーム読み出し部は、
前記指定された場所に転送したストリームデータだけでは、ストリームデータが不足である場合に、再度不足分のストリームデータをストリームデータから読み出し、前記読み出した不足分のストリームデータを前記指定された場所に転送する
ストリームデータ読み出し装置。
A read-ahead buffer;
In response to the stream data read request, the requested stream data is read from the stream data, the requested stream data read to the prefetch buffer is stored, and the requested stream data or the prefetch buffer is stored. A stream reading unit comprising means for transferring the requested stream data to a designated location ;
Bei to give a,
The stream reading unit
When the stream data is insufficient with only the stream data transferred to the designated location, the insufficient stream data is read again from the stream data, and the read insufficient stream data is transferred to the designated location. stream data read apparatus for.
前記先読みバッファが、ストリーム読み出し部に内包されている、
ことを特徴とする請求項1乃至4のいずれかに記載のストリームデータ読み出し装置。
The prefetch buffer is included in the stream read unit;
The stream data reading device according to claim 1, wherein
前記ストリームデータ読み出し装置は、
前記ストリーム読み出し部が読み出した前記要求されたストリームデータを転送するバッファメモリを具備し、
前記返却バッファは、ストリームデータ読み出し要求時に、前記バッファメモリ内に確保されるメモリ領域である、
ことを特徴とする前記請求項1乃至5のいずれかに記載のストリームデータ読み出し装置。
The stream data reading device includes:
A buffer memory for transferring the requested stream data read by the stream reading unit;
The return buffer is a memory area secured in the buffer memory when a stream data read request is made.
6. The stream data reading device according to claim 1, wherein the stream data reading device is any one of the above.
前記バッファメモリの内部に、前記先読みバッファとは別の先読みバッファを設定できる、
ことを特徴とする前記請求項6に記載のストリームデータ読み出し装置。
A prefetch buffer different from the prefetch buffer can be set inside the buffer memory.
The stream data reading device according to claim 6, wherein:
前記先読みバッファのサイズが可変である、
ことを特徴とする前記請求項1乃至7のいずれかに記載のストリームデータ読み出し装置。
The size of the prefetch buffer is variable;
8. The stream data reading device according to claim 1, wherein the stream data reading device is any one of the above.
前記ストリームデータ読み出し装置が、PDC(Personal Digital Cellular)、PHS(Personal Handy phone System)、およびその他の移動通信に使用される機器に内包され、無線によりストリームデータを受信する、
ことを特徴とする前記請求項1乃至8のいずれかに記載のストリームデータ読み出し装置。
The stream data reading device is included in devices used for PDC (Personal Digital Cellular), PHS (Personal Handy phone System), and other mobile communications, and receives stream data by radio.
9. The stream data reading device according to claim 1, wherein the stream data reading device is any one of the above.
JP2000314216A 2000-10-13 2000-10-13 Stream data reading device Expired - Fee Related JP3705107B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000314216A JP3705107B2 (en) 2000-10-13 2000-10-13 Stream data reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000314216A JP3705107B2 (en) 2000-10-13 2000-10-13 Stream data reading device

Publications (2)

Publication Number Publication Date
JP2002123480A JP2002123480A (en) 2002-04-26
JP3705107B2 true JP3705107B2 (en) 2005-10-12

Family

ID=18793511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000314216A Expired - Fee Related JP3705107B2 (en) 2000-10-13 2000-10-13 Stream data reading device

Country Status (1)

Country Link
JP (1) JP3705107B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6169629B2 (en) * 2015-01-27 2017-07-26 日本電信電話株式会社 USB signal control method and USB virtualization communication system

Also Published As

Publication number Publication date
JP2002123480A (en) 2002-04-26

Similar Documents

Publication Publication Date Title
EP1687997B1 (en) A method and apparatus to provide data streaming over a network connection in a wireless mac processor
CN100527748C (en) Method for transmitting variable-length protocol data units in rlc transparent entity
US7505483B2 (en) Apparatus for transmitting WPAN MAC frames and method thereof
US20050002420A1 (en) Method and device for managing the transmission of data in a station of a wireless network
US20060109816A1 (en) Wireless access control station and wireless access control method
CN109688606A (en) Data processing method, device, computer equipment and storage medium
JP3705107B2 (en) Stream data reading device
US20110283068A1 (en) Memory access apparatus and method
EP1404069A2 (en) Network relaying device and network relaying method
JP4502796B2 (en) Stream packet receiver
JPH09331370A (en) Data communication equipment
KR100551171B1 (en) Method for processig reception of packet in inter-processor packet communication for digital mobile communication system
US20020010815A1 (en) Data transfer method and data recording apparatus
JP3064688B2 (en) Data receiving device
CN113438162B (en) Method and device for realizing two-layer forwarding
CN108183949B (en) Self-adaptive transmission control method for wireless sensor network test node
JPS6165649A (en) Communication control system
JPH08275236A (en) Mobile communication system
JP2953362B2 (en) LAN switching device
JPH1027231A (en) Ic card
KR100339206B1 (en) Device and method for between layer and layer using object-oriented data structure in imt-2000 system
JP3277016B2 (en) Data transceiver
JP2002358275A (en) Electronic device and control method therefor
JP2002215567A (en) Usb controller
JP2679606B2 (en) Data storage format conversion system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040922

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041018

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050718

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080805

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120805

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130805

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees