JP2013140486A - Information processing device, information processing method, information processing program, and recording medium - Google Patents

Information processing device, information processing method, information processing program, and recording medium Download PDF

Info

Publication number
JP2013140486A
JP2013140486A JP2012000223A JP2012000223A JP2013140486A JP 2013140486 A JP2013140486 A JP 2013140486A JP 2012000223 A JP2012000223 A JP 2012000223A JP 2012000223 A JP2012000223 A JP 2012000223A JP 2013140486 A JP2013140486 A JP 2013140486A
Authority
JP
Japan
Prior art keywords
information processing
external device
connection
communication
usb
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
JP2012000223A
Other languages
Japanese (ja)
Inventor
Hirokazu Arai
洋和 荒井
Harutoshi Kazamatsuri
晴俊 風祭
Hirotoshi Okubo
浩俊 大久保
Hideki Sato
秀樹 佐藤
Daisuke Hirabayashi
大輔 平林
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP2012000223A priority Critical patent/JP2013140486A/en
Publication of JP2013140486A publication Critical patent/JP2013140486A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device capable of performing one mode in which the information processing device communicates with an external device according to an operation mode when the information processing device is connected to the external device, or another mode in which the information processing device enables the external device to independently function by only supplying power without performing communication.SOLUTION: When an information processing device 100 is connected to an external device 110, the information processing device 100 normally executes connection processing for communication with the external device 110. The information processing device 100 comprises: reception means 101 for, before connecting to the external device 110, receiving connection states of the external device 110 and the information processing device 100; and transmission means 103 for, after connecting to the external device 110 and executing the connection processing, transmitting a result based on the connection states received by the reception means 101 to the external device 110. The information processing device 100 can change states of communication with the external device 110, and when it is not necessary to communicate with the external device, can cause the external device 110 to independently function.

Description

この発明は、着脱可能な外部装置との間での通信を制御する情報処理装置、情報処理方法、情報処理プログラムおよび記録媒体に関する。ただし、この発明の利用は、上述した情報処理装置、情報処理方法、情報処理プログラムおよび記録媒体には限られない。   The present invention relates to an information processing device, an information processing method, an information processing program, and a recording medium that control communication with a removable external device. However, use of the present invention is not limited to the information processing apparatus, information processing method, information processing program, and recording medium described above.

従来、PCやカーナビゲーションシステムなどのUSBホスト側デバイス(情報処理装置)にUSBデバイス(外部装置)を接続すると、USBホスト側デバイスからUSBデバイスに給電をおこない、USBデバイスがUSBホスト側デバイスに認識されるようになっている。そして、USBデバイスは、USBホスト側デバイスから制御することが可能となる(たとえば、下記特許文献1参照。)。   Conventionally, when a USB device (external device) is connected to a USB host device (information processing device) such as a PC or a car navigation system, the USB device is powered and the USB device is recognized by the USB host device. It has come to be. The USB device can be controlled from the USB host side device (see, for example, Patent Document 1 below).

特開2005−339067号公報JP 2005-339067 A

しかしながら、上記の特許文献1に記載の技術では、USBホスト側デバイスに接続中のUSBデバイスを単独では動作させることができなくなった。この際、USBホスト側デバイスからUSBデバイスに給電をおこなうことはできるが、USBデバイスがUSBホスト側デバイスから独立して動作することはできなくなるという問題点が一例として挙げられる。   However, with the technique described in Patent Document 1, the USB device connected to the USB host device cannot be operated alone. At this time, the USB host device can supply power to the USB device, but the USB device cannot operate independently from the USB host device, for example.

これは、USBデバイスに給電させるためにUSBデバイスの制御をUSBホスト側デバイスに渡していることに起因し、USBデバイスが単独で動作をすることができなくなっている。このため、USBデバイスがUSBホスト側デバイスから給電を受けながら、USBデバイスを単独で動作させるということができなかった。   This is because the USB device control is handed over to the USB host device in order to supply power to the USB device, and the USB device cannot operate alone. For this reason, the USB device cannot be operated alone while receiving power from the USB host device.

上述した課題を解決し、目的を達成するため、この発明にかかる情報処理装置は、外部装置に接続されると、前記外部装置との間の通信の接続処理が実行される情報処理装置であって、前記外部装置との接続前に、前記外部装置と前記情報処理装置との接続状態の情報を受け付ける受付手段と、前記外部装置が接続され前記接続処理が実行された後、前記受付手段により受け付けた接続状態の情報に基づいた結果を前記外部装置へ送信する送信手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an information processing apparatus according to the present invention is an information processing apparatus that, when connected to an external device, executes a connection process for communication with the external device. Receiving means for receiving information on a connection state between the external apparatus and the information processing apparatus before connection with the external apparatus, and after receiving the connection process and executing the connection processing by the receiving means. Transmission means for transmitting a result based on the received connection state information to the external device.

また、この発明にかかる情報処理方法は、外部装置に接続されると、前記外部装置との間の通信の接続処理が実行される情報処理装置の情報処理方法であって、前記外部装置との接続前に、前記外部装置と前記情報処理装置との接続状態の情報を受け付ける受付工程と、前記外部装置が接続され前記接続処理が実行された後、前記受付工程により受け付けた接続状態の情報に基づいた結果を前記外部装置へ送信する送信工程と、を含むことを特徴とする。   An information processing method according to the present invention is an information processing method for an information processing device in which, when connected to an external device, a connection process for communication with the external device is executed. An accepting step for accepting connection state information between the external device and the information processing device before connection, and an information on the connection state accepted by the accepting step after the external device is connected and the connection process is executed. And a transmission step of transmitting a result based on the result to the external device.

また、この発明にかかるプログラムは、上記の情報処理方法をコンピュータに実行させることを特徴とする。   A program according to the present invention causes a computer to execute the above information processing method.

また、この発明にかかる記録媒体は、上記に記載のプログラムをコンピュータで読み取り可能に記録したことを特徴とする。   A recording medium according to the present invention is characterized in that the program described above is recorded so as to be readable by a computer.

図1は、実施の形態にかかる情報処理装置の機能を示すブロック図である。FIG. 1 is a block diagram illustrating functions of the information processing apparatus according to the embodiment. 図2−1は、この発明の実施例を示す構成図である。FIG. 2-1 is a block diagram showing an embodiment of the present invention. 図2−2は、この発明の実施例を示すブロック図である。FIG. 2-2 is a block diagram showing an embodiment of the present invention. 図3は、カーナビゲーションのハードウェア構成を示すブロック図である。FIG. 3 is a block diagram illustrating a hardware configuration of the car navigation. 図4は、事前設定処理の処理内容を示すフローチャートである。FIG. 4 is a flowchart showing the processing contents of the pre-setting process. 図5は、USBデバイス接続時のナビゲーションがおこなうモード別の接続処理を示すフローチャートである。FIG. 5 is a flowchart showing connection processing for each mode performed by navigation when a USB device is connected. 図6は、ナビゲーションがおこなう給電のみモード解除時の処理を示すフローチャートである。FIG. 6 is a flowchart showing a process at the time of canceling the power supply only mode performed by the navigation. 図7は、カーナビゲーションとUSBデバイス間での通信の制御を示すブロック図である。FIG. 7 is a block diagram illustrating control of communication between the car navigation system and the USB device.

以下に添付図面を参照して、この発明にかかる情報処理装置、情報処理方法、情報処理プログラムおよび記録媒体の好適な実施の形態を詳細に説明する。   Exemplary embodiments of an information processing apparatus, an information processing method, an information processing program, and a recording medium according to the present invention will be explained below in detail with reference to the accompanying drawings.

この発明の情報処理装置は、通常、外部装置を情報処理装置に接続させると、通信の初期設定をおこない、その後、情報処理装置で外部装置を認識させる処理をおこなう。そして、ある動作モード時には、通信の初期設定をおこなった後、外部装置を認識させる処理を完了させないことにより、外部装置は情報処理装置から給電されつつ、外部装置単独で動作可能な状態となる。ユーザは、予め外部装置接続時の動作モードを設定しておく。   In general, when an external device is connected to the information processing device, the information processing device according to the present invention performs an initial setting of communication, and then performs processing for causing the information processing device to recognize the external device. Then, in a certain operation mode, after initializing communication, the external device is in a state where it can operate alone while being supplied with power from the information processing device by not completing the process of recognizing the external device. The user sets an operation mode when connecting to an external device in advance.

(情報処理装置の機能構成)
図1は、実施の形態にかかる情報処理装置の機能を示すブロック図である。情報処理装置100には、外部装置110が所定の通信手段120を介して接続自在に構成されている。この通信手段120は、たとえば、電源の供給と通信とが可能なケーブルであり、このケーブルを介して外部装置110が情報処理装置100に接続されると、情報処理装置100は、外部装置110に対する電力供給(給電)と、通信の機能を実行するようになっている。
(Functional configuration of information processing device)
FIG. 1 is a block diagram illustrating functions of the information processing apparatus according to the embodiment. An external device 110 is configured to be freely connectable to the information processing apparatus 100 via a predetermined communication unit 120. The communication unit 120 is, for example, a cable capable of supplying power and communicating. When the external device 110 is connected to the information processing device 100 via this cable, the information processing device 100 is connected to the external device 110. Power supply (power feeding) and communication functions are executed.

この情報処理装置100は、外部装置110との接続前に、外部装置110と情報処理装置100との接続状態の情報を受け付ける受付手段101を備える。また、外部装置110が接続されると、外部装置110との間の通信の接続処理を実行する接続処理手段102を備える。そして、外部装置110が接続され、接続処理手段102による接続処理が実行された後、受付手段101により受け付けた接続状態の情報に基づいた結果を外部装置110へ送信する送信手段103を備える。   The information processing apparatus 100 includes a reception unit 101 that receives information on a connection state between the external apparatus 110 and the information processing apparatus 100 before connection with the external apparatus 110. In addition, when the external device 110 is connected, a connection processing unit 102 that executes connection processing for communication with the external device 110 is provided. Then, after the external device 110 is connected and the connection processing by the connection processing means 102 is executed, a transmission means 103 for transmitting the result based on the connection state information accepted by the accepting means 101 to the external device 110 is provided.

そして、受付手段101が受け付ける接続状態の情報としては、外部装置110が情報処理装置100から給電を受け、かつ、外部装置110と情報処理装置100との通信の接続が確立されていない状態(以降、「給電のみモード」という)がある。受付手段101がこの給電のみモードを受け付けたとき、送信手段103は、外部装置110へ通信の接続処理の実行が失敗した旨を送信する。   The connection state information received by the receiving unit 101 includes a state in which the external apparatus 110 receives power from the information processing apparatus 100 and a communication connection between the external apparatus 110 and the information processing apparatus 100 has not been established (hereinafter referred to as the connection state information). , Referred to as “power supply only mode”). When the accepting unit 101 accepts this power supply only mode, the transmitting unit 103 transmits to the external device 110 that the execution of the communication connection process has failed.

このように、外部装置を認識させる処理を完了させないことにより、外部装置110は、情報処理装置100から給電を受けつつ、外部装置110単独で動作可能な状態にすることができる。   In this way, by not completing the process of recognizing the external device, the external device 110 can be put into a state in which the external device 110 can operate alone while receiving power from the information processing apparatus 100.

以下、本発明の実施例を説明する。この実施例では、情報処理装置として車両に搭載されるカーナビゲーションを用い、外部装置としてカメラ等のUSBデバイスを用い、通信手段120としてUSBケーブルを用いる構成を例に説明する。   Examples of the present invention will be described below. In this embodiment, a car navigation mounted on a vehicle is used as the information processing apparatus, a USB device such as a camera is used as the external apparatus, and a USB cable is used as the communication unit 120 as an example.

図2−1は、この発明の実施例を示す構成図、図2−2は、この発明の実施例を示すブロック図である。図2−1に示すように、カーナビゲーション200には、USBケーブル220を介してUSBデバイス210が接続可能である。カーナビゲーション200は、USBデバイス210の接続時に、USBデバイス210と通信をおこない、たとえば、USBデバイス210内部のデータを転送してカーナビゲーション200内部に取り込み、再生する機能を有している。   FIG. 2-1 is a block diagram showing an embodiment of the present invention, and FIG. 2-2 is a block diagram showing an embodiment of the present invention. As shown in FIG. 2A, a USB device 210 can be connected to the car navigation system 200 via a USB cable 220. The car navigation system 200 has a function of communicating with the USB device 210 when the USB device 210 is connected, for example, transferring the data inside the USB device 210, taking it into the car navigation system 200, and playing it back.

図2−2に示すように、このカーナビゲーション200は、現在位置から目的地までの移動経路を探索する機能や、音楽再生機能、画像表示機能等のアプリケーション201を有している。たとえば、アプリケーション201は、画像表示機能のUSBデバイス210であるカメラの画像データを取り込み、表示部に表示する機能を有する。   As shown in FIG. 2-2, the car navigation system 200 has an application 201 such as a function for searching for a moving route from the current position to the destination, a music playback function, and an image display function. For example, the application 201 has a function of capturing image data of a camera that is a USB device 210 having an image display function and displaying the image data on a display unit.

アプリケーション201は、あらかじめUSBデバイス210がUSBケーブル220を用いてカーナビゲーション200に接続されたときの動作モードを選択するようになっている。たとえば、USBデバイス210に対して「通信と給電モード」、あるいは「給電のみモード」をおこなう。通信とは画像データの通信(取り込み)をおこなうことであり、給電のみとは、USBデバイス210との間で通信に関する制御をおこなわず、給電のみをおこなうモードであり、たとえば、画像データの通信(取り込み)をおこなわない。このモードは、あらかじめカーナビゲーション200に備えられている複数のUSBポートごとに設定しておくことができる。   The application 201 selects an operation mode when the USB device 210 is connected to the car navigation system 200 using the USB cable 220 in advance. For example, “communication and power supply mode” or “power supply only mode” is performed on the USB device 210. Communication refers to communication (capture) of image data, and power supply only refers to a mode in which only power supply is performed without controlling communication with the USB device 210. For example, image data communication ( (Import) is not performed. This mode can be set for each of a plurality of USB ports provided in the car navigation system 200 in advance.

アプリケーション201は、USBクライアントドライバ202に対し、給電モード設定値を通知する。すなわち、「通信と給電モード」の場合と、「給電のみモード」の場合、いずれの動作モードであるかを通知する。   The application 201 notifies the USB client driver 202 of the power supply mode setting value. That is, in the case of the “communication and power supply mode” and the “power supply only mode”, the operation mode is notified.

USBクライアントドライバ202は、アプリケーション201から通知された給電モード設定値に基づき、USBデバイス210との接続処理を実施する。そして、動作モードの違いにより、接続処理(通信に関する接続処理)の成功・あるいは失敗を分ける。ここで、動作モードが「通信と給電モード」のときには、USBデバイス210に対する給電の処理をおこない、また、接続処理を所定の手順でおこない成功させる。一方、「給電のみモード」のときには、USBデバイス210に対する給電の処理のみおこない、接続処理については、所定の手順の途中で失敗する処理をおこなう。   The USB client driver 202 performs a connection process with the USB device 210 based on the power supply mode setting value notified from the application 201. Then, the success or failure of the connection process (connection process related to communication) is classified according to the difference in the operation mode. Here, when the operation mode is “communication and power supply mode”, the power supply process for the USB device 210 is performed, and the connection process is performed in a predetermined procedure to be successful. On the other hand, in the “power supply only mode”, only the process of supplying power to the USB device 210 is performed, and the connection process is a process that fails in the middle of a predetermined procedure.

USBクライアントドライバ202は、USBホストドライバ203に接続され、USBホストドライバ203は、USBホストコントローラ204を介してUSBデバイス210に接続される。   The USB client driver 202 is connected to the USB host driver 203, and the USB host driver 203 is connected to the USB device 210 via the USB host controller 204.

図3は、カーナビゲーションのハードウェア構成を示すブロック図である。図3において、ナビゲーション装置300は、CPU301、ROM302、RAM303、磁気ディスクドライブ304、磁気ディスク305、光ディスクドライブ306、光ディスク307、音声I/F(インターフェース)308、スピーカ309、入力デバイス310、映像I/F311、ディスプレイ312、通信I/F313、GPSユニット314、各種センサ315を備えている。これら各構成部301〜315はバス320によってそれぞれ接続されている。   FIG. 3 is a block diagram illustrating a hardware configuration of the car navigation. In FIG. 3, a navigation device 300 includes a CPU 301, ROM 302, RAM 303, magnetic disk drive 304, magnetic disk 305, optical disk drive 306, optical disk 307, audio I / F (interface) 308, speaker 309, input device 310, video I / O. F311, display 312, communication I / F313, GPS unit 314, and various sensors 315 are provided. These components 301 to 315 are connected by a bus 320.

CPU301は、ナビゲーション装置300の全体の制御を司る。ROM302は、ナビゲーション装置300が備える各種機能を実現するためのブートプログラム、OS(Operation System)プログラム、ナビゲーションプログラムなどの各種プログラムを記録している。RAM303は、CPU301のワークエリアとして使用される。   The CPU 301 governs overall control of the navigation device 300. The ROM 302 stores various programs such as a boot program, an OS (Operation System) program, and a navigation program for realizing various functions included in the navigation device 300. The RAM 303 is used as a work area for the CPU 301.

磁気ディスクドライブ304は、CPU301の制御にしたがって磁気ディスク305に対するデータの読み取り/書き込みを制御する。磁気ディスク305は、磁気ディスクドライブ304の制御で書き込まれたデータを記録する。磁気ディスク305としては、たとえば、HD(ハードディスク)やFD(フレキシブルディスク)を用いることができる。   The magnetic disk drive 304 controls the reading / writing of the data with respect to the magnetic disk 305 according to control of CPU301. The magnetic disk 305 records data written under the control of the magnetic disk drive 304. As the magnetic disk 305, for example, an HD (hard disk) or an FD (flexible disk) can be used.

光ディスクドライブ306は、CPU301の制御にしたがって光ディスク307に対するデータの読み取り/書き込みを制御する。光ディスク307は、光ディスクドライブ306の制御にしたがってデータが読み出される着脱自在な記録媒体である。光ディスク307は、書き込み可能な記録媒体を利用することもできる。また、この着脱自在な記録媒体として、光ディスク307のほか、MO、メモリカードなどであってもよい。   The optical disk drive 306 controls the reading / writing of the data with respect to the optical disk 307 according to control of CPU301. The optical disk 307 is a detachable recording medium from which data is read according to the control of the optical disk drive 306. As the optical disc 307, a writable recording medium can be used. In addition to the optical disk 307, the removable recording medium may be an MO, a memory card, or the like.

音声I/F308は、音声出力用のスピーカ309に接続される。スピーカ309は、音声を出力する。入力デバイス310は、文字、数値、各種指示などの入力のための複数のキーを備えたリモコン、キーボード、マウス、タッチパネルなどが挙げられる。入力デバイス310は、リモコン、キーボード、マウス、タッチパネルのうち、いずれか一つの形態によって実現されてもよいし、複数の形態によって実現してもよい。   The audio I / F 308 is connected to a speaker 309 for audio output. The speaker 309 outputs sound. Examples of the input device 310 include a remote controller having a plurality of keys for inputting characters, numerical values, and various instructions, a keyboard, a mouse, and a touch panel. The input device 310 may be realized by any one of a remote controller, a keyboard, a mouse, and a touch panel, or may be realized by a plurality of forms.

映像I/F311は、ディスプレイ312に接続される。映像I/F311は、具体的には、たとえば、ディスプレイ312全体の制御をおこなうグラフィックコントローラと、即時表示可能な画像情報を一時的に記録するVRAM(Video RAM)などのバッファメモリと、グラフィックコントローラから出力される画像データに基づいてディスプレイ312を制御する制御ICなどによって構成される。   The video I / F 311 is connected to the display 312. Specifically, the video I / F 311 includes, for example, a graphic controller that controls the entire display 312, a buffer memory such as a VRAM (Video RAM) that temporarily records image information that can be displayed immediately, and a graphic controller. A control IC that controls the display 312 based on the output image data is used.

ディスプレイ312は、たとえば、液晶ディスプレイ、有機ELディスプレイなどを採用することができる。通信I/F313は、外部(通信ネットワーク、情報処理装置、記録媒体など)と有線または無線によって接続され、接続された外部に対するデータの入出力を制御する。   As the display 312, for example, a liquid crystal display, an organic EL display, or the like can be adopted. The communication I / F 313 is connected to the outside (communication network, information processing apparatus, recording medium, etc.) by wire or wireless, and controls input / output of data with respect to the connected outside.

GPSユニット314は、GPS衛星からの電波を受信し、車両の現在位置を示す情報を出力する。GPSユニット314の出力情報は、後述する各種センサ315の出力値とともに、CPU301による車両の現在位置の算出に際して利用される。現在位置を示す情報は、たとえば緯度・経度、高度などの、地図データ上の1点を特定する情報である。   The GPS unit 314 receives radio waves from GPS satellites and outputs information indicating the current position of the vehicle. The output information of the GPS unit 314 is used when the current position of the vehicle is calculated by the CPU 301 together with output values of various sensors 315 described later. The information indicating the current position is information for specifying one point on the map data, such as latitude / longitude and altitude.

各種センサ315は、車両の状態を計測する。たとえば、車速センサは、車両の車速を計測する。また、加速度センサは、車両の加速度を計測する。また、勾配センサは、車両の走行場所の勾配を計測する。   Various sensors 315 measure the state of the vehicle. For example, the vehicle speed sensor measures the vehicle speed of the vehicle. The acceleration sensor measures the acceleration of the vehicle. The gradient sensor measures the gradient of the travel location of the vehicle.

このように構成されたナビゲーション装置300は、CPU301が、ROM302、磁気ディスク305、光ディスク307などに記録されているナビゲーションプログラムを実行することにより、各種ナビゲーション処理をおこなう。たとえば、ナビゲーション装置300は、GPSユニット314および各種センサ315の出力情報に基づいて、車両の現在位置(ナビゲーション装置300の現在位置)を検出する現在位置検出処理をおこなう。また、ナビゲーション装置300は、ナビゲーションプログラムに含まれた地図データなどを利用して、出発地から目的地までの走行経路を探索する経路探索処理をおこなう。また、ナビゲーション装置300は、探索した走行経路を示す経路情報や、探索した走行経路を案内する案内情報などを、映像I/F311を介してディスプレイ312に表示させたり、音声I/F308を介してスピーカ309から音声出力させたりする経路誘導処理をおこなう。   The navigation device 300 configured in this manner performs various navigation processes by the CPU 301 executing a navigation program recorded in the ROM 302, the magnetic disk 305, the optical disk 307, and the like. For example, the navigation device 300 performs current position detection processing for detecting the current position of the vehicle (current position of the navigation device 300) based on the output information of the GPS unit 314 and the various sensors 315. Further, the navigation device 300 performs route search processing for searching for a travel route from the departure place to the destination using map data included in the navigation program. Further, the navigation device 300 displays route information indicating the searched travel route, guidance information for guiding the searched travel route, etc. on the display 312 via the video I / F 311 or via the audio I / F 308. Route guidance processing for outputting sound from the speaker 309 is performed.

本実施例のナビゲーション装置300は、ROM302、磁気ディスク305、光ディスク307などに記録されているプログラムをCPU301が実行することによって、図1に示した外部装置110との間の通信および外部装置110に対する給電の機能を実現することができる。   The navigation device 300 according to the present embodiment executes communication with the external device 110 shown in FIG. 1 and the external device 110 by causing the CPU 301 to execute a program recorded in the ROM 302, the magnetic disk 305, the optical disk 307, and the like. The power feeding function can be realized.

図4は、事前設定処理の処理内容を示すフローチャートである。アプリケーション201がおこなう事前の設定処理について説明する。はじめに、ユーザは、カーナビゲーション200の表示部に表示される設定メニューで画面でカーナビゲーション200に設けられているUSBポートごとの給電モードを設定する(ステップS401)。次に、給電モード設定画面の設定値が更新される度にアプリケーション201は、USBクライアントドライバ202に情報を通知する(ステップS402)。   FIG. 4 is a flowchart showing the processing contents of the pre-setting process. A prior setting process performed by the application 201 will be described. First, the user sets a power supply mode for each USB port provided in the car navigation 200 on the screen using a setting menu displayed on the display unit of the car navigation 200 (step S401). Next, every time the setting value on the power supply mode setting screen is updated, the application 201 notifies the USB client driver 202 of information (step S402).

図5は、USBデバイス接続時のナビゲーションがおこなうモード別の接続処理を示すフローチャートである。はじめに、カーナビゲーション200にUSBデバイス210を接続すると、USBホストコントローラ204とUSBホストドライバ203は、カーナビゲーション200の所定のUSBポートにUSBデバイス210が接続されていることを検知する(ステップS501)。次に、USBホストコントローラ204とUSBホストドライバ203は、カーナビゲーション200とUSBデバイス210間での接続処理(コンフィギュレーション)を実施する(ステップS502)。次に、該当するUSBポートに対して設定されているUSBの動作モードを読み出す(ステップS503)。   FIG. 5 is a flowchart showing connection processing for each mode performed by navigation when a USB device is connected. First, when the USB device 210 is connected to the car navigation 200, the USB host controller 204 and the USB host driver 203 detect that the USB device 210 is connected to a predetermined USB port of the car navigation 200 (step S501). Next, the USB host controller 204 and the USB host driver 203 perform connection processing (configuration) between the car navigation 200 and the USB device 210 (step S502). Next, the USB operation mode set for the corresponding USB port is read (step S503).

次に、USBクライアントドライバ202は、USBデバイス210が接続されているUSBポートの動作モードを判断する(ステップS504)。動作モードが「通信と給電モード」であれば(ステップS504:「通信と給電」モード)、アプリケーション201にUSBデバイス210が接続したと通知する(ステップS505)。次に、アプリケーション201は、USBデバイス210と通信をおこない(ステップS506)、カーナビゲーション200でUSBデバイス210を使用できるようにし(ステップS507)、以上の処理を終了する。   Next, the USB client driver 202 determines the operation mode of the USB port to which the USB device 210 is connected (step S504). If the operation mode is “communication and power supply mode” (step S504: “communication and power supply mode”), the application 201 is notified that the USB device 210 is connected (step S505). Next, the application 201 communicates with the USB device 210 (step S506), enables the USB device 210 to be used in the car navigation 200 (step S507), and ends the above processing.

また、ステップS504にて動作モードが「給電のみモード」のときには(ステップS504:「給電のみ」モード)、アプリケーション201にUSBデバイス210が接続したと通知しない(ステップS508)。これにより、アプリケーション201は、USBデバイス210と通信をおこなわず(ステップS509)、カーナビゲーション200でUSBデバイス210が通信について使用できるようにならず、USBデバイス210はカーナビゲーション200から給電を受けるが、カーナビゲーション200から独立して動作することができるようになり(ステップS510)、以上の処理を終了する。   When the operation mode is “power supply only mode” in step S504 (step S504: “power supply only” mode), the application 201 is not notified that the USB device 210 is connected (step S508). As a result, the application 201 does not communicate with the USB device 210 (step S509), the USB device 210 cannot be used for communication in the car navigation 200, and the USB device 210 receives power from the car navigation 200. It becomes possible to operate independently of the car navigation system 200 (step S510), and the above processing is terminated.

図6は、ナビゲーションがおこなう給電のみモード解除時の処理を示すフローチャートである。はじめに、ユーザが設定メニュー画面でUSBポートごとのモードを解除する(ステップS601)。これにより、モード設定画面の設定値が更新される度にアプリケーション201は、USBクライアントドライバ202に情報を通知する(ステップS602)。そして、USBクライアントドライバ202は、アプリケーション201からの通知を受け取り、挿されているUSBデバイス210が接続したとアプリケーション201に通知する(ステップS603)。   FIG. 6 is a flowchart showing a process at the time of canceling the power supply only mode performed by the navigation. First, the user cancels the mode for each USB port on the setting menu screen (step S601). Thereby, every time the setting value on the mode setting screen is updated, the application 201 notifies the USB client driver 202 of information (step S602). Then, the USB client driver 202 receives the notification from the application 201 and notifies the application 201 that the inserted USB device 210 is connected (step S603).

これにより、アプリケーション201は、USBデバイス210と通信をおこない(ステップS604)、カーナビゲーション200の該当するUSBポートでUSBデバイス210が使用(通信が使用)できるようになる(ステップS605)。   As a result, the application 201 communicates with the USB device 210 (step S604), and the USB device 210 can be used (communication is used) at the corresponding USB port of the car navigation system 200 (step S605).

図7は、カーナビゲーションとUSBデバイス間での通信の制御を示すブロック図である。カーナビゲーション200には、アプリケーション層(アプリ層)701と、OS層702と、ドライバ層703が設けられ、USBデバイス210を制御するための通信をおこなう。アプリ層701は、上記アプリケーション201に相当し、OS層702は、CPU301のオペレーティングシステム(OS)に相当する。ドライバ層702は、上記USBクライアントドライバ202、USBホストドライバ203、USBホストコントローラ204に相当する。   FIG. 7 is a block diagram illustrating control of communication between the car navigation system and the USB device. The car navigation 200 is provided with an application layer (application layer) 701, an OS layer 702, and a driver layer 703, and performs communication for controlling the USB device 210. The application layer 701 corresponds to the application 201, and the OS layer 702 corresponds to the operating system (OS) of the CPU 301. The driver layer 702 corresponds to the USB client driver 202, USB host driver 203, and USB host controller 204.

図7の(A)に示すように、カーナビゲーション200にUSBデバイス210が接続されると、ドライバ層703とUSBデバイス210間で通信をおこなう。通常の「通信と給電モード」では、ドライバ層703がアプリケーション層701に対してUSBデバイス201が接続されたこと(存在すること)を通知するが、上記の「給電のみモード」ときには、図7の(B)に示すように、ドライバ層703と、USBデバイス210との間での通信が失敗したと判断する。   As shown in FIG. 7A, when the USB device 210 is connected to the car navigation system 200, communication is performed between the driver layer 703 and the USB device 210. In the normal “communication and power supply mode”, the driver layer 703 notifies the application layer 701 that the USB device 201 is connected (exists), but in the above “power supply only mode”, FIG. As shown in (B), it is determined that communication between the driver layer 703 and the USB device 210 has failed.

具体的には、ドライバ層703は、アプリ層701に対してUSBデバイス210が接続されたこと(存在すること)を通知しない。たとえば、「給電のみモード」ときには、1.ドライバ層703自体が通知をおこなわない。2.途中のOS層702で接続の通知を破棄する。3.アプリ層701で接続の通知を破棄する。   Specifically, the driver layer 703 does not notify the application layer 701 that the USB device 210 is connected (exists). For example, in the “power supply only mode”: The driver layer 703 itself does not notify. 2. The connection notification is discarded in the OS layer 702 on the way. 3. The application layer 701 discards the connection notification.

これにより、カーナビゲーション200にUSBデバイス210を接続した場合であっても、「給電のみモード」ときには、USBデバイス210の存在をアプリ層701まで通知せず、カーナビゲーション200とUSBデバイス210との間の通信をおこなわないため、USBデバイス210はカーナビゲーション200からの制御を受けずに、単独で機能を使用することができるようになる。なお、この際、USBデバイス210は、カーナビゲーション200から給電を受けることができる。   As a result, even when the USB device 210 is connected to the car navigation system 200, in the “power supply only mode”, the presence of the USB device 210 is not notified to the application layer 701, and between the car navigation system 200 and the USB device 210. Therefore, the USB device 210 can use the function independently without receiving control from the car navigation system 200. At this time, the USB device 210 can receive power from the car navigation system 200.

また、この後に、「給電のみモード」を解除することにより、「通信と給電モード」となり、再度アプリ層201がUSBデバイス210と通信をおこなうことにより、アプリ層201はUSBデバイス210に対して所定の制御(たとえば、USBデバイス210のデータ転送)をおこなうことができるようになる。   Also, after that, by canceling the “power supply only mode”, the “communication and power supply mode” is established, and the application layer 201 communicates with the USB device 210 again, so that the application layer 201 communicates with the USB device 210 in a predetermined manner. Control (for example, data transfer of the USB device 210) can be performed.

以上説明した実施例によれば、カーナビゲーション200は、USBデバイス210接続時の動作モードを切り替えることにより、「給電のみモード」時には、USBデバイス210が接続されても、カーナビゲーション200はUSBデバイス210との間の通信をおこなわず、USBデバイス210は給電を受けながら単独で機能できるようになる。   According to the embodiment described above, the car navigation system 200 switches the operation mode when the USB device 210 is connected, so that in the “power supply only mode”, the car navigation system 200 can be connected to the USB device 210 even if the USB device 210 is connected. The USB device 210 can function independently while receiving power supply.

なお、本実施の形態で説明した方法は、あらかじめ用意されたプログラムをパーソナル・コンピュータやワークステーションなどのコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVDなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。またこのプログラムは、インターネットなどのネットワークを介して配布することが可能な伝送媒体であってもよい。   The method described in this embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The program may be a transmission medium that can be distributed via a network such as the Internet.

100 情報処理装置
101 受付手段
102 接続処理手段
103 送信手段
110 外部装置
120 通信手段
DESCRIPTION OF SYMBOLS 100 Information processing apparatus 101 Reception means 102 Connection processing means 103 Transmission means 110 External apparatus 120 Communication means

Claims (7)

外部装置に接続されると、前記外部装置との間の通信の接続処理が実行される情報処理装置であって、
前記外部装置との接続前に、前記外部装置と前記情報処理装置との接続状態の情報を受け付ける受付手段と、
前記外部装置が接続され前記接続処理が実行された後、前記受付手段により受け付けた接続状態の情報に基づいた結果を前記外部装置へ送信する送信手段と、
を備えることを特徴とする情報処理装置。
When connected to an external device, an information processing device for executing a connection process for communication with the external device,
Accepting means for accepting connection state information between the external device and the information processing device before the connection with the external device;
After the external device is connected and the connection process is executed, a transmission unit that transmits a result based on the connection state information received by the reception unit to the external device;
An information processing apparatus comprising:
前記受付手段で受け付ける接続状態の情報は、前記外部装置が前記情報処理装置から給電を受け、かつ、前記外部装置と前記情報処理装置との通信の接続が確立されていない状態(以降、「給電のみモード」という)であることを特徴とする請求項1に記載の情報処理装置。   The connection status information received by the accepting means is a state in which the external device is supplied with power from the information processing device and a communication connection between the external device and the information processing device is not established (hereinafter referred to as “power supply”). The information processing apparatus according to claim 1, wherein the information processing apparatus is an “only mode”. 前記送信手段は、前記受付手段が給電のみモードを受け付けた場合、前記外部装置へ通信の接続処理の実行が失敗した旨を送信することを特徴とする請求項2に記載の情報処理装置。   The information processing apparatus according to claim 2, wherein the transmission unit transmits a message indicating that execution of communication connection processing has failed to the external device when the reception unit receives the power supply only mode. 前記送信手段は、前記受付手段が通信と給電モードを受け付けた場合、前記外部装置へ通信の接続処理を再度実行することを特徴とする請求項1〜3のいずれか一つに記載の情報処理装置。   The information processing according to any one of claims 1 to 3, wherein the transmission unit re-executes a connection process for communication to the external device when the reception unit receives communication and a power supply mode. apparatus. 外部装置に接続されると、前記外部装置との間の通信の接続処理が実行される情報処理装置の情報処理方法であって、
前記外部装置との接続前に、前記外部装置と前記情報処理装置との接続状態の情報を受け付ける受付工程と、
前記外部装置が接続され前記接続処理が実行された後、前記受付工程により受け付けた接続状態の情報に基づいた結果を前記外部装置へ送信する送信工程と、
を含むことを特徴とする情報処理方法。
An information processing method for an information processing apparatus in which connection processing for communication with the external apparatus is executed when connected to an external apparatus,
An accepting step of accepting connection state information between the external device and the information processing device before connection with the external device;
After the external device is connected and the connection process is executed, a transmission step of transmitting a result based on the connection state information received by the reception step to the external device;
An information processing method comprising:
請求項5に記載の情報処理方法をコンピュータに実行させることを特徴とするプログラム。   A program causing a computer to execute the information processing method according to claim 5. 請求項6に記載のプログラムを記録したことを特徴とするコンピュータに読み取り可能な記録媒体。   A computer-readable recording medium having the program according to claim 6 recorded thereon.
JP2012000223A 2012-01-04 2012-01-04 Information processing device, information processing method, information processing program, and recording medium Pending JP2013140486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012000223A JP2013140486A (en) 2012-01-04 2012-01-04 Information processing device, information processing method, information processing program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012000223A JP2013140486A (en) 2012-01-04 2012-01-04 Information processing device, information processing method, information processing program, and recording medium

Publications (1)

Publication Number Publication Date
JP2013140486A true JP2013140486A (en) 2013-07-18

Family

ID=49037865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012000223A Pending JP2013140486A (en) 2012-01-04 2012-01-04 Information processing device, information processing method, information processing program, and recording medium

Country Status (1)

Country Link
JP (1) JP2013140486A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002185840A (en) * 2000-10-03 2002-06-28 Olympus Optical Co Ltd Electronic camera
JP2005227924A (en) * 2004-02-12 2005-08-25 Canon Inc Print system
JP2007052727A (en) * 2005-08-19 2007-03-01 Toshiba Corp Information processor and access method
JP2008211327A (en) * 2007-02-23 2008-09-11 Brother Ind Ltd Information processing apparatus
JP2012035779A (en) * 2010-08-09 2012-02-23 Clarion Co Ltd In-vehicle device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002185840A (en) * 2000-10-03 2002-06-28 Olympus Optical Co Ltd Electronic camera
JP2005227924A (en) * 2004-02-12 2005-08-25 Canon Inc Print system
JP2007052727A (en) * 2005-08-19 2007-03-01 Toshiba Corp Information processor and access method
JP2008211327A (en) * 2007-02-23 2008-09-11 Brother Ind Ltd Information processing apparatus
JP2012035779A (en) * 2010-08-09 2012-02-23 Clarion Co Ltd In-vehicle device

Similar Documents

Publication Publication Date Title
US10455073B2 (en) User terminal device and control method therefor
US20160011841A1 (en) Switching display modes based on connection state
US20170284822A1 (en) Input/Output Functions Related to a Portable Device In An Automotive Environment
JP6058654B2 (en) In-vehicle information system, information terminal, application execution method
US10311715B2 (en) Smart device mirroring
CN103513894A (en) Display apparatus, remote controlling apparatus and control method thereof
US20140281964A1 (en) Method and system for presenting guidance of gesture input on a touch pad
WO2013180279A1 (en) In-vehicle information system, information terminal, application execution method, and program
JP2010108331A (en) Information processing apparatus, application starting method and program
JP2013140486A (en) Information processing device, information processing method, information processing program, and recording medium
JP2022153363A (en) Server device, information processing method, and server program
US11758092B2 (en) Display control device, display control method, and display control program
US20140152695A1 (en) Display device
JP2012063249A (en) In-vehicle information system, in-vehicle device, and information terminal
JP5235549B2 (en) Apparatus and method for presenting information
KR20160047905A (en) Remote Support Apparatus and Method for Remote Support
JP2010009121A (en) Data controller, control method, and program
JP2012063367A (en) Feature image data notification device, feature image data notification method, and feature image data notification program
KR20150098960A (en) Method for controlling wearable device and apparatus thereof
US11487409B2 (en) Appearance configuration of information processing terminal
JP4930573B2 (en) In-vehicle system
JP2013076640A (en) Automatic check-in apparatus and automatic check-in method
JP2006134166A (en) Input system using touch panel
CN111465921B (en) User terminal device and control method thereof
JP4895123B2 (en) Feature image data change notification device and feature image data change notification program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150624

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150915

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160308