JP2008152316A - Communication system, device, host, communication method, and program - Google Patents

Communication system, device, host, communication method, and program Download PDF

Info

Publication number
JP2008152316A
JP2008152316A JP2006336545A JP2006336545A JP2008152316A JP 2008152316 A JP2008152316 A JP 2008152316A JP 2006336545 A JP2006336545 A JP 2006336545A JP 2006336545 A JP2006336545 A JP 2006336545A JP 2008152316 A JP2008152316 A JP 2008152316A
Authority
JP
Japan
Prior art keywords
host
stop request
stop
link
stopped
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
JP2006336545A
Other languages
Japanese (ja)
Inventor
Takenori Yamase
武範 山瀬
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.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2006336545A priority Critical patent/JP2008152316A/en
Publication of JP2008152316A publication Critical patent/JP2008152316A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To safely detach a device, which is connected to a host, and can be mounted/dismounted in a hot-line, under control from the device side. <P>SOLUTION: When detecting a stop request by a stop request detection mechanism 103, a host 100 makes a stop request to a host through a stop control mechanism 102. The stop control mechanism 102 which has received the request makes a stop request to a function control mechanism 101. The function control mechanism 101 closes the port to which the device 110 to be stopped is connected to stop the link according to this request. The device 110 stops its own operation by recognizing that the link has been stopped, and display the shift of the link to the stopped state at a link state display mechanism 115. A user confirms the link state display mechanism 115, and executes the detaching of the device which can be mounted/dismounted in the hot-line. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、通信システムに関し、特に、デバイス側からの操作でデバイスを安全にホストから切り離すことが可能なシステムに関する。   The present invention relates to a communication system, and more particularly to a system capable of safely disconnecting a device from a host by an operation from the device side.

従来、Universal Serial Bus(以下、USBという)周辺デバイスのような活線挿抜可能なデバイスは、使用者が情報処理装置(ホスト)側で取り外しを行いたいデバイスの動作を停止させた後にデバイスを物理的に取り外す必要があった。この理由は、デバイスにファイルを書き込み中等のタイミングで突然デバイスを取り外すと、ファイル破損を引き起こす可能性があるという問題があったからである。例えば、特許文献1に、情報処理装置(ホスト)に接続されたUSB周辺装置(デバイス)がサスペンド(動作停止)モードでない状態で、情報処理装置(ホスト)からUSB周辺装置(デバイス)に対してサスペンド(動作停止)コマンドが送信されUSB周辺装置(デバイス)がサスペンド(動作停止)状態になる旨が記載されている。   Conventionally, devices that can be hot-plugged, such as Universal Serial Bus (hereinafter referred to as USB) peripheral devices, physically operate after the user stops the operation of the device that the user wants to remove on the information processing device (host) side. Needed to be removed. This is because there is a problem that if the device is suddenly removed at the timing of writing a file to the device, the file may be damaged. For example, Patent Document 1 discloses that a USB peripheral device (device) connected to an information processing device (host) is not in a suspend (operation stop) mode, and the information processing device (host) is connected to the USB peripheral device (device). It is described that a suspend (operation stop) command is transmitted and the USB peripheral device (device) enters a suspend (operation stop) state.

特にUSB−HUBなどを用いてツリー構造にこのようなUSB周辺装置(デバイス)が接続されている場合には、USB−HUBのアップストリーム側を取り外すためにUSB−HUBのダウンストリームに接続されている全てのデバイスに対し取り外しが可能となるように処理を行わないとアップストリーム側を安全に取り外すことができなかった。   In particular, when such a USB peripheral device (device) is connected to the tree structure using a USB-HUB or the like, it is connected to the USB-HUB downstream to remove the upstream side of the USB-HUB. The upstream side could not be safely removed unless processing was performed so that it could be removed from all existing devices.

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

上述の通り、従来は、活線挿抜可能なデバイスをホスト側からの取り外し処理なしに突然取り外すとファイル破損を引き起こす可能性があるという問題があったため、使用者がホストから活線挿抜可能なデバイスを安全に取り外すためにはホスト側からの制御(取り外し処理)が必須であった。 As described above, there has been a problem that a device that can be hot-swapped from a host may be damaged if a device that can be hot-swapped is suddenly removed without removing it from the host. Control (removal processing) from the host side was indispensable to safely remove the device.

また、Wireless USB等のようにバスの無線化が進むと、デバイスとホストとが離れた場所に設置されることもあり、また、デバイス−ホスト間を結ぶケーブルもないためにデバイスが接続されているホストがどれであるかわかりにくい状況も想定される。このようにバスの無線化が進むと、使用者の使い勝手にも問題が生じていた。
[発明の目的]
本発明は上記事情に鑑みてなされたものであり、本発明の目的は、ホストに接続された活線挿抜可能なデバイスをデバイス側からの制御で安全に取り外す通信システム、デバイス、ホスト、通信方法、プログラムを提供することにある。
Also, as buses become more wireless, such as Wireless USB, the device and host may be installed in a remote location, and the device is connected because there is no cable connecting the device and the host. It may be difficult to tell which host is on. As buses become more wireless in this way, there has been a problem in user convenience.
[Object of invention]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a communication system, device, host, and communication method for safely removing a hot-pluggable device connected to a host by control from the device side. , To provide a program.

本発明の通信システムは、接続するホストに自デバイスが停止することを通知する停止要求通知手段を有するデバイスと、前記デバイスからの停止要求通知を受信する停止要求検出手段と、前記停止要求通知を受信すると前記デバイスへのリンクを停止させる停止制御手段とを有するホストと、を有することを特徴とする。   The communication system of the present invention includes a device having stop request notification means for notifying the connected host that the own device is stopped, a stop request detection means for receiving a stop request notification from the device, and the stop request notification. And a host having stop control means for stopping the link to the device upon reception.

本発明のデバイスは、接続するホストに自デバイスが停止することを通知する停止要求通知手段を有し、当該通知を受けたホストによって自デバイスへのリンクが停止されることを特徴とするデバイス。   The device of the present invention has a stop request notifying means for notifying the connected host that the own device is stopped, and the link to the own device is stopped by the host that has received the notification.

本発明のホストは、下流に接続されたデバイスから自デバイスを停止することが通知された場合に前記デバイスからの通知を受信する停止要求検出手段と、前記停止要求通知を受信すると前記デバイスへのリンクを停止させる停止制御手段とを有することを特徴とする。   The host according to the present invention includes a stop request detection unit that receives a notification from the device when the device connected to the downstream is notified to stop the device, and a device that receives the stop request notification And stop control means for stopping the link.

本発明の通信方法は、デバイスに接続するホストに自デバイスが停止することを通知する停止要求通知ステップと、前記停止要求通知を受信する停止要求検出ステップと、前記停止要求通知を受信すると前記デバイスへのリンクを停止させる停止制御ステップとを有することを特徴とする。   The communication method of the present invention includes a stop request notification step for notifying a host connected to a device that the own device is stopped, a stop request detection step for receiving the stop request notification, and the device upon receiving the stop request notification. And a stop control step for stopping the link to.

本発明は、接続するホストに自デバイスが停止することを通知し、この通知を受けたホストが前記デバイスへのリンクを停止させ、デバイスはリンクが停止したことで自らの動作を停止させるという構成により、使用者がデバイス側の操作のみでデバイスを安全に取り外すことが可能となる。   The present invention is configured to notify a connected host that its own device is stopped, the host that has received this notification stops the link to the device, and the device stops its operation when the link is stopped. Thus, the user can safely remove the device only by operation on the device side.

[第1の実施形態]
本発明の第1の実施形態を図面を用いて説明する。
[First Embodiment]
A first embodiment of the present invention will be described with reference to the drawings.

図1に本発明の第1の実施形態の構成を示す。活線挿抜可能なデバイス110は、このデバイスの動作を制御するファンクション機構111と、使用者より停止要求を受け付けるための入力機構113と、ホスト100に停止要求を通知する停止要求通知機構112と、ホスト100と接続するバス(リンク)の状態を監視・制御するバス制御機構114と、ホストと接続するバス(リンク)の状態を表示するリンク状態表示機構115とを備える。   FIG. 1 shows the configuration of the first embodiment of the present invention. The hot-pluggable device 110 includes a function mechanism 111 that controls the operation of the device, an input mechanism 113 for receiving a stop request from the user, a stop request notification mechanism 112 that notifies the host 100 of a stop request, A bus control mechanism 114 that monitors and controls the state of the bus (link) connected to the host 100 and a link state display mechanism 115 that displays the state of the bus (link) connected to the host 100 are provided.

ホスト100は、接続されたデバイスを制御するファンクション制御機構101と、ファンクション制御機構101を停止状態に移行させる停止制御機構102と、接続されたデバイスからの停止要求通知を検出して停止制御機構102に通知する停止要求検出機構103と、デバイス110と接続するバス(リンク)の状態を制御するバス管理機構104とを備える。   The host 100 detects a stop request notification from the connected device, a function control mechanism 101 that controls the connected device, a stop control mechanism 102 that shifts the function control mechanism 101 to a stop state, and a stop control mechanism 102. A stop request detection mechanism 103 that notifies the device 110 and a bus management mechanism 104 that controls the state of the bus (link) connected to the device 110.

使用者が活線挿抜可能なデバイス側からの操作で当該デバイスを安全に取り外すための動作について図1、2を用いて以下に記す。   The operation for safely removing the device by the operation from the device side where the user can hot-swap the device will be described below with reference to FIGS.

使用者は、安全に取り外したいデバイス110の入力機構113を操作(201)することにより停止要求通知機構112からホスト100に停止要求(202)を通知する。   The user operates the input mechanism 113 of the device 110 to be safely removed (201) to notify the stop request (202) from the stop request notification mechanism 112 to the host 100.

具体的には、停止ボタンの押下を認識したデバイス110の停止要求通知機構112がホスト100に停止要求(202)を通知するとホスト100の停止要求検出機構103が当該通知を検出する。   Specifically, when the stop request notification mechanism 112 of the device 110 that has recognized the press of the stop button notifies the host 100 of a stop request (202), the stop request detection mechanism 103 of the host 100 detects the notification.

ホスト100は、停止要求検出機構103により停止要求を検出したら、デバイス110を停止させるために停止制御機構102に対しファンクション制御機構101を停止させることを要求する(203)。この要求を受けた停止制御機構102は、ファンクション制御機構101に対して停止要求(204)を行う。ファンクション制御機構101はこの要求にしたがいデバイス110の動作を停止待ち状態に移行させるようファンクション機構111に指示する(205)とともに、停止させたいデバイス110が接続されているポートを閉じ、リンクを停止するようバス管理機構104に通知する(206)。デバイス110のバス制御機構114はリンクが停止されたことを認識して(207)自身の動作を停止し、リンクが停止状態に移行したことをリンク状態表示機構115に表示する(208)する。使用者はリンク状態表示機構115を確認して活線挿抜可能なデバイスの取り外しなどを実行する。   When the stop request is detected by the stop request detection mechanism 103, the host 100 requests the stop control mechanism 102 to stop the function control mechanism 101 in order to stop the device 110 (203). Upon receiving this request, the stop control mechanism 102 makes a stop request (204) to the function control mechanism 101. In accordance with this request, the function control mechanism 101 instructs the function mechanism 111 to shift the operation of the device 110 to a stop waiting state (205), and closes the port to which the device 110 to be stopped is connected and stops the link. The bus management mechanism 104 is notified (206). The bus control mechanism 114 of the device 110 recognizes that the link is stopped (207), stops its own operation, and displays (208) on the link state display mechanism 115 that the link has shifted to the stopped state. The user confirms the link state display mechanism 115 and executes removal of a device that can be hot-plugged.

次に、本発明をUSB−HUBに適用した場合の実施例を示す。図3は、ホスト300に、USBストレージ316を接続したUSB−HUB310を接続した場合についての例を示している。   Next, an embodiment when the present invention is applied to USB-HUB will be described. FIG. 3 shows an example in which a USB-HUB 310 to which a USB storage 316 is connected is connected to the host 300.

USB−HUB310は、USB−HUBとして機能するために動作を制御するUSB−HUB機構311と、使用者からの停止要求を受け付ける停止ボタン313と、ホスト300にUSBバス(リンク)の停止要求を通知する停止要求通知機構312と、USBバスを監視・制御するUSBデバイスコントローラ314と、USBバス(リンク)の状態を示すLED315とから構成される。   The USB-HUB 310 notifies the host 300 of a USB bus (link) stop request, a USB-HUB mechanism 311 that controls the operation to function as a USB-HUB, a stop button 313 that receives a stop request from the user, and the host 300 The stop request notification mechanism 312 that performs monitoring, the USB device controller 314 that monitors and controls the USB bus, and the LED 315 that indicates the state of the USB bus (link).

ホスト300は、USBバスを制御するUSBホストコントローラ304と、接続されたUSB−HUB310を制御するUSB−HUB制御機構301と、USB−HUB310の下流側に接続されたUSBストレージ316を制御するUSBストレージ制御機構305と、活線挿抜可能なデバイス側からの停止要求通知を検出する停止要求検出機構303と、停止要求検出機構303からの通知を受けて対象デバイスの動作を停止させる停止制御機構302とから構成される。   The host 300 includes a USB host controller 304 that controls a USB bus, a USB-HUB control mechanism 301 that controls a connected USB-HUB 310, and a USB storage that controls a USB storage 316 connected downstream of the USB-HUB 310. A control mechanism 305, a stop request detection mechanism 303 that detects a stop request notification from the device side that can be hot-plugged, and a stop control mechanism 302 that stops the operation of the target device in response to the notification from the stop request detection mechanism 303. Consists of

停止要求検出機構303は、USB−HUB制御機構301とUSBホストコントローラ304の間に位置しており、USB−HUB210の停止要求通知機構312からの停止要求を受信したときは停止制御機構302にUSB−HUB310の停止を指示し、停止要求以外の受信信号については全てUSB−HUB制御機構301に渡す。これにより既存のUSB−HUB制御機構301を変更することなく既存の処理も本発明独自の処理も実施可能となる。   The stop request detection mechanism 303 is located between the USB-HUB control mechanism 301 and the USB host controller 304. When a stop request is received from the stop request notification mechanism 312 of the USB-HUB 210, the stop request detection mechanism 303 sends a USB request to the stop control mechanism 302. -Instructs the stop of the HUB 310 and passes all received signals other than the stop request to the USB-HUB control mechanism 301. As a result, it is possible to carry out existing processing and processing unique to the present invention without changing the existing USB-HUB control mechanism 301.

また、ホスト300が停止要求検出機構303を持たない場合であっても、デバイスが停止要求通知機構312からの通知を行わなければ、既存のホストに本発明に係る(停止要求通知が行える)デバイスを接続しての使用が可能である。   Even if the host 300 does not have the stop request detection mechanism 303, if the device does not notify from the stop request notification mechanism 312, the device according to the present invention (can perform a stop request notification) to the existing host. Can be used.

次に実施例の動作について説明する。   Next, the operation of the embodiment will be described.

本実施例における、動作停止までのシーケンスを図4に示す。   FIG. 4 shows a sequence until the operation is stopped in this embodiment.

ホスト300は、USB−HUB310が接続されるとUSB−HUB310を制御するためにUSB−HUB制御機構301を起動する。この時にUSB−HUB310が停止要求通知機構312を備えているならば、合わせて停止要求検出機構303を起動する。   When the USB-HUB 310 is connected, the host 300 activates the USB-HUB control mechanism 301 to control the USB-HUB 310. At this time, if the USB-HUB 310 includes the stop request notification mechanism 312, the stop request detection mechanism 303 is also started.

停止要求検出機構303は、起動するとUSB−HUB310からの停止要求の監視を始める(400)。この状態において、使用者がUSB−HUB310の停止ボタン313を押下(401)するとホストに停止要求を通知する(402)。   When the stop request detection mechanism 303 is activated, it starts monitoring a stop request from the USB-HUB 310 (400). In this state, when the user presses the stop button 313 of the USB-HUB 310 (401), a stop request is notified to the host (402).

停止要求検出機構303は、停止要求を検出した場合には停止制御機構302にUSB−HUB310の停止を指示する(403)。   When the stop request detection mechanism 303 detects a stop request, it instructs the stop control mechanism 302 to stop the USB-HUB 310 (403).

なお停止要求検出機構303は、停止要求以外の信号は全てUSB−HUB制御機構301)に渡す。   The stop request detection mechanism 303 passes all signals other than the stop request to the USB-HUB control mechanism 301).

停止制御機構302は、USB−HUB制御機構301が制御するUSB−HUB310を停止するために、USB−HUB310のダウンストリームに接続されているUSBストレージ316を制御するUSBストレージ制御機構305に停止を要求する(404)。   The stop control mechanism 302 requests the USB storage control mechanism 305 that controls the USB storage 316 connected to the downstream of the USB-HUB 310 to stop the USB-HUB 310 controlled by the USB-HUB control mechanism 301. (404).

USBストレージ制御機構305は、この停止要求に従いUSBストレージの動作を停止待ち状態に移行させ(405)、移行したことをUSB−HUB制御機構301に通知する(406)。USB−HUB制御機構301は、停止待ち状態に移行したUSBストレージ316が接続されているポートを閉じダウンストリーム(リンク)を停止する(407)。   The USB storage control mechanism 305 shifts the operation of the USB storage to a stop waiting state according to the stop request (405), and notifies the USB-HUB control mechanism 301 of the shift (406). The USB-HUB control mechanism 301 closes the port connected to the USB storage 316 that has shifted to the stop waiting state, and stops the downstream (link) (407).

USBストレージ316は、USB−HUB310のダウンストリーム(リンク)が停止したことによりバスの信号が停止されたことを認識して自身の動作を停止する。   The USB storage 316 recognizes that the bus signal has been stopped due to the downstream (link) of the USB-HUB 310 being stopped, and stops its own operation.

USB−HUB310のダウンストリームに接続されているUSBストレージ316の動作が停止したら、次に停止制御機構302からUSB−HUB制御機構301に停止要求が発行される(408)。USB−HUB制御機構301は、USBバスを制御しているUSBホストコントローラ304に停止したことを通知し(409)、USB−HUB310に対してもUSBバスの信号が停止され、USB−HUB310が動作を停止したことを認識する。   When the operation of the USB storage 316 connected downstream of the USB-HUB 310 is stopped, a stop request is issued from the stop control mechanism 302 to the USB-HUB control mechanism 301 (408). The USB-HUB control mechanism 301 notifies the USB host controller 304 that controls the USB bus that it has stopped (409), and the USB bus signal is also stopped for the USB-HUB 310, and the USB-HUB 310 operates. Recognize that has stopped.

USB−HUB310は、バスの信号が停止されホストとのリンクが切れたらLED315を消灯する。使用者は、LED315が消灯したことによりUSB−HUB310の取り外しを安全に行うことができると使用者が認識することができる。   The USB-HUB 310 turns off the LED 315 when the bus signal is stopped and the link with the host is disconnected. The user can recognize that the USB-HUB 310 can be safely removed when the LED 315 is turned off.

また、USB−HUB310からの停止要求をホストが処理できない場合もしくは直ぐには停止できない場合(例えば、USBストレージ316に対してファイルを書き込んでいる途中のため停止が行えない等)には、LED315が消灯しないので取り外しを行うと問題が発生することを使用者が認識できる。   If the host cannot process a stop request from the USB-HUB 310 or cannot stop immediately (for example, the file cannot be stopped because a file is being written to the USB storage 316), the LED 315 is turned off. Therefore, the user can recognize that there will be a problem if it is removed.

当該実施例では、ホスト側からバス分岐点(HUB)のダウンストリーム側にあるデバイス全ての停止を実行した後に取り外し可能状態に移行しているので、ダウンストリーム側にあるデバイスの状況を使用者が確認することなく取り外すことが可能となる。   In the present embodiment, since all the devices on the downstream side of the bus branch point (HUB) are stopped from the host side, the state shifts to the detachable state. It can be removed without confirmation.

ここで、ホストに接続されたUSB−HUB等の活線挿抜可能なデバイスの状態遷移の状況について整理する。図7にホストに接続された活線挿抜可能なデバイスの状態遷移を示す。   Here, the state transition state of a device that can be hot-plugged such as USB-HUB connected to the host will be summarized. FIG. 7 shows a state transition of a hot-pluggable device connected to the host.

活線挿抜可能なデバイスはホストに接続すると動作状態に移行して通常動作を開始する(701)。ユーザがデバイスの停止ボタンを押下すると停止待ち状態に移行する(703)。この時にもデバイスは動作状態であり、唯一、停止要求の確認に対する応答が変わるのみでホストからのリクエストに対して通常動作状態と変わらない応答を行う。ホスト側でデバイスの停止処理が処理された場合には、バスの信号が停止されるためリンク切れが発生してデバイスは停止状態に移行する(704)。   When the hot-pluggable device is connected to the host, it shifts to an operating state and starts normal operation (701). When the user presses the stop button of the device, the process shifts to a stop waiting state (703). At this time as well, the device is in the operating state, and only the response to the confirmation of the stop request is changed, and a response that does not change from the normal operating state is made to the request from the host. When the device stop process is processed on the host side, the bus signal is stopped, so that the link is broken and the device shifts to the stop state (704).

なお、ホストが停止までに時間が掛る場合を考慮してキャンセルまたはタイムアウトを設け、停止待ち状態から通常動作状態へ移行させることも可能である(705)。   In consideration of the case where the host takes time to stop, it is possible to provide a cancel or timeout and shift from the stop waiting state to the normal operation state (705).

上記実施例では、本発明の停止要求通知機構や停止ボタンをUSB−HUBのみに実装した場合を例に挙げたが、これらの機能をUSB−HUBのみならずUSBストレージなどの活線挿抜可能なデバイスにも実装することが可能である。   In the above embodiment, the case where the stop request notification mechanism and the stop button of the present invention are mounted only on the USB-HUB is taken as an example. However, these functions can be hot-swapped not only in the USB-HUB but also in a USB storage or the like. It can also be implemented in devices.

この様な実装形態についての第1の変形例を図5に示す。図5では、停止要求通知機構522と停止ボタン523をUSBストレージ520にも実装している。また、図5のホスト側では、接続される活線挿抜可能なデバイス毎に停止要求検出機構5031,5032・・・を実装し、各デバイス(USB−HUB510やUSBストレージ520)からの停止要求に対して、それぞれ対応した停止要求検出機構5031,5032・・・が停止要求を検出してデバイスの停止動作を開始する。デバイスの停止動作の手順は上記実施例と同様であるので説明は省略する。   A first modification of such a mounting form is shown in FIG. In FIG. 5, a stop request notification mechanism 522 and a stop button 523 are also mounted on the USB storage 520. In addition, on the host side in FIG. 5, stop request detection mechanisms 5031, 5032... Are mounted for each connected device that can be hot-plugged, and a stop request is received from each device (USB-HUB 510 or USB storage 520). On the other hand, the corresponding stop request detection mechanisms 5031, 5032,... Detect the stop request and start the device stop operation. Since the procedure of the device stop operation is the same as that in the above embodiment, the description thereof is omitted.

また、この様な実装形態についての第2の変形例を図6に示す。図6に示す変形例においても図5と同様に停止要求通知機構622と停止ボタン623をUSBストレージ620に実装している。しかし、図6に示す第2の変形例では、ホスト600の構成が図5の変形例とは異なっている。第2の変形例のホストには、停止要求検出機構603は1つのみ実装され、これとは別にデバイス識別機構606を実装している。   Moreover, the 2nd modification about such a mounting form is shown in FIG. Also in the modified example shown in FIG. 6, the stop request notification mechanism 622 and the stop button 623 are mounted on the USB storage 620 as in FIG. 5. However, in the second modified example shown in FIG. 6, the configuration of the host 600 is different from the modified example in FIG. Only one stop request detection mechanism 603 is mounted on the host of the second modification, and a device identification mechanism 606 is mounted separately from this.

この第2の変形例では、各デバイス(USB−HUB610やUSBストレージ620)からの停止要求について、停止要求検出機構603が全て検出して、どのデバイスからの停止要求であるかをデバイス識別機構606が判断して、停止動作を開始する。デバイスの停止動作の手順は上記実施例と同様であるので説明は省略する。
[第2の実施形態]
本発明の第2の実施形態を図面を用いて説明する。
In the second modification, the stop request detection mechanism 603 detects all stop requests from each device (USB-HUB 610 and USB storage 620), and the device identification mechanism 606 indicates which device is the stop request. Is determined to start the stop operation. Since the procedure of the device stop operation is the same as that in the above embodiment, the description thereof is omitted.
[Second Embodiment]
A second embodiment of the present invention will be described with reference to the drawings.

図8に本発明の第2の実施形態の構成を示す。   FIG. 8 shows the configuration of the second embodiment of the present invention.

上記第1の実施形態では、使用者からの停止指示による活線挿抜可能なデバイスの動作停止方法について示したが、第2の実施形態では、使用者の指示ではなく活線挿抜可能なデバイスが自律的に停止要求を行う形態について説明する。   In the first embodiment, the operation stop method of a device that can be hot-plugged / removed by a stop instruction from the user has been described. However, in the second embodiment, a device that can be hot-plugged / removed instead of a user's instruction is provided. The form which performs a stop request | requirement autonomously is demonstrated.

図8にWireless USBストレージデバイスに適用した場合の例を示す。Wireless USBストレージデバイスは、アップストリームが無線であるため、距離が離れることによる電波強度の低下やノイズなどによる転送エラーの頻度の増加によりリンク品質が悪くなり、突然ホストとの接続が切断される可能性がある。   FIG. 8 shows an example in which the present invention is applied to a Wireless USB storage device. Since wireless USB storage devices are wireless upstream, link quality deteriorates due to a decrease in radio field strength due to a long distance and an increase in the frequency of transfer errors due to noise, etc., and the connection with the host may be suddenly disconnected. There is sex.

この場合、Wireless USBストレージデバイス810は、ホスト800からの停止処理が行われない状態で切断されるため、ファイルの破損などが発生する可能性が考えられる。   In this case, since the wireless USB storage device 810 is disconnected in a state where the stop processing from the host 800 is not performed, there is a possibility that the file may be damaged.

図8において、Wireless USBストレージデバイス810は、このWireless USBストレージデバイス810の動作を制御するUSBストレージ機構811と、ホストに停止要求を通知するための停止要求通知機構812と、アップストリームのリンク品質を判断するためのリンク品質判断機構813と、ホストと接続するバス(リンク)の状態を監視・制御するWireless USB制御機構814とを備える。   In FIG. 8, a wireless USB storage device 810 has a USB storage mechanism 811 for controlling the operation of the wireless USB storage device 810, a stop request notification mechanism 812 for notifying the host of a stop request, and an upstream link quality. A link quality determination mechanism 813 for determination and a wireless USB control mechanism 814 for monitoring and controlling the state of the bus (link) connected to the host are provided.

ホスト800には、第1の実施形態と同様に、Wireless USBストレージデバイス810を制御するUSBストレージ制御機構801と、Wireless USBストレージデバイス810からの停止要求を検出する停止要求検出機構803と、USBストレージ制御機構801を停止する停止制御機構802と、Wireless USBストレージデバイス810と接続するバス(リンク)の状態を制御するWireless USB管理機構804とを備える。   As in the first embodiment, the host 800 includes a USB storage control mechanism 801 that controls the Wireless USB storage device 810, a stop request detection mechanism 803 that detects a stop request from the Wireless USB storage device 810, and a USB storage. A stop control mechanism 802 for stopping the control mechanism 801 and a Wireless USB management mechanism 804 for controlling the state of a bus (link) connected to the Wireless USB storage device 810 are provided.

リンク品質判断機構813は、Wireless USB制御機構814と連携しホストとのリンク状況を定期的に確認する。ホストからの信号の電波強度の低下や転送エラーの発生頻度の増加などによりリンク品質判断機構813が、リンク品質が悪くなりWireless USBストレージデバイス810の動作継続に大きな支障があると判断した場合に、停止要求通知機構812を通してホストに停止要求を行う。ホストは、停止要求を検出したら、USBストレージ制御機構801を停止、Wireless USBストレージデバイス810へのリンクを切断する。   The link quality determination mechanism 813 regularly checks the link status with the host in cooperation with the wireless USB control mechanism 814. When the link quality determination mechanism 813 determines that the link quality is deteriorated and the operation of the wireless USB storage device 810 is seriously hindered due to a decrease in the radio wave intensity of the signal from the host or an increase in the frequency of occurrence of transfer errors, A stop request is issued to the host through the stop request notification mechanism 812. When the host detects the stop request, the host stops the USB storage control mechanism 801 and disconnects the link to the Wireless USB storage device 810.

停止動作の手順は第1の実施形態と同様であるので説明は省略する。   Since the procedure of the stop operation is the same as that of the first embodiment, description thereof is omitted.

上述のように、ホスト−デバイス間の通信品質が低下した場合にデバイス側からホストに対して停止要求を通知するので、Wireless USBストレージデバイス810は、ホスト800とのリンクが突然切断される前に停止状態に移行することが可能となり、ファイル破損などを防止することができる。
[第3の実施形態]
本発明の第3の実施形態を図面を用いて説明する。
As described above, when the communication quality between the host and the device is deteriorated, a stop request is notified from the device side to the host. Therefore, before the link with the host 800 is suddenly disconnected, the wireless USB storage device 810 is disconnected. It is possible to shift to a stopped state, and file damage can be prevented.
[Third Embodiment]
A third embodiment of the present invention will be described with reference to the drawings.

第3の実施の形態では、動作中に活線挿抜可能なデバイスの電源を不用意に切断された場合でも対応可能な形態の例を示す。   In the third embodiment, an example of a configuration that can cope with a case where the power supply of a device that can be hot-plugged during operation is inadvertently cut off will be described.

図9に本発明の第3の実施形態の構成を示す。   FIG. 9 shows the configuration of the third embodiment of the present invention.

活線挿抜可能なデバイス910は、このデバイスの動作を制御するファンクション機構911と、外部電源916と、外部電源の供給が停止した場合にデバイスに電源を供給するバッテリ915と、外部電源916とバッテリ915の切換えを司る電源スイッチ機構913と、ホスト900に停止要求を通知する停止要求通知機構912と、ホスト900と接続するバス(リンク)の状態を監視・制御するバス制御機構914とを備える。   The hot-pluggable device 910 includes a function mechanism 911 that controls the operation of the device, an external power supply 916, a battery 915 that supplies power to the device when the supply of external power is stopped, an external power supply 916, and a battery A power switch mechanism 913 that controls switching of 915, a stop request notification mechanism 912 that notifies the host 900 of a stop request, and a bus control mechanism 914 that monitors and controls the state of the bus (link) connected to the host 900.

ホスト900は、接続されたデバイス910を制御するファンクション制御機構901と、ファンクション制御機構901を停止状態に移行させる停止制御機構902と、接続されたデバイスからの停止要求通知を検出して停止制御機構902に通知する停止要求検出機構903と、デバイス910と接続するバス(リンク)の状態を制御するバス管理機構904とを備える。   The host 900 detects a stop request notification from the connected device, a function control mechanism 901 that controls the connected device 910, a stop control mechanism 902 that shifts the function control mechanism 901 to a stop state, and a stop control mechanism A stop request detection mechanism 903 for notifying 902 and a bus management mechanism 904 for controlling the state of a bus (link) connected to the device 910.

次に、動作中に使用者により電源スイッチ機構913が操作され電源断を要求された場合または外部電源916からの供給を突然断された場合の動作について説明する。
このような場合、電源スイッチ機構913は、電源の供給元を外部電源916からバッテリ915に変更し、停止要求通知機構912に停止要求を行うように指示する。
Next, an operation when the power switch mechanism 913 is operated by the user during the operation and the power supply is requested to be cut off or when the supply from the external power supply 916 is suddenly cut off will be described.
In such a case, the power switch mechanism 913 changes the power supply source from the external power supply 916 to the battery 915 and instructs the stop request notification mechanism 912 to make a stop request.

ホスト900は、停止要求検出機構903によって停止要求を検出したらファンクション制御機構901を停止、デバイスへのリンクを切断する。   When the host 900 detects a stop request by the stop request detection mechanism 903, the host 900 stops the function control mechanism 901 and disconnects the link to the device.

デバイス910は、リンク切れを検出したら電源スイッチ機構913を操作してバッテリ915からの電源供給を停止する。   When the device 910 detects a broken link, the device 910 operates the power switch mechanism 913 to stop the power supply from the battery 915.

上述のように、電源断等の処理が行われた場合に電源をバッテリに切換えた後にホストに対して停止要求を通知するので、突然の電源断に伴う障害を防止することができる。
[第4の実施形態]
以上説明した実施形態ではいずれの実施形態においても、ホストは、停止要求を検出してファンクション制御機構を停止する機構を備えていた。しかし、活線挿抜可能なデバイスの動作を完全に停止するのではなく一時的に停止しておく機構を備えることでWireless USBデバイスなどを複数ホストに接続することが可能となる。以下にWireless USBデバイスを複数ホストに接続する場合の実施形態を示す。
As described above, when processing such as power-off is performed, the host is notified of a stop request after switching the power source to the battery, so that a failure due to a sudden power-off can be prevented.
[Fourth Embodiment]
In any of the above-described embodiments, the host includes a mechanism for detecting a stop request and stopping the function control mechanism. However, it is possible to connect a wireless USB device or the like to a plurality of hosts by providing a mechanism for temporarily stopping the operation of a device that can be hot-plugged / removed instead of completely stopping it. An embodiment in the case where a Wireless USB device is connected to a plurality of hosts will be described below.

図10において、Wireless USBデバイス1010は、このWireless USBデバイス1010の動作を制御するファンクション機構1011と、ホストに停止要求を通知する停止要求通知機構1012と、ホストの切り替えが要求された場合にWireless USBデバイス1010の状態を示す情報を構築し、また、ホストから受信したWireless USBデバイス1010の状態情報に基づいてWireless USBデバイス1010の状態をホスト変更前の状態に復帰させるデバイス状態構築・復帰機構1013と、ホストと接続するバス(リンク)の状態を監視・制御するWireless USB制御機構1014と、ホストと接続するバス(リンク)の状態を表示するリンク状態表示機構1015とを備える。   In FIG. 10, a wireless USB device 1010 includes a function mechanism 1011 that controls the operation of the wireless USB device 1010, a stop request notification mechanism 1012 that notifies the host of a stop request, and a wireless USB device when a host switch is requested. A device state construction / recovery mechanism 1013 that constructs information indicating the state of the device 1010 and restores the state of the wireless USB device 1010 to the state before the host change based on the state information of the wireless USB device 1010 received from the host; A wireless USB control mechanism 1014 that monitors and controls the state of the bus (link) connected to the host, and a link state display mechanism 1015 that displays the state of the bus (link) connected to the host. Provided.

ホストA1000は、接続されたWireless USBデバイス1010を制御するファンクション制御機構1001と、Wireless USBデバイス1010からのデバイス状態情報(以降、デバイス状態情報と記載)を保持するデバイス状態保持機構1002と、接続されたWireless USBデバイス1010からの停止要求とデバイス状態情報とを検出して、デバイス状態情報をデバイス情報保持機構1002に保存させ、また、停止要求検出後のファンクション制御機構1001からの転送要求を保留する停止要求検出機構1003と、Wireless USBデバイス1010と接続するバス(リンク)の状態を制御するWireless USB管理機構1004と、ファンクション制御機構1001に影響を与えないデータ転送を継続的に要求する切断防止機構1005とを備える。   The host A 1000 is connected to a function control mechanism 1001 that controls the connected Wireless USB device 1010 and a device status holding mechanism 1002 that holds device status information (hereinafter referred to as device status information) from the Wireless USB device 1010. The stop request from the wireless USB device 1010 and the device status information are detected, the device status information is stored in the device information holding mechanism 1002, and the transfer request from the function control mechanism 1001 after the stop request is detected is suspended. It affects the stop request detection mechanism 1003, the wireless USB management mechanism 1004 that controls the state of the bus (link) connected to the wireless USB device 1010, and the function control mechanism 1001. Comprising continuously a cutting preventing mechanism 1005 that requests no data transfer.

また、ホストB1100もホストA1000と同様の構成である。   The host B1100 has the same configuration as the host A1000.

次に、図10および図11を用いて、本実施形態におけるホストA1000とWireless USBデバイス1010との動作について説明する。   Next, operations of the host A 1000 and the wireless USB device 1010 in this embodiment will be described with reference to FIGS. 10 and 11.

まず、Wireless USBデバイス1010がホストA1000に接続されていたと仮定する。Wireless USBデバイス1010は、使用者からの指示によって又は定期的に、接続するホストの切り替えを行う。   First, it is assumed that the Wireless USB device 1010 is connected to the host A1000. The wireless USB device 1010 switches the connected host in accordance with an instruction from the user or periodically.

デバイス状態構築・復帰機構1013は、ホストの切り替えタイミングに合わせてデバイス状態情報を構築し停止要求通知機構1012に通知する(1101)。停止要求通知機構1012は、このデバイス状態情報を停止要求と共にホストA1000に転送する(1102)。   The device state construction / recovery mechanism 1013 constructs device state information in accordance with the host switching timing and notifies the stop request notification mechanism 1012 (1101). The stop request notification mechanism 1012 transfers the device status information to the host A 1000 together with the stop request (1102).

ホストA1000の停止要求検出機構1003は、停止要求とデバイス状態情報を検出し、デバイス状態情報をデバイス状態保持機構1002に保存する(1103)。また、停止要求検出機構1103は、停止要求を検出したらファンクション制御機構1001からWireless USBデバイス1010への転送要求をWireless USB管理機構に渡さずに保留する(1107)。   The stop request detection mechanism 1003 of the host A 1000 detects the stop request and device state information, and stores the device state information in the device state holding mechanism 1002 (1103). Further, when detecting the stop request, the stop request detecting mechanism 1103 holds the transfer request from the function control mechanism 1001 to the Wireless USB device 1010 without passing it to the Wireless USB management mechanism (1107).

Wireless USBデバイス1010は、ホストA1000から自身へのデータ転送が停止、即ちリンクが停止したと認識したら他ホスト(ホストB1100)への接続を行いアップストリームの接続先を変更する。   When the wireless USB device 1010 recognizes that the data transfer from the host A 1000 to itself is stopped, that is, the link is stopped, the wireless USB device 1010 connects to another host (host B 1100) and changes the upstream connection destination.

Wireless USBデバイス1010がホストB1100と接続している間も、ホストA1000では、停止要求検出機構1003により仮想的にWireless USBデバイス1010が接続されている状態を保つ。   Even while the wireless USB device 1010 is connected to the host B 1100, the host A 1000 maintains the state where the wireless USB device 1010 is virtually connected by the stop request detection mechanism 1003.

Wireless USBデバイス1010が、ホストB1100での処理を終了し再度ホストA1000へ接続する場合には、Wireless USBデバイス1010はホストA1000に停止状態の解除を要求する(1108)。ホストA1000の停止要求検出機構1012は、停止状態の解除要求を検出したらデバイス状態保持機構1002よりデバイス状態情報をWireless USBデバイス1010に転送する(1109)。この情報を受信したWireless USBデバイス1010のデバイス状態構築・復帰機構1013は、Wireless USBデバイス1010の状態をホストA1000での動作停止前の状態に復帰させる。ホストA1000は、Wireless USBデバイス1010が状態を復帰したら停止要求検出機構1103にて保留していたデータ転送を再開する(1110)。   When the wireless USB device 1010 terminates the processing at the host B 1100 and connects to the host A 1000 again, the wireless USB device 1010 requests the host A 1000 to release the stopped state (1108). When the stop request detection mechanism 1012 of the host A 1000 detects a request for canceling the stop state, the device state holding mechanism 1002 transfers device state information to the wireless USB device 1010 (1109). The device state construction / restoration mechanism 1013 of the wireless USB device 1010 that has received this information restores the state of the wireless USB device 1010 to the state before the operation stop in the host A1000. When the wireless USB device 1010 returns to the state, the host A 1000 resumes the data transfer held by the stop request detection mechanism 1103 (1110).

上述のように、接続先のホストを切換える前にデバイスの状態をホストが保持しているので、Wireless USBデバイス1010を複数のホストに接続した場合にも転送データの欠落が起こらないという効果を奏する。   As described above, since the host holds the device state before switching the connection destination host, there is an effect that transfer data is not lost even when the wireless USB device 1010 is connected to a plurality of hosts. .

また、通常、ホストは、接続されているがデータ転送の行われていない活線挿抜可能なデバイスに対しデバイスの生存チェックを行うための通信を行う。この生存チェックに対しデバイスから一定時間応答がない場合には、ホストはデバイスが存在しなくなったと判断してデバイスを切断する。図10における切断防止機構1005は、このホストによる自動切断を防止するためにファンクション機構1001に影響を与えないデータ転送を継続的に要求する(図11の上側の1104)。   In general, the host performs communication for performing a device survival check for a device that is connected but is not transferring data and is capable of hot-swapping. If there is no response from the device for this life check for a certain period of time, the host determines that the device no longer exists and disconnects the device. The disconnection prevention mechanism 1005 in FIG. 10 continuously requests data transfer that does not affect the function mechanism 1001 in order to prevent this automatic disconnection by the host (upper 1104 in FIG. 11).

なお、この切断防止のための転送要求は、バス制御から転送エラーとして返答される可能性がある(図11の1105)。その場合、切断防止機構1005は、再度切断防止のための転送を要求し(図11の下側の1104)、データ転送の要求がある状態を継続する。   Note that this transfer request for preventing disconnection may be returned as a transfer error from the bus control (1105 in FIG. 11). In that case, the disconnection prevention mechanism 1005 requests transfer for preventing disconnection again (1104 on the lower side of FIG. 11), and continues the state in which there is a request for data transfer.

また、切断防止機構1005は、"停止解除要求(図11の1108)"が通知された場合には、切断防止のための転送要求をキャンセルして(図11の1106)、切断防止のための転送要求を停止する。   In addition, when a “stop release request (1108 in FIG. 11)” is notified, the disconnection prevention mechanism 1005 cancels the transfer request for preventing disconnection (1106 in FIG. 11), and prevents disconnection. Stop the transfer request.

ホストは、データ転送を要求するデバイスに対しては生存チェックを行わないため、上述の処理を行うことによりデバイスがホストにより自動的に切断されることを防止することが可能となる。なお、切断防止機構1005は、長時間デバイスが再接続されない場合には、データ転送を停止し、ホストの自動切断を有効とする。   Since the host does not perform a survival check for a device that requests data transfer, it is possible to prevent the device from being automatically disconnected by the host by performing the above-described processing. Note that the disconnection prevention mechanism 1005 stops data transfer and enables automatic disconnection of the host when the device is not reconnected for a long time.

また、デバイス状態情報にデバイスの設定情報を含めることにより、動的に各ホストとの接続条件の制御が行えるようになる。これにより例えば、転送の多いホストには接続時間を多く割り当てるなどの制御が可能となる。   Also, by including device setting information in the device status information, it becomes possible to dynamically control connection conditions with each host. As a result, for example, it is possible to perform control such as assigning a large connection time to a host having a large number of transfers.

以上の説明では、ホストおよびデバイスでの処理はハードウェア的に実現されるように記載したが、これらの処理はプログラムによって実現しても良い。   In the above description, the processing in the host and the device is described as being realized by hardware, but these processing may be realized by a program.

第1の実施形態におけるブロック図Block diagram in the first embodiment 第1の実施形態におけるシーケンスチャートSequence chart in the first embodiment 第1の実施形態の実施例におけるブロック図Block diagram in an example of the first embodiment 第1の実施形態の実施例におけるシーケンスチャートSequence chart in the example of the first embodiment 第1の実施形態の第1の変形例におけるブロック図The block diagram in the 1st modification of 1st Embodiment. 第1の実施形態の第2の変形例におけるブロック図The block diagram in the 2nd modification of 1st Embodiment. 本発明のデバイスの状態遷移図State transition diagram of the device of the present invention 第2の実施形態におけるブロック図Block diagram in the second embodiment 第3の実施形態におけるブロック図Block diagram in the third embodiment 第4の実施形態におけるブロック図Block diagram in the fourth embodiment 第4の実施形態におけるシーケンスチャートSequence chart in the fourth embodiment

符号の説明Explanation of symbols

100 ホスト
101 ファンクション制御機構
102 停止制御機構
103 停止要求検出機構
104 バス管理機構
110 デバイス
111 ファンクション機構
112 停止要求通知機構
113 入力機構
114 バス制御機構
115 リンク状態表示機構
300 ホスト
301 USB−HUB制御機構
302 停止制御機構
303 停止要求検出機構
304 USBホストコントローラ
310 USB−HUB
311 USB−HUB機構
312 停止要求通知機構
313 停止ボタン
314 USBデバイスコントローラ
315 LED
DESCRIPTION OF SYMBOLS 100 Host 101 Function control mechanism 102 Stop control mechanism 103 Stop request detection mechanism 104 Bus management mechanism 110 Device 111 Function mechanism 112 Stop request notification mechanism 113 Input mechanism 114 Bus control mechanism 115 Link status display mechanism 300 Host 301 USB-HUB control mechanism 302 Stop control mechanism 303 Stop request detection mechanism 304 USB host controller 310 USB-HUB
311 USB-HUB mechanism 312 Stop request notification mechanism 313 Stop button 314 USB device controller 315 LED

Claims (16)

接続するホストに自デバイスが停止することを通知する停止要求通知手段を有するデバイスと、
前記デバイスからの停止要求通知を検出する停止要求検出手段と、前記停止要求通知を検出すると前記デバイスへのリンクを停止させる停止制御手段とを有するホストと、
を有することを特徴とする通信システム。
A device having stop request notification means for notifying the host to be connected that the own device is stopped;
A host having stop request detecting means for detecting a stop request notification from the device, and a stop control means for stopping a link to the device upon detecting the stop request notification;
A communication system comprising:
前記デバイスが、前記ホストとのリンクが停止したときに、リンクが停止した旨を示すリンク状態表示手段を有することを特徴とする請求項1記載の通信システム。   2. The communication system according to claim 1, wherein the device includes a link state display means for indicating that the link is stopped when the link with the host is stopped. 前記デバイスがハブであり、
前記ハブの下流に接続する記憶手段を有し、
前記停止制御手段が、停止要求を検出すると、前記記憶手段を停止させた後に、前記ハブへのリンクを停止させること
を特徴とする請求項1または2に記載の通信システム。
The device is a hub;
Storage means connected downstream of the hub;
3. The communication system according to claim 1, wherein when the stop control unit detects a stop request, the link to the hub is stopped after stopping the storage unit. 4.
前記停止要求通知手段が、前記ホストと前記デバイス間のリンク品質が低下した場合にデバイスが停止することを通知することを特徴とする請求項1に記載の通信システム。   The communication system according to claim 1, wherein the stop request notification means notifies that the device is stopped when the link quality between the host and the device is deteriorated. 前記停止要求通知手段が、デバイスの電源が断された場合に電源供給元を外部電源から内部のバッテリに変更した後に、デバイスが停止することを通知することを特徴とする請求項1記載の通信システム。   The communication according to claim 1, wherein the stop request notification means notifies that the device stops after the power supply source is changed from an external power source to an internal battery when the power of the device is cut off. system. 前記停止要求通知手段が、自デバイスの状態を前記ホストに通知し、
前記ホストが、前記デバイスの状態を通知したデバイスが切り離されている間デバイスの状態を保持し、前記デバイスが接続されたときに前記デバイスの状態をデバイスに通知させるデバイス状態保持手段を有することを特徴とする請求項1記載の通信システム。
The stop request notification means notifies the host of the status of the device,
The host has device state holding means for holding the state of the device while the device that has notified the state of the device is disconnected and notifying the device of the state of the device when the device is connected. The communication system according to claim 1.
接続するホストに自デバイスが停止することを通知する停止要求通知手段を有し、
当該通知を検出したホストによって自デバイスへのリンクが停止されることを特徴とするデバイス。
Having a stop request notification means for notifying the connected host that the own device is stopped;
A device in which a link to the device is stopped by a host that detects the notification.
接続されたデバイスから自デバイスを停止することが通知された場合に前記デバイスからの通知を検出する停止要求検出手段と、前記停止要求通知を検出すると前記デバイスへのリンクを停止させる停止制御手段とを有することを特徴とするホスト。   A stop request detecting means for detecting a notification from the device when the connected device is notified to stop the own device; and a stop control means for stopping a link to the device when the stop request notification is detected. A host characterized by comprising: デバイスに接続するホストに自デバイスが停止することを通知する停止要求通知ステップと、
前記停止要求通知を検出する停止要求検出ステップと、
前記停止要求通知を検出すると前記ホストと前記デバイス間のリンクを停止させる停止制御ステップと
を有することを特徴とする通信方法。
A stop request notification step for notifying the host connected to the device that the own device is stopped;
A stop request detection step for detecting the stop request notification;
And a stop control step of stopping a link between the host and the device when detecting the stop request notification.
前記停止制御ステップが実施されリンクが停止した場合に、リンクが停止した旨を示すリンク状態表示ステップ
を有することを特徴とする請求項9記載の通信方法。
The communication method according to claim 9, further comprising a link state display step indicating that the link is stopped when the stop control step is performed and the link is stopped.
前記停止制御ステップが、前記デバイスの下流に接続する記憶手段を停止させた後に前記デバイスへのリンクを停止させることを特徴とする請求項9または10に記載の通信方法。 The communication method according to claim 9 or 10, wherein the stop control step stops the link to the device after stopping the storage unit connected downstream of the device. 前記停止要求通知ステップが、デバイスに接続するホストと前記デバイス間のリンク品質が低下した場合にデバイスが停止することを通知することを特徴とする請求項9に記載の通信方法。   The communication method according to claim 9, wherein the stop request notification step notifies that the device is stopped when a link quality between the host connected to the device and the device is deteriorated. 前記停止要求通知ステップが、デバイスの電源が断された場合に電源供給元を外部電源から内部のバッテリに変更した後に、デバイスが停止することを通知することを特徴とする請求項9記載の通信方法。   10. The communication according to claim 9, wherein the stop request notifying step notifies that the device stops after the power supply source is changed from an external power source to an internal battery when the power of the device is cut off. Method. 前記停止要求通知ステップが、自デバイスの状態を前記ホストに通知し、
前記デバイスの状態を通知したデバイスがホストから切り離されている間デバイスの状態を保持し、前記デバイスが接続されたときに前記デバイスの状態をデバイスに通知させるデバイス状態保持ステップを有することを特徴とする請求項9記載の通信方法。
The stop request notification step notifies the host of the status of the device,
A device state holding step of holding a device state while the device that has notified the device state is disconnected from a host, and notifying the device of the device state when the device is connected; The communication method according to claim 9.
接続するホストに自デバイスが停止することを通知する停止要求通処理と、
当該通知を受けたホストによって自デバイスへのリンクが停止されたときに自デバイスの動作を停止する処理とをコンピュータに実施させることを特徴とするプログラム。
Stop request notification process for notifying the connected host that its own device will be stopped;
A program that causes a computer to execute a process of stopping the operation of a local device when a link to the local device is stopped by a host that has received the notification.
下流に接続されたデバイスから自デバイスを停止することが通知された場合に前記デバイスからの通知を受信する停止要求検出処理と、前記停止要求通知を受信すると前記デバイスへのリンクを停止させる停止制御処理とをコンピュータに実施させることを特徴とするプログラム。   A stop request detection process for receiving a notification from the device when the device connected downstream is notified to stop the device, and a stop control for stopping the link to the device when the stop request notification is received. A program that causes a computer to execute processing.
JP2006336545A 2006-12-14 2006-12-14 Communication system, device, host, communication method, and program Pending JP2008152316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006336545A JP2008152316A (en) 2006-12-14 2006-12-14 Communication system, device, host, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006336545A JP2008152316A (en) 2006-12-14 2006-12-14 Communication system, device, host, communication method, and program

Publications (1)

Publication Number Publication Date
JP2008152316A true JP2008152316A (en) 2008-07-03

Family

ID=39654459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006336545A Pending JP2008152316A (en) 2006-12-14 2006-12-14 Communication system, device, host, communication method, and program

Country Status (1)

Country Link
JP (1) JP2008152316A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011003021A (en) * 2009-06-18 2011-01-06 Fujitsu Ltd Controller
JP2011258181A (en) * 2010-05-14 2011-12-22 Toshiba Corp Information processor with usb port

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02146652A (en) * 1988-11-29 1990-06-05 Yokogawa Electric Corp I/o multiplexer
JPH04321126A (en) * 1991-04-22 1992-11-11 Nec Corp Data processor
JP2001350548A (en) * 2000-06-07 2001-12-21 Konica Corp Power control circuit of external storage device
JP2006235994A (en) * 2005-02-24 2006-09-07 Nec Electronics Corp Bridge system, bridge system control method, information processing apparatus, peripheral equipment, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02146652A (en) * 1988-11-29 1990-06-05 Yokogawa Electric Corp I/o multiplexer
JPH04321126A (en) * 1991-04-22 1992-11-11 Nec Corp Data processor
JP2001350548A (en) * 2000-06-07 2001-12-21 Konica Corp Power control circuit of external storage device
JP2006235994A (en) * 2005-02-24 2006-09-07 Nec Electronics Corp Bridge system, bridge system control method, information processing apparatus, peripheral equipment, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011003021A (en) * 2009-06-18 2011-01-06 Fujitsu Ltd Controller
US8738936B2 (en) 2009-06-18 2014-05-27 Fujitsu Limited Storage apparatus
JP2011258181A (en) * 2010-05-14 2011-12-22 Toshiba Corp Information processor with usb port

Similar Documents

Publication Publication Date Title
JP4219516B2 (en) POWER CONTROL DEVICE, POWER CONTROL METHOD, AND STORAGE MEDIUM
US8677177B2 (en) Apparatus, a recovery method and a program thereof
JP4930051B2 (en) Status monitor program
JP6130520B2 (en) MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD
JP2008033836A (en) Transmission device and software automatic update method
JP2006330770A (en) Usb host device
JP4655718B2 (en) Computer system and control method thereof
JP4646859B2 (en) USB device and USB connection system
JP6014627B2 (en) Electronic device power mode switching system
US8924614B2 (en) Host controller apparatus, information processing apparatus, and event information output method
JP2008152316A (en) Communication system, device, host, communication method, and program
JP5309932B2 (en) Relay device for connecting hot-plug device devices
JP2015026251A (en) Information processing device, control method for information processing device, and program
JP4966610B2 (en) Information processing system, emergency power-off method for information processing system
JP5241342B2 (en) Peripheral devices and information processing systems
JP4476010B2 (en) Serial communication processing device
JP2017033321A (en) Power supply control system, power supply control device, and power supply control method
JP6031757B2 (en) Transponder, its control method and control program
JP2004078388A (en) Slave device turning off power source of its own in synchronization with turn-off of power source of master device and power source control method
JP4104559B2 (en) Remote monitoring control system
JP3719115B2 (en) Monitoring control apparatus and monitoring control method
JP2005352942A (en) Usb equipment, host device, and usb connection system
JP2006048106A (en) Peripheral equipment device system
JP2012108648A (en) Fault monitoring device, fault monitoring system, fault monitoring method, and program
JP2011008819A (en) Usb device and usb connection system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080616

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110705

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110712