JP2004355792A - Data processing device, data processing method, program, and program recording medium - Google Patents
Data processing device, data processing method, program, and program recording medium Download PDFInfo
- Publication number
- JP2004355792A JP2004355792A JP2004134484A JP2004134484A JP2004355792A JP 2004355792 A JP2004355792 A JP 2004355792A JP 2004134484 A JP2004134484 A JP 2004134484A JP 2004134484 A JP2004134484 A JP 2004134484A JP 2004355792 A JP2004355792 A JP 2004355792A
- Authority
- JP
- Japan
- Prior art keywords
- transfer rate
- data processing
- data
- recording medium
- recording
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、データ処理装置、データ処理方法、プログラム及びプログラム記録媒体に関し、より特定的には、半導体メモリ、光ディスク、磁気ディスク又は光磁気ディスク等の記録媒体に対してデジタルデータの記録/再生を行うデータ処理装置、データ処理方法、その方法を実行するためのプログラム、及びそのプログラムを記録した媒体に関する。 The present invention relates to a data processing device, a data processing method, a program, and a program recording medium, and more specifically, to record / reproduce digital data on / from a recording medium such as a semiconductor memory, an optical disk, a magnetic disk, or a magneto-optical disk. The present invention relates to a data processing device, a data processing method, a program for executing the method, and a medium on which the program is recorded.
現在、半導体メモリ、光ディスク、磁気ディスク又は光磁気ディスク等の記録媒体に対してデジタルデータの記録/再生を行うデータ処理装置として、様々なものが製品化されている。例えば、デジタル映像やデジタル音声を記録/再生するデータ処理装置には、デジタルビデオテープレコーダ、デジタルハードディスクレコーダ、DVDビデオディスクレコーダ、及びBDビデオディスクレコーダ等が存在する。以下に、このデータ処理装置の概要を説明する。 At present, various types of data processing devices for recording / reproducing digital data on / from recording media such as semiconductor memories, optical disks, magnetic disks, and magneto-optical disks have been commercialized. For example, data processing devices that record / reproduce digital video and digital audio include digital video tape recorders, digital hard disk recorders, DVD video disk recorders, and BD video disk recorders. Hereinafter, an outline of the data processing device will be described.
図15は、デジタルデータの記録/再生を行う一般的な従来のデータ処理装置100の概要構成を示すブロック図である。図15に示す従来のデータ処理装置100は、デジタルデータ入力部101と、データ書き込み部102と、記録媒体103と、データ読み出し部104と、デジタルデータ出力部105とを備える。
FIG. 15 is a block diagram showing a schematic configuration of a general conventional
デジタルデータ入力部101に入力されたデジタルデータは、データ書き込み部102で、記録媒体103のフォーマットに従ってデータ変換された後、記録媒体103に記録される。また、記録媒体103に記録されたデジタルデータは、データ読み出し部104によって読み出されて、デジタルデータ出力部105から出力される。
The digital data input to the digital
一方、入力データがアナログデータである場合には、アナログからデジタルに変換する処理を通して、デジタルデータの記録/再生が行われる。図16は、アナログデータを入力する一般的な従来のデータ処理装置110の概要構成を示すブロック図である。図16に示す従来のデータ処理装置110は、図15に示す従来のデータ処理装置100に、アナログデータ入力部106、エンコーダ部107、デコーダ部108及びアナログデータ出力部109をさらに加えた構成である。
On the other hand, when the input data is analog data, recording / reproduction of digital data is performed through a process of converting from analog to digital. FIG. 16 is a block diagram showing a schematic configuration of a general conventional
アナログデータ入力部106に入力されたアナログデータは、エンコーダ部107でデジタルデータに変換された後、デジタルデータ入力部101に入力される。また、デジタルデータ出力部105から出力されるデジタルデータは、デコーダ部108でアナログデータに変換された後、アナログデータ出力部109から出力される。
The analog data input to the analog
さて、近年の技術進展により、ユーザの利便性をさらに向上させるために、データ記録とデータ再生とを同時に行える機能(例えば、追っかけ再生機能)を搭載したデータ処理装置が登場している。このようなデータ処理装置では、以下のような技術を用いて、データの同時記録再生機能を実現させている(特許文献1を参照)。 Now, with the recent technological development, a data processing device equipped with a function capable of simultaneously performing data recording and data reproduction (for example, a chasing reproduction function) has appeared in order to further improve user convenience. In such a data processing apparatus, a simultaneous recording / reproducing function of data is realized by using the following technology (see Patent Document 1).
通常、記録媒体に対して一度にアクセス可能な最大転送レート、すなわち記録媒体に書き込んだり記録媒体から読み出したりできる単位時間当たりの最大データ量は、記録媒体の性能によって制限される。従って、複数のデータ処理を同時に行う場合には、各データ処理が使用する転送レートの合計が、この最大転送レートを超えないようにしなければならない。このため、データの同時記録再生機能を実現させているデータ処理装置では、最大転送レートの範囲内で、データ記録に利用できる転送レート及びデータ再生に利用できる転送レートを、それぞれ予め固定的に割り当てることを行っている。例えば、最大転送レートが50Mbpsであった場合には、データ記録用に25Mbpsの転送レートを、データ再生用に25Mbpsの転送レートを、それぞれ割り当てるといった具合である。
しかしながら、上記従来のデータ処理装置が行っている転送レートの固定的な割り当て方法では、同時記録再生を行っていない場合には記録媒体の最大転送レートを有効に利用できていないという問題がある。上述した例で言うと、データ記録しか実行していない場合でも、データ記録に割り当てられた25Mbpsの転送レートが利用可能な上限となるため、残る25Mbpsの転送レートを利用することはできない。よって、この場合には転送レートの利用効率が50%と大幅に低くなる。 However, in the above-described fixed transfer rate assignment method performed by the conventional data processing apparatus, there is a problem that the maximum transfer rate of the recording medium cannot be effectively used when simultaneous recording and reproduction are not performed. In the above-described example, even when only data recording is performed, the transfer rate of 25 Mbps assigned to data recording is the upper limit of the usable rate, so that the remaining transfer rate of 25 Mbps cannot be used. Therefore, in this case, the transfer rate utilization efficiency is significantly reduced to 50%.
それ故に、本発明の目的は、同時に実行されるデータ処理の数に応じて、各データ処理に割り当てる転送レートを動的に変更することで、複数のデータ処理の同時実行を高い転送レート利用効率で実現することができるデータ処理装置及びデータ処理方法を提供することである。 Therefore, an object of the present invention is to dynamically change a transfer rate assigned to each data processing according to the number of data processings to be executed at the same time, thereby simultaneously executing a plurality of data processings at a high transfer rate utilization efficiency. It is an object of the present invention to provide a data processing device and a data processing method which can be realized by the above.
本発明は、デジタルデータの記録媒体への記録処理及び/又は記録媒体からの再生処理を行うデータ処理装置に向けられている。そして、上記目的を達成させるために、本発明のデータ処理装置は、データ受付部、転送レート制御部、及びデータ処理実行部とを備える。 The present invention is directed to a data processing device that performs a process of recording digital data on a recording medium and / or a process of reproducing digital data from the recording medium. To achieve the above object, a data processing device according to the present invention includes a data reception unit, a transfer rate control unit, and a data processing execution unit.
データ受付部は、複数のデータ処理を受け付けることが可能である。転送レート制御部は、データ受付部が受け付けた複数のデータ処理のそれぞれに割り当てる単位時間当たりの転送レートの合計が、記録媒体が単位時間当たりに処理できる最大転送レートを超えないように、複数のデータ処理に対する転送レートの割り当てを制御する。データ処理実行部は、転送レート制御部で割り当てられた転送レートに従って、記録媒体に対する複数のデータ処理を同時に実行する。 The data receiving unit can receive a plurality of data processes. The transfer rate control unit controls the plurality of data processing units so that the total transfer rate per unit time assigned to each of the plurality of data processes received by the data reception unit does not exceed the maximum transfer rate that the recording medium can process per unit time. Controls the assignment of transfer rates for data processing. The data processing execution unit simultaneously executes a plurality of data processes on the recording medium according to the transfer rate assigned by the transfer rate control unit.
典型的には、転送レート制御部は、データ受付部が受け付けた新たなデータ処理によって、複数のデータ処理の転送レートの合計が最大転送レートを超える場合に、複数のデータ処理の少なくとも1つのデータ処理の転送レートを制限する。転送レートを制限するデータ処理は、予め設定された優先度に基づいて決定すればよい。 Typically, the transfer rate control unit, when the total transfer rate of the plurality of data processing exceeds the maximum transfer rate due to the new data processing received by the data receiving unit, at least one of the plurality of data processing Limit the transfer rate of processing. The data processing for limiting the transfer rate may be determined based on a preset priority.
また、転送レートを制限するデータ処理が、記録媒体から再生されるデータを再び記録媒体に記録することで実行されるダビング処理である場合には、転送レート制御部が、ダビング再生時の転送レートとダビング記録時の転送レートとを、同じ値に制限してもよいし異なる値に制限してもよい。転送レートを制限するデータ処理は、予め設定された優先度に基づいて決定すればよい。 Further, when the data processing for limiting the transfer rate is a dubbing process performed by recording data reproduced from the recording medium on the recording medium again, the transfer rate control unit may control the transfer rate during the dubbing reproduction. And the transfer rate during dubbing recording may be limited to the same value or different values. The data processing for limiting the transfer rate may be determined based on a preset priority.
転送レートの異なる値への制限は、データ処理実行部によって記録媒体から再生されるデジタルデータを、再生された第1の転送レートで一時的に書き込み、第1の転送レートと異なる第2の転送レートで読み出してデータ処理実行部に再入力するバッファを用いて行うことができる。又は、データ処理実行部によって記録媒体から再生されるデジタルデータを、再生された第1の転送レートでアナログデータに変換するデコーダ部と、デコーダ部で変換されたアナログデータを、第1の転送レートと異なる第2の転送レートでデジタルデータに変換してデータ処理実行部に再入力するエンコーダ部とを用いても行うことができる。 The transfer rate is limited to a different value by temporarily writing digital data reproduced from the recording medium by the data processing execution unit at the reproduced first transfer rate, and performing the second transfer different from the first transfer rate. This can be performed using a buffer that reads data at a rate and re-inputs it to the data processing execution unit. Alternatively, a decoder unit for converting digital data reproduced from a recording medium by the data processing execution unit to analog data reproduced at a first transfer rate, and converting the analog data converted by the decoder unit to a first transfer rate It can also be performed by using an encoder unit that converts the digital data into digital data at a second transfer rate different from the above and re-inputs it to the data processing execution unit.
なお、任意のデータ処理が完了した場合には、転送レート制御部が、転送レートを制限しているデータ処理の一部又は全部の制限を解除してもよい。この制限を解除させるデータ処理も、予め設定された優先度に基づいて決定すればよい。 When any data processing is completed, the transfer rate control unit may release some or all restrictions on the data processing that limits the transfer rate. The data processing for releasing the restriction may be determined based on a preset priority.
また、転送レートを制限した場合には、転送レート制御部によって、転送レートを制限したデータ処理について処理完了までの残時間を算出し、利用者に提示することも可能である。 When the transfer rate is limited, the transfer rate control unit can calculate the remaining time until the processing is completed for the data processing with the limited transfer rate, and present it to the user.
さらに、本発明は、デジタルデータの記録媒体への記録処理及び/又は記録媒体からの再生処理を行うデータ処理方法にも向けられている。そして、上記目的を達成させるために、本発明のデータ処理方法は、データ処理を受け付ける受付ステップと、受付ステップで受け付けた複数のデータ処理のそれぞれに要求される単位時間当たりの転送レートの合計を算出する算出ステップと、算出ステップで算出された合計の転送レートが、記録媒体が単位時間当たりに処理できる最大転送レートを超えないように、複数のデータ処理に対する転送レートの割り当てを制御する制御ステップと、制御ステップで割り当てられた転送レートに従って、記録媒体に対する複数のデータ処理を同時に実行する実行ステップとを備えている。 Further, the present invention is also directed to a data processing method for performing a process of recording digital data on a recording medium and / or a process of reproducing digital data from the recording medium. In order to achieve the above object, the data processing method of the present invention includes a receiving step of receiving data processing, and a total of a transfer rate per unit time required for each of the plurality of data processings received in the receiving step. A calculating step of calculating, and a control step of controlling assignment of transfer rates to a plurality of data processes such that the total transfer rate calculated in the calculating step does not exceed a maximum transfer rate that the recording medium can process per unit time. And an execution step of simultaneously executing a plurality of data processes on the recording medium according to the transfer rate assigned in the control step.
典型的には、上述したデータ処理方法は、一連の処理手順をコンピュータに実行させるためのプログラムの形式で提供される。このプログラムは、コンピュータ読み取り可能な記録媒体に記録された形態で、コンピュータに導入されてもよい。 Typically, the above-described data processing method is provided in the form of a program for causing a computer to execute a series of processing procedures. This program may be introduced into a computer in a form recorded on a computer-readable recording medium.
上述したように、本発明によれば、複数のデータ処理が使用する転送レートの合計が、記録媒体の最大転送レートの範囲内に収まるように、各データ処理に割り当てる転送レートを動的に変更する。これにより、あるデータ処理中に、記録媒体の最大転送レートを上回るような新たなデータ処理が発生しても、双方のデータ処理を同時に実行することが可能となる。また、同時処理のために一時的に転送レートが低下していたデータ処理については、転送レートが割り当て可能になり次第、自動的に転送レートを元に戻すことを行う。よって、より高品質なデジタルデータの記録を行うことができる。 As described above, according to the present invention, the transfer rate assigned to each data process is dynamically changed so that the total transfer rate used by a plurality of data processes falls within the range of the maximum transfer rate of the recording medium. I do. Thereby, even if a new data process that exceeds the maximum transfer rate of the recording medium occurs during a certain data process, both data processes can be executed simultaneously. For data processing in which the transfer rate has been temporarily reduced due to simultaneous processing, the transfer rate is automatically restored as soon as the transfer rate can be assigned. Therefore, higher quality digital data can be recorded.
(第1の実施形態)
図1は、本発明の第1の実施形態に係るデータ処理装置1の構成を示すブロック図である。図1において、第1の実施形態に係るデータ処理装置1は、デジタルデータ入力部11と、データ書き込み部12と、記録媒体13と、データ読み出し部14と、デジタルデータ出力部15と、転送レート制御部16とを備える。デジタルデータ入力部11及びデジタルデータ出力部15は、データ受付部を構成する。データ書き込み部12及びデータ読み出し部14は、データ処理実行部を構成する。
まず、第1の実施形態に係るデータ処理装置1の各構成の概要を、以下に説明する。
(1st Embodiment)
FIG. 1 is a block diagram illustrating a configuration of a
First, an outline of each configuration of the
デジタルデータ入力部11は、ユーザ等から与えられる記録要求に応じて、記録対象であるデジタルデータ、及びこのデジタルデータに関するファイル名や記録品質(ビットレート)等の情報を入力する。そして、デジタルデータ入力部11は、デジタルデータの記録をデータ書き込み部12に指示する。データ書き込み部12は、デジタルデータ入力部11から記録指示を受けると、転送レート制御部16による制御に従って、記録媒体13へのデジタルデータの書き込みを行う。このデータ書き込み部12は、複数のデジタルデータを同時に書き込み処理することが可能である。
The digital
デジタルデータ出力部15は、ユーザ等から与えられる再生要求に応じて、再生対象であるデジタルデータに関するファイル名等の情報を入力する。そして、デジタルデータ出力部15は、デジタルデータの再生をデータ読み出し部14に指示する。データ読み出し部14は、デジタルデータ出力部15から再生指示を受けると、転送レート制御部16による制御に従って、記録媒体13からデジタルデータの読み出しを行う。デジタルデータ出力部15は、データ読み出し部14で読み出された(再生された)デジタルデータを出力する。このデータ読み出し部14は、複数のデジタルデータを同時に読み出し処理することが可能である。
The digital
記録媒体13は、映像や音声等のデジタルデータを記録することが可能なメディアであり、例えばハードディスク(HDD)、フラッシュメモリ、DVDメディア及びBDメディアである。この記録媒体13では、図2に示すように、記録されたデジタルデータがデータファイルとして管理されると共に、デジタルデータに関する管理情報ファイルが対応付けて記録される。管理情報ファイルは、例えばデジタルデータのデータファイル名、コンテンツ名、データサイズ及び記録ビットレート等で構成される。この記録媒体13は、1つのメディアで構成されていてもよいし、複数のメディアで構成されていてもよい。
The
転送レート制御部16は、記録処理及び再生処理で利用される転送レート(単位時間当たりに転送されるデータ量)を、最適に割り当てる制御を行う。この制御は、データ処理装置で実行される全ての記録処理及び再生処理の状況に関する情報と、記録媒体13に対して一度にアクセス可能な最大転送レートに関する情報とに、基づいて行われる。図3は、転送レート制御部16が、これらの情報を管理テーブルの形式で保持する一例を示す図である。図3における管理テーブルは、記録媒体13の最大転送レートを保持するテーブルと、実行中の記録処理及び再生処理(処理種別)について要求された転送レート及び割り当てられた転送レートを保持するテーブルとで構成される。図3の例では、HDDに対して要求された転送レートの合計が65Mbpsである記録1、再生1及び記録2に対して、転送レートの合計が記録媒体13の最大転送レート50Mbps以下となるように、録画2の転送レートを小さく割り当てている例である。また、図4は、転送レート制御部16が優先度判定に使用する優先度判定テーブル及び処理判定テーブルの一例を示す図である。この優先度判定テーブルには、どの処理を優先して転送レートを割り当てるかを示す情報が登録されている。図4の例では、網掛けされた記録処理、予約記録処理、及び後に要求された処理の順で優先度が与えられている。なお、基準1又は基準2のいずれを設定するかは、装置の仕様等によって決定される。処理判定テーブルには、優先度判定によって選択された処理について転送レートの割り当てを変更すべきか否かを与える情報が設定されている。
The transfer
以下、図5〜図7をさらに参照して、本発明のデータ処理装置が行うデータ処理方法を詳細に説明する。図5は、転送レート制御部16が行う制御処理の手順を説明するフローチャートである。図6及び図7は、複数の処理が実行される場合の転送レートの状態を例示する図である。
Hereinafter, the data processing method performed by the data processing device of the present invention will be described in detail with reference to FIGS. FIG. 5 is a flowchart illustrating a procedure of a control process performed by the transfer
図5の処理は、記録指示に基づくデータ書き込み部12からの問い合わせ、再生指示に基づくデータ読み出し部14からの問い合わせ、データ書き込み部12からの記録処理完了の通知、又はデータ読み出し部14からの再生処理完了の通知のいずれかを、転送レート制御部16が受けると開始される。
The processing in FIG. 5 includes an inquiry from the
転送レート制御部16は、実行すべき記録処理及び/又は再生処理に必要な転送レートxと、記録媒体13の最大転送レートyとを比較する(ステップS501)。ここで、必要な転送レートxとは、問い合わせを受けた場合には、管理テーブルに登録されている処理に割り当てられている転送レートと、問い合わせで要求されている転送レートとの合計となり、通知を受けた場合には、管理テーブルに登録されている処理に割り当てられている転送レートから、完了した処理に割り当てられていた転送レート分を除いた転送レートとなる。なお、再生処理の問い合わせで要求されている転送レートは、記録媒体13で記録される管理情報ファイル内の記録ビットレートによって与えられる。
The transfer
ステップS501における比較の結果、必要な転送レートxが最大転送レートyと一致する場合(問い合わせ時に限られる)、転送レート制御部16は、問い合わせで要求されていた転送レートをそのまま割り当てて管理テーブルに登録する(ステップS501のx=y及びステップS506)。例えば、図6の第1期間から第2期間への移行時である。図6における網掛けされた矩形は、単位時間当たりの転送レートを表している。そして、転送レート制御部16は、要求通りの転送レートが割り当てられた旨を、問い合わせてきたデータ書き込み部12又はデータ読み出し部14へ応答する。なお、この応答内容は、デジタルデータ入力部11又はデジタルデータ出力部15にも伝えられる。
As a result of the comparison in step S501, when the required transfer rate x matches the maximum transfer rate y (only at the time of inquiry), the transfer
また、ステップS501における比較の結果、必要な転送レートxが最大転送レートyを超える場合(問い合わせ時に限られる)、転送レート制御部16は、優先度判定を行う(ステップS501のx>y及びステップS503)。この優先度判定は、必要な転送レートxを最大転送レートy以内に収めるために、要求されている転送レートと異なる転送レートで割り当て可能なデータ処理を決定するために行われる。転送レート制御部16は、優先度判定テーブルを参照して、最も優先度が低いデータ処理を選択する。例えば、再生処理と手動録画処理とがすでに実行されており、かつ再生処理が先に開始されている場合には、図4に例示した優先度判定テーブルによって再生処理が最も優先度が低いデータ処理として選択される。そして、転送レート制御部16は、処理判定テーブルを参照して、必要な転送レートxが最大転送レートy以内に収まるように、選択したデータ処理の転送レートの割り当てを変更可能か否か判断する(ステップS505)。例えば、図4の例では、再生処理に関しては転送レートを変更して再生する設定になっているので、変更可能であると判断する。
Also, as a result of the comparison in step S501, if the required transfer rate x exceeds the maximum transfer rate y (only at the time of inquiry), the transfer
このステップS505において割り当て変更が不可能である場合には、転送レート制御部16は、要求されたデータ処理を実行できない旨を、問い合わせてきたデータ書き込み部12又はデータ読み出し部14へ応答する。一方、割り当て変更が可能である場合には、転送レート制御部16は、選択されたデータ処理に割り当てる転送レートを変更して管理テーブルに更新登録する(ステップS506)。例えば、図7の第1期間から第2期間への移行時である。図7では、2つのデータ処理が同じ記録処理であるため、後のデータ処理が優先されて先のデータ処理の割り当てが変更されている。そして、転送レート制御部16は、選択されたデータ処理の転送レートが変更された旨を、問い合わせてきたデータ書き込み部12又はデータ読み出し部14へ応答する。なお、この応答内容は、デジタルデータ入力部11又はデジタルデータ出力部15にも伝えられる。
If the allocation cannot be changed in step S505, the transfer
また、ステップS501における比較の結果、必要な転送レートxが最大転送レートy未満の場合、転送レート制御部16は、現在実行中のデータ処理において、要求された転送レートと異なるレートで割り当てられているデータ処理があるか否かを判断する(ステップS501のx<y及びステップS502)。異なるレートで割り当てられているデータ処理がない場合、転送レート制御部16は、問い合わせで要求された転送レートをそのまま割り当てて、又は完了したデータ処理の登録を削除して、管理テーブルに登録する(ステップS506)。例えば、図6の第2期間から第3期間への移行時である。一方、異なるレートで割り当てられているデータ処理がある場合、転送レート制御部16は、このデータ処理に関する優先度判定を行う(ステップS504)。転送レート制御部16は、優先度判定テーブルを参照して、このデータ処理に割り当てられた転送レートを変更すべきか否かを判断する。例えば、所定のレベルよりも優先度が高ければ変更すべきと判断される。変更すべき場合には、転送レート制御部16は、必要な転送レートxの合計が最大転送レートy以内に収まる範囲で、このデータ処理に割り当てる転送レートを変更して管理テーブルに更新登録する(ステップS506)。図7の第2期間から第3期間への移行時である。そして、転送レート制御部16は、このデータ処理の転送レートが変更された旨を、問い合わせ又は通知してきたデータ書き込み部12又はデータ読み出し部14へ応答する。なお、この応答内容は、デジタルデータ入力部11又はデジタルデータ出力部15にも伝えられる。
Also, as a result of the comparison in step S501, if the required transfer rate x is less than the maximum transfer rate y, the transfer
以上のように、本発明の第1の実施形態に係るデータ処理装置によれば、複数のデータ処理が使用する転送レートの合計が、記録媒体の最大転送レートの範囲内に収まるように、各データ処理に割り当てる転送レートを動的に変更する。これにより、あるデータ処理中に、記録媒体の最大転送レートを上回るような新たなデータ処理が発生しても、双方のデータ処理を同時に実行することが可能となる。また、同時処理のために一時的に転送レートが低下していたデータ処理については、転送レートが割り当て可能になり次第、自動的に転送レートを元に戻すことを行う。よって、より高品質なデジタルデータの記録を行うことができる。 As described above, according to the data processing device according to the first embodiment of the present invention, each of the transfer rates used by a plurality of data processes is set to fall within the range of the maximum transfer rate of the recording medium. Dynamically change the transfer rate assigned to data processing. Thereby, even if a new data process that exceeds the maximum transfer rate of the recording medium occurs during a certain data process, both data processes can be executed simultaneously. For data processing in which the transfer rate has been temporarily reduced due to simultaneous processing, the transfer rate is automatically restored as soon as the transfer rate can be assigned. Therefore, higher quality digital data can be recorded.
なお、上記第1の実施形態では、記録媒体の最大転送レートの100%を上限として、各データ処理に割り当てる転送レートを決定する場合を説明した。しかし、装置によってはアクセスエラー等で読み書きに遅延が発生する場合も考えられる。よって、このような場合に対応可能なように、記録媒体の最大転送レート以下の数値(90%や80%等)を上限として、各データ処理に割り当てる転送レートを決定してもよい。 In the first embodiment, the case where the transfer rate to be assigned to each data processing is determined with the upper limit of 100% of the maximum transfer rate of the recording medium. However, depending on the device, a delay in reading and writing may occur due to an access error or the like. Therefore, in order to cope with such a case, the transfer rate to be assigned to each data processing may be determined with an upper limit of a numerical value (90%, 80%, or the like) equal to or less than the maximum transfer rate of the recording medium.
(第2の実施形態)
上記第1の実施形態では、転送レートの割り当てを制御する複数のデータ処理が、記録処理又は再生処理のいずれかである場合を説明した。次の第2の実施形態では、データ処理にダビング処理が加わる場合の転送レートの割り当て制御を説明する。なお、ダビング処理とは、再生処理と記録処理とが一体で行われるデータ処理である。
(Second embodiment)
In the first embodiment, a case has been described in which the plurality of data processes for controlling the assignment of the transfer rate are either the recording process or the reproduction process. In the following second embodiment, transfer rate allocation control in the case where dubbing processing is added to data processing will be described. The dubbing process is a data process in which the reproduction process and the recording process are performed integrally.
図8は、本発明の第2の実施形態に係るデータ処理装置2の構成を示すブロック図である。図8において、第2の実施形態に係るデータ処理装置2は、デジタルデータ入力部21と、データ書き込み部12と、記録媒体13と、データ読み出し部14と、デジタルデータ出力部25と、転送レート制御部26と、ダビング制御部27とを備える。デジタルデータ入力部21及びデジタルデータ出力部25は、データ受付部を構成する。図8に示すように、第2の実施形態に係るデータ処理装置2は、上記第1の実施形態に係るデータ処理装置1と、デジタルデータ入力部21、デジタルデータ出力部25、転送レート制御部26及びダビング制御部27の構成が異なる。以下、この異なる構成を中心に第2の実施形態に係るデータ処理装置2を説明する。
FIG. 8 is a block diagram showing a configuration of the
転送レート制御部26は、記録処理、再生処理及びダビング処理で利用される転送レートを、最適に割り当てる制御を行う。この制御は、データ処理装置で実行される全ての記録処理、再生処理及びダビング処理の状況に関する情報と、記録媒体13に対して一度にアクセス可能な最大転送レートに関する情報とに、基づいて行われる。図9は、転送レート制御部26が、これらの情報を管理テーブルの形式で保持する一例を示す図である。この管理テーブルに格納されている情報は、図3で説明した通りである。図9の例では、HDDに対して要求された転送レートの合計が65Mbpsである録画1、再生1及びダビング1に対して、転送レートの合計が記録媒体13の最大転送レート50Mbps以下となるように、ダビング1の転送レートを小さく割り当てている例である。また、図10は、転送レート制御部26が優先度判定に使用する優先度判定テーブル及び処理判定テーブルの一例を示す図である。この各テーブルに格納されている情報は、図4で説明した通りである。
The transfer
ダビング制御部27は、データ読み出し部14及びデジタルデータ出力部25を介して記録媒体13から読み出されるデジタルデータを、読み出された転送レートAで入力し、所定の転送レートBでデジタルデータ入力部21に出力する。所定の転送レートBは、転送レート制御部26が行う割り当て制御によって決定される。この転送レートAから転送レートBへの変換は、デジタルデータ上で行われてもよいし、アナログデータ上で行われてもよい。前者の場合は、再圧縮処理や間引き処理によってデジタルデータ量を少なくさせることが可能なデジタルバッファ等を用いればよい。後者の場合は、図11に例示する構成のダビング制御部27を用いれば容易である。図11のダビング制御部27は、デコーダ部271、エンコーダ部272及びダビングバッファ273で構成される。デジタルデータ出力部25から出力されるデジタルデータは、ダビングバッファ273に入力され、デコーダ部271において転送レートAでアナログデータに変換される。変換されたアナログデータは、エンコーダ部272において、転送レートBでデジタルデータに再変換される。再変換されたデジタルデータは、ダビングバッファ273を介してデジタルデータ入力部21へ出力される。
The
次に、上記図5及び図12をさらに参照して、転送レート制御部26が行う制御を詳細に説明する。図12は、ダビング処理中に記録媒体13の最大転送レートyを超える新たなデータ処理が要求された場合における、転送レートの状態を例示する図である。この図12は、デジタルデータの変換を伴わない通常のダビング処理を示した例であり、再生の転送レートと記録の転送レートとが同じレートになっている。
Next, the control performed by the transfer
転送レート制御部26は、データ書き込み部12から新たなデータ処理の問い合わせを受けると、実行中のダビング処理及び新たなデータ処理に必要な転送レートxと、記録媒体13の最大転送レートyとを比較する(ステップS501)。比較の結果、必要な転送レートxが最大転送レートyを超えるので、転送レート制御部26は、優先度判定を行う(ステップS501のx>y及びステップS503)。図10の例では、ダビング処理の優先度が最も低くかつダビング処理の転送レートの変更を許可しているため、転送レート制御部26は、ダビング処理の転送レートの割り当てを、必要な転送レートxが最大転送レートy以内に収まるように変更する(ステップS505)。例えば、図12の第1期間から第2期間への移行時である。基本的には、転送レート制御部26は、ダビング処理に伴うダビング再生及びダビング記録の双方に転送レートを連動させて変更する。従って、この場合には、最大転送レートyから新たなデータ処理に要求されている転送レートzを減算し、残りの転送レートの1/2をダビング再生及びダビング記録双方の転送レートCに設定すればよい(C=(y−z)/2)。
Upon receiving an inquiry about a new data process from the
以上のような割り当て処理を行うことによって、ダビング処理と他のデータ処理とを同時に実行させることができる。しかしながら、転送レートを低下させたダビング処理については、ダビングデータの品質は保持されるものの、転送時間が長くなる分だけ通常よりもダビング完了までに時間を要することになる。そこで、第2の実施形態では、ダビング処理の転送レートが変更になった場合に、ダビング完了までの残時間を利用者に伝える仕組みを提供することで便宜を図っている。以下に、この仕組みを説明する。 By performing the above-described assignment processing, dubbing processing and other data processing can be performed simultaneously. However, in the dubbing process in which the transfer rate is reduced, although the quality of the dubbing data is maintained, it takes more time to complete the dubbing than usual because of the longer transfer time. Therefore, in the second embodiment, when the transfer rate of the dubbing process is changed, a mechanism is provided for notifying the user of the remaining time until the completion of the dubbing process. Hereinafter, this mechanism will be described.
図13は、ダビング完了までの残時間を利用者に伝える仕組みを実現するための構成を示すブロック図である。図13において、この仕組みを実現するための構成は、転送レート測定部261、レート変更判定部262、レート変更指示部263、残時間測定部264、優先指示入力部265及び残時間通知部266で構成される。転送レート測定部261、レート変更判定部262、レート変更指示部263及び残時間測定部264は、転送レート制御部26の内部に構成される。
FIG. 13 is a block diagram showing a configuration for realizing a mechanism for notifying the user of the remaining time until the completion of dubbing. In FIG. 13, a configuration for realizing this mechanism includes a transfer
転送レート測定部261は、実行すべき各データ処理の転送レートを入力する。レート変更判定部262は、管理テーブル、優先度判定テーブル及び処理判定テーブルを参照して、転送レートを変更するデータ処理を判定する。ユーザ等からの優先すべきデータ処理の指示は、優先指示入力部265を介して入力可能になっている。よって、優先度判定テーブル及び処理判定テーブルを用いずに、優先指示入力部265から直接入力される指示に基づいて転送レートを変更するデータ処理を判定してもよい。レート変更指示部263は、レート変更判定部262で判定されたデータ処理及び転送レートを、データ書き込み部12やデータ読み出し部14に指示する。残時間測定部264は、ダビング処理の場合、ダビングするデジタルデータの総容量を取得し、総容量を割り当てられた転送レートで割ることで、ダビング完了までの残時間を求める。この求められた残時間は、残時間通知部266を介して利用者に提示される。
The transfer
以上のように、本発明の第2の実施形態に係るデータ処理装置によれば、ダビング処理が実行される場合でも、複数のデータ処理を同時に実行することが可能となる。
なお、ダビング処理と同時に実行されるデータ処理は、記録処理、再生処理又は他のダビング処理のいずれであってもよい。また、優先指示入力部265から入力される指示は、データ処理の要求が発生した時点に限らず、必要なときに随時行われてもよい。これらの指示は、リモコン等で明示的に行われてもよいし、予約記録時の設定時等で行われてもよい。また、残時間の通知は、ダビング完了までの残時間だけでなく、記録完了や再生完了までの残時間にも応用することが可能である。さらに、利用者への通知は、残時間だけでなく、転送レートが変更された旨について行ってもよい。利用者への通知方法については、画面上での表示、装置のフロントパネルへの表示、音声ガイド等の方法が考えられる。
As described above, according to the data processing device according to the second embodiment of the present invention, even when dubbing processing is executed, it is possible to simultaneously execute a plurality of data processing.
The data processing executed simultaneously with the dubbing processing may be any of a recording processing, a reproduction processing, and another dubbing processing. The instruction input from the priority
(第3の実施形態)
上記第1及び第2の実施形態では、入力データがデジタルデータである場合を説明したが、各実施形態に以下の構成をさらに備えることでアナログデータの入力にも対応することができる。図14は、図1のデータ処理装置1をアナログデータ対応に構成したデータ処理装置3の構成を示すブロック図である。図14に示すように、アナログデータ対応にするためには、デジタルデータ入力部11の前段にアナログデータ入力部31及びエンコーダ部32を、デジタルデータ出力部15の後段にデコーダ部33及びアナログデータ出力部34をそれぞれ備えればよい。
(Third embodiment)
In the first and second embodiments, the case where the input data is digital data has been described. However, each embodiment is further provided with the following configuration, so that input of analog data can be supported. FIG. 14 is a block diagram showing a configuration of a
アナログデータ入力部31には、アナログデータが入力される。エンコーダ部32は、アナログデータ入力部31に入力されるアナログデータをデジタルデータに変換する。この変化されたデジタルデータが、デジタルデータ入力部11に入力される。一方、デコーダ部33は、デジタルデータ出力部15から出力されるデジタルデータをアナログデータに変換する。変換されたアナログデータは、アナログデータ出力部34を介して出力される。
この構成によって、アナログデータについても、本発明のデータ処理方法を適用させることが可能となる。なお、図8のデータ処理装置2に対しても同様である。
Analog data is input to the analog
With this configuration, the data processing method of the present invention can be applied to analog data. The same applies to the
典型的には、上記第第1〜第3の実施形態で説明したデータ処理装置が実行するデータ処理方法は、記憶装置(ROM、RAM、ハードディスク等)に格納された上述した処理手順を実行可能な所定のプログラムデータが、CPUによって解釈実行されることで実現される。この場合、プログラムデータは、CD−ROMやフレキシブルディスク等の記録媒体を介して記憶装置内に導入されてもよいし、記録媒体上から直接実行されてもよい。 Typically, the data processing method executed by the data processing device described in the first to third embodiments can execute the above-described processing procedure stored in a storage device (ROM, RAM, hard disk, or the like). Such predetermined program data is realized by being interpreted and executed by the CPU. In this case, the program data may be introduced into the storage device via a recording medium such as a CD-ROM or a flexible disk, or may be executed directly from the recording medium.
本発明は、記憶媒体に対してデジタルデータの記録/再生を行う場合等に利用可能であり、特に複数のデータ処理を高い転送レート利用効率で同時に実行させたい場合等に適している。 INDUSTRIAL APPLICABILITY The present invention can be used when recording / reproducing digital data to / from a storage medium, and is particularly suitable for a case where a plurality of data processes are to be executed simultaneously with high transfer rate utilization efficiency.
1〜3、100、110 データ処理装置
11、21、101 デジタルデータ入力部
12、102 データ書き込み部
13、103 記録媒体
14、104 データ読み出し部
15、25、105 デジタルデータ出力部
16、26 転送レート制御部
27 ダビング制御部
31、106 アナログデータ入力部
32、272、107 エンコーダ部
33、271、108 デコーダ部
34、109 アナログデータ出力部
261 転送レート測定部
262 レート変更判定部
263 レート変更指示部
264 残時間測定部
265 優先指示入力部
266 残時間通知部
273 ダビングバッファ
1 to 3, 100, 110
Claims (21)
複数のデータ処理を受け付けることが可能なデータ受付部と、
前記データ受付部が受け付けた複数のデータ処理のそれぞれに割り当てる単位時間当たりの転送レートの合計が、前記記録媒体が単位時間当たりに処理できる最大転送レートを超えないように、複数のデータ処理に対する転送レートの割り当てを制御する転送レート制御部と、
前記転送レート制御部で割り当てられた転送レートに従って、前記記録媒体に対する複数のデータ処理を同時に実行するデータ処理実行部とを備える、データ処理装置。 A data processing device that performs a recording process of digital data on a recording medium and / or a reproduction process of the recording medium,
A data receiving unit capable of receiving a plurality of data processes,
The transfer for the plurality of data processes is performed so that the total transfer rate per unit time assigned to each of the plurality of data processes received by the data receiving unit does not exceed the maximum transfer rate that the recording medium can process per unit time. A transfer rate control unit for controlling the rate assignment;
A data processing device, comprising: a data processing execution unit that simultaneously executes a plurality of data processes on the recording medium according to a transfer rate assigned by the transfer rate control unit.
前記転送レート制御部は、ダビング再生時の転送レートとダビング記録時の転送レートとを同じ値に制限することを特徴とする、請求項2に記載のデータ処理装置。 When the data processing for limiting the transfer rate is a dubbing processing executed by recording data reproduced from the recording medium on the recording medium again,
3. The data processing apparatus according to claim 2, wherein the transfer rate control unit limits a transfer rate during dubbing reproduction and a transfer rate during dubbing recording to the same value.
前記転送レート制御部は、ダビング再生時の転送レートとダビング記録時の転送レートとを異なる値に制限することを特徴とする、請求項2に記載のデータ処理装置。 When the data processing for limiting the transfer rate is a dubbing processing executed by recording data reproduced from the recording medium on the recording medium again,
3. The data processing apparatus according to claim 2, wherein the transfer rate control unit limits the transfer rate during dubbing reproduction and the transfer rate during dubbing recording to different values.
前記デコーダ部で変換されたアナログデータを、前記第1の転送レートと異なる第2の転送レートでデジタルデータに変換して前記データ処理実行部に再入力するエンコーダ部とをさらに備える、請求項4に記載のデータ処理装置。 A decoder for converting digital data reproduced from the recording medium by the data processing execution unit into analog data at a reproduced first transfer rate;
5. The encoder according to claim 4, further comprising: an encoder that converts the analog data converted by the decoder into digital data at a second transfer rate different from the first transfer rate and re-inputs the data to the data processing execution unit. A data processing device according to claim 1.
データ処理を受け付ける受付ステップと、
前記受付ステップで受け付けた複数のデータ処理のそれぞれに要求される単位時間当たりの転送レートの合計を算出する算出ステップと、
前記算出ステップで算出された合計の転送レートが、前記記録媒体が単位時間当たりに処理できる最大転送レートを超えないように、複数のデータ処理に対する転送レートの割り当てを制御する制御ステップと、
前記制御ステップで割り当てられた転送レートに従って、前記記録媒体に対する複数のデータ処理を同時に実行する実行ステップとを備える、データ処理方法。 A data processing method for performing a recording process of digital data on a recording medium and / or a reproduction process of the recording medium,
A receiving step for receiving data processing;
A calculating step of calculating a total transfer rate per unit time required for each of the plurality of data processes received in the receiving step,
A control step of controlling the assignment of transfer rates to a plurality of data processes so that the total transfer rate calculated in the calculating step does not exceed the maximum transfer rate that the recording medium can process per unit time,
An execution step of simultaneously executing a plurality of data processes on the recording medium in accordance with the transfer rate assigned in the control step.
データ処理を受け付ける受付ステップと、
前記受付ステップで受け付けた複数のデータ処理のそれぞれに要求される単位時間当たりの転送レートの合計を算出する算出ステップと、
前記算出ステップで算出された合計の転送レートが、前記記録媒体が単位時間当たりに処理できる最大転送レートを超えないように、複数のデータ処理に対する転送レートの割り当てを制御する制御ステップと、
前記制御ステップで割り当てられた転送レートに従って、前記記録媒体に対する複数のデータ処理を同時に実行する実行ステップとを含む、プログラム。 A computer-readable program for causing a computer to execute a data processing method of performing a recording process of digital data on a recording medium and / or a reproduction process of the recording medium,
A receiving step for receiving data processing;
A calculating step of calculating a total transfer rate per unit time required for each of the plurality of data processes received in the receiving step,
A control step of controlling the assignment of transfer rates to a plurality of data processes so that the total transfer rate calculated in the calculating step does not exceed the maximum transfer rate that the recording medium can process per unit time,
An execution step of simultaneously executing a plurality of data processes on the recording medium in accordance with the transfer rate assigned in the control step.
データ処理を受け付ける受付ステップと、
前記受付ステップで受け付けた複数のデータ処理のそれぞれに要求される単位時間当たりの転送レートの合計を算出する算出ステップと、
前記算出ステップで算出された合計の転送レートが、前記記録媒体が単位時間当たりに処理できる最大転送レートを超えないように、複数のデータ処理に対する転送レートの割り当てを制御する制御ステップと、
前記制御ステップで割り当てられた転送レートに従って、前記記録媒体に対する複数のデータ処理を同時に実行する実行ステップとを含むプログラムを記録した、記録媒体。
A recording medium recording a computer-readable program for causing a computer to execute a data processing method of performing a recording process of digital data on a recording medium and / or a reproduction process of the recording medium,
A receiving step for receiving data processing;
A calculating step of calculating a total transfer rate per unit time required for each of the plurality of data processes received in the receiving step,
A control step of controlling the assignment of transfer rates to a plurality of data processes so that the total transfer rate calculated in the calculating step does not exceed the maximum transfer rate that the recording medium can process per unit time,
An execution step of simultaneously executing a plurality of data processes on the recording medium according to the transfer rate assigned in the control step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004134484A JP2004355792A (en) | 2003-05-08 | 2004-04-28 | Data processing device, data processing method, program, and program recording medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003130106 | 2003-05-08 | ||
JP2004134484A JP2004355792A (en) | 2003-05-08 | 2004-04-28 | Data processing device, data processing method, program, and program recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004355792A true JP2004355792A (en) | 2004-12-16 |
Family
ID=34067031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004134484A Pending JP2004355792A (en) | 2003-05-08 | 2004-04-28 | Data processing device, data processing method, program, and program recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004355792A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007274045A (en) * | 2006-03-30 | 2007-10-18 | Nec Personal Products Co Ltd | Information processor, and its control method |
US7957247B2 (en) | 2006-09-11 | 2011-06-07 | Sony Corporation | Apparatus and method for processing information and program therefor |
JP5180077B2 (en) * | 2006-08-11 | 2013-04-10 | パナソニック株式会社 | Recording / playback device for delay countermeasures and power saving control of multiple drive devices |
-
2004
- 2004-04-28 JP JP2004134484A patent/JP2004355792A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007274045A (en) * | 2006-03-30 | 2007-10-18 | Nec Personal Products Co Ltd | Information processor, and its control method |
JP5180077B2 (en) * | 2006-08-11 | 2013-04-10 | パナソニック株式会社 | Recording / playback device for delay countermeasures and power saving control of multiple drive devices |
US7957247B2 (en) | 2006-09-11 | 2011-06-07 | Sony Corporation | Apparatus and method for processing information and program therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI381272B (en) | Flash memory apparatus and access method to flash memory | |
JP5235541B2 (en) | Recording apparatus and method | |
JP2007249938A (en) | Usb host system, av data reproducing device and av data recording device | |
WO2005106661A1 (en) | Data processing program and data processing device | |
US7861012B2 (en) | Data transmitting device and data transmitting method | |
JP2004334459A (en) | Recording and reproduction device, method, and program | |
US20040225863A1 (en) | Data processor, data processing method, program for data processor, and program recording medium | |
JP2008135135A (en) | Data management method and table creation method, data management device, data management program and digital sound equipment | |
JP2008299971A (en) | Recorder and recording method | |
JP2006244653A (en) | Device and method for recording stream data | |
JP2004355792A (en) | Data processing device, data processing method, program, and program recording medium | |
JP2011145957A (en) | Data recording apparatus and control method thereof | |
EP1684288A1 (en) | Information recorder, information recording method, and recording medium containing program | |
JP2011159239A (en) | Recording device and control method of the same | |
JP5178355B2 (en) | Recording device | |
JP4719239B2 (en) | Video server and file management method | |
JP4534940B2 (en) | Information recording apparatus, imaging apparatus, information recording control method, and computer program | |
JP3997640B2 (en) | Information recording / reproducing device | |
JP2009075774A (en) | Video/audio recording and playback device | |
JP2007115357A (en) | Device and method for recording data | |
JP5037814B2 (en) | Memory control device and memory control method | |
JP2007072839A (en) | Recording control device and method, and program | |
US20050022233A1 (en) | Method and apparatus for storing/reproducing data in multimedia system | |
JP4023332B2 (en) | Recording / playback device | |
JP2005309698A (en) | Ring buffer control method, ring buffer device, and data recording/reproducing device |