Nothing Special   »   [go: up one dir, main page]

JP6539497B2 - Communication relay system, device accommodation terminal, server side computer, program, and communication relay method - Google Patents

Communication relay system, device accommodation terminal, server side computer, program, and communication relay method Download PDF

Info

Publication number
JP6539497B2
JP6539497B2 JP2015104996A JP2015104996A JP6539497B2 JP 6539497 B2 JP6539497 B2 JP 6539497B2 JP 2015104996 A JP2015104996 A JP 2015104996A JP 2015104996 A JP2015104996 A JP 2015104996A JP 6539497 B2 JP6539497 B2 JP 6539497B2
Authority
JP
Japan
Prior art keywords
server
tty
file
application
computer
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
JP2015104996A
Other languages
Japanese (ja)
Other versions
JP2016218871A (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.)
NTT Communications Corp
Original Assignee
NTT Communications Corp
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 NTT Communications Corp filed Critical NTT Communications Corp
Priority to JP2015104996A priority Critical patent/JP6539497B2/en
Publication of JP2016218871A publication Critical patent/JP2016218871A/en
Application granted granted Critical
Publication of JP6539497B2 publication Critical patent/JP6539497B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Description

本発明は、遠隔に設置された端末に接続される機器とセンタ側のサーバとの間の通信を中継する技術に関連するものである。   The present invention relates to a technology for relaying communication between a device connected to a remotely installed terminal and a server on the center side.

近年IoTやM2Mの市場が成長しており、インターネットやVPNといったIPネットワークに接続できるディジタルカメラやセンサなどの非PC(パソコン)端末も普及してきた。しかしながら、IPネットワークに接続できない旧来の機器も多く存在している。   In recent years, the IoT and M2M markets have grown, and non-PC (personal computer) terminals such as digital cameras and sensors that can be connected to IP networks such as the Internet and VPN have also become widespread. However, there are many old devices that can not connect to the IP network.

特に安価なセンサやGPSチップ、Zigbee(登録商標)チップなど小型ワンチップマイコンでは入出力用として2端子のシリアルインタフェースが割り当てられているのみであり、Ethernet(登録商標)コントローラなどは実装されていないものが多数ある。これらの機器を利用する場合、RS−232CやUSBシリアル変換ICを介してホストコンピュータに接続される。   Especially in the case of low-cost sensors, GPS chips, and small one-chip microcomputers such as Zigbee (registered trademark) chips, only a 2-pin serial interface is assigned for input and output, and Ethernet (registered trademark) controllers are not implemented. There are many things. When using these devices, they are connected to a host computer via RS-232C or USB serial conversion IC.

上記ホストコンピュータとなる端末10とシリアルインタフェースを持つ機器20(後述するように、これをTTY機器と呼ぶ)とが接続されたシステム構成の例を図1に示す。図1に示す構成において、TTY機器20がインタフェース14(USB、DB9等)を介して端末10に接続されている。   An example of a system configuration in which the terminal 10 serving as the host computer and the device 20 having a serial interface (this will be called a TTY device as will be described later) is connected is shown in FIG. In the configuration shown in FIG. 1, the TTY device 20 is connected to the terminal 10 via the interface 14 (USB, DB 9 or the like).

端末10は、一般的なオペレーティングシステム(Linux(登録商標)、Windows(登録商標)OS等)を有するコンピュータであり、RS−232CやシリアルUSB変換ICに対応したデバイスドライバ13がインストールされている。   The terminal 10 is a computer having a general operating system (Linux (registered trademark), Windows (registered trademark) OS or the like), and a device driver 13 corresponding to RS-232C or serial USB conversion IC is installed.

当該デバイスドライバ13に論理的に対応付られているデバイスファイル12が存在している。このデバイスファイルはTTY(TeleTypeWriter)と呼ばれ、例えばLinux(登録商標)では/dev/tty.USB0などという名前になる。   A device file 12 logically associated with the device driver 13 exists. This device file is called TTY (TeleTypeWriter). For example, in Linux (registered trademark) / dev / tty. It will be named USB0 etc.

端末10には、シリアルインタフェースを持つ機器を制御するアプリケーション11がインストールされている。アプリケーション11はデバイスファイル12に対してread/writeすることでシリアルインタフェースを持つ機器20に接続される。このため、このシリアルインタフェースを持つ機器をTTY機器と呼ぶ。   In the terminal 10, an application 11 for controlling a device having a serial interface is installed. The application 11 is connected to the device 20 having a serial interface by reading / writing the device file 12. Therefore, a device having this serial interface is called a TTY device.

TTY機器20と接続されるアプリケーション11はTTY機器20に固有であり、TTY機器20が小型コンピュータのようなものであれば、ログインプロンプトが表示されユーザ名やパスワードを入力するためにminicomのようなユーザ対話型の通信ソフトウェアが使われる。一方Zigbee(登録商標)チップへの入力はそのチップで規定されたバイナリデータ形式データになっていなければならず、一般的には専用のソフトウェアが使われてminicomのようなユーザ対話型ソフトウェアは使用できない。また、モデムのようなTTY機器20が接続されていれば、通信電文はPPP形式が要求される。このように、アプリケーション11はTTY機器20の種類によって専用の機能をもち、共通的に使用できるソフトウェアは存在しない。   The application 11 connected to the TTY device 20 is specific to the TTY device 20, and if the TTY device 20 is like a small computer, a login prompt is displayed and a minicom like for entering a username and password. User interactive communication software is used. On the other hand, the input to the Zigbee (R) chip must be binary data format data defined by the chip, and generally, dedicated software is used and user interactive software such as minicom is used Can not. Also, if a TTY device 20 such as a modem is connected, the communication message is required to be in PPP format. Thus, the application 11 has a dedicated function depending on the type of the TTY device 20, and there is no commonly used software.

特開平06−175828号公報JP 06-175828 A 特開2013−005110号公報JP, 2013-005110, A

上記のTTY機器20はIPネットワークインタフェースを持たないため、端末10により収集されたデータをネットワーク経由でデータセンタなどに送信する場合、アプリケーション11に通信機能を組む必要がある。上述のとおり、TTY機器20に応じた専用のソフトウェアが使用されるので、通信機能を組み込む場合にもそれぞれのソフトウエアごとに通信機能を組み込む必要がある。   Since the TTY device 20 described above does not have an IP network interface, when transmitting data collected by the terminal 10 to a data center or the like via a network, it is necessary to build a communication function in the application 11. As described above, since dedicated software corresponding to the TTY device 20 is used, even when the communication function is incorporated, it is necessary to incorporate the communication function for each software.

IPネットワークインタフェースを持たない複数のTTY機器20をネットワーク化してデータ集約を行おうとする場合、例えば図2に示すような構成をとる。図2の構成では、センター側データ集約装置30が備えられる。センター側データ集約装置30は、アプリケーション31を備え、例えばデータベース32等にデータを格納する処理を行う。   When a plurality of TTY devices 20 having no IP network interface are networked to perform data aggregation, for example, the configuration shown in FIG. 2 is adopted. In the configuration of FIG. 2, a center-side data aggregation device 30 is provided. The center-side data aggregation device 30 includes an application 31 and performs processing of storing data in, for example, a database 32 or the like.

このようなネットワーク化を行うためには、TTY機器20を収容する端末10の中にインストールされているアプリケーション11にIP通信機能を具備させなければならない。TTY機器20を収容する端末10で動作するアプリケーション11は、TTY機器20専用のソフトウェアであるため、通信機能の追加はTTY機器20に対応する当該ソフトウェアごとに行うことが必要となる。また、図2の構成のように複数拠点にTTY機器収容端末10が配置される場合、TTY機器20の種類を変更したり1つの端末10に異なる種類のTTY機器20を接続追加したりする場合には、端末10毎にアプリケーション11の変更、追加が必要となる。   In order to perform such networking, the application 11 installed in the terminal 10 accommodating the TTY device 20 must have an IP communication function. Since the application 11 operating on the terminal 10 accommodating the TTY device 20 is software dedicated to the TTY device 20, it is necessary to add a communication function for each piece of software corresponding to the TTY device 20. Further, when the TTY device accommodating terminals 10 are arranged at a plurality of sites as in the configuration of FIG. 2, the case of changing the type of the TTY device 20 or connecting and adding different types of TTY devices 20 to one terminal 10 In addition, it is necessary to change and add the application 11 for each terminal 10.

すなわち、従来技術では、デバイスファイルを介してアプリケーションとデバイスとの間の通信を中継する際に、いままでのソフトウェア資産をそのまま流用することができず、ソフトウェアの改造や煩雑な運用が必要となり、効率的に中継を行うことができなかった。   That is, in the prior art, when relaying communication between an application and a device via a device file, conventional software assets can not be diverted as they are, and it is necessary to modify the software and perform complicated operations. It was not possible to relay efficiently.

本発明は上記の点に鑑みてなされたものであり、デバイスファイルを介したアプリケーションとデバイスとの間の通信を効率的に中継することを可能とする技術を提供することを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide a technology that can efficiently relay communication between an application and a device via a device file.

本発明の実施の形態によれば、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムであって、
前記通信中継システムは、サーバ側コンピュータとデバイス収容端末とを備え、
前記サーバ側コンピュータは、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成される第2のデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記第2のデバイスファイルと第1のデバイスファイルを生成し、当該第1のデバイスファイルを介して前記アプリケーションと接続し、前記第2のデバイスファイルを介して前記サーバ部接続する疑似デバイスドライバと、を備え、
前記デバイス収容端末は、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部と、を備え、
前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末を識別するための識別情報を前記サーバ側コンピュータに通知し、
前記疑似デバイスドライバは、前記サーバ側コンピュータおける第1のデバイスファイルとして、前記識別情報を含む名前を有する第1のデバイスファイルを生成する
ことを特徴とする通信中継システムが提供される。
According to an embodiment of the present invention, there is provided a communication relay system for relaying data communication between an application and a device, comprising:
The communication relay system includes a server computer and a device accommodating terminal.
The server-side computer is
Said application,
With connecting second device file that will be generated and at the server side computer, and a server unit that performs the device receiving terminal and the data communications,
It generates the second device file and the first device file, and the first through the device file connected to the application, a pseudo device driver to connect to the server unit via the second device file , And
The device accommodation terminal is
An interface connected to the device;
A client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer;
The client unit in the device accommodation terminal notifies identification information for identifying the device accommodation terminal to the server computer.
A communication relay system is provided , wherein the pseudo device driver generates a first device file having a name including the identification information as a first device file in the server-side computer .

また、本発明の実施の形態によれば、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記アプリケーションを備えるサーバ側コンピュータに接続されるデバイス収容端末であって、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部とを備え、
前記クライアント部は、前記デバイス収容端末において前記デバイスを接続するポートの情報を前記サーバ側コンピュータに通知し、
前記サーバ側コンピュータにおいて、前記アプリケーションがデータの読み書きを行うデバイスファイルとして、前記ポートの情報を含む名前を有するデバイスファイルが生成される
ことを特徴とするデバイス収容端末が提供される。

Further, according to an embodiment of the present invention, in a communication relay system for relaying data communication between an application and a device, the device accommodating terminal connected to a server-side computer including the application,
An interface connected to the device;
A client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer;
The client unit notifies the server side computer of information on a port connecting the device in the device accommodation terminal,
A device accommodating terminal is provided, in the server side computer, a device file having a name including information of the port is generated as a device file for the application to read and write data.

また、本発明の実施の形態によれば、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記デバイスと接続されるデバイス収容端末とデータ通信を行うサーバ側コンピュータであって、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成される第2のデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記第2のデバイスファイルと第1のデバイスファイルを生成し、当該第1のデバイスファイルを介して前記アプリケーションと接続し、前記第2のデバイスファイルを介して前記サーバ部接続する疑似デバイスドライバと、を備え、
前記サーバ側コンピュータは、前記デバイス収容端末から、当該デバイス収容端末を識別するための識別情報を受信し、
前記疑似デバイスドライバは、前記サーバ側コンピュータおける第1のデバイスファイルとして、前記識別情報を含む名前を有する第1のデバイスファイルを生成する
ことを特徴とするサーバ側コンピュータが提供される。
Further, according to the embodiment of the present invention, in a communication relay system for relaying data communication between an application and a device, the server side computer performs data communication with a device accommodating terminal connected to the device. ,
Said application,
With connecting second device file that will be generated and at the server side computer, and a server unit that performs the device receiving terminal and the data communications,
It generates the second device file and the first device file, and the first through the device file connected to the application, a pseudo device driver to connect to the server unit via the second device file , And
The server-side computer receives, from the device accommodation terminal, identification information for identifying the device accommodation terminal.
A server-side computer is provided, wherein the pseudo device driver generates a first device file having a name including the identification information as a first device file in the server-side computer.

また、本発明の実施の形態によれば、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムが実行する通信中継方法であって、
前記通信中継システムは、前記アプリケーションを備えるサーバ側コンピュータと、前記デバイスを接続するデバイス収容端末とを備え、
前記デバイス収容端末が前記サーバ側コンピュータに接続要求を送信することにより、前記デバイス収容端末と前記サーバ側コンピュータとの間でコネクションを確立するステップと、
前記サーバ側コンピュータが、前記アプリケーションによりデータの読み書きを行うサーバ側デバイスファイルを生成するステップと、
前記アプリケーションが、前記サーバ側デバイスファイルと、前記デバイス収容端末における前記デバイスに対応するクライアント側デバイスファイルとを介して、前記デバイスとデータ通信を行うステップとを備え
前記サーバ側デバイスファイルを生成するステップにおいて、前記サーバ側コンピュータは、前記デバイス収容端末から受信した識別情報であって、当該デバイス収容端末を識別するための識別情報を含む名前を有するサーバ側デバイスファイルを生成する
ことを特徴とする通信中継方法が提供される。
Further, according to an embodiment of the present invention, there is provided a communication relay method executed by a communication relay system for relaying data communication between an application and a device,
The communication relay system includes a server-side computer including the application, and a device accommodating terminal that connects the device.
Establishing a connection between the device accommodating terminal and the server computer by transmitting a connection request to the server computer;
The server-side computer generates a server-side device file for reading and writing data by the application;
The application includes the a server-side device files, via the client device file corresponding to the device in the device receiving terminal, and performing the device and data communication,
In the step of generating the server-side device file, the server-side device file has a name including identification information for identifying the device accommodation terminal, the identification information received from the device accommodation terminal. communication relay method according to claim <br/> to generate is provided.

本発明の実施の形態によれば、デバイスファイルを介したアプリケーションとデバイスとの間の通信を効率的に中継することを可能とする技術が提供される。   According to the embodiment of the present invention, a technology is provided that enables efficient relaying of communication between an application and a device via a device file.

従来技術におけるTTY機器を接続した端末の例を示す図である。It is a figure which shows the example of the terminal which connected the TTY apparatus in a prior art. 複数のTTY機器収容端末を集約する場合の構成を示す図である。It is a figure which shows the structure in the case of collecting a several TTY apparatus accommodation terminal. 本発明の実施の形態に係る通信中継システムの構成図である。It is a block diagram of the communication relay system which concerns on embodiment of this invention. 拠点側のデバイスファイルをセンタ側に移動させたように見える効果を説明するための図である。It is a figure for demonstrating the effect which it seems that the device file by the side of a base was moved to the center side. TTYクライアント201とTTYサーバ101の機能構成図である。FIG. 2 is a functional block diagram of a TTY client 201 and a TTY server 101. 疑似TTYデバイスドライバ102の機能構成図である。FIG. 2 is a functional configuration diagram of a pseudo TTY device driver 102. 本実施の形態に係る通信中継システムの動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement of the communication relay system which concerns on this Embodiment. 通信中継システムにおける構成と、図7のフローチャートのステップ番号とを示す図である。It is a figure which shows the structure in a communication relay system, and the step number of the flowchart of FIG. TTYサーバ101が複数のTTYクライアントと接続される場合の通信中継システムの構成図である。It is a block diagram of a communication relay system in case TTY server 101 is connected with a plurality of TTY clients. 分散配置された複数のTTY機器がセンタ側のコンピュータに直接接続されているように見える効果を説明するための図である。It is a figure for demonstrating the effect that it seems that several TTY apparatus arrange | positioned distributively is directly connected to the computer by the side of a center. IDを用いて接続先を識別する例を説明するための図である。It is a figure for demonstrating the example which identifies a connecting point using ID. IDとポート番号を用いて接続先を識別する例を説明するための図である。It is a figure for demonstrating the example which identifies a connecting point using ID and a port number.

以下、図面を参照して本発明の実施の形態を説明する。なお、以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the embodiments described below are merely examples, and the embodiments to which the present invention is applied are not limited to the following embodiments.

(システム構成、機能概要)
図3に、本発明の実施の形態に係る通信中継システムの構成図を示す。図3に示すとおり、本実施の形態に係る通信中継システムは、サーバ側コンピュータ100、TTY機器収容端末200を有し、TTY機器収容端末200にはTTY機器20が接続される。
(System configuration, functional outline)
FIG. 3 shows a configuration diagram of a communication relay system according to the embodiment of the present invention. As shown in FIG. 3, the communication relay system according to the present embodiment includes a server computer 100 and a TTY device accommodating terminal 200, and the TTY device accommodating terminal 200 is connected to the TTY device 20.

サーバ側コンピュータ100は、一例として、センター側データ集約装置に相当する装置である。図3では、1つのTTY機器収容端末200がサーバ側コンピュータ100に接続されているが、一般には複数のTTY機器収容端末200がサーバ側コンピュータ100に接続される。ただし、サーバ側コンピュータ100が集約機能を持たない装置であってもよく、その場合、複数のTTY機器収容端末200ではなく1つのTTY機器収容端末200がサーバ側コンピュータ100に接続される構成であってもよい。   The server-side computer 100 is, for example, a device corresponding to a center-side data collection device. Although one TTY device accommodating terminal 200 is connected to the server computer 100 in FIG. 3, generally, a plurality of TTY device accommodating terminals 200 are connected to the server computer 100. However, the server computer 100 may be a device without the aggregation function, in which case one TTY device accommodating terminal 200 is connected to the server computer 100 instead of the plurality of TTY device accommodating terminals 200. May be

本実施の形態において、サーバ側コンピュータ100とTTY機器収容端末200は、例えばIPネットワーク(例:インターネット)により接続される。TTY機器20は、前述したシリアルインタフェースを持つ機器(デバイス)であり、TTY機器収容端末200とインタフェース204を介して、例えばUSBシリアル変換ケーブル等により接続される。   In the present embodiment, the server-side computer 100 and the TTY device accommodating terminal 200 are connected by, for example, an IP network (for example, the Internet). The TTY device 20 is a device (device) having the above-described serial interface, and is connected to the TTY device accommodating terminal 200 via the interface 204 by, for example, a USB serial conversion cable or the like.

サーバ側コンピュータ100は、Linux(登録商標)等のOSを有するコンピュータである。また、TTY機器収容端末200もLinux(登録商標)等のOSを有するコンピュータである。   The server-side computer 100 is a computer having an OS such as Linux (registered trademark). The TTY device accommodating terminal 200 is also a computer having an OS such as Linux (registered trademark).

図3に示す構成では、TTY機器をネットワーク化するために、アプリケーションソフトウェアにネットワーク機能を追加するのではなく、TTY機器20の種類に依存しない汎用的なソフトウェアが通信機能を受け持つこととしている。具体的には、図3に示すTTYサーバ101、疑似TTYデバイスドライバ102、TTYクライアント201が備えられることで、このような通信機能を実現している。   In the configuration shown in FIG. 3, in order to network the TTY device, the network function is not added to the application software, but general-purpose software independent of the type of the TTY device 20 is responsible for the communication function. Specifically, such a communication function is realized by providing the TTY server 101, the pseudo TTY device driver 102, and the TTY client 201 shown in FIG.

図3に示すように、サーバ側コンピュータ100は、TTYサーバ101、疑似TTYデバイスドライバ102、アプリケーション103を含む。ここでのアプリケーション103は、図1に示した従来のTTY機器制御用アプリケーション11に相当する。すなわち、本実施の形態では、既存のアプリケーション11の変更・改造を行うことなく、サーバ側コンピュータ100において使用することを可能としている。例として、当該アプリケーション103は、データを記憶装置104(データベース等)に格納したり、データを記憶装置104から読み出す機能を含む。また、図3では、アプリケーション103を1つだけ示しているが、集約するTTY機器の種類に応じて、複数種類のアプリケーションを備えてもよい。   As shown in FIG. 3, the server-side computer 100 includes a TTY server 101, a pseudo-TTY device driver 102, and an application 103. The application 103 here corresponds to the conventional TTY device control application 11 shown in FIG. That is, in the present embodiment, the server side computer 100 can be used without changing or modifying the existing application 11. As an example, the application 103 includes a function of storing data in the storage device 104 (such as a database) or reading out data from the storage device 104. Further, although only one application 103 is shown in FIG. 3, a plurality of types of applications may be provided according to the type of TTY device to be consolidated.

TTY機器収容端末200は、TTYクライアント201、TTYデバイスドライバ203を含む。TTYデバイスドライバ203は、既存のTTYデバイスドライバ13に相当する。   The TTY device accommodating terminal 200 includes a TTY client 201 and a TTY device driver 203. The TTY device driver 203 corresponds to the existing TTY device driver 13.

図3に示すTTYサーバ101、疑似TTYデバイスドライバ102、及びTTYクライアント201は、従来技術にはない構成要素である。これらのソフトウェア(プログラム)は、TTY機器収容端末200に現れるデバイスファイル202(例:図中の/dev/tty.USB0)を発見すると、そのインタフェースをサーバ側コンピュータ100に生成されるTTYデバイスファイル105(例:図中の/dev/tty.Host)と結びつける。TTYクライアント201により/dev/tty.USB0から読み出されたデータはサーバ側コンピュータ100に転送され、アプリケーション103により/dev/tty.Hostから読みだすことができ、逆に/dev/tty.Hostに書き込まれたデータはTTY機器収容端末200に転送され、/dev/tty.USB0に書き出される。   The TTY server 101, the pseudo TTY device driver 102, and the TTY client 201 shown in FIG. 3 are components that are not present in the prior art. When these software (programs) find a device file 202 (for example: /dev/tty.USB0 in the figure) that appears on the TTY device accommodating terminal 200, the TTY device file 105 generates its interface on the server side computer 100. (Example: Connect /dev/tty.Host in the figure). By the TTY client 201 / dev / tty. The data read from the USB 0 is transferred to the server side computer 100, and the application 103 causes / dev / tty. It can be read from the host, conversely / dev / tty. The data written to the host is transferred to the TTY device accommodating terminal 200, and / dev / tty. It is written out to USB0.

これにより、サーバ側コンピュータ100にインストールされているTTY機器制御用のアプリケーション103は、自コンピュータ内で生成されている/dev/tty.Hostをオープンして読み書きすることで、遠隔に設置されたTTY機器収容端末200を制御できる。   As a result, the TTY device control application 103 installed on the server-side computer 100 is generated in its own computer, / dev / tty. By opening and reading the Host, it is possible to control the remotely installed TTY device accommodating terminal 200.

これは図4に示すように、サーバ側コンピュータ100にインストールされたTTY機器制御用のアプリケーション103から見れば、TTY機器収容端末200側に生成されたデバイスファイル/dev/tty.USB0が仮想的にサーバ側コンピュータ100側の/dev/tty.Hostに移動してきているように見える。これにより、TTY機器制御用のアプリケーション103には通信機能を具備する必要はなく、もともとTTY機器収容端末側で動作していたソフトウェア(例:図1のアプリケーション11)をそのままサーバ側コンピュータ100で動作させることができる。   As shown in FIG. 4, when viewed from the application 103 for controlling the TTY device installed in the server side computer 100, the device file / dev / tty. USB0 is virtually / dev / tty. It looks like you are moving to Host. As a result, the application 103 for controlling the TTY device does not have to have a communication function, and the software (for example, the application 11 in FIG. 1) that was originally operating on the TTY device accommodation terminal is operated as it is on the server computer 100 It can be done.

(機能、動作の詳細)
以下、図3に示した本実施の形態に係る通信中継システムを機能及び動作をより詳細に説明する。
(Details of function, operation)
Hereinafter, the function and operation of the communication relay system according to the present embodiment shown in FIG. 3 will be described in more detail.

<全体の機能の詳細説明>
図3に示すとおり、TTYクライアント201(プログラム)はTTY機器収容端末200にインストールされる。一方、サーバ側コンピュータ100にはTTYサーバ101(プログラム)と擬似TTYデバイスドライバ102(プログラム)がインストールされている。
<Detailed explanation of the whole function>
As shown in FIG. 3, the TTY client 201 (program) is installed in the TTY device accommodating terminal 200. On the other hand, the TTY server 101 (program) and the pseudo TTY device driver 102 (program) are installed in the server side computer 100.

本実施の形態におけるTTY機器収容端末200は、物理的なシリアルポート(インタフェース204、ここでは例としてUSBポート)を有しており、/dev/ttyで始まる名前のファイルが生成されている。   The TTY device accommodating terminal 200 in the present embodiment has a physical serial port (interface 204, USB port as an example here), and a file having a name starting with / dev / tty is generated.

当該インタフェース204(ここではUSBポート)に、USBシリアル変換IC(USBシリアル変換ケーブル等)が接続されるとする。TTY機器収容端末200には、当該USBシリアル変換ICのデバイスドライバ203がインストールされており、USBのPnP機能によりその時点で/dev/tty.USB0などの名前を持つデバイスファイル202が生成される。   It is assumed that a USB serial conversion IC (USB serial conversion cable or the like) is connected to the interface 204 (here, a USB port). The device driver 203 of the USB serial conversion IC is installed in the TTY device accommodating terminal 200, and at this point, / dev / tty. A device file 202 having a name such as USB0 is generated.

TTYクライアント201は、自分が転送を行うべきデバイスファイル名を初期設定等に基づき保持しており(例えば/dev/tty.USB*など)、そのファイルが存在したり出現したりすると、TTYサーバ101に対してコネクションを確立する。また、一例として、TTY機器収容端末200においてインタフェース204(例:USBポート)が2つあり、それぞれにTTY機器が接続された場合にはデバイスファイル202も2つ生成される。TTYクライアント201はデバイスファイル1つにつき、1つのコネクションを生成しようとする。このため2つのTTY機器が接続されるとそれぞれに対応した2つのコネクションが生成される。   The TTY client 201 holds the device file name that it should transfer based on initial settings etc. (eg /dev/tty.USB* etc.), and if the file exists or appears, the TTY server 101 Establish a connection to Also, as an example, when there are two interfaces 204 (for example, USB ports) in the TTY device accommodating terminal 200 and TTY devices are connected to each, two device files 202 are also generated. The TTY client 201 tries to create one connection for each device file. Therefore, when two TTY devices are connected, two connections corresponding to each are generated.

本実施の形態におけるコネクションの種類は特定のものに限定されないが、例えば、TCPコネクション、HTTPコネクション等を用いることができる。   Although the type of connection in the present embodiment is not limited to a specific type, for example, a TCP connection, an HTTP connection, or the like can be used.

TTYサーバ101はTTYクライアント201からの接続要求を待ち受ける。接続要求に基づきコネクションが確立するとTTYサーバ101は擬似TTYデバイスドライバ102に対して、TTYデバイスファイル105、キャラクタデバイスファイル106の生成を要求する。   The TTY server 101 waits for a connection request from the TTY client 201. When a connection is established based on the connection request, the TTY server 101 requests the pseudo TTY device driver 102 to generate the TTY device file 105 and the character device file 106.

サーバ側コンピュータ100における擬似TTYデバイスドライバ102は、OSのカーネル空間で動作するモジュールであり、TTYサーバ101からの上記指示によりTTYデバイスファイル105、キャラクタデバイスファイル106を生成する。   The pseudo TTY device driver 102 in the server side computer 100 is a module operating in the kernel space of the OS, and generates the TTY device file 105 and the character device file 106 according to the above instruction from the TTY server 101.

一般的には、TTYデバイスファイルは物理的なシリアルインタフェースに対応付けられており、アプリケーションはこのデバイスファイルにデータをリードライトすることで、シリアルポートに接続されたTTY機器とデータをやり取りする。   Generally, a TTY device file is associated with a physical serial interface, and an application reads and writes data to this device file to exchange data with a TTY device connected to a serial port.

一方、本実施の形態における擬似TTYデバイスドライバ102は、実際には物理的シリアルポートを持たず、その代わりに、キャラクタデバイスファイル106(/dev/XXX)を生成して、TTYデバイスファイル105(ブロックデバイスファイル)とキャラクタデバイスファイル106との間を接続する。これにより、アプリケーション103がTTY機器20に向けて、TTYデバイスファイル105に書き込んだデータはキャラクタデバイスファイル106から読み取ることができて、逆にキャラクタデバイスファイル106に書き込まれたデータはあたかもTTY機器20が出力したかのように、TTYデバイスファイル105からアプリケーション103によって読み込まれる。   On the other hand, the pseudo TTY device driver 102 in the present embodiment does not actually have a physical serial port, but instead generates a character device file 106 (/ dev / XXX), and generates a TTY device file 105 (block Connection between the device file and the character device file 106; As a result, the data written to the TTY device file 105 by the application 103 directed to the TTY device 20 can be read from the character device file 106. Conversely, the data written to the character device file 106 is as if the TTY device 20 It is read by the application 103 from the TTY device file 105 as if it were output.

1つの擬似TTYデバイスドライバ102は複数のTTYデバイスファイル105と、複数のキャラクタデバイスファイル106を生成することが可能であり、その間を1対1で接続する。   One pseudo TTY device driver 102 can generate a plurality of TTY device files 105 and a plurality of character device files 106, and connects them one to one.

図中では簡単のために一組のデバイスファイルしか描いていないが、TTYサーバ101が複数のTTYクライアント201との間でコネクションを確立する場合、デバイスファイルも確立されたコネクションと同数の組だけ生成される。TTY機器収容端末200で生成されたデバイスファイル1つに付きコネクションが1つ確立されるので、結局、TTY機器収容端末200側の実際のTTY機器1つにつきサーバ側コンピュータ100のTTYデバイスファイル105が1つ生成されることになる。なお、複数コネクションを有する場合の構成例については後により具体的に説明する。   Although only one set of device files is drawn for simplicity in the figure, when the TTY server 101 establishes a connection with a plurality of TTY clients 201, the device files are also generated in the same number of sets as the established connections. Be done. One connection is established with one device file generated by the TTY device accommodating terminal 200, and consequently, the TTY device file 105 of the server side computer 100 per one actual TTY device on the TTY device accommodating terminal 200 side. One will be generated. A configuration example in the case of having a plurality of connections will be specifically described later.

サーバ側コンピュータ100でTTYデバイスファイル105が生成されると、アプリケーション103はそのファイルをオープンできる。それはあたかもローカルマシンに制御対象のTTY機器20が接続されている場合の動作に相当する。   When the TTY device file 105 is generated on the server side computer 100, the application 103 can open the file. This corresponds to the operation when the TTY device 20 to be controlled is connected to the local machine.

TTYデバイスファイル105のオープン後は、通信速度やパリティビット長などのTTYインタフェース属性をアプリケーション103から設定してデータの読み書きが開始される。例えばLinux(登録商標)では、アプリケーション103はioctlなどのシステムコールで疑似TTYデバイスドライバ102へ属性情報を通知する。疑似TTYデバイスドライバ102は、例えばioctlにより、通信属性がセットされるとTTYサーバ101経由でTTYクライアント201に対してその属性情報を伝える。するとTTYクライアント201は、その属性のとおり、TTY機器収容端末200のTTYインタフェース属性(通信パラメータ)を設定する。これにより、サーバ側コンピュータ100のアプリケーション103の設定がTTY機器収容端末200側(拠点側)のTTYインタフェース204に反映され、サーバ側アプリケーション103と拠点側TTY機器20との間でデータのやり取りがなされる。   After the TTY device file 105 is opened, reading and writing of data is started by setting TTY interface attributes such as communication speed and parity bit length from the application 103. For example, in Linux (registered trademark), the application 103 notifies attribute information to the pseudo TTY device driver 102 by a system call such as ioctl. The pseudo TTY device driver 102 transmits the attribute information to the TTY client 201 via the TTY server 101 when the communication attribute is set, for example, by ioctl. Then, the TTY client 201 sets the TTY interface attribute (communication parameter) of the TTY device accommodating terminal 200 according to the attribute. Thereby, the setting of the application 103 of the server side computer 100 is reflected on the TTY interface 204 on the TTY device accommodating terminal 200 side (base side), and data exchange is performed between the server side application 103 and the base side TTY device 20. Ru.

本実施の形態に係るサーバ側コンピュータ100は、例えば、Linux(登録商標)等のOSを備えるコンピュータに、本実施の形態で説明する処理内容を記述したプログラムを実行させることにより実現可能である。すなわち、サーバ側コンピュータ100が有する機能は、当該コンピュータに内蔵されるCPUやメモリ、ハードディスクなどのハードウェア資源を用いて、当該装置で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。   The server-side computer 100 according to the present embodiment can be realized, for example, by causing a computer including an OS such as Linux (registered trademark) to execute a program in which the processing content described in the present embodiment is described. That is, the functions possessed by the server-side computer 100 are realized by executing a program corresponding to a process performed by the apparatus using hardware resources such as a CPU, a memory, and a hard disk built in the computer. Is possible. The program can be recorded on a computer readable recording medium (portable memory or the like), and can be stored or distributed. Moreover, it is also possible to provide the above program through a network such as the Internet or e-mail.

また、本実施の形態に係るTTY機器収容端末200は、例えば、Linux(登録商標)等のOSを備えるコンピュータに、本実施の形態で説明する処理内容を記述したプログラムを実行させることにより実現可能である。すなわち、TTY機器収容端末200が有する機能は、当該コンピュータに内蔵されるCPUやメモリ、ハードディスクなどのハードウェア資源を用いて、当該装置で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。   Also, the TTY device accommodating terminal 200 according to the present embodiment can be realized, for example, by causing a computer provided with an OS such as Linux (registered trademark) to execute a program in which the processing content described in the present embodiment is described. It is. That is, the functions possessed by the TTY device accommodating terminal 200 are realized by executing a program corresponding to a process performed by the apparatus using hardware resources such as a CPU, a memory, a hard disk, etc. built in the computer. It is possible. The program can be recorded on a computer readable recording medium (portable memory or the like), and can be stored or distributed. Moreover, it is also possible to provide the above program through a network such as the Internet or e-mail.

<TTYクライアントとTTYサーバの機能構成>
図5に、TTYクライアント201とTTYサーバ101の機能構成例を示す。図5に示すように、TTYクライアント201は、デバイスファイル管理部210、コネクション確立部220、データ通信部230、属性設定部240を含む。
<Functional configuration of TTY client and TTY server>
FIG. 5 shows an example of the functional configuration of the TTY client 201 and the TTY server 101. As shown in FIG. 5, the TTY client 201 includes a device file management unit 210, a connection establishment unit 220, a data communication unit 230, and an attribute setting unit 240.

デバイスファイル管理部210は、TTYクライアント201がデータの送受信(読み書き)を行うデバイスファイル名を保持する。例えば、複数のコネクションが設定される場合に、コネクション1で送受信されるデータの読み書きを行うデバイスファイル名が「デバイスファイル1」であれば、コネクション1(を示す識別情報)とデバイスファイル1とを対応付けて保持する。   The device file management unit 210 holds a device file name with which the TTY client 201 transmits and receives (reads and writes) data. For example, when a plurality of connections are set, if the device file name for reading / writing data transmitted / received through connection 1 is “device file 1”, connection 1 (identification information indicative of) and device file 1 Match and hold.

コネクション確立部220は、TTYサーバ101との間でコネクションを確立するための機能部であり、接続要求の送信、接続要求に対する応答受信等を経て、コネクションを確立させる。データ通信部230は、TTYサーバ101との間に設定されたコネクションを利用してTTYサーバ101との間でデータ通信を行うとともに、アプリケーション103とTTY機器20間のデータに関しては、デバイスファイルへの読み書きを実施する。例えばLinux(登録商標)の場合、read/writeのシステムコールをデータ通信部230が発行することでデータの読み書きを実施する。また、ID送信等のためのコントロールデータを送信する際にはコントロールデータであることを示すヘッダを付加して送信する。また、コントロールデータであることを示すヘッダを付加したデータを受信した際には、ヘッダ(例:TTY属性であることを示すヘッダ)に対応するコントロール(例:属性設定)のための処理を行う。   The connection establishment unit 220 is a functional unit for establishing a connection with the TTY server 101, and establishes a connection through transmission of a connection request, reception of a response to the connection request, and the like. The data communication unit 230 performs data communication with the TTY server 101 using the connection set up with the TTY server 101, and transmits data between the application 103 and the TTY device 20 to the device file. Implement reading and writing. For example, in the case of Linux (registered trademark), data communication is performed by the data communication unit 230 issuing a read / write system call. Also, when transmitting control data for ID transmission etc., a header indicating that it is control data is added and transmitted. In addition, when data to which a header indicating that it is control data is added is received, processing for control (for example, attribute setting) corresponding to the header (for example, a header indicating that it is TTY attribute) is performed .

属性設定部240は、上記のようにしてTTY属性を受信した場合に、データ通信部230からTTY属性のデータを受け取り、当該TTY属性の設定を実施する。例えばLinux(登録商標)の場合、属性設定部240がioctlを発行することでTTY属性の設定を実施する。例えば、当該TTY属性に示される通信速度で、TTY機器20とTTYクライアント201が通信できるように、TTYクライアント201、TTYデバイスドライバ203、TTY機器20等の設定を行う。   When the attribute setting unit 240 receives the TTY attribute as described above, the attribute setting unit 240 receives data of the TTY attribute from the data communication unit 230, and performs setting of the TTY attribute. For example, in the case of Linux (registered trademark), the attribute setting unit 240 issues an ioctl to carry out setting of the TTY attribute. For example, the TTY client 201, the TTY device driver 203, the TTY device 20, and the like are set so that the TTY device 20 and the TTY client 201 can communicate at the communication speed indicated in the TTY attribute.

図5に示すように、TTYサーバ101は、コネクション確立部110、デバイスファイル生成要求部120、データ通信部130を含む。   As shown in FIG. 5, the TTY server 101 includes a connection establishment unit 110, a device file generation request unit 120, and a data communication unit 130.

コネクション確立部110は、TTYクライアント201との間でコネクションを確立するための機能部であり、接続要求の受信、接続要求に対する応答送信等を経て、コネクションを確立させる。   The connection establishment unit 110 is a functional unit for establishing a connection with the TTY client 201, and establishes a connection through reception of a connection request, transmission of a response to the connection request, and the like.

デバイスファイル生成要求部120は、コネクション確立部110により確立したコネクションに対応するデバイスファイル(TTYデバイスファイルとキャラクタデバイスファイル)の生成を疑似TTYデバイスドライバ102に要求する。例えば、デバイスファイル生成要求部120から疑似TTYデバイスドライバ102への要求は、疑似TTYデバイスドライバ102の生成する特殊ファイル/proc/tty(107)に対するwriteで実行される。   The device file generation request unit 120 requests the pseudo TTY device driver 102 to generate device files (TTY device file and character device file) corresponding to the connection established by the connection establishment unit 110. For example, the request from the device file generation request unit 120 to the pseudo TTY device driver 102 is executed by writing on the special file / proc / tty (107) generated by the pseudo TTY device driver 102.

データ通信部130は、TTYクライアント201との間に設定されたコネクションを利用してTTYクライアント201との間でデータ通信を行うとともに、キャラクタデバイスファイル106へのデータ読み書きを実施する。また、TTY属性送信等のためのコントロールデータを送信する際にはコントロールデータであることを示すヘッダを付加して送信する。また、コントロールデータであることを示すヘッダを付加したデータを受信した際には、ヘッダ(例:ID等であることを示すヘッダ)に対応するコントロール(例:疑似TTYデバイスドライバ102に対する、IDを含むデバイスファイル名生成指示等)のための処理を行う。   The data communication unit 130 performs data communication with the TTY client 201 using the connection set up with the TTY client 201, and performs data read / write to the character device file 106. In addition, when transmitting control data for TTY attribute transmission and the like, a header indicating that it is control data is added and transmitted. In addition, when data added with a header indicating that it is control data is received, the control (for example: ID for the pseudo TTY device driver 102) corresponding to the header (for example, a header indicating that it is an ID etc.) Perform processing for including a device file name generation instruction.

<疑似TTYデバイスドライバの機能構成>
図6に、疑似TTYデバイスドライバ102の機能構成を示す。図6に示すように、疑似TTYデバイスドライバ102は、デバイスファイル生成部150、デバイスファイル間接続部160、及び属性情報通知部170を含む。更に、疑似TTYデバイスドライバ102は、キャラクタデバイスファイル106に対する入出力を行うキャラクタデバイス入出力機能、及び、TTYデバイスファイル105に対する入出力を行うTTYデバイス入出力機能を含む。
<Functional Configuration of Pseudo TTY Device Driver>
FIG. 6 shows a functional configuration of the pseudo TTY device driver 102. As shown in FIG. 6, the pseudo TTY device driver 102 includes a device file generation unit 150, a device file connection unit 160, and an attribute information notification unit 170. Furthermore, the pseudo TTY device driver 102 includes a character device input / output function that inputs / outputs to / from the character device file 106 and a TTY device input / output function that inputs / outputs to / from the TTY device file 105.

例えば、疑似TTYデバイスドライバ102はカーネルモジュールとして実装され、カーネルにインストールされた時点で、デバイスファイル生成部150が特殊ファイル/proc/tty(107)を生成する。デバイスファイル生成部150は、/proc/ttyを経由して得られたTTYサーバ101からの指示に従って、TTYデバイスファイル105、及びキャラクタデバイスファイル106の生成を行う。デバイスファイル間接続部160は、TTYデバイスファイル105から、アプリケーション103によりwriteシステムコールで書き込まれたデータを読み取り、当該データを、対応するキャラクタデバイスファイル106に書き込む処理や、キャラクタデバイスファイル106から、TTYサーバ101により書き込まれたデータを読み取り、当該データを、readシステムコールに応じて、対応するTTYデバイスファイル105に書き込む処理等を行う。   For example, the pseudo TTY device driver 102 is implemented as a kernel module, and when installed in the kernel, the device file generation unit 150 generates a special file / proc / tty (107). The device file generation unit 150 generates the TTY device file 105 and the character device file 106 in accordance with the instruction from the TTY server 101 obtained via / proc / tty. The device file connection unit 160 reads data written in the write system call by the application 103 from the TTY device file 105, writes the data into the corresponding character device file 106, or from the character device file 106, TTY. The data written by the server 101 is read, and the data is written to the corresponding TTY device file 105 according to the read system call.

属性情報通知部170は、アプリケーション103からioctlシステムコールにより設定されるTTY属性をTTYクライアント201に通知するよう、TTYサーバ101に指示する。   The attribute information notification unit 170 instructs the TTY server 101 to notify the TTY client 201 of the TTY attribute set by the application 103 by the ioctl system call.

<動作フロー>
次に、図7のフローチャートの手順に従って、本実施の形態における図3に示した通信中継システムの動作例について説明する。図8には、図3に示す通信中継システムにおいて、図7で使用しているステップ番号を付したものを示す。以下、図8を参照して、図7のフローチャートを説明する。
<Operation flow>
Next, an operation example of the communication relay system shown in FIG. 3 in the present embodiment will be described according to the procedure of the flowchart of FIG. FIG. 8 shows the communication relay system shown in FIG. 3 to which the step numbers used in FIG. 7 are attached. The flow chart of FIG. 7 will be described below with reference to FIG.

サーバ側コンピュータ100において、疑似TTYデバイスドライバ102をインストールして、TTYサーバ101を起動する(ステップS1)。TTY機器収容端末200において、TTYクライアント201を起動すると(ステップS2)、TTYクライアント201は、データの転送を行うTTYデバイスファイル202を発見する(ステップS3)。   In the server computer 100, the pseudo TTY device driver 102 is installed, and the TTY server 101 is started (step S1). In the TTY device accommodating terminal 200, when the TTY client 201 is activated (step S2), the TTY client 201 discovers a TTY device file 202 for transferring data (step S3).

TTYクライアント201は、TTYサーバ101との間でコネクションの確立のための処理(接続要求等)を行い(ステップS4)、TTYサーバ101は、TTYクライアント201からのコネクションが確立すると擬似TTYデバイスドライバ102にデバイスファイル生成を指示する(ステップS5)。   The TTY client 201 performs processing (connection request and the like) for establishing a connection with the TTY server 101 (step S4), and when the connection from the TTY client 201 is established, the TTY server 101 simulates the pseudo TTY device driver 102. To generate a device file (step S5).

指示を受けた擬似TTYデバイスドライバ102は、TTYデバイスファイル105とキャラクタデバイスファイル106を生成する(ステップS6)。そして、アプリケーション103により、TTYデバイスファイル105がオープンされて、TTY属性が設定される(ステップS7)。   The pseudo TTY device driver 102 that has received the instruction generates the TTY device file 105 and the character device file 106 (step S6). Then, the TTY device file 105 is opened by the application 103, and the TTY attribute is set (step S7).

設定されたTTY属性は疑似TTYデバイスドライバ102、及びTTYサーバ101経由でTTYクライアント201に伝えられる(ステップS8)。TTY属性を受信したTTYクライアント201は、当該TTY属性で、TTY機器20側の処理部(デバイスファイル202、TTYデバイスドライバ203、インタフェース204、TTY機器20等)を初期化する(ステップS9)。   The set TTY attribute is transmitted to the TTY client 201 via the pseudo TTY device driver 102 and the TTY server 101 (step S8). The TTY client 201 that has received the TTY attribute initializes the processing unit (device file 202, TTY device driver 203, interface 204, TTY device 20, etc.) on the TTY device 20 side with the TTY attribute (step S9).

以上の処理により、サーバ側コンピュータ100のTTYデバイスファイル105とTTY機器収容端末200側のデバイスファイル202が対応付けされ、アプリケーション103はTTY機器20と接続される(ステップS10)。   By the above processing, the TTY device file 105 of the server side computer 100 is associated with the device file 202 on the TTY device accommodation terminal 200 side, and the application 103 is connected to the TTY device 20 (step S10).

(複数コネクションを持つ構成について)
<複数コネクションを持つ場合の基本構成>
一般的なTCP/IPクライアントサーバソフトウェアと同様に、本実施の形態におけるTTYサーバ101は複数のTTYクライアント201と接続し、通信する機能を有する。
(About the configuration with multiple connections)
<Basic configuration when having multiple connections>
Similar to general TCP / IP client server software, the TTY server 101 in the present embodiment has a function of connecting to and communicating with a plurality of TTY clients 201.

TTYサーバ101が、複数のTTYクライアント201と接続される場合の通信中継システムの構成例を図9に示す。図9の構成では、TTYサーバ101と1つのTTYクライアント201との間のコネクションが確立する度に、図7、図8で説明した手順により、サーバ側コンピュータ100において、当該コネクションに対応するTTYデバイスファイルとキャラクタデバイスファイルとが生成され、これらが接続される。   A configuration example of a communication relay system in the case where the TTY server 101 is connected to a plurality of TTY clients 201 is shown in FIG. In the configuration of FIG. 9, every time a connection between the TTY server 101 and one TTY client 201 is established, the TTY device corresponding to the connection in the server side computer 100 according to the procedure described in FIG. 7 and FIG. A file and a character device file are generated and connected.

各コネクションに対応付けて、TTYデバイスファイルとキャラクタデバイスファイルの名前が決められ、アプリケーション103は、コネクションに対応したデバイスファイルを用いてデータの読み書きを行うことで、所望の拠点のTTY機器20と通信することができる。図9の例では、例えば、コネクション0に対応して、TTYデバイスファイル/dev/tty.0とキャラクタデバイスファイル/dev/xxx.0が生成されている。   The names of the TTY device file and the character device file are determined in association with each connection, and the application 103 communicates with the TTY device 20 at the desired site by reading and writing data using the device file corresponding to the connection. can do. In the example of FIG. 9, for example, the TTY device file / dev / tty. 0 and character device file / dev / xxx. 0 is generated.

このような機能を備えるTTYサーバクライアントソフトウェアを用いることで、図10に示すように、センタ側データ集約装置として機能するサーバ側コンピュータ100は仮想的に複数のシリアルインタフェースポートを持ち、各拠点に分散配置された多数のTTY機器20はすべてその仮想ポートに直接接続されているように見える。これにより、TTY機器20に固有のアプリケーション103にはネットワーク機能を具備するような改変は必要とされず、従来の機能のままサーバ側コンピュータ100で動作させることができる。これにより、従来のTTY機器20に関するソフトウェア資産をそのまま流用できることになる。   By using TTY server client software having such a function, as shown in FIG. 10, the server-side computer 100 functioning as a center-side data aggregation device virtually has a plurality of serial interface ports and is distributed to each location The large number of deployed TTY devices 20 all appear to be directly connected to that virtual port. As a result, the application 103 specific to the TTY device 20 does not need to be modified to have the network function, and can be operated by the server-side computer 100 with the conventional function. As a result, software assets related to the conventional TTY device 20 can be diverted as they are.

また、TTY機器収容端末200に接続されるTTY機器20が変更されたり追加されたとしても、TTY機器収容端末200内のソフトウェアの追加変更は必要がなく、サーバ側コンピュータ100で動作するアプリケーション103を変更したり追加して、各々のソフトウェアが自分の担当するTTYデバイスファイルに接続する。これによりTTY機器収容端末200に対するソフトウェア操作が不要になり、オペレーションの煩雑さも軽減される。   Further, even if the TTY device 20 connected to the TTY device accommodating terminal 200 is changed or added, there is no need to additionally change the software in the TTY device accommodating terminal 200, and the application 103 operating on the server side computer 100 can be used. Change or add each software to its own TTY device file. This eliminates the need for software operation on the TTY device accommodating terminal 200, and reduces the complexity of the operation.

<拠点の識別について>
上記のようにサーバ側コンピュータ100では、コネクション毎に複数のデバイスファイルが生成され、TTYサーバ101は複数のTTYクライアント201からのコネクションを収容することが可能である。
<Identification of bases>
As described above, in the server-side computer 100, a plurality of device files are generated for each connection, and the TTY server 101 can accommodate connections from a plurality of TTY clients 201.

このとき、サーバ側コンピュータ100のアプリケーション103はどのようにして、目的とする拠点に対応するTTYデバイスファイル(例:図10に示した/dev/tty.0等)を見つけ出すのかという問題がある。単にコネクションが生成された順番にデバイスファイルの名前を/dev/tty.0、/dev/tty.1、/dev/tty.2、のように命名していたのでは、どの拠点に接続されたTTY機器20に対応しているのかが分からない。   At this time, there is a problem as to how the application 103 of the server-side computer 100 finds out a TTY device file (for example, / dev / tty. 0 or the like shown in FIG. 10) corresponding to the target site. Simply name the device file / dev / tty in the order the connection was created. 0, / dev / tty. 1, / dev / tty. If it is named as (2), it is not known which base is compatible with the TTY device 20 connected.

そこで、TTYサーバ101は、TTYクライアント201とコネクションを確立したときに何らかの識別子をTTYクライアント201側から受け取り、疑似TTYデバイスドライバ102は、デバイスファイル生成時に、当該識別子をデバイスファイル名に付加することとしてよい。例えば、生成されるデバイスファイルの名称は、TTYサーバ101が/proc/ttyに書き込むデータに含められる。疑似TTYデバイスドライバ102は/proc/ttyから読み取った名前でデバイスファイルを生成する。このため、TTYサーバ101が決めた任意の文字列を持つ名前のデバイスファイルを生成することができる。   Therefore, when the TTY server 101 establishes a connection with the TTY client 201, it receives an identifier from the TTY client 201 side, and the pseudo TTY device driver 102 adds the identifier to the device file name when the device file is generated. Good. For example, the name of the generated device file is included in the data that the TTY server 101 writes to / proc / tty. The pseudo TTY device driver 102 generates a device file with a name read from / proc / tty. Therefore, it is possible to generate a device file having a name having an arbitrary string determined by the TTY server 101.

一例として、デバイスファイル名にTTYクライアント201の発信元IPアドレス(識別情報の例)を埋め込む方法がある。すなわち、デバイスファイル名に/dev/tty.192.168.0.1のようにIPアドレスを組み込むのである。この方法は、発信元IPアドレスが変化しない環境において有効な方法である。   As an example, there is a method of embedding the source IP address (example of identification information) of the TTY client 201 in the device file name. That is, the device file name is / dev / tty. Include an IP address like 192.168.0.1. This method is effective in an environment where the source IP address does not change.

しかし、インターネット環境では拠点側(TTY機器収容端末200側)のIPアドレスはその時々で変化して、コネクションが切断、再確立すると同じ拠点でも異なる発信元IPアドレスになることがある。これを防止するために、例えば、IP−VPNを利用する方法がある(例:特許文献2)。IP−VPNは端末の認証と通信の暗号化が主な目的である。通信ではIP−in−IP形式のトンネリング通信プロトコルが使われており、カプセル化される内側のIPアドレスはIP−VPNの認証時に固定的に割り当てることが可能である。そうすると、切断再接続を行っても同じ発信元IPアドレスとなり、デバイスファイル名から拠点を検索できるようになる。   However, in the Internet environment, the IP address of the base side (the TTY device accommodating terminal 200 side) may change from time to time, and when the connection is disconnected and re-established, the same base IP address may become a different source IP address. In order to prevent this, for example, there is a method of using IP-VPN (e.g., Patent Document 2). IP-VPN is mainly for terminal authentication and communication encryption. IP-in-IP type tunneling communication protocol is used for communication, and the inner IP address to be encapsulated can be fixedly assigned at the time of IP-VPN authentication. Then, even if disconnection and reconnection are performed, the same source IP address is obtained, and it becomes possible to search for a site from the device file name.

拠点(TTY機器収容端末200)を識別するための識別子としてIPアドレスを使用することは一例に過ぎない。IPアドレス以外の識別子を用いてもよい。   The use of an IP address as an identifier for identifying a base (TTY device accommodating terminal 200) is merely an example. Identifiers other than IP addresses may be used.

一例として、拠点(TTY機器収容端末200)を識別するためのIDを、TTYクライアント201からTTYサーバ101に通知し、TTYサーバ101が当該IDを疑似TTYデバイスドライバ102に通知することで、疑似TTYデバイスドライバ102が、当該IDを埋め込んだ名前を持つTTYデバイスファイルとキャラクタデバイスファイルを生成することとしてもよい。   As an example, the TTY client 201 notifies the TTY server 101 of an ID for identifying a base (the TTY device accommodating terminal 200), and the TTY server 101 notifies the pseudo TTY device driver 102 of the ID to perform pseudo TTY. The device driver 102 may generate a TTY device file and a character device file having a name embedded with the ID.

図11は、上記のようにして生成されたTTYデバイスファイルを介してTTYクライアント201がサーバ側コンピュータ100に接続される構成を示す図である。なお、図11では、接続を分かり良く示すために、図10と同様の記載方法を用いている。   FIG. 11 is a diagram showing a configuration in which the TTY client 201 is connected to the server-side computer 100 via the TTY device file generated as described above. In addition, in FIG. 11, in order to show connection clearly, the description method similar to FIG. 10 is used.

図11に示すように、例えば、id0で識別される拠点に対してid0を埋め込んだ名前を持つTTYデバイスファイル(/dev/tty.id0)が生成される。アプリケーション103は、id0で識別される拠点との通信を行う際に、/dev/tty.id0のTTYデバイスファイルに対する読み書きを行う。このようにして、アプリケーション103は、通信の目的とする拠点のTTY機器20を探し出すことができるようになる。   As shown in FIG. 11, for example, a TTY device file (/dev/tty.id0) having a name embedded with id0 is generated for the base identified by id0. When the application 103 communicates with the base identified by id0, the application 103 transmits / dev / tty. Read and write to the TTY device file of id0. In this way, the application 103 can find out the TTY device 20 of the target site for communication.

ところで、近年のパソコンや、小型Linux(登録商標)サーバBOXには、複数のUSBポートを搭載するのものも珍しくはなく、同一のTTY機器収容端末200に複数のTTY機器20が接続される可能性もある。この場合、TTY機器収容端末200内のデバイスドライバ203は1つであっても、TTY機器20ごとにデバイスファイル202が生成されるため、複数のデバイスファイル202が生成される。   By the way, in recent personal computers and small Linux (registered trademark) server BOX, it is not uncommon to have multiple USB ports installed, and multiple TTY devices 20 can be connected to the same TTY device accommodating terminal 200 There is also sex. In this case, even if there is only one device driver 203 in the TTY device accommodating terminal 200, the device file 202 is generated for each TTY device 20, so a plurality of device files 202 are generated.

そして、TTYクライアント201からTTYサーバ101へのコネクションをデバイスファイルごとに生成することで、1つのTTYクライアント201からTTYサーバ101に向けて複数のコネクションを開設することもできる。   Then, by creating a connection from the TTY client 201 to the TTY server 101 for each device file, a plurality of connections can be established from one TTY client 201 to the TTY server 101.

この場合、図7、図8に示した手順がコネクション毎に実行されることで、サーバ側コンピュータ100におけるTTYデバイスファイル及びキャラクタデバイスファイルもコネクション毎に生成される。   In this case, the TTY device file and the character device file in the server-side computer 100 are also generated for each connection by executing the procedures shown in FIGS. 7 and 8 for each connection.

従って、サーバ側コンピュータ100におけるアプリケーション103は、同一TTYクライアント201に収容される異なる複数のTTY機器を、異なる複数のTTYデバイスファイル名で識別できる必要がある。   Therefore, the application 103 in the server-side computer 100 needs to be able to identify a plurality of different TTY devices accommodated in the same TTY client 201 by a plurality of different TTY device file names.

この場合、単にTTYクライアント201の識別子やIPアドレスだけでTTYデバイスファイルを命名した場合には、TTYクライアント201における複数のTTY機器20を識別できないため、例えば、TTYデバイスファイル名にTTY機器が接続されるポート番号を付加する。また、TTYクライアント201のIDをコネクション毎に異なるように設定しておくこととしてもよい。   In this case, if the TTY device file is named simply by the identifier or IP address of the TTY client 201, a plurality of TTY devices 20 in the TTY client 201 can not be identified. For example, the TTY device is connected to the TTY device file name. Port number is added. Also, the ID of the TTY client 201 may be set to be different for each connection.

例えば、IPアドレスとUSBポート番号で/dev/tty.192.168.0.1.0と/dev/tty.192.168.0.1.1のようにTTYデバイスファイルを命名することで、それらのファイルが同一のTTY機器収容端末200に接続された異なるTTY機器20に対応していることが分かる。   For example, IP address and USB port number / dev / tty. 192.168.0.1.0 and / dev / tty. By naming the TTY device files as in 192.168.0.1.1, it is understood that the files correspond to different TTY devices 20 connected to the same TTY device accommodating terminal 200.

図12に、1つのTTY機器収容端末200(id0で識別)に、4つのTTY機器20が接続される場合における接続構成例を示す。図12に示すように、TTYデバイスファイル名として、id0に加えて、TTY機器20を接続するポート番号(port0等)が付加されることで、アプリケーション103は、目的とするTTY機器20と通信を行うことができる。例えば、アプリケーション103は、id0の拠点におけるport0に接続されるTTY機器20と通信を行う場合、/dev/tty.id0.port0のTTYデバイスファイルに対して読み書きを実施する。   FIG. 12 shows a connection configuration example in the case where four TTY devices 20 are connected to one TTY device accommodating terminal 200 (identified by id 0). As shown in FIG. 12, as the TTY device file name, in addition to id0, the application 103 can communicate with the target TTY device 20 by adding a port number (port 0 etc.) to which the TTY device 20 is connected. It can be carried out. For example, when the application 103 communicates with the TTY device 20 connected to port 0 at the base of id 0, / dev / tty. id0. Read and write to the TTY device file of port0.

(TTYクライアント201とTTYサーバ101間のシグナリングについて)
TTYクライアント201とTTYサーバ101との間の通信は、TTY機器20とアプリケーション103間のデータに加え、TTYクライアント201とTTYサーバ101間でやり取りするデータも含む。
(About signaling between TTY client 201 and TTY server 101)
Communication between the TTY client 201 and the TTY server 101 includes data exchanged between the TTY client 201 and the TTY server 101 in addition to data between the TTY device 20 and the application 103.

例えば、前述したように、TTYクライアント201からTTYサーバ101に向けてTTYクライアント201側のID、ポート番号等を送信する。また、認証情報を送信してもよい。これにより、不正な端末の接続を防いだり、デバイスファイル名にTTYクライアントID等を埋め込むことが可能になる。   For example, as described above, the TTY client 201 transmits the ID, port number, and the like on the TTY client 201 side to the TTY server 101. Also, authentication information may be transmitted. This makes it possible to prevent an unauthorized terminal connection or embed a TTY client ID or the like in the device file name.

また、例えば、TTY機器20の設置場所をIDとして、/dev/tty.tokyoや/dev/tty.osakaといった命名が可能になる。また、図12の構成を実現する際には、IDに加えて、ポート番号を含める。   Also, for example, with the installation location of the TTY device 20 as an ID, / dev / tty. tokyo and / dev / tty. It is possible to name it osaka. Further, when the configuration of FIG. 12 is realized, a port number is included in addition to the ID.

また、TTYサーバ101からTTYクライアント201に向けては、TTY機器20とTTYクライアント201間の属性情報(通信パラメータ)をアプリケーション103から指示することが可能になる。例えば、TTY機器20によってはシリアル通信速度が9600bpsであったり、115200bpsだったりとさまざまであるが、収容機器の設置されている現場で個別に設定するのではなく、アプリケーション103からTTYサーバ101を介してTTYクライアント201に指示を出して、遠隔で通信パラメータを設定することが可能である。   Further, from the TTY server 101 to the TTY client 201, attribute information (communication parameters) between the TTY device 20 and the TTY client 201 can be designated from the application 103. For example, depending on the TTY device 20, the serial communication speed may be 9600 bps or 115200 bps, but it is not set individually at the site where the accommodation device is installed, but from the application 103 via the TTY server 101. Then, the TTY client 201 can be instructed to remotely set communication parameters.

本実施の形態では、上記のようなTTYサーバ101とTTYクライアント201間のシグナリングを実現するために、TTYクライアント201とTTYサーバ101間で疎通しているデータがTTY機器20とアプリケーション103間のいわゆる通信データなのか、それともTTYクライアント201/TTYサーバ101間でやり取りされるいわゆるコントロールデータなのかを識別するための機能が組み込まれている。具体的には、TTYサーバ101は、TTYクライアント201に対してデータを送信する際に、当該データが、コントロールデータであるか通信データであるかを示すパケットヘッダを付加する。また、TTYクライアント201は、TTYサーバ101に対してデータを送信する際に、当該データが、コントロールデータであるか通信データであるかを示すパケットヘッダを付加する。   In the present embodiment, in order to realize the signaling between the TTY server 101 and the TTY client 201 as described above, data communicated between the TTY client 201 and the TTY server 101 is so-called between the TTY device 20 and the application 103. A function for identifying whether it is communication data or so-called control data exchanged between the TTY client 201 / TTY server 101 is incorporated. Specifically, when transmitting data to the TTY client 201, the TTY server 101 adds a packet header indicating whether the data is control data or communication data. Further, when transmitting data to the TTY server 101, the TTY client 201 adds a packet header indicating whether the data is control data or communication data.

ヘッダ付きのデータを受信したTTYクライアント201/TTYサーバ101は、当該ヘッダに基づき、例えば、IDのデバイスファイル名への設定のための処理や、TTY属性(通信パラメータ等)の設定のための処理を行うことができる。   The TTY client 201 / TTY server 101 having received the data with the header, for example, performs processing for setting the ID to the device file name, and processing for setting the TTY attribute (communication parameter etc.) based on the header. It can be performed.

(その他の例)
これまでに説明した例は、シリアルインタフェースで端末10に接続されるTTY機器を対象としているが、本発明の適用範囲はシリアルインタフェースで通信する機器に限定されるわけではない。すなわち、汎用オペレーティングシステムで生成されるデバイスファイルであれば、他のタイプのものでも適用可能である。
(Other examples)
Although the examples described above are directed to TTY devices connected to the terminal 10 via a serial interface, the scope of application of the present invention is not limited to devices communicating via a serial interface. That is, as long as it is a device file generated by a general purpose operating system, other types can be applied.

例えば、パラレルインタフェースで接続される機器にも本発明を適用可能である。具体的には、例えば、これまでに説明した方式を適用することで、拠点側のパラレルポート(パラレルインタフェースで接続される機器に対応するデバイスファイル)をセンタ側のコンピュータに仮想的に移動させることで、センタ側コンピュータから拠点側のコンピュータに接続されたプリンタ/dev/prnに対して印字を指示したり、また、拠点側のコンピュータに接続されているハードディスクデバイス/dev/sdaをあたかも自ホストに接続されているようにマウントすることも可能である。また、パラレルポートにプリンタ以外の機器を接続している場合には、遠隔印刷のアプリケーションではその機器をネットワーク化することは困難であり、本発明に係るデバイスファイル転送が有効になる。   For example, the present invention is applicable to devices connected by a parallel interface. Specifically, for example, by virtually applying the method described above, the parallel port on the base side (the device file corresponding to the device connected by the parallel interface) is virtually moved to the computer on the center side. Then, the center side computer instructs the printer / dev / prn connected to the base side computer to print, and the hard disk device / dev / sda connected to the base side computer is as if it were to its own host. It is also possible to mount as connected. When a device other than a printer is connected to the parallel port, it is difficult to network the device with a remote printing application, and device file transfer according to the present invention is effective.

(実施の形態のまとめ)
以上、説明したように、本実施の形態により、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムであって、前記通信中継システムは、サーバ側コンピュータとデバイス収容端末とを備え、前記サーバ側コンピュータは、前記アプリケーションと、前記サーバ側コンピュータにおいて生成されたデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、前記デバイスファイルを生成して、前記アプリケーションと前記サーバ部とを接続する疑似デバイスドライバと、を備え、前記デバイス収容端末は、前記デバイスと接続するインタフェースと、前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部と、を備える通信中継システムが提供される。
(Summary of the embodiment)
As described above, according to the present embodiment, the communication relay system relays data communication between an application and a device, the communication relay system including a server computer and a device accommodating terminal, The server-side computer connects the application and a device file generated in the server-side computer, and generates a server unit that performs data communication with the device accommodation terminal, and generates the device file. And a pseudo device driver for connecting to the server unit, wherein the device accommodation terminal is connected to the device via an interface for connection to the device and a device file generated at the device accommodation terminal, and the server Computer And a client unit for performing data communication, a communication relay system comprising a provided with.

前記疑似デバイスドライバは、前記サーバ側コンピュータにおける前記デバイスファイルとして、第1のデバイスファイルと第2のデバイスファイルを生成し、当該第1のデバイスファイルと当該第2のデバイスファイルとを接続し、前記アプリケーションが前記第1のデバイスファイルに対してデータの読み書きを行い、前記サーバ部が前記第2のデバイスファイルに対してデータの読み書きを行うことにより、前記アプリケーションは前記デバイスとデータ通信を行うように構成してもよい。   The pseudo device driver generates a first device file and a second device file as the device file in the server side computer, connects the first device file and the second device file, and The application performs data communication with the device by the application reading and writing data from the first device file and the server unit reading and writing data from the second device file. It may be configured.

前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末を識別するための識別情報を前記サーバ側コンピュータに通知し、前記サーバ側コンピュータは、当該サーバ側コンピュータおけるデバイスファイルとして、前記識別情報を含む名前を有するデバイスファイルを生成するようにしてもよい。   The client unit in the device accommodation terminal notifies identification information for identifying the device accommodation terminal to the server computer, and the server computer includes the identification information as a device file in the server computer A device file having a name may be generated.

前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末において前記デバイスを接続するポート情報を前記サーバ側コンピュータに通知し、前記サーバ側コンピュータは、前記サーバ側コンピュータおけるデバイスファイルとして、前記ポート情報を含む名前を有するデバイスファイルを生成するようにしてもよい。   The client unit in the device accommodation terminal notifies the server computer of port information for connecting the device in the device accommodation terminal, and the server computer uses the port information as a device file in the server computer. It is also possible to generate a device file having a name that includes.

前記サーバ側コンピュータおける前記サーバ部は、前記アプリケーションにより設定される属性情報を前記デバイス収容端末における前記クライアント部に通知し、前記クライアント部は、前記属性情報に基づいて前記デバイスとの通信に関するパラメータの設定を行うこととしてもよい。   The server unit in the server-side computer notifies attribute information set by the application to the client unit in the device accommodation terminal, and the client unit is a parameter related to communication with the device based on the attribute information. The setting may be performed.

また、本実施の形態により、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記アプリケーションを備えるサーバ側コンピュータに接続されるデバイス収容端末であって、前記デバイスと接続するインタフェースと、前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部とを備えるデバイス収容端末が提供される。   Further, according to the present embodiment, in a communication relay system for relaying data communication between an application and a device, the interface is a device accommodating terminal connected to a server-side computer provided with the application, the interface being connected to the device And a client unit connected to the device via the device file generated at the device terminal and performing data communication with the server-side computer.

また、本実施の形態により、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記デバイスと接続されるデバイス収容端末とデータ通信を行うサーバ側コンピュータであって、前記アプリケーションと、前記サーバ側コンピュータにおいて生成されたデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、前記デバイスファイルを生成して、前記アプリケーションと前記サーバ部とを接続する疑似デバイスドライバとを備えるサーバ側コンピュータが提供される。   Further, according to the present embodiment, in a communication relay system for relaying data communication between an application and a device, a server side computer for performing data communication with a device accommodating terminal connected to the device, the application comprising A pseudo-device driver that connects with a device file generated in the server-side computer and performs data communication with the device accommodation terminal, and generates the device file and connects the application and the server unit And a server-side computer comprising:

また、本実施の形態により、アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムが実行する通信中継方法であって、前記通信中継システムは、前記アプリケーションを備えるサーバ側コンピュータと、前記デバイスを接続するデバイス収容端末とを備え、前記デバイス収容端末が前記サーバ側コンピュータに接続要求を送信することにより、前記デバイス収容端末と前記サーバ側コンピュータとの間でコネクションを確立するステップと、前記サーバ側コンピュータが、前記アプリケーションによりデータの読み書きを行うサーバ側デバイスファイルを生成するステップと、前記サーバ側デバイスファイルと、前記デバイス収容端末における前記デバイスに対応するクライアント側デバイスファイルとを介して、前記アプリケーションと前記デバイスとの間のデータ通信の中継を行うステップとを備える通信中継方法が提供される。   Further, according to the present embodiment, there is provided a communication relay method executed by a communication relay system for relaying data communication between an application and a device, wherein the communication relay system comprises a server side computer including the application; Establishing a connection between the device accommodating terminal and the server computer by the device accommodating terminal transmitting a connection request to the server computer; A server-side computer generates a server-side device file for reading and writing data by the application, and the server-side device file and a client-side device file corresponding to the device in the device accommodation terminal; Communication relay method comprising the steps of: relaying data communication between the serial application and the device is provided.

(第1項)
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムであって、
前記通信中継システムは、サーバ側コンピュータとデバイス収容端末とを備え、
前記サーバ側コンピュータは、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成されたデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記デバイスファイルを生成して、前記アプリケーションと前記サーバ部とを接続する疑似デバイスドライバと、を備え、
前記デバイス収容端末は、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部と、を備える
ことを特徴とする通信中継システム。
(第2項)
前記疑似デバイスドライバは、前記サーバ側コンピュータにおける前記デバイスファイルとして、第1のデバイスファイルと第2のデバイスファイルを生成し、当該第1のデバイスファイルと当該第2のデバイスファイルとを接続し、
前記アプリケーションが前記第1のデバイスファイルに対してデータの読み書きを行い、前記サーバ部が前記第2のデバイスファイルに対してデータの読み書きを行うことにより、前記アプリケーションは前記デバイスとデータ通信を行う
ことを特徴とする第1項に記載の通信中継システム。
(第3項)
前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末を識別するための識別情報を前記サーバ側コンピュータに通知し、
前記サーバ側コンピュータは、当該サーバ側コンピュータおけるデバイスファイルとして、前記識別情報を含む名前を有するデバイスファイルを生成する
ことを特徴とする第1項又は第2項に記載の通信中継システム。
(第4項)
前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末において前記デバイスを接続するポート情報を前記サーバ側コンピュータに通知し、
前記サーバ側コンピュータは、前記サーバ側コンピュータおけるデバイスファイルとして、前記ポート情報を含む名前を有するデバイスファイルを生成する
ことを特徴とする第1項ないし第3項のうちいずれか1項に記載の通信中継システム。
(第5項)
前記サーバ側コンピュータおける前記サーバ部は、前記アプリケーションにより設定される属性情報を前記デバイス収容端末における前記クライアント部に通知し、
前記クライアント部は、前記属性情報に基づいて前記デバイスとの通信に関するパラメータの設定を行う
ことを特徴とする第1項ないし第4項のうちいずれか1項に記載の通信中継システム。
(第6項)
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記アプリケーションを備えるサーバ側コンピュータに接続されるデバイス収容端末であって、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部と
を備えることを特徴とするデバイス収容端末。
(第7項)
コンピュータを、第6項に記載のデバイス収容端末における前記クライアント部として機能させるためのプログラム。
(第8項)
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記デバイスと接続されるデバイス収容端末とデータ通信を行うサーバ側コンピュータであって、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成されたデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記デバイスファイルを生成して、前記アプリケーションと前記サーバ部とを接続する疑似デバイスドライバと
を備えることを特徴とするサーバ側コンピュータ。
(第9項)
コンピュータを、第8項に記載のサーバ側コンピュータにおける前記サーバ部及び前記疑似デバイスドライバとして機能させるためのプログラム。
(第10項)
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムが実行する通信中継方法であって、前記通信中継システムは、前記アプリケーションを備えるサーバ側コンピュータと、前記デバイスを接続するデバイス収容端末とを備え、
前記デバイス収容端末が前記サーバ側コンピュータに接続要求を送信することにより、前記デバイス収容端末と前記サーバ側コンピュータとの間でコネクションを確立するステップと、
前記サーバ側コンピュータが、前記アプリケーションによりデータの読み書きを行うサーバ側デバイスファイルを生成するステップと、
前記サーバ側デバイスファイルと、前記デバイス収容端末における前記デバイスに対応するクライアント側デバイスファイルとを介して、前記アプリケーションと前記デバイスとの間のデータ通信の中継を行うステップと
を備えることを特徴とする通信中継方法。
本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。
(Section 1)
A communication relay system for relaying data communication between an application and a device, comprising:
The communication relay system includes a server computer and a device accommodating terminal.
The server-side computer is
Said application,
A server unit connected to the device file generated by the server-side computer and performing data communication with the device accommodating terminal;
And a pseudo device driver that generates the device file and connects the application and the server unit.
The device accommodation terminal is
An interface connected to the device;
And a client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer.
A communication relay system characterized by
(Section 2)
The pseudo device driver generates a first device file and a second device file as the device file in the server side computer, and connects the first device file and the second device file.
The application performs data communication with the device by the application performing reading and writing of data with respect to the first device file and the server unit performing reading and writing of data with respect to the second device file.
The communication relay system according to claim 1, characterized in that:
(Section 3)
The client unit in the device accommodation terminal notifies identification information for identifying the device accommodation terminal to the server computer.
The server side computer generates a device file having a name including the identification information as a device file on the server side computer
The communication relay system according to claim 1 or 2, characterized in that:
(Section 4)
The client unit in the device accommodation terminal notifies the server computer of port information for connecting the device in the device accommodation terminal.
The server computer generates a device file having a name including the port information as a device file on the server computer.
The communication relay system according to any one of items 1 to 3, characterized in that:
(Section 5)
The server unit in the server side computer notifies attribute information set by the application to the client unit in the device accommodation terminal.
The client unit sets parameters related to communication with the device based on the attribute information.
The communication relay system according to any one of the items 1 to 4, characterized in that:
(Section 6)
A communication relay system for relaying data communication between an application and a device, comprising: a device accommodating terminal connected to a server-side computer including the application,
An interface connected to the device;
A client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer;
A device accommodating terminal characterized by comprising:
(Section 7)
The program for functioning a computer as said client part in the device accommodation terminal of 6th term.
(Section 8)
A communication relay system for relaying data communication between an application and a device, comprising: a server side computer for performing data communication with a device accommodating terminal connected to the device,
Said application,
A server unit connected to the device file generated by the server-side computer and performing data communication with the device accommodating terminal;
A pseudo device driver that generates the device file and connects the application and the server unit;
A server side computer comprising:
(Section 9)
9. A program for causing a computer to function as the server unit and the pseudo device driver in the server side computer according to item 8.
(Section 10)
A communication relay method executed by a communication relay system for relaying data communication between an application and a device, wherein the communication relay system includes a server-side computer including the application, and a device accommodating terminal for connecting the device. Equipped with
Establishing a connection between the device accommodating terminal and the server computer by transmitting a connection request to the server computer;
The server-side computer generates a server-side device file for reading and writing data by the application;
Relaying data communication between the application and the device via the server-side device file and a client-side device file corresponding to the device at the device accommodation terminal;
A communication relay method comprising:
The present invention is not limited to the above embodiment, and various modifications and applications are possible within the scope of the claims.

10 端末
11 アプリケーション
12 デバイスファイル
13 TTYデバイスドライバ
14 インタフェース
20 TTY機器
30 センター側データ集約装置
100 サーバ側コンピュータ
101 TTYサーバ
102 疑似TTYデバイスドライバ
103 アプリケーション
104 記憶装置
105 TTYデバイスファイル
106 キャラクタデバイスファイル
107 特殊ファイル(/proc/tty)
110 コネクション確立部
120 デバイスファイル生成要求部
130 データ通信部
150 デバイスファイル生成部
160 デバイスファイル間接続部
170 属性情報通知部
200 TTY機器収容端末
201 TTYクライアント
202 デバイスファイル
203 TTYデバイスドライバ
204 インタフェース
210 デバイスファイル管理部
220 コネクション確立部
230 データ通信部
240 属性設定部
Reference Signs List 10 terminal 11 application 12 device file 13 TTY device driver 14 interface 20 TTY device 30 center side data collection device 100 server side computer 101 TTY server 102 pseudo TTY device driver 103 application 104 storage device 105 TTY device file 106 character device file 107 special file (/ Proc / tty)
110 Connection establishment unit 120 Device file generation request unit 130 Data communication unit 150 Device file generation unit 160 Attribute file notification unit 170 Attribute information notification unit 200 TTY device accommodating terminal 201 TTY client 202 device file 203 TTY device driver 204 interface 210 device file Management unit 220 Connection establishment unit 230 Data communication unit 240 Attribute setting unit

Claims (11)

アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムであって、
前記通信中継システムは、サーバ側コンピュータとデバイス収容端末とを備え、
前記サーバ側コンピュータは、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成される第2のデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記第2のデバイスファイルと第1のデバイスファイルを生成し、当該第1のデバイスファイルを介して前記アプリケーションと接続し、前記第2のデバイスファイルを介して前記サーバ部と接続する疑似デバイスドライバと、を備え、
前記デバイス収容端末は、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部と、を備え、
前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末を識別するための識別情報を前記サーバ側コンピュータに通知し、
前記疑似デバイスドライバは、前記サーバ側コンピュータにおける第1のデバイスファイルとして、前記識別情報を含む名前を有する第1のデバイスファイルを生成する
ことを特徴とする通信中継システム。
A communication relay system for relaying data communication between an application and a device, comprising:
The communication relay system includes a server computer and a device accommodating terminal.
The server-side computer is
Said application,
A server unit that connects with a second device file generated in the server-side computer and performs data communication with the device accommodating terminal;
A pseudo device driver that generates the second device file and the first device file, connects to the application via the first device file, and connects to the server unit via the second device file; , And
The device accommodation terminal is
An interface connected to the device;
A client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer;
The client unit in the device accommodation terminal notifies identification information for identifying the device accommodation terminal to the server computer.
The communication relay system, wherein the pseudo device driver generates a first device file having a name including the identification information as a first device file in the server-side computer.
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムであって、
前記通信中継システムは、サーバ側コンピュータとデバイス収容端末とを備え、
前記サーバ側コンピュータは、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成される第2のデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記第2のデバイスファイルと第1のデバイスファイルを生成し、当該第1のデバイスファイルを介して前記アプリケーションと接続し、前記第2のデバイスファイルを介して前記サーバ部と接続する疑似デバイスドライバと、を備え、
前記デバイス収容端末は、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部と、を備え、
前記デバイス収容端末における前記クライアント部は、当該デバイス収容端末において前記デバイスを接続するポートの情報を前記サーバ側コンピュータに通知し、
前記疑似デバイスドライバは、前記サーバ側コンピュータにおける第1のデバイスファイルとして、前記ポートの情報を含む名前を有する第1のデバイスファイルを生成する
ことを特徴とする通信中継システム。
A communication relay system for relaying data communication between an application and a device, comprising:
The communication relay system includes a server computer and a device accommodating terminal.
The server-side computer is
Said application,
A server unit that connects with a second device file generated in the server-side computer and performs data communication with the device accommodating terminal;
A pseudo device driver that generates the second device file and the first device file, connects to the application via the first device file, and connects to the server unit via the second device file; , And
The device accommodation terminal is
An interface connected to the device;
A client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer;
The client unit in the device accommodation terminal notifies the server computer of information of a port to which the device is connected in the device accommodation terminal.
The communication relay system, wherein the pseudo device driver generates a first device file having a name including information of the port as a first device file in the server side computer.
前記アプリケーションが前記第1のデバイスファイルに対してデータの読み書きを行い、前記サーバ部が前記第2のデバイスファイルに対してデータの読み書きを行うことにより、前記アプリケーションは前記デバイスとデータ通信を行う
ことを特徴とする請求項1又は2に記載の通信中継システム。
The application performs data communication with the device by the application performing reading and writing of data with respect to the first device file and the server unit performing reading and writing of data with respect to the second device file. The communication relay system according to claim 1 or 2, characterized in that
前記サーバ側コンピュータにおける前記サーバ部は、前記アプリケーションにより設定される属性情報を前記デバイス収容端末における前記クライアント部に通知し、
前記クライアント部は、前記属性情報に基づいて前記デバイスとの通信に関するパラメータの設定を行う
ことを特徴とする請求項1ないし3のうちいずれか1項に記載の通信中継システム。
The server unit in the server side computer notifies the client unit in the device accommodation terminal of attribute information set by the application.
The communication relay system according to any one of claims 1 to 3, wherein the client unit sets parameters related to communication with the device based on the attribute information.
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記アプリケーションを備えるサーバ側コンピュータに接続されるデバイス収容端末であって、
前記デバイスと接続するインタフェースと、
前記デバイス収容端末において生成されたデバイスファイルを介して前記デバイスと接続するとともに、前記サーバ側コンピュータとデータ通信を行うクライアント部とを備え、
前記クライアント部は、前記デバイス収容端末において前記デバイスを接続するポートの情報を前記サーバ側コンピュータに通知し、
前記サーバ側コンピュータにおいて、前記アプリケーションがデータの読み書きを行うデバイスファイルとして、前記ポートの情報を含む名前を有するデバイスファイルが生成される
ことを特徴とするデバイス収容端末。
A communication relay system for relaying data communication between an application and a device, comprising: a device accommodating terminal connected to a server-side computer including the application,
An interface connected to the device;
A client unit connected to the device via the device file generated at the device accommodation terminal and performing data communication with the server-side computer;
The client unit notifies the server side computer of information on a port connecting the device in the device accommodation terminal,
A device accommodating terminal, wherein the server side computer generates a device file having a name including information of the port as a device file to which the application reads and writes data.
コンピュータを、請求項5に記載のデバイス収容端末における前記クライアント部として機能させるためのプログラム。   The program for functioning a computer as said client part in the device accommodation terminal of Claim 5. アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記デバイスと接続されるデバイス収容端末とデータ通信を行うサーバ側コンピュータであって、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成される第2のデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記第2のデバイスファイルと第1のデバイスファイルを生成し、当該第1のデバイスファイルを介して前記アプリケーションと接続し、前記第2のデバイスファイルを介して前記サーバ部と接続する疑似デバイスドライバと、を備え、
前記サーバ側コンピュータは、前記デバイス収容端末から、当該デバイス収容端末を識別するための識別情報を受信し、
前記疑似デバイスドライバは、前記サーバ側コンピュータにおける第1のデバイスファイルとして、前記識別情報を含む名前を有する第1のデバイスファイルを生成する
ことを特徴とするサーバ側コンピュータ。
A communication relay system for relaying data communication between an application and a device, comprising: a server side computer for performing data communication with a device accommodating terminal connected to the device,
Said application,
A server unit that connects with a second device file generated in the server-side computer and performs data communication with the device accommodating terminal;
A pseudo device driver that generates the second device file and the first device file, connects to the application via the first device file, and connects to the server unit via the second device file; , And
The server-side computer receives, from the device accommodation terminal, identification information for identifying the device accommodation terminal.
The pseudo device driver generates a first device file having a name including the identification information as a first device file in the server computer.
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムにおいて、前記デバイスと接続されるデバイス収容端末とデータ通信を行うサーバ側コンピュータであって、
前記アプリケーションと、
前記サーバ側コンピュータにおいて生成される第2のデバイスファイルと接続するとともに、前記デバイス収容端末とデータ通信を行うサーバ部と、
前記第2のデバイスファイルと第1のデバイスファイルを生成し、当該第1のデバイスファイルを介して前記アプリケーションと接続し、前記第2のデバイスファイルを介して前記サーバ部と接続する疑似デバイスドライバと、を備え、
前記サーバ側コンピュータは、前記デバイス収容端末から、当該デバイス収容端末において前記デバイスを接続するポートの情報を受信し、
前記疑似デバイスドライバは、前記サーバ側コンピュータにおける第1のデバイスファイルとして、前記ポートの情報を含む名前を有する第1のデバイスファイルを生成する
ことを特徴とするサーバ側コンピュータ。
A communication relay system for relaying data communication between an application and a device, comprising: a server side computer for performing data communication with a device accommodating terminal connected to the device,
Said application,
A server unit that connects with a second device file generated in the server-side computer and performs data communication with the device accommodating terminal;
A pseudo device driver that generates the second device file and the first device file, connects to the application via the first device file, and connects to the server unit via the second device file; , And
The server-side computer receives, from the device accommodation terminal, information of a port connecting the device in the device accommodation terminal.
The pseudo device driver generates a first device file having a name including information of the port as a first device file in the server computer.
コンピュータを、請求項又はに記載のサーバ側コンピュータにおける前記サーバ部及び前記疑似デバイスドライバとして機能させるためのプログラム。 The program for functioning a computer as said server part and said pseudo device driver in the server side computer of Claim 7 or 8 . アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムが実行する通信中継方法であって、
前記通信中継システムは、前記アプリケーションを備えるサーバ側コンピュータと、前記デバイスを接続するデバイス収容端末とを備え、
前記デバイス収容端末が前記サーバ側コンピュータに接続要求を送信することにより、前記デバイス収容端末と前記サーバ側コンピュータとの間でコネクションを確立するステップと、
前記サーバ側コンピュータが、前記アプリケーションによりデータの読み書きを行うサーバ側デバイスファイルを生成するステップと、
前記アプリケーションが、前記サーバ側デバイスファイルと、前記デバイス収容端末における前記デバイスに対応するクライアント側デバイスファイルとを介して、前記デバイスとデータ通信を行うステップとを備え、
前記サーバ側デバイスファイルを生成するステップにおいて、前記サーバ側コンピュータは、前記デバイス収容端末から受信した識別情報であって、当該デバイス収容端末を識別するための識別情報を含む名前を有するサーバ側デバイスファイルを生成する
ことを特徴とする通信中継方法。
A communication relay method executed by a communication relay system for relaying data communication between an application and a device, comprising:
The communication relay system includes a server-side computer including the application, and a device accommodating terminal that connects the device.
Establishing a connection between the device accommodating terminal and the server computer by transmitting a connection request to the server computer;
The server-side computer generates a server-side device file for reading and writing data by the application;
Performing the data communication with the device via the server-side device file and a client-side device file corresponding to the device in the device accommodation terminal;
In the step of generating the server-side device file, the server-side device file has a name including identification information for identifying the device accommodation terminal, the identification information received from the device accommodation terminal. A communication relay method characterized in that:
アプリケーションとデバイスとの間でデータ通信の中継を行う通信中継システムが実行する通信中継方法であって、
前記通信中継システムは、前記アプリケーションを備えるサーバ側コンピュータと、前記デバイスを接続するデバイス収容端末とを備え、
前記デバイス収容端末が前記サーバ側コンピュータに接続要求を送信することにより、前記デバイス収容端末と前記サーバ側コンピュータとの間でコネクションを確立するステップと、
前記サーバ側コンピュータが、前記アプリケーションによりデータの読み書きを行うサーバ側デバイスファイルを生成するステップと、
前記アプリケーションが、前記サーバ側デバイスファイルと、前記デバイス収容端末における前記デバイスに対応するクライアント側デバイスファイルとを介して、前記デバイスとデータ通信を行うステップとを備え、
前記サーバ側デバイスファイルを生成するステップにおいて、前記サーバ側コンピュータは、前記デバイス収容端末から受信したポートの情報であって、当該デバイス収容端末において前記デバイスを接続するポートの情報を含む名前を有するサーバ側デバイスファイルを生成する
ことを特徴とする通信中継方法。
A communication relay method executed by a communication relay system for relaying data communication between an application and a device, comprising:
The communication relay system includes a server-side computer including the application, and a device accommodating terminal that connects the device.
Establishing a connection between the device accommodating terminal and the server computer by transmitting a connection request to the server computer;
The server-side computer generates a server-side device file for reading and writing data by the application;
Performing the data communication with the device via the server-side device file and a client-side device file corresponding to the device in the device accommodation terminal;
In the step of generating the server-side device file, the server-side computer is a server having a name including information of a port received from the device accommodation terminal, the information of the port connecting the device in the device accommodation terminal A communication relay method characterized in that a side device file is generated.
JP2015104996A 2015-05-22 2015-05-22 Communication relay system, device accommodation terminal, server side computer, program, and communication relay method Active JP6539497B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015104996A JP6539497B2 (en) 2015-05-22 2015-05-22 Communication relay system, device accommodation terminal, server side computer, program, and communication relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015104996A JP6539497B2 (en) 2015-05-22 2015-05-22 Communication relay system, device accommodation terminal, server side computer, program, and communication relay method

Publications (2)

Publication Number Publication Date
JP2016218871A JP2016218871A (en) 2016-12-22
JP6539497B2 true JP6539497B2 (en) 2019-07-03

Family

ID=57581230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015104996A Active JP6539497B2 (en) 2015-05-22 2015-05-22 Communication relay system, device accommodation terminal, server side computer, program, and communication relay method

Country Status (1)

Country Link
JP (1) JP6539497B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7378336B2 (en) * 2020-03-31 2023-11-13 三菱電機株式会社 Air conditioner controller, control system, and control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009031882A (en) * 2007-07-25 2009-02-12 Hitachi Ltd Device management system, and server and virtual device management program used therefor
JP5833880B2 (en) * 2011-10-07 2015-12-16 キヤノンイメージングシステムズ株式会社 Information processing apparatus, device control apparatus, device control system, and control method thereof

Also Published As

Publication number Publication date
JP2016218871A (en) 2016-12-22

Similar Documents

Publication Publication Date Title
US11075821B2 (en) Method and apparatus for managing field device based on cloud server
JP5805821B2 (en) Communication method and network device
US9088558B2 (en) Secure one-way interface for OPC data transfer
US20110277028A1 (en) Assigning a network address for a virtual device to virtually extend the functionality of a network device
US20150324152A1 (en) Network Printing System and Printing Method
KR100953676B1 (en) Architecture for emulating an ethernet network interface card
JP5122587B2 (en) Connection control method, connection control server device, connection control client device, connection control system, and program
JP6665190B2 (en) Network sharing implementation method and apparatus
US10367894B2 (en) Information processing apparatus, method for controlling the same, non-transitory computer-readable storage medium, and information processing system
WO2015067036A1 (en) Remote access configuration method, remote access method, apparatus, and system
CN110417632B (en) Network communication method, system and server
JP5581470B2 (en) Device sharing system, device sharing server, device sharing client, and device sharing method
US20110276673A1 (en) Virtually extending the functionality of a network device
JP6539497B2 (en) Communication relay system, device accommodation terminal, server side computer, program, and communication relay method
US8646066B2 (en) Security protocol control apparatus and security protocol control method
WO2012129830A1 (en) Method and system for accessing web-page-type control interface of data card
WO2019045837A1 (en) Remote application configuration on network-attached storage
CN109714337B (en) Data encryption transmission method and equipment
WO2013140950A1 (en) Information processing system, information processing method, server, control method therefor, and control program
JP5438230B2 (en) Internet connection system
EP3176986A1 (en) Method, device and system for remote desktop protocol gateway to conduct routing and switching
JP5870804B2 (en) Communication control system, communication control method, and communication control program
JP6281369B2 (en) Communication system and communication program
CN112261165B (en) Communication method, system, device, computer equipment and storage medium
TWI428765B (en) Electronic system and method thereof capable of sharing application configurations

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190507

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190610

R150 Certificate of patent or registration of utility model

Ref document number: 6539497

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