JP2006259886A - Control device, method and program of device having plug-and-play function - Google Patents

Control device, method and program of device having plug-and-play function Download PDF

Info

Publication number
JP2006259886A
JP2006259886A JP2005073521A JP2005073521A JP2006259886A JP 2006259886 A JP2006259886 A JP 2006259886A JP 2005073521 A JP2005073521 A JP 2005073521A JP 2005073521 A JP2005073521 A JP 2005073521A JP 2006259886 A JP2006259886 A JP 2006259886A
Authority
JP
Japan
Prior art keywords
plug
application
memory
play function
application corresponding
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
JP2005073521A
Other languages
Japanese (ja)
Inventor
Nojiyo Yamashita
乃丞 山下
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005073521A priority Critical patent/JP2006259886A/en
Publication of JP2006259886A publication Critical patent/JP2006259886A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To effectively manage the connection of devices, by limiting the start of an application corresponding to the connected device according to the device. <P>SOLUTION: This device implements control, when the device having a plug-and-play function is connected with a host device, having plug-and-play function. The host device 1 comprises an application start means 4 for starting the application 3, in response to the connected device 2, a piece of set data 5 in which the number of startable applications is set, and a control means 4 for keeping the start of the application corresponding to the device 2, at a standby state, when the devices 2 exceeds the number set in the set data are connected. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、デバイス機器をホスト機器に接続して機能させる際の機器の制御装置、制御方法及び制御プログラムに関する。   The present invention relates to a device control apparatus, a control method, and a control program when a device device is connected to a host device to function.

デバイス機器が接続可能なホスト機器としては、大きく以下の2パターンに分類される。
(1)パソコン(PC)のようにメモリ、CPU的に余裕があり複数のアプリケーションを問題なく起動できるパターン
(2)組み込み系のようにメモリ、CPUが複数のアプリケーションを共存して接続数の制限なしでは動作が保証することが難しいパターン
Host devices to which device devices can be connected are roughly classified into the following two patterns.
(1) A pattern in which a memory and CPU have a margin like a personal computer (PC) and multiple applications can be started without any problems. It is difficult to guarantee the operation without it

上記パターン(1)のような場合には、制限を行う必要性は大きくないが、パターン(2)のような場合では、一つのアプリケーションで使用するメモリ、CPU占有率が大きく影響するため、ホスト機器に対して何らかの制限を設けておく必要がある。   In the case of the above pattern (1), the necessity of performing the restriction is not large. However, in the case of the pattern (2), the memory and CPU occupancy used in one application greatly affect the host. Some restrictions need to be placed on the equipment.

パターン(2)の場合において、単一のデバイス機器の接続のみを許容し、後のデバイス機器を有効にするためには、最初のデバイス機器の接続を外し、その後、有効にしたいデバイス機器の接続を行っている。例えば、USBによって接続されるデバイス機器では、キーボード、マウスのような入力支援装置やフラッシュディスク、ハードディスクのようなストレージデバイス、スピーカのようなオーディオデバイス等さまざまなデバイス機器の種類があるため、同種類、異種類のデバイス機器が同時に接続されることがある。そして、これらのデバイス機器に応じた多種多様なアプリケーションが起動されることとなる。また、起動されるアプリケーションの種類によっては、マウスのように起動後から切断されるまで継続してアプリケーションが起動し続けるものもあれば、DPOF自動印刷のように接続して一定の処理が終わった時点で自動的にアプリケーションの終了を行うようなものもある。
特開2002−94910号公報
In the case of the pattern (2), in order to allow only the connection of a single device device and enable the subsequent device device, disconnect the first device device, and then connect the device device to be enabled. It is carried out. For example, device devices connected by USB have the same types of device devices, such as input support devices such as keyboards and mice, storage devices such as flash disks and hard disks, and audio devices such as speakers. Different types of device devices may be connected at the same time. Various applications corresponding to these device devices are activated. Also, depending on the type of application to be activated, there are some applications that continue to be activated until they are disconnected after being activated, such as a mouse. Some applications automatically terminate the application at that point.
JP 2002-94910 A

以上のデバイス機器の接続を行う最近の市場動向としては、ワイヤレスUSBの開発が進められており、更なる利便性の向上が見込まれるため、組み込み系のホスト機器にとっては接続管理が重点的に問われるものとなる。   As a recent market trend to connect the above device devices, wireless USB is being developed and further convenience is expected to improve. Therefore, connection management is a major issue for embedded host devices. It will be.

本発明は、このような事情を考慮してなされたものであり、接続されるデバイス機器に対応したアプリケーションの起動をデバイス機器に応じて制限することによりデバイス機器の接続管理を有効に行うことが可能なプラグアンドプレイ機能を有した制御装置及び制御方法並びに制御プログラムを提供することを目的とする。   The present invention has been made in consideration of such circumstances, and it is possible to effectively perform connection management of device devices by restricting activation of applications corresponding to the device devices to be connected in accordance with the device devices. It is an object to provide a control device, a control method, and a control program having a possible plug and play function.

請求項1記載の発明のプラグアンドプレイ機能を有した機器の制御装置は、プラグアンドプレイ機能を有したホスト機器にプラグアンドプレイ機能を有したデバイス機器が接続されたときの制御を行う装置であって、前記ホスト機器は、接続された前記デバイス機器に応じたアプリケーションを起動するアプリケーション起動手段と、起動可能なアプリケーションの数が設定された設定データと、該設定データに設定された数を超えた前記デバイス機器が接続されたとき、該デバイス機器に対応したアプリケーションの起動を待機状態とする制御手段とを有することを特徴とする。   The apparatus for controlling a device having a plug and play function according to the first aspect of the present invention is a device for performing control when a device device having a plug and play function is connected to a host device having a plug and play function. The host device includes an application activation unit that activates an application corresponding to the connected device device, setting data in which the number of applications that can be activated is set, and a number that exceeds the number set in the setting data And a control means for placing an application corresponding to the device device in a standby state when the device device is connected.

請求項2記載の発明は、請求項1記載の制御装置であって、各アプリケーションの起動の際に必要となるメモリに関するメモリデータをさらに有し、前記制御手段は接続された前記デバイス機器に対応したアプリケーションのメモリが前記ホスト機器全体で使用可能なメモリ容量を超えたとき、該デバイス機器に対応したアプリケーションの起動を待機状態とする制御を行うことを特徴とする。   The invention according to claim 2 is the control device according to claim 1, further comprising memory data relating to a memory required for starting each application, wherein the control means corresponds to the connected device device. When the memory of the application that has been used exceeds the memory capacity that can be used by the entire host device, control is performed to activate the application corresponding to the device device in a standby state.

請求項3記載の発明は、請求項1記載の制御装置であって、前記制御手段は、前記設定データを満たす状態となったとき、待機状態の前記デバイス機器に対応したアプリケーションを起動することを特徴とする。   A third aspect of the present invention is the control apparatus according to the first aspect, wherein the control unit starts an application corresponding to the device device in a standby state when the setting data is satisfied. Features.

請求項4記載の発明は、請求項2記載の制御装置であって、前記制御手段は、待機状態の前記デバイス機器に対応したアプリケーションのメモリが前記ホスト機器自体のメモリ容量以下を満たす状態となったとき、該デバイス機器に対応したアプリケーションを起動することを特徴とする。   According to a fourth aspect of the present invention, there is provided the control device according to the second aspect, wherein the control unit is in a state where a memory of an application corresponding to the device device in a standby state satisfies a memory capacity of the host device itself or less. In this case, an application corresponding to the device device is activated.

請求項5記載の発明のプラグアンドプレイ機能を有した機器の制御方法は、プラグアンドプレイ機能を有したホスト機器にプラグアンドプレイ機能を有したデバイス機器が接続されたときの制御を行う方法であって、前記ホスト機器に接続される前記デバイス機器の数を監視するステップと、前記ホスト機器に接続される前記デバイス機器の数が設定データを超えたとき、該デバイス機器に対応したアプリケーションの起動を待機状態とするステップとを実行することを特徴とする。   According to a fifth aspect of the present invention, there is provided a method for controlling a device having a plug-and-play function when a device device having a plug-and-play function is connected to a host device having a plug-and-play function. A step of monitoring the number of device devices connected to the host device, and activation of an application corresponding to the device device when the number of device devices connected to the host device exceeds setting data And a step of setting the state to a standby state.

請求項6記載の発明は、請求項5記載の制御方法であって、接続される前記デバイス機器に対応したアプリケーションの起動に要するメモリを監視するステップと、前記ホスト機器に接続された前記デバイス機器に対応するアプリケーションのメモリが前記ホスト機器全体のメモリ容量を超えたとき、該デバイス機器に対応したアプリケーションを待機状態とするステップとをさらに実行することを特徴とする。   A sixth aspect of the present invention is the control method according to the fifth aspect, wherein a step of monitoring a memory required for starting an application corresponding to the connected device device, and the device device connected to the host device When the memory of the application corresponding to the host device exceeds the memory capacity of the entire host device, the step of placing the application corresponding to the device device in a standby state is further executed.

請求項7記載の発明は、請求項5記載の制御方法であって、 接続される前記デバイス機器の数が前記設定データを満たす状態となったとき、待機状態の前記デバイス機器に対応したアプリケーションを起動することを特徴とする。   The invention according to claim 7 is the control method according to claim 5, wherein when the number of connected device devices satisfies the setting data, an application corresponding to the device device in a standby state is provided. It is characterized by starting.

請求項8記載の発明は、請求項6記載の制御方法であって、待機状態の前記デバイス機器に対応したアプリケーションのメモリが前記ホスト機器自体のメモリ容量以下を満たす状態となったとき、該デバイス機器に対応したアプリケーションを起動することを特徴とする。   The invention according to claim 8 is the control method according to claim 6, wherein when the memory of the application corresponding to the device device in a standby state satisfies a memory capacity of the host device itself or less, the device It is characterized by starting an application corresponding to the device.

請求項9記載の発明は、ホスト機器に請求項5から8のいずれか1項に記載の各ステップを実行させるためのプラグアンドプレイ機能を有した機器の制御プログラムである。   The invention described in claim 9 is a control program for a device having a plug-and-play function for causing a host device to execute the steps described in any one of claims 5 to 8.

本発明によれば、ホスト機器に接続可能なデバイス機器の数を設定データに設定しておき、設定データの数を超えたデバイス機器が接続されたとき、そのデバイス機器に対応したアプリケーションの起動を待機状態とするため、デバイス機器の接続管理を有効に行うことができる。   According to the present invention, the number of device devices connectable to the host device is set in the setting data, and when a device device exceeding the number of setting data is connected, the application corresponding to the device device is started. Since the standby state is set, connection management of device devices can be performed effectively.

また、接続されたデバイス機器に対応したアプリケーションのメモリがホスト機器全体で使用可能なメモリ容量を超えたとき、そのデバイスに対応したアプリケーションの起動を待機状態とする制御を行うため、上記と同様に、デバイス機器の接続管理を有効に行うことができる。   In addition, when the memory of the application corresponding to the connected device device exceeds the memory capacity that can be used by the entire host device, control is performed to activate the application corresponding to the device in a standby state. , Device device connection management can be performed effectively.

図1は本発明の一実施形態の構成を示すブロック図である。図1に示すように、ホスト機器1に対しデバイス機器2が接続可能となっている。この場合、デバイス機器2は複数がホスト機器1に接続されるものである。これらのホスト機器1及びデバイス機器2は、いずれもプラグアンドプレイ機能を有している。   FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. As shown in FIG. 1, the device device 2 can be connected to the host device 1. In this case, a plurality of device devices 2 are connected to the host device 1. Both the host device 1 and the device device 2 have a plug and play function.

ホスト機器1は、デバイス機器2に個々に対応したアプリケーション3を複数備えている。デバイス機器2は、ホスト機器1内のプラグアンドプレイ検出制御部4に接続される。また、ホスト機器1は接続されるデバイス機器の数が設定された設定データ5と、起動待ちアプリケーションリンクリスト6と、起動中アプリケーションリンクリスト7と、起動終了アプリケーションリンクリスト8とを有している。   The host device 1 includes a plurality of applications 3 individually corresponding to the device devices 2. The device device 2 is connected to the plug and play detection control unit 4 in the host device 1. Further, the host device 1 has setting data 5 in which the number of device devices to be connected is set, an activation wait application link list 6, an active application link list 7, and an activation end application link list 8. .

プラグアンドプレイ検出制御部4は、アプリケーションを起動する制御を行う。起動したアプリケーションは、その終了の後、プラグアンドプレイ検出制御部4に対して終了の通知を行う。この場合、プラグアンドプレイ検出制御部4は接続されたデバイス機器に対応したアプリケーションを起動するものである。   The plug and play detection control unit 4 performs control for starting an application. The activated application notifies the plug-and-play detection control unit 4 of the termination after the termination. In this case, the plug-and-play detection control unit 4 activates an application corresponding to the connected device device.

図2はプラグアンドプレイ検出制御部4に格納されているデバイス機器の管理情報であり、「次情報へのリンク」、「デバイス固有クッキー情報」、「デバイス接続位置情報」、「アプリケーションプロセス番号」、「デバイス固有情報」を備えている。   FIG. 2 shows device device management information stored in the plug-and-play detection control unit 4 and includes “link to next information”, “device-specific cookie information”, “device connection position information”, and “application process number”. , “Device-specific information” is provided.

プラグアンドプレイ検出制御部4に対しては、設定データ5から接続可能なデバイス機器の数が入力される。そして、プラグアンドプレイ検出制御部4は接続されたデバイス機器の数と設定データ5からのデータとを比較する。比較の結果、設定データ5に設定されている数をデバイス機器の数が超えたとき、そのデバイス機器のアプリケーションの起動を待機状態とする。   The number of connectable device devices is input from the setting data 5 to the plug and play detection control unit 4. Then, the plug-and-play detection control unit 4 compares the number of connected device devices with the data from the setting data 5. As a result of comparison, when the number of device devices exceeds the number set in the setting data 5, the activation of the application of the device device is set in a standby state.

さらに、プラグアンドプレイ検出制御部4は接続されているデバイス機器2に対応したアプリケーションが終了したとき、待機状態のデバイス機器のアプリケーションを自動的に起動する。これにより、デバイス機器2はホスト機器1に接続したままの状態で、アプリケーションが順序よく起動するため、デバイス機器2の接続管理を有効に行うことができる。   Further, the plug-and-play detection control unit 4 automatically starts the application of the standby device device when the application corresponding to the connected device device 2 ends. As a result, since the device device 2 is connected to the host device 1 and the applications are started in order, connection management of the device device 2 can be performed effectively.

また、ホスト機器1は各アプリケーション3の起動の際に必要となるメモリに関するメモリデータを備えている。プラグアンドプレイ検出制御部4はこのメモリデータと、ホスト機器1で使用可能なメモリ容量とを比較し、比較の結果、デバイス機器2のメモリデータがメモリ容量を超えたとき、そのデバイス機器に対応したアプリケーションの起動を待機状態とする。   In addition, the host device 1 includes memory data related to a memory necessary for starting up each application 3. The plug-and-play detection control unit 4 compares this memory data with the memory capacity that can be used by the host device 1, and when the memory data of the device device 2 exceeds the memory capacity as a result of the comparison, the plug-and-play detection control unit 4 Make the activated application start up.

さらに、プラグアンドプレイ検出制御部4は起動しているアプリケーション3が終了してホスト機器1のメモリ容量に余裕ができたとき、待機状態のデバイス機器2のアプリケーション3を自動的に起動する。これによっても、デバイス機器2はホスト機器1に接続したままの状態で、アプリケーションが順序よく起動するため、デバイス機器2の接続管理を有効に行うことができる。   Further, the plug-and-play detection control unit 4 automatically activates the application 3 of the device device 2 in the standby state when the activated application 3 ends and the memory capacity of the host device 1 is sufficient. Also in this manner, the device apparatus 2 is connected to the host apparatus 1 and the applications are started in order, so that connection management of the device apparatus 2 can be performed effectively.

図3はこの実施形態のフローチャートを示し、プラグアンドプレイ検出制御部4内の制御プログラムに格納されている。ステップS1では、デバイス機器2の接続状態を監視し、ステップS2ではアプリケーション3が終了したかを監視する。ステップS3ではイベント監視及びループ起動を行い、ステップS4ではイベント受信を待機する。ステップS5では受信したイベントを比較する。   FIG. 3 shows a flowchart of this embodiment, which is stored in a control program in the plug and play detection control unit 4. In step S1, the connection state of the device device 2 is monitored, and in step S2, it is monitored whether the application 3 has ended. In step S3, event monitoring and loop activation are performed, and in step S4, event reception is waited. In step S5, the received events are compared.

比較の結果、デバイス機器が接続されている場合にはステップS6に移行し、デバイス機器の切断がある場合にはステップS21に移行し、アプリケーション3が終了したときはステップS37に移行する。   If the device is connected as a result of comparison, the process proceeds to step S6. If the device is disconnected, the process proceeds to step S21. When the application 3 is completed, the process proceeds to step S37.

ステップS6では接続されたデバイス機器に対応したアプリケーション3を選択し、起動アプリケーションの有無を検出し(ステップS7)、アプリケーションがある場合には、全アプリケーションの起動数をチェックする(ステップS9)。起動数が設定データ5における数を超える場合には、その情報をペンディングアプリケーションリンクリストに登録する(ステップS15)。   In step S6, the application 3 corresponding to the connected device is selected, the presence / absence of the activated application is detected (step S7), and if there is an application, the number of activated applications is checked (step S9). If the number of activations exceeds the number in the setting data 5, the information is registered in the pending application link list (step S15).

起動数が設定データ5における数よりも少ない場合には、使用メモリをチェックする(ステップS10)。その結果、ホスト機器全体のメモリ容量を超えているときには、その情報をペンディングアプリケーションリンクリストに登録する(ステップS15)。それ以外の場合には、接続されたデバイス機器2に対応したアプリケーション3を起動し(ステップS11)、起動したアプリケーション3を起動中アプリケーションリンクリストに登録し(ステップS12)、その後、アプリケーション3の起動数及び起動メモリを加算し(ステップS13)、ステップS14に移行する。   When the activation number is smaller than the number in the setting data 5, the used memory is checked (step S10). As a result, when the memory capacity of the entire host device is exceeded, the information is registered in the pending application link list (step S15). In other cases, the application 3 corresponding to the connected device device 2 is activated (step S11), the activated application 3 is registered in the activated application link list (step S12), and then the application 3 is activated. The number and the activation memory are added (step S13), and the process proceeds to step S14.

一方、ステップS21においては、切断されたデバイス機器2を検索し、ステップS22において、そのデバイスの有無を比較する。ステップS22においてデバイス機器2がない場合には、ペンディングアプリケーションデバイスより該当デバイス機器を検索し(ステップS23)、ステップS24でそのデバイスの有無を検出する。デバイス機器が検出されない場合には、終了アプリケーションデバイスより該当デバイス機器を検索し(ステップS25)、ステップS26でそのデバイスを検出する。デバイスが検出されない場合には、ステップS14のイベント監視ループに移行する。   On the other hand, in step S21, the disconnected device 2 is searched, and in step S22, the presence or absence of the device is compared. If there is no device device 2 in step S22, the corresponding device device is searched from the pending application device (step S23), and the presence or absence of the device is detected in step S24. If no device device is detected, the device device is searched for from the end application device (step S25), and the device is detected in step S26. If no device is detected, the process proceeds to the event monitoring loop in step S14.

ステップS22において、該当デバイスがある場合には、アプリケーション3を強制終了し(ステップS28)、起動数及びメモリの減算を行い(ステップS29)、起動中アプリケーションリンクリストから削除する(ステップS30)。そして、ペンディングリストより情報収集を行い(ステップS31)、ステップS32において起動アプリケーションの有無を検出する。ステップS33はステップS32に続く処理であり、全アプリケーションの起動数をチェックする。その後、ステップS34においては使用メモリをチェックし、メモリ容量を超えていない場合には、デバイス機器に対応したアプリケーションを起動する(ステップS43)。以上のステップS32,S33、S34においてアプリケーションがない場合、起動数が超えている場合、及び使用メモリをオーバーしている場合には、ステップS14に移行する。   If there is a corresponding device in step S22, the application 3 is forcibly terminated (step S28), the number of activations and the memory are subtracted (step S29), and deleted from the activated application link list (step S30). Then, information is collected from the pending list (step S31), and the presence / absence of the activated application is detected in step S32. Step S33 is processing following step S32, and checks the number of activations of all applications. Thereafter, in step S34, the used memory is checked. If the memory capacity is not exceeded, an application corresponding to the device is activated (step S43). In the above steps S32, S33, and S34, if there is no application, if the number of activations is exceeded, and if the used memory is exceeded, the process proceeds to step S14.

ステップS37及びステップS38では、起動中のアプリケーションから該当するデバイス機器2を検索し、ステップS39においてデバイス機器の有無を検出し、ない場合にはステップS14に移行する。デバイス機器がある場合には、ステップS40に移行して、起動数及びメモリの減算を行い起動中アプリケーションリンクリストから削除する(ステップS41)。そして、ステップS42では起動中アプリケーションリンクリストから該当する情報を終了アプリケーションリンクリストに移動した後、ステップS32に移行する。   In step S37 and step S38, the corresponding device device 2 is searched from the running application. In step S39, the presence / absence of the device device is detected. If there is no device device, the process proceeds to step S14. If there is a device device, the process proceeds to step S40, where the activation number and memory are subtracted and deleted from the activated application link list (step S41). In step S42, the corresponding information is moved from the active application link list to the end application link list, and the process proceeds to step S32.

図4〜図9は、以上のフローチャートに基づいた各リンクリストの内容を示す。これらの図においては、ホスト機器1のメモリが9メガ(M)の場合を例にとっている。   4 to 9 show the contents of each link list based on the above flowchart. In these figures, the case where the memory of the host device 1 is 9 mega (M) is taken as an example.

図4では、2つのデバイス機器2が接続されており、デバイス機器Aでは5Mのメモリを使用し、デバイス機器Bでは、3Mのメモリを使用する。この場合には、デバイス機器A及びBを起動中アプリケーションリンクリストに登録し、ペンディングアプリケーションリンクリスト及び終了アプリケーションリンクリストは空いた状態となっている。   In FIG. 4, two device devices 2 are connected, the device device A uses 5M memory, and the device device B uses 3M memory. In this case, the device devices A and B are registered in the active application link list, and the pending application link list and the end application link list are empty.

図5では、4Mのメモリを使用する別のデバイス機器Cが接続された状態であり、メモリオーバーとなるため、デバイス機器Cはペンディングアプリケーションリンクリストに登録され、そのアプリケーションは待機状態となる。   In FIG. 5, another device device C that uses 4M memory is connected, and the memory is over. Therefore, the device device C is registered in the pending application link list, and the application enters a standby state.

図6では、デバイス機器Bのアプリケーションが終了した状態であり、デバイス機器Bは終了アプリケーションリンクリストに登録される。これにより、ホスト機器1にメモリの余裕ができるため、デバイス機器Cに対応したアプリケーションが起動する。   In FIG. 6, the application of the device device B is in a finished state, and the device device B is registered in the finished application link list. As a result, the host device 1 has enough memory so that the application corresponding to the device device C is activated.

図7では、7Mのメモリを使用するデバイス機器Dがさらに接続された状態であり、メモリオーバーとなるため、デバイス機器Dはペンディングアプリケーションリンクリストに登録され、そのアプリケーションは待機状態となる。   In FIG. 7, the device device D using the 7M memory is further connected and the memory is over. Therefore, the device device D is registered in the pending application link list, and the application enters a standby state.

図8では、デバイス機器Aの接続が切断された状態を示し、7Mのメモリを使用するデバイス機器Dを起動するには、メモリオーバーとなるため、デバイス機器Dに対するアプリケーションは依然として待機状態となる。   FIG. 8 shows a state in which the connection of the device device A is cut off. To start the device device D that uses the 7M memory, the memory is over, so the application for the device device D is still in a standby state.

図9では、図8の状態からデバイス機器Cの切断が行われた状態を示し、デバイス機器Dに対するアプリケーションが起動され、起動中アプリケーションリンクリストにデバイス機器Dのアプリケーションが登録される。   FIG. 9 shows a state in which the device device C is disconnected from the state of FIG. 8, the application for the device device D is activated, and the application of the device device D is registered in the activated application link list.

図10は、USBの場合におけるプラグアンドプレイ設定データを示している。USBの場合においては、デバイス情報のクラス、サブクラス、プロトコル情報でどのアプリケーションを起動すべきかの判断を行っている。すなわち、図10に示すように、クラス6、サブクラス1、プロトコル1のデバイスが接続された場合に、プログラム/bin/apl_1が起動する。この場合において、ここで記載されている使用メモリを現在、使用中のメモリに加算した値が規定値を超えているとき、起動待機状態となる。同時起動可能数の上限を超えた場合も同様である。   FIG. 10 shows plug and play setting data in the case of USB. In the case of USB, it is determined which application should be activated based on the device information class, subclass, and protocol information. That is, as shown in FIG. 10, when a device of class 6, subclass 1, and protocol 1 is connected, the program / bin / apl_1 is activated. In this case, when the value obtained by adding the used memory described here to the currently used memory exceeds the specified value, the activation standby state is entered. The same applies when the maximum number of simultaneous activations is exceeded.

一方、クラスが9である場合には、サブクラス2であれば、プログラム/bin/apl_2、サブクラスが2以外であれば、プログラム/bin/apl_3を起動する。図10における「*」はワイルドカードであり、すでに数値条件でマッチしているものがあればそのデータを使用するが、該当がない場合、この条件でマッチしたこととなる。   On the other hand, when the class is 9, if the subclass is 2, the program / bin / apl_2 is started, and if the subclass is other than 2, the program / bin / apl_3 is started. “*” In FIG. 10 is a wild card, and if there is a match already in the numerical condition, the data is used. If there is no match, it is matched in this condition.

本発明の一実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of this invention. 接続されるデバイス機器の管理表である。It is a management table of connected device equipment. 制御を示すフローチャートである。It is a flowchart which shows control. デバイス機器の接続に対する制御を示す状態図である。It is a state diagram which shows the control with respect to the connection of a device apparatus. 図4に続くデバイス機器の接続に対する制御を示す状態図である。FIG. 5 is a state diagram illustrating control for connection of device devices following FIG. 4. 図5に続くデバイス機器の接続に対する制御を示す状態図である。It is a state diagram which shows the control with respect to the connection of the device apparatus following FIG. 図6に続くデバイス機器の接続に対する制御を示す状態図である。FIG. 7 is a state diagram illustrating control for connection of device devices following FIG. 6. 図7に続くデバイス機器の接続に対する制御を示す状態図である。FIG. 8 is a state diagram illustrating control for connection of device devices following FIG. 7. 図8に続くデバイス機器の接続に対する制御を示す状態図である。FIG. 9 is a state diagram illustrating control for connection of device devices following FIG. 8. USB接続におけるプラグアンドプレイ設定データを示す図である。It is a figure which shows the plug and play setting data in USB connection.

符号の説明Explanation of symbols

1 ホスト機器
2 デバイス機器
3 アプリケーション
4 プラグアンドプレイ検出制御部
5 プラグアンドプレイ設定データ
6 起動待ちアプリケーションリンクリスト
7 起動中アプリケーションリンクリスト
8 起動終了アプリケーションリンクリスト
DESCRIPTION OF SYMBOLS 1 Host apparatus 2 Device apparatus 3 Application 4 Plug and play detection control part 5 Plug and play setting data 6 Startup waiting application link list 7 Starting application link list 8 Startup end application link list

Claims (9)

プラグアンドプレイ機能を有したホスト機器にプラグアンドプレイ機能を有したデバイス機器が接続されたときの制御を行う装置であって、
前記ホスト機器は、接続された前記デバイス機器に応じたアプリケーションを起動するアプリケーション起動手段と、起動可能なアプリケーションの数が設定された設定データと、該設定データに設定された数を超えた前記デバイス機器が接続されたとき、該デバイス機器に対応したアプリケーションの起動を待機状態とする制御手段とを有することを特徴とするプラグアンドプレイ機能を有した機器の制御装置。
An apparatus for performing control when a device device having a plug and play function is connected to a host device having a plug and play function,
The host device includes an application activation unit that activates an application corresponding to the connected device device, setting data in which the number of applications that can be activated is set, and the device that exceeds the number set in the setting data A control device for a device having a plug-and-play function, comprising control means for waiting for activation of an application corresponding to the device device when the device is connected.
前記ホスト機器は、各アプリケーションの起動の際に必要となるメモリに関するメモリデータをさらに有し、前記制御手段は接続された前記デバイス機器に対応したアプリケーションのメモリが前記ホスト機器全体で使用可能なメモリ容量を超えたとき、該デバイス機器に対応したアプリケーションの起動を待機状態とする制御を行うことを特徴とする請求項1記載のプラグアンドプレイ機能を有した機器の制御装置。   The host device further includes memory data related to a memory required for starting each application, and the control unit is a memory in which an application memory corresponding to the connected device device can be used in the entire host device. 2. The control apparatus for a device having a plug and play function according to claim 1, wherein when the capacity is exceeded, control is performed to activate an application corresponding to the device device in a standby state. 前記制御手段は、前記設定データを満たす状態となったとき、待機状態の前記デバイス機器に対応したアプリケーションを起動することを特徴とする請求項1記載のプラグアンドプレイ機能を有した機器の制御装置。   2. The apparatus control apparatus having a plug-and-play function according to claim 1, wherein the control unit activates an application corresponding to the device device in a standby state when the setting data is satisfied. . 前記制御手段は、待機状態の前記デバイス機器に対応したアプリケーションのメモリが前記ホスト機器自体のメモリ容量以下を満たす状態となったとき、該デバイス機器に対応したアプリケーションを起動することを特徴とする請求項2記載のプラグアンドプレイ機能を有した機器の制御装置。   The control unit activates an application corresponding to the device device when a memory of an application corresponding to the device device in a standby state satisfies a memory capacity of the host device itself or less. Item 3. A control device for a device having a plug-and-play function according to Item 2. プラグアンドプレイ機能を有したホスト機器にプラグアンドプレイ機能を有したデバイス機器が接続されたときの制御を行う方法であって、
前記ホスト機器に接続される前記デバイス機器の数を監視するステップと、前記ホスト機器に接続される前記デバイス機器の数が設定データを超えたとき、該デバイス機器に対応したアプリケーションの起動を待機状態とするステップとを実行することを特徴とするプラグアンドプレイ機能を有した機器の制御方法。
A method for performing control when a device device having a plug and play function is connected to a host device having a plug and play function,
Monitoring the number of device devices connected to the host device, and waiting for activation of an application corresponding to the device device when the number of device devices connected to the host device exceeds setting data And a step for controlling a device having a plug-and-play function.
接続される前記デバイス機器に対応したアプリケーションの起動に要するメモリを監視するステップと、前記ホスト機器に接続された前記デバイス機器に対応するアプリケーションのメモリが前記ホスト機器全体のメモリ容量を超えたとき、該デバイス機器に対応したアプリケーションを待機状態とするステップとをさらに実行することを特徴とする請求項5記載のプラグアンドプレイ機能を有した機器の制御方法。   Monitoring the memory required to start the application corresponding to the connected device, and when the memory of the application corresponding to the device connected to the host device exceeds the memory capacity of the entire host device, 6. The method for controlling a device having a plug and play function according to claim 5, further comprising the step of placing an application corresponding to the device device in a standby state. 接続される前記デバイス機器の数が前記設定データを満たす状態となったとき、待機状態の前記デバイス機器に対応したアプリケーションを起動することを特徴とする請求項5記載のプラグアンドプレイ機能を有した機器の制御方法。   6. The plug-and-play function according to claim 5, wherein an application corresponding to the device device in a standby state is activated when the number of connected device devices satisfies the setting data. Device control method. 待機状態の前記デバイス機器に対応したアプリケーションのメモリが前記ホスト機器自体のメモリ容量以下を満たす状態となったとき、該デバイス機器に対応したアプリケーションを起動することを特徴とする請求項6記載のプラグアンドプレイ機能を有した機器の制御方法。   7. The plug according to claim 6, wherein when a memory of an application corresponding to the device device in the standby state satisfies a memory capacity equal to or less than a memory capacity of the host device itself, the application corresponding to the device device is activated. A method for controlling a device having an and play function. ホスト機器に請求項5から8のいずれか1項に記載の各ステップを実行させるためのプラグアンドプレイ機能を有した機器の制御プログラム。   A control program for a device having a plug and play function for causing a host device to execute each step according to any one of claims 5 to 8.
JP2005073521A 2005-03-15 2005-03-15 Control device, method and program of device having plug-and-play function Pending JP2006259886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005073521A JP2006259886A (en) 2005-03-15 2005-03-15 Control device, method and program of device having plug-and-play function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005073521A JP2006259886A (en) 2005-03-15 2005-03-15 Control device, method and program of device having plug-and-play function

Publications (1)

Publication Number Publication Date
JP2006259886A true JP2006259886A (en) 2006-09-28

Family

ID=37099111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005073521A Pending JP2006259886A (en) 2005-03-15 2005-03-15 Control device, method and program of device having plug-and-play function

Country Status (1)

Country Link
JP (1) JP2006259886A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010204843A (en) * 2009-03-02 2010-09-16 Canon Inc Boot control method and apparatus
JP2012155741A (en) * 2012-04-11 2012-08-16 Ricoh Co Ltd Apparatus and method for executing multiple programs with changing processing states
US9003394B2 (en) 2007-07-10 2015-04-07 Ricoh Company, Ltd. Program determining apparatus and program determining method
CN104699510A (en) * 2015-03-27 2015-06-10 酷派软件技术(深圳)有限公司 Application program starting method, application program starting device and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286925A (en) * 1995-04-11 1996-11-01 Toshiba Corp Program load method and personal computer using same
JPH0962566A (en) * 1995-08-22 1997-03-07 Hitachi Ltd Information processor and memory management method
JP2000293386A (en) * 1999-04-12 2000-10-20 Hitachi Ltd Memory management system
JP2003099262A (en) * 2001-09-20 2003-04-04 Matsushita Electric Ind Co Ltd Host device and compatible device registering method
JP2004102398A (en) * 2002-09-05 2004-04-02 Sharp Corp Application management device, its method and its computer program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286925A (en) * 1995-04-11 1996-11-01 Toshiba Corp Program load method and personal computer using same
JPH0962566A (en) * 1995-08-22 1997-03-07 Hitachi Ltd Information processor and memory management method
JP2000293386A (en) * 1999-04-12 2000-10-20 Hitachi Ltd Memory management system
JP2003099262A (en) * 2001-09-20 2003-04-04 Matsushita Electric Ind Co Ltd Host device and compatible device registering method
JP2004102398A (en) * 2002-09-05 2004-04-02 Sharp Corp Application management device, its method and its computer program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003394B2 (en) 2007-07-10 2015-04-07 Ricoh Company, Ltd. Program determining apparatus and program determining method
US9792159B2 (en) 2007-07-10 2017-10-17 Ricoh Company, Ltd. Program determining apparatus and program determining method
JP2010204843A (en) * 2009-03-02 2010-09-16 Canon Inc Boot control method and apparatus
US8433887B2 (en) 2009-03-02 2013-04-30 Canon Kabushiki Kaisha System and method for booting device corresponding software if it does not conflict with a program currently running when a device is connected to an information handling system
JP2012155741A (en) * 2012-04-11 2012-08-16 Ricoh Co Ltd Apparatus and method for executing multiple programs with changing processing states
CN104699510A (en) * 2015-03-27 2015-06-10 酷派软件技术(深圳)有限公司 Application program starting method, application program starting device and terminal

Similar Documents

Publication Publication Date Title
KR101292936B1 (en) Plug and play device redirection for remote systems
CN109542744B (en) Method, device, storage medium and terminal for detecting abnormal starting problem of terminal
US7716522B2 (en) Information processing system and method for executing process during communication error
JP2004152309A (en) Power control device and power control method for computer system
CN101373433A (en) Method for updating BIOS and computer and system using the same
US7945289B2 (en) Implementing hardware/software reset using PC card W— disable line
US20100064036A1 (en) Peripheral device operation method, peripheral device and host
WO2020224238A1 (en) Blockchain node depolyment method, device and equipment, and storage medium
CN105260655A (en) Application program starting protection method, device and system
CN101873217B (en) Ethernet power supply equipment restart control method and device thereof
JP2006259886A (en) Control device, method and program of device having plug-and-play function
JP4966422B1 (en) Information processing apparatus and data protection method
JP2011216074A (en) Apparatus, method and program for management of equipment, and recording medium with the program recorded thereon
JP2005519392A (en) Monitoring and replacement method for peripheral data storage unit
US9582069B2 (en) Electronic apparatus and wake-up method thereof
JP2009053905A (en) Device management system, device management method, and device management program
JP2000132494A (en) Computer system and audio output control method of the system
JP5752464B2 (en) Interface device
JP5489278B2 (en) Information processing apparatus and activation method thereof
US20090002900A1 (en) System and method for protecting electronic devices
CN108632366B (en) File downloading method and device and terminal equipment
JP2007299192A (en) Information processing apparatus, control method thereof and control program thereof
JP2010015372A (en) Information processor, and use limitation method, and program
JP2017084014A (en) Information processing apparatus
JP2009042873A (en) Use restriction system for network application, use restriction method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071025

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101216

A131 Notification of reasons for refusal

Effective date: 20110222

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20110719

Free format text: JAPANESE INTERMEDIATE CODE: A02