JP4390795B2 - Navigation system - Google Patents
Navigation system Download PDFInfo
- Publication number
- JP4390795B2 JP4390795B2 JP2006289611A JP2006289611A JP4390795B2 JP 4390795 B2 JP4390795 B2 JP 4390795B2 JP 2006289611 A JP2006289611 A JP 2006289611A JP 2006289611 A JP2006289611 A JP 2006289611A JP 4390795 B2 JP4390795 B2 JP 4390795B2
- Authority
- JP
- Japan
- Prior art keywords
- hard disk
- defragment
- defragmentation
- data
- navigation system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims description 171
- 238000012545 processing Methods 0.000 claims description 59
- 239000012634 fragment Substances 0.000 claims description 18
- 230000006870 function Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 6
- 230000007423 decrease Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000005339 levitation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Traffic Control Systems (AREA)
- Navigation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
本発明は、記録媒体に記録された地図データを用いてナビゲーションを行うナビゲーションシステムに関し、特に、地図データを格納するハードディスクを備えたナビゲーションシステムの技術分野に属するものである。 The present invention relates to a navigation system that performs navigation using map data recorded on a recording medium, and particularly relates to the technical field of a navigation system including a hard disk that stores map data.
従来から、DVD−ROMドライブやCD−ROMドライブを搭載し、記録媒体としてのDVD−ROMやCD−ROMに記録された地図データを読み出してナビゲーション動作を行うナビゲーションシステムが広く用いられている。一方、このような記録媒体とは別に大容量で不揮発性の記憶手段として、例えばハードディスクをナビゲーションシステムに搭載することも考えられる。ハードディスクは、DVD−ROM等と比較してアクセス速度が高速であるため、地図データに基づく表示画面を高速に描画できるという点で大きなメリットがある。また、DVD−ROMドライブからハードディスクに地図データを転送してナビゲーションに用いれば、ナビゲーション中であってもDVD−ROMドライブ等を音楽再生や画像再生などの用途に活用できる点で有用である。 2. Description of the Related Art Conventionally, navigation systems that are equipped with a DVD-ROM drive or a CD-ROM drive and read out map data recorded on a DVD-ROM or CD-ROM as a recording medium and perform a navigation operation have been widely used. On the other hand, for example, a hard disk may be installed in the navigation system as a large-capacity nonvolatile storage means apart from such a recording medium. Since a hard disk has a higher access speed than a DVD-ROM or the like, it has a great advantage in that a display screen based on map data can be drawn at a high speed. Further, if map data is transferred from a DVD-ROM drive to a hard disk and used for navigation, it is useful in that the DVD-ROM drive or the like can be used for music reproduction or image reproduction even during navigation.
一般に、ハードディスクのファイルシステムでは、格納すべきデータに対応するファイルの書き込みに際し、本来は連続した空き領域を割り当てて書き込む。しかし、ハードディスクに多数のファイルが書き込まれて空き領域が減少した場合は、連続した領域ではなく不連続なデータ断片に細かく分断された状態でファイルが書き込まれることになる。そして、このように不連続なデータ断片に分断配置されたファイルを読み出す際は、ファイルに対するアクセス速度の低下を余儀なくされる。 In general, in a file system of a hard disk, when writing a file corresponding to data to be stored, a continuous free area is originally allocated and written. However, when a large number of files are written on the hard disk and the free space is reduced, the file is written in a state of being divided into discontinuous data fragments instead of continuous regions. Then, when reading a file that is divided into discontinuous data fragments in this way, the access speed to the file must be reduced.
一方、このようなアクセス速度の低下を防止する手法として、従来からハードディスクに対するデフラグメント処理が一般的に知られている。かかるデフラグメント処理は、格納されたファイル毎の複数のデータ断片を連続領域に移動させ、不連続な分断状態の解消を図るものである。そして、ユーザが必要に応じてデフラグメント処理用のソフトウェアを起動することにより、デフラグメント処理が開始され、ハードディスクのアクセス速度の低下を有効に防止することができる。 On the other hand, as a technique for preventing such a decrease in access speed, a defragment process for a hard disk has been generally known. In this defragmentation process, a plurality of data fragments for each stored file are moved to a continuous area, and a discontinuous division state is resolved. Then, when the user activates the software for defragment processing as necessary, the defragment processing is started, and a decrease in the access speed of the hard disk can be effectively prevented.
しかしながら、ナビゲーションシステムにおいてハードディスクのデフラグメント処理を実現しようとすると、デフラグメント処理の途中でエンジンが停止する場合や、ナビゲーションが起動されてハードディスクの地図データの読み出しが必要になる場合など、種々の事態が生じてデフラグメント処理の実行に支障を来すおそれがある。このような事態をデフラグメント処理の開始前や実行中にユーザが自ら判断することは煩雑で負担が大きい。そのため、ハードディスクに対する有効なデフラグメント処理を行うことができず、地図データに対応するファイルの読み出しに時間を要し、本来アクセス速度が高速なハードディスクのメリットを活かした迅速なナビゲーションの実行が困難なることが問題となる。 However, when trying to implement hard disk defragmentation in the navigation system, there are various situations, such as when the engine stops in the middle of defragmentation, or when navigation is activated and it is necessary to read the hard disk map data. May occur, which may hinder the execution of the defragmentation process. It is cumbersome and burdensome for the user to determine such a situation before the start of defragmentation processing or during execution. For this reason, effective defragmentation processing cannot be performed on the hard disk, and it takes time to read out the file corresponding to the map data, making it difficult to execute quick navigation that takes advantage of the hard disk that originally has a high access speed. Is a problem.
そこで、本発明はこのような問題に鑑みなされたものであり、ナビゲーションシステムにハードディスクを搭載し、必要に応じてハードディスクに対するデフラグメント処理を行い、アクセス時間を高速に保って快適なナビゲーションを実現可能なナビゲーションシステムを提供することを目的とする。 Therefore, the present invention has been made in view of such problems, and a hard disk is mounted on the navigation system, and defragment processing is performed on the hard disk as necessary, so that a comfortable navigation can be realized while maintaining a high access time. Is to provide a simple navigation system.
上記課題を解決するために、請求項1に記載の発明は、現在位置を検出して地図データに基づくナビゲーションを行うナビゲーションシステムであって、地図データに対応するファイルの書き込みと読み出しが可能な不揮発性の格納手段と、地図データを用いてナビゲーション動作を制御するナビゲーション制御手段と、所定のタイミングで前記格納手段に対するデフラグメント処理を施すデフラグメント処理手段と、車両のエンジン動作状態を検知するエンジンセンサと、を備え、前記デフラグメント処理手段は、デフラグメント処理の実行中に前記エンジンセンサの出力を監視し、エンジンが停止したとき、デフラグメント処理を中断することを特徴とする。 In order to solve the above-mentioned problem, the invention described in claim 1 is a navigation system that detects a current position and performs navigation based on map data, and is a nonvolatile system capable of writing and reading a file corresponding to the map data. Storage means, navigation control means for controlling navigation operation using map data, defragment processing means for performing defragment processing on the storage means at a predetermined timing, and engine sensor for detecting the engine operating state of the vehicle The defragmenting means monitors the output of the engine sensor during execution of the defragmentation process, and interrupts the defragmentation process when the engine is stopped.
この発明によれば、ナビゲーションシステムは、例えばハードディスク等の格納手段を備え、地図データの読み書きができる。この地図データを用いてナビゲーション制御手段がナビゲーション動作を行うと共に、デフラグメント処理手段が格納手段に対しデフラグメント処理を実行する。よって、ナビゲーションに伴い地図データの読み書きが頻繁に行われた場合であっても、デフラグメント処理により格納手段におけるデータ配置が適正に保たれ、アクセス速度の低下が有効に防止される。 According to the present invention, the navigation system includes storage means such as a hard disk and can read and write map data. The navigation control means performs a navigation operation using the map data, and the defragment processing means executes the defragment processing on the storage means. Therefore, even when the map data is frequently read and written with navigation, the data arrangement in the storage means is properly maintained by the defragmentation process, and the decrease in the access speed is effectively prevented.
また、デフラグメント処理が開始されると、エンジンセンサの出力が監視され、そのセンサ出力からエンジンが停止したことが判明した場合、実行中のデフラグメント処理が中断される。よって、エンジン停止時にデフラグメント処理による過大なバッテリー消費を防止することができる。 Further, when the defragmenting process is started, the output of the engine sensor is monitored, and when it is determined from the sensor output that the engine has stopped, the ongoing defragmenting process is interrupted. Therefore, excessive battery consumption due to defragmentation processing when the engine is stopped can be prevented.
請求項2に記載の発明は、請求項1に記載のナビゲーションシステムにおいて、前記デフラグメント処理手段は、同一ファイル内に属する分断配置された複数のデータ断片を整列配置することを特徴とする。 According to a second aspect of the present invention, in the navigation system according to the first aspect, the defragment processing means arranges and arranges a plurality of divided data fragments belonging to the same file.
この発明によれば、格納手段に対するデフラグメント処理は、同一ファイル内に属する分断配置された複数のデータ断片を整列配置するようにしたので、格納手段に書き込みを繰り返した場合、データの配置が整理され、格納手段のアクセス速度の低下が有効に防止される。 According to the present invention, since the defragment processing for the storage means arranges a plurality of divided data fragments belonging to the same file in an aligned manner, the arrangement of data is organized when writing to the storage means is repeated. Thus, a decrease in the access speed of the storage means is effectively prevented.
請求項3に記載の発明は、請求項1に記載のナビゲーションシステムにおいて、前記格納手段は、ハードディスク装置内に設けられたハードディスクであることを特徴とする。 According to a third aspect of the present invention, in the navigation system according to the first aspect, the storage means is a hard disk provided in a hard disk device.
この発明によれば、格納手段としてハードディスクディスクを用いるため、大容量であると共に汎用性が高く、アクセス速度が高速で、しかも繰り返し地図データを読み書きした際に有効なデフラグメント処理を施して、アクセス速度を常に高速に保持することが可能となる。 According to the present invention, since the hard disk is used as the storage means, it has a large capacity, is highly versatile, has a high access speed, and performs an effective defragmentation process when repeatedly reading / writing map data, thereby providing access. It becomes possible to always keep the speed high.
請求項4に記載の発明は、請求項3に記載のナビゲーションシステムにおいて、前記ハードディスク装置は、前記ハードディスクの情報の書き込みと読み出しを行うヘッドと、前記ヘッドを前記ハードディスク上から待避させる待避位置を備え、前記デフラグメント処理手段は、デフラグメントを行う際に、特定のデータを前記待避位置近傍に整列配置させることを特徴とする。 According to a fourth aspect of the present invention, in the navigation system according to the third aspect, the hard disk device includes a head for writing and reading information on the hard disk, and a retreat position for retracting the head from the hard disk. The defragment processing means arranges specific data in the vicinity of the retracted position when performing defragmentation.
この発明によれば、ハードディスク装置では、デフラグメントに際して、特定のデータをヘッドの待避位置近傍に整列配置させるようにしたので、ハードディスクのアクセス性能を考慮したデフラグメント処理を行うことができる。 According to the present invention, in the hard disk device, when defragmenting, specific data is arranged and arranged in the vicinity of the head retracting position, and therefore, defragmentation processing considering the access performance of the hard disk can be performed.
請求項5に記載の発明は、請求項1に記載のナビゲーションシステムにおいて、前記格納手段に対するデフラグメント処理の実行を指示可能な操作手段を更に備え、前記デフラグメント処理手段は、前記操作手段による実行指示に従ってデフラグメント処理を実行することを特徴とする。 According to a fifth aspect of the present invention, in the navigation system according to the first aspect, the navigation system further includes an operation unit capable of instructing the storage unit to execute a defragment process, and the defragment process unit is executed by the operation unit. The defragmentation process is executed according to the instruction.
この発明によれば、操作手段によりデフラグメント処理の実行が指示された場合、格納手段に対するデフラグメント処理が開始されるので、ユーザの意志を反映して格納手段を整理でき、地図データ等のアクセス速度を高速に保って快適なナビゲーションを行うことができる。 According to this invention, when execution of the defragment processing is instructed by the operation means, the defragment processing for the storage means is started, so that the storage means can be organized reflecting the user's intention, and access to map data, etc. Comfortable navigation can be performed while maintaining high speed.
請求項6に記載の発明は、請求項1に記載のナビゲーションシステムにおいて、前記デフラグメント処理手段は、実行中のデフラグメント処理が中断されたとき、デフラグメント処理の進行状況を示すデフラグメント進行データを保存することを特徴とする。 According to a sixth aspect of the present invention, in the navigation system according to the first aspect, the defragmentation processing means is a defragmentation progress data indicating a progress of the defragmentation process when the ongoing defragmentation process is interrupted. It is characterized by preserve | saving.
この発明によれば、デフラグメント処理が上述のように途中で中断された場合、いったんデフラグメント進行データを保存するようにしたので、中断されたデフラグメント処理の進行状況を後で把握することができ、例えばデフラグメント処理を自在に再開するなど利便性を高めることができる。 According to the present invention, when the defragmentation process is interrupted halfway as described above, the defragmentation progress data is once saved, so that the progress of the interrupted defragmentation process can be grasped later. For example, it is possible to improve convenience such as resuming the defragmentation process freely.
請求項7に記載の発明は、請求項6に記載のナビゲーションシステムにおいて、前記デフラグメント処理手段は、デフラグメント処理が中断された後、停止中のエンジンが起動したとき、前記デフラグメント進行データに基づいてデフラグメント処理を再開することを特徴とする。 According to a seventh aspect of the present invention, in the navigation system according to the sixth aspect, when the defragmenting processing unit interrupts the defragmenting process and then starts the stopped engine, the defragmenting processing means Based on this, the defragmentation process is restarted.
この発明によれば、エンジン停止に伴いデフラグメント処理が中断された後に再びエンジンが起動すると、上述のように保存されているデフラグメント進行データに基づいてデフラグメント処理が再開される。よって、デフラグメント処理の途中でエンジンが停止した場合であっても、無駄な処理を行うことなくデフラグメント処理を引き続き実行することができる。 According to the present invention, when the engine is started again after the defragmentation process is interrupted when the engine is stopped, the defragmentation process is resumed based on the defragmenting progress data stored as described above. Therefore, even when the engine is stopped in the middle of the defragmentation process, the defragmentation process can be continuously executed without performing unnecessary processes.
請求項8に記載の発明は、請求項7に記載のナビゲーションシステムにおいて、中断されたデフラグメント処理を再開するに先立って、該デフラグメント処理を再開するか又は中止するかを選択的に入力させる選択入力手段を更に備えることを特徴とする。 According to an eighth aspect of the present invention, in the navigation system according to the seventh aspect, prior to restarting the interrupted defragmentation process, whether to restart or cancel the defragmentation process is selectively input. It further comprises a selection input means.
この発明によれば、途中で中断されたデフラグメント処理が再開可能となったとき、選択入力手段が例えば選択画面に表示を行い、ユーサにデフラグメント処理を再開するか、あるいは中止するかを選択させるようにした。よって、デフラグメント処理を続行する必要性や、他の処理との兼ね合いなどを考慮し、ユーザの事情に応じてデフラグメント処理を続行するか否かを決定することができる。 According to the present invention, when the defragmentation process interrupted in the middle can be resumed, the selection input means displays, for example, on the selection screen, and selects whether to resume or cancel the defragmentation process to the user I tried to make it. Therefore, it is possible to determine whether or not to continue the defragmentation process according to the circumstances of the user in consideration of the necessity of continuing the defragmentation process and the balance with other processes.
請求項9に記載の発明は、請求項1に記載のナビゲーションシステムにおいて、前記デフラグメント処理手段は、デフラグメント処理の実行中にナビゲーションが起動したとき、デフラグメント処理を中断することを特徴とする。 The invention described in claim 9 is the navigation system according to claim 1, wherein the defragment processing means interrupts the defragment process when navigation is activated during the execution of the defragment process. .
この発明によれば、デフラグメント処理が開始された後、ナビゲーションが起動された場合、実行中のデフラグメント処理が中断される。よって、地図データを取得するため格納手段にアクセスする場合であっても、データ破壊等の不具合を防止することができる。 According to the present invention, when the navigation is started after the defragment process is started, the defragment process being executed is interrupted. Therefore, even when the storage means is accessed to acquire map data, problems such as data destruction can be prevented.
請求項10に記載の発明は、請求項1に記載のナビゲーションシステムにおいて、前記デフラグメント処理手段は、車両が停止中であって当該車両のエンジンが作動している場合にデフラグメント処理を実行することを特徴とする。 The invention according to claim 10, in the navigation system according to claim 1, wherein the defragment processing means, defragment process when the vehicle is you are operating the engine of the vehicle Oh A suspended It is characterized by doing.
この発明によれば、車両の走行状態に基づき、走行中ではなく停止中に(エンジンは作動)上述のデフラグメント処理を自動的に実行するようにしたので、ナビゲーション起動時に新たに地図データを取得しなくてもよく、格納手段にアクセスがないタイミングでデフラグメント処理を行うことができる。 According to the present invention, since the above-described defragmentation process is automatically executed based on the running state of the vehicle while the vehicle is not running but stopped (the engine is operating) , new map data is acquired at the time of navigation activation. The defragmentation process can be performed at a timing when the storage means is not accessed.
以下、本発明の好適な実施の形態を図面に基づいて説明する。 DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings.
図1は、本実施形態に係るナビゲーションシステムの全体構成を示すブロック図である。図1に示すナビゲーションシステムは、CPU11と、ROM12と、RAM13と、DVD−ROMドライブ14と、ハードディスク15と、センサ部16と、GPS受信部17と、インターフェース18と、操作部19と、ディスプレイ20と、表示制御部21と、バッファメモリ22と、音声処理回路23と、スピーカ24とを備えて構成されている。
FIG. 1 is a block diagram showing the overall configuration of the navigation system according to this embodiment. The navigation system shown in FIG. 1 includes a
図1においてCPU11は、ナビゲーションシステム全体の動作を制御する。CPU11は、ナビゲーションシステムの各構成要素と接続され、ROM12に格納される制御プログラムを読み出して実行し、RAM13に処理中のデータを一時的に保持する。CPU11は、本発明のナビゲーション制御手段、デフラグメント処理手段として機能する。
In FIG. 1, the
DVD−ROMドライブ14は、本発明の読み出し手段として機能し、地図データを記憶するDVD−ROM1を装着して、この地図データの読み出し動作を行う。DVD−ROM1は、片面1層で4.7Gバイト、片面2層で8.5Gバイトの大記憶容量の記録媒体であり、ディスク上に記録データに対応したピットが形成されており、DVD−ROMドライブ14のピックアップを用いて記録データが読み出される。 The DVD-ROM drive 14 functions as a reading means of the present invention, and is loaded with a DVD-ROM 1 for storing map data, and performs a map data reading operation. The DVD-ROM 1 is a recording medium having a large storage capacity of 4.7 GB on one side and 8.5 GB on two sides, and a pit corresponding to the recording data is formed on the disc. The recorded data is read using the pickup of the drive 14.
DVD−ROM1には、ナビゲーション動作に必要な道路形状データを含む地図データが記憶され、更に関連する施設データ、名称データなどの各種関連データが道路形状データに対応付けられて記憶されている。例えば、全体地図をメッシュ状の単位領域としてのブロックに分割し、各ブロックに対して地図ファイルを割り当て、多数の地図ファイルからなる全体の地図データをDVD−ROM1に記録している。 The DVD-ROM 1 stores map data including road shape data necessary for the navigation operation, and further stores various related data such as related facility data and name data in association with the road shape data. For example, the entire map is divided into blocks as mesh unit areas, a map file is assigned to each block, and the entire map data including a large number of map files is recorded on the DVD-ROM 1.
ハードディスク15は、地図データ等の各種データの読み出しや書き込みを行う不揮発性の記憶装置であり、本発明の格納手段として機能する。ハードディスク15は多くの用途に利用可能であり、音楽データ、映像データ、アプリケーションプログラム等の種々のデータをファイルとして格納することができ、これらのファイルの読み出しと書き込みを行うことができる。
The
ハードディスク15の基本構造を図2に示す。ここではアクチェエータの先端に配置された浮動ヘッドスライダを機械的に磁気ディスク表面から浮上させるランプローディング方式のハードディスク15が示されている。
A basic structure of the
図2に示すように、アクチェエータ154に取付けられたヘッド151は、磁気ディスク153の半径方向(矢印)を移動自在に取付けられ、このヘッド151は、サスペンション157の弾性力により磁気ディスク153の表面に押し付けられるが、磁気ディスク153の回転により、ヘッド151に作用する空気力学的な浮揚力により磁気ディスク153円盤表面との間隔が数十mmとなるように制御される。非動作時、このヘッド151は、筐体フレーム150の一端に形成されたランプ155のテーパ部156に乗り上げられた状態の待避位置にある。
As shown in FIG. 2, the
図3にヘッド151とランプ155の位置関係を断面図として示してある。図3に示すように、磁気ディスク153円盤の外周部近傍に位置するランプ155は、外周部から外周部外へ向かって徐々に磁気ディスク153円盤の表面から離れる方向にテーパが形成されたテーパ部156を有する。動作時(ロード)には、磁気ディスク153円盤上に適当な間隔を置いて存在(位置a)したものが、非動作時(アンロード)には、図中、矢印で示すように当該テーパ部156を乗り越え、待避位置(位置b)まで乗り上げる。
FIG. 3 shows the positional relationship between the
ハードディスク15には、格納済みのファイルを管理するためのファイル管理情報を更新可能に書き込む領域であるファイル管理領域15aが設けられている。このファイル管理情報には、ハードディスク15に格納されているファイル名や記録位置などの情報が含まれている。
The
また、ハードディスク15には、地図ファイル等の各種データのファイルを格納するための領域である。ハードディスク15の全体の記憶容量は一定であるため、書き込み可能な全ファイルの容量は制限がある。ハードディスク15は、実際にファイルが格納されている領域と、それ以外の空き領域とを含んでいる。
The
本実施形態では、ハードディスク15に新たなファイルを書き込む際は、原則として空き領域に書き込むことになる。ここで、空き領域が多数ハードディスク15に分断配置され、各空き領域の容量が書き込み対象のファイル容量よりも小さい場合は、新たなファイルをハードディスク15の連続領域に書き込むことができない。よって、このような場合は、ファイル内のデータを複数のデータ断片に分け、不連続な配置でハードディスク15に書き込むことになる。
In this embodiment, when a new file is written to the
しかし、ハードディスク15においてファイル内のデータが不連続なデータ断片に分断配置されている場合、ファイルに対してアクセスする際にシーク時間が増大し、アクセス速度が低下する。そこで、本実施形態では、ファイル内のデータが分断配置された状態にあるハードディスク15に対するデフラグメント処理を施すことにより、アクセス速度の低下を防いでいる。すなわち、所定のタイミングでファイル内のデータの配置状況を調べ、分断配置されている場合は、ファイルを構成する複数のデータ断片を所定の領域に移動させ、連続的な配置に変えるようにする。なお、本実施形態におけるデフラグメント処理の詳細については後述する。
However, when the data in the file is divided into discontinuous data fragments on the
図1に戻って、センサ部16は、現在位置を検出するために必要な各種センサを含んで構成されている。具体的には、車両の走行状態を検出するための車速センサ、走行距離センサ、方位センサなどを含んでいる。また、センサ部16には、車両のエンジンが起動しているか、あるいは停止しているかを検出するエンジンセンサ16aが含まれている。
Returning to FIG. 1, the
GPS受信部17は、GPS(Global Positioning System)衛星からの電波を受信し、測位データを出力する。センサ部16とGPS受信部17は、CPU11と相まって車両の現在位置を検出する手段として機能する。
The GPS receiver 17 receives radio waves from a GPS (Global Positioning System) satellite and outputs positioning data. The
インターフェース18は、センサ部16及びGPS受信部17とCPU11との間のインターフェース動作を行い、CPU11により、センサ部16からのセンサ出力とGPS受信部17からの測位データに基づいて、現在位置データが求められる。この現在位置データは、CPU11により前述の地図データと照合されて、マップマッチング処理等を用いて補正される。
The
操作手段としての操作部19は、ナビゲーション動作における所望の操作を行うための各種キーや各種ボタンが配列されて構成され、ナビゲーションシステム本体部あるいは外部のリモコンに設けられる。これらの各種キーや各種ボタンが押下されると、対応する検知信号がCPU11に送出される。また、操作部19は、ハードディスク15に対する上記デフラグメント処理の実行を指示する際に押下するデフラグボタン19aを備えている。なお、デフラグボタン19aを表示メニューの一部としてディスプレイ20上に表示し、外部のリモコンやタッチパネルで選択するようにしてもよい。
The
ディスプレイ20は、ナビゲーション動作に用いる表示手段であり、例えばCRT、液晶表示素子などから構成される。ディスプレイ20には、表示制御部21の制御に従って地図データが種々の態様で表示されると共に、これに重畳して現在位置がカーマークとして表示される。また、ディスプレイ20には、ハードディスク15に対する上記デフラグメント処理等の実行を選択させる選択メニューが表示される。
The
表示制御部21は、ディスプレイ20に表示する表示データを生成し、バッファメモリ22に一時的に保存しつつ、適宜のタイミングでバッファメモリ22から表示データを読み出してディスプレイ20に表示出力する。
The
音声処理回路23は、CPU11の制御の下、所定の音声信号を発生する。音声処理回路23において適切なレベルに増幅された音声信号は、スピーカ24から外部出力される。このような音声信号としては、例えば、車両の経路を誘導するための案内音声がある。
The
本実施形態においては、ナビゲーション動作に必要な地図データがDVD−ROM1とハードディスク15の双方、又は、ハードディスク15のみに記録されているものとする。ハードディスク15の地図データは予め格納しておいてもよいし、必要に応じてDVD−ROM1から地図データを読み出し、ハードディスク15に転送して格納するようにしてもよい。ナビゲーション動作の際は、DVD−ROM1とハードディスク15のいずれの地図データを用いてもよいが、アクセス速度が高速なハードディスク15の地図データを用いる方が処理の高速化という点ではメリットがある。
In the present embodiment, it is assumed that map data necessary for the navigation operation is recorded on both the DVD-ROM 1 and the
次に、図4〜図9を参照して、ハードディスク15に対するデフラグメント処理について説明する。本実施形態においては、デフラグメント処理をユーザ操作に基づいて実行する場合と、所定の条件の下で自動的に実行する場合の2つを想定している。また、DVD−ROM1とハードディスク15の双方に地図データを記録する場合と、ハードディスク15のみに地図データを記録する場合の2つを想定している。
Next, defragmentation processing for the
図4は、本実施形態において、ユーザ操作に基づくデフラグメント処理のうち、DVD−ROM1とハードディスク15の双方に地図データが記録される場合のフローチャートである。図4における処理が開始されると、ステップS11では、操作部19からの検知信号を監視して、デフラグボタン19aが押されたか否かを判断する。判断の結果、デフラグボタン19aが押されていない場合は(ステップS11;NO)、監視を継続し、デフラグボタン19aが押された場合は(ステップS11;YES)、ステップS12に進む。
FIG. 4 is a flowchart when map data is recorded on both the DVD-ROM 1 and the
次に、ステップS12において、センサ部16のエンジンセンサ16aからのセンサ出力に基づいて、エンジンが停止しているか否かを判断する。すなわち、エンジン停止時に、バッテリー消費を伴うデフラグメント処理の実行を避けるための判断である。なお、エンジン停止の判断をACCがONの位置にあるか否かで判断してもよい。ステップS12の判断の結果、エンジンが停止している場合は(ステップS12;YES)ステップS13に進み、ユーザにエンジンが停止していることを告知するメッセージをディスプレイ20の表示画面に表示し、図4の処理を終える。
Next, in step S12, based on the sensor output from the
一方、ステップS12の判断の結果、エンジンが動作している場合は(ステップS12;NO)ステップS14に進み、ナビゲーション動作が行われているか否か判断する。これは、デフラグメント処理の最中はハードディスク15からの地図データの読み出しができないため、ナビゲーション動作をDVD−ROM1の地図データを用いて行うべく予め判断するものである。ステップS12の判断の結果、ナビゲーション動作中でなければ(ステップS14;NO)、直ちにデフラグメント処理を開始してよいので、ステップS22に移行する。
On the other hand, if the result of determination in step S12 is that the engine is operating (step S12; NO), the process proceeds to step S14, where it is determined whether or not a navigation operation is being performed. Since the map data cannot be read from the
一方、ステップS14の判断の結果、ナビゲーション動作中であれば(ステップS14;YES)、ステップS15において、DVD−ROMドライブ14に何らかのディスクが装着されているか否かを判断する。ステップS15の判断の結果、DVD−ROMドライブ14にディスクが未装着である場合は(ステップS15;NO)、ステップS16に進み、ディスクが装着されている場合は(ステップS15;YES)、ステップS18に進む。 On the other hand, if the result of determination in step S14 is that navigation is in progress (step S14; YES), it is determined in step S15 whether or not any disc is loaded in the DVD-ROM drive 14. If the result of determination in step S15 is that no disc is loaded in the DVD-ROM drive 14 (step S15; NO), the process proceeds to step S16. If a disc is loaded (step S15; YES), step S18 is performed. Proceed to
ステップS16では、ユーザに地図データを記録したDVD−ROM1を装着することを促すためのメッセージを、ディスプレイ20の表示画面とスピーカ24からの案内音声として出力する。例えば、「ナビゲーションを続けるために、ディスクプレーヤに地図ディスクを挿入して下さい」などのメッセージを出力すればよい。
In step S <b> 16, a message for prompting the user to wear the DVD-ROM 1 on which the map data is recorded is output as a display sound of the
続いてステップS17では、所定時間内にDVD−ROMドライブ14にディスクが装着されたかを判断する。ステップS17の判断の結果、DVD−ROMドライブ14にディスクが装着されている場合は(ステップS17;YES)、ステップS18に進み、ディスクが未装着である場合は(ステップS17;NO)、ステップS20に進む。ステップS20では、デフラグメント処理を行うか否かを確認し、行う場合は(ステップS20;YES)、ステップS22に進み、行わない場合は(ステップS20;NO)、図4の処理を終える。ステップS17は、デフラグメント処理の実行に際し、ユーザがディスクを装着しない場合、再度ナビゲーションを中止してでも、デフラグメント処理を行うかどうかを確認するための処理である。 Subsequently, in step S17, it is determined whether or not a disc is loaded in the DVD-ROM drive 14 within a predetermined time. As a result of the determination in step S17, if a disc is loaded in the DVD-ROM drive 14 (step S17; YES), the process proceeds to step S18. If a disc is not loaded (step S17; NO), step S20 is performed. Proceed to In step S20, it is confirmed whether or not the defragment process is to be performed. If so (step S20; YES), the process proceeds to step S22. If not (step S20; NO), the process of FIG. Step S17 is a process for confirming whether or not to perform the defragmentation process even when the navigation is stopped again when the user does not mount the disk when the defragmentation process is executed.
一方、ステップS18では、ステップS15又はステップS17で装着されたディスクが、地図データ用のDVD−ROM1であるか否かを判断する。その結果、地図データ用のDVD−ROM1ではない場合は(ステップS18;NO)、ステップS19に進み、ユーザに正しいディスクを装着することを促すためのメッセージを、ステップS16と同様にディスプレイ20の表示画面とスピーカ24からの案内音声として出力する。
On the other hand, in step S18, it is determined whether or not the disc loaded in step S15 or step S17 is the map data DVD-ROM1. As a result, if it is not the DVD-ROM 1 for map data (step S18; NO), the process proceeds to step S19, and a message for prompting the user to mount the correct disk is displayed on the
一方、ステップS18の判断の結果、装着されたディスクが地図データ用のDVD−ROM1である場合は(ステップS18;YES)、ステップS21に進み、ディスクから地図データを読み出しナビゲーションを続行する。続いて、ステップS22では、ハードディスク15に対するデフラグメント処理を実行し、図4の処理を終える。
On the other hand, if it is determined in step S18 that the loaded disc is the DVD-ROM 1 for map data (step S18; YES), the process proceeds to step S21, where the map data is read from the disc and navigation is continued. Subsequently, in step S22, a defragment process for the
次に図5は、本実施形態において、ユーザ操作に基づくデフラグメント処理のうち、ハードディスク15のみに地図データが記録される場合のフローチャートである。図5における処理が開始されると、ステップS31〜S34に至るまでは、上述した図3のステップS11〜S14と同様の処理が行われる。
Next, FIG. 5 is a flowchart in the case where the map data is recorded only on the
続くステップS35では、DVD−ROMドライブ14が付いているか否かを判断する。すなわち、図5のフローチャートでは、DVD−ROMドライブ14が取り付け自在の場合の処理を示している。ステップS35の判断の結果、DVD−ROMドライブ14が付いている場合は(ステップS35;YES)、ステップS36に進み、DVD−ROMドライブ14が付いていない場合は(ステップS35;NO)、ステップS37に進む。 In a succeeding step S35, it is determined whether or not the DVD-ROM drive 14 is attached. That is, the flowchart of FIG. 5 shows processing when the DVD-ROM drive 14 can be attached. If the result of determination in step S35 is that the DVD-ROM drive 14 is attached (step S35; YES), the process proceeds to step S36, and if the DVD-ROM drive 14 is not attached (step S35; NO), step S37. Proceed to
ステップS36では、DVD−ROMドライブ14に何らかのディスクが装着されているか否かを判断する。ステップS36の判断の結果、DVD−ROMドライブ14にディスクが未装着である場合は(ステップS36;NO)、ステップS40に進み、ディスクが装着されている場合は(ステップS36;YES)、ステップS38に進む。 In step S36, it is determined whether or not any disc is loaded in the DVD-ROM drive 14. As a result of the determination in step S36, if no disc is loaded in the DVD-ROM drive 14 (step S36; NO), the process proceeds to step S40. If a disc is loaded (step S36; YES), step S38 is performed. Proceed to
ステップS40では、上述のステップS16と同様のメッセージをディスプレイ20の表示画面とスピーカ24からの案内音声として出力する。続くステップS41では、所定時間内にDVD−ROMドライブ14にディスクが装着されたかを判断し、ディスクが装着されている場合は(ステップS41;YES)、ステップS38に進み、ディスクが未装着である場合は(ステップS41;NO)、ステップS37に進む。
In step S40, the same message as in step S16 described above is output as a guidance voice from the display screen of
一方、ステップS35からステップS37に進むと、上述のステップS20と同様の確認工程であるデフラグメント処理を行うか否かを確認し、行う場合は(ステップS37;YES)、ステップS43に進み、行わない場合は(ステップS37;NO)、図4の処理を終える。 On the other hand, when the process proceeds from step S35 to step S37, it is confirmed whether or not the defragmentation process, which is the same confirmation process as step S20 described above, is performed. If so (step S37; YES), the process proceeds to step S43 and performed. If there is not (step S37; NO), the processing of FIG.
次に、ステップS38では、ステップS36又はステップS41で装着されたディスクが、地図データ用のDVD−ROM1であるか否かを判断する。その結果、地図データ用のDVD−ROM1ではない場合は(ステップS38;NO)、ステップS39に進み、上記ステップS19と同様のメッセージ出力を行う。一方、ステップS38の判断の結果、装着されたディスクが地図データ用のDVD−ROM1である場合は(ステップS38;YES)、ステップS42に進み、ディスクから地図データを読み出しナビゲーションを続行する。続いて、ステップS43では、上述のステップS22と同様のハードディスク15に対するデフラグメント処理を実行し、図5の処理を終える。
Next, in step S38, it is determined whether or not the disc loaded in step S36 or step S41 is the DVD-ROM 1 for map data. As a result, if it is not the map data DVD-ROM 1 (step S38; NO), the process proceeds to step S39, and the same message output as in step S19 is performed. On the other hand, if it is determined in step S38 that the loaded disc is the DVD-ROM 1 for map data (step S38; YES), the process proceeds to step S42, where the map data is read from the disc and navigation is continued. Succeedingly, in a step S43, the defragment process for the
図6は、上述したステップS22又はステップS43におけるデフラグメント処理の詳細を説明するフローチャートである。図6の処理が開始されると、ステップS51では、ハードディスク15にアクセスしてファイル管理領域15aのファイル管理情報を取得する。これにより、ハードディスク15上での各ファイルの保存状況が確認できる。
FIG. 6 is a flowchart for explaining the details of the defragment processing in step S22 or step S43 described above. When the process of FIG. 6 is started, in step S51, the
続いてステップS52では、ハードディスク15に格納済みのファイルのうち、所定の一のファイルを対象として、ステップS51で取得したファイル管理情報に基づいて、ハードディスク15における対象ファイルのデータ配置状況をチェックする。これにより、対象となる一のファイル内に属する分断配置された複数のデータ断片の各々の記録位置を判別することができる。
Subsequently, in step S52, the data arrangement status of the target file in the
そして、ステップS53では、ステップS52の判断結果に基づいて、対象ファイル内の各データがハードディスク15上で連続的に配置されているか否かを判定する。その結果、対象ファイル内の各データがデータ断片に分断されず連続的に配置されている場合は(ステップS53;YES)、このファイルについてのデフラグメントは不要であるので、ステップS59に移行する。一方、対象ファイル内の各データが複数のデータ断片に分断され、不連続に配置されている場合は(ステップS53;NO)、ステップS54に進む。
In step S53, it is determined based on the determination result in step S52 whether each data in the target file is continuously arranged on the
ステップS54とステップS55は、デフラグメント処理を途中で中断する状況を想定した監視処理に対応している。それぞれ、ステップS54では、エンジンの停止を監視すると共に、ステップS55では、ナビゲーションの起動を監視する。以下、これらの処理について図7及び図8を用いて説明する。 Steps S54 and S55 correspond to a monitoring process assuming a situation where the defragmentation process is interrupted in the middle. In step S54, the stop of the engine is monitored, and in step S55, the start of navigation is monitored. Hereinafter, these processes will be described with reference to FIGS.
図7は、図6のステップS54におけるエンジン停止の監視処理を具体的に示すフローチャートである。図7において、ステップS61では、センサ部16のエンジンセンサ16aからのセンサ出力に基づいて、エンジンが停止しているか否かを判断する。その結果、エンジンが動作している場合は(ステップS61;NO)、デフラグメント処理を続けても支障がないので、図6に戻ってステップS55に進む。
FIG. 7 is a flowchart specifically showing the engine stop monitoring process in step S54 of FIG. In FIG. 7, in step S <b> 61, it is determined whether the engine is stopped based on the sensor output from the
一方、ステップS61の判断の結果、エンジンが停止している場合は(ステップS61;YES)、バッテリー消費を避けるべく、ステップS62において、いったんデフラグメント処理を中断する。このとき、ステップS63において、デフラグメント処理の進行状況を示すデフラグメント進行データをハードディスク15の所定領域に保存しておく。後述するように中断したデフラグメント処理を再開する場合、処理済みの対象ファイルや移動したデータ断片などをデフラグメント進行データにより特定できるようにしておくものである。
On the other hand, if the engine is stopped as a result of the determination in step S61 (step S61; YES), the defragmentation process is temporarily interrupted in step S62 in order to avoid battery consumption. At this time, in step S63, defragmentation progress data indicating the progress of the defragmentation process is stored in a predetermined area of the
次いで、ステップS64では、所定時間内にエンジンが再び起動したか否かをステップS61と同様に判断する。その結果、エンジンが停止したままである場合は(ステップS64;NO)、ステップS65に進み、エンジンが起動した場合は(ステップS64;YES)、ステップS68に進む。 Next, in step S64, it is determined in the same manner as in step S61 whether or not the engine has been started again within a predetermined time. As a result, when the engine remains stopped (step S64; NO), the process proceeds to step S65, and when the engine is activated (step S64; YES), the process proceeds to step S68.
ステップS65では、エンジンセンサ16aからのセンサ出力に基づき、エンジンが起動されたか否かを監視し続け(ステップS65;NO)、エンジンが起動した場合は(ステップS65;YES)、ステップS66に進む。
In step S65, based on the sensor output from the
ステップS66では、ユーザにデフラグメント処理を再開するか又は中止するかを選択させるための選択メニューをディスプレイ20に表示する。すなわち、中止されたデフラグメント処理の再開の可否をユーザの事情に応じて決定できるようにしたものである。例えば、「デフラグは途中で中断しています。デフラグメント処理を再開しますか?」などのメッセージと実行の有無の選択ボタンを表示すればよい。
In step S66, the
次いでステップS67では、ステップS66で表示された選択メニューに対するユーザの選択結果に基づいて、デフラグメント処理の再開が選択されたか否かを判断する。その結果、デフラグメント処理の中止が選択された場合(ステップS67;NO)、図7の処理を終える。一方、デフラグメント処理の再開が選択された場合は(ステップS67;YES)、ステップS68に進む。 Next, in step S67, it is determined whether or not to resume the defragmentation process is selected based on the selection result of the user with respect to the selection menu displayed in step S66. As a result, when the cancellation of the defragment process is selected (step S67; NO), the process of FIG. On the other hand, if resuming of the defragment process is selected (step S67; YES), the process proceeds to step S68.
ステップS68では、ステップS62でデフラグメント処理を中断した後にハードディスク15がアクセスされ、新たなデータの書き込みが発生したか否かを判断する。すなわち、ハードディスク15に新たなデータが書き込まれた場合には、デフラグメント処理の再開を回避する必要があるためである。例えば、上述のデフラグメント進行データにハードディスク15への書き込みを示す所定のフラグを付加すれば、ステップS68の判断が可能となる。
In step S68, it is determined whether or not the
ステップS68の判断の結果、ハードディスク15へのデータ書き込みが発生した場合は(ステップS68;YES)、ステップS69において、デフラグメント処理を最初からやり直す。よって、図6のステップS51以降の処理を再び実行する。 If it is determined in step S68 that data has been written to the hard disk 15 (step S68; YES), the defragmentation process is restarted from the beginning in step S69. Therefore, the process after step S51 of FIG. 6 is performed again.
一方、ステップS68の判断の結果、ハードディスク15へのデータ書き込みが発生していない場合は(ステップS68;NO)、ステップS70において、デフラグメント進行データを読み出す。その後、図6のステップS55に戻ってデフラグメント処理を再開する。
On the other hand, if the result of determination in step S68 is that data writing to the
次に、図8は、図6のステップS55におけるナビゲーションの起動の監視処理を具体的に示すフローチャートである。図8において、ステップS71では、ナビゲーションが起動したかどうか判断する。例えば、ユーザが操作部19を操作してナビゲーションの起動を指示することにより、ナビゲーションが起動する。ステップS71の判断の結果、ナビゲーションが起動されない場合は(ステップS71;NO)、デフラグメント処理を続けても支障がないので、図6に戻ってステップS56に進む。
Next, FIG. 8 is a flowchart specifically showing the navigation activation monitoring process in step S55 of FIG. In FIG. 8, in step S71, it is determined whether navigation is activated. For example, the navigation is started when the user operates the
一方、ステップS71の判断の結果、ナビゲーションが起動した場合は(ステップS71;YES)、ハードディスク15へのアクセスを考慮した処理としてステップS72〜ステップS81を実行する。まず、ステップS72では、DVD−ROMドライブ14に地図データ用のDVD−ROM1が装着されているか否かを判断する。その結果、地図データ用のDVD−ROMドライブ14が装着されている場合は(ステップS72;YES)、ステップS73に進み、地図データ用のDVD−ROM1が未装着である場合は(ステップS72;NO)、ステップS74に進む。
On the other hand, if navigation is activated as a result of the determination in step S71 (step S71; YES), steps S72 to S81 are executed as processing that considers access to the
ステップS73では、DVD−ROMドライブ14に装着されているDVD−ROM1の地図データを用いたナビゲーションが実行される。これにより、デフラグメント処理中のハードディスク15へのアクセスを回避しつつ、ナビゲーションを実行することができる。その後は、図6に戻ってステップS56に進む。
In step S73, navigation using the map data of the DVD-ROM 1 attached to the DVD-ROM drive 14 is executed. Thereby, navigation can be executed while avoiding access to the
これに対しステップS74では、デフラグメント処理の際のハードディスク15へのアクセスを避けるため、いったんデフラグメント処理を中断する。このとき、ステップS75において、上述したデフラグメント進行データをハードディスク15の所定領域に保存しておく。
On the other hand, in step S74, the defragmentation process is temporarily interrupted to avoid access to the
続いてステップS76では、デフラグメント処理を続行するか又は中止するかをユーザに選択させるための選択メニューをディスプレイ20に表示する。例えば、「デフラグを続けるにはナビゲーション用ディスクが必要です。ディスクを挿入してデフラグを続けますか?」などのメッセージと実行の有無の選択ボタンを表示すればよい。
Subsequently, in step S76, a selection menu for causing the user to select whether to continue or cancel the defragmentation process is displayed on the
そして、ステップS77では、ステップS76で表示された選択メニューに対するユーザの選択結果に基づいて、デフラグメント処理の続行が選択されたか否かを判断する。その結果、デフラグメント処理の中止が選択された場合(ステップS77;NO)、図8の処理を終える。一方、デフラグメント処理の続行が選択された場合は(ステップS77;YES)、ステップS78に進む。 In step S77, it is determined whether or not to continue the defragmentation process is selected based on the selection result of the user with respect to the selection menu displayed in step S76. As a result, when the cancellation of the defragment process is selected (step S77; NO), the process of FIG. On the other hand, when the continuation of the defragment process is selected (step S77; YES), the process proceeds to step S78.
ステップS78では、ステップS76の選択メニューの指示に従って、所定時間内にDVD−ROMドライブ14にナビゲーションに必要なディスクが装着されたかを判断する。判断の結果、DVD−ROMドライブ14に該当するディスクが装着されている場合は(ステップS78;YES)、ステップS79に進み、該当するディスクが未装着である場合は(ステップS78;NO)、図8の処理を終える。 In step S78, it is determined whether a disc necessary for navigation is loaded in the DVD-ROM drive 14 within a predetermined time according to the instruction of the selection menu in step S76. As a result of the determination, if the corresponding disk is loaded in the DVD-ROM drive 14 (step S78; YES), the process proceeds to step S79. If the corresponding disk is not loaded (step S78; NO), FIG. The process of 8 is finished.
ステップS79では、ステップS74でデフラグメント処理を中断した後にハードディスク15がアクセスされ、新たなデータの書き込みが発生したか否かを判断する。この処理は、図7のステップS68と同様に行えばよい。
In step S79, it is determined whether the
ステップS79の判断の結果、ハードディスク15へのデータ書き込みが発生した場合は(ステップS79;YES)、ステップS80に進み、ハードディスク15へのデータ書き込みが発生していない場合は(ステップS79;NO)、ステップS81に進む。これらステップS80及びステップS81の処理は、上述のステップS69及びステップS70と同様に行えばよい。 If it is determined in step S79 that data has been written to the hard disk 15 (step S79; YES), the process proceeds to step S80. If data has not been written to the hard disk 15 (step S79; NO), Proceed to step S81. The processes in step S80 and step S81 may be performed in the same manner as in step S69 and step S70 described above.
次に、図6に戻ってステップS56では、対象ファイル内のデータのデータ断片をハードディスク15の所定領域に移動する。ここで、対象ファイル内のデータを移動すべき所定領域は、少なくとも対象ファイルのファイルサイズ以上の連続的な空き領域とする必要がある。
Next, returning to FIG. 6, in step S <b> 56, the data fragment of the data in the target file is moved to a predetermined area of the
続いてステップS57では、対象ファイル内のデータのデータ断片がハードディスク15の所定領域に連続配置されたか否かを判断する。すなわち、対象ファイル内のデータのデータ断片の個数だけステップS56を実行すると、対象ファイルの全体が所定領域に移動して、連続配置されることになる。ステップS57の判断の結果、まだ対象ファイル内の各データがデータ断片に分断されている場合は(ステップS57;NO)、ステップS54に戻って同様の処理を繰り返す。
In step S57, it is determined whether data fragments of data in the target file are continuously arranged in a predetermined area of the
一方、対象ファイルについて全てのデータ断片の移動を終え、ハードディスク15の所定領域に対象ファイル内のデータが連続配置された場合は(ステップS57;YES)、ステップS58において、ファイル管理領域15aにおけるファイル管理情報を更新する。すなわち、対象ファイルの新たな配置に基づいてファイル管理情報を修正し、ファイル管理領域15aに書き込む。
On the other hand, when all data fragments of the target file have been moved and the data in the target file is continuously arranged in a predetermined area of the hard disk 15 (step S57; YES), file management in the
ステップS53又はステップS58に続いて、ステップS59では、ハードディスク15に格納済みの全てのファイルに対し、ステップS52〜ステップS58の処理を行ったか否かを判断する。その結果、未処理のファイルが残っている場合は(ステップS59;NO)、ステップS52に戻り、全てのファイルに対して処理を終えた場合は、図6のデフラグメント処理を終える。
Subsequent to step S53 or step S58, in step S59, it is determined whether or not the processing in steps S52 to S58 has been performed on all files already stored in the
以上説明した図4〜図8の処理によれば、ユーザ操作に基づいてハードディスク15に対するデフラグメント処理を実行するので、ユーザの必要に応じてハードディスク15を整理し、高速なアクセス速度を保つことができる。そして、デフラグメント処理中は、ナビゲーションの状況、車両の走行状態、ハードディスク15へのアクセスなど様々な条件を判断しつつデフラグメント処理の中断と再開を制御するので、ユーザが複雑な判断をすることなく適正なデフラグメント処理を施すことができ、信頼性が高く効率的なデフラグメント処理を実現することができる。
4 to 8 described above, the defragmentation process for the
次に、所定の条件の下で自動的に実行されるデフラグメント処理について、図9のフローチャートを用いて説明する。図9における処理が開始されると、ステップS91では、デフラグメント処理を実行するための所定の条件を満たすか否かを判断する。例えば、ステップS91では、前回のデフラグメント処理の実行時から所定の時間が経過した場合を条件とすればよい。 Next, defragmentation processing that is automatically executed under a predetermined condition will be described with reference to the flowchart of FIG. When the process in FIG. 9 is started, it is determined in step S91 whether or not a predetermined condition for executing the defragment process is satisfied. For example, in step S91, a condition may be set when a predetermined time has elapsed since the previous execution of the defragmentation process.
ステップS91の判断の結果、デフラグメント処理の実行条件を満たしていない場合は(ステップS91;NO)、図9の処理を終え、デフラグメント処理の実行条件を満たしている場合は(ステップS91;YES)、ステップS92に進む。 As a result of the determination in step S91, when the execution condition for the defragmentation process is not satisfied (step S91; NO), the process of FIG. 9 is finished and when the execution condition for the defragmentation process is satisfied (step S91; YES) ), And proceeds to step S92.
ステップS92では、エンジンが停止しているか否かを判断する。この判断は上述のステップS12と同様に行えばよい。ステップS92の判断の結果、エンジンが停止している場合は(ステップS92;YES)、エンジンが動作するまで待ち、エンジンが動作している場合は(ステップS92;NO)、ステップS93に進む。 In step S92, it is determined whether or not the engine is stopped. This determination may be performed in the same manner as in step S12 described above. If the engine is stopped as a result of the determination in step S92 (step S92; YES), the process waits until the engine is operating. If the engine is operating (step S92; NO), the process proceeds to step S93.
ステップS93では、ナビゲーション動作が行われているか否か判断する。すなわち、ナビゲーションに際し、地図データを読み出すためハードディスク15をアクセスする可能性を考慮したものである。ステップS93の判断の結果、ナビゲーション動作中である場合は(ステップS93;YES)、ステップS92に戻って同様の処理を繰り返し、ナビゲーション動作中でない場合は(ステップS93;NO)、ステップS94に進む。
In step S93, it is determined whether a navigation operation is being performed. That is, the possibility of accessing the
ステップS94では、ハードディスク15に対してアクセス中であるか否かを判断する。すなわち、ナビゲーション動作が行われていない場合であっても、各種データをハードディスク15に読み書きする状況の下では、デフラグメント処理を開始しないようにしている。ステップS94の判断の結果、ハードディスク15にアクセス中であれば(ステップS94;YES)、ステップS92に戻って同様の処理を繰り返す。一方、ハードディスク15にアクセス中でなければ(ステップS94;NO)、ステップS95において、図6に示すデフラグメント処理を実行して、図9の処理を終える。
In step S94, it is determined whether the
なお、図9において説明したデフラグメント処理は、車両の走行状態を考慮して実行してもよい。具体的には、車両が走行している場合はデフラグメント処理を行わず、車両が停止している場合に(エンジンは作動)デフラグメント処理を実行するようにしてもよい。これにより、ハードディスク15から新たに地図データを読み出す必要がないタイミングでデフラグメント処理を行うことができる。
Note that the defragmentation process described in FIG. 9 may be executed in consideration of the traveling state of the vehicle. Specifically, the defragment process may not be performed when the vehicle is running, and may be performed when the vehicle is stopped (the engine is operating). As a result, the defragmentation process can be performed at a timing when it is not necessary to newly read map data from the
また、図4〜図8に示したデフラグボタン19aの押下に対応したデフラグメント処理と、図9に示した自動実行されるデフラグメント処理とを、ユーザの操作によって切り替え可能に構成してもよい。
Also, the defragmentation process corresponding to pressing of the
また、上述したデフラグメント処理において、対象ファイルの種別に応じて、ハードディスク15への配置方法を変えてもよい。すなわち、デフラグメント処理の際、地図データファイル、サウンドデータファイル、地点データファイルなどのファイル種別毎に、別々にハードディスク15に配置しなおすことができる。例えば、頻繁にアクセスされる地図データは、アクセス速度の速いディスク外周に配置させる一方、それほど頻繁にアクセスされない地点データは、アクセス速度が比較的遅いディスク内周に配置させることが考えられる。この理由は、図2においてハードディスク15のヘッド151の待避位置がディスク外周側に配置されているので、ヘッド151が、直ちに情報の書き込みと読取りを行えるのは、ディスク外周側になるからである。なお、ハードディスク15のヘッド151の待避位置がディスク内周側にある場合、上記の関係は逆になる。
In the defragmentation process described above, the arrangement method on the
なお、対象ファイルの種別を判別可能とするためには、種別に固有のファイル拡張子を付与すればよい。例えば、地図データファイルに対する拡張子map、サウンドデータファイルに対する拡張子snd、地点データファイルに対する拡張子locなどが挙げられる。あるいは、上述した対象ファイルの種別毎にアクセス頻度をカウントし、デフラグメント処理の際に頻度を参照して、それぞれ頻度に応じた重み付けを施した上でデフラグメント処理を行うようにしてもよい。 In order to make it possible to determine the type of the target file, a unique file extension may be given to the type. For example, an extension map for a map data file, an extension snd for a sound data file, an extension loc for a point data file, and the like can be given. Alternatively, the access frequency may be counted for each type of the target file described above, the frequency may be referred to during the defragmentation process, and the defragmentation process may be performed after weighting according to the frequency.
上述のように、対象ファイルの種別やアクセス頻度に応じてハードディスク15内のデータ配列を変えることは、対象ファイルの種別やアクセス頻度に応じて、ハードディスク15のリトラクト動作を行う場合にも有効である。すなわち、ハードディスク15には、いわゆるエマージェンシーアンロードと称される機能が付与されている。エマージェンシーアンロード機能とは、スピンドル152(図2)とヘッド駆動のためのモータの両電源が共にダウンした場合、磁気ディスク153がヘッド151によって傷つくことを防ぐために、そのヘッド151を待避位置に強制復帰させるための機能である。このエマージェンシーアンロードを行わせるためには電源が必要であるが、電源遮断時にスピンドルモータの惰性回転により生じる逆起電力を使ってその動作を行わせることができる。
As described above, changing the data array in the
上記したハードディスク15を本実施形態にように車載用に適用した場合、エンジン始動時等に瞬断が発生する可能性があるため、エンジン始動の都度上記したエマージェンシーアンロードが発生する可能性が高い。エマージェンシーアンロードは、上記したようにスピンドルモータの逆起電力を利用して強制的にヘッド151を動かすため、ヘッド151の速度制御が効かず、待機位置に至るまでの間においてヘッド151がランプ155のテーパ部156に衝突する機会が増える。この衝突の衝撃度は、ヘッド151が待機位置よりも遠ざかるに連れて高くなる。
When the above-described
従って、上述したデフラグメント処理の際に頻繁にアクセスするデータをハードディスク15の外周に配置すれば、リトラクト動作が発生したときに、その衝撃が緩和されることになる。本実施形態に係るデフラグメント処理を行う際、このような特性を利用することが望ましい。
Therefore, if data that is frequently accessed during the above-described defragmentation process is arranged on the outer periphery of the
以上説明した図9の処理によれば、ユーザが操作部19を操作することなく、デフラグメント処理が自動的に実行されるので、ユーザにとって煩雑ではなく、デフラグメント処理を意識することも不要となる。また、ナビゲーションの状況、車両の走行状態、ハードディスク15へのアクセスなど様々な条件を判断しつつデフラグメント処理を行うので、信頼性が高く効率的なデフラグメント処理を実現することができる。
According to the process of FIG. 9 described above, the defragment process is automatically executed without the user operating the
なお、上記実施形態においては、地図データが記録された記録媒体としてDVD−ROM1を用いた場合を説明したが、記録媒体への記録フォーマットはDVDフォーマットに限られることはない。また、記録媒体としては、光ディスク等に限られることはなく、例えばネットワークを経由して地図データをダウンロードする場合であっても、本発明の適用が可能である。更に、ハードディスク15のみを設け、DVD−ROMドライブ14等の読み出し手段を設けない場合であっても本発明の適用が可能である。
In the above embodiment, the case where the DVD-ROM 1 is used as the recording medium on which the map data is recorded has been described. However, the recording format to the recording medium is not limited to the DVD format. Further, the recording medium is not limited to an optical disc or the like, and the present invention can be applied even when map data is downloaded via a network, for example. Further, the present invention can be applied even when only the
また、上記実施形態に係るナビゲーションシステムとしては、個別のナビゲーション装置として実現する場合に限られず、例えばハードディスクを備えたパーソナルコンピュータと組み合わせて実現することが可能である。この場合、パーソナルコンピュータにおいて本発明の転送処理を実行するソフトウェアを動作させることで、上記実施形態の機能を実現できる。 In addition, the navigation system according to the above embodiment is not limited to being realized as an individual navigation device, and can be realized in combination with, for example, a personal computer having a hard disk. In this case, the function of the above-described embodiment can be realized by operating software that executes the transfer processing of the present invention in a personal computer.
1…DVD−ROM
11…CPU
12…ROM
13…RAM
14…DVD−ROMドライブ
15…ハードディスク
150…筐体フレーム
151…ヘッド
153…磁気ディスク
154…アクチェエータ
155…ランプ
156…テーパ部
157…サスペンション
16…センサ部
17…GPS受信部
18…インターフェース
19…操作部
19a…デフラグボタン
20…ディスプレイ
21…表示制御部
22…バッファメモリ
23…音声処理回路
24…スピーカ
1 ... DVD-ROM
11 ... CPU
12 ... ROM
13 ... RAM
14 ... DVD-
Claims (10)
地図データに対応するファイルの書き込みと読み出しが可能な不揮発性の格納手段と、
地図データを用いてナビゲーション動作を制御するナビゲーション制御手段と、
所定のタイミングで前記格納手段に対するデフラグメント処理を施すデフラグメント処理手段と、
車両のエンジン動作状態を検知するエンジンセンサと、を備え、
前記デフラグメント処理手段は、デフラグメント処理の実行中に前記エンジンセンサの出力を監視し、エンジンが停止したとき、デフラグメント処理を中断することを特徴とするナビゲーションシステム。 A navigation system that detects a current position and performs navigation based on map data,
A non-volatile storage means capable of writing and reading a file corresponding to map data;
Navigation control means for controlling navigation operation using map data;
Defragment processing means for performing defragment processing on the storage means at a predetermined timing;
An engine sensor for detecting an engine operating state of the vehicle,
The navigation system characterized in that the defragmenting means monitors the output of the engine sensor during execution of the defragmentation process, and interrupts the defragmentation process when the engine is stopped.
前記デフラグメント処理手段は、デフラグメントを行う際に、特定のデータを前記待避位置近傍に整列配置させることを特徴とする請求項3に記載のナビゲーションシステム。 The hard disk device comprises a head for writing and reading information on the hard disk, and a retract position for retracting the head from the hard disk,
The navigation system according to claim 3, wherein the defragment processing means arranges specific data in the vicinity of the retracted position when performing defragmentation.
前記デフラグメント処理手段は、前記操作手段による実行指示に従ってデフラグメント処理を実行することを特徴とする請求項1に記載のナビゲーションシステム。 An operation unit capable of instructing execution of defragment processing for the storage unit;
The navigation system according to claim 1, wherein the defragmenting unit executes a defragmenting process in accordance with an execution instruction from the operation unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006289611A JP4390795B2 (en) | 2006-10-25 | 2006-10-25 | Navigation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006289611A JP4390795B2 (en) | 2006-10-25 | 2006-10-25 | Navigation system |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000099905A Division JP3887518B2 (en) | 2000-03-31 | 2000-03-31 | Navigation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007102998A JP2007102998A (en) | 2007-04-19 |
| JP4390795B2 true JP4390795B2 (en) | 2009-12-24 |
Family
ID=38029759
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006289611A Expired - Fee Related JP4390795B2 (en) | 2006-10-25 | 2006-10-25 | Navigation system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4390795B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4792490B2 (en) * | 2008-09-08 | 2011-10-12 | 株式会社日立製作所 | Storage controller and RAID group expansion method |
| JP2010127899A (en) * | 2008-12-01 | 2010-06-10 | Mitsubishi Electric Corp | Navigation system |
| US10509770B2 (en) | 2015-07-13 | 2019-12-17 | Samsung Electronics Co., Ltd. | Heuristic interface for enabling a computer device to utilize data property-based data placement inside a nonvolatile memory device |
| US11461010B2 (en) | 2015-07-13 | 2022-10-04 | Samsung Electronics Co., Ltd. | Data property-based data placement in a nonvolatile memory device |
-
2006
- 2006-10-25 JP JP2006289611A patent/JP4390795B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007102998A (en) | 2007-04-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3887518B2 (en) | Navigation system | |
| EP1847996B1 (en) | A data storage apparatus that appropriately revises FDCB information during background formatting | |
| JP3922857B2 (en) | Navigation system | |
| EP1569220B1 (en) | Automatic data update method of data storage system and disk drive using the same | |
| US7337263B2 (en) | Method of varying recording density of data storage medium and disk drive using the method | |
| US6600993B1 (en) | Navigation system | |
| JP2001067603A (en) | Information storage device and control method thereof | |
| JP4390795B2 (en) | Navigation system | |
| TW200540806A (en) | Data storage device, control method thereof and magnetic disk storage device | |
| JP2008046964A (en) | Information recording apparatus and control method thereof | |
| US7404034B2 (en) | Disk drive device, electronic apparatus and disk control method | |
| JP2006235117A (en) | Music player | |
| KR100465251B1 (en) | Recording/reproducing device | |
| WO2007000889A1 (en) | Removable medium recording/reproducing device recording/reproducing operation inhibiting method, recording operation inhibiting method, firmware update method, and file containing the firmware | |
| JP2009281732A (en) | Hard disk breakage system and navigation device | |
| US12518791B2 (en) | Disk device | |
| JP3990084B2 (en) | Navigation system | |
| JP2004272393A (en) | LSI with built-in CPU, optical disk device and LSI device using the same | |
| JP2010079969A (en) | Optical disk drive control unit | |
| JP2005085410A (en) | Optical disc apparatus and control method thereof | |
| JP2004295755A (en) | Information recording / reproducing device | |
| JP2007164364A (en) | Information recording / reading device | |
| JP2007242110A (en) | Information processing device | |
| JP2009020051A (en) | Storage device, and electronic device incorporating same therein | |
| JP2003272305A (en) | Information recording / reproducing apparatus, information recording / reproducing method, program, and computer-readable recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090716 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090728 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090904 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090929 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091006 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121016 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |