Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4872553B2 - Information processing apparatus and method for automatically recovering connection failure of USB device - Google Patents
[go: Go Back, main page]

JP4872553B2 - Information processing apparatus and method for automatically recovering connection failure of USB device - Google Patents

Information processing apparatus and method for automatically recovering connection failure of USB device Download PDF

Info

Publication number
JP4872553B2
JP4872553B2 JP2006248825A JP2006248825A JP4872553B2 JP 4872553 B2 JP4872553 B2 JP 4872553B2 JP 2006248825 A JP2006248825 A JP 2006248825A JP 2006248825 A JP2006248825 A JP 2006248825A JP 4872553 B2 JP4872553 B2 JP 4872553B2
Authority
JP
Japan
Prior art keywords
usb device
driver
identification information
usb
report
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006248825A
Other languages
Japanese (ja)
Other versions
JP2008071098A (en
Inventor
純一 松井
諭史 秋本
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2006248825A priority Critical patent/JP4872553B2/en
Publication of JP2008071098A publication Critical patent/JP2008071098A/en
Application granted granted Critical
Publication of JP4872553B2 publication Critical patent/JP4872553B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、USBデータ伝送による周辺機器(=USB機器)との接続不良を復旧する情報処理装置(たとえば、コンピュータ)、および、その方法に関するものである。 The present invention relates to an information processing apparatus (for example, a computer) that recovers a connection failure with a peripheral device (= USB device) by USB data transmission, and a method thereof.

従来から、パソコンは、USBケーブル接続しているUSB機器(例えば、ICカードリーダライタなど)が何らかの原因(たとえば、静電気などのノイズ)によって、認識できなくなり、利用できない場合には、USB機器を再起動(=リセット)させて、利用を再開している。
Conventionally, a USB device connected to a USB cable (for example, an IC card reader / writer) cannot be recognized due to some cause (for example, noise such as static electricity) and cannot be used. It is activated (= reset) and resumes use.

たとえば、特許文献1では、ホスト(=情報処理装置)とUSBケーブルで接続させたUSB機器において、USB機器を認識できないホストが発行したリセット信号を受け付けて、USB機器が内蔵するリセット回路にUSB機器をリセットさせて、再認識させる技術が開示されている。(従来技術1)
また、特許文献2では、リセット用の専用ケーブルを用いて、ホストとUSB機器を接続させて、この専用ケーブルを介して、リセット信号を受け渡して、USB機器が内蔵するリセット回路にUSB機器をリセットさせて、USB機器を再起動させる技術が開示されている。(従来技術2)
特開2006−48496号公報(6〜10ページ、図1,3) 特開2003−131956号公報(4ページ、図1)
For example, in Patent Document 1, in a USB device connected to a host (= information processing apparatus) with a USB cable, a reset signal issued by a host that cannot recognize the USB device is received, and the USB device is included in a reset circuit built in the USB device. A technique for resetting and re-recognizing is disclosed. (Prior art 1)
Further, in Patent Document 2, a host and a USB device are connected using a dedicated cable for resetting, a reset signal is transferred via the dedicated cable, and the USB device is reset to a reset circuit built in the USB device. A technique for restarting a USB device is disclosed. (Prior art 2)
JP 2006-48496 A (pages 6 to 10, FIGS. 1 and 3) Japanese Patent Laid-Open No. 2003-131956 (page 4, FIG. 1)

ところで、従来技術1や従来技術2では、USB機器を再起動させるための再起動回路を内臓させる改造が必要なために、既存のUSB機器には対応できないという問題点があった。また、USB機器に、再起動回路を内臓させることで、費用が増大するという欠点があった。さらに、従来技術2では、専用ケーブルを用いるために、ホスト機器(たとえば、パソコン)に、改造が必要になるという不具合があった。
By the way, in the prior art 1 and the prior art 2, there is a problem that it is not possible to cope with an existing USB device because it is necessary to incorporate a restart circuit for restarting the USB device. In addition, there is a drawback that the cost increases by incorporating a restart circuit in the USB device. Furthermore, in the prior art 2, since a dedicated cable is used, the host device (for example, a personal computer) needs to be modified.

本発明はこのような従来技術を考慮してなされたものであって、本発明の課題は、USB機器を、簡単、容易に再起動できるシステム、および、その方法を提供することである。
The present invention has been made in view of such a conventional technique, and an object of the present invention is to provide a system and a method for restarting a USB device easily and easily.

本発明は、以下のような解決手段により、前記課題を解決する。すなわち、請求項1の発明は、デバイスマネージャと、USB機器特定情報とUSBデバイスドライバとを対応付けたドライバ・ライブラリと、USB機器特定情報を含む設定データと、USBデバイスドライバと、を記憶する記憶手段と、前記USBデバイスドライバを呼び出して、データ操作指示を、送信するデータ操作指示手段と、前記呼び出されたUSBデバイスドライバから、接続不良報告を受領する接続不良受領手段と、前記USBデバイスドライバが記憶されている記憶領域を、初期化する記憶領域初期化手段と、電源供給を停止する、または、電源を供給する電源制御手段と、設定データのUSB機器特定情報を用いて、前記ドライバ・ライブラリのUSB機器特定情報を参照して、両者が一致するUSBデバイスドライバを選択して、これを含むドライバ復旧指示を、前記デバイスマネージャに、送信するドライバ復旧指示手段と、前記デバイスマネージャから、前記初期化された記憶領域に、前記ドライバ復旧指示のUSBデバイスドライバを読み込んだ報告を受領するドライバ読込報告受領手段と、を備えることを特徴とするUSB機器の接続を自動復旧する情報処理装置である。 The present invention solves the above problems by the following means. That is, the invention of claim 1 stores a device manager, a driver library in which USB device specifying information and a USB device driver are associated, setting data including USB device specifying information, and a USB device driver. Means, a data operation instruction means for calling the USB device driver and transmitting a data operation instruction, a connection failure receiving means for receiving a connection failure report from the called USB device driver, and the USB device driver Using the storage area initialization means for initializing the stored storage area, the power supply control means for stopping or supplying the power supply, and the USB device specifying information of the setting data, the driver library USB device driver that matches the USB device identification information Select and send a driver recovery instruction including the driver recovery instruction means to the device manager, and read the USB device driver of the driver recovery instruction from the device manager to the initialized storage area An information processing apparatus for automatically recovering connection of a USB device, comprising: a driver reading report receiving unit that receives a report.

ここで、デバイスマネージャとは、情報処理装置に、内蔵される、または、外付される周辺機器のドライバを設定して、周辺機器の接続状態を一元的に管理するプログラム・コードである。USBデバイスドライバとは、USB方式でデータ伝送する周辺機器を利用するために用いるドライバのプログラム・コードである。 Here, the device manager is a program code that centrally manages a connection state of peripheral devices by setting a driver of a peripheral device built in or externally attached to the information processing apparatus. The USB device driver is a driver program code used to use a peripheral device that transmits data in the USB system.

このように、情報処理装置に接続された接続機器が、接続不良にて、動作ができない場合には、デバイスマネージャを用いて、ドライバ・ライブラリから、接続機器のドライバを、再インストールすることで、正常な接続状態に復旧することができる。 In this way, when the connected device connected to the information processing apparatus cannot operate due to poor connection, by using the device manager to reinstall the driver of the connected device from the driver library, The normal connection state can be restored.

請求項2の発明は、デバイスマネージャと、USB機器特定情報とUSBデバイスドライバとを対応付けたドライバ・ライブラリと、USB機器特定情報を含む設定データと、所定のUSBデバイスドライバと、を用いる情報処理方法であって、前記所定のUSBデバイスドライバを呼び出して、利用者識別情報送信要求を、送信する利用者識別情報送信要求ステップと、前記USBデバイスドライバから、接続不良報告を受領する接続不良受領ステップと、前記所定のUSBデバイスドライバが記憶されている記憶領域を、初期化する記憶領域初期化ステップと、電源の供給を停止する電源停止ステップと、設定データのUSB機器特定情報を用いて、前記ドライバ・ライブラリを参照して、USBデバイスドライバを選択して、これを含むドライバ復旧指示を、前記デバイスマネージャに、送信するドライバ復旧指示ステップと、前記デバイスマネージャから、前記初期化された記憶領域に、前記ドライバ復旧指示のUSBデバイスドライバを読み込んだ報告を受領するドライバ読込報告受領ステップと、電源を、供給する電源供給ステップと、を含んだ手順でなされることを特徴とするUSB機器接続復旧方法である。 The invention according to claim 2 is an information processing using a device manager, a driver library in which USB device specifying information and a USB device driver are associated, setting data including USB device specifying information, and a predetermined USB device driver. A method for calling a predetermined USB device driver to transmit a user identification information transmission request, a user identification information transmission request step, and a connection failure reception step for receiving a connection failure report from the USB device driver. A storage area initialization step for initializing a storage area in which the predetermined USB device driver is stored, a power supply stop step for stopping the supply of power, and USB device specifying information of setting data, Browse the driver library and select the USB device driver and include it. A driver recovery instruction step of transmitting a driver recovery instruction to the device manager, and a driver reading report for receiving a report of reading the USB device driver of the driver recovery instruction from the device manager to the initialized storage area The USB device connection recovery method is characterized in that the procedure includes a receiving step and a power supply step for supplying power.

請求項3の発明は、コンピュータに組込むことによって、コンピュータを請求項1に記載のUSB機器接続復旧システムとして動作させるコンピュータプログラムである。 According to a third aspect of the present invention, there is provided a computer program that causes the computer to operate as the USB device connection recovery system according to the first aspect by being incorporated in the computer.

請求項4の発明は、請求項3に記載のコンピュータプログラムを記録したコンピュータ読取り可能な記録媒体である。
A fourth aspect of the present invention is a computer-readable recording medium on which the computer program according to the third aspect is recorded.

本願発明によれば、既存の情報処理装置を用いて、既存のUSB機器を、自動的に、再起動させることが可能である。
According to the present invention, it is possible to automatically restart an existing USB device using an existing information processing apparatus.

(実施例)
以下、図面等を参照しながら、本発明の実施の形態について、更に詳しく説明する。
(Example)
Hereinafter, embodiments of the present invention will be described in more detail with reference to the drawings.

図1は、USB機器接続復旧システム1の概要を説明する図である。
USB機器接続復旧システム1は、情報処理装置100と、USB機器700(たとえば、ICタグリーダ装置)とがUSB接続されて、構成される。
FIG. 1 is a diagram for explaining the outline of the USB device connection recovery system 1.
The USB device connection recovery system 1 is configured by connecting an information processing device 100 and a USB device 700 (for example, an IC tag reader device) via USB.

情報処理装置100は、デバイスマネージャ194と、ドライバ・ライブラリ192と、設定データ193と、USBデバイスドライバ196と、を記憶する。 The information processing apparatus 100 stores a device manager 194, a driver library 192, setting data 193, and a USB device driver 196.

ここで、USBデバイスドライバ196とは、USB方式のデータ伝送で周辺機器を、アプリケーションプログラムで利用するときに用いるプログラム・コードである。一般的に、デバイスドライバとは、情報処理装置100の周辺機器を利用するためのプログラム・コードである。 Here, the USB device driver 196 is a program code used when a peripheral device is used in an application program by USB data transmission. In general, a device driver is a program code for using a peripheral device of the information processing apparatus 100.

また、デバイスマネージャ194とは、情報処理装置100の周辺機器のドライバを設定して、周辺機器の接続状態を一元的に管理するプログラム・コードである。 The device manager 194 is a program code that sets a peripheral device driver of the information processing apparatus 100 and centrally manages the connection state of the peripheral device.

設定データ193は、USB機器特定情報(たとえば、製品ID=PIDや、供給者ID=VID)を含むデータである。ドライバ・ライブラリ192は、USB機器特定情報とUSBデバイスドライバ196とを対応付けたライブラリである。 The setting data 193 is data including USB device identification information (for example, product ID = PID or supplier ID = VID). The driver library 192 is a library in which the USB device identification information and the USB device driver 196 are associated with each other.

なお、ICタグリーダ装置700は、ICタグカード300が記憶する利用者識別情報391を、読み取る。 Note that the IC tag reader device 700 reads the user identification information 391 stored in the IC tag card 300.

また、情報処理装置100は、設定データ593を記憶させた管理サーバ装置500と、ネットワーク接続させて、管理サーバ装置500から、設定データ593を受信してもよい。 Further, the information processing apparatus 100 may receive the setting data 593 from the management server apparatus 500 by connecting to the management server apparatus 500 that stores the setting data 593 via a network.

図2は、USB機器接続復旧システム1の大まかな処理の流れを説明する。 FIG. 2 illustrates a rough processing flow of the USB device connection recovery system 1.

情報処理装置100は、USB機器700(たとえば、ICタグリーダ装置)のUSBデバイスドライバ196を呼び出して、データ操作指示(たとえば、利用者識別情報送信指示)を、送信する(図2(1))。USBデバイスドライバ196は、USB機器700のOPENを指示する(同(2))。 The information processing apparatus 100 calls the USB device driver 196 of the USB device 700 (for example, IC tag reader apparatus), and transmits a data operation instruction (for example, user identification information transmission instruction) (FIG. 2 (1)). The USB device driver 196 instructs OPEN of the USB device 700 ((2)).

ここで、USB機器700が動作不良状態であれば、USB機器700は、USB機器700が動作不良状態であれば、OPEN指示を受け付けることができないので、OPENができず、従って、OPEN報告を返信しない(同(3))。 Here, if the USB device 700 is in a malfunctioning state, the USB device 700 cannot accept an OPEN instruction if the USB device 700 is in a malfunctioning state, and therefore cannot perform an OPEN, and therefore returns an OPEN report. (No (3)).

USBデバイスドライバ196は、所定の期限内(たとえば、1秒以内)に、OPEN報告を受信しない場合は、接続不良報告を送信する(同(4))。 If the OPEN report is not received within a predetermined time limit (for example, within 1 second), the USB device driver 196 transmits a connection failure report ((4)).

情報処理装置100は、前記USBデバイスドライバ196から、接続不良報告を受領する(同(5))。
情報処理装置100は、USB機器700への電源供給を、停止する(同(6))。USB機器700は、電源停止を受け付けて、USB機器700を停止する(同(7))。
The information processing apparatus 100 receives a connection failure report from the USB device driver 196 ((5)).
The information processing apparatus 100 stops the power supply to the USB device 700 ((6)). The USB device 700 accepts the power stop and stops the USB device 700 ((7)).

情報処理装置100は、設定データ193のUSB機器特定情報を用いて、前記ドライバ・ライブラリ192を参照して、USBデバイスドライバ196を選択して、これを含むドライバ復旧指示を、前記デバイスマネージャ194に、送信する(同(8))。デバイスマネージャ194は、復旧指示を受け付けて、これに含まれるUSBデバイスドライバ196を、所定の記憶領域に、配置する(同(9))。 The information processing apparatus 100 refers to the driver library 192 using the USB device identification information of the setting data 193, selects the USB device driver 196, and sends a driver restoration instruction including this to the device manager 194. (Same as (8)). The device manager 194 receives the recovery instruction, and arranges the USB device driver 196 included therein in a predetermined storage area ((9)).

デバイスマネージャ194は、復旧報告を送信する(同(10))。
情報処理装置100は、復旧報告を受け付けて、USB機器700への電源を供給する(同(11))。
USB機器700は、電源供給を受け付けて、USB機器を再起動する(同(12))。
The device manager 194 transmits a recovery report (same as (10)).
The information processing apparatus 100 receives the recovery report and supplies power to the USB device 700 ((11)).
The USB device 700 receives power supply and restarts the USB device ((12)).

情報処理装置100は、デバイスマネージャ194から、復旧報告を受け付けて、(1)に戻る(同(13))。 The information processing apparatus 100 receives the recovery report from the device manager 194 and returns to (1) ((13)).

なお、USB機器700が正常な動作状態であれば、USB機器700は、OPEN指示を受け付けて、USB機器700をOPENして、USBデバイスドライバ196に、OPEN報告をする。(詳細は、後述する) If the USB device 700 is in a normal operation state, the USB device 700 accepts an OPEN instruction, OPENs the USB device 700, and sends an OPEN report to the USB device driver 196. (Details will be described later)

このように、接続不良のUSB機器700を、簡単、容易に再起動して、利用することが可能である。 As described above, the poorly connected USB device 700 can be easily restarted and used.

既存のUSB機器700に適用できるという利点がある。 There is an advantage that it can be applied to the existing USB device 700.

図3は、USB機器接続復旧システム1の詳細な構成図である。
USB機器接続復旧システム1は、情報処理装置100とUSB機器700とから構成される。
FIG. 3 is a detailed configuration diagram of the USB device connection recovery system 1.
The USB device connection recovery system 1 includes an information processing apparatus 100 and a USB device 700.

情報処理装置100は、データ操作指示手段110と、接続不良受領手段120と、記憶領域初期化手段130と、ドライバ復旧指示手段140と、電源制御手段160と、ドライバ読込報告受領手段150と、記憶手段190と、を備える。記憶手段190は、デバイスマネージャ194と、ドライバ・ライブラリ192と、設定データ193と、USBデバイスドライバ196と、を記憶する。 The information processing apparatus 100 includes a data operation instruction unit 110, a connection failure reception unit 120, a storage area initialization unit 130, a driver recovery instruction unit 140, a power supply control unit 160, a driver read report reception unit 150, a storage Means 190. The storage unit 190 stores a device manager 194, a driver library 192, setting data 193, and a USB device driver 196.

設定データ193は、USB機器特定情報(たとえば、製品ID=PIDや、供給者ID=VID)を含むである。
ドライバ・ライブラリ192は、USB機器特定情報とUSBデバイスドライバ196とを対応付けたデータである。
The setting data 193 includes USB device identification information (for example, product ID = PID or supplier ID = VID).
The driver library 192 is data in which the USB device identification information and the USB device driver 196 are associated with each other.

データ操作指示手段110は、USB機器700(たとえば、ICタグリーダ装置)のUSBデバイスドライバ196を呼び出して、データ操作指示(たとえば、利用者識別情報送信指示)を、送信する。
接続不良受領手段120は、前記呼び出されたUSBデバイスドライバ196から、接続不良報告を受領する。
The data operation instruction unit 110 calls the USB device driver 196 of the USB device 700 (for example, an IC tag reader device) and transmits a data operation instruction (for example, a user identification information transmission instruction).
The connection failure receiving unit 120 receives a connection failure report from the called USB device driver 196.

記憶領域初期化手段130は、前記USBデバイスドライバ196が記憶されている記憶領域を、初期化する。電源制御手段160は、電源供給を停止する、または、電源を供給する。 The storage area initialization unit 130 initializes the storage area in which the USB device driver 196 is stored. The power control unit 160 stops power supply or supplies power.

ドライバ復旧指示手段140は、設定データ193のUSB機器特定情報をキーにして、前記ドライバ・ライブラリ192のUSB機器特定情報を参照して、前記キーと一致するUSB機器特定情報に対応するUSBデバイスドライバ196を選択して、これを含むドライバ復旧指示を、前記デバイスマネージャ194に、送信する。 The driver recovery instructing unit 140 refers to the USB device specifying information in the driver library 192 using the USB device specifying information in the setting data 193 as a key, and the USB device driver corresponding to the USB device specifying information that matches the key. 196 is selected, and a driver restoration instruction including this is transmitted to the device manager 194.

ドライバ読込報告受領手段150は、前記デバイスマネージャ194から、前記初期化された記憶領域に、前記ドライバ復旧指示のUSBデバイスドライバ196を読み込んだ報告を受領する。 The driver read report receiving means 150 receives a report from the device manager 194 that has read the USB device driver 196 for the driver recovery instruction into the initialized storage area.

データ操作指示手段110と、接続不良受領手段120と、記憶領域初期化手段130と、ドライバ復旧指示手段140と、ドライバ読込報告受領手段150と、電源制御手段160と、は、コンピュータプログラムである。 The data operation instruction means 110, the connection failure reception means 120, the storage area initialization means 130, the driver recovery instruction means 140, the driver read report reception means 150, and the power supply control means 160 are computer programs.

デバイスマネージャ194と、ドライバ・ライブラリ192と、設定データ193と、USBデバイスドライバ196と、は、コンピュータプログラムが可読なデータである。記憶手段190は、メモリである。 The device manager 194, the driver library 192, the setting data 193, and the USB device driver 196 are data readable by a computer program. The storage unit 190 is a memory.

図4は、接続不良の検出手順の説明図である。 FIG. 4 is an explanatory diagram of a connection failure detection procedure.

データ操作指示手段110は、ICタグリーダ接続デバイスドライバ196を呼び出す(図4(1))。 The data operation instruction unit 110 calls the IC tag reader connection device driver 196 ((1) in FIG. 4).

ICタグリーダ接続デバイスドライバ196は、USB機器700(ICタグリーダ装置)のOPENを指示する(同(2))。USB機器700をOPENできない場合には、USBデバイスデバイスドライバ196は、接続不良報告を返信する(同(3))。 The IC tag reader connection device driver 196 instructs OPEN of the USB device 700 (IC tag reader device) ((2)). If the USB device 700 cannot be opened, the USB device device driver 196 returns a connection failure report (same (3)).

データ操作指示手段110は、USBデバイスデバイスドライバ196から、接続不良報告を、受信する(同(4))。 The data operation instruction unit 110 receives a connection failure report from the USB device device driver 196 ((4)).

図5は、USBデバイスドライバ196の復旧手順の説明図である。 FIG. 5 is an explanatory diagram of the recovery procedure of the USB device driver 196.

ドライバ復旧指示手段140は、設定データ193のUSB機器特定情報(=ICタグリーダ装置700のPIDとVID)を用いて、前記ドライバ・ライブラリ192を参照して、USBデバイスドライバ196を選択する(図5(1))。ドライバ復旧指示手段140は、USBデバイスドライバ196を含むドライバ復旧指示を、デバイスマネージャ194に、送信する(同(2))。 The driver restoration instructing unit 140 selects the USB device driver 196 by referring to the driver library 192 using the USB device identification information (= PID and VID of the IC tag reader device 700) of the setting data 193 (FIG. 5). (1)). The driver recovery instruction unit 140 transmits a driver recovery instruction including the USB device driver 196 to the device manager 194 ((2)).

デバイスマネージャ194は、所定の記憶領域に、記憶される(同(3))。 The device manager 194 is stored in a predetermined storage area ((3)).

次に、USB機器700が正常に動作する場合の大まかな処理を説明する。 Next, a rough process when the USB device 700 operates normally will be described.

図6は、USB機器接続復旧システム1の正常状態の大まかな処理の流れである。 FIG. 6 shows a rough process flow of the normal state of the USB device connection recovery system 1.

(1)と(2)とは、図2の(1)と(2)と同じである。 (1) and (2) are the same as (1) and (2) in FIG.

USB機器700が正常な動作状態であれば、USB機器700は、OPEN指示を受け付けて、USB機器700をOPENして、USBデバイスドライバ196に、OPEN報告をする(同(3))。 If the USB device 700 is in a normal operation state, the USB device 700 accepts the OPEN instruction, OPENs the USB device 700, and sends an OPEN report to the USB device driver 196 ((3)).

USBデバイスドライバ196は、OPEN報告を受信して、データ操作指示(たとえば、利用者識別情報送信指示)を、USB機器700に、送信する(同(4))。 The USB device driver 196 receives the OPEN report and transmits a data operation instruction (for example, a user identification information transmission instruction) to the USB device 700 ((4)).

USB機器700は、USBデバイスドライバ196から、データ操作指示(たとえば、利用者識別情報送信指示)を受け付けて、指示されたデータ操作の結果(たとえば、利用者識別情報391)を返信する(同(5))。 The USB device 700 receives a data operation instruction (for example, a user identification information transmission instruction) from the USB device driver 196, and returns a result of the instructed data operation (for example, the user identification information 391) (same ( 5)).

USBデバイスドライバ196は、指示されたデータ操作の結果を受信する(同(6))。USBデバイスドライバ196は、USB機器700のCLOSE指示を、USB機器700に、送信する(同(7))。USB機器700は、USBデバイスドライバ196から、CLOSE指示を受け付けて、USB機器700をCLOSEする(同(8))。
The USB device driver 196 receives the result of the instructed data operation ((6)). The USB device driver 196 transmits the CLOSE instruction of the USB device 700 to the USB device 700 ((7)). The USB device 700 receives a CLOSE instruction from the USB device driver 196 and closes the USB device 700 ((8)).

以上詳しく説明したように、本願発明によれば、既存の情報処理装置を用いて、既存のUSB機器を、自動的に、再起動させることが可能となった。
As described above in detail, according to the present invention, an existing USB device can be automatically restarted using an existing information processing apparatus.

USB機器接続復旧システムの概要図Overview of USB device connection recovery system USB機器接続復旧システムの大まかな処理の流れRough process flow of USB device connection recovery system USB機器接続復旧システムの詳細な構成図Detailed configuration diagram of USB device connection recovery system 接続不良の検出手順Connection failure detection procedure USBデバイスドライバの復旧手順USB device driver recovery procedure (参考)USB機器接続復旧システムの正常状態の大まかな処理の流れ(Reference) General processing flow of normal state of USB device connection recovery system

符号の説明Explanation of symbols

1 USB機器接続復旧システム
100 情報処理装置
110 データ操作指示手段
120 接続不良受領手段
130 記憶領域初期化手段
140 ドライバ復旧指示手段
150 ドライバ読込報告受領手段
160 電源制御手段
190 記憶手段
192 ドライバ・ライブラリ
193 設定データ
194 デバイスマネージャ
196 USBデバイスドライバ
300 ICタグカード
391 利用者識別情報
500 管理サーバ装置
593 設定データ

DESCRIPTION OF SYMBOLS 1 USB apparatus connection recovery system 100 Information processing apparatus 110 Data operation instruction means 120 Connection failure reception means 130 Storage area initialization means 140 Driver recovery instruction means 150 Driver read report reception means 160 Power supply control means 190 Storage means 192 Driver library 193 Setting Data 194 Device manager 196 USB device driver 300 IC tag card 391 User identification information 500 Management server device 593 Setting data

Claims (4)

デバイスマネージャと、USB機器特定情報とUSBデバイスドライバとを対応付けたドライバ・ライブラリと、USB機器特定情報を含む設定データと、USBデバイスドライバと、を記憶する記憶手段と、
前記USBデバイスドライバを呼び出して、データ操作指示を、発行するデータ操作指示手段と、
前記呼び出されたUSBデバイスドライバから、接続不良報告を受領する接続不良受領手段と、
前記USBデバイスドライバが記憶されている記憶領域を、初期化する記憶領域初期化手段と、
電源供給を停止する、または、電源を供給する電源制御手段と、
設定データのUSB機器特定情報を用いて、前記ドライバ・ライブラリのUSB機器特定情報を参照して、両者が一致するUSBデバイスドライバを選択して、これを含むドライバ復旧指示を、前記デバイスマネージャに、発行するドライバ復旧指示手段と、
前記デバイスマネージャから、前記初期化された記憶領域に、前記ドライバ復旧指示のUSBデバイスドライバを読み込んだ報告を受領するドライバ読込報告受領手段と、
を備えることを特徴とするUSB機器の接続を自動復旧する情報処理装置。
Storage means for storing a device manager, a driver library that associates USB device identification information with a USB device driver, setting data that includes USB device identification information, and a USB device driver;
Data operation instruction means for calling the USB device driver and issuing a data operation instruction;
Connection failure receiving means for receiving a connection failure report from the called USB device driver;
Storage area initialization means for initializing a storage area in which the USB device driver is stored;
Power control means for stopping power supply or supplying power; and
Using the USB device specifying information of the setting data, referring to the USB device specifying information of the driver library, selecting a USB device driver that matches both, and sending a driver recovery instruction including this to the device manager, A driver recovery instruction means to be issued;
Driver read report receiving means for receiving a report of reading the USB device driver of the driver recovery instruction from the device manager to the initialized storage area;
An information processing apparatus for automatically restoring connection of a USB device, comprising:
デバイスマネージャと、USB機器特定情報とUSBデバイスドライバとを対応付けたドライバ・ライブラリと、USB機器特定情報を含む設定データと、所定のUSBデバイスドライバと、を用いる情報処理方法であって、
前記所定のUSBデバイスドライバを呼び出して、利用者識別情報送信要求を、発行する利用者識別情報送信要求ステップと、
前記USBデバイスドライバから、接続不良報告を受領する接続不良受領ステップと、
前記所定のUSBデバイスドライバが記憶されている記憶領域を、初期化する記憶領域初期化ステップと、
電源の供給を停止する電源停止ステップと、
設定データのUSB機器特定情報を用いて、前記ドライバ・ライブラリを参照して、USBデバイスドライバを選択して、これを含むドライバ復旧指示を、前記デバイスマネージャに、発行するドライバ復旧指示ステップと、
前記デバイスマネージャから、前記初期化された記憶領域に、前記ドライバ復旧指示のUSBデバイスドライバを読み込んだ報告を受領するドライバ読込報告受領ステップと、
電源を、供給する電源供給ステップと、
を含んだ手順でなされることを特徴とするUSB機器接続復旧方法。
An information processing method using a device manager, a driver library that associates USB device identification information with a USB device driver, setting data including USB device identification information, and a predetermined USB device driver,
Calling the predetermined USB device driver and issuing a user identification information transmission request to issue a user identification information transmission request; and
A connection failure receiving step of receiving a connection failure report from the USB device driver;
A storage area initialization step for initializing a storage area in which the predetermined USB device driver is stored;
A power stop step for stopping the supply of power;
Using the USB device identification information of the setting data, refer to the driver library, select a USB device driver, and issue a driver recovery instruction including the driver recovery instruction to the device manager;
A driver read report receiving step of receiving a report of reading the USB device driver of the driver recovery instruction from the device manager to the initialized storage area;
A power supply step for supplying power;
A USB device connection recovery method, characterized in that the method is performed by a procedure including:
コンピュータに組込むことによって、コンピュータを請求項1に記載のUSB機器接続復旧システムとして動作させるコンピュータプログラム。 A computer program that causes a computer to operate as the USB device connection recovery system according to claim 1 by being incorporated in the computer. 請求項3に記載のコンピュータプログラムを記録したコンピュータ読取り可能な記録媒体。

The computer-readable recording medium which recorded the computer program of Claim 3.

JP2006248825A 2006-09-14 2006-09-14 Information processing apparatus and method for automatically recovering connection failure of USB device Expired - Fee Related JP4872553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006248825A JP4872553B2 (en) 2006-09-14 2006-09-14 Information processing apparatus and method for automatically recovering connection failure of USB device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006248825A JP4872553B2 (en) 2006-09-14 2006-09-14 Information processing apparatus and method for automatically recovering connection failure of USB device

Publications (2)

Publication Number Publication Date
JP2008071098A JP2008071098A (en) 2008-03-27
JP4872553B2 true JP4872553B2 (en) 2012-02-08

Family

ID=39292632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006248825A Expired - Fee Related JP4872553B2 (en) 2006-09-14 2006-09-14 Information processing apparatus and method for automatically recovering connection failure of USB device

Country Status (1)

Country Link
JP (1) JP4872553B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3795712B2 (en) * 1999-09-02 2006-07-12 アルプス電気株式会社 Peripheral device connection device
JP3664050B2 (en) * 2000-06-28 2005-06-22 日本電気株式会社 Connection recovery device

Also Published As

Publication number Publication date
JP2008071098A (en) 2008-03-27

Similar Documents

Publication Publication Date Title
CN101593083B (en) device, computer and method for protecting and restoring computer configuration information
US8310698B2 (en) Image forming apparatus and activating method thereof
US20100031250A1 (en) Information processing apparatus and control method for information processing apparatus
US7620761B2 (en) Multi-functional storage apparatus and control method thereof
US8792111B2 (en) Image processing apparatus, information processing method, and storage medium
JP2007193804A (en) System, method and computer program for backing up data of data storage device in computing device
JP5342061B2 (en) Image forming apparatus and image forming apparatus control method
US20030126317A1 (en) Peripheral monitoring device and computer system having the same
JP2010128090A (en) Image forming apparatus and control method for image forming apparatus
KR20170020324A (en) Method for completing a secure erase operation
US20170019556A1 (en) Information processing apparatus, method of initializing a non-volatile storage device, and storage medium
JP4450692B2 (en) USB connection system, USB device, and host
JP4872553B2 (en) Information processing apparatus and method for automatically recovering connection failure of USB device
CN102004653A (en) Image forming apparatus and installation method
JP2015102989A (en) Peripheral device control fault avoidance method, peripheral device control fault avoidance program, processing apparatus, and processing system
KR101542329B1 (en) Automatic Data Backup System and Operating Method thereof
CN112799876A (en) System one-key restoration method and device suitable for computer operating system
JP5775367B2 (en) Information processing apparatus and control method thereof, mirroring system and RAID control apparatus
JP5003565B2 (en) Security management system, security management method, and security management program
JP2007156921A (en) Failure detection/recovery system of usb device, program thereof, recording medium with the program recorded thereon, and failure detection/recovery method
CN102340652B (en) Network video control device and method
JP6191334B2 (en) Printing apparatus, printing apparatus control method, and program
JP4959421B2 (en) IC card issuing method and system, issuing data generation server, issuing terminal and program
JP2008219445A (en) Customized memory management system and method for maintenance
JP2008117415A (en) Information reception device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111025

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111107

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141202

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4872553

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees