JP2007272736A - Connection device and device control system - Google Patents
Connection device and device control system Download PDFInfo
- Publication number
- JP2007272736A JP2007272736A JP2006099845A JP2006099845A JP2007272736A JP 2007272736 A JP2007272736 A JP 2007272736A JP 2006099845 A JP2006099845 A JP 2006099845A JP 2006099845 A JP2006099845 A JP 2006099845A JP 2007272736 A JP2007272736 A JP 2007272736A
- Authority
- JP
- Japan
- Prior art keywords
- information
- state
- state information
- command
- acquired
- 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.)
- Granted
Links
Images
Abstract
Description
この発明は、サーバ装置から通信回線を介してデバイスを制御するための接続装置及びデバイス制御システムに関する。 The present invention relates to a connection device and a device control system for controlling a device from a server device via a communication line.
従来、ロボットやセンサ等のデバイスをネットワークにそれぞれ接続して、これら様々なデバイスから発信される状態情報をリアルタイムで収集する手法が提案されている(例えば、特許文献1を参照。)。この手法では、デバイス固有の接続インタフェースを介することにより各デバイスとの間で情報をやり取りしている。 Conventionally, a method has been proposed in which devices such as robots and sensors are connected to a network, and status information transmitted from these various devices is collected in real time (see, for example, Patent Document 1). In this method, information is exchanged with each device via a device-specific connection interface.
しかしながら、上記手法において、デバイス自身に状態情報を発信する機能がない場合には、そのデバイスの状態を把握することができない。
この発明は、上記事情に着目してなされ、その目的とするところは、デバイスが外部に状態情報を発信できない場合でも、当該デバイスの駆動状態を把握できるようにし、柔軟なシステム構築を可能とする接続装置及びデバイス制御システムを提供することにある。
However, in the above method, when the device itself does not have a function of transmitting state information, the state of the device cannot be grasped.
The present invention has been made paying attention to the above circumstances, and the purpose of this invention is to make it possible to grasp the driving state of the device even when the device cannot transmit the state information to the outside, and to make a flexible system construction possible. To provide a connection apparatus and a device control system.
上記目的を達成するためにこの発明は、サーバ装置と、前記サーバ装置から通信回線を介して到来する指示内容を表すコマンド情報に従って駆動するデバイスとを備えるデバイス制御システムで用いられ、前記デバイスと前記サーバ装置との間を接続する接続装置であって、前記サーバ装置から前記通信回線を介して送られてくるコマンド情報を受信する受信手段と、前記受信手段により受信されたコマンド情報を前記デバイスに送信するコマンド情報送信手段と、前記コマンド情報をもとに前記デバイスの駆動状態を推定する推定手段と、前記推定された駆動状態を表す状態情報を作成する作成手段と、前記作成された状態情報を前記通信回線を介してサーバ装置に向け送信する状態情報送信手段とを具備することを特徴とする。 In order to achieve the above object, the present invention is used in a device control system including a server device and a device driven according to command information representing instruction content coming from the server device via a communication line, and the device and the device A connection device for connecting to a server device, the receiving device receiving command information sent from the server device via the communication line, and the command information received by the receiving device to the device Command information transmitting means for transmitting, estimating means for estimating the driving state of the device based on the command information, creating means for creating state information representing the estimated driving state, and the created state information Is transmitted to the server device via the communication line.
上記構成では、サーバ装置とデバイスとの間に接続装置が設けられ、サーバ装置から送信されたコマンド情報は、この接続装置を介してデバイスに送信される。接続装置は、コマンド情報からデバイスの駆動状態を推定し、推定された駆動状態をもとに状態情報を作成してサーバ装置に返送する。これにより、外部に状態情報を発信できないデバイスであっても、当該デバイスの駆動状態を把握してコントロールすることが可能となる。 In the above configuration, a connection device is provided between the server device and the device, and command information transmitted from the server device is transmitted to the device via the connection device. The connection apparatus estimates the driving state of the device from the command information, creates state information based on the estimated driving state, and returns it to the server apparatus. Thereby, even a device that cannot transmit state information to the outside can grasp and control the driving state of the device.
また、この発明は次のような各種構成を備えることも特徴とする。
第1の構成は、前記デバイスから前記状態情報を取得できるか否かを判定する判定手段と前記判定手段により前記状態情報を取得できると判定された場合に、前記デバイスから前記状態情報を取得する状態情報取得手段とをさらに具備し、前記状態情報送信手段は、前記判定手段により前記デバイスから前記状態情報を取得できると判定された場合は、前記状態情報取得手段により取得された状態情報を前記通信回線を介してサーバ装置に向け送信し、前記判定手段により前記デバイスから前記状態情報が取得できないと判定された場合は、前記作成手段により作成された状態情報を前記通信回線を介してサーバ装置に向け送信することを特徴とする。
このように構成すると、デバイスから状態情報を取得できる場合には、実際に当該デバイスから取得された状態情報がサーバ装置に送信されるため、デバイスの正確な駆動状態を把握することが可能となる。
The present invention is also characterized by having the following various configurations.
The first configuration acquires the state information from the device when it is determined by the determination unit that determines whether the state information can be acquired from the device and the determination unit can acquire the state information. A status information acquisition unit, and when the determination unit determines that the status information can be acquired from the device by the determination unit, the status information acquisition unit displays the status information acquired by the status information acquisition unit. When the determination means determines that the status information cannot be acquired from the device via the communication line, the server apparatus transmits the status information generated by the generation means via the communication line. It is characterized by transmitting to.
With this configuration, when the state information can be acquired from the device, the state information actually acquired from the device is transmitted to the server device, so that the accurate driving state of the device can be grasped. .
第2の構成は、前記受信手段は、前記デバイスの駆動時間を指定する情報を含むコマンド情報を受信し、前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記コマンド情報に含まれる駆動時間に基づいて前記デバイスの駆動状態を推定することを特徴とする。
これにより、コマンド情報に含まれた駆動時間をもとにデバイスの駆動状態が推定されるため、より確実性の高いデバイスの駆動状態を把握することができるようになる。
In the second configuration, the receiving unit receives command information including information specifying the drive time of the device, and the estimating unit determines that the state information cannot be acquired from the device by the determining unit In addition, the drive state of the device is estimated based on the drive time included in the command information.
As a result, since the drive state of the device is estimated based on the drive time included in the command information, the drive state of the device with higher certainty can be grasped.
第3の構成は、前記受信手段は、前記デバイスに実行させるデータを特定する情報を含むコマンド情報を受信し、前記コマンド情報により特定されたデータから前記デバイスの駆動時間を取得する駆動時間取得手段をさらに具備し、前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記駆動時間取得手段により取得された駆動時間に基づいて前記デバイスの駆動状態を推定することを特徴とする。 In a third configuration, the receiving means receives command information including information for specifying data to be executed by the device, and obtains the driving time of the device from the data specified by the command information The estimation unit estimates the drive state of the device based on the drive time acquired by the drive time acquisition unit when the determination unit determines that the state information cannot be acquired from the device. It is characterized by doing.
例えば、デバイスに実行させるデータを特定する情報として、デバイスで再生すべき音声ファイルのファイル名が与えられた場合に、接続装置は、ファイルから音声データの長さを取得し、再生に何秒かかるかを表す再生時間を取得する。そして、取得した再生時間をもとにデバイスの駆動状態を推定するようにする。このようにすると、デバイスに実行させるデータに応じた駆動状態を把握することが可能となる。 For example, when the file name of an audio file to be played back by the device is given as information for specifying data to be executed by the device, the connection device acquires the length of the audio data from the file, and how many seconds it takes to play back Get the playback time that represents. Then, the driving state of the device is estimated based on the acquired reproduction time. In this way, it becomes possible to grasp the driving state according to the data to be executed by the device.
第4の構成は、前記コマンド情報に対応付けて前記デバイスの駆動時間を指定する情報を記憶する記憶手段をさらに具備し、前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記受信されたコマンド情報をもとに前記記憶手段から該当する駆動時間を指定する情報を読み出し、この駆動時間を指定する情報に基づいて前記デバイスの駆動状態を推定することを特徴とする。
このように構成することにより、予めコマンド情報に対応付けて記憶される駆動時間が読み出され、読み出された駆動時間をもとにデバイスの駆動状態が推定される。このようにしても、確実性の高いデバイスの駆動状態を把握することが可能となる。
The fourth configuration further includes storage means for storing information specifying the drive time of the device in association with the command information, and the estimation means is configured to acquire state information from the device by the determination means. When it is determined, information specifying the corresponding driving time is read from the storage means based on the received command information, and the driving state of the device is estimated based on the information specifying the driving time. It is characterized by.
With this configuration, the driving time stored in advance in association with the command information is read, and the driving state of the device is estimated based on the read driving time. Even in this case, it is possible to grasp the driving state of the device with high reliability.
要するにこの発明によれば、デバイスが外部に状態情報を発信できない場合でも当該デバイスの駆動状態を把握できるようにし、柔軟なシステム構築を可能とする接続装置及びデバイス制御システムを提供することができる。 In short, according to the present invention, it is possible to provide a connection apparatus and a device control system that allow a device to grasp the driving state of the device even when the device cannot transmit the state information to the outside, thereby enabling a flexible system construction.
以下、図面を参照して本発明の実施の形態を詳細に説明する。
図1は、この発明に係わる接続装置を用いたデバイス制御システムの一実施形態を示す概略構成図である。
このシステムは、デバイス制御サーバSVと、ネットワークNWと、接続装置1−1〜4と、デバイスD−1〜4とを備える。デバイス制御サーバSVは、ネットワークNWを介してデバイスD−1〜4を制御するコマンド情報を送信する。接続装置1−1〜4は、デバイスD−1〜4とデバイス制御サーバSVとの間にそれぞれ設けられ、ネットワークNWに接続される。また、デバイスD−1〜4は、デバイスD−1,2のようにデバイスの駆動状態を表す状態情報が発信できないデバイスと、デバイスD−3,4のように状態情報の発信が可能なデバイスとが存在する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic configuration diagram showing an embodiment of a device control system using a connection apparatus according to the present invention.
This system includes a device control server SV, a network NW, connection devices 1-1 to 4, and devices D-1 to D-4. The device control server SV transmits command information for controlling the devices D-1 to D-4 via the network NW. The connection apparatuses 1-1 to 4 are respectively provided between the devices D-1 to D-4 and the device control server SV, and are connected to the network NW. The devices D-1 to D-4 are devices that are not capable of transmitting state information indicating the driving state of the device, such as devices D-1 and D2, and devices that are capable of transmitting state information such as the devices D-3 and D4. And exist.
図2は、この発明の接続装置の構成を示すブロック図である。ここでは、状態情報の発信が可能なデバイスD−3が接続装置1−3を介してデバイス制御サーバSVに接続されるものとする。
接続装置1−3は、ネットワークインタフェース(ネットワークI/F)11と、共通コマンド受信部12と、応答テーブル13と、デバイスコマンド変換部14と、デバイス接続インタフェース(デバイス接続I/F)15と、デバイス情報取得部16と、タイマー17と、共通データ生成部18とを備える。
FIG. 2 is a block diagram showing the configuration of the connection device of the present invention. Here, it is assumed that the device D-3 capable of transmitting state information is connected to the device control server SV via the connection device 1-3.
The connection device 1-3 includes a network interface (network I / F) 11, a common
ネットワークI/F11は、ネットワークNWを介してデバイス制御サーバSVと通信を行う。共通コマンド受信部12は、デバイス制御サーバSVから送信された共通コマンドを受信し、デバイスコマンド変換部14に送る。デバイスコマンド変換部14は、上記共通コマンドをデバイスD−3用の指示コマンドに変換する。変換された指示コマンドは、デバイス接続I/F15を介してデバイスD−3に送信される。
The network I /
デバイスD−3は、この指示コマンドにしたがって動作を開始し、デバイス情報取得部16から状態情報取得要求を受信すると、現在のデバイスの駆動状態を表す状態情報を接続装置1−3に送信する。デバイス情報取得部16は、タイマー17の終了タイミング等で、デバイス接続I/F15を介してデバイスD−3から状態情報を受信すると、受信した状態情報を共通データ生成部18に送る。共通データ生成部18は、デバイスD−3から取得した状態情報を共通の戻り値に変換してネットワークI/F11によりデバイス制御サーバSVに送信する。
The device D-3 starts operating according to this instruction command, and when receiving a status information acquisition request from the device
ところで、デバイスコマンド変換部14は、共通コマンドを指示コマンドに変換すると共に、この指示コマンドからデバイスD−3の駆動状態を推定し、デバイス駆動状態推定情報を生成する。デバイス情報取得部16は、デバイスD−3から状態情報が取得できない場合に、このデバイス駆動状態推定情報をもとにデバイスD−3の状態情報を作成する。
By the way, the device
図3は、外部に状態情報が発信できないデバイスD−1が上記接続装置に接続された状態を示す図である。この場合、デバイス情報取得部16は、デバイスD−1から状態情報が取得できないため、デバイスコマンド変換部14において推定されたデバイス駆動状態推定情報をもとにデバイスD−3の状態情報を作成して共通データ生成部18に送る。よって、デバイス制御サーバSVには、共通コマンドをもとに推定されたデバイスD−1の駆動状態が接続装置1−2から伝達される。
FIG. 3 is a diagram illustrating a state in which a device D-1 that cannot transmit state information to the outside is connected to the connection device. In this case, since the device
図4に、応答テーブル13の構成を示す。応答テーブル13には、共通コマンドに対応付けてデバイスの動作時間、状態返信タイプ、及び共通コマンドの戻り値等が記憶される。共通コマンド受信部12は、デバイス制御サーバSVから共通コマンドを受信すると、受信した共通コマンドをもとに応答テーブル13から該当する動作時間や状態返信タイプ等を読み出しデバイスコマンド変換部14に供給する。
FIG. 4 shows the configuration of the response table 13. The response table 13 stores the device operation time, the status reply type, the return value of the common command, and the like in association with the common command. When the common
次に、このように構成される接続装置の動作について説明する。
(1)デバイスの動作時間が共通コマンドで指定され、状態返信タイプY(開始時と完了時にACKを送信)の場合
図5に、この場合の接続装置における処理手順及び処理内容を示す。なお、デバイス制御サーバSVから「xx.wavの音声ファイルを10秒間再生する。」という内容の共通コマンド“Speak(xx.wav,10,Y)”がデバイスD−2に向け送信されたものとする。
Next, the operation of the connection device configured as described above will be described.
(1) When the device operation time is specified by a common command and status return type Y (ACK is sent at start and completion)
FIG. 5 shows a processing procedure and processing contents in the connection device in this case. Note that a common command “Speak (xx.wav, 10, Y)” with the content “Play an audio file of xx.wav for 10 seconds” is transmitted from the device control server SV to the device D-2. To do.
接続装置1−2の共通コマンド受信部12は、上記共通コマンドを受信すると、応答テーブル13を参照して状態返信タイプY(開始時と完了時にACKを送信)を取得し、デバイスコマンド変換部14へ共通コマンドと共に状態返信タイプを送る。デバイスコマンド変換部14は、受け取った共通コマンドをデバイス固有のコマンドに変換し、デバイス接続I/F15を介してデバイスD−2に駆動を指示するコマンド(xx.wavの音声ファイルを10秒間再生する)を送信する。これと同時に、デバイスコマンド変換部14は、デバイス情報取得部16に状態返信タイプを送る。
When receiving the common command, the common
さらに、デバイスコマンド変換部14は、接続装置1−2からデバイスD−2へのコマンドの転送時間や再生開始までの準備時間等を考慮して開始時刻t0と開始時刻t0から10秒後の完了時刻t1とを推定し、デバイス駆動状態推定情報(開始時刻t0から完了時刻t1まで駆動中)を作成する。
Further, the device
デバイスD−2は、受信されたコマンドにしたがって動作を開始する。すなわち、xx.wavの音声ファイルを10秒間再生する。デバイス情報取得部16は、デバイスD−2からは状態情報を取得することができないため、デバイスコマンド変換部14からデバイス駆動状態推定情報を取得する。そして、このデバイス駆動状態推定情報に基づいて開始時刻t0に、動作開始を表す情報を共通データ生成部18に送る。共通データ生成部18は、この動作開始を表すACK及び動作中を表す状態情報(Speaking)を生成し、共通コマンドの戻り値としてデバイス制御サーバSVに向け返送する。
Device D-2 starts operation according to the received command. That is, xx. Play a wav audio file for 10 seconds. Since the device
また、デバイス情報取得部16は、タイマー17でデバイスD−2の動作の完了時刻t1までカウントし、タイマー17が終了すると、動作完了を表す情報を共通データ生成部18に送る。共通データ生成部18は、この動作完了を表すACK及び待機中を表す状態情報(Idling)を生成しデバイス制御サーバSVに向け返送する。
このように、デバイス制御サーバSVは、デバイスD−2の動作開始時に、接続装置1−2から動作中を表す状態情報(Speaking)を受信し、動作完了時に待機中を表す状態情報(Idling)を受信することで、デバイスD−2の動作状態を把握することが可能となる。
Further, the device
As described above, the device control server SV receives the state information (Speaking) indicating that the device D-2 is in operation from the connection device 1-2 when the operation starts, and the state information (Idling) that indicates that the device D-2 is in standby when the operation is completed. It is possible to grasp the operating state of the device D-2.
(2)デバイスに実行させるファイルから動作時間を取得し、状態返信タイプX(α秒毎に状態情報を送信)の場合
図6に、この場合の接続装置における処理手順及び処理内容を示す。デバイス制御サーバSVから「xx.wavの音声ファイルを再生する。」という共通コマンド“Speak(xx.wav,X)”がデバイスD−2に向け送信されたものとする。
(2) When operating time is acquired from a file to be executed by the device, and status reply type X (sends status information every α seconds)
FIG. 6 shows a processing procedure and processing contents in the connection device in this case. It is assumed that a common command “Speak (xx.wav, X)” “Play audio file of xx.wav” is transmitted from the device control server SV to the device D-2.
接続装置1−2の共通コマンド受信部12は、上記共通コマンドを受信すると、共通コマンドにより特定される音声ファイルから音声データの長さを取得し、再生に何秒かかるかを表す再生時間(例えば10秒間)を取得し動作時間とする。また、共通コマンド受信部12は、応答テーブル13を参照して状態返信タイプX(α秒毎に状態情報を送信)を取得し、共通コマンドと状態返信タイプと上記取得された動作時間とをデバイスコマンド変換部14へ送る。デバイスコマンド変換部14は、受け取った共通コマンド及び動作時間をデバイス固有のコマンドに変換し、デバイス接続I/F15を介してデバイスD−2に駆動を指示するコマンド(xx.wavの音声ファイルを10秒間再生する)を送信する。これと同時に、デバイスコマンド変換部14は、デバイス情報取得部16に状態返信タイプを送る。
When the common
さらに、デバイスコマンド変換部14は、接続装置1−2からデバイスD−2へのコマンドの転送時間や再生開始までの準備時間等を考慮して開始時刻t0と開始時刻t0から10秒後の完了時刻t1とを推定し、デバイス駆動状態推定情報(開始時刻t0から完了時刻t1まで駆動中)を作成する。
Further, the device
デバイスD−2は、受信されたコマンドにしたがってxx.wavの音声ファイルの再生を開始する。デバイス情報取得部16は、デバイスD−2からは状態情報を取得することができないため、デバイスコマンド変換部14からデバイス駆動状態推定情報を取得する。そして、このデバイス駆動状態推定情報に基づいて開始時刻t0に、動作開始を表す情報を共通データ生成部18に送る。共通データ生成部18は、この動作開始を表す情報をもとに動作中を表す状態情報(Speaking)を生成し、共通コマンドの戻り値としてデバイス制御サーバSVに向け返送する。
Device D-2 follows xx. Playback of wav audio file is started. Since the device
また、デバイス情報取得部16は、デバイスD−2の動作開始時刻t0にタイマー17のカウントを開始させ、α秒ごとにデバイスD−2の駆動状態を表す情報を共通データ生成部18に送る。共通データ生成部18は、デバイス情報取得部16から駆動状態を表す情報を受信する度に、受信した駆動状態を表す情報を共通コマンドの戻り値としてデバイス制御サーバSVに向け返送する。そして、デバイス情報取得部16はタイマー17によりデバイスD−2の動作完了を検知すると、駆動状態を表す情報の送信を停止する。
このように、デバイス制御サーバSVは、デバイスD−2の動作開始から完了までの間、接続装置1−2からα秒毎に動作中を表す状態情報(Speaking)を受信することで、デバイスD−2の動作状態を把握することが可能となる。
In addition, the device
As described above, the device control server SV receives the state information (Speaking) indicating that the device D-2 is operating every α seconds from the start to the completion of the operation of the device D-2. -2 can be grasped.
(3)応答テーブルに記憶された動作時間を取得し、状態返信タイプZ(サーバからの問合せ時に状態情報を送信)の場合
図7に、この場合の接続装置における処理手順及び処理内容を示す。なお、デバイス制御サーバSVから「xx.wavの音声ファイルを応答テーブルに記述された動作時間再生する。」という共通コマンド“Speak(xx.wav,Z)”がデバイスD−2に向け送信されたものとする。
(3) When the operation time stored in the response table is acquired and the status reply type Z (sends status information when inquiring from the server)
FIG. 7 shows a processing procedure and processing contents in the connection device in this case. Note that the common command “Speak (xx.wav, Z)” “Reproduce the xx.wav audio file for the operation time described in the response table” is transmitted from the device control server SV to the device D-2. Shall.
接続装置1−2の共通コマンド受信部12は、上記共通コマンドを受信すると、応答テーブル13を参照して動作時間(例えば10秒間)と状態返信タイプZ(サーバからの問合せ時に状態情報を送信)とを取得し、デバイスコマンド変換部14へ共通コマンドと共に動作時間及び状態返信タイプを送る。デバイスコマンド変換部14は、受け取った共通コマンド及び動作時間をデバイス固有のコマンドに変換し、デバイス接続I/F15を介してデバイスD−2に駆動を指示するコマンド(xx.wavの音声ファイルを10秒間再生する)を送信する。これと同時に、デバイスコマンド変換部14は、デバイス情報取得部16に状態返信タイプを送る。
When receiving the common command, the common
さらに、デバイスコマンド変換部14は、接続装置1−2からデバイスD−2へのコマンドの転送時間や再生開始までの準備時間等を考慮して開始時刻t0と開始時刻t0から10秒後の完了時刻t1とを推定し、デバイス駆動状態推定情報(開始時刻t0から完了時刻t1まで駆動中)を作成する。
Further, the device
デバイスD−2は、受信されたコマンドにしたがってxx.wavの音声ファイルの10秒間再生する。デバイス情報取得部16は、デバイスD−2からは状態情報を取得することができないため、デバイスコマンド変換部14からデバイス駆動状態推定情報を取得する。そして、このデバイス駆動状態推定情報に基づいて開始時刻t0に、動作開始を表す情報を共通データ生成部18に送る。共通データ生成部18は、この動作開始を表す情報をもとに動作中を表す状態情報(Speaking)を生成し、共通コマンドの戻り値としてデバイス制御サーバSVに向け返送する。
Device D-2 follows xx. Play a wav audio file for 10 seconds. Since the device
また、デバイス情報取得部16は、タイマー17でデバイスD−2の動作の完了時刻t1までカウントする。この間に、デバイス制御サーバSVからデバイスD−2の動作状態の問合せが行われると、ネットワークI/F11、共通コマンド受信部12、及びデバイスコマンド変換部14を介してデバイス情報取得部16に通知される。この通知により、デバイス情報取得部16は、デバイスD−2が動作中であることを表す情報を共通データ生成部18に送る。共通データ生成部18は、動作中を表す状態情報(Speaking)を生成し、ネットワークI/F11を介してデバイス制御サーバSVに送信する。
Further, the device
一方、接続装置1−2は、タイマー17のカウント終了後に、デバイス制御サーバSVから動作状態の問合せを受けると、デバイス情報取得部16は、動作完了を表す情報を共通データ生成部18に送る。共通データ生成部18は、この動作完了を表す情報をもとに待機中を表す状態情報(Idling)を生成しデバイス制御サーバSVに向け返送する。
On the other hand, when the connection device 1-2 receives an inquiry about the operation state from the device control server SV after the
このように、デバイス制御サーバSVは、デバイスD−2の動作開始から完了までの間に動作状態の問合せを行った場合には、接続装置1−2から動作中を表す状態情報(Speaking)を受信する。また、動作完了後に動作状態の問合せを行った場合には、待機中を表す状態情報(Idling)を受信する。これにより、デバイスD−2の動作状態を把握することが可能となる。 As described above, when the device control server SV makes an inquiry about the operation state between the start of operation and the completion of the operation of the device D-2, the device control server SV receives the state information (Speaking) indicating the operation from the connection device 1-2. Receive. In addition, when an inquiry about the operation state is made after the operation is completed, the state information (Idling) indicating waiting is received. As a result, it is possible to grasp the operating state of the device D-2.
以上述べたように上記実施形態では、デバイス制御サーバSVとデバイスD−2との間に接続装置1−2を設ける。デバイス制御サーバSVから送信される共通コマンドは、接続装置1−2の共通コマンド受信部12において受信され、デバイスコマンド変換部14によりデバイス固有の指示コマンドに変換されたのちデバイスに送信される。また、デバイスコマンド変換部14は、指示コマンドからデバイスD−2の動作状態を推定しデバイス駆動状態推定情報を生成する。デバイス情報取得部16は、デバイスD−2から動作状態が取得できない場合に、上記デバイス駆動状態推定情報をもとに状態情報を作成し、デバイス制御サーバSVに向け返送するようにしている。
As described above, in the above embodiment, the connection device 1-2 is provided between the device control server SV and the device D-2. The common command transmitted from the device control server SV is received by the common
したがって、上記実施形態によれば、外部に現在の状態を発信できないデバイスの状態を把握してコントロールを行うことが可能となる。これにより、状態情報を外部に発信できない安価なデバイスを接続する際にも共通なインタフェースを用いてネットワークに簡単に接続できるため、システム構築にかかるコスト負担を低減し、容易にデバイスの接続数を増やすことができるようになる。 Therefore, according to the embodiment, it is possible to grasp and control the state of a device that cannot transmit the current state to the outside. This makes it easy to connect to a network using a common interface even when connecting an inexpensive device that cannot transmit status information to the outside, thus reducing the cost burden for system construction and easily increasing the number of connected devices. You can increase it.
なお、この発明は上記実施形態に限定されるものではない。例えば、上記実施形態では、デバイスコマンド変換部14においてデバイスの状態を推定するように構成したが、デバイスコマンド変換部14からコマンド自体をデバイス情報取得部16に送り,デバイス情報取得部16においてデバイス駆動状態推定情報を作成するように構成することもできる。また、上記実施形態では、デバイスの駆動時間をもとにデバイスの駆動状態を推定したが、この他にも、例えば、デバイスに所定の状態になるようなコマンド情報が送られた場合に、次のコマンドが送られるまでは、所定の状態が継続されているという駆動状態の推定を行うことも可能である。
The present invention is not limited to the above embodiment. For example, in the above embodiment, the device
また上記実施形態では、接続装置とデバイスとを別々に構成したが、例えば、接続装置をネットワークカード型に構成することで、デバイスが接続装置を併せ持つように一体化することも可能である。デバイス制御サーバSVは、いわゆるサーバ装置でなくても、例えば単なるパーソナル・コンピュータやデータロガー、あるいはロボット等でもよく、デバイスに対するコマンドの送信と、デバイスからの戻り値を受信する機能を有するものであれば構わない。その他、デバイスの種類や接続装置の構成及び動作手順とその内容についても、この発明の要旨を逸脱しない範囲で種々変形して実施できる。 Moreover, in the said embodiment, although the connection apparatus and the device were comprised separately, it is also possible to integrate so that a device may have a connection apparatus, for example by comprising a connection apparatus in a network card type. The device control server SV may not be a so-called server device but may be a simple personal computer, a data logger, a robot, or the like, and has a function of transmitting a command to the device and receiving a return value from the device. It doesn't matter. In addition, the device type, the configuration and operation procedure of the connection apparatus, and the contents thereof can be variously modified and implemented without departing from the gist of the present invention.
要するにこの発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 In short, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
SV…デバイス制御サーバ、NW…ネットワーク、1−1〜4…接続装置、D−1〜4…デバイス、11…ネットワークI/F、12…共通コマンド受信部、13…応答テーブル、14…デバイスコマンド変換部、15…デバイス接続I/F、16…デバイス情報取得部、17…タイマー、18…共通データ生成部。 SV ... Device control server, NW ... Network, 1-1-4 ... Connection device, D-1-4 ... Device, 11 ... Network I / F, 12 ... Common command receiver, 13 ... Response table, 14 ... Device command Conversion unit, 15 ... device connection I / F, 16 ... device information acquisition unit, 17 ... timer, 18 ... common data generation unit.
Claims (10)
前記サーバ装置から前記通信回線を介して送られてくるコマンド情報を受信する受信手段と、
前記受信手段により受信されたコマンド情報を前記デバイスに送信するコマンド情報送信手段と、
前記コマンド情報をもとに前記デバイスの駆動状態を推定する推定手段と、
前記推定された駆動状態を表す状態情報を作成する作成手段と、
前記作成された状態情報を前記通信回線を介してサーバ装置に向け送信する状態情報送信手段と
を具備することを特徴とする接続装置。 A connection device that is used in a device control system that includes a server device and a device that is driven according to command information that represents instruction content coming from the server device via a communication line, and that connects the device and the server device. There,
Receiving means for receiving command information sent from the server device via the communication line;
Command information transmitting means for transmitting command information received by the receiving means to the device;
Estimating means for estimating a driving state of the device based on the command information;
Creating means for creating state information representing the estimated driving state;
A connection device comprising: status information transmission means for transmitting the created status information to a server device via the communication line.
前記判定手段により前記状態情報を取得できると判定された場合に、前記デバイスから前記状態情報を取得する状態情報取得手段と
をさらに具備し、
前記状態情報送信手段は、前記判定手段により前記デバイスから前記状態情報を取得できると判定された場合は、前記状態情報取得手段により取得された状態情報を前記通信回線を介してサーバ装置に向け送信し、前記判定手段により前記デバイスから前記状態情報が取得できないと判定された場合は、前記作成手段により作成された状態情報を前記通信回線を介してサーバ装置に向け送信することを特徴とする請求項1記載の接続装置。 A determination unit that determines whether or not the state information can be acquired from the device; and a state information acquisition unit that acquires the state information from the device when the determination unit determines that the state information can be acquired. In addition,
The state information transmission unit transmits the state information acquired by the state information acquisition unit to the server device via the communication line when the determination unit determines that the state information can be acquired from the device. When the determination unit determines that the state information cannot be acquired from the device, the state information generated by the generation unit is transmitted to the server device via the communication line. Item 1. The connection device according to Item 1.
前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記コマンド情報に含まれる駆動時間に基づいて前記デバイスの駆動状態を推定することを特徴とする請求項1記載の接続装置。 The receiving means receives command information including information specifying a drive time of the device;
The said estimation means estimates the drive state of the said device based on the drive time contained in the said command information, when it determines with state information being unobtainable from the said device by the said determination means. The connection device according to 1.
前記コマンド情報により特定されたデータから前記デバイスの駆動時間を取得する駆動時間取得手段をさらに具備し、
前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記駆動時間取得手段により取得された駆動時間に基づいて前記デバイスの駆動状態を推定することを特徴とする請求項1記載の接続装置。 The receiving means receives command information including information for specifying data to be executed by the device;
Further comprising drive time acquisition means for acquiring the drive time of the device from the data specified by the command information;
The estimation unit estimates the drive state of the device based on the drive time acquired by the drive time acquisition unit when the determination unit determines that the state information cannot be acquired from the device. The connection device according to claim 1.
前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記受信されたコマンド情報をもとに前記記憶手段から該当する駆動時間を指定する情報を読み出し、この駆動時間を指定する情報に基づいて前記デバイスの駆動状態を推定することを特徴とする請求項1記載の接続装置。 Further comprising storage means for storing information specifying the drive time of the device in association with the command information;
The estimation means reads information specifying the corresponding drive time from the storage means based on the received command information when the determination means determines that the state information cannot be acquired from the device, The connection apparatus according to claim 1, wherein the driving state of the device is estimated based on information designating a driving time.
前記デバイスと前記サーバ装置との間を接続する接続装置を具備し、
前記接続装置は、
前記サーバ装置から前記通信回線を介して送られてくるコマンド情報を受信する受信手段と、
前記受信手段により受信されたコマンド情報を前記デバイスに送信するコマンド情報送信手段と、
前記コマンド情報をもとに前記デバイスの駆動状態を推定する推定手段と、
前記推定された駆動状態を表す状態情報を作成する作成手段と、
前記作成された状態情報を前記通信回線を介してサーバ装置に向け送信する状態情報送信手段と
を具備することを特徴とする接続システム。 A device control system comprising: a server device; and a device that is driven according to command information representing instruction content coming from the server device via a communication line,
Comprising a connection device for connecting between the device and the server device;
The connecting device is
Receiving means for receiving command information sent from the server device via the communication line;
Command information transmitting means for transmitting command information received by the receiving means to the device;
Estimating means for estimating a driving state of the device based on the command information;
Creating means for creating state information representing the estimated driving state;
A connection system comprising: status information transmitting means for transmitting the created status information to the server device via the communication line.
前記デバイスから前記状態情報を取得できるか否かを判定する判定手段と、
前記判定手段により前記状態情報を取得できると判定された場合に、前記デバイスから前記状態情報を取得する状態情報取得手段と
をさらに具備し、
前記接続装置の前記状態情報送信手段は、前記判定手段により前記デバイスから前記状態情報が取得できると判定された場合は、前記状態情報取得手段により取得された状態情報を前記通信回線を介してサーバ装置に向け送信し、前記判定手段により前記デバイスから前記状態情報が取得できないと判定された場合は、前記作成手段により作成された状態情報を前記通信回線を介してサーバ装置に向け送信することを特徴とする請求項6記載の接続システム。 The connecting device is
Determination means for determining whether or not the state information can be acquired from the device;
When it is determined by the determination means that the state information can be acquired, the apparatus further comprises state information acquisition means for acquiring the state information from the device,
The state information transmission unit of the connection apparatus, when the determination unit determines that the state information can be acquired from the device, transmits the state information acquired by the state information acquisition unit to the server via the communication line. When the determination unit determines that the state information cannot be acquired from the device, the state information generated by the generation unit is transmitted to the server device via the communication line. The connection system according to claim 6, wherein:
前記接続装置の前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記コマンド情報に含まれる駆動時間に基づいて前記デバイスの駆動状態を推定することを特徴とする請求項6記載の接続システム。 The receiving means of the connection apparatus receives command information including information specifying a driving time of the device;
The estimation unit of the connection apparatus estimates a driving state of the device based on a driving time included in the command information when the determination unit determines that the state information cannot be acquired from the device. The connection system according to claim 6.
前記受信手段は、前記デバイスに実行させるデータを特定する情報を含むコマンド情報を受信し、
前記コマンド情報により特定されたデータから前記デバイスの駆動時間を取得する駆動時間取得手段をさらに具備し、
前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記駆動時間取得手段により取得された駆動時間に基づいて前記デバイスの駆動状態を推定することを特徴とする請求項6記載の接続システム。 In the connection device,
The receiving means receives command information including information for specifying data to be executed by the device;
Further comprising drive time acquisition means for acquiring the drive time of the device from the data specified by the command information;
The estimation unit estimates the drive state of the device based on the drive time acquired by the drive time acquisition unit when the determination unit determines that the state information cannot be acquired from the device. The connection system according to claim 6.
前記接続装置の前記推定手段は、前記判定手段により前記デバイスから状態情報が取得できないと判定された場合に、前記受信されたコマンド情報をもとに前記記憶手段から該当する駆動時間を指定する情報を読み出し、この駆動時間を指定する情報に基づいて前記デバイスの駆動状態を推定することを特徴とする請求項6記載の接続システム。 The connection device further includes storage means for storing information specifying the drive time of the device in association with the command information,
The estimation unit of the connection device specifies information corresponding to the driving time from the storage unit based on the received command information when the determination unit determines that the state information cannot be acquired from the device. 7. The connection system according to claim 6, wherein the driving state of the device is estimated based on information specifying the driving time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006099845A JP4181585B6 (en) | 2006-03-31 | Connection apparatus and device control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006099845A JP4181585B6 (en) | 2006-03-31 | Connection apparatus and device control system |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2007272736A true JP2007272736A (en) | 2007-10-18 |
JP4181585B2 JP4181585B2 (en) | 2008-11-19 |
JP4181585B6 JP4181585B6 (en) | 2009-01-21 |
Family
ID=
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014533384A (en) * | 2011-08-23 | 2014-12-11 | ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. | Method and system for managing devices in batch |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0918974A (en) * | 1995-06-29 | 1997-01-17 | Matsushita Electric Ind Co Ltd | Device control adaptor |
JPH0951347A (en) * | 1995-08-04 | 1997-02-18 | Nippon Telegr & Teleph Corp <Ntt> | Hierarchical network management system |
JPH1069468A (en) * | 1996-06-14 | 1998-03-10 | Internatl Business Mach Corp <Ibm> | Device and method for generating prediction response |
JPH11215573A (en) * | 1998-01-28 | 1999-08-06 | Toshiba Corp | Distributed network type supervisory system |
JP2000148432A (en) * | 1998-11-09 | 2000-05-30 | Sharp Corp | Network management device |
JP2000155728A (en) * | 1998-11-24 | 2000-06-06 | Matsushita Electric Ind Co Ltd | Network administration system and method |
JP2000181864A (en) * | 1998-12-15 | 2000-06-30 | Nec Corp | State prediction information transmission type monitoring system and terminal monitoring method |
JP2000207321A (en) * | 1999-01-11 | 2000-07-28 | Seiko Epson Corp | Server for network connection |
JP2001168921A (en) * | 1999-12-06 | 2001-06-22 | Hitachi Ltd | Data relay method by gateway device |
JP2002140242A (en) * | 2000-10-31 | 2002-05-17 | Canon Inc | Device and method for network management, and storing medium |
JP2002163181A (en) * | 2000-11-28 | 2002-06-07 | Nec Soft Ltd | File transfer system and file transfer method |
JP2002215485A (en) * | 2001-01-24 | 2002-08-02 | Canon Inc | Network device controller |
JP2002222125A (en) * | 2001-01-26 | 2002-08-09 | Canon Inc | Network device controller |
JP2003216516A (en) * | 2002-01-18 | 2003-07-31 | Canon Inc | Equipment management device, equipment management system, equipment management method, recording medium, and program |
JP2003281006A (en) * | 2002-03-19 | 2003-10-03 | Ntt Comware Corp | Device and program for managing electric appliance and recording medium recorded with the program |
JP2004180260A (en) * | 2002-03-20 | 2004-06-24 | Sanyo Electric Co Ltd | Signal converting apparatus |
JP2004254296A (en) * | 2003-01-31 | 2004-09-09 | Canon Inc | Recording device, communication device, recording system, and its control method |
JP2005078631A (en) * | 2003-08-28 | 2005-03-24 | Sharp Corp | Policy-driven system and method for querying device |
JP2005156659A (en) * | 2003-11-21 | 2005-06-16 | I-O Data Device Inc | Network management system |
JP2005174303A (en) * | 2003-11-17 | 2005-06-30 | Canon Inc | Device management apparatus, method of controlling same, and control program |
JP2005520377A (en) * | 2002-03-11 | 2005-07-07 | リサーチ イン モーション リミテッド | System and method for pushing data to a mobile device |
JP2007515696A (en) * | 2003-09-30 | 2007-06-14 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Response estimation in systems with content directory services |
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0918974A (en) * | 1995-06-29 | 1997-01-17 | Matsushita Electric Ind Co Ltd | Device control adaptor |
JPH0951347A (en) * | 1995-08-04 | 1997-02-18 | Nippon Telegr & Teleph Corp <Ntt> | Hierarchical network management system |
JPH1069468A (en) * | 1996-06-14 | 1998-03-10 | Internatl Business Mach Corp <Ibm> | Device and method for generating prediction response |
JPH11215573A (en) * | 1998-01-28 | 1999-08-06 | Toshiba Corp | Distributed network type supervisory system |
JP2000148432A (en) * | 1998-11-09 | 2000-05-30 | Sharp Corp | Network management device |
JP2000155728A (en) * | 1998-11-24 | 2000-06-06 | Matsushita Electric Ind Co Ltd | Network administration system and method |
JP2000181864A (en) * | 1998-12-15 | 2000-06-30 | Nec Corp | State prediction information transmission type monitoring system and terminal monitoring method |
JP2000207321A (en) * | 1999-01-11 | 2000-07-28 | Seiko Epson Corp | Server for network connection |
JP2001168921A (en) * | 1999-12-06 | 2001-06-22 | Hitachi Ltd | Data relay method by gateway device |
JP2002140242A (en) * | 2000-10-31 | 2002-05-17 | Canon Inc | Device and method for network management, and storing medium |
JP2002163181A (en) * | 2000-11-28 | 2002-06-07 | Nec Soft Ltd | File transfer system and file transfer method |
JP2002215485A (en) * | 2001-01-24 | 2002-08-02 | Canon Inc | Network device controller |
JP2002222125A (en) * | 2001-01-26 | 2002-08-09 | Canon Inc | Network device controller |
JP2003216516A (en) * | 2002-01-18 | 2003-07-31 | Canon Inc | Equipment management device, equipment management system, equipment management method, recording medium, and program |
JP2005520377A (en) * | 2002-03-11 | 2005-07-07 | リサーチ イン モーション リミテッド | System and method for pushing data to a mobile device |
JP2003281006A (en) * | 2002-03-19 | 2003-10-03 | Ntt Comware Corp | Device and program for managing electric appliance and recording medium recorded with the program |
JP2004180260A (en) * | 2002-03-20 | 2004-06-24 | Sanyo Electric Co Ltd | Signal converting apparatus |
JP2004254296A (en) * | 2003-01-31 | 2004-09-09 | Canon Inc | Recording device, communication device, recording system, and its control method |
JP2005078631A (en) * | 2003-08-28 | 2005-03-24 | Sharp Corp | Policy-driven system and method for querying device |
JP2007515696A (en) * | 2003-09-30 | 2007-06-14 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Response estimation in systems with content directory services |
JP2005174303A (en) * | 2003-11-17 | 2005-06-30 | Canon Inc | Device management apparatus, method of controlling same, and control program |
JP2005156659A (en) * | 2003-11-21 | 2005-06-16 | I-O Data Device Inc | Network management system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014533384A (en) * | 2011-08-23 | 2014-12-11 | ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. | Method and system for managing devices in batch |
US9521039B2 (en) | 2011-08-23 | 2016-12-13 | Huawei Device Co., Ltd | Method and system for managing devices in batches |
Also Published As
Publication number | Publication date |
---|---|
JP4181585B2 (en) | 2008-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4333655B2 (en) | Content receiving apparatus and content receiving method | |
US8713336B2 (en) | Communication apparatus, power supply control method, display apparatus, communication method, and computer program product | |
US9319233B2 (en) | Method and system for controlling network device and recording medium storing program for executing the method | |
JP2006352584A (en) | Communication equipment, control method and program thereof | |
US7958253B2 (en) | Method and apparatus for transmitting and receiving content on distributed storage system | |
JP2007323137A (en) | Electronic device system and controller | |
JP5679425B2 (en) | Display device, disclosure control device, disclosure control method, and program | |
CN108986821A (en) | A kind of method and apparatus that room and device relationships are set | |
JP2005157712A5 (en) | ||
JP4070776B2 (en) | POSITION INFORMATION MANAGEMENT DEVICE AND POSITION INFORMATION MANAGEMENT SYSTEM | |
US10033782B2 (en) | Information processing apparatus, information processing method, information processing system and program thereof | |
US20140226949A1 (en) | Content synchronization system, content-synchronization control device, and content playback device | |
JP4181585B6 (en) | Connection apparatus and device control system | |
JP4181585B2 (en) | Connection apparatus and device control system | |
WO2012172799A1 (en) | Content processing device, content processing system, content processing method, and content processing program | |
JP2010258894A (en) | Video receiving apparatus, method of receiving video, and program | |
JP3999790B2 (en) | Device platform connection equipment | |
CN104852841A (en) | instant messaging communication device and method | |
JP2006209336A (en) | File format conversion server, mobile terminal device, and file format conversion system | |
JP4903519B2 (en) | Device control apparatus and method, and program | |
KR100911318B1 (en) | Apparatus and method for managing message in home network | |
US20090248389A1 (en) | Electronic device for emulating other electronic devices and method for operating an electronic device | |
JP3820260B2 (en) | Image transmission system and image transmission method | |
JP2008113358A (en) | Communication system and device | |
JP2008226127A (en) | Device and method for enhancing reliability of message in distributed processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080516 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080603 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080731 |
|
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: 20080826 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080829 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4181585 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110905 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120905 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130905 Year of fee payment: 5 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |