JP3392314B2 - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JP3392314B2
JP3392314B2 JP03639497A JP3639497A JP3392314B2 JP 3392314 B2 JP3392314 B2 JP 3392314B2 JP 03639497 A JP03639497 A JP 03639497A JP 3639497 A JP3639497 A JP 3639497A JP 3392314 B2 JP3392314 B2 JP 3392314B2
Authority
JP
Japan
Prior art keywords
packet
tcp
serial
data
character data
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.)
Expired - Fee Related
Application number
JP03639497A
Other languages
Japanese (ja)
Other versions
JPH10233820A (en
Inventor
有紀 久保田
敏男 大河原
元則 佐藤
Original Assignee
株式会社日立インフォメーションテクノロジー
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 株式会社日立インフォメーションテクノロジー filed Critical 株式会社日立インフォメーションテクノロジー
Priority to JP03639497A priority Critical patent/JP3392314B2/en
Publication of JPH10233820A publication Critical patent/JPH10233820A/en
Application granted granted Critical
Publication of JP3392314B2 publication Critical patent/JP3392314B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、TCP/IPパケ
ット通信プロトコルを持つLANポート及びキャラクタ
単位のデータ通信プロトコルを持つシリアルポートとを
有するプロトコル変換装置におけるデータ転送方法に係
り、特にLANポートから受信したTCP/IPパケッ
トにカプセル化されたキャラクタデータを取り出してシ
リアルポートへ送信する機能及びシリアルポートで受信
したキャラクタデータをTCP/IPパケットにカプセ
ル化しLANポートへ送信する機能を備えるデータ伝送
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer method in a protocol converter having a LAN port having a TCP / IP packet communication protocol and a serial port having a character-based data communication protocol, and more particularly to receiving from a LAN port. The present invention relates to a data transmission method having a function of extracting character data encapsulated in a TCP / IP packet and transmitting it to a serial port, and a function of encapsulating character data received by the serial port in a TCP / IP packet and transmitting it to a LAN port.

【0002】[0002]

【従来の技術】一般にTCP/IPパケット通信プロト
コルを持つLANポート及びキャラクタ単位のデータ通
信プロトコルを持つシリアルポートとを有するプロトコ
ル変換装置は、シリアルポートより受信したデータをL
ANに送信するためにシリアル端末よりキャラクタデー
タをシリアルポートで受信した後、該受信キャラクタデ
ータをTCP/IPパケットにカプセル化してLANポ
ートに送信することが行われている。
2. Description of the Related Art Generally, a protocol converter having a LAN port having a TCP / IP packet communication protocol and a serial port having a character-based data communication protocol transfers data received from the serial port to an L level.
After receiving character data from a serial terminal at a serial port for transmission to an AN, the received character data is encapsulated in a TCP / IP packet and transmitted to a LAN port.

【0003】従来技術によるTCP/IPパケットにカ
プセル化する方法は、シリアルポートより受信したキャ
ラクタデータのみをそのままカプセル化してからLAN
に送信するのみであり、プロトコル変換装置への動作パ
ラメータの設定やホストとシリアル端末とプロトコル変
換装置間の状態情報の取得を行うためには装置に付属の
入力装置や専用の制御端末を用いることが必要であっ
た。また、LAN上のホストから複数のシリアル端末を
制御および管理するシステム構成の場合は、シリアル端
末の数だけプロトコル変換装置を用意する必要があっ
た。
A conventional method of encapsulating TCP / IP packets in a TCP / IP packet is to encapsulate only the character data received from the serial port as it is and then to the LAN.
To send operation information to the protocol converter and to obtain status information between the host, serial terminal, and protocol converter, use the input device attached to the device or the dedicated control terminal. Was needed. Further, in the case of a system configuration in which a host on the LAN controls and manages a plurality of serial terminals, it is necessary to prepare protocol conversion devices as many as the number of serial terminals.

【0004】[0004]

【発明が解決しようとする課題】従来技術によるデータ
伝送方法は、プロトコル変換装置を用いてシリアルポー
トに接続されたシリアル端末とLANポートに接続され
たLAN上のホスト間でデータ通信を行った場合、プロ
トコル変換装置への動作パラメータの設定やホストとシ
リアル端末とプロトコル変換装置間の状態情報の取得を
行うためには、プロトコル変換装置の近くまで行き付属
の入力装置を使用して実施する必要があると言う不具合
があった。またLAN上のホストが複数のシリアル端末
とデータ通信を行うシステム構成の場合は、キャラクタ
データのみをTCP/IPパケットにカプセル化してい
たため、ホストが複数の端末を識別する手段、例えばI
Pアドレスなどがシリアル端末毎に必要であり、シリア
ル端末の数を増やすとともに運用管理が煩雑になると共
に、LAN上のホストとシリアル端末間でやり取りする
通信データをそのままTCP/IPパケットにカプセル
化してやり取りするため、ホストと同じLANに接続し
ている装置なら誰でもホストが送受信するパケットを受
信でき、ホスト以外の装置も通信データを解析できるこ
とに起因するセキュリティを保つことが困難であると言
う不具合があった。
In the data transmission method according to the prior art, a protocol converter is used to perform data communication between a serial terminal connected to a serial port and a host on a LAN connected to a LAN port. In order to set the operating parameters to the protocol converter and to obtain the status information between the host, serial terminal and protocol converter, it is necessary to go close to the protocol converter and use the attached input device. There was a problem saying that there was. Further, in the case of a system configuration in which the host on the LAN performs data communication with a plurality of serial terminals, only the character data is encapsulated in the TCP / IP packet, so that the means for the host to identify the plurality of terminals, for example, I
Since a P address is required for each serial terminal, the number of serial terminals increases and the operation management becomes complicated, and the communication data exchanged between the host on the LAN and the serial terminal is directly encapsulated in TCP / IP packets. to interact, the host can receive packets anyone host if the connected device to the same LAN to send and receive and also to maintain the security due to Turkey <br/> and can analyze communication data device other than the host There was a problem that it was difficult.

【0005】本発明の目的は、前述の従来技術による不
具合を除去することであり、LAN上のホストからプロ
トコル変換装置およびシリアル端末を制御できると共に
LAN上のホストから複数のシリアル端末の運用管理を
容易に実施でき、更にLAN内に流れるホストとシリア
ル端末間の通信データのセキュリティ強化することが出
来るデータ伝送方法を提供することである。
An object of the present invention is to eliminate the above-mentioned problems caused by the conventional technique. The host on the LAN can control the protocol converter and the serial terminal, and the host on the LAN can manage the operation of a plurality of serial terminals. It is an object of the present invention to provide a data transmission method which can be easily implemented and which can enhance security of communication data between a host and a serial terminal flowing in a LAN.

【0006】[0006]

【課題を解決するための手段】前記目的を達成するため
本発明は、TCP/IPパケット通信プロトコルを持つ
LANシステムのホストとキャラクタ単位のデータ通信
プロトコルを持つシリアル通信端末間の接続運用を行う
プロトコル変換装置を含むデータ伝送方法において、前
記プロトコル変換装置、TCP/IPパケットで通信
するプロトコルを持つLANポートと、キャラクタ単位
のデータで通信するプロトコルを持つシリアルポート
と、前記LANポートで受信したTCP/IPパケット
内からカプセル化されたキャラクタデータを取り出すキ
ャラクタデータ抽出部と、前記シリアルポートで受信し
たキャラクタデータをTCP/IPパケット内にカプセ
ル化するカプセル化部と、TCP/IPパケット内に独
自フォーマットのヘッダを付加するヘッダ付加部と、T
CP/IPパケット内に付加した独自フォーマットのヘ
ッダを解析するヘッダ解析部と、シリアル通信端末の状
態を制御するための動作パラメータ及びシリアル制御信
号を格納する動作パラメータ部及び状態情報部と、を備
え、TCP/IPパケット通信プロトコルを持つLAN
システムのホストが、前記動作パラメータを指示する独
自フォーマット付加ヘッダを含むTCP/IPパケット
をプロトコル変換装置に送信し、プロトコル変換装置が
前記TCP/IPパケットの独自フォーマット付加ヘッ
ダを解析して動作パラメータ部及び状態情報部に設定す
ることにより、TCP/IPパケット通信プロトコルを
持つLANシステムのホストがシリアルポートに接続さ
れているシリアル端末の状態を制御および管理し、前記
LANシステムのホストからTCP/IPパケットを受
信した場合には前記キャラクタデータ抽出部がTCP/
IPパケットからキャラクタデータを抽出してシリアル
通信端末システムに転送すると共に、前記シリアル通信
端末システムからキャラクタデータを受信した場合には
前記カプセル化部が受信したキャラクタデータをTCP
/IPパケット内にカプセル化してLANシステムに転
送することを第1の特徴とする。
In order to achieve the above object, the present invention provides a protocol for connection operation between a host of a LAN system having a TCP / IP packet communication protocol and a serial communication terminal having a character-based data communication protocol. In the data transmission method including a conversion device, the protocol conversion device includes a LAN port having a protocol for communicating with TCP / IP packets, a serial port having a protocol for communicating with character-by-character data, and a TCP received at the LAN port. / IP packet for extracting the encapsulated character data, a TCP / IP packet for encapsulating the character data received by the serial port, and a unique format for the TCP / IP packet. F A header adding unit for adding Da, T
A header analysis unit that analyzes the header of the unique format added in the CP / IP packet and the status of the serial communication terminal.
Parameters and serial control signals for controlling
A LAN having a TCP / IP packet communication protocol , which includes an operation parameter section for storing a signal and a status information section.
The system host is responsible for instructing the operating parameters.
TCP / IP packet including its own format addition header
To the protocol converter, and the protocol converter
Header for adding the unique format of the TCP / IP packet
Data is analyzed and set in the operation parameter section and status information section.
The TCP / IP packet communication protocol
Your LAN system host is connected to the serial port.
Is to have control and manage the state of the serial terminal, the character data extraction unit when receiving the TCP / IP packets from the host of the LAN system TCP /
Extracting character data from the IP packet and transfers the serial communication terminal system, the character data <br/> the encapsulating unit is received when receiving the character data from the serial communication terminal system TCP
The first feature is that the data is encapsulated in an IP packet and transferred to the LAN system.

【0007】また本発明は、前記特徴のデータ伝送方法
において、前記プロトコル変換装置が、複数のシリアル
端末を接続し、該複数のシリアル端末対応の識別情報を
前記独自フォーマット付加ヘッダに含ませたことを第2
の特徴とする。
The present invention is also the data transmission method having the above characteristics, wherein the protocol conversion device comprises a plurality of serial
Connect the terminals and enter the identification information for the serial terminals.
Secondly , it is included in the original format additional header .
It is a feature of.

【0008】更に本発明は、第の特徴のデータ伝送方
法において、プロトコル変換装置が、シリアルポートよ
り受信したキャラクタデータを暗号化してTCP/IP
パケットにカプセル化し、その暗号化されたキャラクタ
データの復号方式を指示する情報を独自フォーマット付
加ヘッダ内に設定すると共に、LANポートから受信し
たTCP/IPパケットの独自フォーマット付加ヘッダ
に設定した暗号化されたキャラクタデータの復号方式を
指示する情報を認識してTCP/IPパケットにカプセ
ル化されたキャラクタデータを元のキャラクタデータに
復号化することにより、ホストとシリアル端末間の通信
データのセキュリティを強化することを第の特徴とす
る。
[0008] The present invention is the data transmission method of the first aspect, protocol conversion device, TCP / IP by encrypting character data received from the serial port
It is encapsulated in a packet, and information that indicates the decryption method of the encrypted character data is set in the unique format additional header, and the encrypted format is set in the unique format additional header of the TCP / IP packet received from the LAN port. By recognizing the information indicating the decoding method of the character data, and decoding the character data encapsulated in the TCP / IP packet into the original character data, the security of the communication data between the host and the serial terminal is enhanced. This is the third feature.

【0009】更に本発明は、第の特徴以降のデータ伝
送方法において、前記ホストがTCP/IPパケット内
の独自フォーマット付加ヘッダにプロトコル変換装置の
動作パラメータを含ませることによって、ホスト側から
容易にプロトコル変換装置を制御することを第の特徴
とする。
Further, according to the present invention, in the data transmission method according to the first feature or later, by allowing the host to include the operation parameter of the protocol converter in the unique format addition header in the TCP / IP packet, the host can easily perform the operation. The fourth characteristic is to control the protocol conversion device.

【0010】[0010]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して詳細に説明する。図1は本発明によるデータ
伝送方法が適用されるプロトコル変換装置の一実施形態
を示すブロック図、図2は本発明によるデータ伝送方法
で使用するTCP/IPパケットのフォーマットの説明
図、図3は本実施形態によるプロトコル変換装置の説明
図、図4は、本実施形態によるプロトコル変換装置がキ
ャラクタ単位で通信するプロトコルのポートを複数制御
動作を説明するための図である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a protocol conversion device to which a data transmission method according to the present invention is applied, FIG. 2 is an explanatory diagram of a format of a TCP / IP packet used in the data transmission method according to the present invention, and FIG. FIG. 4 is an explanatory diagram of the protocol conversion device according to the present embodiment, and FIG. 4 is a diagram for explaining an operation of controlling a plurality of ports of a protocol with which the protocol conversion device according to the present embodiment communicates in character units.

【0011】図1は本実施形態によるデータ伝送方法が
適用されるプロトコル変換装置100を示す図であり、
図中、200はTCP/IPパケットを送受信するLA
Nポート、201はキャラクタデータを送受信するシリ
アルポート、202はLAN、203はシリアル伝送路
の制御信号線、204はシリアル伝送路のデータ線、3
00はTCP/IPパケットからカプセル化されたキャ
ラクタデータを取り出すキャラクタデータ抽出部、30
1はキャラクタデータをTCP/IPパケットにカプセ
ル化するカプセル化部、302はTCP/IPパケット
内の独自フォーマットのヘッダを解析するヘッダ解析
部、303はTCP/IPパケット内に独自フォーマッ
トのヘッダを付加するベッダ付加部、304は各機能を
制御する共通制御部、305は装置の動作パラメータを
格納する動作パラメータ部、306はシリアル制御信号
の状態情報を格納する状態情報部、400はLANポー
ト200で受信したTCP/IPパケットの流れを示す
矢印、401はシリアルポート201へ送信するキャラ
クタデータの流れを示す矢印、402はLANポート2
00へ送信するTCP/IPパケットの流れを示す矢
印、403はシリアルポートで受信したキャラクタデー
タの流れを示す矢印である。
FIG. 1 is a diagram showing a protocol conversion device 100 to which the data transmission method according to the present embodiment is applied.
In the figure, 200 is an LA that transmits and receives TCP / IP packets.
N port, 201 is a serial port for transmitting and receiving character data, 202 is a LAN, 203 is a control signal line of a serial transmission line, 204 is a data line of a serial transmission line, 3
00 is a character data extraction unit for extracting the encapsulated character data from the TCP / IP packet, 30
1 is an encapsulation unit that encapsulates character data in a TCP / IP packet, 302 is a header analysis unit that analyzes a header of a unique format in a TCP / IP packet, and 303 is a header of a unique format that is added to a TCP / IP packet A bedder adding unit, 304 is a common control unit that controls each function, 305 is an operation parameter unit that stores operation parameters of the apparatus, 306 is a status information unit that stores status information of serial control signals, and 400 is a LAN port 200. An arrow indicating the flow of a received TCP / IP packet, 401 is an arrow indicating the flow of character data to be transmitted to the serial port 201, and 402 is the LAN port 2
00 is an arrow indicating the flow of TCP / IP packets transmitted to 00, and 403 is an arrow indicating the flow of character data received at the serial port.

【0012】図2は、本実施形態に適用される転送デー
タ形式を示す図であり、本形式はTCP/IPパケット
ヘッダ500と独自フォーマットの付加ヘッダ501と
ホストとシリアル端末間の通信キャラクタデータ列50
2とから構成されるTCP/IPパケット503を示す
図である。
FIG. 2 is a diagram showing a transfer data format applied to this embodiment. This format includes a TCP / IP packet header 500 and an additional header 501 of a unique format.
Communication character data string 50 between host and serial terminal
2 is a diagram showing a TCP / IP packet 503 composed of 2 and 1. FIG.

【0013】また図3は図1に示したプロトコル変換装
置100を含むシステム構成を示す図であり、本システ
ムは、TCP/IPパケットで通信するプロトコルを持
つホスト101とキャラクタ単位のデータで通信するプ
ロトコルを持つシリアル端末102の間に本実施形態の
対象であるプロトコル変換装置100を介在し、両者の
プロトコル変換を行う構成を表している。
FIG. 3 is a diagram showing a system configuration including the protocol conversion device 100 shown in FIG. 1. This system communicates with a host 101 having a protocol for communicating with TCP / IP packets in character unit data. A configuration is shown in which the protocol conversion device 100, which is the target of the present embodiment, is interposed between the serial terminals 102 having a protocol to perform protocol conversion of both.

【0014】この様に構成された本システムにおけるデ
ータの流れを次に説明する。まず、ホスト101側から
シリアル端末102にキャラクタデータを送信する場合
は、ホスト101がシリアル端末102へ通信するキャ
ラクタデータ502を図2に示したTCP/IPパケッ
ト503の如くカプセル化して変換装置100に向けて
送信する。
The flow of data in the present system thus configured will be described below. First, when character data is transmitted from the host 101 side to the serial terminal 102, the character data 502 communicated by the host 101 to the serial terminal 102 is encapsulated as the TCP / IP packet 503 shown in FIG. Send to.

【0015】このプロトコル変換装置100は、図1に
示したLANポート200を介してTCP/IPパケッ
ト503を受信し、キャラクタデータ抽出部300によ
り受信データ内のキャラクタデータ502を抽出し、該
データ502を矢印401を介してシリアルポート20
1に転送し、該ポート201がキャラクタデータ502
をシリアル伝送路データ線204を介してシリアル端末
102に送信する。これによりシリアル端末102はホ
スト100より送信されたキャラクタデータを受信する
ことができる。
The protocol conversion device 100 receives the TCP / IP packet 503 via the LAN port 200 shown in FIG. 1, extracts the character data 502 in the received data by the character data extraction unit 300, and extracts the data 502. The serial port 20 via the arrow 401
1 and the port 201 transmits character data 502
Is transmitted to the serial terminal 102 via the serial transmission line data line 204. As a result, the serial terminal 102 can receive the character data transmitted from the host 100.

【0016】また、シリアル端末102よりホスト10
1へキャラクタデータを通信する場合は、シリアル端末
102が変換装置100にシリアルデータ線204を介
してシリアルデータを送信する。プロトコル変換装置1
00は、シリアルポート201よりこれを受信し、カプ
セル化部301を用いてシリアルデータをTCP/IP
パケット503の如くカプセル化する。カプセル化した
パケットは、矢印402及びLANポート200を介し
てホスト101に向けて送信することができ、これによ
りホスト101はシリアル端末102より送信されたキ
ャラクタデータを受信することができる。
Further, the host 10
When communicating character data to 1, the serial terminal 102 transmits the serial data to the conversion device 100 via the serial data line 204. Protocol converter 1
00, received this from the serial port 201, Cap
TCP / IP for serial data using the cell conversion unit 301
The packet 503 is encapsulated. The encapsulated packet can be transmitted to the host 101 via the arrow 402 and the LAN port 200, whereby the host 101 can receive the character data transmitted from the serial terminal 102.

【0017】次にTCP/IPパケットに付加した独自
フォーマットの付加ヘッダの処理について説明する。
Next, the processing of the additional header of the unique format added to the TCP / IP packet will be described.

【0018】図3のように、ホスト101とプロトコル
変換装置100とシリアル端末102を接続したシステ
ム構成において、ホスト101よりシリアル伝送路の制
御信号203の状態を制御する場合、ホスト101は、
図2のTCP/IPパケット503内の独自フォーマッ
ト付加ヘッダ501に所定の制御情報を設定して変換装
置100に送信する。変換装置100は、受信したTC
P/IPパケットをヘッダ解析部302を用いてヘッダ
501を解析し、共通制御部304がその解析結果に従
ってシリアル伝送路の制御信号203の状態を制御す
る。従って、ホストからの制御情報に応じてシリアル伝
送路制御信号203の状態を任意に変化させてシリアル
データを転送することができる。
In the system configuration in which the host 101, the protocol converter 100, and the serial terminal 102 are connected as shown in FIG. 3, when the host 101 controls the state of the control signal 203 on the serial transmission line, the host 101:
Predetermined control information is set in the unique format addition header 501 in the TCP / IP packet 503 of FIG. 2 and transmitted to the conversion device 100. The conversion device 100 receives the TC
The header analysis unit 302 analyzes the header 501 of the P / IP packet, and the common control unit 304 controls the state of the control signal 203 on the serial transmission line according to the analysis result. Therefore, the state of the serial transmission line control signal 203 can be arbitrarily changed according to the control information from the host to transfer the serial data.

【0019】また、ホスト101よりシリアル伝送路の
制御信号203の状態を取得する場合、ホスト101
は、取得情報を設定した付加ヘッダ501を含むTCP
/IPパケット503を変換装置100に向けて送信す
る。該装置100は、前記同様にヘッダ解析部302に
よって付加ヘッダ501を解析し、共通制御部304が
その解析結果、即ち状態取得の指令に従ってシリアル伝
送路の制御信号の状態情報306を取得し、その取得
情報をヘッダ付加部303を用いて付加ヘッダ501
として設定したTCP/IPパケット503をホスト1
01に返送する。これよりホスト101は、シリアル伝
送路の制御信号203の状態を任意に取得することがで
きる。
When the status of the control signal 203 on the serial transmission line is acquired from the host 101, the host 101
Is a TCP including an additional header 501 in which acquisition information is set.
/ IP packet 503 is transmitted to the conversion device 100. In the device 100, the header analysis unit 302 analyzes the additional header 501 in the same manner as described above, and the common control unit 304 acquires the status information unit 306 of the control signal of the serial transmission line according to the analysis result, that is, the status acquisition command, The acquisition information part is added to the additional header 501 by using the header adding part 303.
TCP / IP packet 503 set as
Return to 01. From this, the host 101 can arbitrarily acquire the state of the control signal 203 of the serial transmission line.

【0020】この様に本実施形態によれば、プロトコル
変換装置100を用いてTCP/IPパケットで通信す
るプロトコルを持つホスト101とキャラクタ単位のデ
ータで通信するプロトコルを持つシリアル端末102の
間のシリアルデータの転送を容易に行うことができると
共に、ホスト側からシリアル伝送路制御信号203の状
態の設定及び取得を容易に行うことができる。
As described above, according to the present embodiment, the serial communication between the host 101 having the protocol for communicating with the TCP / IP packet using the protocol conversion device 100 and the serial terminal 102 having the protocol for communicating with the character unit data is performed. The data can be easily transferred, and the host can easily set and acquire the state of the serial transmission path control signal 203.

【0021】次に複数のシリアル端末とホスト間に配置
されるプロトコル変換装置を用いる実施形態を図4を参
照して説明する。図4に示したプトコル変換装置900
は、前記実施例と比して複数のシリアル端末対応の複数
のシリアルポート201を備えている。
Next, an embodiment using a protocol conversion device arranged between a plurality of serial terminals and a host will be described with reference to FIG. Putcol conversion device 900 shown in FIG.
Is provided with a plurality of serial ports 201 corresponding to a plurality of serial terminals as compared with the above-mentioned embodiment.

【0022】本システムにおいては、図4のように、ホ
スト101とプロトコル変換装置900と複数のシリア
ル端末103〜105を接続したシステム構成におい
て、変換装置900がシリアル端末103より受信した
キャラクタ単位のデータ列を前記実施形態同様のカプセ
ル化部301を用いてTCP/IPパケット503の如
くカプセル化し、このパケットの付加ヘッダ501にヘ
ッダ付加部303によりシリアル端末103を表わす識
別情報を付加してこれをホスト101へ送信する。これ
よりホスト101ではTCP/IPパケットの付加ヘッ
ダ501に含まれる識別情報よりキャラクタデータ50
2が端末103より送信されたデータであることを識別
することができる。
In this system, as shown in FIG. 4, in a system configuration in which a host 101, a protocol conversion device 900, and a plurality of serial terminals 103 to 105 are connected, data in character units received by the conversion device 900 from the serial terminal 103. The columns are capsulated as in the previous embodiment.
The TCP / IP packet 503 is encapsulated using the packetizing unit 301 , the header adding unit 303 adds the identification information indicating the serial terminal 103 to the additional header 501 of this packet, and the packet is transmitted to the host 101. As a result, the host 101 uses the character data 50 based on the identification information included in the additional header 501 of the TCP / IP packet.
2 can be identified as the data transmitted from the terminal 103.

【0023】また、ホスト101はシリアル端末103
へのキャラクタデータをTCP/IPパケット503中
にカプセル化し、端末103を表わす識別情報を付加ヘ
ッダ501に設定してプロトコル装置900へ送信する
ことにより、該装置900ではそのパケットのキャラク
タデータ502をシリアル端末103へ送信することが
できる。
The host 101 is a serial terminal 103.
Character data to the protocol device 900 by encapsulating the character data 502 of the packet in the TCP / IP packet 503, setting the identification information representing the terminal 103 in the additional header 501, and transmitting it to the protocol device 900. It can be transmitted to the terminal 103.

【0024】本実施形態によるプロトコル変換装置10
0又は900を図3の構成に適用した場合、ホスト10
1と装置100又は900間で送受信するキャラクタデ
ータを暗号化して通信する際に該装置100又は900
は、端末102より受信したキャラクタ単位のデータ列
を暗号化してキャラクタデータ列502を作成し、その
復号方法を指示する付加ヘッダ501をヘッダ付加部3
03で設定し且つTCP/IPパケットヘッダ500を
付加したTCP/IPパケット503をホスト101へ
送信する。
Protocol conversion device 10 according to the present embodiment
When 0 or 900 is applied to the configuration of FIG.
1 and the device 100 or 900 when character data transmitted and received is encrypted and communicated with the device 100 or 900.
Creates a character data string 502 encrypts the data string of character units received from the terminal 102, the header adding unit 3 an additional header 501 that instructs the <br/> decoding method
The TCP / IP packet 503 set in 03 and added with the TCP / IP packet header 500 is transmitted to the host 101.

【0025】これよりホスト101では付加ヘッダ50
1の情報よりキャラクタデータ502が暗号化されたデ
ータであることを認識し、元のキャラクタデータに復元
することができる。
As a result, the host 101 has an additional header 50.
It is possible to recognize that the character data 502 is encrypted data from the information 1 and restore the original character data.

【0026】また、該プロトコル変換装置100又は
00は、ホスト101より図2に示したTCP/IPパ
ケット503を受信した場合、ヘッダ解析部302によ
りパケットヘッダ500及び付加ヘッダ501を解析
し、該付加ヘッダ501に復号化の指示が設定されてい
た場合、キャラクタデータ502を元のキャラクタデー
タに復号し、これを端末102に送信する様に動作す
る。
Further, the protocol conversion device 100 or 9
When the TCP / IP packet 503 shown in FIG. 2 is received from the host 101, the header analysis unit 302 analyzes the packet header 500 and the additional header 501, and a decoding instruction is set in the additional header 501. In this case, the character data 502 is decoded into the original character data, and the character data 502 is transmitted to the terminal 102.

【0027】また、本システムは、図3に示すシステム
構成において、ホスト101よりプロトコル変換装置1
00又は900の動作パラメータ305を変更する場
合、ホスト101は図2に示す付加ヘッダ501に動作
パラメータの変更を指示する情報を設定し、装置10
0又は900へ送信する。これを受信した装置100又
は900は、装置内のヘッダ解析部302により該付加
ヘッダ501を解析し、この解析結果である動作パラメ
ータの変更を共通制御部304が動作パラメータ部30
内に格納したパラメータの変更を実施することができ
る。即ち、本システムはホストが遠隔地であってもプロ
トコル変換装置の動作パラメータの設定も行うことがで
きる。
Further, in this system, in the system configuration shown in FIG.
When changing the operation parameter unit 305 of 00 or 900, the host 101 sets information instructing the change of the operation parameter unit in the additional header 501 shown in FIG.
Send to 0 or 900. Upon receiving this, the device 100 or 900 analyzes the additional header 501 by the header analysis unit 302 in the device, and the common control unit 304 changes the operation parameter as the analysis result by the operation parameter unit 30.
The parameters stored in 5 can be changed. That is, this system can set the operating parameters of the protocol converter even if the host is remote.

【0028】[0028]

【発明の効果】以上述べたように、本発明によれば、ホ
ストとプロトコル変換装置間で送受信される、キャラク
タデータをカプセル化したTCP/IPパケットに、独
自フォーマットのヘッダを付加することにより、遠隔地
にあるLAN上のホストからプロトコル変換装置および
シリアル端末を制御でき、また、LAN上のホストから
複数のシリアル端末の運用管理を容易に行うことがで
き、また、LAN内に流れるホストとシリアル端末間の
通信データのセキュリティ強化等を可能にすることがで
きる。
As described above, according to the present invention, a header of a unique format is added to a TCP / IP packet which encapsulates character data and is transmitted and received between a host and a protocol conversion device. A protocol conversion device and a serial terminal can be controlled from a host on a remote LAN, and operation management of a plurality of serial terminals can be easily performed from a host on the LAN. It is possible to enhance security of communication data between terminals.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明によるデータ伝送方法が適用されるプロ
トコル変換装置の一実施形態を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a protocol conversion device to which a data transmission method according to the present invention is applied.

【図2】本発明によるデータ伝送方法で使用するTCP
/IPパケットのフォーマットの説明図。
FIG. 2 is a TCP used in the data transmission method according to the present invention.
Explanatory diagram of the format of the / IP packet.

【図3】本実施形態によるプロトコル変換装置の説明
図。
FIG. 3 is an explanatory diagram of a protocol conversion device according to the present embodiment.

【図4】本実施形態によるプロトコル変換装置がキャラ
クタ単位で通信するプロトコルのポートを複数制御動作
を説明するための図。
FIG. 4 is a diagram for explaining an operation of controlling a plurality of ports of a protocol with which the protocol conversion device according to the present embodiment communicates in character units.

【符号の説明】[Explanation of symbols]

100/900…プロトコル変換装置、101…ホス
ト、102…シリアル端末、103…シリアル端末1、
104…シリアル端末2、105…シリアル端末n、2
00…LANポート、201…シリアルポート、202
…LAN、203…シリアル伝送路の制御信号線、20
4…シリアル伝送路のデータ線、300…キャラクタデ
ータ抽出部、301…キャラクタデータをTCP/IP
パケットにカプセル化するカプセル化部、302…TC
P/IPパケット内の独自フォーマットのヘッダを解析
するヘッダ解析部、303…TCP/IPパケット内に
独自フォーマットのヘッダを付加するヘッダ付加部、3
04…共通制御部、305…動作パラメータ部、306
…状態情報部、400…LANポートで受信したTCP
/IPパケットの流れ矢印、401…シリアルポートへ
送信するキャラクタデータの流れ矢印、402…LAN
ポートへ送信するTCP/IPパケットの流れ矢印、4
03…シリアルポートで受信したキャラクタデータの流
れ矢印、500…TCP/IPパケットヘッダ、501
…独自フォーマットの付加ヘッダ、502…ホストとシ
リアル端末間の通信キャラクタデータ列、503…TC
P/IPパケット、600/700…変換機能部、80
0…制御機能部。
100/900 ... Protocol conversion device, 101 ... Host, 102 ... Serial terminal, 103 ... Serial terminal 1,
104 ... Serial terminal 2, 105 ... Serial terminal n, 2
00 ... LAN port, 201 ... Serial port, 202
... LAN, 203 ... Control signal line of serial transmission line, 20
4 ... Data line of serial transmission line, 300 ... Character data extracting unit, 301 ... TCP / IP for character data
Encapsulation unit for encapsulating packets, 302 ... TC
Header analysis unit that analyzes the header of the unique format in the P / IP packet, 303 ... Header addition unit that adds the header of the unique format in the TCP / IP packet, 3
04 ... Common control unit, 305 ... Operation parameter unit, 306
... Status information part, 400 ... TCP received by LAN port
/ IP packet flow arrow, 401 ... Character data flow arrow to be transmitted to the serial port, 402 ... LAN
Flow arrow of TCP / IP packet sent to port 4
03 ... Flow arrow of character data received by serial port, 500 ... TCP / IP packet header, 501
... Additional header of unique format, 502 ... Communication character data string between host and serial terminal, 503 ... TC
P / IP packet, 600/700 ... Conversion function unit, 80
0 ... Control function unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐藤 元則 神奈川県秦野市堀山下1番地 株式会社 日立インフォメーションテクノロジー 内 (56)参考文献 特開 平6−85817(JP,A) 特開 昭63−263945(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 29/06 H04L 12/56 G06F 13/00 H04M 11/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Motonori Sato 1 Horiyamashita, Horiyamashita, Hadano, Kanagawa Prefecture (56) References JP-A-6-85817 (JP, A) JP-A-63- 263945 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 29/06 H04L 12/56 G06F 13/00 H04M 11/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 TCP/IPパケット通信プロトコルを
持つLANシステムのホストとキャラクタ単位のデータ
通信プロトコルを持つシリアル通信端末間の接続運用を
行うプロトコル変換装置を含むデータ伝送方法におい
て、 前記プロトコル変換装置、TCP/IPパケットで通
信するプロトコルを持つLANポートと、キャラクタ単
位のデータで通信するプロトコルを持つシリアルポート
と、前記LANポートで受信したTCP/IPパケット
内からカプセル化されたキャラクタデータを取り出すキ
ャラクタデータ抽出部と、前記シリアルポートで受信し
たキャラクタデータをTCP/IPパケット内にカプセ
ル化するカプセル化部と、TCP/IPパケット内に独
自フォーマットのヘッダを付加するヘッダ付加部と、T
CP/IPパケット内に付加した独自フォーマットのヘ
ッダを解析するヘッダ解析部と、シリアル通信端末の状
態を制御するための動作パラメータ及びシリアル制御信
号を格納する動作パラメータ部及び状態情報部と、を備
え、TCP/IPパケット通信プロトコルを持つLANシス
テムのホストが、前記動作パラメータを指示する独自フ
ォーマット付加ヘッダを含むTCP/IPパケットをプ
ロトコル変換装置に送信し、プロトコル変換装置が前記
TCP/IPパケットの独自フォーマット付加ヘッダを
解析して動作パラメータ部及び状態情報部に設定するこ
とにより、TCP/IPパケット通信プロトコルを持つ
LANシステムのホストがシリアルポートに接続されて
いるシリアル端末の状態を制御および管理し、 前記LANシステムのホストからTCP/IPパケット
を受信した場合には前記キャラクタデータ抽出部がTC
P/IPパケットからキャラクタデータを抽出してシリ
アル通信端末システムに転送すると共に、前記シリアル
通信端末システムからキャラクタデータを受信した場合
には前記カプセル化部が受信したキャラクタデータをT
CP/IPパケット内にカプセル化してLANシステム
に転送することを特徴とするデータ伝送方法。
1. A TCP / IP packet communication protocol
Host of LAN system and data of character unit
Connection operation between serial communication terminals with communication protocol
Data transmission method including protocol conversion device
hand, The protocol converterIs, TCP / IP packet
LAN port with a protocol to communicate with
Port with a protocol to communicate with as much data
And a TCP / IP packet received at the LAN port
Key to retrieve the encapsulated character data from within
Character data extractor and the serial port
The captured character data is encapsulated in the TCP / IP packet.
And the encapsulation unit that creates a TCP / IP packet.
A header addition section for adding a header of its own format, and T
A unique format added in the CP / IP packet
Header analysis part that analyzes the header, Status of serial communication terminal
Parameters and serial control signals for controlling
An operation parameter section and a status information section that store the signal,Equipped
e,LAN system with TCP / IP packet communication protocol
The system host specifies a unique parameter that specifies the operating parameters.
Formats TCP / IP packets that include a format-added header
To the protocol conversion device, and the protocol conversion device
Proprietary format addition header of TCP / IP packet
It can be analyzed and set in the operation parameter section and status information section.
Has a TCP / IP packet communication protocol
LAN system host connected to serial port
Control and manage the status of the serial terminal TCP / IP packet from the host of the LAN system
If you receiveInThe character data extraction unit is TC
Extract character data from P / IP packet
Transfer to the AL communication terminal system and
When character data is received from the communication terminal system
InThe character data received by the encapsulation unit is T
LAN system by encapsulating in CP / IP packet
A data transmission method, characterized in that the data is transferred to.
【請求項2】 前記プロトコル変換装置が、複数のシリ
アル端末を接続し、該複数のシリアル端末対応の識別情
報を前記独自フォーマット付加ヘッダに含ませたことを
特徴とする請求項1記載のデータ伝送方法。
2. The data transmission according to claim 1, wherein the protocol conversion device connects a plurality of serial terminals and includes identification information corresponding to the plurality of serial terminals in the unique format addition header. Method.
【請求項3】 前記プロトコル変換装置が、シリアルポ
ートより受信したキャラクタデータを暗号化してTCP
/IPパケットにカプセル化し、その暗号化されたキャ
ラクタデータの復号方式を指示する情報を独自フォーマ
ット付加ヘッダ内に設定すると共に、LANポートから
受信したTCP/IPパケットの独自フォーマット付加
ヘッダに設定した暗号化されたキャラクタデータの復号
方式を指示する情報を認識してTCP/IPパケットに
カプセル化されたキャラクタデータを元のキャラクタデ
ータに復号化することにより、ホストとシリアル端末間
の通信データのセキュリティを強化することを特徴とす
る請求項1記載のデータ伝送方法。
3. The protocol conversion device encrypts character data received from a serial port to perform TCP.
/ IP packet encapsulation, and information that indicates the decoding method of the encrypted character data is set in the unique format additional header, and the encryption set in the unique format additional header of the TCP / IP packet received from the LAN port. Security of communication data between the host and the serial terminal is ensured by recognizing the information indicating the decoding method of the encrypted character data and decoding the character data encapsulated in the TCP / IP packet into the original character data. The data transmission method according to claim 1, wherein the data transmission method is enhanced.
【請求項4】 前記ホストが、TCP/IPパケット内
の独自フォーマット付加ヘッダにプロトコル変換装置の
動作パラメータを含ませることにより、ホスト側から容
易にプロトコル変換装置を制御することを特徴とする請
求項1又は2又は3記載のデータ伝送方法。
Wherein said host, by including the operating parameters of the protocol converter to the proprietary format additional header in TCP / IP packets, claims, characterized in that to control easily protocol converter from the host The data transmission method according to 1 or 2 or 3.
JP03639497A 1997-02-20 1997-02-20 Data transmission method Expired - Fee Related JP3392314B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03639497A JP3392314B2 (en) 1997-02-20 1997-02-20 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03639497A JP3392314B2 (en) 1997-02-20 1997-02-20 Data transmission method

Publications (2)

Publication Number Publication Date
JPH10233820A JPH10233820A (en) 1998-09-02
JP3392314B2 true JP3392314B2 (en) 2003-03-31

Family

ID=12468647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03639497A Expired - Fee Related JP3392314B2 (en) 1997-02-20 1997-02-20 Data transmission method

Country Status (1)

Country Link
JP (1) JP3392314B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001229144A1 (en) * 2000-01-31 2001-08-07 Aether Systems, Inc. Method and apparatus for sending and receiving client-server messages over multiple wireless and wireline networks
US7647446B2 (en) 2006-10-03 2010-01-12 Silex Technology, Inc. Networked isochronous USB communication
US8407367B2 (en) * 2007-12-26 2013-03-26 Intel Corporation Unified connector architecture
US8700821B2 (en) 2008-08-22 2014-04-15 Intel Corporation Unified multi-transport medium connector architecture
JP5194307B2 (en) * 2010-07-14 2013-05-08 サイレックス・テクノロジー株式会社 Serial device server
US9252970B2 (en) 2011-12-27 2016-02-02 Intel Corporation Multi-protocol I/O interconnect architecture
US9565132B2 (en) 2011-12-27 2017-02-07 Intel Corporation Multi-protocol I/O interconnect including a switching fabric
US8775713B2 (en) 2011-12-27 2014-07-08 Intel Corporation Multi-protocol tunneling over an I/O interconnect
US8953644B2 (en) 2011-12-27 2015-02-10 Intel Corporation Multi-protocol I/O interconnect time synchronization
US9697159B2 (en) 2011-12-27 2017-07-04 Intel Corporation Multi-protocol I/O interconnect time synchronization
US8856420B2 (en) 2011-12-27 2014-10-07 Intel Corporation Multi-protocol I/O interconnect flow control
US8782321B2 (en) 2012-02-08 2014-07-15 Intel Corporation PCI express tunneling over a multi-protocol I/O interconnect
US8880923B2 (en) 2012-03-29 2014-11-04 Intel Corporation Link power management in an I/O interconnect

Also Published As

Publication number Publication date
JPH10233820A (en) 1998-09-02

Similar Documents

Publication Publication Date Title
JP3392314B2 (en) Data transmission method
US8788814B2 (en) Secure data transfer using an embedded system
KR100446508B1 (en) Apparatus for processing packet data in a packet data communication system
JPH05327712A (en) Terminal adaptor
CA2336479A1 (en) Secure session set up based on the wireless application protocol
CN111478891A (en) Industrial network isolation method and device with different security levels
JPH11191793A (en) Layer independent security for communication channel
US9049254B2 (en) Control method, apparatus and system
EP1464195B1 (en) Applet download in a communication system
US20020010801A1 (en) Server to third party serial gateway in a power control management system
CN110855801A (en) Gateway for electric power multi-interface transmission and data transmission method
CN111399463A (en) Industrial network data one-way isolation method and device
JP2002328869A5 (en)
CN116055534A (en) Multi-serial device data forwarding system and method
JP2002026927A (en) Capsulating method and unit, and program recording medium
CN110875852B (en) System for automatically identifying network topology structure between devices
JP3255596B2 (en) MAC bridging device
CN115280825A (en) Data transmission method and device
CN104038553B (en) A kind of control method, device and system
CN116800486B (en) Cloud network communication method and system
CN117453299B (en) Application state network card driving method and device
CN117014833A (en) Train equipment real-time data receiving and analyzing system based on OTA
US20100020750A1 (en) Method for remotely controlling a mobile terminal
CN117879935A (en) Operation and maintenance method, device, equipment and storage medium
US7257838B2 (en) Information processing system and information processing method capable of communicating with impermissible protocol

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090124

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100124

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110124

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees