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
JP5866620B2 - Peripheral device server - Google Patents
[go: Go Back, main page]

JP5866620B2 - Peripheral device server - Google Patents

Peripheral device server Download PDF

Info

Publication number
JP5866620B2
JP5866620B2 JP2012095397A JP2012095397A JP5866620B2 JP 5866620 B2 JP5866620 B2 JP 5866620B2 JP 2012095397 A JP2012095397 A JP 2012095397A JP 2012095397 A JP2012095397 A JP 2012095397A JP 5866620 B2 JP5866620 B2 JP 5866620B2
Authority
JP
Japan
Prior art keywords
peripheral device
information processing
server
state
device server
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.)
Active
Application number
JP2012095397A
Other languages
Japanese (ja)
Other versions
JP2013222420A (en
JP2013222420A5 (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.)
Silex Technology Inc
Original Assignee
Silex Technology Inc
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 Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2012095397A priority Critical patent/JP5866620B2/en
Publication of JP2013222420A publication Critical patent/JP2013222420A/en
Publication of JP2013222420A5 publication Critical patent/JP2013222420A5/ja
Application granted granted Critical
Publication of JP5866620B2 publication Critical patent/JP5866620B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Computer And Data Communications (AREA)

Description

本願発明は周辺機器利用システムに関し,特に,システムの中核をなす周辺機器サーバに関するものである。   The present invention relates to a peripheral device utilization system, and more particularly to a peripheral device server that forms the core of the system.

USB機器(以下USBデバイス)に代表される周辺機器をネットワークで共有する周辺機器利用システム(以下デバイスサーバシステム)という技術が知られている(非特許文献1)。デバイスサーバシステムとは,図1に示すようなシステムであり,USBデバイス103(図1ではUSBカメラを例示)が接続された周辺機器サーバ102(以下デバイスサーバ)とPC101などのコンピュータとがネットワーク接続されている環境において,PC101からネットワーク越しに当該USBデバイスを利用させることのできるシステムである。   A technique called a peripheral device utilization system (hereinafter referred to as device server system) that shares peripheral devices represented by USB devices (hereinafter referred to as USB devices) over a network is known (Non-Patent Document 1). The device server system is a system as shown in FIG. 1, and a peripheral device server 102 (hereinafter referred to as a device server) to which a USB device 103 (USB camera is illustrated in FIG. 1) is connected to a computer such as a PC 101 via a network. In this environment, the USB device can be used from the PC 101 over the network.

デバイスサーバシステムは,PC101とUSBデバイス103との接続,すなわち通信パイプが存在していることを前提として動作するシステムである。このため,接続が存在している状態では,PC101はUSBデバイス103が自らに直接接続されたかのように,その状態を逐一認識することができる。その一方,この接続が失われるとPC101はUSBデバイス103を全く認識することができなくなる。つまり,デバイスサーバシステムにおいて,PC101がUSBデバイス103を利用する場合,両者の間の接続(通信パイプ)は常に維持する必要がある。   The device server system is a system that operates on the assumption that a connection between the PC 101 and the USB device 103, that is, a communication pipe exists. For this reason, in the state where the connection exists, the PC 101 can recognize the state one by one as if the USB device 103 was directly connected to itself. On the other hand, if this connection is lost, the PC 101 cannot recognize the USB device 103 at all. That is, in the device server system, when the PC 101 uses the USB device 103, the connection (communication pipe) between the two must always be maintained.

サイレックス・テクノロジー株式会社 ホームページ<http://www.silex.jp/products/usbdeviceserver/index.html?init>Silex Technology Co., Ltd. Home Page <http://www.silex.jp/products/usbdeviceserver/index.html?init>

ところで,近年のPCは,所定時間操作されないなどの条件が満たされると,ハードディスクの動作を停止させるなどして消費電力を低減するモード(以下省電力モード)へ移行(遷移)する機構を標準的に備えている。   By the way, in recent PCs, when a condition such as not being operated for a predetermined time is satisfied, a mechanism for transitioning to a mode for reducing power consumption (hereinafter referred to as a power saving mode) by stopping the operation of the hard disk is standard. In preparation.

図1のデバイスサーバシステムにおけるPC101も例外ではなく,所定条件が満足されると,自身を省電力モードに移行させることができる。消費電力の低減が強く求められる近年においては,このような省電力機構は必須かつ標準的に具備すべき機構である。しかし,デバイスサーバシステムにおいては,省電力モードからの復帰を,PC101とUSBデバイス103とを直接USBケーブルで接続したときのように動作させることができないという問題があった。以下でこの原因について詳細に説明する。   The PC 101 in the device server system of FIG. 1 is no exception, and can transition to the power saving mode when a predetermined condition is satisfied. In recent years, where reduction of power consumption is strongly demanded, such a power saving mechanism is an essential and standard mechanism. However, in the device server system, there is a problem that the return from the power saving mode cannot be performed as when the PC 101 and the USB device 103 are directly connected by the USB cable. This cause will be described in detail below.

図1に示すデバイスサーバシステムにおいて,PC101がデバイスサーバ102を経由してUSBデバイス103を使用している場合,PC101が省電力モードに移行すると,USBデバイス103はデバイスサーバ102を経由してその事実を認識することができる。次いで,これを認識したUSBデバイス103は,自身も省電力モードに移行する。   In the device server system shown in FIG. 1, when the PC 101 uses the USB device 103 via the device server 102, the fact that the USB device 103 passes via the device server 102 when the PC 101 shifts to the power saving mode. Can be recognized. Next, the USB device 103 that has recognized this shifts itself to the power saving mode.

問題は,両者が省電力モードに移行した後,USBデバイス103が何らかの要因により省電力モードから稼働状態に状態遷移した場合に発生する。具体的には,デバイスサーバシステムでは,USBデバイス103のほうがPC101より先に省電力モードから稼働状態に遷移した場合に,PC101がこれを認識することができないという問題が発生するわけである。   The problem occurs when the USB device 103 transitions from the power saving mode to the operating state due to some factor after both have entered the power saving mode. Specifically, in the device server system, when the USB device 103 shifts from the power saving mode to the operating state before the PC 101, the PC 101 cannot recognize this.

これは,PC101が省電力モードに移行する際に,PC101とUSBデバイス103との接続が切断されてしまうことが原因となっている。上述したように,デバイスサーバシステムにおいて,PC101がUSBデバイス103を利用するには,PC101とデバイスサーバ102との間に通信パイプ,具体的にはTCPセッションが必要となるが,PC101が省電力モードに移行すると,このセッションが切断されてしまう。結果として,PC101とUSBデバイス103との接続も切断されてしまい,PC101はUSBデバイス103の状態を認識できなくなるわけである。   This is because the connection between the PC 101 and the USB device 103 is disconnected when the PC 101 shifts to the power saving mode. As described above, in the device server system, in order for the PC 101 to use the USB device 103, a communication pipe, specifically a TCP session, is required between the PC 101 and the device server 102. If you go to, this session will be disconnected. As a result, the connection between the PC 101 and the USB device 103 is also disconnected, and the PC 101 cannot recognize the state of the USB device 103.

一方で,省電力モードにあるPC101においてもTCPセッションを維持することは技術的に可能である。しかし,消費電力低減の効果が限定的となるため,そのような動作は好ましくない。   On the other hand, it is technically possible to maintain a TCP session even in the PC 101 in the power saving mode. However, such an operation is not preferable because the effect of reducing power consumption is limited.

本願発明はかかる課題を解決するものである。すなわち,デバイスサーバシステムにおいてPCの省電力モードを有効に利用しつつ,必要に応じてPCを稼働状態に移行させ,PC−USBデバイス間のトランザクションを円滑に復活させることのできるデバイスサーバを提供することを目的とする。   The present invention solves this problem. In other words, a device server is provided that can effectively restore the power saving mode of a PC in a device server system, and can smoothly restore a transaction between a PC and a USB device by shifting the PC to an operating state as necessary. For the purpose.

本願発明にかかる第1の形態は,周辺機器が接続されている周辺機器サーバとPCとがネットワーク接続されている周辺機器利用システムにおける,周辺機器サーバであって,周辺機器と,当該周辺機器を利用するPCとを1対1に対応付けて管理する周辺機器利用状況管理手段と,周辺機器がサスペンド状態からレジューム状態に遷移したことを検出する周辺機器レジューム検出手段と,周辺機器のレジューム状態への遷移を検出すると,周辺機器利用状況管理手段が管理する情報に基づき周辺機器に対応付けられているPCを特定し,かつ当該PCを稼働状態に遷移させる指示が含まれ,当該PCが受信可能な通信パケットをネットワークに向けて送信する稼働指示送信手段と,を備える。   A first aspect according to the present invention is a peripheral device server in a peripheral device utilization system in which a peripheral device server to which a peripheral device is connected and a PC are network-connected. Peripheral device usage status management means for managing the PCs used in a one-to-one correspondence, peripheral device resume detection means for detecting that the peripheral device has transitioned from the suspended state to the resume state, and the resume state of the peripheral device Is detected, the PC associated with the peripheral device is specified based on the information managed by the peripheral device usage status management means, and an instruction to shift the PC to the operating state is included and can be received by the PC Operation instruction transmitting means for transmitting a communication packet toward the network.

好ましくは,周辺機器がサスペンド状態である場合,周辺機器利用状況管理手段が管理する情報に基づき当該周辺機器に対応付けられているPC以外のPCから送信された当該周辺機器に対する通信をブロックする通信ブロック手段,をさらに備える。   Preferably, when the peripheral device is in a suspended state, communication that blocks communication to the peripheral device transmitted from a PC other than the PC associated with the peripheral device based on information managed by the peripheral device use state management unit Block means.

好ましくは,通信ブロック手段がブロックする通信は,周辺機器に対する接続要求である。   Preferably, the communication blocked by the communication block means is a connection request to the peripheral device.

好ましくは,稼働指示送信手段が送信する通信パケットはWakeOnLANパケットである。   Preferably, the communication packet transmitted by the operation instruction transmission unit is a WakeOnLAN packet.

本願発明にかかる第2の形態は,周辺機器が接続されている周辺機器サーバと情報処理装置とがネットワーク接続されている周辺機器利用システムにおける,周辺機器サーバの利用方法であって,周辺機器と,当該周辺機器を利用する情報処理装置とを1対1に対応付けるステップと,周辺機器がサスペンド状態からレジューム状態に遷移したことを検出するステップと,周辺機器のレジューム状態への遷移を検出すると,周辺機器に対応付けられている情報処理装置を特定し,かつ当該情報処理装置を稼働状態に遷移させる指示が含まれ,当該情報処理装置が受信可能な通信パケットをネットワークに向けて送信するステップと,を含む周辺機器サーバの利用方法であるA second embodiment according to the present invention is a method for using a peripheral device server in a peripheral device use system in which a peripheral device server to which a peripheral device is connected and an information processing apparatus are network-connected. a step of attaching correspondence between an information processing apparatus using the peripheral device in a one-to-one, the steps of detecting that the peripheral device transitions from the suspend state to the resume state, upon detecting the transition to resume the state of the peripheral device identifies the information processing apparatus associated with the peripheral device, and an instruction to shift the information processing apparatus in the operational state is included, and transmits the information processing apparatus toward a receivable communication packet to the network step And using the peripheral device server .

好ましくは,周辺機器がサスペンド状態である場合,周辺機器に対応付けられている情報処理装置以外の情報処理装置から送信された当該周辺機器に対する通信をブロックするステップ,をさらに備える。 Preferably, when the peripheral device is in a suspended state, the communication device further includes a step of blocking communication with respect to the peripheral device transmitted from an information processing device other than the information processing device associated with the peripheral device.

好ましくは,周辺機器に対するブロックすべき通信は,周辺機器に対する接続要求である。 Preferably, the block should do communication to peripheral devices is a connection request to the peripheral device.

好ましくは,周辺機器のレジューム状態への遷移を検出した際に,周辺機器に対応付けられている情報処理装置を稼働状態に遷移させる指示が含まれ,当該情報処理装置が受信可能な通信パケットとはWakeOnLANパケットである。 Preferably, when a transition of the peripheral device to the resume state is detected, an instruction to transition the information processing device associated with the peripheral device to the operating state is included, and a communication packet that can be received by the information processing device Is a WakeOnLAN packet.

本願発明によれば,デバイスサーバシステムにおいて,PCが省電力モードに移行しPCとデバイスサーバとの間のセッションが失われ,PCとUSBデバイスとの接続が切断されたとしても,省電力モードのあいだ,デバイスサーバが他のPCによる当該USBデバイスの利用を制限し,かつデバイスが稼働状態に遷移した場合に,これを認識したデバイスサーバがPCにWakeOnLANパケットを送信しPCを稼働状態に遷移させることで,再度PCとUSBデバイスとの接続を復活させることができる。結果として,デバイスサーバシステムにおいて,PCの省電力モードを有効に利用しつつも,必要に応じてUSBデバイスからPCを起動させ,PC−USBデバイス間のトランザクションを円滑に再開させることができる。   According to the present invention, in the device server system, even if the PC shifts to the power saving mode, the session between the PC and the device server is lost, and the connection between the PC and the USB device is disconnected, In the meantime, when the device server restricts the use of the USB device by another PC and the device transits to the operating state, the device server that recognizes the device transmits a WakeOnLAN packet to the PC and transits the PC to the operating state. Thus, the connection between the PC and the USB device can be restored again. As a result, in the device server system, the PC can be started from the USB device as necessary, and the transaction between the PC and the USB device can be smoothly resumed while effectively using the power saving mode of the PC.

以下では図面を参照し本願発明に係る実施例を説明する。
[実施例]
[シーケンス図]
Embodiments according to the present invention will be described below with reference to the drawings.
[Example]
[Sequence Diagram]

図2は本願発明にかかるデバイスサーバシステムのシーケンス図である。まずは,このシーケンス図を通じて本願発明の全体動作を説明する。   FIG. 2 is a sequence diagram of the device server system according to the present invention. First, the overall operation of the present invention will be described through this sequence diagram.

図2では,PC101のIPのアドレスおよびMACアドレスは,それぞれ192.168.100.10およびaa:bb:cc:dd:ee:ffとし,USBデバイス103の名称はDev1としている。   In FIG. 2, the IP address and MAC address of the PC 101 are 192.168.100.10 and aa: bb: cc: dd: ee: ff, respectively, and the name of the USB device 103 is Dev1.

TCPセッション201はPC101とデバイスサーバ102との間に確立された通信パイプであり,USB転送202はデバイスサーバ102とUSBデバイス103との間に確立された通信パイプである。これらTCPセッション201およびUSB転送202を用いて,PC101はUSBデバイス103と接続している。   The TCP session 201 is a communication pipe established between the PC 101 and the device server 102, and the USB transfer 202 is a communication pipe established between the device server 102 and the USB device 103. The PC 101 is connected to the USB device 103 using the TCP session 201 and the USB transfer 202.

なお,デバイスサーバ102は図3に示すテーブルを管理しており,自身に接続しているUSBデバイス103のステータスとそのUSBデバイスを使用しているPC101とを把握している。TCPセッション201およびUSB転送202が確立されている現在の状態は,図3の状態1に示す内容(動作中)となっている。   The device server 102 manages the table shown in FIG. 3, and grasps the status of the USB device 103 connected to itself and the PC 101 that uses the USB device. The current state in which the TCP session 201 and the USB transfer 202 are established is the content (in operation) shown in state 1 in FIG.

ステータスの種類は「動作中」,「サスペンド」,「レジューム中」および「使用可(図示せず)」の4つが存在する。動作中はPCが当該USBデバイスを使用している(接続している)ことを意味し,サスペンドは当該USBデバイスを使用しているPCが存在するものの,USBデバイス自身は非稼働状態になっていることを意味し,レジューム中は当該USBデバイスがサスペンド状態から稼働状態への移行中であることを意味する。   There are four types of status: “Active”, “Suspend”, “Resuming”, and “Available (not shown)”. During operation, it means that the PC is using (connecting) to the USB device. Suspend means that there is a PC using the USB device, but the USB device itself is not operating. During resume, this means that the USB device is in the transition from the suspended state to the operating state.

好ましくは,使用可以外のステータスでは,テーブルで管理されているPC101以外のPCはUSBデバイス103を使用することができない。たとえば,デバイスサーバ102が,ステータスが「動作中」,「サスペンド」および「レジューム中」であるUSBデバイス103に対する他のPCからの接続要求を受信しても,これをブロックしUSBデバイス103に接続させない。これにより特定のPCがデバイスを使用している間(動作中)はもちろん,サスペンド状態に遷移する直前におけるテーブルは,サスペンド中に書き換えられる事がなく、再びデバイスが稼働状態に遷移する際に接続されるべきPCは固定化されていることとなる。   Preferably, a PC other than the PC 101 managed in the table cannot use the USB device 103 in a status other than usable. For example, even if the device server 102 receives a connection request from another PC to the USB device 103 whose status is “operating”, “suspend”, and “resume”, this is blocked and connected to the USB device 103 I won't let you. As a result, the table immediately before the transition to the suspend state is not rewritten during the suspend state, of course, while a specific PC is using the device (during operation), and it is connected when the device transitions to the operating state again. The PC to be performed is fixed.

ステップ203にて,PC101はサスペンド処理を開始する。一般的には,PC101が所定時間操作されなかった場合などにこのような処理が開始される。   In step 203, the PC 101 starts suspend processing. Generally, such processing is started when the PC 101 is not operated for a predetermined time.

ステップ204にて,PC101はデバイスサーバ102に対して,USBデバイス103をサスペンドするよう要求する。この要求は,PC101とデバイスサーバ102との間は,既に確立されているTCPセッション201を通じて送信される。この要求を受信したデバイスサーバ102は,PC101のネットワークアドレスおよびMACアドレスを取得し,後述する記憶領域に記憶させる。なお,PC101のIPアドレスが192.168.100.10のため,取得するネットワークアドレスは192.168.100.255となる。   In step 204, the PC 101 requests the device server 102 to suspend the USB device 103. This request is transmitted between the PC 101 and the device server 102 through the already established TCP session 201. Upon receiving this request, the device server 102 acquires the network address and MAC address of the PC 101 and stores them in a storage area described later. Since the IP address of the PC 101 is 192.168.100.10, the acquired network address is 192.168.100.255.

ステップ205にて,デバイスサーバ102は,先ほど受信したサスペンド要求を,USB転送202を通じてUSBデバイス103に送信する。   In step 205, the device server 102 transmits the suspend request received earlier to the USB device 103 through the USB transfer 202.

ステップ206にて,サスペンド要求を受信したUSBデバイス103は,自身のサスペンド処理を開始し省電力モードに移行する。   In step 206, the USB device 103 that has received the suspend request starts its own suspend process and shifts to the power saving mode.

ステップ207にて,デバイスサーバ102は,サスペンド状態(省電力モード)となったUSBデバイス103を認識する。この時,図3のテーブルは状態2に示す内容となる。すなわち,ステータスがサスペンドに更新される。   In step 207, the device server 102 recognizes the USB device 103 in the suspended state (power saving mode). At this time, the table of FIG. That is, the status is updated to suspend.

ステップ208にて,デバイスサーバ102は,USBデバイス103のサスペンド処理が完了した旨をPC101に応答する。   In step 208, the device server 102 responds to the PC 101 that the suspend process of the USB device 103 has been completed.

ステップ209にて,この応答を受信したPC101は,自身をサスペンド状態に移行させる。   In step 209, the PC 101 that has received this response shifts itself to the suspended state.

以上のシーケンスがPC101およびUSBデバイス103が省電力モードに移行する処理である。以下では,USBデバイス103が省電力モードから稼働状態へ移行(レジューム)することをトリガとするシーケンスについて説明する。   The above sequence is a process for the PC 101 and the USB device 103 to shift to the power saving mode. Hereinafter, a sequence triggered by the transition (resume) of the USB device 103 from the power saving mode to the operating state will be described.

ステップ210にて,USBデバイス103がレジューム処理を開始する。レジュームとは,サスペンド状態から稼働状態への移行中のステータスである。レジュームのトリガは,たとえば,USBデバイス103が人為的に操作されたり,何らかのデータがインプットされたりする場合が一般的である。   In step 210, the USB device 103 starts the resume process. Resume is a status during the transition from the suspended state to the operating state. For example, the resume trigger is generally performed when the USB device 103 is manually operated or some data is input.

ステップ211にて,USBデバイス103はリモートウェイクアップ信号をデバイスサーバ102に送信する。これによりデバイスサーバ102はUSBデバイス103が稼働状態に移行したことを認識する。   In step 211, the USB device 103 transmits a remote wakeup signal to the device server 102. As a result, the device server 102 recognizes that the USB device 103 has shifted to the operating state.

ステップ212にて,この信号を受信したデバイスサーバ102は,PC101をサスペンド状態から稼働状態に移行させるべく,WakeOnLANパケット(以下WOLパケット)を送信する。このパケットは,ステップ204で取得したネットワークアドレスを宛先とし,パケットの中身であるペイロードには取得したMACアドレスが設定される。なお,この時点で,USBデバイス103は稼働状態にあるが,PC101とデバイスサーバ102の間のTCPセッションは無効になっている。このことを示すため,図3のテーブルは状態3に示す内容となる。つまり,ステータスがレジューム中となる。   In step 212, the device server 102 that has received this signal transmits a WakeOnLAN packet (hereinafter referred to as a WOL packet) to shift the PC 101 from the suspended state to the operating state. This packet is addressed to the network address acquired in step 204, and the acquired MAC address is set in the payload that is the content of the packet. At this time, the USB device 103 is in an operating state, but the TCP session between the PC 101 and the device server 102 is invalid. To show this, the table of FIG. In other words, the status is resumed.

ステップ213にて,WOLパケットを受信したPC101は,パケットのペイロードをチェックし,自身のMACアドレスが設定されているため,サスペンド中にある自身の動作モードを稼働状態に移行させる。   In step 213, the PC 101 that has received the WOL packet checks the payload of the packet, and since its own MAC address is set, the PC 101 shifts its own operation mode to the operating state.

ステップ214にて,稼働状態となったPC101は,デバイスサーバ102の検索およびUSBデバイス103のステータスを要求する。   In step 214, the PC 101 that is in the operating state requests the device server 102 to search and the status of the USB device 103.

ステップ215にて,デバイスサーバ102は,この要求に対してUSBデバイスの使用者およびステータス(レジューム中)を応答する。応答内容は図3のテーブルの情報をもとに生成される。   In step 215, the device server 102 responds to the request with the user and status (resume) of the USB device. The response content is generated based on the information in the table of FIG.

ステップ216にて,この応答を受信したPC101は,自身が使用者となっているUSBデバイス103を特定し,そのステータスがレジューム中であるUSBデバイス103に接続を行う。使用者が自身でありステータスがレジューム中であるということは,自身がサスペンド状態に移行する以前に使用していたUSBデバイス103が稼働状態に移行したことを意味する。なお,接続が完了すると図3のテーブルは状態1に示す内容となる。つまり,ステータスが動作中となる。   In step 216, the PC 101 that has received this response identifies the USB device 103 that is the user, and connects to the USB device 103 whose status is being resumed. The fact that the user is himself and the status is being resumed means that the USB device 103 used before the transition to the suspended state has shifted to the operating state. When the connection is completed, the table shown in FIG. In other words, the status is in operation.

ステップ217にて,USBデバイス103のステータスがレジューム中から動作中に移行したことを認識すると,確立されたTCPセッション201およびUSB転送202を利用してUSBデバイス103とのトランザクションを再開する。   If it is recognized in step 217 that the status of the USB device 103 has changed from being resumed to being in operation, the transaction with the USB device 103 is resumed using the established TCP session 201 and USB transfer 202.

以上が本願発明の全体動作であるが,特に,ステップ211においてデバイスサーバ102がUSBデバイス103のレジューム動作を認識すること,ステップ212においてデバイスサーバ102がPC101に向けてWOLパケットの送信すること,およびステップ216においてTCPセッションが復元されることが本願発明のポイントとなる動作である。
[デバイスサーバの動作フロー]
The above is the overall operation of the present invention. In particular, the device server 102 recognizes the resume operation of the USB device 103 in step 211, the device server 102 transmits a WOL packet to the PC 101 in step 212, and The operation of the present invention is that the TCP session is restored in step 216.
[Operation flow of device server]

図4にてデバイスサーバ102の動作フローを説明する。図から明らかなとおり,デバイスサーバ102の動作フローは,サスペンドタスクおよびレジュームタスクの2つのタスクより構成されている。   The operation flow of the device server 102 will be described with reference to FIG. As is apparent from the figure, the operation flow of the device server 102 is composed of two tasks, a suspend task and a resume task.

まず,サスペンドタスクについて説明する。ステップ401にて,サスペンド要求を受信したかどうかを判断する。このサスペンド要求はPC101から送信されたものである。   First, the suspended task is explained. In step 401, it is determined whether a suspend request has been received. This suspend request is transmitted from the PC 101.

ステップ402にて,PC101のネットワークアドレスおよびMACアドレスを取得する。取得したそれぞれのアドレスはデバイスサーバ102の備える記憶領域420に記憶させる。   In step 402, the network address and MAC address of the PC 101 are acquired. Each acquired address is stored in the storage area 420 of the device server 102.

ステップ403にて,ステップ401にて受信したサスペンド要求をUSBデバイス103に向けて送信する。   In step 403, the suspend request received in step 401 is transmitted to the USB device 103.

ステップ404にて,USBデバイス103がサスペンド状態に移行したかどうかを判断する。   In step 404, it is determined whether the USB device 103 has transitioned to the suspended state.

ステップ405にて,USBデバイス103がサスペンド状態に移行した旨をPC101に応答する。   In step 405, the PC 101 responds that the USB device 103 has transitioned to the suspended state.

次いでレジュームタスクについて説明する。ステップ411にて,USBデバイス103からのリモートウェイクアップ信号を受信したかどうかを判断する。   Next, the resume task will be described. In step 411, it is determined whether a remote wakeup signal from the USB device 103 has been received.

ステップ412にて,WOLパケットをPC101に向けて送信する。上述した通り,このパケットの宛先アドレスは,記憶領域420に記憶されているPC101のネットワークアドレスであり,ペイロードはPC101のMACアドレスとなる。   In step 412, the WOL packet is transmitted to the PC 101. As described above, the destination address of this packet is the network address of the PC 101 stored in the storage area 420, and the payload is the MAC address of the PC 101.

ステップ413にて,PC101よりUSBデバイス103のステータス要求を受信したかどうかを判断する。   In step 413, it is determined whether a status request for the USB device 103 has been received from the PC 101.

ステップ414にて,受信したステータス要求に対する応答をPC101に送信する。
[まとめ]
In step 414, a response to the received status request is transmitted to the PC 101.
[Summary]

以上説明したように,本願発明によれば,デバイスサーバシステムにおいて,PCが省電力モードに移行しPCとデバイスサーバとの間のセッションが失われ,PCとUSBデバイスとの接続が切断されたとしても,省電力モードのあいだ,デバイスサーバが他のPCによる当該USBデバイスの利用を制限し,かつデバイスが稼働状態に遷移した場合に,これを認識したデバイスサーバがPCにWakeOnLANパケットを送信しPCを稼働状態に遷移させることで,再度PCとUSBデバイスとの接続を復活させることができる。結果として,デバイスサーバシステムにおいて,PCの省電力モードを有効に利用しつつも,必要に応じてUSBデバイスからPCを起動させ,PC−USBデバイス間のトランザクションを円滑に再開させることができる。
As described above, according to the present invention, in the device server system, the PC shifts to the power saving mode, the session between the PC and the device server is lost, and the connection between the PC and the USB device is disconnected. In the power saving mode, when the device server restricts the use of the USB device by another PC and the device transits to the operating state, the device server that recognizes the device transmits a WakeOnLAN packet to the PC. By transitioning to the operating state, the connection between the PC and the USB device can be restored again. As a result, in the device server system, the PC can be started from the USB device as necessary, and the transaction between the PC and the USB device can be smoothly resumed while effectively using the power saving mode of the PC.

システム全体図Overall system diagram シーケンス図Sequence Diagram デイバスサーバが管理するテーブルとその遷移Tables managed by the device server and their transitions デバイスサーバの動作フローDevice server operation flow

411 リモートウェイクアップ信号受信
412 WOLパケット送信
420 記憶領域

411 Remote wakeup signal reception 412 WOL packet transmission 420 Storage area

Claims (8)

周辺機器が接続されている周辺機器サーバと情報処理装置とがネットワーク接続されている周辺機器利用システムにおける,周辺機器サーバであって,
周辺機器と,当該周辺機器を利用する情報処理装置とを1対1に対応付けて管理する周辺機器利用状況管理手段と,
前記周辺機器がサスペンド状態からレジューム状態に遷移したことを検出する周辺機器レジューム検出手段と,
前記周辺機器のレジューム状態への遷移を検出すると,前記周辺機器利用状況管理手段が管理する情報に基づき前記周辺機器に対応付けられている情報処理装置を特定し,かつ当該情報処理装置を稼働状態に遷移させる指示が含まれ,当該情報処理装置が受信可能な通信パケットをネットワークに向けて送信する稼働指示送信手段と,
を備える周辺機器サーバ。
A peripheral device server in a peripheral device utilization system in which a peripheral device to which a peripheral device is connected and an information processing device are connected to a network,
Peripheral device utilization status management means for managing a peripheral device and an information processing apparatus that uses the peripheral device in a one-to-one correspondence;
Peripheral device resume detection means for detecting that the peripheral device has transitioned from a suspended state to a resume state;
When a transition to the resume state of the peripheral device is detected, an information processing device associated with the peripheral device is identified based on information managed by the peripheral device usage status management unit, and the information processing device is in an operating state An operation instruction transmitting means for transmitting a communication packet that can be received by the information processing apparatus toward the network;
A peripheral device server.
前記周辺機器がサスペンド状態である場合,前記周辺機器利用状況管理手段が管理する情報に基づき当該周辺機器に対応付けられている情報処理装置以外の情報処理装置から送信された当該周辺機器に対する通信をブロックする通信ブロック手段,
をさらに備える請求項1に記載の周辺機器サーバ。
When the peripheral device is in a suspended state, communication with the peripheral device transmitted from an information processing device other than the information processing device associated with the peripheral device based on information managed by the peripheral device usage status management unit is performed. Communication block means for blocking,
The peripheral device server according to claim 1, further comprising:
前記通信ブロック手段がブロックする通信は,前記周辺機器に対する接続要求である,
ことを特徴とする請求項に記載の周辺機器サーバ。
The communication blocked by the communication block means is a connection request to the peripheral device.
The peripheral device server according to claim 2 , wherein:
前記稼働指示送信手段が送信する通信パケットはWakeOnLANパケットである,
ことを特徴とする請求項1から3のいずれかに記載の周辺機器サーバ。
The communication packet transmitted by the operation instruction transmission unit is a WakeOnLAN packet.
The peripheral device server according to claim 1, wherein the peripheral device server is a peripheral device server.
周辺機器が接続されている周辺機器サーバと情報処理装置とがネットワーク接続されている周辺機器利用システムにおける,周辺機器サーバの利用方法であって,
周辺機器と,当該周辺機器を利用する情報処理装置とを1対1に対応付けるステップと,
前記周辺機器がサスペンド状態からレジューム状態に遷移したことを検出するステップと,
前記周辺機器のレジューム状態への遷移を検出すると,前記周辺機器に対応付けられている情報処理装置を特定し,かつ当該情報処理装置を稼働状態に遷移させる指示が含まれ,当該情報処理装置が受信可能な通信パケットをネットワークに向けて送信するステップと,
を含む周辺機器サーバの利用方法。
A method for using a peripheral device server in a peripheral device use system in which a peripheral device server to which a peripheral device is connected and an information processing device are connected to a network.
A one-to-one correspondence between a peripheral device and an information processing device that uses the peripheral device;
Detecting that the peripheral device has transitioned from a suspended state to a resume state;
When the transition of the peripheral device to the resume state is detected, an information processing device associated with the peripheral device is specified, and an instruction to shift the information processing device to the operating state is included. Transmitting a receivable communication packet toward the network;
To use a peripheral device server.
前記周辺機器がサスペンド状態である場合,前記周辺機器に対応付けられている情報処理装置以外の情報処理装置から送信された前記周辺機器に対する通信をブロックするステップ,
をさらに含む請求項5に記載の周辺機器サーバの利用方法。
When the peripheral device is in a suspended state, blocking communication with respect to the peripheral device transmitted from an information processing device other than the information processing device associated with the peripheral device;
The usage method of the peripheral device server according to claim 5, further comprising:
前記周辺機器に対するブロックすべき前記通信は,前記周辺機器に対する接続要求である,
ことを特徴とする請求項に記載の周辺機器サーバの利用方法。
The communication to be blocked to the peripheral device is a connection request to the peripheral device.
The method of using a peripheral device server according to claim 6 .
当該情報処理装置を稼働状態に遷移させる指示が含まれ,当該情報処理装置が受信可能な通信パケットとはWakeOnLANパケットである,
ことを特徴とする請求項5から7のいずれかに記載の周辺機器サーバの利用方法。
Contains instructions for shifting the information processing apparatus in the operational state, the information processing apparatus can receive the communication packet is WakeOnLAN packet,
The method for using a peripheral device server according to claim 5, wherein the peripheral device server is used.
JP2012095397A 2012-04-19 2012-04-19 Peripheral device server Active JP5866620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012095397A JP5866620B2 (en) 2012-04-19 2012-04-19 Peripheral device server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012095397A JP5866620B2 (en) 2012-04-19 2012-04-19 Peripheral device server

Publications (3)

Publication Number Publication Date
JP2013222420A JP2013222420A (en) 2013-10-28
JP2013222420A5 JP2013222420A5 (en) 2015-06-18
JP5866620B2 true JP5866620B2 (en) 2016-02-17

Family

ID=49593309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012095397A Active JP5866620B2 (en) 2012-04-19 2012-04-19 Peripheral device server

Country Status (1)

Country Link
JP (1) JP5866620B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4428287B2 (en) * 2005-05-19 2010-03-10 日本電気株式会社 Thin client system
JP4215767B2 (en) * 2005-10-20 2009-01-28 Necインフロンティア株式会社 Information processing terminal and power control method
JP4470006B2 (en) * 2008-04-30 2010-06-02 サイレックス・テクノロジー株式会社 Power saving support device

Also Published As

Publication number Publication date
JP2013222420A (en) 2013-10-28

Similar Documents

Publication Publication Date Title
CN104246733B (en) Data redirection for universal serial bus device
US9036464B2 (en) Method and system for distributing network traffic among multiple direct hardware access datapaths
US8726093B2 (en) Method and system for maintaining direct hardware access in the event of network interface card failure
JP5678723B2 (en) Switch, information processing apparatus and information processing system
JP2004334792A (en) Network service system, service agency processing method, storage medium storing computer readable program, and program
JP5704904B2 (en) DATA PROCESSING DEVICE, DATA PROCESSING DEVICE CONTROL METHOD, AND PROGRAM
JP2010231759A (en) Mobile terminal device equipped with mobile cloud platform
CN102591717A (en) Method, device and system for processing service information of access device and virtual device
US20260012768A1 (en) Technologies for streaming device role reversal
KR20110046287A (en) Energy-Efficient Ethernet Link Transition with Zero Packet Loss with Driver Fast Failover
CN103905498B (en) Service information management method and service information management system
JP5866620B2 (en) Peripheral device server
CN108234595B (en) Log transmission method and system
WO2025218534A1 (en) Data transmission channel management method and apparatus, electronic device and readable storage medium
CN103095562A (en) Cloud calculating intelligent gateway
US20130198548A1 (en) Apparatus and method for saving power of usb device
US10372632B2 (en) Information processing system, information processing method and information processing device
CN115361348A (en) Method for communicating with web browser performed by data acquisition device
JP5940566B2 (en) Network system, constant connection method, server, electronic device, program
KR101189433B1 (en) Object-based Middleware System for Home network system
KR101148364B1 (en) A dynamic integration among heterogeneous middleware, memory management system and the method for controller in cyber-physical system
JP2011160238A (en) Network device
JP5640759B2 (en) Thin client server and application control method
CN121056290A (en) Data processing methods and systems
CN103945262A (en) A remote download maintenance system and method based on digital TV middleware

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150420

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150420

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20150420

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20150703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150924

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: 20151204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151207

R150 Certificate of patent or registration of utility model

Ref document number: 5866620

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250