JP2018206019A - Device control apparatus, device control method, and program - Google Patents
Device control apparatus, device control method, and program Download PDFInfo
- Publication number
- JP2018206019A JP2018206019A JP2017110163A JP2017110163A JP2018206019A JP 2018206019 A JP2018206019 A JP 2018206019A JP 2017110163 A JP2017110163 A JP 2017110163A JP 2017110163 A JP2017110163 A JP 2017110163A JP 2018206019 A JP2018206019 A JP 2018206019A
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- control
- processing apparatus
- power saving
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
Description
本発明は、ネットワークを介して接続された情報処理装置から送られる各種要求を処理するためのデバイス制御装置、デバイス制御方法、およびプログラム関するものである。 The present invention relates to a device control apparatus, a device control method, and a program for processing various requests sent from an information processing apparatus connected via a network.
近年、ネットワークの普及によって、プリンタ、ストレージ、およびスキャナなどのデバイスを、ネットワーク上の情報処理装置であるクライアントPCが共有デバイスとして利用されている。その実現方法がいくつか提案されている。 In recent years, with the spread of networks, devices such as printers, storages, and scanners are used as shared devices by client PCs that are information processing apparatuses on the network. Several implementation methods have been proposed.
例えば、USBデバイスに接続されているサーバコンピュータが、ネットワーク上のホストコンピュータからの要求に応じて、USBデバイスが接続された接続ポートのバス電源を制御することにより消費電力を抑制するシステムがある(例えば、特許文献1参照)。 For example, there is a system in which a server computer connected to a USB device suppresses power consumption by controlling the bus power of a connection port to which the USB device is connected in response to a request from a host computer on the network ( For example, see Patent Document 1).
また、外部機器から送信され、通信装置のバッファに記憶されるデータ量が、所定の閾値を上回った場合に、外部機器に対して省電力への移行を要求することにより消費電力を抑制するシステムも知られている(例えば、特許文献2参照)。 In addition, when the amount of data transmitted from an external device and stored in the buffer of the communication device exceeds a predetermined threshold, a system that suppresses power consumption by requesting the external device to shift to power saving. Is also known (see, for example, Patent Document 2).
しかしながら、特許文献1のデバイス制御システムに特許文献2のような既存の技術(電源制御の技術)を適用し、ホストコンピュータによって外部デバイスを仮想化制御している場合にデバイスサーバがデバイスの電源制御を行うことができたとしても以下の課題がある。ホストコンピュータ(情報処理装置)が仮想化制御によりサーバコンピュータ(デバイス制御装置)に接続された外部デバイス(例:USBメモリ)内のメモリ領域へアクセス中に、スリープなどの省電力機能(以下、「省電機能」と呼ぶ)を有するサーバコンピュータが省電力状態へ移行(以下、「省電移行」と呼ぶ)すると、外部デバイスのメモリ領域の書き込み中にセッションが切断されてしまい、メモリ領域の書き込みが途中で終了し、メモリに正しく変更内容が反映されない場合がある。
However, when the existing technology (power control technology) as in
上記の課題を鑑みて、本発明は、デバイス制御装置が情報処理装置から外部デバイスへのアクセス(データ転送)の状態についてアイドル状態かユーザー使用状態かを判断し、判断結果によりデバイス制御装置側からセッションの開始・終了および情報処理装置と外部デバイスとの仮想化制御の開始・終了を行うための要求を制御することができるデバイス制御装置、デバイス制御方法、およびプログラムを提供することを目的とする。 In view of the above problems, the present invention determines whether the device control apparatus is in an idle state or a user use state with respect to the state of access (data transfer) from the information processing apparatus to the external device, and from the device control apparatus side based on the determination result It is an object to provide a device control apparatus, a device control method, and a program capable of controlling a request for starting / ending a session and starting / ending virtualization control between an information processing apparatus and an external device. .
上記の課題を解決するために、請求項1に記載のデバイス制御装置は、ネットワークを介して情報処理装置に接続されていると共に、デバイスがローカル接続されたデバイス制御装置であって、前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイスを仮想化制御する仮想化制御部と、前記情報処理装置から前記デバイスに対する前記仮想化制御によるデータ転送時に、当該データと前記デバイスに応じた制御シーケンスとを比較し、前記転送の状態を判断するシーケンス照合部と、前記仮想化制御中に省電力状態への移行指示を受信した場合、前記判断の結果から当該省電力状態への移行を制御する省電力許可部と、を備えることを特徴とする。
In order to solve the above-described problem, the device control apparatus according to
上記の課題を解決するために、請求項4に記載の情報処理装置は、デバイスがローカル接続されたデバイス制御装置にネットワークを介して接続された情報処理装置であって、前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、当該情報処理装置からの制御要求に従って前記デバイス制御装置と連携し前記デバイスを仮想化制御する仮想化制御部と、前記情報処理装置から前記デバイスに対するデータ転送時に、当該データと前記デバイスに応じた制御シーケンスとを比較し、前記転送の状態を判断するシーケンス照合部と、前記デバイス制御装置が前記仮想化制御の際に、省電力状態への移行を判断するために前記転送の状態を前記デバイス制御装置に通知する状態通知部と、を備えることを特徴とする。
In order to solve the above-described problem, the information processing apparatus according to
上記の課題を解決するために、請求項5に記載のデバイス制御装置は、ネットワークを介して情報処理装置に接続されていると共に、デバイスがローカル接続されたデバイス制御装置であって、前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイスを仮想化制御する仮想化制御部と、前記仮想化制御されている前記デバイスが、所定の種類のデバイスかを識別するデバイス識別部と、前記仮想化制御中に省電力状態への移行指示を受信した場合、前記デバイス識別部により前記所定の種類のデバイスと識別されたデバイスの省電力状態への移行を許可しない省電力許可部と、を備えることを特徴とする。 In order to solve the above problem, a device control apparatus according to claim 5 is a device control apparatus that is connected to an information processing apparatus via a network and is locally connected to the device. A virtualization control unit that makes the information processing device recognize as if it is locally connected to the information processing device, and controls the virtualization of the device in accordance with a control request from the information processing device; A device identification unit for identifying whether the device is a device of a predetermined type, and when receiving an instruction to shift to a power saving state during the virtualization control, the device identification unit identifies the device of the predetermined type And a power saving permission unit that does not allow the device to be shifted to the power saving state.
本発明により、デバイス制御装置は外部デバイスに応じたシーケンスファイルを用いて情報処理装置から外部デバイスへのアクセス(データ転送)の状態についてアイドル状態かユーザー使用状態かを判断し、判断結果によりデバイス制御装置側からセッションの開始・終了および情報処理装置と外部デバイスとの仮想化制御の開始・終了を行うことにより、外部デバイスのメモリ領域の書き込み中にセッションが切断されることなく、メモリに正しく変更内容を反映させることができる。 According to the present invention, the device control apparatus determines whether the state of access (data transfer) from the information processing apparatus to the external device using the sequence file corresponding to the external device is an idle state or a user use state, and controls the device based on the determination result By starting and ending the session from the device side and starting and ending virtualization control between the information processing device and the external device, the session is not disconnected during writing to the memory area of the external device, and the memory is correctly changed. The contents can be reflected.
以下、本発明の実施形態におけるデバイス制御システムの一例について図面を参照して説明する。 Hereinafter, an example of a device control system according to an embodiment of the present invention will be described with reference to the drawings.
[第1の実施形態]
図1は、本発明の第1の実施形態によるデバイス制御システムの一例の構成を概略的に示すブロック図である。
[First embodiment]
FIG. 1 is a block diagram schematically showing a configuration of an example of a device control system according to the first embodiment of the present invention.
図示のデバイス制御システムにおいて、情報処理装置100がローカルエリアネットワーク(LAN)またはワイドエリアネットワーク(WAN)を介してデバイス制御装置200に接続されている。LANおよびWANは有線回線または無線回線で構成される。そして、デバイス制御装置200には、例えば、通信インターフェース(例えば、USBまたはHDMI(登録商標))によって外部デバイス300がローカル接続されている。以降の説明では外部デバイス300の通信インターフェースをUSBとして説明する。
In the illustrated device control system, an
<情報処理装置100の構成>
情報処理装置100は、パーソナルコンピュータ(PC)等の装置である。ハードウェア構成として、CPU151、入力部152、表示部153、メモリ154、通信部155、記憶部110を備え、これらハードウェアは内部バスで相互に接続されている。
<Configuration of
The
CPU151は情報処理装置100全体の制御を司る。入力部152は、例えば、キーボードおよびマウスを備えている。表示部153として、例えば、液晶モニタが用いられる。メモリ154はRAMおよびROM等である。
The
通信部155はLANおよびWANなどに接続するためのインターフェースであって、デバイス制御装置200とデータ送受信を行う。
The
記憶部110には、ソフトウェアであるオペレーティングシステム(以下「OS」と呼ぶ:不図示)、アプリケーション101、デバイスドライバ102、仮想化制御部103、通信制御部104が記憶されるとともに、他の機能に係るソフトウェアが記憶されている。なお、これらソフトウェアはメモリ154に読み出されて、CPU151の制御に従い動作する。
The
アプリケーション101は、デバイスドライバ102に対してデータ入出力要求を指示することにより、デバイス制御装置200に接続された外部デバイス300を制御するためのソフトウェアである。
The
デバイスドライバ102は、外部デバイス300を制御するための機能部である。OSまたはアプリケーション101からのデータ入出力要求を、外部デバイス300に応じたデータ形式のデータ(以下「制御コマンド」と呼ぶ)に変換して、当該制御コマンドを仮想化制御部103に送る。さらに、デバイスドライバ102は制御コマンドに対する応答をアプリケーション101に通知する。このデバイスドライバ102は一般に、製造したメーカーによって提供されるソフトウェアであって、情報処理装置100は各デバイスに対応したデバイスドライバ102によって外部デバイス300を制御することができる。
The
仮想化制御部103は、デバイスドライバ102から送られた制御コマンド(つまり、データ入出力要求)をUSBデータ形式に準拠したパケットデータ(以下「USBデータ」と呼ぶ)に変換する。また、仮想化制御部103は通信制御部104から送られてくるUSBデータを制御コマンドと同様のデータ形式に変換してデバイスドライバ102に送る。
The
さらに、仮想化制御部103は、外部デバイス300に対するデータ送受信要求に対して、外部デバイス300が情報処理装置に直接的に接続(ローカル接続)されている際と同様に振る舞いをシミュレートする機能(以下「仮想化制御機能」と呼ぶ)を備えている。この仮想化制御機能により、情報処理装置100は外部デバイス300の接続状態が、外部デバイス300を直接的に接続した場合と同一の状態であると認識してデータの送受信を行うことができる。
Further, the
通信制御部104は、仮想化制御部103から送られるUSBデータとLANおよびWANを介してデバイス制御装置200と通信する際のネットワークパケットとの変換処理を行い、デバイス制御装置200と情報処理装置100の間でデータ送受信の制御を行うソフトウェアである。また、通信制御部104は、仮想化制御部103を介してアプリケーション101またはデバイスドライバ102から送られるデータ送受信要求に応じて、デバイス制御装置200との間のセッションの開始および終了の制御を行う。
The
<デバイス制御装置200の構成>
デバイス制御装置200は、例えば、プリンタまたは複合機等の周辺機器であって、ハードウェア構成として、CPU251、入力部252、表示部253、メモリ254、通信部255、および記憶部230を備えている。
<Configuration of
The
CPU251はデバイス制御装置200全体の制御を司る。入力部252は、例えば、操作ボタン、テンキーを備えている。表示部253として、例えば、液晶パネルが用いられる。メモリ254はRAMおよびROM等である。
The
通信部255はLANおよびWANに接続するためのインターフェースであって、情報処理装置100とデータ送受信を行う。
The
記憶部230には、ソフトウェアであるOS(不図示)、通信制御部201、仮想化制御部202、省電許可部203、シーケンス照合部204、照合シーケンス記憶部205、デバイス制御部207、デバイス情報取得部208、電源供給制御部210、省電制御部211が記憶されるとともに、他の機能に係るソフトウェアが記憶されている。なお、これらソフトウェアはメモリ254に読み出されて、CPU251の制御に従い動作する。
The
通信制御部201は、情報処理装置100との間で行われる入出力データ等の送受信を制御するソフトウェアである。
The
通信制御部201は、OSの制御に従ってネットワーク経由で接続されている情報処理装置100との間のセッション(接続)の開始および終了を制御する。
The
また、通信制御部201は、仮想化制御部202から送られるUSBデータとLANおよびWANなどのネットワークを介して情報処理装置100と通信する際のネットワークパケットとの変換処理を行い、デバイス制御装置200と情報処理装置100の間でデータ送受信の制御を行う。
In addition, the
仮想化制御部202は、外部デバイス300があたかも情報処理装置100に直接的に接続(ローカル接続)されているかのように情報処理装置100へ認識させて制御できるようにするため、情報処理装置100の仮想化制御部103からの制御要求に従って(連動して)外部デバイス300の制御を行う。
The
加えて、仮想化制御部202は、情報処理装置100に対して外部デバイス300の仮想化制御を開始させるための要求(以下、仮想化開始要求と呼ぶ)と、仮想化制御を終了させるための要求(以下、仮想化終了要求と呼ぶ)を送信する。
In addition, the
省電許可部203は、シーケンス照合部204から通知される省電移行禁止、または省電移行許可に従い、後述する省電制御部211の省電移行を制御する。
The power saving
シーケンス照合部204は、照合シーケンス記憶部205からデバイス制御装置200に接続された外部デバイス300に対応するシーケンスファイル206をロードし、ロードしたシーケンスファイル206とデバイスドライバ102から送られた制御コマンドをデバイス制御装置200が受信した際に照合する。その照合結果により省電状態が禁止から許可、または許可から禁止に移行した場合、省電許可部203へ省電移行情報を通知する。シーケンスファイル206の詳細については、図2を用いて後述する。このシーケンス照合部204により、情報処理装置100と外部デバイス300との間で仮想化制御が行われている際に、転送データサイズと閾値による判断を行うことなく、データ転送中であるのかアイドル中であるかを判断する。
The
照合シーケンス記憶部205は、シーケンスファイル206を記憶・管理している。
The collation
シーケンスファイル206は、デバイス制御装置200にローカル接続されるデバイス300に対応した各データシーケンスを記憶したファイルである。なお、ここでデータシーケンスとは、一例として情報処理装置100からUSBストレージクラスの外部デバイス300をアクセスする際のバルクOUT転送のシーケンスとして説明するが、これに限定したものではなく他の転送方式であってもよい。
The
デバイス制御部207は、外部デバイス300は第1の種類のデバイスか、第2の種類のデバイスかを識別し、仮想化制御部202の制御に従い、デバイス制御装置200に接続された外部デバイス300を制御する。ここで、第1の種類のデバイスとは、ストレージクラスデバイスのようなメモリアクセスするタイプのUSBデバイスを指し、第2の種類のデバイスとは、第1の種類のデバイス以外のUSBデバイスを指す。外部デバイス300の識別には、USBクラス情報、ベンダーID、プロダクトID、シリアル番号、デバイス名などを使用する。なお、デバイス制御部207によって外部デバイス300が第1の種類のデバイスであった場合に、デバイス制御装置200から情報処理装置100が備える仮想化制御部103に外部デバイス300の仮想化終了要求を送信する。
The
デバイス情報取得部208は、デバイス制御装置200に接続された外部デバイス300のバス電源供給の状態を含むデバイスの情報を外部デバイス300から取得し、デバイス状態管理情報209として記憶・管理する。
The device
デバイス状態管理情報209は、デバイス制御装置200自身に接続された外部デバイス300のバス電源供給の状態を含む外部デバイス300の情報である。デバイス状態管理情報209の詳細は、図3を用いて後述する。
The device
電源供給制御部210は、デバイス制御部207と連携して、デバイス制御装置200に接続された外部デバイス300のバス接続状態の監視とバス電源の供給/停止を制御する。
The power
省電制御部211は、デバイス制御装置200自身の省電状態への移行および省電状態からの復帰を制御する。なお、省電制御部211は省電移行を行いたい場合に、省電許可部203の制御(判断)に従い、省電移行を行うタイミングであるか否かを判断する。
The power
<外部デバイス300の構成>
外部デバイス300は、個体識別情報301、通信I/F302を備えており、デバイス制御装置200にUSBインターフェースによって外付けで接続されている。
<Configuration of
The
個体識別情報301は、外部デバイス300を識別するための情報であり、メーカーを識別するために機器を製造したメーカー毎に割り当てられたベンダーID(VID)、機種を識別するために機種毎に割り当てられた製品ID(PID)、機器の個体を識別するために機器毎に割り当てられたシリアル番号やデバイス名などである。外部デバイス300を一意に識別することができればよい。
The
通信I/F302は、デバイス制御装置200とUSB通信を行うための機能部である。
The communication I /
<シーケンスファイル206について>
次に、シーケンスファイル206について図2を用いて説明する。
<About
Next, the
図2は、図1に示すデバイス制御装置200が有するシーケンスファイル206の一例を示す図である。シーケンスファイル206は、一例として比較キー、転送方式、状態遷移、次回判定対象から構成される。判定順に従いシーケンス照合部204が判定を行う。
FIG. 2 is a diagram illustrating an example of a
比較キーは、情報処理装置100から外部デバイス300へ送信されるデータと照合する制御コマンド情報である。照合する制御コマンドとして、デバイスのロックコマンド、デバイスのアンロックコマンド、Readyコマンド相当が該当する。ここで、デバイスのロックコマンドは、情報処理装置100が外部デバイス300をマウント(使用)する際に発行されるコマンドである。デバイスのアンロックコマンドは、情報処理装置100が外部デバイス300をアンマウント(解放)する際に発行されるコマンドである。Readyコマンドは、情報処理装置100がアイドル状態時に発行されるコマンドである。
The comparison key is control command information that is collated with data transmitted from the
転送方式は、情報処理装置100からのデータが転送される際の転送方式の情報である。シーケンス照合部204は、シーケンスファイル206の転送方式により、照合する制御コマンドを確認する。図2ではバルクOUTを例示したが、バルクINでもよく、その他にコントロール転送、インタラプト転送、アイソクロナス転送などでもよい。
The transfer method is information on a transfer method when data from the
状態遷移は、情報処理装置100から外部デバイス300へ送信されるデータと比較キーが一致した際に遷移する状態の情報である。例えば、ユーザー操作により情報処理装置100が外部デバイス300を使用している状態(以降、「ユーザー使用状態」)に遷移した場合、省電移行を禁止し、アイドル状態の場合、省電移行を許可する。
The state transition is information on a state that transitions when the data transmitted from the
次回判定対象は、情報処理装置100から外部デバイス300へ送信されるデータと比較キーが一致した際に次回判定対象となる判定順を参照し、その判定順で設定された比較キーに切り替えるための情報である。
The next determination target refers to the determination order to be the next determination target when the data transmitted from the
判定順について、以下に説明する。 The determination order will be described below.
判定順1では、シーケンス照合部204は、情報処理装置100からデバイス制御装置200がコマンドA(デバイスのロックコマンド)を受信した場合、デバイス状態管理情報209のデバイス使用状態(図3にて後述)をユーザー使用状態に更新し、次にアイドル状態待ちを判断するため、判定順2へ移行する。
In
判定順2では、シーケンス照合部204は、情報処理装置100からデバイス制御装置200がコマンドB(デバイスのアンロックコマンド)を受信した場合、デバイス状態管理情報209のデバイス使用状態をユーザー使用状態のままとし、次にアイドル状態を判断するため、判定順3へ移行する。
In the
判定順3では、シーケンス照合部204は、情報処理装置100からデバイス制御装置200がコマンドC(Readyコマンド)を受信した場合、デバイス状態管理情報209のデバイス使用状態をアイドル状態に更新し、次にユーザー使用状態を判断するため、判定順1へ移行する。
In the
判定順3では、シーケンス照合部204は、情報処理装置100からデバイス制御装置200がコマンドC以外を受信した場合、デバイス状態管理情報209のデバイス使用状態をユーザー使用状態のままとし、次にユーザー使用状態を判断するため、判定順4へ移行する。
In
判定順4では、シーケンス照合部204は、情報処理装置100からデバイス制御装置200がコマンドA(デバイスのロックコマンド)を受信した場合、デバイス状態管理情報209のデバイス使用状態をユーザー使用状態のままとし、次にアイドル状態待ちを判断するため、判定順2へ移行する。
In
判定順4では、シーケンス照合部204は、情報処理装置100からデバイス制御装置200がコマンドA以外を受信した場合、デバイス状態管理情報209のデバイス使用状態をユーザー使用状態のままとし、次にアイドル状態を判断するため、判定順3へ移行する。
In the
<デバイス状態管理情報209について>
次に、デバイス状態管理情報209について図3を用いて説明する。
<About Device
Next, the device
図3は、図1に示すデバイス状態管理情報209の一例を示す図である。デバイス状態管理情報209は、デバイス名、ベンダーID、プロダクトID、シリアル番号、デバイス接続ポート番号、デバイス電源状態、デバイス使用状態、USBクラス情報から構成される。
FIG. 3 is a diagram illustrating an example of the device
デバイス名は、デバイス制御装置200に接続された外部デバイス300の名称を示し、主にUSBディスクリプタ情報から取得されるデバイス名称である。なお、デバイスを識別できる名称(情報)であればUSBディスクリプタ情報から取得しなくてもよい。
The device name indicates the name of the
ベンダーIDは、各企業や製造したメーカー毎に割り当てられる識別情報である。プロダクトIDは、ベンダーIDを持つ企業やメーカーが各製品や機種毎に重複しないよう割り振る識別情報(コード情報)である。 The vendor ID is identification information assigned to each company or each manufactured manufacturer. The product ID is identification information (code information) assigned by a company or manufacturer having a vendor ID so as not to overlap each product or model.
シリアル番号は、機器の個体を識別するために機器毎に割り当てられた識別情報である。 The serial number is identification information assigned to each device in order to identify the individual device.
デバイス接続ポート番号は、デバイス制御装置200に接続された外部デバイス300の物理的な接続位置をバスの接続階層に従い識別する情報である。
The device connection port number is information for identifying the physical connection position of the
デバイス電源状態は、デバイス制御装置200に接続された外部デバイス300に対して、デバイス制御装置200がバスの電源を供給・給電しているか停止しているかを示す情報である。
The device power state is information indicating whether the
デバイス使用状態は、デバイス制御装置200に接続された外部デバイス300の状態(ユーザー使用状態またはアイドル状態)を示す情報である。
The device usage status is information indicating the status (user usage status or idle status) of the
USBクラス情報は、デバイスの種類を識別する情報である。例えば、USBデバイスのクラスIDのような情報であって、同様の機能を持つデバイスに対して、構成や転送プロトコル定義を標準化した仕様群である。例えば、ストレージクラス、HID、オーディオクラス、ビデオクラスなどがある。 The USB class information is information for identifying the type of device. For example, information such as a class ID of a USB device is a specification group in which a configuration and a transfer protocol definition are standardized for a device having a similar function. For example, there are a storage class, an HID, an audio class, and a video class.
例えば、デバイス名がデバイス1で識別されるデバイスは、ベンダーIDが0x9999、プロダクトIDが0x0001、シリアル番号が000000000001、デバイス接続ポート番号が1−1−1、デバイス電源状態が給電、デバイス使用状態がユーザー使用状態、USBクラス情報がストレージクラスであることを示している。
For example, a device whose device name is identified by
本実施形態ではデバイス制御装置200がUSBクラス情報から外部デバイス300を識別する場合について説明する。なお、外部デバイス300が第1の種類のデバイスなのか、もしくは第2の種類のデバイスなのかを識別するための情報として、ベンダーIDとプロダクトIDの組み合わせや、シリアル番号、デバイス名などから識別してもよい。
In the present embodiment, a case will be described in which the
<情報処理装置100における外部デバイス300の仮想化制御>
図4は、図1に示す情報処理装置100における外部デバイス300の仮想化制御に係る処理を説明するためのフローチャートである。
<Virtualization Control of
FIG. 4 is a flowchart for explaining processing related to virtualization control of the
情報処理装置100内のOS起動中に常に待機および動作しているソフトウェア(以後常駐モジュールと呼ぶ:不図示)は、デバイス制御装置200を介してLAN接続された外部デバイス300を知るために、通信制御部104を介して、デバイス制御装置200に対して検索パケットをブロードキャストする。具体的には、UDP(User Datagram Protocol)などのプロトコルを用いて、デバイス制御装置200の検索(問い合わせ)を行なう。
Software that is always waiting and operating while the OS in the
常駐モジュールは、デバイス制御装置200から個体識別情報301の受信を待ち(ステップS401)、デバイス制御装置200から受信がない場合には(ステップS401でNo)、仮想化制御は行わず、処理を終了する。
The resident module waits for the reception of the
一方、常駐モジュールは、デバイス制御装置200から個体識別情報301の受信があると(ステップS401でYes)、個体識別情報301の登録を行う(ステップS402)。
On the other hand, when the resident module receives the
常駐モジュールは、取得した個体識別情報301のうち、デバイスディスクリプタに記述されたベンダーID(VID)と製品ID(PID)、ストリングディスクリプタに記述されたシリアル番号とデバイス名称によって外部デバイス300の個体を識別する。また、インターフェースディスクリプタに記述されたインターフェース番号を識別する。このようにして識別された外部デバイス300の個体に関する情報に基づいて、仮想化制御部103の生成(ステップS403)、デバイスドライバ102の生成(ステップS404)を動的に行う。
The resident module identifies the individual of the
その後、アプリケーション101を起動し、アプリケーション101からドライバソフトウェア部品を制御するためのインターフェース(アプリケーション/ドライバインターフェース)を起動する(ステップS405)。起動が完了したらデバイス制御装置200への通知を行う(ステップS406)。このようにして、情報処理装置100内において外部デバイス300の仮想化制御が実行される。
Thereafter, the
<第1の実施形態における外部デバイス300の状態管理について>
図5は、図1に示すデバイス制御装置200による外部デバイス300のデバイス状態管理に関する制御の一例を示すフローチャートである。デバイス制御装置200に外部デバイス300が接続されており、情報処理装置100からの仮想化開始命令により仮想化制御が開始され、情報処理装置100とデバイス制御装置200の間でセッションを開始しているものとして説明を開始する。
<Regarding State Management of
FIG. 5 is a flowchart showing an example of control related to device state management of the
まず、デバイス制御部207は、外部デバイス300のデバイス情報を識別するため、デバイス制御装置200が備えるデバイス情報取得部208にデバイス情報取得要求を送信し、外部デバイス300のUSBクラス情報を取得する(ステップS501)。
First, in order to identify the device information of the
デバイス制御部207は、ステップS501で取得したUSBクラス情報を識別し、外部デバイス300が第1の種類(ストレージクラス)のデバイスかどうか識別し、デバイス情報をシーケンス照合部204に通知する(ステップS502)。
The
外部デバイス300のUSBクラス情報が第1の種類のデバイスである場合(ステップS502でYes)、デバイス制御部207は、デバイス状態管理情報209のデバイス使用状態をアイドル状態に設定する(ステップS503)。
When the USB class information of the
一方、第1の種類のデバイスでなく第2の種類のデバイスであった場合(ステップS503でNo)、ステップS503以降の処理を行わずに本制御フローを終了する。 On the other hand, if the device is not the first type device but the second type device (No in step S503), the control flow is terminated without performing the processing from step S503.
次に、シーケンス照合部204は、照合シーケンス記憶部205より、第1の種類のデバイスに該当するシーケンスファイル206をロードする(ステップS504)。最初の比較対象となるシーケンスファイル206の比較キーは、図2で説明したようにデバイスのロックコマンド相当である。
Next, the
シーケンス照合部204は、仮想化制御中の情報処理装置100からUSBデータを受信したかを判断する(ステップS505)。
The
シーケンス照合部204は、情報処理装置100からUSBデータを受信した場合(ステップS505でYes)、受信したUSBデータがシーケンスファイル206の比較キーとなるデバイスのロックコマンド相当と一致するか確認する(ステップS506)。
When the
一方、情報処理装置100からUSBデータの送信がない場合(ステップS505でNo)、シーケンス照合部204は、情報処理装置100からのUSBデータを受信するまでステップS505の処理を繰り返す。
On the other hand, when the USB data is not transmitted from the information processing apparatus 100 (No in step S505), the
シーケンス照合部204は、情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致した場合(ステップS506でYes)、比較キーをデバイスのアンロックコマンド相当に切り替える(ステップS507)。
If the USB data received from the
一方、情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致しない場合(ステップS506でNo)、シーケンス照合部204は、ステップS505に戻り、次の情報処理装置100からのUSBデータを待つ。
On the other hand, when the USB data received from the
シーケンス照合部204は、デバイス状態管理情報209のデバイス使用状態をユーザー使用状態へ移行させる(ステップS508)。
The
シーケンス照合部204は、仮想化制御中の情報処理装置100からUSBデータを受信したかを判断する(ステップS509)。
The
シーケンス照合部204は、情報処理装置100からUSBデータを受信した場合(ステップS509でYes)、受信したUSBデータがシーケンスファイル206の比較キーとなるデバイスのアンロックコマンド相当と一致するか確認する(ステップS510)。
When the
一方、情報処理装置100からUSBデータの送信がない場合(ステップS509でNo)、シーケンス照合部204は、ステップS509に戻り、情報処理装置100からのUSBデータを待つ。
On the other hand, when the USB data is not transmitted from the information processing apparatus 100 (No in step S509), the
シーケンス照合部204は、次の情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致した場合(ステップS510でYes)、比較キーを制御コマンドのReadyコマンド相当に切り替える(ステップS511)。
If the USB data received from the next
一方、情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致しない場合(ステップS510でNo)、シーケンス照合部204は、ステップS509に戻り、次の情報処理装置100からのUSBデータを待つ。
On the other hand, when the USB data received from the
シーケンス照合部204は、仮想化制御中の情報処理装置100からUSBデータを受信したかを判断する(ステップS512)。
The
シーケンス照合部204は、情報処理装置100からUSBデータを受信した場合(ステップS512でYes)、受信したUSBデータとシーケンスファイル206の比較キーとなる制御コマンドのReadyコマンド相当と一致するかを確認する(ステップS513)。
If the
シーケンス照合部204は、情報処理装置100から受信したUSBデータがシーケンスファイル206の比較キーとなる制御コマンドのReadyコマンド相当と一致した場合(ステップS513でYes)、比較キーを制御コマンドのデバイスのロックコマンド相当に切り替える(ステップS514)。
When the USB data received from the
シーケンス照合部204は、デバイス状態管理情報209のデバイス使用状態をアイドル状態へ移行させ、本制御フローを終了する(ステップS515)。
The
一方、情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致しない場合(ステップS513でNo)、シーケンス照合部204は、もう一方の比較キーとなるデバイスのロックコマンド相当に切り替える(ステップS516)。
On the other hand, if the USB data received from the
シーケンス照合部204は、受信したUSBデータがシーケンスファイル206の比較キーとなる制御コマンドのロックコマンド相当と一致するかを確認する(ステップS517)。
The
シーケンス照合部204は、情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致した場合(ステップS517でYes)、比較キーを制御コマンドのデバイスのアンロックコマンド相当に切り替える(ステップS518)。その後、ステップS509に戻り、次の情報処理装置100からのUSBデータを待つ。
When the USB data received from the
一方、情報処理装置100から受信したUSBデータとシーケンスファイル206の比較キーが一致しない場合(ステップS517でNo)、比較キーを制御コマンドのデバイスのReadyコマンド相当に切り替える(ステップS519)。その後、シーケンス照合部204は、ステップS512に戻り、次の情報処理装置100からのUSBデータを待つ。
On the other hand, if the USB data received from the
<省電状態の移行管理について>
図6は、図1に示すデバイス制御装置200の省電移行の管理を制御する一例を示すフローチャートである。なお、図5にて説明したデバイス制御装置200による外部デバイス300のデバイス状態管理に関する制御と、図6にて説明するデバイス制御装置200の省電移行の管理に関する制御は、並列に処理される。
<About transition management of power saving state>
FIG. 6 is a flowchart illustrating an example of controlling the management of power saving in the
省電制御部211は、デバイス制御装置200の省電移行についての所定の契機であるかを判断する(ステップS601)。所定の契機とは、デバイス制御装置200に給電を開始して一定時間経過した場合などである。
The power
デバイス制御装置200が省電移行する場合(ステップS601でYes)、省電制御部211が省電許可部203へ省電移行要求を通知する(ステップS602)。
When the
デバイス制御装置200が省電移行しない場合(ステップS601でNo)、ステップS601に戻り、省電制御部211が省電移行する契機を監視(待機)する。
When the
デバイス制御部207は、第1の種類のデバイスであるかを識別する(ステップS603)。
The
省電許可部203は、外部デバイス300のUSBクラス情報が第1の種類のデバイスである場合(ステップS603でYes)、デバイス状態管理情報209のデバイス使用状態を確認する(ステップS604)。
When the USB class information of the
省電許可部203は、デバイス状態管理情報209のデバイス使用状態がユーザー使用状態の場合(ステップS604でYes)、情報処理装置100が外部デバイス300へアクセス中であるため省電移行要求を保留しステップS604に戻り、デバイス使用状態がアイドル状態になるまで監視(待機)する。このとき、図5にて説明したデバイス制御装置200によるデバイス状態管理の制御が行われ、シーケンス照合部204がデバイス状態管理情報209のデバイス使用状態をアイドル状態に更新するまで、省電許可部203が省電移行要求を保留する。
When the device usage state of the device
一方、デバイス状態管理情報209のデバイス使用状態がアイドル状態の場合(ステップS604でNo)、省電許可部203は、仮想化制御部202へ省電移行要求を通知する(ステップS605)。
On the other hand, when the device usage state of the device
仮想化制御部202は、ステップS605で省電移行要求を受信後、情報処理装置100に対して外部デバイス300の仮想化終了要求を送信する(ステップS606)。
After receiving the power saving transition request in step S605, the
仮想化制御部202は、情報処理装置100からの仮想化終了命令を受信し、情報処理装置100とのセッションを終了後に、外部デバイス300の仮想化制御を終了する(ステップS607)。その後、省電制御部211は、デバイス制御装置200を省電状態に移行し、電源供給制御部210が外部デバイス300への電源供給を停止する(ステップS608)。
The
一方、外部デバイス300が第1の種類のデバイスでなく第2の種類のデバイスであった場合(ステップS603でNo)、仮想化制御部202から情報処理装置100に仮想化終了要求は送信されず、デバイス制御装置200の省電移行のタイミングで情報処理装置100とのセッションを終了し、仮想化制御部202が外部デバイス300の仮想化制御を終了する(ステップS607)。
On the other hand, when the
なお、省電状態から復帰する場合(不図示)、情報処理装置100が外部デバイス300を探索し、仮想化開始命令をデバイス制御装置200に送信する。仮想化開始命令を受信した仮想化制御部202が、省電制御部211へ仮想化開始通知を通知し、省電制御部211が省電状態から復帰する。電源供給制御部210が外部デバイス300へ電源供給を再開し、情報処理装置100とデバイス制御装置200との間のセッションを開始する。
When returning from the power saving state (not shown), the
上述のように、デバイス制御装置200は、外部デバイス300のデバイス情報(USBクラス情報)から接続されている外部デバイス300のデバイス種類を識別することにより、外部デバイス300の種類に応じて情報処理装置100への仮想化終了要求の送信を制御することが可能となる。
As described above, the
上述のように、本発明の第1の実施形態によれば、デバイス制御装置200は、外部デバイス300のUSBクラス情報から接続されている外部デバイス300のデバイス種類を識別することにより、外部デバイス300の種類に応じて情報処理装置100とのセッションの終了および仮想化終了要求の送信を制御することで情報処理装置100が外部デバイス300にアクセス中でない場合に省電移行することが可能となる。
As described above, according to the first embodiment of the present invention, the
これにより、デバイス制御装置200はデバイス制御装置自身が省電移行を行おうとする場合、外部デバイス300の種類に応じて情報処理装置100に対して仮想化終了要求を送信するタイミングを制御できるため、外部デバイス300が第1の種類のデバイスであった場合でも、外部デバイス300のメモリ領域の書き込みが終了してから仮想化制御を終了することが可能となる。また、デバイス制御装置200は、情報処理装置100が外部デバイス300にアクセス中であっても外部デバイス300内のメモリ領域の書き込みが途中で終了することなく、メモリに正しく変更内容が反映される。さらに、外部デバイス300の仮想化制御を終了して省電状態に移行することが可能となる。
Thereby, the
[第2の実施形態]
図7は、本発明の第2の実施形態によるデバイス制御システムの一例の構成を概略的に示すブロック図である。
[Second Embodiment]
FIG. 7 is a block diagram schematically showing a configuration of an example of a device control system according to the second embodiment of the present invention.
図7のデバイス制御システムは、情報処理装置120、デバイス制御装置220、外部デバイス300から構成されており、図1で示した情報処理装置100およびデバイス制御装置200の構成要素と同一の構成要素については同一の参照番号を付して説明を省略し、異なる点についてのみ説明する。第2の実施形態では、第1の実施形態においてデバイス制御装置200が備えていたシーケンス照合部204、照合シーケンス記憶部205を、情報処理装置120側がシーケンス照合部105、照合シーケンス記憶部106として同等の機能を有し、情報処理装置120側でシーケンスファイル107を用いた照合を行う点が特徴である。
The device control system of FIG. 7 includes an
情報処理装置120は、シーケンス照合部105、照合シーケンス記憶部106、状態通知部108を備えている。
The
シーケンス照合部105は、照合シーケンス記憶部106からデバイス制御装置220に接続された外部デバイス300に該当するシーケンスファイル107をロードし(図5のステップS501〜ステップS504)、ロードしたシーケンスファイル107とデバイスドライバ102から送られた制御コマンドをデバイス制御装置220が受信した際(ステップS505、ステップS509、ステップS512)、照合し(ステップS506、ステップS510、ステップS513)、照合した結果により省電状態が禁止から許可、または許可から禁止に移行した場合、状態通知部108へ省電移行情報を通知する。
The
情報処理装置120は、照合シーケンス記憶部106を備えている。照合シーケンス記憶部106は、情報処理装置100にローカル接続されるデバイスに対応した各データシーケンスをローカルエリアネットワーク(LAN)、ワイドエリアネットワーク(WAN)を介して、または情報処理装置120内で作成して、シーケンスファイル107として保持(記憶)し、管理する。
The
状態通知部108は、シーケンス照合部105から受信した省電移行情報を省電許可部203へ通知する。
The
省電許可部203は、状態通知部108からの省電移行禁止、または許可の通知に従い、省電制御部211からの省電移行要求を制御する。
The power saving
第2の実施形態においても、外部デバイス300の状態管理および省電状態の移行管理は、第1の実施形態で説明したシーケンス照合部204、照合シーケンス記憶部205、シーケンスファイル206は、それぞれシーケンス照合部105、照合シーケンス記憶部106、シーケンスファイル107と読み替え、図5および図6で説明した制御に従い行われる。加えて、シーケンス照合部105での照合結果は、状態通知部108によりデバイス制御装置200へ通知される。
Also in the second embodiment, the state management of the
上述のように、本発明の第2の実施形態によれば、デバイス制御装置220は、外部デバイス300のUSBクラス情報から接続されている外部デバイス300のデバイス種類を識別することにより、外部デバイス300の種類に応じて情報処理装置120とのセッションの終了および仮想化終了要求の送信を制御することで情報処理装置120が外部デバイス300にアクセス中でない場合に省電移行することが可能となる。
As described above, according to the second embodiment of the present invention, the
これにより、デバイス制御装置220はデバイス制御装置自身が省電移行を行おうとする場合、情報処理装置120が備える状態通知部108からの通知により、外部デバイス300の種類に応じて情報処理装置120に対して仮想化終了要求を送信するタイミングを制御できるため、外部デバイス300が第1の種類のデバイスであった場合でも、外部デバイス300のメモリ領域の書き込みが終了してから仮想化制御を終了することが可能となる。また、デバイス制御装置220は、情報処理装置120が外部デバイス300にアクセス中であっても外部デバイス300内のメモリ領域の書き込みが途中で終了することなく、メモリに正しく変更内容が反映される。さらに、外部デバイス300の仮想化制御を終了して省電状態に移行することが可能となる。
As a result, when the
以上、本発明について上記の各実施形態に基づいて説明したが、本発明は、これらの実施形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 As mentioned above, although this invention was demonstrated based on said each embodiment, this invention is not limited to these embodiment, Various forms of the range which does not deviate from the summary of this invention are also included in this invention. It is.
例えば、第1の種類のデバイスであるか第2の種類のデバイスであるかに応じて、省電許可部203が省電移行要求を制御するとして例示したが、第1の種類のデバイスである場合には、省電許可部203が省電移行を禁止するように制御してもよい。
For example, the power saving
なお、デバイス300に対応した各データシーケンスをシーケンスファイルとして例示したが、ファイルに限定したものではなく、情報処理装置120またはデバイス制御装置200が記憶せず、外部(例:クラウド、USBメモリ、サーバ装置等)から動的に供給されてもよい。
In addition, although each data sequence corresponding to the
また、省電許可部203の判断に基づき、省電制御部211および電源供給制御部210によりバス電源の供給/停止を行うとしたが、給電量を調整してもよい。
Further, although the power saving
加えて、省電移行について例示したが、ある一連のシーケンスを監視し、所定の条件を満たした場合に、所定の制御を行うことを許可あるいは保留するようなものであれば適用可能である。 In addition, the power saving transition has been exemplified, but the present invention can be applied as long as a certain series of sequences is monitored and predetermined control is permitted or suspended when a predetermined condition is satisfied.
デバイス制御装置200およびデバイス制御装置220は、外部デバイス300との接続ポートを内蔵する形態で説明したが、デバイス制御装置200およびデバイス制御装置220に別体のデバイス分岐装置(例:USBハブ、不図示)を接続し、このデバイス分岐装置を介して外部デバイス300と接続してもよい。
The
例えば、上記の実施形態の機能の制御方法として、この制御方法をデバイス制御装置に実行させるようにすればよい。また、上述の実施形態の機能を有するプログラムを制御プログラムとして、当該制御プログラムをデバイス制御装置が備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, as a function control method of the above embodiment, the device control apparatus may execute this control method. Further, the program having the functions of the above-described embodiments may be used as a control program, and the control program may be executed by a computer included in the device control apparatus. The control program is recorded on a computer-readable recording medium, for example.
また、本発明は、以下の処理を実行することによっても実現される。つまり、上述した実施形態の機能を実現するソフトウェア(プログラムコード)を、ネットワークまたは各種の記録媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムコードを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program code) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various recording media, and a computer (or CPU, MPU, or the like) of the system or apparatus performs program code. Is read and executed.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶したコンピュータで読み取り可能な記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and a computer-readable storage medium storing the program code constitutes the present invention.
また、プログラムコードの指示に基づき、コンピュータ上で稼働しているOS等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現されるように構成してもよい。 Further, the OS or the like running on the computer may perform part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments may be realized by the processing. .
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれたあと、このプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を実行し、その処理に応じて上述した実施形態が実現される場合も含んでいる。 Furthermore, after the program code read from the storage medium is written in the memory of the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. In some cases, the CPU or the like provided in the board or the function expansion unit executes part or all of the actual processing, and the above-described embodiment is realized according to the processing.
なお、プログラムコードを供給するため、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CDやDVDに代表される光ディスク、磁気テープ、不揮発性のメモリカード、ROM等の記憶媒体を用いることができる。または、プログラムコードは、ネットワークを介してダウンロードしてもよい。 In order to supply the program code, for example, a storage medium such as a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, an optical disk represented by CD or DVD, a magnetic tape, a nonvolatile memory card, or a ROM is used. Can do. Alternatively, the program code may be downloaded via a network.
100、120:情報処理装置
101:アプリケーション
102:デバイスドライバ
103:仮想化制御部
104:通信制御部
105:シーケンス照合部
106;照合シーケンス記憶部
107:シーケンスファイル
108:状態通知部
110:記憶部
200、220:デバイス制御装置
201:通信制御部
202:仮想化制御部
203:省電許可部
204:シーケンス照合部
205:照合シーケンス記憶部
206:シーケンスファイル
207:デバイス制御部
208:デバイス情報取得部
209:デバイス状態管理情報
210:電源供給制御部
211:省電制御部
230:記憶部
300:外部デバイス
301:個体識別情報
302:通信I/F
100, 120: Information processing apparatus 101: Application 102: Device driver 103: Virtualization control unit 104: Communication control unit 105:
Claims (11)
前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイスを仮想化制御する仮想化制御部と、
前記情報処理装置から前記デバイスに対する前記仮想化制御によるデータ転送時に、当該データと前記デバイスに応じた制御シーケンスとを比較し、前記転送の状態を判断するシーケンス照合部と、
前記仮想化制御中に省電力状態への移行指示を受信した場合、前記判断の結果から当該省電力状態への移行を制御する省電力許可部と、
を備えることを特徴とするデバイス制御装置。 A device control apparatus that is connected to the information processing apparatus via the network and has a device connected locally,
A virtualization control unit that causes the information processing apparatus to recognize the device as if it was locally connected to the information processing apparatus, and controls the device according to a control request from the information processing apparatus;
A sequence verification unit that compares the data with a control sequence according to the device when transferring data from the information processing apparatus to the device by the virtualization control, and determines the transfer state;
When receiving a transition instruction to the power saving state during the virtualization control, a power saving permission unit that controls the transition to the power saving state from the result of the determination;
A device control apparatus comprising:
前記シーケンス照合部が前記転送の状態を使用状態と判断した場合には、前記仮想化制御によりファイル転送中であると判断し、省電力状態への移行を許可せず、
一方、前記シーケンス照合部が前記転送の状態をアイドル状態と判断した場合には、前記仮想化制御によるファイル転送が完了したと判断し、省電力状態への移行を許可する、
ことを特徴とする請求項1に記載のデバイス制御装置。 The power saving permission unit
If the sequence matching unit determines that the transfer state is a use state, it is determined that the file is being transferred by the virtualization control, and does not allow the transition to the power saving state
On the other hand, when the sequence verification unit determines that the transfer state is an idle state, it determines that the file transfer by the virtualization control is completed, and permits a transition to a power saving state.
The device control apparatus according to claim 1.
前記デバイス識別部が前記デバイスを前記所定の種類のデバイスと識別した場合、前記シーケンス照合部は処理を行わないことを特徴とする請求項1または請求項2に記載のデバイス制御装置。 A device identification unit for identifying whether the device that is controlled by virtualization is a device of a predetermined type;
The device control apparatus according to claim 1, wherein when the device identification unit identifies the device as the predetermined type device, the sequence matching unit does not perform processing.
前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、当該情報処理装置からの制御要求に従って前記デバイス制御装置と連携し前記デバイスを仮想化制御する仮想化制御部と、
前記情報処理装置から前記デバイスに対するデータ転送時に、当該データと前記デバイスに応じた制御シーケンスとを比較し、前記転送の状態を判断するシーケンス照合部と、
前記デバイス制御装置が前記仮想化制御の際に、省電力状態への移行を判断するために前記転送の状態を前記デバイス制御装置に通知する状態通知部と、
を備えることを特徴とする情報処理装置。 An information processing apparatus in which a device is connected to a locally connected device control apparatus via a network,
Virtualization that causes the information processing apparatus to recognize the device as if it was locally connected to the information processing apparatus, and performs virtualization control of the device in cooperation with the device control apparatus in accordance with a control request from the information processing apparatus A control unit;
A sequence verification unit that compares the data with a control sequence according to the device when transferring data from the information processing apparatus to the device, and determines a state of the transfer;
A state notification unit that notifies the device control apparatus of the transfer state in order to determine the transition to the power saving state when the device control apparatus performs the virtualization control;
An information processing apparatus comprising:
前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイスを仮想化制御する仮想化制御部と、
前記仮想化制御されている前記デバイスが、所定の種類のデバイスかを識別するデバイス識別部と、
前記仮想化制御中に省電力状態への移行指示を受信した場合、前記デバイス識別部により前記所定の種類のデバイスと識別されたデバイスの省電力状態への移行を許可しない省電力許可部と、
を備えることを特徴とするデバイス制御装置。 A device control apparatus that is connected to the information processing apparatus via the network and has a device connected locally,
A virtualization control unit that causes the information processing apparatus to recognize the device as if it was locally connected to the information processing apparatus, and controls the device according to a control request from the information processing apparatus;
A device identification unit for identifying whether the device under virtualization control is a predetermined type of device;
When receiving a transition instruction to the power saving state during the virtualization control, a power saving permission unit that does not allow the device identified by the device identification unit to shift to the power saving state;
A device control apparatus comprising:
前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイスを仮想化制御する仮想化制御ステップと、
前記情報処理装置から前記デバイスに対する前記仮想化制御によるデータ転送時に、当該データと前記デバイスに応じた制御シーケンスとを比較し、当該比較結果に基づき前記デバイス制御装置が管理する当該転送の状態を更新するシーケンス照合ステップと、
前記仮想化制御中に省電力状態への移行指示を受信した場合、前記比較の結果から当該省電力状態への移行を制御する省電力許可ステップと、
を備えることを特徴とするデバイス制御方法 A method for controlling a device control apparatus connected to an information processing apparatus via a network and having a device connected locally,
A virtualization control step of causing the information processing apparatus to recognize the device as if it was locally connected to the information processing apparatus, and virtualizing the device according to a control request from the information processing apparatus;
At the time of data transfer from the information processing apparatus to the device by the virtualization control, the data is compared with a control sequence corresponding to the device, and the transfer state managed by the device control apparatus is updated based on the comparison result Sequence matching step to
When a transition instruction to the power saving state is received during the virtualization control, a power saving permission step for controlling the transition to the power saving state from the comparison result;
A device control method comprising:
前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイス制御装置と連携し前記デバイスを仮想化制御する仮想化制御ステップと、
前記情報処理装置から前記デバイスに対するデータ転送時に、当該データと前記デバイスに応じた制御シーケンスとを比較し、前記転送の状態を判断するシーケンス照合ステップと、
前記デバイス制御装置が前記仮想化制御の際に、省電力状態への移行を判断するために前記転送の状態を前記デバイス制御装置に通知する状態通知ステップと、
を備えることを特徴とする情報処理方法。 A method for controlling an information processing apparatus in which a device is connected to a locally connected device control apparatus via a network,
Virtualization for causing the information processing apparatus to recognize the device as if it was locally connected to the information processing apparatus, and for controlling the virtualization of the device in cooperation with the device control apparatus in accordance with a control request from the information processing apparatus Control steps;
A sequence verification step of comparing the data and a control sequence corresponding to the device at the time of data transfer from the information processing apparatus to the device, and determining the transfer state;
A state notification step of notifying the device control apparatus of the transfer state in order for the device control apparatus to determine a transition to a power saving state during the virtualization control;
An information processing method comprising:
前記デバイスがあたかも前記情報処理装置にローカル接続されているかのように前記情報処理装置へ認識させ、前記情報処理装置からの制御要求に従って前記デバイスを仮想化制御する仮想化制御ステップと、
前記仮想化制御されている前記デバイスが、所定の種類のデバイスかを識別するデバイス識別ステップと、
前記仮想化制御中に省電力状態への移行指示を受信した場合、前記デバイス識別ステップで前記所定の種類のデバイスと識別されたデバイスの省電力状態への移行を許可しない省電力許可ステップと、
を備えることを特徴とするデバイス制御方法。 A method for controlling a device control apparatus connected to an information processing apparatus via a network and having a device connected locally,
A virtualization control step of causing the information processing apparatus to recognize the device as if it was locally connected to the information processing apparatus, and virtualizing the device according to a control request from the information processing apparatus;
A device identification step for identifying whether the device under virtualization control is a predetermined type of device;
When receiving a transition instruction to the power saving state during the virtualization control, a power saving permission step that does not allow the device identified as the predetermined type device in the device identification step to transition to the power saving state;
A device control method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017110163A JP2018206019A (en) | 2017-06-02 | 2017-06-02 | Device control apparatus, device control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017110163A JP2018206019A (en) | 2017-06-02 | 2017-06-02 | Device control apparatus, device control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018206019A true JP2018206019A (en) | 2018-12-27 |
Family
ID=64957941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017110163A Pending JP2018206019A (en) | 2017-06-02 | 2017-06-02 | Device control apparatus, device control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018206019A (en) |
-
2017
- 2017-06-02 JP JP2017110163A patent/JP2018206019A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4900760B2 (en) | OS image deployment machine and method | |
US10032013B2 (en) | Image forming apparatus communicating with external device through network, network system, method of controlling image forming apparatus, program, and storage medium | |
JP5377091B2 (en) | Information processing apparatus and control method thereof | |
US20070079006A1 (en) | Image processing apparatus and method of acquiring information | |
JP5464862B2 (en) | Image forming apparatus, control method thereof, and program | |
US20110107117A1 (en) | Method and apparatus for activating device | |
JP2005327233A (en) | Computer system | |
JP5802049B2 (en) | Device control apparatus and method, client apparatus, and device control system | |
JP2015106798A (en) | Communication device, communication system, control method and program of communication device | |
JP5745424B2 (en) | Device control apparatus, client apparatus, device control method, and device control system | |
JP2013168101A (en) | Print control device, printing system, control method of print control device, and program | |
US20180234570A1 (en) | Image Forming Apparatus, Image Forming Method, and Reading Medium That Ensure Efficient Use of Weekly Timer | |
US20100106928A1 (en) | Storage device, storage system, and unlock processing method | |
JP5581470B2 (en) | Device sharing system, device sharing server, device sharing client, and device sharing method | |
US10104255B2 (en) | Information processing apparatus, data sharing method, and data-sharing program | |
JP2008132774A (en) | Image forming apparatus and image forming system | |
US20080252925A1 (en) | Communication apparatus, network system, communication method and program | |
JP2018206019A (en) | Device control apparatus, device control method, and program | |
US20130061015A1 (en) | Access control apparatus and access control system | |
JP2016009225A (en) | Database management device, database management method, program, and recording medium | |
JP4900805B2 (en) | OS image deployment machine and method | |
JP6119520B2 (en) | Print system, image forming apparatus, management method, and control program | |
JP2016032119A (en) | Information processing device, management system, information processing device control method, management system control method, and program | |
JP5434190B2 (en) | Terminal device, terminal network system, remote power control method for terminal device, and remote power control program | |
JP3635573B2 (en) | Network equipment and network system |