JP2008217634A - Information processor, information processing method and computer program - Google Patents

Information processor, information processing method and computer program Download PDF

Info

Publication number
JP2008217634A
JP2008217634A JP2007056668A JP2007056668A JP2008217634A JP 2008217634 A JP2008217634 A JP 2008217634A JP 2007056668 A JP2007056668 A JP 2007056668A JP 2007056668 A JP2007056668 A JP 2007056668A JP 2008217634 A JP2008217634 A JP 2008217634A
Authority
JP
Japan
Prior art keywords
medium
hdd
information processing
recording
media
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
Application number
JP2007056668A
Other languages
Japanese (ja)
Inventor
Ryogo Ito
亮吾 伊藤
Hiroshi Shimono
浩 下野
Junichi Yokota
淳一 横田
Hirobumi Todo
博文 藤堂
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2007056668A priority Critical patent/JP2008217634A/en
Publication of JP2008217634A publication Critical patent/JP2008217634A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a combination configuration of HDD and another medium, capable of surely preventing head damage of HDD or loss of data by high-level falling detection control. <P>SOLUTION: In the configuration adapted to perform data recording and reproduction selectively to a first medium HDD or a second medium other than HDD, a flag for identifying whether a just-before access destination is HDD or not is recorded, and validation and invalidation of falling detection control is performed according to the flag and the type of a medium to be used. In accessing to the medium other than HDD, the falling detection control is invalidated after retreating the head of HDD, and when preceding processing is recording processing to HDD, the falling detection control is invalidated after completion of sweeping processing of an internal cache in the HDD and head retreating. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、情報処理装置、および情報処理方法、並びにコンピュータ・プログラムに関する。さらに詳細には、例えばカメラやPC、あるいはビデオレコーダなど、メディア(情報記録媒体)を利用したデータ記録や再生を行なう機器において、ハードディスクとDVDなど、複数の異なるメディアを利用する情報処理装置、および情報処理方法、並びにコンピュータ・プログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a computer program. More specifically, an information processing apparatus that uses a plurality of different media such as a hard disk and a DVD in a device that performs data recording and reproduction using a medium (information recording medium) such as a camera, a PC, or a video recorder, and The present invention relates to an information processing method and a computer program.

近年、カメラやPC、あるいはビデオレコーダなど、メディア(情報記録媒体)を利用したデータ記録や再生を行なう機器において、ハードディスクとDVDなど、複数の異なるメディアを利用可能とした機器がある。またHDD(ハードディスクドライブ)の小型に伴い、デジタルカメラやデジタルビデオカメラ等の撮像装置や携帯情報機器にも記録メディアとしてHDDが採用されている。しかし、HDDには機械的衝撃に弱いという問題点があり、データの書き込み処理や読み出し処理の実行中、ヘッドがディスク上にある状態で、装置の落下などによって大きな衝撃を与えると、ヘッドの破壊によりHDDの使用が不可能となる場合がある。   In recent years, there are devices that can use a plurality of different media such as hard disks and DVDs in devices that perform data recording and reproduction using media (information recording media) such as cameras, PCs, and video recorders. Further, along with the miniaturization of HDDs (hard disk drives), HDDs have been adopted as recording media in imaging devices such as digital cameras and digital video cameras and portable information devices. However, HDDs have a problem that they are vulnerable to mechanical shocks. If data is written or read while the head is on the disk and a large impact is applied by dropping the device, the head will be destroyed. In some cases, the use of the HDD becomes impossible.

このような落下によるHDD破壊を防止するため、HDD搭載機器に加速度センサを装着して、センサによる落下検出を行い、機器が落下開始した直後、床面などに衝突して衝撃が発生する以前に、HDDの電源を強制的に遮断してHDDのヘッドをディスク上から退避させて破壊を防止するという対策がとられているものがある。   In order to prevent such destruction of the HDD due to the fall, an acceleration sensor is attached to the HDD-equipped device, the fall is detected by the sensor, and immediately after the device starts dropping, before the impact occurs due to a collision with the floor surface, etc. Some measures are taken to prevent the destruction by forcibly shutting off the power of the HDD and retracting the HDD head from the disk.

このようなヘッド退避処理を行なうことで、ヘッドの破壊は防止され、HDDが使用不能になることは避けることができる。データの読み出し中にヘッドの退避を行った場合は、機器が安定した状態に復帰した後、再度、HDDに記録された情報を読み直すことが可能であり、情報の欠落等の問題は生じない。このような加速度センサを適用した退避構成については例えば特許文献1(特開2005−182773号公報)に記載されている。   By performing such a head retracting process, destruction of the head is prevented, and it is possible to prevent the HDD from becoming unusable. If the head is retracted during data reading, the information recorded in the HDD can be read again after the device returns to a stable state, and there is no problem such as missing information. A retracting configuration to which such an acceleration sensor is applied is described in, for example, Patent Document 1 (Japanese Patent Laid-Open No. 2005-182773).

しかし、このようなHDDの電源遮断によるヘッド退避処理は、ハードディスクのみをメディアとして装着している機器では有効であるが、ハードディスクとDVDなど複数の記録メディアを選択的に利用可能な機器では問題がある。ハードディスクとDVDなど、複数の異なるメディアを利用可能とした機器では、多くの場合、情報機器とハードディスクなどのメディアとの接続方式として規定されるIDEの規格であるATA/ATAPI規格を採用している。この規格の利用により、同一バス上に2つのデバイスを接続することが可能となる。例えば、デバイス0=HDD、デバイス1=DVDといった設定である。   However, such a head retracting process by turning off the HDD power is effective for a device in which only a hard disk is mounted as a medium, but there is a problem in a device that can selectively use a plurality of recording media such as a hard disk and a DVD. is there. Devices that can use a plurality of different media, such as a hard disk and a DVD, often employ the ATA / ATAPI standard, which is an IDE standard defined as a connection method between information devices and a medium such as a hard disk. . By using this standard, it is possible to connect two devices on the same bus. For example, the setting is device 0 = HDD and device 1 = DVD.

しかし、ATA/ATAPI規格では、ホストとホスト接続デバイス(例えばHDDなどの記録メディアなど)との接続タイミングについての制限が設けられている。例えば、電源ON後の接続デバイス数の変化をもたらす処理を禁止している。具体的には1本のバスに複数のデバイスを接続する構成において、バスの接続を有効化するタイミングで一部の接続デバイスの電源がONで、その後に電源OFFのデバイスがバス接続された後、電源ONに移行するといった処理を許容していない。   However, in the ATA / ATAPI standard, there is a restriction on the connection timing between a host and a host connection device (for example, a recording medium such as an HDD). For example, processing that causes a change in the number of connected devices after the power is turned on is prohibited. Specifically, in a configuration in which a plurality of devices are connected to one bus, the power of some of the connected devices is turned on at the timing when the bus connection is validated, and then the devices that are turned off are connected to the bus. , Processing such as switching to power ON is not allowed.

従ってATA/ATAPI規格に従うと、1本のバスにDVDとHDDが接続された構成で上述した落下検出によるHDDの電源を強制的に遮断する処理を行なうことができないという問題がある。すなわち、DVDの電源は落下検出の有無に関わらずON状態であるが、HDDの電源は落下検出によってOFFとなり、また復帰時にONにされる処理が行われ、ATA/ATAPI規格で禁止している電源ON後の接続デバイス数の変化が発生し、規格に触れることになり上述のHDDの安全対策が利用できなくなるという問題がある。
特開2005−182773号公報
Therefore, according to the ATA / ATAPI standard, there is a problem that the process of forcibly shutting down the power supply of the HDD by the drop detection described above cannot be performed in a configuration in which the DVD and the HDD are connected to one bus. That is, the DVD power supply is in an ON state regardless of whether or not a drop is detected, but the HDD power supply is turned OFF by the drop detection, and a process of turning ON at the time of return is performed, which is prohibited by the ATA / ATAPI standard. There is a problem in that the number of connected devices changes after the power is turned on, and the above-mentioned HDD safety measures cannot be used because the standard is touched.
JP 2005-182773 A

本発明は、上述した状況に鑑みてなされたものであり、HDDとDVDなどの異なる記録メディアを供え、これらのメディアを選択的に利用可能とした情報処理装置においてもHDDのみが接続された機器と同様の落下検出によるHDDの電源遮断による保護機構を有効に利用可能とした情報処理装置、および情報処理方法、並びにコンピュータ・プログラムを提供することを目的とする。   The present invention has been made in view of the above-described situation, and an apparatus in which only an HDD is connected even in an information processing apparatus that provides different recording media such as an HDD and a DVD and selectively uses these media. It is an object of the present invention to provide an information processing apparatus, an information processing method, and a computer program that can effectively use a protection mechanism by shutting down the power supply of the HDD based on the fall detection similar to the above.

本発明の第1の側面は、
HDD(ハードディスクドライブ)によって構成される第1メディアと、
HDD以外の第2メディアと、
前記第1メディアまたは第2メディアを利用したデータ記録または再生処理を実行する制御手段を有し、
前記制御手段は、
前記第1メディアまたは第2メディアを利用した記録または再生処理を実行した際に、いずれのメディアを利用したかを示す利用メディア識別フラグをメモリに記録する処理を実行し、
新たに前記第1メディアまたは第2メディアを利用した記録または再生処理を実行する際に、前記利用メディア識別フラグを読み取り、読み取った利用メディア識別フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行う構成であることを特徴とする情報処理装置にある。
The first aspect of the present invention is:
A first medium constituted by an HDD (Hard Disk Drive);
A second medium other than the HDD;
Control means for executing data recording or reproduction processing using the first medium or the second medium;
The control means includes
When recording or playback processing using the first media or the second media is executed, a processing is performed for recording a used media identification flag indicating which media is used in a memory;
When newly executing the recording or reproduction process using the first medium or the second medium, the used medium identification flag is read, and information is read according to the read used medium identification flag and the type of medium scheduled to be used. An information processing apparatus is configured to perform control for switching whether or not to perform drop detection control for performing a head retracting process of a hard disk based on a drop detection of the processing apparatus.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、利用予定のメディアが、第1メディア(HDD)である場合には、落下検出制御を行う設定とする制御を行う構成であることを特徴とする。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control means is configured to perform control for setting to perform drop detection control when the medium to be used is the first medium (HDD). It is characterized by being.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、利用予定のメディアが、第2メディア(HDD以外)である場合には、落下検出制御を行わない設定とする制御を行う構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the control means performs control to set the drop detection control not to be performed when the medium to be used is the second medium (other than the HDD). It is the structure.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、利用予定のメディアが、第1メディア(HDD)であり、前記利用メディア識別フラグが、第2メディア(HDD以外)を利用したことを示している場合、落下検出制御を行う設定に変更する処理を実行する構成であることを特徴とする。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control means uses the first medium (HDD) as the medium scheduled to be used, and uses the second medium (other than the HDD) as the use medium identification flag. In the case where it has been shown, the configuration is such that the process of changing to the setting for performing drop detection control is executed.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、利用予定のメディアが、第2メディア(HDD以外)であり、前記利用メディア識別フラグが、第1メディア(HDD)を利用したことを示している場合、第1メディア(HDD)のヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the control means uses the second medium (other than the HDD) as the medium scheduled to be used, and uses the first medium (HDD) as the used medium identification flag. In the case where this is shown, the configuration is such that the head retracting process of the first medium (HDD) is executed, and the process of changing the setting to not performing the drop detection control is executed.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、利用予定のメディアが、第2メディア(HDD以外)であり、前記利用メディア識別フラグが、第1メディア(HDD)を利用した記録処理を実行したことを示している場合、第1メディア(HDD)内の内部キャッシュの掃き出し処理を行い、ヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行する構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, the control means uses the second medium (other than the HDD) as the medium scheduled to be used, and uses the first medium (HDD) as the used medium identification flag. Indicates that the recording process has been executed, the internal cache in the first medium (HDD) is swept out, the head retracting process is executed, and the process for changing to the setting for not performing the drop detection control is executed. It is the structure which carries out.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、前記第1メディアまたは第2メディアを利用した記録処理を実行した際に、いずれのメディアを利用した記録処理を実行したかを示す記録先フラグをメモリに記録し、前記第1メディアまたは第2メディアを利用した再生処理を実行した際に、いずれのメディアを利用した再生処理を実行したかを示す再生元フラグをメモリに記録する処理を実行する構成であり、新たに前記第1メディアまたは第2メディアを利用した記録処理を実行する際には、前記記録先フラグを読み取り、読み取った記録先フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行い、新たに前記第1メディアまたは第2メディアを利用した再生処理を実行する際には、前記再生元フラグを読み取り、読み取った再生元フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行う構成であることを特徴とする。   Furthermore, in an embodiment of the information processing apparatus of the present invention, when the control means executes a recording process using the first medium or the second medium, which medium is used for the recording process? Is recorded in the memory, and when a reproduction process using the first medium or the second medium is executed, a reproduction source flag indicating which medium is used for the reproduction process is stored in the memory. When the recording process using the first medium or the second medium is newly executed, the recording destination flag is read, and the read recording destination flag and the medium to be used are recorded. Control to switch whether or not to perform drop detection control that performs hard disk head retraction processing based on the fall detection of the information processing device, depending on the type of When a playback process using the first medium or the second medium is newly performed, the playback source flag is read, and information processing is performed according to the read source flag and the type of the medium scheduled to be used. The present invention is characterized in that it is configured to perform control for switching whether or not to perform fall detection control for performing head retracting processing of a hard disk based on device fall detection.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、前記落下検出制御の実行中に、落下検出情報を入力した場合、前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを切断し、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なう構成であることを特徴とする。   Furthermore, in one embodiment of the information processing apparatus of the present invention, when the drop detection information is input during execution of the drop detection control, the control means is configured to input the first medium (HDD) and the second medium (other than the HDD). ) Is disconnected, and processing for turning off the power of the first medium (HDD) and the second medium (other than the HDD) is performed.

さらに、本発明の情報処理装置の一実施態様において、前記制御手段は、前記落下検出制御の実行中に、落下検出情報を入力し、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なった後の復帰処理において、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオンとする処理を実行した後、前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを接続する処理を実行する構成であることを特徴とする。   Furthermore, in one embodiment of the information processing apparatus of the present invention, the control means inputs fall detection information during the execution of the fall detection control, and the first medium (HDD) and the second medium (other than the HDD). In the restoration process after the process of turning off the power of the first medium (HDD), after the process of turning on the power of the first medium (HDD) and the second medium (other than the HDD) is executed, the first medium (HDD) And a configuration for executing a process of connecting a bus for connecting a second medium (other than the HDD).

さらに、本発明の第2の側面は、
HDD(ハードディスクドライブ)によって構成される第1メディアと、HDD以外の第2メディアとを選択的に利用してデータ記録または再生処理を実行する情報処理装置において実行する情報処理方法であり、
制御手段が、前記第1メディアまたは第2メディアを利用した記録または再生処理を実行した際に、いずれのメディアを利用したかを示す利用メディア識別フラグをメモリに記録するフラグ記録ステップと、
前期制御手段が、新たに前記第1メディアまたは第2メディアを利用した記録または再生処理を実行する際に、前記利用メディア識別フラグを読み取り、読み取った利用メディア識別フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行う落下検出制御設定ステップと、
を実行することを特徴とする情報処理方法にある。
Furthermore, the second aspect of the present invention provides
An information processing method executed in an information processing apparatus that performs data recording or reproduction processing by selectively using a first medium constituted by an HDD (hard disk drive) and a second medium other than the HDD,
A flag recording step of recording, in a memory, a used media identification flag indicating which media is used when the control means executes a recording or playback process using the first media or the second media;
When the previous period control means newly executes recording or playback processing using the first medium or the second medium, the used medium identification flag is read, and the read used medium identification flag and the type of medium to be used are read. A drop detection control setting step for performing control to switch whether or not to perform drop detection control for performing head retraction processing of the hard disk based on the drop detection of the information processing device,
There is an information processing method characterized by executing.

さらに、本発明の情報処理方法の一実施態様において、前記落下検出制御設定ステップは、利用予定のメディアが、第1メディア(HDD)である場合には、落下検出制御を行う設定とする制御を行うステップであることを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, the drop detection control setting step includes a control for setting the drop detection control when the medium to be used is a first medium (HDD). It is a step to perform.

さらに、本発明の情報処理方法の一実施態様において、前記落下検出制御設定ステップは、利用予定のメディアが、第2メディア(HDD以外)である場合には、落下検出制御を行わない設定とする制御を行うステップであることを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, the drop detection control setting step is set so that the drop detection control is not performed when the medium to be used is the second medium (other than the HDD). It is a step for performing control.

さらに、本発明の情報処理方法の一実施態様において、前記落下検出制御設定ステップは、利用予定のメディアが、第1メディア(HDD)であり、前記利用メディア識別フラグが、第2メディア(HDD以外)を利用したことを示している場合、落下検出制御を行う設定に変更する処理を実行するステップであることを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, in the drop detection control setting step, the medium to be used is a first medium (HDD), and the use medium identification flag is a second medium (other than HDD). ) Is used, it is a step of executing a process of changing to a setting for performing drop detection control.

さらに、本発明の情報処理方法の一実施態様において、前記情報処理方法において、さらに、前記制御部は、利用予定のメディアが、第2メディア(HDD以外)であり、前記利用メディア識別フラグが、第1メディア(HDD)を利用したことを示している場合、第1メディア(HDD)のヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行することを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, in the information processing method, the control unit further includes a medium to be used as a second medium (other than the HDD), and the use medium identification flag is In the case where it is indicated that the first medium (HDD) is used, the head retracting process of the first medium (HDD) is executed, and the process of changing the setting to not perform the drop detection control is executed. .

さらに、本発明の情報処理方法の一実施態様において、前記情報処理方法において、さらに、前記制御部は、利用予定のメディアが、第2メディア(HDD以外)であり、前記利用メディア識別フラグが、第1メディア(HDD)を利用した記録処理を実行したことを示している場合、第1メディア(HDD)内の内部キャッシュの掃き出し処理を行い、ヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行することを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, in the information processing method, the control unit further includes a medium to be used as a second medium (other than the HDD), and the use medium identification flag is When it indicates that the recording process using the first medium (HDD) is executed, the internal cache in the first medium (HDD) is swept out, the head retracting process is executed, and the drop detection control is performed. It is characterized by executing a process of changing to a non-setting.

さらに、本発明の情報処理方法の一実施態様において、前記フラグ記録ステップは、前記第1メディアまたは第2メディアを利用した記録処理を実行した際に、いずれのメディアを利用した記録処理を実行したかを示す記録先フラグをメモリに記録し、前記第1メディアまたは第2メディアを利用した再生処理を実行した際に、いずれのメディアを利用した再生処理を実行したかを示す再生元フラグをメモリに記録する処理を実行するステップであり、前記落下検出制御設定ステップは、新たに前記第1メディアまたは第2メディアを利用した記録処理を実行する際には、前記記録先フラグを読み取り、読み取った記録先フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行い、新たに前記第1メディアまたは第2メディアを利用した再生処理を実行する際には、前記再生元フラグを読み取り、読み取った再生元フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行うステップであることを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, the flag recording step executes a recording process using any medium when the recording process using the first medium or the second medium is performed. Is recorded in the memory, and when the reproduction process using the first medium or the second medium is executed, the reproduction source flag indicating which medium is used for the reproduction process is stored in the memory. The fall detection control setting step reads and reads the recording destination flag when newly executing the recording process using the first medium or the second medium. Depending on the recording destination flag and the type of media to be used, hard disk head evacuation processing based on the fall detection of the information processing device is performed. When performing a control to switch whether or not to perform fall detection control and newly executing a playback process using the first medium or the second medium, the playback source flag is read, and the read source flag and The step of performing control for switching whether or not to perform drop detection control for performing head retraction processing of the hard disk based on the drop detection of the information processing device according to the type of media scheduled to be used.

さらに、本発明の情報処理方法の一実施態様において、前記情報処理方法において、さらに、前記制御手段は、前記落下検出制御の実行中に、落下検出情報を入力した場合、前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを切断し、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なうことを特徴とする。   Furthermore, in an embodiment of the information processing method of the present invention, in the information processing method, when the control means inputs fall detection information during execution of the fall detection control, the first medium (HDD) ) And the second medium (other than the HDD) are disconnected, and the first medium (HDD) and the second medium (other than the HDD) are turned off.

さらに、本発明の情報処理方法の一実施態様において、前記情報処理方法において、さらに、前記制御手段は、前記落下検出制御の実行中に、落下検出情報を入力し、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なった後の復帰処理において、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオンとする処理を実行した後、前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを接続する処理を実行することを特徴とする。   Furthermore, in one embodiment of the information processing method of the present invention, in the information processing method, the control means further inputs fall detection information during execution of the fall detection control, and the first medium (HDD). In the return process after the process of turning off the power of the second medium (other than the HDD), the process of turning on the power of the first medium (HDD) and the second medium (other than the HDD) is executed. A process of connecting a bus for connecting the first medium (HDD) and the second medium (other than the HDD) is executed.

さらに、本発明の第3の側面は、
HDD(ハードディスクドライブ)によって構成される第1メディアと、HDD以外の第2メディアとを選択的に利用してデータ記録または再生処理を実行する情報処理装置において情報処理を実行させるコンピュータ・プログラムであり、
制御手段に、前記第1メディアまたは第2メディアを利用した記録または再生処理を実行した際に、いずれのメディアを利用したかを示す利用メディア識別フラグをメモリに記録させるフラグ記録ステップと、
前期制御手段に、新たに前記第1メディアまたは第2メディアを利用した記録または再生処理を実行する際に、前記利用メディア識別フラグを読み取り、読み取った利用メディア識別フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行わせる落下検出制御設定ステップと、
を実行させることを特徴とするコンピュータ・プログラムにある。
Furthermore, the third aspect of the present invention provides
A computer program that executes information processing in an information processing apparatus that performs data recording or reproduction processing by selectively using a first medium constituted by an HDD (hard disk drive) and a second medium other than the HDD. ,
A flag recording step for causing the control means to record a used medium identification flag indicating which medium is used in a memory when the recording or reproducing process using the first medium or the second medium is executed;
When the first-time control means newly performs recording or playback processing using the first medium or the second medium, the used medium identification flag is read, and the read used medium identification flag and the type of medium to be used are read. A drop detection control setting step for performing a control to switch whether or not to perform a drop detection control for performing a head retraction process of the hard disk based on a drop detection of the information processing device,
In a computer program characterized by causing

なお、本発明のコンピュータ・プログラムは、例えば、様々なプログラム・コードを実行可能な汎用コンピュータ・システムに対して、コンピュータ可読な形式で提供する記憶媒体、通信媒体によって提供可能なコンピュータ・プログラムである。このようなプログラムをコンピュータ可読な形式で提供することにより、コンピュータ・システム上でプログラムに応じた処理が実現される。   The computer program of the present invention is, for example, a computer program that can be provided by a storage medium or a communication medium provided in a computer-readable format to a general-purpose computer system that can execute various program codes. . By providing such a program in a computer-readable format, processing corresponding to the program is realized on the computer system.

本発明のさらに他の目的、特徴や利点は、後述する本発明の実施例や添付する図面に基づくより詳細な説明によって明らかになるであろう。なお、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Other objects, features, and advantages of the present invention will become apparent from a more detailed description based on embodiments of the present invention described later and the accompanying drawings. In this specification, the system is a logical set configuration of a plurality of devices, and is not limited to one in which the devices of each configuration are in the same casing.

本発明の一実施例の構成によれば、HDD(ハードディスクドライブ)によって構成される第1メディアと、HDD以外の第2メディアとを選択的に利用してデータ記録再生を行なう構成において、「直前のアクセス先が第1メディア(HDD)であったか第2メディア(HDD以外)であったか」を識別する利用メディア識別フラグを記録し、このフラグと利用予定メディアの種類に応じてHDDのヘッド退避を行なう落下検出制御の有効化または無効化を実行する。例えばHDD以外のメディア(DVDなど)へアクセスする際は、HDDのヘッドの退避を行った後に落下検出制御を無効化する。また、以前の処理がHDDに対するデータ記録処理であった場合は、HDD内部キャッシュの掃き出し処理を実行してヘッド退避を実行して落下検出制御を無効化する。また落下検出制御の実行時には、HDDとHDD以外のメディアの電源を双方ともオフとする処理を実行し、復帰時には双方ともオンとした後にバス接続を行なう。これらの処理を行なうことで、いかなる処理に際してもHDDの損傷やデータ消失は防止されることになる。   According to the configuration of one embodiment of the present invention, in a configuration in which data recording / reproduction is performed selectively using a first medium constituted by an HDD (hard disk drive) and a second medium other than the HDD, Is used to identify whether the access destination is the first medium (HDD) or the second medium (other than the HDD), and the head of the HDD is retracted according to the flag and the type of the medium to be used. Enable or disable fall detection control. For example, when accessing a medium (such as a DVD) other than the HDD, the drop detection control is invalidated after the HDD head is retracted. If the previous process is a data recording process for the HDD, the HDD internal cache sweep process is executed to execute head retraction and invalidate the drop detection control. Further, when the fall detection control is executed, processing for turning off both the HDD and the medium other than the HDD is executed, and when returning, both are turned on and then the bus connection is made. By performing these processes, the HDD can be prevented from being damaged or lost in any process.

以下、図面を参照しながら、本発明の情報処理装置、および情報処理方法、並びにコンピュータ・プログラムの詳細について説明する。   Details of the information processing apparatus, the information processing method, and the computer program of the present invention will be described below with reference to the drawings.

前述したように、ATA/ATAPI規格では、電源ON後の接続デバイス数の変化は禁止されているため、HDDのみを記録メディアとして装着した機器においてヘッドやハードディスクの保護機構として有効な落下検出に基づくヘッド退避処理が、DVDとHDDなど、HDDとHDD以外の記録メディアを併用する機器においては利用が困難になるという問題がある。まず、図1を参照してこの問題について説明する。   As described above, in the ATA / ATAPI standard, the change in the number of connected devices after the power is turned on is prohibited, and therefore, based on the fall detection effective as a head or hard disk protection mechanism in a device in which only the HDD is mounted as a recording medium. There is a problem that the head withdrawal process becomes difficult to use in a device that uses recording media other than HDD and HDD, such as DVD and HDD. First, this problem will be described with reference to FIG.

図1(a)は、記録メディアとしてハードディスクからなる第1メディア103を装着した情報処理装置を示している。このようなHDDのみの搭載装置では、落下検出に基づくヘッド退避処理を実行することで、HDD保護が可能となる。具体的な処理シーケンスについて説明する。   FIG. 1A shows an information processing apparatus equipped with a first medium 103 made of a hard disk as a recording medium. In such an HDD-only mounting apparatus, HDD protection is possible by executing a head withdrawal process based on drop detection. A specific processing sequence will be described.

落下検出時の処理は以下のシーケンスによって実行される。
(ステップ1)
まず、加速度センサ102によって、装置の落下が検出され、落下検出情報がホスト101に入力される。
(ステップ2)
ホスト101は、加速度センサ102からの落下検出情報に基づいて、第1メディア(HDD)103の接続バス113のバススイッチ111を制御して、接続バス113を切断する。
(ステップ3)
ホスト101は、電源スイッチ112を制御して第1メディア(HDD)103の電源a104をオフとする。
Processing at the time of drop detection is executed by the following sequence.
(Step 1)
First, the fall of the apparatus is detected by the acceleration sensor 102, and the fall detection information is input to the host 101.
(Step 2)
The host 101 controls the bus switch 111 of the connection bus 113 of the first medium (HDD) 103 based on the fall detection information from the acceleration sensor 102 to disconnect the connection bus 113.
(Step 3)
The host 101 controls the power switch 112 to turn off the power source a 104 of the first medium (HDD) 103.

なお、電源スイッチ112を制御して第1メディア(HDD)103の電源をオフとすることで、ハードディスクのヘッドは退避位置に移動され、ヘッドとディスクの接触が防止されることになる。   By controlling the power switch 112 to turn off the power of the first medium (HDD) 103, the head of the hard disk is moved to the retracted position, and contact between the head and the disk is prevented.

さらに、装置安定後の復帰時の処理は以下のシーケンスによって実行される。
(ステップ1)
まず、ホスト101は、加速度センサ102の出力によって、落下の停止を検出する。
(ステップ2)
ホスト101は、電源スイッチ112を制御して第1メディア(HDD)103の電源a104をオンとする。
(ステップ3)
ホスト101は、第1メディア(HDD)103の接続バス113のバススイッチ111を制御して、接続バス113を接続する。
Furthermore, the process at the time of return after the apparatus is stabilized is executed by the following sequence.
(Step 1)
First, the host 101 detects the stop of dropping based on the output of the acceleration sensor 102.
(Step 2)
The host 101 controls the power switch 112 to turn on the power source a 104 of the first medium (HDD) 103.
(Step 3)
The host 101 controls the bus switch 111 of the connection bus 113 of the first medium (HDD) 103 to connect the connection bus 113.

なお、このような落下検出時のハードディスクに対する電源強制遮断処理により、ヘッド退避が行なわれ、ヘッドやデータの破壊が防止され、HDDが使用不能になることは避けることができる。   It should be noted that, by such a forced power-off process for the hard disk when a drop is detected, the head is retracted, the head and data are prevented from being destroyed, and it is possible to prevent the HDD from becoming unusable.

しかし、前述したように、ATA/ATAPI規格では、ホストとホスト接続デバイス(例えばHDDなどの記録メディアなど)との接続タイミングについての制限が設けられている。例えば、電源ON後の接続デバイス数の変化をもたらす処理を禁止している。具体的には1本のバスに複数のデバイスを接続する構成において、バスの接続を有効化するタイミングで一部の接続デバイスの電源がONで、その後に電源OFFのデバイスがバス接続されて電源ONに移行するといった処理を許容していない。   However, as described above, the ATA / ATAPI standard places restrictions on the connection timing between a host and a host connection device (for example, a recording medium such as an HDD). For example, processing that causes a change in the number of connected devices after the power is turned on is prohibited. Specifically, in a configuration in which a plurality of devices are connected to a single bus, the power of some of the connected devices is turned on at the timing when the bus connection is validated, and then the devices that are turned off are connected to the power by the bus. Processing such as shifting to ON is not permitted.

この規格に従うと、図1(b)に示すように1本のバス113に第1メディア(HDD)153と第2メディア(DVD)155が接続された構成で、上述した落下検出による第1メディア(HDD)153の電源a154を強制的に遮断する処理を行なうことができないという問題がある。なお、図1(b)には第2メディアとしてDVDを示しているが、HDD以外のメディアであれば、DVD以外のメディアであっても同様である。   According to this standard, the first medium (HDD) 153 and the second medium (DVD) 155 are connected to one bus 113 as shown in FIG. There is a problem that it is impossible to forcibly shut off the power source a154 of the (HDD) 153. FIG. 1B shows a DVD as the second medium, but the same applies to media other than the DVD as long as the media is other than the HDD.

このようにHDDとHDD以外のメディアが接続された構成において、第2メディア(DVD)155の電源b156は落下検出の有無に関わらずON状態であるが、第1メディア(HDD)153の電源a154は落下検出によってOFFとなり、また復帰時にONにされる処理が行われ、ATA/ATAPI規格で禁止している電源ON後の接続デバイス数の変化が発生し、規格に触れることになり上述のHDDの安全対策が利用できなくなるという問題がある。   In such a configuration in which the HDD and the medium other than the HDD are connected, the power supply b156 of the second medium (DVD) 155 is in the ON state regardless of whether or not the drop is detected, but the power supply a154 of the first medium (HDD) 153. Is turned off when a drop is detected, and is turned on at the time of recovery. The number of connected devices after power-on, which is prohibited by the ATA / ATAPI standard, changes, and touches the standard. There is a problem that the safety measures of can not be used.

本発明の情報処理装置は、このような問題を解決し、HDDとDVDなどの異なる記録メディアを供え、これらのメディアを選択的に利用可能とした情報処理装置において、HDDの電源遮断による保護機構を有効に利用可能とするものである。   The information processing apparatus of the present invention solves such a problem, and provides a recording mechanism that provides different recording media such as an HDD and a DVD and selectively uses these media. Can be used effectively.

具体的には、本発明の情報処理装置では、「直前のアクセス先がHDDであったかDVDであったか」を識別するフラグを保持し、フラグを利用しながら、HDDへアクセスしている期間に限り落下検出制御を有効にし、HDD以外のメディア、例えばDVDへアクセスする際は、まずHDDへの未書き込みデータがある場合、それらをはき出した上で、HDDのヘッドを退避し、落下検出制御を無効化する。再びHDDへアクセスする際は、直前のアクセス先がHDD以外のメディア、例えばDVDであった場合、落下検出制御を再びONにした上で、HDDへのアクセスを行う。   Specifically, in the information processing apparatus of the present invention, a flag for identifying “whether the previous access destination was an HDD or a DVD” is held, and the information is dropped only during the period of accessing the HDD while using the flag. When detecting control is enabled and accessing media other than the HDD, for example, DVD, if there is unwritten data to the HDD first, it will be ejected and then the head of the HDD is withdrawn to disable the drop detection control To do. When accessing the HDD again, if the previous access destination is a medium other than the HDD, for example, a DVD, the HDD is accessed after the fall detection control is turned on again.

また、HDDアクセス中に落下が検出された場合は、HDDおよびHDD以外のメディア、例えばDVD双方の電源を遮断する。そして落下から復帰する際は、HDDおよびHDD以外のメディア、例えばDVD双方の電源を投入する。   If a fall is detected during HDD access, the power to both the HDD and the medium other than the HDD, such as a DVD, is shut off. When returning from the fall, both the HDD and media other than the HDD, such as a DVD, are turned on.

なお、以下の実施例では、第1メディアとしてHDD、HDDと異なる第2メディアとしてDVDを利用した場合の処理例について説明する。なお、本発明はHDDとHDD以外の様々なメディアの組み合わせ構成において適用可能である。   In the following embodiment, an example of processing when an HDD is used as the first medium and a DVD is used as the second medium different from the HDD will be described. Note that the present invention can be applied to a combination of various media other than the HDD and the HDD.

図2に本発明の情報処理装置の構成例を示す。本発明の情報処理装置200は、記録メディアとしてハードディスクからなる第1メディア(HDD)203と、ハードディスク以外の第2メディア(DVD)213を装着している。第1メディア(HDD)203には電源a204から電力が供給され、第2メディア(DVD)205には電源b206から電力が供給される。これら複数のメディアは、1本のバス213に並列に接続されており、バス213によってホスト201に接続されている。   FIG. 2 shows a configuration example of the information processing apparatus of the present invention. The information processing apparatus 200 of the present invention is equipped with a first medium (HDD) 203 composed of a hard disk as a recording medium and a second medium (DVD) 213 other than the hard disk. The first medium (HDD) 203 is supplied with power from the power source a 204, and the second medium (DVD) 205 is supplied with power from the power source b 206. The plurality of media are connected in parallel to one bus 213 and are connected to the host 201 by the bus 213.

加速度センサ202は、情報処理装置200の落下状態の有無を検出し検出情報をホスト201に出力する。ホスト201は、加速度センサ202からの入力情報に応じて、バススイッチ211の開閉によりバス213の接続制御を行い、また、それぞれのメディアに接続された電源204,206からの電力供給のオンオフを実行する電源スイッチ212,213の開閉により、各メディアに対応する電源のオンオフ制御を実行する。   The acceleration sensor 202 detects whether the information processing apparatus 200 is in a falling state and outputs detection information to the host 201. The host 201 controls connection of the bus 213 by opening and closing the bus switch 211 in accordance with input information from the acceleration sensor 202, and executes on / off of power supply from the power sources 204 and 206 connected to the respective media. The power on / off control corresponding to each medium is executed by opening and closing the power switches 212 and 213.

本発明の情報処理装置では、前述したように、「直前のアクセス先がHDDであったかDVDであったか」を識別するフラグを保持し、フラグを利用しながら、HDDへアクセスしている期間に限り落下検出制御を有効にし、HDD以外のメディア、例えばDVDへアクセスする際は、まずHDDへの未書き込みデータがある場合、それらをはき出した上で、HDDのヘッドを退避し、落下検出制御を無効化する。再びHDDへアクセスする際は、直前のアクセス先がHDD以外のメディア、例えばDVDであった場合、落下検出制御を再びONにした上で、HDDへのアクセスを行う。   As described above, the information processing apparatus of the present invention holds a flag for identifying “whether the previous access destination was an HDD or a DVD”, and dropped only during the period of accessing the HDD while using the flag. When detecting control is enabled and accessing media other than the HDD, for example, DVD, if there is unwritten data to the HDD first, it will be ejected and then the head of the HDD is withdrawn to disable the drop detection control To do. When accessing the HDD again, if the previous access destination is a medium other than the HDD, for example, a DVD, the HDD is accessed after the fall detection control is turned on again.

落下検出制御が有効である場合には、
(a)落下検出時処理
(b)復帰処理
これらの処理がホスト201の制御の下、実行される。
以下、(a)落下検出時処理、および(b)復帰処理のシーケンスについて説明する。
If drop detection control is enabled,
(A) Processing at the time of drop detection (b) Return processing These processing is executed under the control of the host 201.
Hereinafter, the sequence of (a) processing at the time of drop detection and (b) return processing will be described.

(a)落下検出時処理
落下検出時処理は以下のシーケンスによって実行される。
(ステップ1)
まず、加速度センサ202によって、装置の落下が検出され、落下検出情報がホスト201に入力される。
(ステップ2)
ホスト201は、加速度センサ202からの落下検出情報に基づいて、バス214のバススイッチ211を制御して、接続バス214を切断する。
(ステップ3)
ホスト201は、電源スイッチ212,213を制御して第1メディア(HDD)203の電源a204と、第2メディア(DVD)205の電源b206をオフとする。
(A) Processing at the time of drop detection The processing at the time of drop detection is executed by the following sequence.
(Step 1)
First, the fall of the apparatus is detected by the acceleration sensor 202, and the fall detection information is input to the host 201.
(Step 2)
The host 201 controls the bus switch 211 of the bus 214 based on the fall detection information from the acceleration sensor 202 to disconnect the connection bus 214.
(Step 3)
The host 201 controls the power switches 212 and 213 to turn off the power supply a204 of the first medium (HDD) 203 and the power supply b206 of the second medium (DVD) 205.

なお、電源スイッチ212を制御して第1メディア(HDD)203の電源a204をオフとすることで、ハードディスクのヘッドは退避位置に移動され、ヘッドとディスクの接触が防止されることになる。   Note that by controlling the power switch 212 to turn off the power supply a204 of the first medium (HDD) 203, the head of the hard disk is moved to the retracted position and contact between the head and the disk is prevented.

(b)復帰処理
さらに、装置安定後の復帰時の処理は以下のシーケンスによって実行される。
(ステップ1)
まず、ホスト201は、加速度センサ202の出力によって、落下の停止を検出する。
(ステップ2)
ホスト201は、電源スイッチ212,213を制御して第1メディア(HDD)203の電源a204と、第2メディア(DVD)205の電源b206をオンとする。
(ステップ3)
ホスト201は、バス214のバススイッチ211を制御して、接続バス214を接続する。
(B) Return process Furthermore, the process at the time of return after the apparatus is stabilized is executed by the following sequence.
(Step 1)
First, the host 201 detects the stop of dropping based on the output of the acceleration sensor 202.
(Step 2)
The host 201 controls the power switches 212 and 213 to turn on the power source a 204 of the first medium (HDD) 203 and the power source b 206 of the second medium (DVD) 205.
(Step 3)
The host 201 controls the bus switch 211 of the bus 214 to connect the connection bus 214.

次に、図3に示すフローチャートを参照して、本発明の情報処理装置におけるメディアに対する情報記録処理のシーケンスについて説明する。図3のフローチャートに示す処理の制御は図2の情報処理装置200におけるホスト201内の制御部において実行される。   Next, with reference to the flowchart shown in FIG. 3, the sequence of information recording processing for media in the information processing apparatus of the present invention will be described. Control of the processing shown in the flowchart of FIG. 3 is executed by a control unit in the host 201 in the information processing apparatus 200 of FIG.

まず、ステップ101において、データを記録するメディアの確認を実行する。データの記録先メディアは、ユーザによる指定情報によって決定される。ユーザ指定がない場合は、デフォルトで設定されたメディアが記録先として選択される。   First, in step 101, confirmation of a medium on which data is recorded is executed. The data recording medium is determined by information specified by the user. If there is no user designation, the media set by default is selected as the recording destination.

ステップS102において、選択された記録メディアがHDDであるか否かを判定する。記録メディアがHDDである場合、ステップS103に進み記録先フラグを確認する。本発明の情報処理装置は、制御部のアクセス可能なメモリ内に、過去に実行したデータの記録先を識別するための記録先フラグを格納する構成を持つ。例えば、図4に示すように、メモリには、記録先フラグ、再生元フラグが記録され、最新の処理において記録処理を実行していたメディアの識別情報と、最新の処理において再生処理を実行していたメディアの識別情報とが記録される。図4に示す例では、
フラグの値[0]=HDD
フラグの値[1]=DVD
を示している。
In step S102, it is determined whether the selected recording medium is an HDD. If the recording medium is an HDD, the process advances to step S103 to check the recording destination flag. The information processing apparatus of the present invention has a configuration in which a recording destination flag for identifying a recording destination of data executed in the past is stored in a memory accessible by the control unit. For example, as shown in FIG. 4, the recording destination flag and the reproduction source flag are recorded in the memory, and the identification information of the medium that has been performing the recording process in the latest process and the reproduction process in the latest process are executed. The recorded media identification information is recorded. In the example shown in FIG.
Flag value [0] = HDD
Flag value [1] = DVD
Is shown.

ステップS103では、例えば図4に示すメモリ格納情報を参照して、記録先フラグの確認、すなわち、最新の記録処理時のアクセスメディア情報を取得する。ステップS104において記録先フラグがDVDでないと判定した場合、すなわち、最新の記録処理時のアクセスメディアがHDDであると判定した場合は、ステップS105に進む。   In step S103, referring to, for example, the memory storage information shown in FIG. 4, the recording destination flag is confirmed, that is, the access media information at the time of the latest recording process is acquired. If it is determined in step S104 that the recording destination flag is not DVD, that is, if it is determined that the access medium at the time of the latest recording process is HDD, the process proceeds to step S105.

ステップS105に進む場合は、直前のデータ記録メディアもHDDであり、これから記録先として利用するメディアもHDDであることを意味している。なお、直前のデータ記録先がHDDである場合、落下検出制御がON状態に設定されている。すなわち、図2に示す加速度センサ202からの落下検出情報がホスト201に入力され、ホスト201は落下検出情報に従った制御を実行する。すなわち、図2を参照して説明した
(a)落下検出時処理
(b)復帰処理
これらの処理が加速度センサ202からの入力情報に基づいて実行される。
When the process proceeds to step S105, it means that the immediately preceding data recording medium is also an HDD, and the medium to be used as a recording destination from now on is also an HDD. When the immediately preceding data recording destination is an HDD, the drop detection control is set to the ON state. That is, the drop detection information from the acceleration sensor 202 shown in FIG. 2 is input to the host 201, and the host 201 executes control according to the drop detection information. That is, (a) processing at the time of drop detection described with reference to FIG. 2 (b) return processing These processing is executed based on input information from the acceleration sensor 202.

ステップS105では、記録予定データを一時的に格納しているバッファメモリから蓄積データを取得してHDDに出力する。出力単位は予め設定された単位(セクタ単位)である。   In step S105, the accumulated data is acquired from the buffer memory temporarily storing the recording schedule data and output to the HDD. The output unit is a preset unit (sector unit).

このステップS105におけるセクタ単位のデータ記録処理、すなわち、セクタXからNセクタ書き込む処理の具体的シーケンスについて図5を参照して説明する。図5には、バッファメモリに蓄積されたデータを読み出してHDDに記録する処理のホスト側での制御態様として3種類のシーケンスを示している。これら3種類のいずれかの処理によってデータ書き込みを得行なうことが可能となる。   A specific sequence of the data recording process in units of sectors in step S105, that is, the process of writing from sector X to N sectors will be described with reference to FIG. FIG. 5 shows three types of sequences as control modes on the host side of processing for reading data stored in the buffer memory and recording it in the HDD. Data writing can be obtained by any one of these three types of processing.

[制御A]は、
ステップS151において、バッファメモリに蓄積されたデータをセクタXからNセクタ書き込みという1つの処理ステップを実行させるものである。この処理はHDDに対して所定のデータ記録単位(Nセクタ)のデータを出力するのみの処理であり、HDD内部キャッシュを利用しない処理を想定したものである。
[Control A]
In step S151, one processing step of writing data accumulated in the buffer memory from sector X to N sector is executed. This process is only a process of outputting data of a predetermined data recording unit (N sector) to the HDD, and assumes a process that does not use the HDD internal cache.

[制御B]は、
ステップS161において、バッファメモリに蓄積されたデータをセクタXからNセクタをメディア内部のキャッシュに書き込む処理ステップの後、ステップS162において、メディア内部のキャッシュ内の蓄積データをメディアに記録する。この処理はHDD内部キャッシュを利用する処理を想定したものであり、バッファからHDD内部キャッシュに一端データを出力した後、HDD内部キャッシュからディスクへデータ書き込みを行なう処理である。
[Control B]
In step S161, after the processing step of writing data stored in the buffer memory into sectors X to N in the cache inside the medium, in step S162, the stored data in the cache inside the medium is recorded on the medium. This process assumes a process using the HDD internal cache, and is a process of writing data from the HDD internal cache to the disk after outputting data from the buffer to the HDD internal cache.

[制御C]は、
ステップS171において、メディア内部キャッシュの使用をオフに設定し、ステップS172において、バッファメモリに蓄積されたデータをセクタXからNセクタ書き込みという処理ステップの後、ステップS183において、メディア内部のキャッシュの使用をオンに設定する。この処理はHDD内部キャッシュを一時的に利用しない設定としてデータ記録処理を実現するものである。
[Control C]
In step S171, the use of the internal cache of the medium is set to OFF. In step S172, after the processing step of writing data stored in the buffer memory from sector X to N sectors, the use of the internal cache of the medium is determined in step S183. Set to on. This process realizes the data recording process as a setting not to temporarily use the HDD internal cache.

図3のステップS105におけるセクタ単位のデータ記録処理は、これらのいずれかのシーケンスによって実行可能である。ステップS106ではデータ記録処理に際してエラーが発生したか否かが判定される。エラーが発生していない場合は、ステップS107に進み、記録先フラグ(図4参照)をHDDにセットする。すなわち直前書き込み処理がHDDに対して実行されたことを示すフラグをセットする。その後、ステップS108においてデータ書き込み成功を通知して処理を終了する。   The sector unit data recording process in step S105 of FIG. 3 can be executed by any one of these sequences. In step S106, it is determined whether an error has occurred during the data recording process. If no error has occurred, the process advances to step S107 to set a recording destination flag (see FIG. 4) in the HDD. That is, a flag indicating that the last write process has been executed for the HDD is set. Thereafter, in step S108, the data writing success is notified and the process is terminated.

一方、ステップS106においてデータ記録処理に際してエラーが発生したと判定した場合は、ステップS122に進み、書き込み実行回数が予め設定された制限回数未満であるか否かを判定し、制限回数未満である場合は、ステップS105に戻り、書き込み処理のリトライ(再処理)を実行する。ステップS122において書き込み実行回数が予め設定された制限回数に達したと判定した場合は、ステップS123に進み、書き込みエラーを通知して処理を終了する。   On the other hand, if it is determined in step S106 that an error has occurred during the data recording process, the process proceeds to step S122, in which it is determined whether or not the number of write executions is less than a preset limit number. Returns to step S105 and executes retry (reprocessing) of the writing process. If it is determined in step S122 that the number of write executions has reached a preset limit, the process proceeds to step S123, a write error is notified, and the process is terminated.

また、ステップS102において、選択された記録メディアがHDDでないと判定した場合、例えばDVDであると判定した場合は、ステップS111に進み記録先フラグ(図4参照)を確認する。ステップS111では、例えば図4に示すメモリ格納情報を参照して、記録先フラグの確認、すなわち、最新の記録処理時のアクセスメディア情報を取得する。ステップS112において記録先フラグがHDDであると判定した場合、すなわち、最新の記録処理時のアクセスメディアがHDDであると判定した場合は、ステップS113に進む。   If it is determined in step S102 that the selected recording medium is not an HDD, for example, if it is determined that it is a DVD, the process proceeds to step S111 and the recording destination flag (see FIG. 4) is confirmed. In step S111, for example, referring to the memory storage information shown in FIG. 4, confirmation of the recording destination flag, that is, access media information at the time of the latest recording processing is acquired. If it is determined in step S112 that the recording destination flag is HDD, that is, if it is determined that the access medium at the time of the latest recording process is HDD, the process proceeds to step S113.

ステップS113に進む場合は、直前のデータ記録メディアがHDDであり、これから記録先として利用するメディアはDVDであることを意味している。
すなわち、記録先が、
HDD→DVD
に変更されたことを意味している。なお、前述したように、直前のデータ記録先がHDDである場合、落下検出制御がON状態に設定されている。
When the process proceeds to step S113, it means that the immediately preceding data recording medium is an HDD, and the medium to be used as a recording destination from now on is a DVD.
That is, the recording destination is
HDD → DVD
Means that it has been changed. As described above, when the immediately preceding data recording destination is the HDD, the drop detection control is set to the ON state.

ステップS113では、HDD内部キャッシュデータの掃き出しおよびヘッド退避処理を実行する。HDD内部キャッシュデータの掃き出し処理とは、装置のバッファからHDDに対する記録データとしてHDDに出力されたがまだディスクには書き込みされていないデータをHDD内部キャッシュから読み出してハードディスクに記録する処理である。なお、このデータ掃き出し処理は、例えば、ATA/ATAPI−6において規定される「FLUSH CACHEコマンド」または「FLUSH CACHE EXT」を実行することで実現される。この掃き出し処理後にHDDのヘッダを退避させる。ヘッド退避処理は、同様にATA/ATAPI−6において規定される「STANDBY IMMEDIATEコマンド」を実行することで実現可能である。コマンドの詳細については、「Information Technology−AT Attachment with Packet Interface−6(ATA/ATAPI−6)」などに記載されている。ヘッドを退避状態に設定することで、落下が発生してもヘッダやハードディスクに損傷を発生させることはない。   In step S113, the HDD internal cache data is swept out and the head evacuation process is executed. The HDD internal cache data sweep-out process is a process of reading from the HDD internal cache data that has been output to the HDD as recording data for the HDD from the apparatus buffer, but has not yet been written to the disk, and recording it on the hard disk. This data sweep-out process is realized, for example, by executing a “FLUSH CACHE command” or “FLUSH CACHE EXT” defined in ATA / ATAPI-6. After this sweeping process, the HDD header is saved. Similarly, the head withdrawal process can be realized by executing a “STANDBY IMMEDIATE command” defined in ATA / ATAPI-6. Details of the command are described in “Information Technology-AT Attachment with Packet Interface-6 (ATA / ATAPI-6)”. By setting the head to the retracted state, the header and the hard disk are not damaged even if the head is dropped.

この処理の後、ステップS114に進み、落下検出制御をオフとする。落下検出制御をオフに設定することで、図2に示すホスト201は、加速度センサ202から落下検出情報を入力しても、先に図2を参照して説明した
(a)落下検出時処理
(b)復帰処理
これらの処理を実行しない。なお、落下検出制御をオフとする場合は、DVDに対するデータ記録が行なわれる場合であり、ステップS113においてHDD内部キャッシュの掃き出し処理とHDDのヘッダ退避処理が実行された後であるので、万が一落下が発生しても、ヘッダやハードディスクに損傷を発生させることはなく、またデータ消失の恐れもない。
After this processing, the process proceeds to step S114, and the fall detection control is turned off. By setting the fall detection control to OFF, even if the host 201 shown in FIG. 2 inputs the fall detection information from the acceleration sensor 202, the host 201 shown in FIG. b) Return process These processes are not executed. The case where the drop detection control is turned off is a case where data recording is performed on the DVD. Since the HDD internal cache flushing process and the HDD header saving process are executed in step S113, the fall detection control should be performed. Even if it occurs, the header and the hard disk are not damaged, and there is no risk of data loss.

ステップS115では、記録先フラグ(図4参照)をDVDにセットする。ステップS116ではDVDに対するデータ記録処理を実行する。ステップS117においてデータ記録処理におけるエラー発生の有無を判定し、エラーがない場合は、ステップS118に進み、書き込み成功を通知して処理を終了する。エラーが発生した場合は、ステップS123に進み、書き込みエラーを通知して処理を終了する。   In step S115, the recording destination flag (see FIG. 4) is set on the DVD. In step S116, a data recording process for the DVD is executed. In step S117, it is determined whether or not an error has occurred in the data recording process. If there is no error, the process proceeds to step S118, the writing success is notified, and the process ends. If an error has occurred, the process proceeds to step S123, a write error is notified, and the process ends.

上述したように、本発明の情報処理装置では、「直前のアクセス先がHDDであったかDVDであったか」を識別するフラグを保持し、フラグを利用しながら、HDDへアクセスしている期間に限り落下検出制御を有効にし、HDD以外のメディア、例えばDVDへアクセスする際は、まずHDDへの未書き込みデータがある場合、それらをはき出した上で、HDDのヘッドを退避し、落下検出制御を無効化する構成としている。従って、HDDに対するデータ記録処理が行われる場合は、図2を参照して説明した落下検出時処理、復帰処理が実行されるので、ヘッダやハードディスクに損傷を発生させることはなく、またデータ消失の恐れもない。   As described above, in the information processing apparatus of the present invention, a flag for identifying “whether the previous access destination is an HDD or a DVD” is held, and the flag is used only during the period when the HDD is accessed. When detecting control is enabled and accessing media other than the HDD, for example, DVD, if there is unwritten data to the HDD first, it will be ejected and then the head of the HDD is withdrawn to disable the drop detection control It is configured to do. Therefore, when the data recording process for the HDD is performed, the drop detection process and the return process described with reference to FIG. 2 are executed, so that the header and the hard disk are not damaged, and data loss is not caused. There is no fear.

またDVDに対する記録処理が行われる場合は、落下検出制御を無効化するが、その前処理として、HDDへの未書き込みデータがある場合、それらを掃き出した上で、HDDのヘッドを退避する処理を実行するので、万が一落下が発生しても、ヘッダやハードディスクに損傷を発生させることはなく、またデータ消失の恐れもない。再びHDDへアクセスする際は、直前のアクセス先がHDD以外のメディア、例えばDVDであった場合、落下検出制御を再びONにした上で、HDDへのアクセスを行うので、いかなる場合も、HDDの損傷やデータ消失を防止することが可能となる。   In addition, when the recording process is performed on the DVD, the drop detection control is invalidated. However, as preprocessing, if there is unwritten data in the HDD, the process of sweeping out the HDD head and then retracting the HDD head is performed. Since it is executed, even if a fall occurs, the header and the hard disk are not damaged, and there is no risk of data loss. When accessing the HDD again, if the previous access destination is a medium other than the HDD, such as a DVD, the HDD is accessed after the fall detection control is turned ON again. Damage and data loss can be prevented.

次に、図6に示すフローチャートを参照して本発明の情報処理装置におけるメディアからの情報再生処理のシーケンスについて説明する。図6のフローチャートに示す処理の制御は図2の情報処理装置200におけるホスト201内の制御部において実行される。   Next, the sequence of information reproduction processing from media in the information processing apparatus of the present invention will be described with reference to the flowchart shown in FIG. Control of the processing shown in the flowchart of FIG. 6 is executed by a control unit in the host 201 in the information processing apparatus 200 of FIG.

まず、ステップ201において、データ再生対象とするメディアの確認を実行する。再生メディアは、ユーザによる指定情報によって決定される。ユーザ指定がない場合は、デフォルトで設定されたメディアが再生元として選択される。   First, in step 201, confirmation of the media to be reproduced is executed. The playback medium is determined by information specified by the user. If there is no user designation, the media set by default is selected as the playback source.

ステップS202において、選択された記録メディアがHDDであるか否かを判定する。再生メディアがHDDである場合、ステップS203に進み再生元フラグを確認する。本発明の情報処理装置は、制御部のアクセス可能なメモリ内に、過去に実行した再生処理メディアを識別するための再生元フラグを格納する構成を持つ。例えば、図4に示すように、メモリには、記録先フラグ、再生元フラグが記録され、最新の処理において記録処理を実行していたメディアの識別情報と、最新の処理において再生処理を実行していたメディアの識別情報とが記録される。図4に示す例では、
フラグの値[0]=HDD
フラグの値[1]=DVD
を示している。
In step S202, it is determined whether the selected recording medium is an HDD. If the playback medium is an HDD, the process proceeds to step S203 to check the playback source flag. The information processing apparatus of the present invention has a configuration in which a reproduction source flag for identifying a reproduction processing medium executed in the past is stored in a memory accessible by the control unit. For example, as shown in FIG. 4, the recording destination flag and the reproduction source flag are recorded in the memory, and the identification information of the medium that has been performing the recording process in the latest process and the reproduction process in the latest process are executed. The recorded media identification information is recorded. In the example shown in FIG.
Flag value [0] = HDD
Flag value [1] = DVD
Is shown.

ステップS203では、例えば図4に示すメモリ格納情報を参照して、再生元フラグの確認、すなわち、最新の再生処理時のアクセスメディア情報を取得する。ステップS204において再生元フラグがDVDでないと判定した場合、すなわち、最新の再生処理時のアクセスメディアがHDDであると判定した場合は、ステップS205に進む。   In step S203, for example, referring to the memory storage information shown in FIG. 4, the reproduction source flag is confirmed, that is, the access media information at the time of the latest reproduction processing is acquired. If it is determined in step S204 that the playback source flag is not DVD, that is, if it is determined that the access medium at the time of the latest playback processing is HDD, the process proceeds to step S205.

ステップS205に進む場合は、直前のデータ再生メディアもHDDであり、これから利用する再生メディアもHDDであることを意味している。なお、直前の再生メディアがHDDである場合、落下検出制御がON状態に設定されている。すなわち、図2に示す加速度センサ202からの落下検出情報がホスト201に入力され、ホスト201は落下検出情報に従った制御を実行する。すなわち、図2を参照して説明した
(a)落下検出時処理
(b)復帰処理
これらの処理が加速度センサ202からの入力情報に基づいて実行される。
When the process proceeds to step S205, it means that the immediately preceding data reproduction medium is also an HDD, and the reproduction medium to be used in the future is also an HDD. If the immediately preceding playback medium is an HDD, the drop detection control is set to ON. That is, the drop detection information from the acceleration sensor 202 shown in FIG. 2 is input to the host 201, and the host 201 executes control according to the drop detection information. That is, (a) processing at the time of drop detection described with reference to FIG. 2 (b) return processing These processing is executed based on input information from the acceleration sensor 202.

ステップS205では、所定のデータ読み出し単位(セクタ単位)でデータをHDDから読み出してバッファメモリに蓄積する。ステップS206ではデータ再生処理に際してエラーが発生したか否かが判定される。エラーが発生していない場合は、ステップS207に進み、再生元フラグ(図4参照)をHDDにセットする。すなわち直前の再生処理がHDDを利用して実行されたことを示すフラグをセットする。その後、ステップS208においてデータ読み出し成功を通知して処理を終了する。   In step S205, data is read from the HDD in a predetermined data read unit (sector unit) and stored in the buffer memory. In step S206, it is determined whether an error has occurred during the data reproduction process. If no error has occurred, the process advances to step S207 to set the playback source flag (see FIG. 4) in the HDD. That is, a flag indicating that the immediately preceding reproduction process has been executed using the HDD is set. Thereafter, in step S208, the data read success is notified and the process is terminated.

一方、ステップS206においてデータ再生処理に際してエラーが発生したと判定した場合は、ステップS222に進み、読み出し実行回数が予め設定された制限回数未満であるか否かを判定し、制限回数未満である場合は、ステップS205に戻り、読み出し処理のリトライ(再処理)を実行する。ステップS222において読み出し実行回数が予め設定された制限回数に達したと判定した場合は、ステップS223に進み、読み出しエラーを通知して処理を終了する。   On the other hand, if it is determined in step S206 that an error has occurred during the data reproduction process, the process proceeds to step S222, where it is determined whether or not the read execution count is less than a preset limit count. Returns to step S205 and executes a retry (reprocessing) of the reading process. If it is determined in step S222 that the read execution count has reached the preset limit count, the process proceeds to step S223, a read error is notified, and the process ends.

また、ステップS202において、選択された再生メディアがHDDでないと判定した場合、例えばDVDであると判定した場合は、ステップS211に進み再生元フラグ(図4参照)を確認する。ステップS211では、例えば図4に示すメモリ格納情報を参照して、再生元フラグの確認、すなわち、最新の再生処理時のアクセスメディア情報を取得する。ステップS212において再生元フラグがHDDであると判定した場合、すなわち、最新の再生処理時のアクセスメディアがHDDであると判定した場合は、ステップS213に進む。   If it is determined in step S202 that the selected reproduction medium is not an HDD, for example, if it is determined to be a DVD, the process proceeds to step S211 and the reproduction source flag (see FIG. 4) is confirmed. In step S211, for example, referring to the memory storage information shown in FIG. 4, the reproduction source flag is confirmed, that is, the access media information at the time of the latest reproduction processing is acquired. If it is determined in step S212 that the playback source flag is HDD, that is, if it is determined that the access medium at the time of the latest playback processing is HDD, the process proceeds to step S213.

ステップS213に進む場合は、直前のデータ再生メディアがHDDであり、これから利用する再生メディアはDVDであることを意味している。
すなわち、再生元メディアが、
HDD→DVD
に変更されたことを意味している。なお、前述したように、直前のデータ再生メディアがHDDである場合、落下検出制御がON状態に設定されている。
When the process proceeds to step S213, it means that the immediately preceding data reproduction medium is an HDD, and the reproduction medium to be used from now on is a DVD.
That is, the playback media is
HDD → DVD
Means that it has been changed. As described above, when the immediately preceding data reproduction medium is an HDD, the drop detection control is set to the ON state.

ステップS213では、HDDのヘッド退避処理を実行する。この退避状態に設定することで、落下が発生してもヘッダやハードディスクに損傷を発生させることはない。   In step S213, HDD head withdrawal processing is executed. By setting the retracted state, the header and the hard disk will not be damaged even if a drop occurs.

この処理の後、ステップS214に進み、落下検出制御をオフとする。落下検出制御をオフに設定することで、図2に示すホスト201は、加速度センサ202から落下検出情報を入力しても、先に図2を参照して説明した
(a)落下検出時処理
(b)復帰処理
これらの処理を実行しない。なお、落下検出制御をオフとする場合は、DVDを利用したデータ再生が行なわれる場合であり、ステップS213においてHDDのヘッダ退避処理が実行された後であるので、万が一落下が発生しても、ヘッダやハードディスクに損傷を発生させることはない。
After this processing, the process proceeds to step S214, and the fall detection control is turned off. By setting the fall detection control to OFF, even if the host 201 shown in FIG. 2 inputs the fall detection information from the acceleration sensor 202, the host 201 shown in FIG. b) Return process These processes are not executed. Note that the case where the drop detection control is turned off is a case where data reproduction using a DVD is performed, and since the HDD header saving process is executed in step S213, even if a drop occurs, No damage to the header or hard disk.

ステップS215では、再生元フラグ(図4参照)をDVDにセットする。ステップS216ではDVDを利用したデータ再生処理を実行する。ステップS217においてデータ再生処理におけるエラー発生の有無を判定し、エラーがない場合は、ステップS218に進み、読み出し成功を通知して処理を終了する。エラーが発生した場合は、ステップS223に進み、読み出しエラーを通知して処理を終了する。   In step S215, the playback source flag (see FIG. 4) is set to DVD. In step S216, data reproduction processing using a DVD is executed. In step S217, it is determined whether or not an error has occurred in the data reproduction process. If there is no error, the process proceeds to step S218 to notify the success of reading and the process ends. If an error has occurred, the process proceeds to step S223, a read error is notified, and the process ends.

上述したように、本発明の情報処理装置では、データ再生処理に際しても、「直前のアクセス先がHDDであったかDVDであったか」を識別する再生元フラグを保持し、再生元フラグを利用しながら、HDDへアクセスしている期間に限り落下検出制御を有効にし、HDD以外のメディア、例えばDVDへアクセスする際は、HDDのヘッドを退避し、落下検出制御を無効化する構成としている。   As described above, in the information processing apparatus of the present invention, also in the data reproduction process, the reproduction source flag for identifying “whether the previous access destination is an HDD or a DVD” is held and the reproduction source flag is used. Only when the HDD is accessed, drop detection control is enabled. When accessing a medium other than the HDD, for example, a DVD, the HDD head is retracted to disable the drop detection control.

このようにHDDを利用したデータ再生処理が行われる場合は、図2を参照して説明した落下検出時処理、復帰処理が実行されるので、ヘッダやハードディスクに損傷を発生させることはない。またDVDを利用したデータ再生処理が行われる場合は、落下検出制御を無効化するが、その前処理としてHDDのヘッドを退避する処理を実行するので、万が一落下が発生しても、ヘッダやハードディスクに損傷を発生させることはない。再びHDDへアクセスする際は、直前のアクセス先がHDD以外のメディア、例えばDVDであった場合、落下検出制御を再びONにした上で、HDDへのアクセスを行うので、いかなる場合も、HDDの損傷を防止することが可能となる。   When the data reproduction process using the HDD is performed in this way, the drop detection process and the return process described with reference to FIG. 2 are executed, so that the header and the hard disk are not damaged. In addition, when data reproduction processing using a DVD is performed, drop detection control is invalidated, but processing for evacuating the HDD head is executed as its preprocessing, so even if a drop occurs, a header or hard disk Will not cause any damage. When accessing the HDD again, if the previous access destination is a medium other than the HDD, such as a DVD, the HDD is accessed after the fall detection control is turned ON again. Damage can be prevented.

[情報処理装置の構成例]
次に、本発明の一実施例に係る情報処理装置の構成例について説明する。本発明の情報処理装置は、メディア(情報記録媒体)に対するデータ記録、または情報記録媒体からのデータ再生処理を行なう装置である。情報処理装置は例えばデジタルビデオカメラ、PCなどの装置である。
[Configuration example of information processing device]
Next, a configuration example of an information processing apparatus according to an embodiment of the present invention will be described. The information processing apparatus of the present invention is an apparatus that performs data recording on a medium (information recording medium) or data reproduction processing from the information recording medium. The information processing apparatus is an apparatus such as a digital video camera or a PC.

情報処理装置の構成について、図7〜図10を参照して説明する。図7は、ハードディスク等のメディア(情報記録媒体)284をアクセスしてデータ記録あるいはデータ読み取りを実行する情報処理装置の構成を処理階層別に示している。図7に示すように、ハードディスク等のメディア(情報記録媒体)284に対してデータを記録したり、記録媒体に記録されているデータを読み出して利用したりする場合には、ユーザからの処理要求を受け付け、またユーザインタフェースを提供するなどのユーザとの窓口として最上層にアプリケーションプログラム281が存在する。その下層にメディア(情報記録媒体)284上のファイルを管理するためのファイルシステム(ファイル管理プログラム)282とファイルシステムからの情報に基づいてメディア(情報記録媒体)284を制御するデバイスドライバ283とが存在する。   The configuration of the information processing apparatus will be described with reference to FIGS. FIG. 7 shows the configuration of an information processing apparatus that accesses a medium (information recording medium) 284 such as a hard disk to execute data recording or data reading for each processing hierarchy. As shown in FIG. 7, when data is recorded on a medium (information recording medium) 284 such as a hard disk or when data recorded on the recording medium is read and used, a processing request from the user is used. The application program 281 exists in the uppermost layer as a contact point with the user, such as receiving a user interface and providing a user interface. Below that, a file system (file management program) 282 for managing files on the medium (information recording medium) 284 and a device driver 283 for controlling the medium (information recording medium) 284 based on information from the file system. Exists.

メディア(情報記録媒体)284に対してデータを記録、またはメディア(情報記録媒体)284からデータを再生する場合には、例えばアプリケーションプログラム281を介する要求がファイルシステム282、デバイスドライバ283に伝えられ、ファイルシステム282、デバイスドライバ283の機能によりデータの書き込み、再生が実行される。従来と同様の処理によって、ファイルシステム⇔デバイスドライバ⇔記録媒体(ハードディスク)といった構成で処理は行なわれる。   When recording data on the medium (information recording medium) 284 or reproducing data from the medium (information recording medium) 284, for example, a request via the application program 281 is transmitted to the file system 282 and the device driver 283, Data writing and reproduction are executed by the functions of the file system 282 and the device driver 283. By the same processing as before, processing is performed with a configuration of file system⇔device driver⇔recording medium (hard disk).

データ記録を行なう場合に、複数の異なるファイルを継続記録ファイルとして適用する場合は、ファイルシステムによって適用されるファイルアロケーションテーブル(FAT)に対する特殊コードの記録を行なう。また、データ再生を実行する場合に複数の異なるファイルを継続記録ファイルとして適用する場合は、FATからの特殊コードの検出を条件として、ファイルの切り替えを実行する。   When a plurality of different files are applied as continuous recording files when data recording is performed, special codes are recorded in a file allocation table (FAT) applied by the file system. When a plurality of different files are applied as continuous recording files when data reproduction is executed, file switching is executed on condition that a special code is detected from the FAT.

図7に示すシステム構成をさらに詳細に示した構成図を図8に示す。図8に示す構成は、図7と同様、情報記録媒体に対するデータ記録および情報記録媒体からのデータ取得、再生処理を実行する情報処理装置のシステム構成を示す図であり、ハードディスクやDVD、フラッシュメモリ等のメディア361,362に対してデータを記録したり、記録媒体に記録されているデータを読み出して利用する処理を実行する情報処理装置のシステム構成を示している。   FIG. 8 is a block diagram showing the system configuration shown in FIG. 7 in more detail. The configuration shown in FIG. 8 is a diagram showing the system configuration of an information processing apparatus that executes data recording on an information recording medium, data acquisition from the information recording medium, and reproduction processing, as in FIG. 7, and includes a hard disk, a DVD, and a flash memory. 2 shows a system configuration of an information processing apparatus that records data on media 361 and 362 such as the above and executes processing for reading and using data recorded on a recording medium.

図8にも、図7と同様、アプリケーション300の下層にメディア361,362上のファイルを管理するためのファイルシステム(ファイル管理プログラム)310とファイルシステム310からの情報に基づいてメディア361,362を制御するデバイスドライバ350とを示している。図8に示す例では2つのメディア361,362を示している。例えば、ハードディスクと、その他のDVDなどの記録媒体である。デバイスドライバ350は、記録デバイスであるメディア361,362に対応するデバイスドライバ351,352を有する。   In FIG. 8, similarly to FIG. 7, a file system (file management program) 310 for managing files on the media 361 and 362 below the application 300 and media 361 and 362 based on information from the file system 310 are provided. A device driver 350 to be controlled is shown. In the example shown in FIG. 8, two media 361 and 362 are shown. For example, a hard disk and other recording media such as a DVD. The device driver 350 includes device drivers 351 and 352 corresponding to the media 361 and 362 that are recording devices.

アプリケーション300、ファイルシステム310、デバイスドライバ350は、各構成部の処理に必要なプログラムやパラメータの格納、データ処理におけるワーク領域としてメモリ370をアクセスして利用する。   The application 300, the file system 310, and the device driver 350 access and use the memory 370 as a work area for storing programs and parameters necessary for processing of each component and data processing.

アプリケーション300には、メディア361,362に対するデータ記録処理を実行する記録アプリケーション301、メディア361,362に記録されたデータの再生処理を実行する再生アプリケーション302など、処理に応じたアプリケーションが含まれる。   The application 300 includes applications according to processing, such as a recording application 301 that executes data recording processing on the media 361 and 362, and a playback application 302 that executes playback processing of data recorded on the media 361 and 362.

ユーザはこれらのアプリケーションを選択して様々な処理を実行することになる。なお、記録アプリケーション301の実行により、先に図3を参照して説明した処理が実行され、再生アプリケーション302の実行により、先に図6を参照して説明した処理が実行される。   The user selects these applications and executes various processes. The process described above with reference to FIG. 3 is executed by the execution of the recording application 301, and the process described above with reference to FIG. 6 is executed by the execution of the playback application 302.

ファイルシステム310は、各メディア361,362の種別やフォーマット情報などを含む各メディア対応のマウントドライブ情報311,312と、各メディア361,362に対応するファイルシステム320,330を含み、マウントドライブ情報311,312およびファイルシステム320,330に従って、各メディア361,362を適用したデータ記録、再生制御を実行する。   The file system 310 includes mount drive information 311 and 312 corresponding to each medium including the type and format information of each medium 361 and 362, and file systems 320 and 330 corresponding to the respective media 361 and 362, and mount drive information 311. 312 and file systems 320 and 330, data recording and reproduction control to which the media 361 and 362 are applied is executed.

次に、上述した処理を実行する情報処理装置の構成例として、デジタルビデオカメラと、PCの装置構成例について、図9、図10を参照して説明する。   Next, as a configuration example of an information processing apparatus that executes the above-described processing, a configuration example of a digital video camera and a PC will be described with reference to FIGS.

まず、図9を参照してデジタルビデオカメラの構成例について説明する。デジタルビデオカメラは、画像を撮像して、撮像することにより得た画像データをドライブ432を介してハードディスクなどの磁気ディスク、DVDなどの光ディスク、光磁気ディスク、半導体メモリ等の各種情報記録媒体に記録する撮像モードと、画像入出力部414や音声入出力部416あるいは通信部431を通じて供給を受けたデータを記録媒体に記録したり、記録媒体に記録されているデータを再生したりするVTRモードとを備えたものである。   First, a configuration example of a digital video camera will be described with reference to FIG. The digital video camera captures an image and records the image data obtained by the imaging on various information recording media such as a magnetic disk such as a hard disk, an optical disk such as a DVD, a magneto-optical disk, and a semiconductor memory via a drive 432. An imaging mode for recording, and a VTR mode for recording data supplied through the image input / output unit 414, the audio input / output unit 416, or the communication unit 431 on a recording medium, and reproducing data recorded on the recording medium It is equipped with.

撮像モードは、動画を撮像すると共に、これと同時に収音するようにした音声とを記録媒体に記録する動画撮像モードと、静止画を撮像する静止画撮像モードとを備えている。また、VTRモード時においては、記録ボタンスイッチなどによって構成される操作入力部420を操作することにより供給されるデータの記録が行われるようにされ、再生ボタンスイッチを操作することにより記録媒体に記録されている目的とするデータを再生することができる。   The imaging mode includes a moving image imaging mode in which a moving image is captured and simultaneously recorded sound is recorded on a recording medium, and a still image imaging mode in which a still image is captured. In the VTR mode, the supplied data is recorded by operating the operation input unit 420 including a recording button switch, and the recording is performed on the recording medium by operating the playback button switch. The target data can be reproduced.

図9に示すように、デジタルビデオカメラは、光学レンズ部411、光電変換部412、カメラ機能制御部402、画像信号処理部413、画像入出力部414、液晶ディスプレイ415、音声入出力部416、音声信号処理部417、通信部431、制御部(CPU)401、内蔵メモリ(RAM)418、内蔵メモリ(ROM)419、操作入力部420、情報記録媒体に対するドライブ432、加速度センサ451、さらに、各構成部に対する電力供給を行なう電源441を備えたものである。   As shown in FIG. 9, the digital video camera includes an optical lens unit 411, a photoelectric conversion unit 412, a camera function control unit 402, an image signal processing unit 413, an image input / output unit 414, a liquid crystal display 415, an audio input / output unit 416, An audio signal processing unit 417, a communication unit 431, a control unit (CPU) 401, a built-in memory (RAM) 418, a built-in memory (ROM) 419, an operation input unit 420, a drive 432 for an information recording medium, an acceleration sensor 451, and each A power supply 441 for supplying power to the components is provided.

制御部(CPU)401は、ROM419に格納された各種の処理プログラムに従って処理を実行する。RAM418は、各処理において途中結果を一時記憶するなど、主に作業領域として用いられる。RAM418には、先に図4を参照して説明した記録先フラグ、再生元フラグが記録される。制御部(CPU)401は、例えば、図3、図5、図6のフローチャートを参照して説明したシーケンスに従った処理制御を実行する。   A control unit (CPU) 401 executes processing according to various processing programs stored in the ROM 419. The RAM 418 is mainly used as a work area such as temporarily storing intermediate results in each process. In the RAM 418, the recording destination flag and the reproduction source flag described above with reference to FIG. 4 are recorded. For example, the control unit (CPU) 401 executes process control according to the sequence described with reference to the flowcharts of FIGS. 3, 5, and 6.

操作入力部401は、動画撮影モード、静止画撮影モード、VTRモードなどの動作モードを切り換えるモード切り換えキー、静止画の撮影のためのシャッターキー、動画を撮影するための撮影開始キー、録画キー、再生キー、停止キー、早送りキー、早戻しキーなどの種々の操作キーや機能キーなどを備え、ユーザからの操作入力を受け付けて、受け付けた操作入力に応じた電気信号を制御部(CPU)401に供給する。   The operation input unit 401 includes a mode switching key for switching operation modes such as a moving image shooting mode, a still image shooting mode, a VTR mode, a shutter key for shooting a still image, a shooting start key for shooting a movie, a recording key, Various operation keys and function keys such as a reproduction key, a stop key, a fast-forward key, and a fast-rewind key are provided, and an operation input from the user is received and an electric signal corresponding to the received operation input is transmitted to the control unit (CPU) 401. To supply.

制御部(CPU)401は、ユーザからの操作入力に応じて、目的とする処理を行うためのプログラムをROM419から読み出して実行し、各部を制御することによって、ユーザからの指示に応じた処理の制御を行う。また前述したように加速度センサ451からの入力に応じたHDDの保護のための処理制御なども実行する。デジタルビデオカメラは、情報記録媒体として、磁気ディスク、光ディスク、光磁気ディスク、半導体メモリ等の各種情報記録媒体を装着可能であり、これらの情報記録媒体にドライブ432を介して各種の情報を記録し、また、これらの情報記録媒体に記録された情報を再生する。   The control unit (CPU) 401 reads out and executes a program for performing a target process from the ROM 419 in accordance with an operation input from the user, and controls each unit to perform a process according to an instruction from the user. Take control. Further, as described above, processing control for protecting the HDD according to the input from the acceleration sensor 451 is also executed. The digital video camera can mount various information recording media such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory as an information recording medium, and record various kinds of information on these information recording media via a drive 432. Also, the information recorded on these information recording media is reproduced.

次に、図10を参照して、上述した処理を実行する情報処理装置の一例としてのPCのハードウェア構成例について説明する。CPU(Central Processing Unit)501は、OS(Operating System)に対応する処理や、上述の実施例において説明したデータ記録、あるいはデータ再生処理、加速度センサ516からの入力情報に基づく制御処理などを実行するデータ処理部として機能する。これらの処理は、情報処理装置のROM、ハードディスクなどのデータ記憶部に格納されたコンピュータ・プログラムに従って実行される。   Next, a hardware configuration example of a PC as an example of an information processing apparatus that performs the above-described processing will be described with reference to FIG. A CPU (Central Processing Unit) 501 executes processing corresponding to an OS (Operating System), data recording or data reproduction processing described in the above-described embodiments, control processing based on input information from the acceleration sensor 516, and the like. Functions as a data processing unit. These processes are executed according to a computer program stored in a data storage unit such as a ROM or a hard disk of the information processing apparatus.

ROM(Read Only Memory)502は、CPU501が使用するプログラムや演算パラメータ等を格納する。RAM(Random Access Memory)503は、CPU501の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を格納する。RAM503には、先に図4を参照して説明した記録先フラグ、再生元フラグが記録される。これらはCPUバスなどから構成されるホストバス504により相互に接続されている。   A ROM (Read Only Memory) 502 stores programs used by the CPU 501, calculation parameters, and the like. A RAM (Random Access Memory) 503 stores programs used in the execution of the CPU 501, parameters that change as appropriate during the execution, and the like. In the RAM 503, the recording destination flag and the reproduction source flag described above with reference to FIG. 4 are recorded. These are connected to each other by a host bus 504 including a CPU bus.

ホストバス504は、ブリッジ505を介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バス506に接続されている。   The host bus 504 is connected to an external bus 506 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 505.

キーボード508、ポインティングデバイス509は、ユーザにより操作される入力デバイスである。ディスプレイ510は、液晶表示装置またはCRT(Cathode Ray Tube)などから成り、各種情報をテキストやイメージで表示する。   A keyboard 508 and a pointing device 509 are input devices operated by the user. The display 510 includes a liquid crystal display device, a CRT (Cathode Ray Tube), or the like, and displays various types of information as text and images.

HDD(Hard Disk Drive)511は、ハードディスクを内蔵し、ハードディスクを駆動する。ハードディスクは例えば先に図5を参照して説明したレイアウトを持つ。また、ハードディスクは、画像データファイルの格納領域として利用されるとともに、データ処理プログラム等、各種コンピュータ・プログラムが格納される。   An HDD (Hard Disk Drive) 511 has a built-in hard disk and drives the hard disk. The hard disk has, for example, the layout described above with reference to FIG. The hard disk is used as an image data file storage area and stores various computer programs such as a data processing program.

ドライブ512は、装着されている磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリ等のリムーバブル記録媒体521に記録されているデータまたはプログラムを読み出して、そのデータまたはプログラムを、インタフェース507、外部バス506、ブリッジ505、およびホストバス504を介して接続されているRAM503に供給する。   The drive 512 reads data or a program recorded on a removable recording medium 521 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and the data or program is read out from the interface 507 and the external bus 506. , And supplied to the RAM 503 connected via the bridge 505 and the host bus 504.

接続ポート514は、外部接続機器522を接続するポートであり、USB,IEEE1394等の接続部を持つ。接続ポート514は、インタフェース507、および外部バス506、ブリッジ505、ホストバス504等を介してCPU501等に接続されている。通信部515は、ネットワークに接続され、その他の情報処理装置との通信を実行する。   The connection port 514 is a port for connecting the external connection device 522 and has a connection unit such as USB or IEEE1394. The connection port 514 is connected to the CPU 501 and the like via the interface 507, the external bus 506, the bridge 505, the host bus 504, and the like. The communication unit 515 is connected to a network and executes communication with other information processing apparatuses.

なお、図9、図10に示す情報処理装置の構成例は、装置の一例であり、情報処理装置は、図9、図10に示す構成に限らず、上述した実施例において説明した処理を実行可能な構成であればよい。   The configuration example of the information processing apparatus illustrated in FIGS. 9 and 10 is an example of the apparatus, and the information processing apparatus is not limited to the configuration illustrated in FIGS. 9 and 10, and executes the processes described in the above-described embodiments. Any configuration is possible.

以上、特定の実施例を参照しながら、本発明について詳解してきた。しかしながら、本発明の要旨を逸脱しない範囲で当業者が実施例の修正や代用を成し得ることは自明である。すなわち、例示という形態で本発明を開示してきたのであり、限定的に解釈されるべきではない。本発明の要旨を判断するためには、特許請求の範囲の欄を参酌すべきである。   The present invention has been described in detail above with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiments without departing from the gist of the present invention. In other words, the present invention has been disclosed in the form of exemplification, and should not be interpreted in a limited manner. In order to determine the gist of the present invention, the claims should be taken into consideration.

また、明細書中において説明した一連の処理はハードウェア、またはソフトウェア、あるいは両者の複合構成によって実行することが可能である。ソフトウェアによる処理を実行する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれたコンピュータ内のメモリにインストールして実行させるか、あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。例えば、プログラムは記録媒体に予め記録しておくことができる。記録媒体からコンピュータにインストールする他、LAN(Local Area Network)、インターネットといったネットワークを介してプログラムを受信し、内蔵するハードディスク等の記録媒体にインストールすることができる。   The series of processing described in the specification can be executed by hardware, software, or a combined configuration of both. When executing processing by software, the program recording the processing sequence is installed in a memory in a computer incorporated in dedicated hardware and executed, or the program is executed on a general-purpose computer capable of executing various processing. It can be installed and run. For example, the program can be recorded in advance on a recording medium. In addition to being installed on a computer from a recording medium, the program can be received via a network such as a LAN (Local Area Network) or the Internet and installed on a recording medium such as a built-in hard disk.

なお、明細書に記載された各種の処理は、記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。また、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Note that the various processes described in the specification are not only executed in time series according to the description, but may be executed in parallel or individually according to the processing capability of the apparatus that executes the processes or as necessary. Further, in this specification, the system is a logical set configuration of a plurality of devices, and the devices of each configuration are not limited to being in the same casing.

以上、説明したように、本発明の一実施例の構成によれば、HDD(ハードディスクドライブ)によって構成される第1メディアと、HDD以外の第2メディアとを選択的に利用してデータ記録再生を行なう構成において、「直前のアクセス先が第1メディア(HDD)であったか第2メディア(HDD以外)であったか」を識別する利用メディア識別フラグを記録し、このフラグと利用予定メディアの種類に応じてHDDのヘッド退避を行なう落下検出制御の有効化または無効化を実行する。例えばHDD以外のメディア(DVDなど)へアクセスする際は、HDDのヘッドの退避を行った後に落下検出制御を無効化する。また、以前の処理がHDDに対するデータ記録処理であった場合は、HDD内部キャッシュの掃き出し処理を実行してヘッド退避を実行して落下検出制御を無効化する。また落下検出制御の実行時には、HDDとHDD以外のメディアの電源を双方ともオフとする処理を実行し、復帰時には双方ともオンとした後にバス接続を行なう。これらの処理を行なうことで、いかなる処理に際してもHDDの損傷やデータ消失は防止されることになる。   As described above, according to the configuration of the embodiment of the present invention, data recording / playback is performed selectively using the first medium constituted by the HDD (hard disk drive) and the second medium other than the HDD. In the configuration, the used media identification flag for identifying “whether the previous access destination is the first media (HDD) or the second media (other than the HDD)” is recorded, and this flag and the type of the scheduled media to be used are recorded. Then, the fall detection control for retracting the head of the HDD is validated or invalidated. For example, when accessing a medium (such as a DVD) other than the HDD, the drop detection control is invalidated after the HDD head is retracted. If the previous process is a data recording process for the HDD, the HDD internal cache sweep process is executed to execute head retraction and invalidate the drop detection control. Further, when the fall detection control is executed, processing for turning off both the HDD and the medium other than the HDD is executed, and when returning, both are turned on and then the bus connection is made. By performing these processes, the HDD can be prevented from being damaged or lost in any process.

ハードディスクの保護機構として有効な落下検出に基づくヘッド退避処理と、HDDとHDD以外の記録メディアを併用する機器の構成例について説明する図である。It is a figure explaining the example of a structure of the apparatus which uses the head retraction | saving process based on the fall detection effective as a hard-disk protection mechanism, and HDD and recording media other than HDD together. 本発明の情報処理装置の構成例を示す図である。It is a figure which shows the structural example of the information processing apparatus of this invention. 本発明の情報処理装置におけるメディアに対する情報記録処理のシーケンスについて説明するフローチャートを示す図である。It is a figure which shows the flowchart explaining the sequence of the information recording process with respect to the medium in the information processing apparatus of this invention. メモリに格納される記録先フラグ、再生元フラグの例について説明する図である。It is a figure explaining the example of the recording destination flag and reproduction | regeneration origin flag stored in memory. セクタ単位のデータ記録処理の制御態様の例について説明するフローチャートを示す図である。It is a figure which shows the flowchart explaining the example of the control aspect of the data recording process of a sector unit. 本発明の情報処理装置におけるメディアからの情報再生処理のシーケンスについて説明するフローチャートを示す図である。It is a figure which shows the flowchart explaining the sequence of the information reproduction process from the media in the information processing apparatus of this invention. 本発明の一実施例に係る情報処理装置のシステム構成について説明する図である。It is a figure explaining the system configuration | structure of the information processing apparatus which concerns on one Example of this invention. 本発明の一実施例に係る情報処理装置のシステム構成について説明する図である。It is a figure explaining the system configuration | structure of the information processing apparatus which concerns on one Example of this invention. 本発明の情報処理装置の一実施例としてのデジタルビデオカメラの構成例について説明する図である。It is a figure explaining the structural example of the digital video camera as one Example of the information processing apparatus of this invention. 本発明の情報処理装置の一実施例としてのPCの構成例について説明する図である。It is a figure explaining the structural example of PC as one Example of the information processing apparatus of this invention.

符号の説明Explanation of symbols

101 ホスト
102 加速度センサ
103 第1メディア(HDD)
104 電源a
111 バススイッチ
112 電源スイッチ
113 バス
153 第1メディア(HDD)
154 電源a
155 第2メディア(DVD)
156 電源b
201 ホスト
202 加速度センサ
203 第1メディア(HDD)
204 電源a
205 第2メディア(DVD)
206 電源b
211 バススイッチ
212 電源スイッチ
213 電源スイッチ
214 バス
281 アプリケーション
282 ファイルシステム
283 デバイスドライバ
284 情報記録媒体
300 アプリケーション
301 記録アプリケーション
302 再生アプリケーション
310 ファイルシステム
311,312 マウントドライブ情報
320,330 ファイルシステム
350,351,352 デバイスドライバ
361,362 情報記録媒体
370 メモリ
401 制御部(CPU)
402 カメラ機能制御部
411 光学レンズ部
412 光電変換部
413 画像信号処理部
414 画像入出力部
415 液晶ディスプレイ
416 音声入出力部
417 音声処理部
418 内蔵メモリ(RAM)
419 内蔵メモリ(ROM)
420 操作入力部
431 通信部
432 ドライブ
441 電源
451 加速度センサ
501 CPU(Central Processing Unit)
502 ROM(Read-Only-Memory)
503 RAM(Random Access Memory)
504 ホストバス
505 ブリッジ
506 外部バス
507 インタフェース
508 キーボード
509 ポインティングデバイス
510 ディスプレイ
511 HDD(Hard Disk Drive)
512 ドライブ
514 接続ポート
515 通信部
516 加速度センサ
521 リムーバブル記録媒体
522 外部接続機器
101 Host 102 Acceleration sensor 103 First medium (HDD)
104 Power supply a
111 Bus switch 112 Power switch 113 Bus 153 First medium (HDD)
154 Power supply a
155 Second media (DVD)
156 Power supply b
201 Host 202 Acceleration sensor 203 First medium (HDD)
204 Power supply a
205 Second media (DVD)
206 Power supply b
211 Bus switch 212 Power switch 213 Power switch 214 Bus 281 Application 282 File system 283 Device driver 284 Information recording medium 300 Application 301 Recording application 302 Playback application 310 File system 311, 312 Mount drive information 320, 330 File system 350, 351, 352 Device driver 361, 362 Information recording medium 370 Memory 401 Control unit (CPU)
402 Camera Function Control Unit 411 Optical Lens Unit 412 Photoelectric Conversion Unit 413 Image Signal Processing Unit 414 Image Input / Output Unit 415 Liquid Crystal Display 416 Audio Input / Output Unit 417 Audio Processing Unit 418 Built-in Memory (RAM)
419 Internal memory (ROM)
420 Operation Input Unit 431 Communication Unit 432 Drive 441 Power Supply 451 Acceleration Sensor 501 CPU (Central Processing Unit)
502 ROM (Read-Only-Memory)
503 RAM (Random Access Memory)
504 Host bus 505 Bridge 506 External bus 507 Interface 508 Keyboard 509 Pointing device 510 Display 511 HDD (Hard Disk Drive)
512 Drive 514 Connection port 515 Communication unit 516 Acceleration sensor 521 Removable recording medium 522 External connection device

Claims (19)

HDD(ハードディスクドライブ)によって構成される第1メディアと、
HDD以外の第2メディアと、
前記第1メディアまたは第2メディアを利用したデータ記録または再生処理を実行する制御手段を有し、
前記制御手段は、
前記第1メディアまたは第2メディアを利用した記録または再生処理を実行した際に、いずれのメディアを利用したかを示す利用メディア識別フラグをメモリに記録する処理を実行し、
新たに前記第1メディアまたは第2メディアを利用した記録または再生処理を実行する際に、前記利用メディア識別フラグを読み取り、読み取った利用メディア識別フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行う構成であることを特徴とする情報処理装置。
A first medium constituted by an HDD (Hard Disk Drive);
A second medium other than the HDD;
Control means for executing data recording or reproduction processing using the first medium or the second medium;
The control means includes
When recording or playback processing using the first media or the second media is executed, a processing is performed for recording a used media identification flag indicating which media is used in a memory;
When newly executing the recording or reproduction process using the first medium or the second medium, the used medium identification flag is read, and information is read according to the read used medium identification flag and the type of medium scheduled to be used. An information processing apparatus comprising: a control for switching whether or not to perform a drop detection control for performing a head retracting process of a hard disk based on a drop detection of a processing apparatus.
前記制御手段は、
利用予定のメディアが、第1メディア(HDD)である場合には、落下検出制御を行う設定とする制御を行う構成であることを特徴とする請求項1に記載の情報処理装置。
The control means includes
2. The information processing apparatus according to claim 1, wherein when the medium to be used is a first medium (HDD), the information processing apparatus is configured to perform control for setting to perform drop detection control.
前記制御手段は、
利用予定のメディアが、第2メディア(HDD以外)である場合には、落下検出制御を行わない設定とする制御を行う構成であることを特徴とする請求項1に記載の情報処理装置。
The control means includes
2. The information processing apparatus according to claim 1, wherein when a medium to be used is a second medium (other than an HDD), the information processing apparatus is configured to perform control so that the drop detection control is not performed.
前記制御手段は、
利用予定のメディアが、第1メディア(HDD)であり、
前記利用メディア識別フラグが、第2メディア(HDD以外)を利用したことを示している場合、
落下検出制御を行う設定に変更する処理を実行する構成であることを特徴とする請求項1に記載の情報処理装置。
The control means includes
The media to be used is the first media (HDD),
When the use media identification flag indicates that the second media (other than the HDD) is used,
The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to execute a process of changing to a setting for performing drop detection control.
前記制御手段は、
利用予定のメディアが、第2メディア(HDD以外)であり、
前記利用メディア識別フラグが、第1メディア(HDD)を利用したことを示している場合、
第1メディア(HDD)のヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行する構成であることを特徴とする請求項1に記載の情報処理装置。
The control means includes
The media scheduled to be used is the second media (other than HDD),
When the use media identification flag indicates that the first media (HDD) is used,
The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to execute a head retraction process of a first medium (HDD) to perform a process of changing to a setting that does not perform drop detection control.
前記制御手段は、
利用予定のメディアが、第2メディア(HDD以外)であり、
前記利用メディア識別フラグが、第1メディア(HDD)を利用した記録処理を実行したことを示している場合、
第1メディア(HDD)内の内部キャッシュの掃き出し処理を行い、ヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行する構成であることを特徴とする請求項1に記載の情報処理装置。
The control means includes
The media scheduled to be used is the second media (other than HDD),
When the use media identification flag indicates that a recording process using the first media (HDD) has been executed,
2. The configuration according to claim 1, wherein the internal cache in the first medium (HDD) is swept out, the head evacuation process is performed, and the processing is changed to a setting in which the drop detection control is not performed. The information processing apparatus described.
前記制御手段は、
前記第1メディアまたは第2メディアを利用した記録処理を実行した際に、いずれのメディアを利用した記録処理を実行したかを示す記録先フラグをメモリに記録し、
前記第1メディアまたは第2メディアを利用した再生処理を実行した際に、いずれのメディアを利用した再生処理を実行したかを示す再生元フラグをメモリに記録する処理を実行する構成であり、
新たに前記第1メディアまたは第2メディアを利用した記録処理を実行する際には、前記記録先フラグを読み取り、読み取った記録先フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行い、
新たに前記第1メディアまたは第2メディアを利用した再生処理を実行する際には、前記再生元フラグを読み取り、読み取った再生元フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行う構成であることを特徴とする請求項1〜6いずれかに記載の情報処理装置。
The control means includes
When a recording process using the first medium or the second medium is executed, a recording destination flag indicating which recording process is used is recorded in the memory,
When the playback process using the first medium or the second medium is executed, a process of recording in the memory a playback source flag indicating which of the media is used for the playback process is executed.
When a recording process using the first medium or the second medium is newly executed, the recording destination flag is read, and the information processing apparatus determines whether to read the recording destination flag and the type of the medium to be used. Performs control to switch whether or not to perform fall detection control that performs hard disk head retraction processing based on fall detection,
When a playback process using the first medium or the second medium is newly executed, the playback source flag is read, and according to the read source flag and the type of the medium scheduled to be used, The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to perform control for switching whether or not to perform drop detection control for performing head retraction processing of a hard disk based on drop detection.
前記制御手段は、
前記落下検出制御の実行中に、落下検出情報を入力した場合、
前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを切断し、
前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なう構成であることを特徴とする請求項1〜7いずれかに記載の情報処理装置。
The control means includes
When the fall detection information is input during the execution of the fall detection control,
Disconnect the bus connecting the first medium (HDD) and the second medium (other than the HDD),
The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to perform a process of turning off power to the first medium (HDD) and the second medium (other than the HDD).
前記制御手段は、
前記落下検出制御の実行中に、落下検出情報を入力し、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なった後の復帰処理において、
前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオンとする処理を実行した後、前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを接続する処理を実行する構成であることを特徴とする請求項1〜8いずれかに記載の情報処理装置。
The control means includes
In the return process after performing the process of inputting the fall detection information and turning off the power of the first medium (HDD) and the second medium (other than the HDD) during the execution of the drop detection control,
A process of connecting a bus connecting the first medium (HDD) and the second medium (other than the HDD) after executing the process of turning on the power of the first medium (HDD) and the second medium (other than the HDD) The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to execute
HDD(ハードディスクドライブ)によって構成される第1メディアと、HDD以外の第2メディアとを選択的に利用してデータ記録または再生処理を実行する情報処理装置において実行する情報処理方法であり、
制御手段が、前記第1メディアまたは第2メディアを利用した記録または再生処理を実行した際に、いずれのメディアを利用したかを示す利用メディア識別フラグをメモリに記録するフラグ記録ステップと、
前期制御手段が、新たに前記第1メディアまたは第2メディアを利用した記録または再生処理を実行する際に、前記利用メディア識別フラグを読み取り、読み取った利用メディア識別フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行う落下検出制御設定ステップと、
を実行することを特徴とする情報処理方法。
An information processing method executed in an information processing apparatus that performs data recording or reproduction processing by selectively using a first medium constituted by an HDD (hard disk drive) and a second medium other than the HDD,
A flag recording step of recording, in the memory, a used media identification flag indicating which media is used when the control means executes recording or playback processing using the first media or the second media;
When the previous period control means newly executes recording or playback processing using the first medium or the second medium, the used medium identification flag is read, and the read used medium identification flag and the type of medium to be used are read. A drop detection control setting step for performing control to switch whether or not to perform drop detection control for performing head retraction processing of the hard disk based on the drop detection of the information processing device,
The information processing method characterized by performing.
前記落下検出制御設定ステップは、
利用予定のメディアが、第1メディア(HDD)である場合には、落下検出制御を行う設定とする制御を行うステップであることを特徴とする請求項10に記載の情報処理方法。
The fall detection control setting step includes:
The information processing method according to claim 10, wherein when the medium scheduled to be used is a first medium (HDD), the step of performing control for setting to perform drop detection control is performed.
前記落下検出制御設定ステップは、
利用予定のメディアが、第2メディア(HDD以外)である場合には、落下検出制御を行わない設定とする制御を行うステップであることを特徴とする請求項10に記載の情報処理方法。
The fall detection control setting step includes:
11. The information processing method according to claim 10, wherein when the medium scheduled to be used is a second medium (other than an HDD), the step of performing control for setting to not perform drop detection control is performed.
前記落下検出制御設定ステップは、
利用予定のメディアが、第1メディア(HDD)であり、
前記利用メディア識別フラグが、第2メディア(HDD以外)を利用したことを示している場合、
落下検出制御を行う設定に変更する処理を実行するステップであることを特徴とする請求項10に記載の情報処理方法。
The fall detection control setting step includes:
The media to be used is the first media (HDD),
When the use media identification flag indicates that the second media (other than the HDD) is used,
The information processing method according to claim 10, wherein the information processing method is a step of executing a process of changing to a setting for performing drop detection control.
前記情報処理方法において、さらに、
前記制御部は、
利用予定のメディアが、第2メディア(HDD以外)であり、
前記利用メディア識別フラグが、第1メディア(HDD)を利用したことを示している場合、
第1メディア(HDD)のヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行することを特徴とする請求項10に記載の情報処理方法。
In the information processing method,
The controller is
The media scheduled to be used is the second media (other than HDD),
When the use media identification flag indicates that the first media (HDD) is used,
11. The information processing method according to claim 10, wherein a head retraction process of the first medium (HDD) is executed to perform a process of changing to a setting that does not perform drop detection control.
前記情報処理方法において、さらに、
前記制御部は、
利用予定のメディアが、第2メディア(HDD以外)であり、
前記利用メディア識別フラグが、第1メディア(HDD)を利用した記録処理を実行したことを示している場合、
第1メディア(HDD)内の内部キャッシュの掃き出し処理を行い、ヘッド退避処理を実行して、落下検出制御を行わない設定に変更する処理を実行することを特徴とする請求項10に記載の情報処理方法。
In the information processing method,
The controller is
The media scheduled to be used is the second media (other than HDD),
When the use media identification flag indicates that a recording process using the first media (HDD) has been executed,
11. The information according to claim 10, wherein a process of sweeping out the internal cache in the first medium (HDD), executing a head retracting process, and changing to a setting not performing drop detection control are performed. Processing method.
前記フラグ記録ステップは、
前記第1メディアまたは第2メディアを利用した記録処理を実行した際に、いずれのメディアを利用した記録処理を実行したかを示す記録先フラグをメモリに記録し、
前記第1メディアまたは第2メディアを利用した再生処理を実行した際に、いずれのメディアを利用した再生処理を実行したかを示す再生元フラグをメモリに記録する処理を実行するステップであり、
前記落下検出制御設定ステップは、
新たに前記第1メディアまたは第2メディアを利用した記録処理を実行する際には、前記記録先フラグを読み取り、読み取った記録先フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行い、
新たに前記第1メディアまたは第2メディアを利用した再生処理を実行する際には、前記再生元フラグを読み取り、読み取った再生元フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行うステップであることを特徴とする請求項10〜15いずれかに記載の情報処理方法。
The flag recording step includes
When a recording process using the first medium or the second medium is executed, a recording destination flag indicating which recording process is used is recorded in the memory,
A step of executing a process of recording in a memory a reproduction source flag indicating which of the media has been used when the reproduction process using the first medium or the second medium is performed;
The fall detection control setting step includes:
When a recording process using the first medium or the second medium is newly executed, the recording destination flag is read, and the information processing apparatus determines whether to read the recording destination flag and the type of the medium to be used. Performs control to switch whether or not to perform fall detection control that performs hard disk head retraction processing based on fall detection,
When a playback process using the first medium or the second medium is newly executed, the playback source flag is read, and according to the read source flag and the type of the medium scheduled to be used, 16. The information processing method according to claim 10, which is a step of performing control for switching whether or not to perform drop detection control for performing a head retracting process of a hard disk based on fall detection.
前記情報処理方法において、さらに、
前記制御手段は、前記落下検出制御の実行中に、落下検出情報を入力した場合、
前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを切断し、
前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なうことを特徴とする請求項10〜16いずれかに記載の情報処理方法。
In the information processing method,
When the control means inputs the fall detection information during the execution of the fall detection control,
Disconnect the bus connecting the first medium (HDD) and the second medium (other than the HDD),
The information processing method according to any one of claims 10 to 16, wherein a process of turning off the power of the first medium (HDD) and the second medium (other than the HDD) is performed.
前記情報処理方法において、さらに、
前記制御手段は、
前記落下検出制御の実行中に、落下検出情報を入力し、前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオフとする処理を行なった後の復帰処理において、
前記第1メディア(HDD)および第2メディア(HDD以外)の電源をオンとする処理を実行した後、前記第1メディア(HDD)および第2メディア(HDD以外)を接続するバスを接続する処理を実行することを特徴とする請求項10〜17いずれかに記載の情報処理方法。
In the information processing method,
The control means includes
In the return process after performing the process of inputting the fall detection information and turning off the power of the first medium (HDD) and the second medium (other than the HDD) during the execution of the drop detection control,
A process of connecting a bus connecting the first medium (HDD) and the second medium (other than the HDD) after executing the process of turning on the power of the first medium (HDD) and the second medium (other than the HDD) The information processing method according to claim 10, wherein the information processing method is executed.
HDD(ハードディスクドライブ)によって構成される第1メディアと、HDD以外の第2メディアとを選択的に利用してデータ記録または再生処理を実行する情報処理装置において情報処理を実行させるコンピュータ・プログラムであり、
制御手段に、前記第1メディアまたは第2メディアを利用した記録または再生処理を実行した際に、いずれのメディアを利用したかを示す利用メディア識別フラグをメモリに記録させるフラグ記録ステップと、
前期制御手段に、新たに前記第1メディアまたは第2メディアを利用した記録または再生処理を実行する際に、前記利用メディア識別フラグを読み取り、読み取った利用メディア識別フラグと、利用予定のメディアの種類に応じて、情報処理装置の落下検出に基づくハードディスクのヘッド退避処理を行なう落下検出制御を行うか否かを切り替える制御を行わせる落下検出制御設定ステップと、
を実行させることを特徴とするコンピュータ・プログラム。
A computer program that executes information processing in an information processing apparatus that performs data recording or reproduction processing by selectively using a first medium constituted by an HDD (hard disk drive) and a second medium other than the HDD. ,
A flag recording step for causing the control means to record a used medium identification flag indicating which medium is used in a memory when the recording or reproducing process using the first medium or the second medium is executed;
When the first-time control means newly performs recording or playback processing using the first medium or the second medium, the used medium identification flag is read, and the read used medium identification flag and the type of medium to be used are read. A drop detection control setting step for performing a control to switch whether or not to perform a drop detection control for performing a head retraction process of the hard disk based on a drop detection of the information processing device,
A computer program for executing
JP2007056668A 2007-03-07 2007-03-07 Information processor, information processing method and computer program Pending JP2008217634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007056668A JP2008217634A (en) 2007-03-07 2007-03-07 Information processor, information processing method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007056668A JP2008217634A (en) 2007-03-07 2007-03-07 Information processor, information processing method and computer program

Publications (1)

Publication Number Publication Date
JP2008217634A true JP2008217634A (en) 2008-09-18

Family

ID=39837571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007056668A Pending JP2008217634A (en) 2007-03-07 2007-03-07 Information processor, information processing method and computer program

Country Status (1)

Country Link
JP (1) JP2008217634A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030139A (en) * 2011-07-29 2013-02-07 Toshiba Corp Information processor and disk device control method
JP2015207166A (en) * 2014-04-21 2015-11-19 株式会社バッファロー Disk drive device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030139A (en) * 2011-07-29 2013-02-07 Toshiba Corp Information processor and disk device control method
JP2015207166A (en) * 2014-04-21 2015-11-19 株式会社バッファロー Disk drive device and program

Similar Documents

Publication Publication Date Title
KR101702201B1 (en) Optimized context drop for a solid state drive(ssd)
JP2007035217A (en) Data saving processing method of disk storage device and disk storage system
JP2007059014A (en) Information recorder, information recording method and computer program
JP2007208864A (en) Information processing apparatus, imaging device, information processing method, and computer program
US20080244173A1 (en) Storage device using nonvolatile cache memory and control method thereof
JP2006293785A (en) Recording apparatus
JP4798037B2 (en) Hard disk drive status monitoring device and hard disk drive status monitoring method
JP2008217634A (en) Information processor, information processing method and computer program
JP2008198322A5 (en)
US7694071B1 (en) Disk drives and methods allowing configurable zoning
KR20190089796A (en) Video managing apparatus and method of surveillance systems
US20080226264A1 (en) Recording medium handling apparatus and method
JP2008251129A (en) Information processor and information processing method, and computer program
JP2010033396A (en) Information processor, information processing method, and program
JP2021087204A (en) Recording device and control method thereof
JP2009059444A (en) Information processing device and information processing method
JP2006244413A (en) Data storage system
US20090172454A1 (en) Information recording device and information recording method
JP2006018955A (en) Optical disk device and optical disk library device
JP7458755B2 (en) Recording device and method of controlling the recording device
US7894153B2 (en) Secure data disposal for disk drive
JP2010015385A (en) Information processing apparatus, information processing method, and program
JP2008269726A (en) Recording and reproducing device
JP2010135034A (en) Information recording/reproducing device
US20110128831A1 (en) Method of using backup image of optical disc