JP2008269222A - On-board information terminal - Google Patents

On-board information terminal Download PDF

Info

Publication number
JP2008269222A
JP2008269222A JP2007110444A JP2007110444A JP2008269222A JP 2008269222 A JP2008269222 A JP 2008269222A JP 2007110444 A JP2007110444 A JP 2007110444A JP 2007110444 A JP2007110444 A JP 2007110444A JP 2008269222 A JP2008269222 A JP 2008269222A
Authority
JP
Japan
Prior art keywords
data
information terminal
circuit
sub cpu
atapi
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
JP2007110444A
Other languages
Japanese (ja)
Inventor
Hirosato Kaise
広吏 貝瀬
Hidekazu Suzuki
英一 鈴木
Masaru Kitamoto
優 北本
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.)
Hitachi Ltd
Faurecia Clarion Electronics Co Ltd
Original Assignee
Clarion Co Ltd
Hitachi Ltd
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 Clarion Co Ltd, Hitachi Ltd filed Critical Clarion Co Ltd
Priority to JP2007110444A priority Critical patent/JP2008269222A/en
Publication of JP2008269222A publication Critical patent/JP2008269222A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform processing to arbitrate an access right to an HDD storing map data and music data by hardware. <P>SOLUTION: A main CPU 10A and a sub CPU 10B exchange data and commands between the HDDs 50 to execute navigation processing and music reproduction and other processing. Each CPU outputs an ATAPI use request level signal depending on the processing content. An arbitration control table in a switch control circuit 25 of an arbitration circuit 20 is set and registered according to the ATAPI use request level signal. A switch circuit 24 is switched according to the arbitration control table to set a bus right. The bus right is thus arbitrated between the main CPU 10A and sub CPU 10B, and the HDDs 50. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ハードディスクなどの記憶媒体にアクセスする複数のプロセッサのバス権調停に関する。   The present invention relates to bus arbitration for a plurality of processors accessing a storage medium such as a hard disk.

車両を目的地まで誘導するナビゲーション機能と、音楽CDからハードディスク(HDD)にリッピングした音楽データを再生出力する機能を備えた車載ナビゲーション装置が知られている(非特許文献1)。   A vehicle-mounted navigation device having a navigation function for guiding a vehicle to a destination and a function for reproducing and outputting music data ripped from a music CD to a hard disk (HDD) is known (Non-patent Document 1).

富士通テン技報 Vol.22 No.1 3頁〜11頁Fujitsu Ten Technical Bulletin Vol.22 No.1 Pages 3-11

非特許文献1の装置では、1台のハードディスクにナビゲーションに必要な地図データや地点データとともに、音楽CDからリッピングした音楽データを記憶する。この装置では、ナビゲーション用CPU(メインCPU)でナビゲーション処理を行い、ミュージック用CPU(サブCPU)で音楽データを再生し、また、音楽データをエンコードしてHDDに記憶するリッピング処理を行う。   In the device of Non-Patent Document 1, music data ripped from a music CD is stored together with map data and point data necessary for navigation on one hard disk. In this apparatus, navigation processing is performed by a navigation CPU (main CPU), music data is reproduced by a music CPU (sub CPU), and ripping processing for encoding music data and storing it in an HDD is performed.

ナビゲーション用CPUがナビゲーション処理を実行中に音楽処理の要求が入ると、ATA調停部はソフトウエア処理により、いずれか一方のCPUをハードディスクに接続する。従来のATA調停はソフトウエア処理で実現されており、メインCPUおよびサブCPUがHDDにアクセスするたびに、ソフトウエアによるATA調停処理を実行する必要があり、システムが煩雑化する。   When a request for music processing is input while the navigation CPU is executing navigation processing, the ATA arbitration unit connects one of the CPUs to the hard disk by software processing. Conventional ATA arbitration is realized by software processing, and every time the main CPU and sub CPU access the HDD, it is necessary to execute ATA arbitration processing by software, which complicates the system.

(1)請求項1の発明による車載情報端末は、データを記憶する記憶媒体と、記憶媒体との間でデータ授受を行って第1の処理を行い、第1処理の処理内容に応じた第1要求信号を出力する第1のプロセッサと、記憶媒体との間でデータ授受を行って第2の処理を行い、第2処理の処理内容に応じた第2要求信号を出力する第2のプロセッサと、第1および第2要求信号を受信し、それらに応じて、第1および第2のプロセッサの記憶媒体へのアクセスを調停するハードウエア調停回路とを備えることを特徴とする。
(2)請求項2の発明は、請求項1に記載の車載情報端末において、ハードウエア調停回路は、第1および第2のプロセッサのいずれか一方を記憶媒体へ接続する切換回路と、第1および第2の要求信号のレベルに応じて切換回路を切り替える切替制御回路とを備えることを特徴とする。
(3)請求項3の発明は、請求項1または2に記載の車載情報端末において、調停回路により記憶媒体との接続が中断されたプロセッサは、引き続きデータ処理を続行するようにし、続行するデータ処理により得られたデータを一時記憶する一時記憶回路をさらに設け、調停回路により記憶媒体との接続が再開されたプロセッサは、一時記憶回路に保存されていたデータを記憶媒体へ転送することを特徴とする。
(4)請求項4の発明は、請求項3に記載の車載情報端末において、調停回路は、一時記憶回路の記憶容量が所定値を越えると、記憶媒体との接続が中断されたプロセッサを記憶手段に接続し、そのプロセッサによるデータ処理を再開することを特徴とする。
(5)請求項5の発明は、請求項1乃至4のいずれか1項に記載の車載情報端末において、第1のデータ処理は地図データを使用したデータ処理であり、第2のデータ処理は、音楽データや映像データなどのAVデータを使用したデータ処理であることを特徴とする。
(6)請求項6の発明は、請求項1乃至5のいずれか1項に記載の車載情報端末において、第1および第2のプロセッサと記憶媒体との間のデータ授受は、調停回路を経由したATAPI準拠のインターフェースにより行うことを特徴とする。
(1) An in-vehicle information terminal according to the invention of claim 1 performs a first process by exchanging data between a storage medium for storing data and the storage medium, and performs a first process according to the processing contents of the first process. 1st processor which outputs 1 request signal, and 2nd processor which performs 2nd process by exchanging data between storage media, and outputs the 2nd request signal according to the processing contents of the 2nd process And a hardware arbitration circuit that receives the first and second request signals and arbitrates access to the storage medium of the first and second processors in response thereto.
(2) According to a second aspect of the present invention, in the in-vehicle information terminal according to the first aspect, the hardware arbitration circuit includes: a switching circuit that connects one of the first and second processors to the storage medium; And a switching control circuit that switches the switching circuit according to the level of the second request signal.
(3) According to the invention of claim 3, in the in-vehicle information terminal according to claim 1 or 2, the processor whose connection with the storage medium is interrupted by the arbitration circuit continues data processing, and continues data processing. A temporary storage circuit that temporarily stores data obtained by the processing is further provided, and the processor whose connection with the storage medium is resumed by the arbitration circuit transfers the data stored in the temporary storage circuit to the storage medium. And
(4) According to the invention of claim 4, in the in-vehicle information terminal according to claim 3, the arbitration circuit stores the processor whose connection with the storage medium is interrupted when the storage capacity of the temporary storage circuit exceeds a predetermined value. The data processing by the processor is resumed by connecting to the means.
(5) The invention of claim 5 is the in-vehicle information terminal according to any one of claims 1 to 4, wherein the first data processing is data processing using map data, and the second data processing is It is characterized by data processing using AV data such as music data and video data.
(6) The invention of claim 6 is the in-vehicle information terminal according to any one of claims 1 to 5, wherein data exchange between the first and second processors and the storage medium is via an arbitration circuit. It is characterized in that it is performed by an ATAPI compliant interface.

本発明によれば、第1および第2のプロセッサから処理内容に応じて出力される要求信号に基づいてハードウエア回路でバス権調停を行うようにした。その結果、バス権調停をソフトウエアで行う場合に比べて調停回路が簡素化される。   According to the present invention, the bus arbitration is performed by the hardware circuit based on the request signal output from the first and second processors according to the processing contents. As a result, the arbitration circuit is simplified compared to the case where the bus arbitration is performed by software.

−第1の実施の形態−
本発明による車載情報端末をナビゲーション装置に適用した第1の実施形態の構成を図1に示す。図1のナビゲーション装置は、地図表示、経路誘導などの通常のナビゲーション機能の他に、音楽や映像再生機能を有する。この実施の形態では、音楽再生機能、音楽リッピング機能、地上デジタル放送視聴および録画機能をナビゲーション装置が備えているものとして説明する。
-First embodiment-
A configuration of a first embodiment in which an in-vehicle information terminal according to the present invention is applied to a navigation device is shown in FIG. 1 has music and video playback functions in addition to normal navigation functions such as map display and route guidance. In this embodiment, a description will be given on the assumption that the navigation apparatus has a music playback function, a music ripping function, a digital terrestrial broadcast viewing and recording function.

ナビゲーション装置は、ナビゲーション用メインCPU(プロセッサ)10Aと、音楽/映像再生用サブCPU(プロセッサ)10Bと、FPGA等で構成される調停回路20を主要部とする制御回路10とを備えている。制御回路10には、ハードディスクドライブ(HDD)50と、装填されたCDやDVDなどから音楽データや映像データを読み取るDVDドライブ60と、自車両の現在位置を検出する位置検出装置71と、地上デジタル放送受信回路72と、地図を表示したり地上デジタル放送の映像を表示する表示モニタ73と、経路案内の音声を出力したり受信した地上デジタル放送の音声を出力するスピーカ74と、各種入力装置75とが接続されている。   The navigation apparatus includes a navigation main CPU (processor) 10A, a music / video playback sub CPU (processor) 10B, and a control circuit 10 having an arbitration circuit 20 composed of an FPGA or the like as a main part. The control circuit 10 includes a hard disk drive (HDD) 50, a DVD drive 60 that reads music data and video data from a loaded CD or DVD, a position detection device 71 that detects the current position of the host vehicle, and digital terrestrial Broadcast receiving circuit 72, display monitor 73 for displaying a map or terrestrial digital broadcast video, speaker 74 for outputting route guidance audio or receiving received digital terrestrial broadcast audio, and various input devices 75 And are connected.

制御回路10のメインCPU10Aには、プログラムなどを書き込んだフラッシュメモリ11と、地図等の表示画像を描画する際に演算処理を行うASIC12と、メインCPU10Aの演算処理で使用する各種データを一時保存するDRAM13とがバスで接続されている。制御回路10のサブCPU10Bには、プログラムなどを書き込んだフラッシュメモリ14と、音楽CDから取得した音楽データを再生処理したりリッピング処理を行うDSP15と、DSP15の信号処理で得られる各種データを一時保存するDRAM16と、サブCPU10Bの演算処理で使用する各種データを一時保存するDRAM17とが接続されている。調停回路20には、後述するATAPI処理中に転送が中断されたデータを記憶するDRAM41,42が接続されている。   The main CPU 10A of the control circuit 10 temporarily stores a flash memory 11 in which a program or the like is written, an ASIC 12 that performs arithmetic processing when a display image such as a map is drawn, and various data used in the arithmetic processing of the main CPU 10A. The DRAM 13 is connected by a bus. The sub CPU 10B of the control circuit 10 temporarily stores a flash memory 14 in which a program or the like is written, a DSP 15 that reproduces or rips music data acquired from a music CD, and various data obtained by the DSP 15 signal processing. The DRAM 16 is connected to the DRAM 17 that temporarily stores various data used in the arithmetic processing of the sub CPU 10B. Connected to the arbitration circuit 20 are DRAMs 41 and 42 for storing data interrupted during ATAPI processing, which will be described later.

HDD50は、内蔵する磁気ハードディスクに記憶した地図データおよび音楽データの読み出し/書き込みを行う高速大容量記憶媒体および読み取り装置である。HDD50の音楽データはリッピング処理によってエンコードされた音楽データである。DVDドライブ60は、セットした音楽CDに記憶されている音楽データあるいは映像DVDに記憶されている映像データの読み出しを行う読み取り装置である。音楽CDや映像DVDはHDD50に比べて低速小容量記憶媒体である。   The HDD 50 is a high-speed and large-capacity storage medium and a reading device that read / write map data and music data stored in a built-in magnetic hard disk. The music data in the HDD 50 is music data encoded by the ripping process. The DVD drive 60 is a reading device that reads music data stored on a set music CD or video data stored on a video DVD. The music CD and the video DVD are low-speed and small-capacity storage media compared to the HDD 50.

ハードディスクドライブ(HDD)50およびDVDドライブ60は、ATAPI(AT Attachment Packet Interface)に準拠したIDE(Integrated Drive Electronics)インターフェースを使用してメインCPU10Aおよび10Bとの間のコマンド授受あるいはデータ授受を行う。そして調停回路20は、メインCPU10Aおよび10BのHDD50およびDVDドライバ60に対するバス権(アクセス権)を調停している。   The hard disk drive (HDD) 50 and the DVD drive 60 exchange commands or data with the main CPUs 10A and 10B using an IDE (Integrated Drive Electronics) interface compliant with ATAPI (AT Attachment Packet Interface). The arbitration circuit 20 arbitrates the bus right (access right) for the HDD 50 and the DVD driver 60 of the main CPUs 10A and 10B.

メインCPU10Aは、フラッシュメモリ11に格納された制御プログラムを実行して各種のナビゲーション処理を実行する。DRAM13には、ナビゲーション処理で使用するデータや演算データが一時的に保存される。メインCPU10Aは、位置検出装置71で検出された車両の現在位置を入力し、HDD50の地図データに基づいて自車位置周辺の地図を表示モニタ73に表示する。あるいは、自車位置から目的地までの経路を探索し、推奨経路に沿って乗員を案内する経路誘導を行う。   The main CPU 10A executes various navigation processes by executing a control program stored in the flash memory 11. The DRAM 13 temporarily stores data and calculation data used in navigation processing. The main CPU 10 </ b> A inputs the current position of the vehicle detected by the position detection device 71, and displays a map around the vehicle position on the display monitor 73 based on the map data in the HDD 50. Alternatively, the route from the vehicle position to the destination is searched, and route guidance for guiding the passenger along the recommended route is performed.

サブCPU10Bは、フラッシュメモリ14に格納された制御プログラムを実行して音楽再生処理や映像再生処理などを行う。サブCPU10Bは、DVDドライブ60にセットされた音楽CDに記憶された音楽データをDSP15で再生してスピーカ74から出力する。サブCPU10Bの制御の下、DSP15は、DVDドライブ60から読み込んだ音楽データをリッピング処理し、サブCPU10Bは、リッピング処理によりエンコードされた音楽データをHDD50に記憶する。   The sub CPU 10B executes a control program stored in the flash memory 14 to perform music playback processing, video playback processing, and the like. The sub CPU 10 </ b> B reproduces the music data stored in the music CD set in the DVD drive 60 on the DSP 15 and outputs it from the speaker 74. Under the control of the sub CPU 10B, the DSP 15 rips the music data read from the DVD drive 60, and the sub CPU 10B stores the music data encoded by the rip processing in the HDD 50.

サブCPU10Bは、地上デジタル放送受信回路72で受信した地上デジタル放送の映像を表示モニタ73に表示し、スピーカ74からその音声を出力することにより、いわゆる地デジ放送を視聴する処理を行う。地上デジタル放送を録画する処理もサブCPU10Bにより行われる。この場合、受信した映像はDRAM17に一時的に格納され、所定のタイミングでHDD50に保存される。DRAM17には、音楽データや映像データの処理(エンターテイメント処理)で使用されるデータや演算データも一時的に保存される。   The sub CPU 10 </ b> B displays the terrestrial digital broadcast video received by the terrestrial digital broadcast reception circuit 72 on the display monitor 73 and outputs the sound from the speaker 74, thereby performing so-called terrestrial digital broadcast viewing processing. Processing for recording digital terrestrial broadcasting is also performed by the sub CPU 10B. In this case, the received video is temporarily stored in the DRAM 17 and stored in the HDD 50 at a predetermined timing. The DRAM 17 also temporarily stores data and arithmetic data used in music data and video data processing (entertainment processing).

図2に詳細に示すように、調停回路20はHost I/F21と、 DeviceI/F22および23と、ARBITERと呼ばれる切換回路24と、切換回路24を制御するREGISTERと呼ばれる切替制御回路(調停制御回路)25とを備えたプログラマブルゲートアレイ回路として構成することができる。   As shown in detail in FIG. 2, the arbitration circuit 20 includes a Host I / F 21, Device I / Fs 22 and 23, a switching circuit 24 called ARBITER, and a switching control circuit (arbitration control circuit called REGISTER) that controls the switching circuit 24. ) 25 and a programmable gate array circuit.

Host I/F21はHDD50およびDVDドライブ60と接続され、Device I/F22はメインCPU10Aと接続され、Device I/F23はサブCPU10Bと接続されている。メインCPU10AおよびサブCPU10Bは、それぞれの処理に応じたATAPI使用要求レベルを切替制御回路25へ送信する。一方、切替制御回路25を介して、メインCPU10AはサブCPU10BのATAPI使用要求レベルを、サブCPU10BはメインCPU10AのATAPI使用要求レベルをそれぞれ受信する。   The Host I / F 21 is connected to the HDD 50 and the DVD drive 60, the Device I / F 22 is connected to the main CPU 10A, and the Device I / F 23 is connected to the sub CPU 10B. The main CPU 10 </ b> A and the sub CPU 10 </ b> B transmit ATAPI use request levels corresponding to the respective processes to the switching control circuit 25. On the other hand, via the switching control circuit 25, the main CPU 10A receives the ATAPI use request level of the sub CPU 10B, and the sub CPU 10B receives the ATAPI use request level of the main CPU 10A.

そのため、メインCPU10Aは、切替制御回路25との間で、メインCPU10Aの2つのATAPI使用要求レベル信号GPIO(general purpose input output)1−1,2と、サブCPU10Bの2つのATAPI使用要求レベル信号GPIO2−1,2の計4つの要求信号を入出力する。サブCPU10Bは、切替制御回路25との間で、サブCPU10Bの2つのATAPI使用要求レベル信号GPIO2−1,2と、メインCPU10Aの2つのATAPI使用要求レベル信号GPIO1−1,2の計4つの要求信号を入出力する。   Therefore, the main CPU 10A communicates with the switching control circuit 25 by two ATAPI use request level signals GPIO (general purpose input output) 1-1, 2 of the main CPU 10A and two ATAPI use request level signals GPIO2 of the sub CPU 10B. A total of four request signals of −1 and 2 are input / output. The sub CPU 10B, with respect to the switching control circuit 25, has four requests in total: two ATAPI use request level signals GPIO2-1 and 2 of the sub CPU 10B and two ATAPI use request level signals GPIO1-1 and 2 of the main CPU 10A. Input and output signals.

メインCPU10Aの2つのATAPI使用要求レベル信号GPIO1−1,2により、次のレベル0、1,2,3の4段階を定義する。
(a)メインCPU10AのATAPI使用要求レベル0(00):メインCPU10A未使用
(b)メインCPU10AのATAPI使用要求レベル1(01):経路探索処理
(c)メインCPU10AのATAPI使用要求レベル2(10):地図スクロール処理
(d)メインCPU10AのATAPI使用要求レベル3(11):地図データ読み出し処理
The following four levels 0, 1, 2, and 3 are defined by the two ATAPI use request level signals GPIO1-1 and 2 of the main CPU 10A.
(A) ATAPI use request level 0 (00) of main CPU 10A: main CPU 10A not used (b) ATAPI use request level 1 (01) of main CPU 10A: route search processing (c) ATAPI use request level 2 (10) of main CPU 10A ): Map scroll process (d) ATAPI use request level 3 (11) of main CPU 10A: Map data read process

サブCPU10Bの2つのATAPI使用要求レベル信号GPIO2−1,2により、次のレベル0、1,2,3の4段階を定義する。
(a)サブCPU10BのATAPI使用要求レベル0(00):サブCPU10B未使用
(b)サブCPU10BのATAPI使用要求レベル1(01):リッピング処理
(c)サブCPU10BのATAPI使用要求レベル2(10):CD/DVDデータ読み出し処理
(d)サブCPU10BのATAPI使用要求レベル3(11):地上デジタル放送録画処理
The following four levels 0, 1, 2, 3 are defined by the two ATAPI use request level signals GPIO2-1, 2 of the sub CPU 10B.
(A) Sub-CPU 10B ATAPI use request level 0 (00): Sub CPU 10B not used (b) Sub CPU 10B ATAPI use request level 1 (01): Ripping process (c) Sub CPU 10B ATAPI use request level 2 (10) : CD / DVD data reading process (d) Sub-CPU 10B ATAPI use request level 3 (11): Terrestrial digital broadcast recording process

なお、各ATAPI使用要求レベルは、括弧内に示すように、ATAPI使用要求レベル信号GPIO1−1,2およびGPIO2−1,2の信号レベルで表される。また、メインCPU10AおよびサブCPU10Bにおいて、レベル3はレベル2よりも緊急性が高く、レベル2はレベル1よりも緊急性が高く、レベル1はレベル0よりも緊急性が高い処理である。   Each ATAPI use request level is represented by signal levels of ATAPI use request level signals GPIO1-1, 2 and GPIO2-1, 2 as shown in parentheses. Further, in the main CPU 10A and the sub CPU 10B, level 3 is a process that is more urgent than level 2, level 2 is a process that is more urgent than level 1, and level 1 is a process that is more urgent than level 0.

メインCPU10Aの2つのATAPI使用要求レベル信号GPIO1−1,2、およびサブCPU10Bの2つのATAPI使用要求レベル信号GPIO2−1,2は調停回路20の切替制御回路25に入力され、調停制御テーブルを設定する。これら4つの使用要求レベル信号に基づく調停制御テーブルにより切換回路24が切替えられてバス権が制御される。図3は、メインCPU10Aの2つのATAPI使用要求レベル信号GPIO1−1,2、およびサブCPU10Bの2つのATAPI使用要求レベル信号GPIO2−1,2に応じた各CPUのバス権を説明する図である。図3は、メインCPU10AがサブCPU10Bに優先してバス権を有するように定義した場合を示している。   The two ATAPI use request level signals GPIO1-1, 2 of the main CPU 10A and the two ATAPI use request level signals GPIO2-1, 2 of the sub CPU 10B are input to the switching control circuit 25 of the arbitration circuit 20 to set the arbitration control table. To do. The switching circuit 24 is switched by the arbitration control table based on these four use request level signals, and the bus right is controlled. FIG. 3 is a diagram for explaining the bus right of each CPU in accordance with the two ATAPI use request level signals GPIO1-1, 2 of the main CPU 10A and the two ATAPI use request level signals GPIO2-1, 2 of the sub CPU 10B. . FIG. 3 shows a case where the main CPU 10A is defined to have a bus right in preference to the sub CPU 10B.

図3を参照して一例を説明する。
(1)メインCPU10Aの要求レベル0(00)の場合
サブCPU10Bの要求レベルが0であればバス権はメインCPU10Aに与えられ、サブCPU10Bの要求レベルが1〜3であればバス権はサブCPU10Bに与えられる。
(2)メインCPU10Aの要求レベル1(01)の場合
サブCPU10Bの要求レベルが0および1であればバス権はメインCPU10Aに与えられ、サブCPU10Bの要求レベルが2または3であればバス権はサブCPU10Bに与えられる。
An example will be described with reference to FIG.
(1) When the request level of the main CPU 10A is 0 (00) If the request level of the sub CPU 10B is 0, the bus right is given to the main CPU 10A, and if the request level of the sub CPU 10B is 1 to 3, the bus right is the sub CPU 10B. Given to.
(2) When the request level of the main CPU 10A is 1 (01) If the request level of the sub CPU 10B is 0 or 1, the bus right is given to the main CPU 10A, and if the request level of the sub CPU 10B is 2 or 3, the bus right is It is given to the sub CPU 10B.

(3)メインCPU10Aの要求レベルが2(10)の場合
サブCPU10Bの要求レベルが0〜2であればバス権はメインCPU10Aに与えられ、サブCPU10Bの要求レベルが3であればバス権はサブCPU10Bに与えられる。
(4)メインCPU10Aの要求レベルが3(11)の場合
サブCPU10Bの要求レベルに拘わらずバス権はメインCPU10Aに与えられる。
(3) When the request level of the main CPU 10A is 2 (10) If the request level of the sub CPU 10B is 0-2, the bus right is given to the main CPU 10A, and if the request level of the sub CPU 10B is 3, the bus right is sub It is given to the CPU 10B.
(4) When the request level of the main CPU 10A is 3 (11) The bus right is given to the main CPU 10A regardless of the request level of the sub CPU 10B.

図4は、制御回路10による処理全体を説明するフローチャートである。
ステップS1において初期設定処理を行う。初期設定処理では、メインCPU10AとサブCPU10BのATAPI使用要求レベルを0(00)に設定し、バス権をメインCPU10Aに与える。すなわち、調停制御テーブルは図3の符号3aに示すように書き換えられる。切替回路24は初期設定された調停制御テーブルを参照してバス権調停の切替を行ってメインCPU10AとHDD50とを接続する。また、メインCPU10AおよびサブCPU10BはともにATAPI処理によるデータ転送が可能なレディ状態に設定される。後述するように、メインCPU10AおよびサブCPU10Bがビジー状態に設定されると、ATAPI処理によるデータ転送が禁止される。
FIG. 4 is a flowchart for explaining the entire processing by the control circuit 10.
In step S1, an initial setting process is performed. In the initial setting process, the ATAPI use request level of the main CPU 10A and the sub CPU 10B is set to 0 (00), and the bus right is given to the main CPU 10A. That is, the arbitration control table is rewritten as indicated by reference numeral 3a in FIG. The switching circuit 24 refers to the initially set arbitration control table and switches the bus arbitration to connect the main CPU 10A and the HDD 50. Further, both the main CPU 10A and the sub CPU 10B are set in a ready state in which data transfer by ATAPI processing is possible. As will be described later, when the main CPU 10A and the sub CPU 10B are set to the busy state, data transfer by the ATAPI process is prohibited.

ここで、ATAPI処理によるデータ転送とは、メインCPU10AおよびサブCPU10Bが調停回路20の調停の制御下で行うデータの転送である。したがって、メインCPU10AおよびサブCPU10Bがビジー状態に設定されても、メインCPU10AおよびサブCPU10BとDRAM41および42との間で行うデータ転送は禁止されない。   Here, the data transfer by ATAPI processing is data transfer performed by the main CPU 10A and the sub CPU 10B under the control of the arbitration of the arbitration circuit 20. Therefore, even if the main CPU 10A and the sub CPU 10B are set in the busy state, data transfer performed between the main CPU 10A and the sub CPU 10B and the DRAMs 41 and 42 is not prohibited.

なお、図示しない処理手順により、メインCPU10AおよびサブCPU10Bは、ユーザのATAPI使用要求により、常時、調停制御テーブルを書き換えることができる。ATAPI使用要求とは、ユーザによる地図スクロール操作などのナビゲーション装置に対する操作に基づく使用要求である。   Note that the main CPU 10A and the sub CPU 10B can always rewrite the arbitration control table in response to a user's ATAPI usage request by a processing procedure (not shown). The ATAPI use request is a use request based on an operation on a navigation device such as a map scroll operation by a user.

ステップS2では、ATAPI使用要求の入力を待機する。要求があればステップS3に進み、メインCPU10Aの要求レベルがサブCPU10Bの要求レベル以上か否かを判定する。メインCPU10Aの要求レベルがサブCPU10Bの要求レベル以上であればステップS3が肯定され、ステップS3AでサブCPU10Bをビジー状態に設定してステップS4に進む。ステップS4では、バス権が与えられたメインCPU10AはHDD50との間で各種データの授受を開始する。   In step S2, input of an ATAPI use request is awaited. If there is a request, the process proceeds to step S3, and it is determined whether or not the request level of the main CPU 10A is equal to or higher than the request level of the sub CPU 10B. If the request level of the main CPU 10A is equal to or higher than the request level of the sub CPU 10B, step S3 is affirmed, and the sub CPU 10B is set in a busy state in step S3A, and the process proceeds to step S4. In step S <b> 4, the main CPU 10 </ b> A to which the bus right is given starts sending / receiving various data to / from the HDD 50.

ステップS3が肯定される場合、図示しない手順によって、ATAPI使用要求レベル信号に基づく調停制御テーブルの書き換え処理が行われるが、調停制御テーブルはステップS1における初期設定状態を維持する。   When step S3 is affirmed, the arbitration control table is rewritten based on the ATAPI use request level signal by a procedure not shown, but the arbitration control table maintains the initial setting state in step S1.

ステップS5では、新たなATAPI使用要求の有無を判定し、新たな要求がなければステップS6に進む。ステップS6では、メインCPU10AによるHDD50へのデータ転送が終了したか否かを判定する。ステップS6が否定されるとステップS4に戻り、データ転送を続行する。データ転送が終了してステップS6が肯定されるとステップS6Aに進み、サブCPU10Bをレデイー状態とする。次にステップS7に進み、サブCPU10Bの使用要求があるか否かを判定する。サブCPU10Bからの使用要求がなければステップS2に戻り、サブCPU10Bからの使用要求があればステップS7からステップS13へ進む。   In step S5, it is determined whether or not there is a new ATAPI use request. If there is no new request, the process proceeds to step S6. In step S6, it is determined whether or not the data transfer to the HDD 50 by the main CPU 10A has been completed. If step S6 is negative, the process returns to step S4 to continue data transfer. When the data transfer is completed and step S6 is affirmed, the process proceeds to step S6A, and the sub CPU 10B is set in a ready state. In step S7, it is determined whether or not there is a use request for the sub CPU 10B. If there is no use request from the sub CPU 10B, the process returns to step S2, and if there is a use request from the sub CPU 10B, the process proceeds from step S7 to step S13.

ステップS5において新たなATAPI使用要求があると判定されると、ステップS8に進み、メインCPU10Aの要求レベルがサブCPU10Bの要求レベル以上か否かを判定する。ステップS8が肯定されるとステップS6に進む。ステップS5の判定に際して、新たなATAPI使用要求がサブCPU10Bの要求であり、かつ、サブCPU10Bの要求レベルがメインCPU10Aの要求レベルを超えている場合、ステップS8が否定されてステップS9に進む。ステップS9ではメインCPU10Aのデータ転送を中断する処理を行い、ステップS10Aを通ってステップS10へ進む。ステップS8が否定される場合、図示しない手順によって、ATAPI使用要求レベル信号に基づく調停制御テーブルの書き換え処理が行われ、バス権がサブサブCPU10Bに切り替えられている。しかし、サブサブCPU10Bはまだビジー状態のままであり、データ転送は開始されない。   If it is determined in step S5 that there is a new ATAPI use request, the process proceeds to step S8, and it is determined whether or not the request level of the main CPU 10A is equal to or higher than the request level of the sub CPU 10B. If step S8 is positive, the process proceeds to step S6. If it is determined in step S5 that the new ATAPI use request is a request from the sub CPU 10B and the request level of the sub CPU 10B exceeds the request level of the main CPU 10A, step S8 is denied and the process proceeds to step S9. In step S9, a process for interrupting the data transfer of the main CPU 10A is performed, and the process proceeds to step S10 through step S10A. If step S8 is negative, the arbitration control table rewriting process based on the ATAPI use request level signal is performed by a procedure not shown, and the bus right is switched to the sub-sub CPU 10B. However, the sub sub CPU 10B is still busy and data transfer is not started.

ステップS10Aでは、メインCPU10Aをビジー状態に、サブCPU10Bをレデイー状態に設定する。これにより、ステップS10において、サブCPU10BとHDD50との間でデータ転送が始まる。一方、バス権を引き渡したメインCPU10Aは引き続きATAPI処理を続行し、HDD50への転送データをDRAM41に一時保存する。   In step S10A, the main CPU 10A is set in a busy state and the sub CPU 10B is set in a ready state. Thereby, in step S10, data transfer is started between the sub CPU 10B and the HDD 50. On the other hand, the main CPU 10 </ b> A that has handed over the bus right continues the ATAPI process, and temporarily stores the transfer data to the HDD 50 in the DRAM 41.

ステップS11でサブCPU10Bからのデータ転送が終了すると、ステップS11Aを通ってステップS12に進む。ステップS11Aにおいて、メインCPU10Aをレデイー状態に、サブCPU10Bをビジー状態に設定すると、ステップS12において、調停制御テーブルの書き換え処理を行ない、バス権をメインCPU10Aに切り替える。これにより、中断していたメインCPU10Aのデータ転送が再開される。すなわち、DRAM41に一時保存されているデータがHDD50へ転送される。その後、処理はステップS4に進む。   When the data transfer from the sub CPU 10B is completed in step S11, the process proceeds to step S12 through step S11A. In step S11A, when the main CPU 10A is set to the ready state and the sub CPU 10B is set to the busy state, the arbitration control table is rewritten in step S12, and the bus right is switched to the main CPU 10A. Thereby, the interrupted data transfer of the main CPU 10A is resumed. That is, data temporarily stored in the DRAM 41 is transferred to the HDD 50. Thereafter, the process proceeds to step S4.

ステップS3において、サブCPU10Bの要求レベルがメインCPU10Aの要求レベル以上であると判定されると、ステップS3Bに進み、メインCPU10Aをビジー状態に設定する。ステップS3が否定される場合、図示しない手順によって、ATAPI使用要求レベル信号に基づく調停制御テーブルの書き換え処理が行われていて、バス権がサブサブCPU10Bに切り替えられている。ステップS13に進むと、サブサブCPU10Bはデータ転送を開始して、HDD50との間で各種データの授受を開始する。   If it is determined in step S3 that the required level of the sub CPU 10B is equal to or higher than the required level of the main CPU 10A, the process proceeds to step S3B, and the main CPU 10A is set to the busy state. If step S3 is negative, the arbitration control table rewriting process based on the ATAPI use request level signal is performed by a procedure not shown, and the bus right is switched to the sub-sub CPU 10B. In step S13, the sub-sub CPU 10B starts data transfer and starts exchange of various data with the HDD 50.

ステップS14では、新たなATAPI使用要求の有無を判定し、新たな要求がなければステップS15に進む。ステップS15では、サブCPU10BからHDD50へのデータ転送が終了したか否かを判定する。ステップS15が否定されるとステップS13に戻る。データ転送が終了してステップS15が肯定されると、ステップS15Aを通ってステップS16に進む。ステップS15Aでは、メインCPU10Aをレデイー状態に設定する。ステップS16では、メインCPU10AのATAPI使用要求があるか否かを判定する。メインCPU10AからのATAPI使用要求がなければステップS2に戻り、メインCPU10AからのATAPI使用要求があるとステップS16からステップS4へ戻る。   In step S14, it is determined whether or not there is a new ATAPI use request. If there is no new request, the process proceeds to step S15. In step S15, it is determined whether or not the data transfer from the sub CPU 10B to the HDD 50 has been completed. If step S15 is negative, the process returns to step S13. When the data transfer is completed and step S15 is affirmed, the process proceeds to step S16 through step S15A. In step S15A, the main CPU 10A is set in a ready state. In step S16, it is determined whether there is a request for using the ATAPI of the main CPU 10A. If there is no ATAPI use request from the main CPU 10A, the process returns to step S2, and if there is an ATAPI use request from the main CPU 10A, the process returns from step S16 to step S4.

ステップS14において新たなATAPI使用要求があると判定されると、ステップS17に進み、メインCPU10Aの要求レベルがサブCPU10Bの要求レベル以上か否かを判定する。ステップS17が否定されるとステップS15に進む。ステップS17が肯定されるとステップS18に進み、サブCPU10Bのデータ転送を中断する。その後、処理はステップS18Aを通ってステップS19へ進む。ステップS18Aでは、メインCPU10Aをレデイー状態に、サブCPU10Bをビジー状態に設定する。また、ステップS19において、調停制御テーブルの書き換え処理を行ない、バス権をメインCPU10Aに切り替える。これにより、メインCPU10AからHDD50へのデータ転送が始まる。   If it is determined in step S14 that there is a new ATAPI use request, the process proceeds to step S17, and it is determined whether or not the request level of the main CPU 10A is equal to or higher than the request level of the sub CPU 10B. If step S17 is negative, the process proceeds to step S15. If step S17 is positive, the process proceeds to step S18, and the data transfer of the sub CPU 10B is interrupted. Thereafter, the process proceeds to step S19 through step S18A. In step S18A, the main CPU 10A is set in a ready state, and the sub CPU 10B is set in a busy state. In step S19, the arbitration control table is rewritten to switch the bus right to the main CPU 10A. Thereby, data transfer from the main CPU 10A to the HDD 50 starts.

一方、バス権を引き渡したサブCPU10Bは引き続きATAPI処理を続行し、HDD50への転送データをDRAM42に一時保存する。ステップS20でメインCPU10Aからのデータ転送が終了するとステップS20Aを通ってステップS21に進む。ステップS20Aでは、メインCPU10Aをレデイー状態に、サブCPU10Bをビジー状態に設定する。ステップS21において、調停制御テーブルの書き換え処理を行ない、バス権をサブサブCPU10Bに切り替える。これにより、中断していたサブCPU10Bのデータ転送が再開される。すなわち、DRAM42に一時保存されているデータがHDD50へ転送される。その後、処理はステップ13に進む。   On the other hand, the sub CPU 10B that has handed over the bus right continues the ATAPI process and temporarily stores the transfer data to the HDD 50 in the DRAM 42. When the data transfer from the main CPU 10A is completed in step S20, the process proceeds to step S21 through step S20A. In step S20A, the main CPU 10A is set in a ready state, and the sub CPU 10B is set in a busy state. In step S21, the arbitration control table is rewritten, and the bus right is switched to the sub-sub CPU 10B. Thereby, the data transfer of the suspended sub CPU 10B is resumed. That is, data temporarily stored in the DRAM 42 is transferred to the HDD 50. Thereafter, the process proceeds to step 13.

以上の実施の形態によるナビゲーション装置の動作について、地上デジタル放送録画中に地図スクロール要求が発生した場合を一例として説明する。
サブCPU10Bの制御の下で地上デジタル放送を録画中は、その録画データはHDD50へ転送される(ステップS13)。ユーザの操作によりメインCPU10Aが地図データ読み出し処理を受け付けると、メインCPU10AのATAPI使用要求レベルがサブCPU10BのATAPI使用要求レベルと等しいレベル3になり、調停回路20はバス権をメインCPU10Aに移行し、サブCPU10Bのデータ転送は中断される(ステップS18)。このとき、バス権を渡した後もCPU10Bは引き続き録画処理を続行し、録画映像データをDRAM42に一時保存する。サブCPU10Bは、バス権を取得した後に、DRAM42の録画データをHDD50に転送する(ステップS21)。
The operation of the navigation device according to the above embodiment will be described by taking as an example the case where a map scroll request is generated during digital terrestrial broadcast recording.
During recording of terrestrial digital broadcasting under the control of the sub CPU 10B, the recorded data is transferred to the HDD 50 (step S13). When the main CPU 10A accepts the map data reading process by the user's operation, the ATAPI use request level of the main CPU 10A becomes level 3 equal to the ATAPI use request level of the sub CPU 10B, and the arbitration circuit 20 transfers the bus right to the main CPU 10A. The data transfer of the sub CPU 10B is interrupted (step S18). At this time, even after the bus right is passed, the CPU 10B continues the recording process and temporarily stores the recorded video data in the DRAM 42. After obtaining the bus right, the sub CPU 10B transfers the recorded data of the DRAM 42 to the HDD 50 (step S21).

このようなATAPI調停処理により、録画データが途切れるなどの不都合を解消することができる。   By such ATAPI arbitration processing, inconvenience such as recording data being interrupted can be solved.

以上説明した第1の実施の形態によるナビゲーション装置によれば次のような作用効果を奏することができる。
(1)メインCPU10AとサブCPU10Bは、それらの処理内容に応じてATAPI使用要求信号GPIO1−1,2およびGPIO2−1,2をそれぞれ設定する。ATAPI使用要求信号GPIO1−1,2およびGPIO2−1,2により切替制御回路25に調停制御テーブルが登録され、切替回路24は登録された調停制御テーブルにしたがってメインCPU10AまたはサブCPU10Bにバス権を与えるように切り替わる。したがって、調停回路20にあっては、メインCPUおよびサブCPUがHDDにアクセスするたびに、従来技術で説明したようなソフトウエア処理によるATA調停が不要となる。その結果、ATA調停処理に関するシステムが簡素化される。
According to the navigation device according to the first embodiment described above, the following operational effects can be obtained.
(1) The main CPU 10A and the sub CPU 10B set the ATAPI use request signals GPIO1-1, 2 and GPIO2-1, 2 in accordance with their processing contents. The arbitration control table is registered in the switching control circuit 25 by the ATAPI use request signals GPIO1-1, 2 and GPIO2-1, 2. The switching circuit 24 gives the bus right to the main CPU 10A or the sub CPU 10B according to the registered arbitration control table. It switches as follows. Therefore, in the arbitration circuit 20, ATA arbitration by software processing as described in the prior art becomes unnecessary each time the main CPU and sub CPU access the HDD. As a result, the system related to the ATA arbitration process is simplified.

(2)一方のCPUがATAPI処理実行中に他方のCPUにバス権を引き渡す場合、ATAPI処理中にバス権を引き渡したメインCPU10AまたはサブCPU10Bはデータ転送だけを中断し、その後のデータ処理を続行し、DRAM41または42に転送データを一時保存するようにした。したがって、必要なデータのHDD50への転送が途切れるといった不都合はない。 (2) When one CPU delivers the bus right to the other CPU during execution of ATAPI processing, the main CPU 10A or the sub CPU 10B that has given the bus right during ATAPI processing interrupts only the data transfer and continues the subsequent data processing. The transfer data is temporarily stored in the DRAM 41 or 42. Therefore, there is no inconvenience that transfer of necessary data to the HDD 50 is interrupted.

第1の実施の形態のナビゲーション装置では、ATAPI使用要求レベルに拘わらず、優先度の高いATAPI使用要求が他方のCPUで発生すると、実行中のATAPI処理によるデータ転送を中断し、中断した転送データをDRAM41や42に一時保存するようにした。このような処理を所定以上のレベルについてのみ行い、所定値未満のレベルについてはデータ転送だけでなく、ATAPI処理自体を中断するように構成してもよい。このような処理を行う一例を第2の実施の形態として説明する。   In the navigation device of the first embodiment, when an ATAPI use request having a high priority is generated in the other CPU regardless of the ATAPI use request level, the data transfer by the ATAPI process being executed is interrupted, and the interrupted transfer data Is temporarily stored in the DRAM 41 or 42. Such processing may be performed only for a predetermined level or higher, and for a level less than a predetermined value, not only data transfer but also ATAPI processing itself may be interrupted. An example of performing such processing will be described as a second embodiment.

−第2の実施の形態− -Second Embodiment-

本発明の車載情報端末の第2の実施形態であるナビゲーション装置の構成を図5に示す。第1の実施の形態のナビゲーション装置と相違する点を主に説明する。図5に示すように、サブCPU10BのDevice I/F23にはDRAM42が接続されているが、メインCPU10AのDevice I/F22にはDRAM41が接続されていない。この構成が主たる相違点である。   FIG. 5 shows the configuration of a navigation device that is a second embodiment of the in-vehicle information terminal of the present invention. Differences from the navigation device of the first embodiment will be mainly described. As shown in FIG. 5, the DRAM 42 is connected to the Device I / F 23 of the sub CPU 10B, but the DRAM 41 is not connected to the Device I / F 22 of the main CPU 10A. This configuration is the main difference.

第1の実施の形態のナビゲーション装置では、メインCPU10AとサブCPU10BのATAPI使用要求レベルを比較し、要求レベルが高いCPUにバス権を与える。この点は第2の実施の形態でも同様であり、詳細な説明は省略する。第2の実施の形態のナビゲーション装置では、サブCPU10BがATAPI使用要求レベル3の処理を実行中にメインCPU10AにATAPI使用要求レベル3の処理要求が発生した場合、サブCPU10BのATAPI処理によるデータ転送のみを中断し、処理そのものは続行する。そして、HDD50に記録する必要のあるデータを、Device I/F23に接続したDRAM42に一時保存する。バス権を引き渡したサブCPU10Bは、バス権を取得した後にDRAM42に一時保存したデータをHDD50に転送する。   In the navigation device according to the first embodiment, the main CPU 10A and the sub CPU 10B are compared with the ATAPI use request level, and the bus right is given to the CPU having a high request level. This point is the same in the second embodiment, and detailed description thereof is omitted. In the navigation device of the second embodiment, when a processing request of ATAPI usage request level 3 is generated in the main CPU 10A while the sub CPU 10B is executing processing of ATAPI usage request level 3, only data transfer by ATAPI processing of the sub CPU 10B is performed. And the process itself continues. Then, data that needs to be recorded in the HDD 50 is temporarily stored in the DRAM 42 connected to the Device I / F 23. The sub CPU 10B that has transferred the bus right transfers the data temporarily stored in the DRAM 42 to the HDD 50 after acquiring the bus right.

第2の実施の形態のナビゲーション装置においてメインCPU10AのDRAM41を省略したのは次の理由による。第2の実施の形態のナビゲーション装置では、上記のようにサブCPU10BがATAPI使用要求レベル3の処理を実行中にメインCPU10AにATAPI使用要求レベル3の処理要求が発生した場合、サブCPU10Bはバス権を引き渡すが、データ処理は続行する。したがって、サブCPU10Bで得られた転送データを一時保存するためにDRAM42が必要である。しかし、上記以外の条件によりバス権を引き渡したそれぞれのCPUはデータ処理自体も終了する。すなわち、メインCPU10Aにあっては、バス権を引き渡した後にデータ処理を続行することがない。したがって、メインCPU10AのDRAM41は不要となる。   The reason why the DRAM 41 of the main CPU 10A is omitted in the navigation device of the second embodiment is as follows. In the navigation device according to the second embodiment, when the sub CPU 10B generates an ATAPI use request level 3 processing request to the main CPU 10A while the sub CPU 10B executes the ATAPI use request level 3 processing as described above, the sub CPU 10B has the bus right. , But data processing continues. Therefore, the DRAM 42 is necessary to temporarily store the transfer data obtained by the sub CPU 10B. However, each CPU that has given the bus right under conditions other than those described above also ends the data processing itself. That is, the main CPU 10A does not continue data processing after handing over the bus right. Therefore, the DRAM 41 of the main CPU 10A is not necessary.

以上説明した第2の実施の形態によるナビゲーション装置によれば、ATAPI処理実行中にバス権を引き渡してHDD50への転送を中止する際、特にデータが途切れて支障が発生しやすい使用要求レベル3の場合にのみ転送データを一時保存し、バス権が再度引き渡された時に一時保存データの転送を再開するようにした。したがって、むやみに転送データの一時保存、データ転送再開などといった処理を実行することがなく、システム構成が簡素化できる。   According to the navigation apparatus according to the second embodiment as described above, when the bus right is handed over and the transfer to the HDD 50 is stopped during the execution of the ATAPI process, the use request level 3 is likely to cause trouble especially when data is interrupted. The transfer data is temporarily saved only in the case, and the transfer of the temporarily saved data is resumed when the bus right is handed over again. Therefore, processing such as temporary storage of transfer data and resumption of data transfer are not executed unnecessarily, and the system configuration can be simplified.

第2の実施の形態のナビゲーション装置を次のように変形しても良い。この場合のシステム構成は図1に示すナビゲーション装置と同様となる。
第2の実施の形態のナビゲーション装置では、バス権をメインCPU10Aに引き渡したサブCPU10Bは引き続きATAPI処理を続行して転送すべきデータをDRAM42に一時記憶する。しかし、DRAMA42のデータ記憶容量が最大記憶容量のたとえば80パーセントに達すると、DRAM42から切替制御回路25に割り込みをかけ、バス権をサブCPU10Bに引き渡すようにしてもよい。すなわち、切替制御回路25は、現在実行中のメインCPU10AのATAPI処理を割り込みにより速やかに終了し、バス権をサブCPU10Bに移行する。バス権を引渡したメインCPU10Aは引き続き処理を続行し、DRAM41にHDD50に記憶が必要なデータを一時保存する。サブCPU10BのDRAM10Bのデータ記憶容量がたとえば30パーセントまで低下したときに、バス権をメインCPU10Aに引き渡し、そのDRAM41に一時保存した転送すべきデータをHDD50へ転送する。
The navigation device of the second embodiment may be modified as follows. The system configuration in this case is the same as that of the navigation apparatus shown in FIG.
In the navigation device of the second embodiment, the sub CPU 10B that has handed over the bus right to the main CPU 10A continues the ATAPI process and temporarily stores data to be transferred in the DRAM 42. However, when the data storage capacity of the DRAM A 42 reaches, for example, 80% of the maximum storage capacity, the switching control circuit 25 may be interrupted from the DRAM 42 and the bus right may be handed over to the sub CPU 10B. That is, the switching control circuit 25 immediately ends the ATAPI process of the main CPU 10A currently being executed by interruption, and transfers the bus right to the sub CPU 10B. The main CPU 10A that has handed over the bus right continues processing, and temporarily stores data that needs to be stored in the HDD 50 in the DRAM 41. When the data storage capacity of the DRAM 10B of the sub CPU 10B decreases to, for example, 30%, the bus right is transferred to the main CPU 10A, and the data to be transferred temporarily stored in the DRAM 41 is transferred to the HDD 50.

なお、DRAM42が割り込みをかけるデータ記憶容量のしきい値は、メインCPU10AのHDD50への最大アクセス時間を考慮して決定すればよい。すなわち、バス権を引き渡した以降のメインCPU10AのHDD50へのアクセス時間に応じてデータ記憶容量のしきい値を決定すればよい。   Note that the threshold of the data storage capacity that the DRAM 42 interrupts may be determined in consideration of the maximum access time to the HDD 50 of the main CPU 10A. That is, the threshold value of the data storage capacity may be determined according to the access time to the HDD 50 of the main CPU 10A after the bus right is handed over.

このような変形例によれば、次のような作用効果を奏することができる。
たとえば、バス権をメインCPU10Aに引き渡した後、サブCPU10Bが地上デジタル放送を録画中にDRAM42の記憶容量が80パーセントに達したとき、サブCPU10Bにバス権を移行し、DRAM42の録画データをHDD50へ転送する。これにより、DRAM42の容量を有効に利用することができ、録画映像が途切れることを防止することができる。
According to such a modification, the following effects can be obtained.
For example, after the bus right is handed over to the main CPU 10A, when the storage capacity of the DRAM 42 reaches 80% while the sub CPU 10B is recording digital terrestrial broadcasting, the bus right is transferred to the sub CPU 10B, and the recorded data of the DRAM 42 is transferred to the HDD 50. Forward. Thereby, the capacity of the DRAM 42 can be used effectively, and the recorded video can be prevented from being interrupted.

次のような変形も本発明の範囲内である。
(1)車載情報端末をナビゲーション装置として説明したが、ナビゲーション装置に限定されない。すなわち、それぞれが異なるデータ処理を実行する第1および第2のプロセッサが同一の記憶媒体を共通に使用する車載情報端末であればその用途は問わない。たとえば、メインプロセッサがいわゆるドライブレコーダに使用され、サブプロセッサが音楽や映像などのエンターテイメントデータを扱う場合にも、本発明は好適に使用できる。
(2)CPUとHDDとの間のデータ転送について説明したが、DVDなどその他の記憶媒体との間におけるデータ転送についても同様である。また、CPUは2つに限定されない。
(3)バス権調停が要求されるインターフェースであればATAPIに限定されない。
The following modifications are also within the scope of the present invention.
(1) Although the in-vehicle information terminal has been described as a navigation device, it is not limited to a navigation device. In other words, the first and second processors, each executing different data processing, can be used for any in-vehicle information terminal that uses the same storage medium in common. For example, the present invention can be suitably used when the main processor is used for a so-called drive recorder and the sub-processor handles entertainment data such as music and video.
(2) Although the data transfer between the CPU and the HDD has been described, the same applies to the data transfer with other storage media such as a DVD. Further, the number of CPUs is not limited to two.
(3) The interface is not limited to ATAPI as long as the bus arbitration is required.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

なお、以上説明した実施の形態におけるナビゲーション装置の各構成要素と特許請求の範囲の各構成要素との対応関係は以下のとおりである。
メインCPU10Aが第1のプロセッサを、サブCPU10Bが第2のプロセッサを、HDD50が記憶媒体を、FPGAによる調停回路20がハードウエア調停回路を、DRAM41,42が一時記憶回路をそれぞれ構成する。なお、以上の対応関係の説明は一例であり、権利解釈に際してなんら拘束されるものではない。
In addition, the correspondence between each component of the navigation device in the embodiment described above and each component of the claims is as follows.
The main CPU 10A constitutes a first processor, the sub CPU 10B constitutes a second processor, the HDD 50 constitutes a storage medium, the FPGA arbitration circuit 20 constitutes a hardware arbitration circuit, and the DRAMs 41 and 42 constitute temporary storage circuits. Note that the above description of the correspondence relationship is merely an example, and is not constrained when interpreting rights.

第1の実施の形態におけるナビゲーション装置の構成を示すブロック図The block diagram which shows the structure of the navigation apparatus in 1st Embodiment. 図1の調停回路の詳細を示すブロック図Block diagram showing details of the arbitration circuit of FIG. 第1の実施の形態における調停制御テーブルを示す図The figure which shows the arbitration control table in 1st Embodiment 第1の実施の形態におけるナビゲーション装置の処理を説明するフローチャートThe flowchart explaining the process of the navigation apparatus in 1st Embodiment 第2の実施の形態におけるナビゲーション装置の構成を示すブロック図The block diagram which shows the structure of the navigation apparatus in 2nd Embodiment.

符号の説明Explanation of symbols

10:制御回路 10A:メインCPU
10B:サブCPU 20:調停回路
21:Host I/F 22,23: Device I/F
24:切替回路 25:切替制御回路
41,42:DRAM 50:HDD
60:DVDドライブ 72:地上デジタル放送受信回路
10: Control circuit 10A: Main CPU
10B: Sub CPU 20: Arbitration circuit
21: Host I / F 22, 23: Device I / F
24: switching circuit 25: switching control circuit 41, 42: DRAM 50: HDD
60: DVD drive 72: Digital terrestrial broadcast receiving circuit

Claims (6)

データを記憶する記憶媒体と、
前記記憶媒体との間でデータ授受を行って第1の処理を行い、前記第1処理の処理内容に応じた第1要求信号を出力する第1のプロセッサと、
前記記憶媒体との間でデータ授受を行って第2の処理を行い、前記第2処理の処理内容に応じた第2要求信号を出力する第2のプロセッサと、
前記第1および前記第2要求信号を受信し、それらに応じて、第1および第2のプロセッサの前記記憶媒体へのアクセスを調停するハードウエア調停回路とを備えることを特徴とする車載情報端末。
A storage medium for storing data;
A first processor that exchanges data with the storage medium to perform a first process and outputs a first request signal corresponding to the processing content of the first process;
A second processor for performing a second process by exchanging data with the storage medium and outputting a second request signal according to the processing content of the second process;
A vehicle-mounted information terminal comprising: a hardware arbitration circuit that receives the first and second request signals and arbitrates access to the storage medium of the first and second processors according to the first and second request signals. .
請求項1に記載の車載情報端末において、
前記ハードウエア調停回路は、
前記第1および第2のプロセッサのいずれか一方を前記記憶媒体へ接続する切換回路と、
前記第1および第2の要求信号のレベルに応じて前記切換回路を切り替える切替制御回路とを備えることを特徴とする車載情報端末。
The in-vehicle information terminal according to claim 1,
The hardware arbitration circuit is
A switching circuit for connecting one of the first and second processors to the storage medium;
An in-vehicle information terminal comprising: a switching control circuit that switches the switching circuit according to the levels of the first and second request signals.
請求項1または2に記載の車載情報端末において、
前記調停回路により前記記憶媒体との接続が中断されたプロセッサは、引き続きデータ処理を続行するようにし、
前記続行するデータ処理により得られたデータを一時記憶する一時記憶回路をさらに設け、
前記調停回路により前記記憶媒体との接続が再開されたプロセッサは、前記一時記憶回路に保存されていたデータを前記記憶媒体へ転送することを特徴とする車載情報端末。
In the in-vehicle information terminal according to claim 1 or 2,
The processor whose connection with the storage medium is interrupted by the arbitration circuit continues to process data,
A temporary storage circuit for temporarily storing data obtained by the data processing to be continued;
The in-vehicle information terminal, wherein the processor whose connection with the storage medium is resumed by the arbitration circuit transfers the data stored in the temporary storage circuit to the storage medium.
請求項3に記載の車載情報端末において、
前記調停回路は、前記一時記憶回路の記憶容量が所定値を越えると、前記記憶媒体との接続が中断されたプロセッサを前記記憶手段に接続し、そのプロセッサによるデータ処理を再開することを特徴とする車載情報端末。
The in-vehicle information terminal according to claim 3,
When the storage capacity of the temporary storage circuit exceeds a predetermined value, the arbitration circuit connects a processor that has been disconnected from the storage medium to the storage unit, and resumes data processing by the processor. In-vehicle information terminal.
請求項1乃至4のいずれか1項に記載の車載情報端末において、
前記第1のデータ処理は地図データを使用したデータ処理であり、前記第2のデータ処理は、音楽データや映像データなどのAVデータを使用したデータ処理であることを特徴とする車載情報端末。
The in-vehicle information terminal according to any one of claims 1 to 4,
The in-vehicle information terminal characterized in that the first data processing is data processing using map data, and the second data processing is data processing using AV data such as music data and video data.
請求項1乃至5のいずれか1項に記載の車載情報端末において、
前記第1および第2のプロセッサと前記記憶媒体との間のデータ授受は、前記調停回路を経由したATAPI準拠のインターフェースにより行うことを特徴とする車載情報端末。
The in-vehicle information terminal according to any one of claims 1 to 5,
An in-vehicle information terminal characterized in that data exchange between the first and second processors and the storage medium is performed by an ATAPI-compliant interface via the arbitration circuit.
JP2007110444A 2007-04-19 2007-04-19 On-board information terminal Pending JP2008269222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007110444A JP2008269222A (en) 2007-04-19 2007-04-19 On-board information terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007110444A JP2008269222A (en) 2007-04-19 2007-04-19 On-board information terminal

Publications (1)

Publication Number Publication Date
JP2008269222A true JP2008269222A (en) 2008-11-06

Family

ID=40048651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007110444A Pending JP2008269222A (en) 2007-04-19 2007-04-19 On-board information terminal

Country Status (1)

Country Link
JP (1) JP2008269222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868815B2 (en) 2012-02-24 2014-10-21 Mitsubishi Electric Corporation Information processing device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004118474A (en) * 2002-09-26 2004-04-15 Nissan Motor Co Ltd Equipment control system
JP2005234794A (en) * 2004-02-18 2005-09-02 Matsushita Electric Ind Co Ltd File system controller
JP2005316781A (en) * 2004-04-28 2005-11-10 Fujitsu Ten Ltd Multiple host switching method for storage medium
JP2006134341A (en) * 2005-11-17 2006-05-25 Hitachi Ltd Disk array control unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004118474A (en) * 2002-09-26 2004-04-15 Nissan Motor Co Ltd Equipment control system
JP2005234794A (en) * 2004-02-18 2005-09-02 Matsushita Electric Ind Co Ltd File system controller
JP2005316781A (en) * 2004-04-28 2005-11-10 Fujitsu Ten Ltd Multiple host switching method for storage medium
JP2006134341A (en) * 2005-11-17 2006-05-25 Hitachi Ltd Disk array control unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868815B2 (en) 2012-02-24 2014-10-21 Mitsubishi Electric Corporation Information processing device and method

Similar Documents

Publication Publication Date Title
US8250245B2 (en) Information processing system, with information processing terminal capable of operating in multiple operation modes when connected to a host device
KR101125929B1 (en) Information processing apparatus and method, and program recording medium
JP2007249938A (en) Usb host system, av data reproducing device and av data recording device
JP4802791B2 (en) Data storage device and data access method
US20050259542A1 (en) Reproduction device and method, recording medium, and program
JP2008269222A (en) On-board information terminal
EP1684288B1 (en) Information recorder, information recording method, and recording medium containing program
US7848862B2 (en) On-vehicle device
JP2008269223A (en) On-board information terminal
JP2009110058A (en) In-vehicle information terminal
JP2008090875A (en) Memory, navigation device and its control method and program
JP2009020734A (en) On-board information terminal
US6523105B1 (en) Recording medium control device and method
JP4777840B2 (en) In-vehicle information terminal
JP4305262B2 (en) Ring buffer control method, ring buffer device, and data recording / reproducing device
JP4187674B2 (en) In-vehicle device, control method for in-vehicle device, control program for in-vehicle device, and recording medium
JP4480592B2 (en) File system
JP2010055295A (en) In-vehicle information terminal
JP2010039716A (en) Onboard information terminal
JP2008096307A (en) Control method for recording medium, in-board electronic equipment and recording medium control program
JP2001014219A (en) Method and device for controlling cache
JP3258276B2 (en) Information reproducing apparatus and information recording / reproducing apparatus
JP2004126685A (en) Information processor and information processing method
JP2007278722A (en) Recording control apparatus, data writing method, data writing program, and storage medium
JP2008157983A (en) Navigation device and navigation data update system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100414

A131 Notification of reasons for refusal

Effective date: 20120313

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120911