【発明の詳細な説明】産業上の利用分野本発明はデータ通信システムにおける通信プロトコル処
理装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication protocol processing device in a data communication system.
従来の技術第6図に従来の通信プロトコル処理装置のブロック図を
示す。第6図において、1は情報処理装@30の通信機
能を担う通信プロトコル処理装置である。1“はネット
ワーク上の別の情報処理装置がもつ通信プロトコル処理
装置であり、1と同様の機能を有する。2は通信プロト
コル処理装置が接続されている伝送路である。3は通信
プロトコル処理装置lにおいて伝送路2とのデータの送
受信を行うネットワークインタフェース部である。Prior Art FIG. 6 shows a block diagram of a conventional communication protocol processing device. In FIG. 6, reference numeral 1 denotes a communication protocol processing device responsible for the communication function of the information processing device @30. 1" is a communication protocol processing device owned by another information processing device on the network and has the same function as 1. 2 is a transmission line to which the communication protocol processing device is connected. 3 is a communication protocol processing device This is a network interface unit that transmits and receives data to and from the transmission path 2 at the transmission line 2.
4はプロセッサであり、通信プロトコルの処理及び通信
プロトコル処理製電lの総合的な制御を行う。5はメモ
リであり、プロセッサ4の通信プロトコル処理プログラ
ムコードおよび通信データの蓄積部として利用する。6
はプロセッサ4、メモリ5、ネットワークインタフェー
ス部3、および端末インタフェース部7の相互の通信を
行うためのバスであり、制御符号、通信データ等の情報
が流れる。8は情報処理装置30が端末インタフェース
部7を介して通信プロトコル処理装置1とのデータ交換
を行うためのバスである。4 is a processor, which performs communication protocol processing and comprehensive control of the communication protocol processing electric manufacturing unit 1; A memory 5 is used as a storage unit for communication protocol processing program codes and communication data of the processor 4. 6
A bus is used for mutual communication among the processor 4, memory 5, network interface section 3, and terminal interface section 7, and information such as control codes and communication data flows therethrough. A bus 8 is used by the information processing device 30 to exchange data with the communication protocol processing device 1 via the terminal interface unit 7.
上記の構成例において通信プロトコル処理装置1と1′
閏のデータ通信は以下のようにして行われる。通信プロ
トコル処理装置1′は、本ネットワークシステムで予め
規定しているプロトコル(例えばO5Tプロトコル)に
したがって送信データを作成し、伝送路2上へ送出する
。送信データの中には、発信元アドレスや着信先アドレ
ス1.チエツクサムなどが書かれたヘッダ情報が含まれ
ている。ヘッダ情報の構造は使用しているプロトコルで
規定されている。このデータを伝送路2から受信した通
信プロトコル処理装置lは、ネットワークインタフェー
ス部3において、O8T下位レイヤプロトコルの規約に
基づいて受信データのヘッダ情報を解析し、受信データ
が自分宛であれば、バス6を介して受信データをメモリ
5へ取り込み、プロセッサ4のもとでosr、h位しイ
ヤの通信プロトコル処理プログラムを実行し、必要な情
報を端末インタフェース部7を介して情報処理装置30
へ伝える。また、受信データが自分宛でなければ、ネッ
トワークインタフェース部3は受信データをそのまま再
び伝送路2上へ戻す。In the above configuration example, communication protocol processing devices 1 and 1'
Leap data communication is performed as follows. The communication protocol processing device 1' creates transmission data according to a protocol predefined in this network system (for example, O5T protocol) and sends it onto the transmission path 2. The transmitted data includes the source address and destination address 1. Contains header information such as checksum. The structure of header information is defined by the protocol being used. The communication protocol processing device l that received this data from the transmission path 2 analyzes the header information of the received data based on the rules of the O8T lower layer protocol in the network interface unit 3, and if the received data is addressed to itself, it transmits the data to the bus. 6, the received data is taken into the memory 5 via the processor 4, the communication protocol processing program of OSR and H is executed, and the necessary information is transferred to the information processing device 30 via the terminal interface section 7.
tell to. Furthermore, if the received data is not addressed to itself, the network interface unit 3 returns the received data to the transmission line 2 again as is.
発明が解決しようとする問題点しかしながら、上記のような通信プロトコル処理が可能
なのは、通信プロトコル処理装置が予め決められたただ
1つの通信プロトコル(この場合はO5Iプロトコル)
のみを処理する時に限られ、各通信プロトコル処理装置
に複数の異なる種類の通信プロトコル(例えば、OSI
とTCP/l PとlN5)が実装されており、ユーザ
には任意のプロトコルの使用が許されている場合には、
受信データがどのプロトコルにしたがうものかを知らな
ければ、適切なプロトコル処理を行えない。Problems to be Solved by the Invention However, the communication protocol processing described above is only possible when the communication protocol processing device uses only one predetermined communication protocol (in this case, the O5I protocol).
Each communication protocol processing device has multiple different types of communication protocols (for example, OSI
and TCP/lP and lN5) are implemented, and users are allowed to use any protocol.
Appropriate protocol processing cannot be performed unless one knows which protocol the received data follows.
本発明は、上記通信プロトコル処理装置に複数種類の通
信プロトコル処理プログラムを実装し、受信データに対
して適切なプロトコル処理ができるマルチプロトコル処
理装置を提供することを目的とする。An object of the present invention is to provide a multi-protocol processing device that is capable of implementing appropriate protocol processing on received data by installing a plurality of types of communication protocol processing programs in the communication protocol processing device.
問題点を解決するための手段複数種類の実施可能な通信プロトコルの中から任意の通
信プロトコルを選択して情報処理装置間のデータ通信を
行うネットワークシステムにおいて、異なる種類の通信
プロトコルを処理するために必要な複数の通信プロトコ
ル処理プログラムと、受信データに対応する通信プロト
コルを仮定する手段と、前記仮定のもとに受信データの
ヘッダ内容から特定情報を抽出する手段と、前記特定情
報を用いて前記仮定手段において仮定した通信プロトコ
ルの正否を判定する判定手段を備え、データ受信時には
前記の仮定手段、抽出手段、判定手段を実行して前記受
信データに対応する通信プロトコルを決定し、前記複数
種類の通信プロトコルから前記受信データに対応した通
信プロトコル処理プログラムを選定して実行する構成に
なっている。Means for Solving the Problem In a network system that performs data communication between information processing devices by selecting an arbitrary communication protocol from among multiple types of possible communication protocols, in order to process different types of communication protocols. A plurality of necessary communication protocol processing programs, means for assuming a communication protocol corresponding to received data, means for extracting specific information from the header contents of the received data based on the assumption, and a means for extracting specific information from the header contents of the received data using the specific information. A determination means is provided for determining whether the communication protocol assumed in the assumption means is correct, and when data is received, the assumption means, the extraction means, and the determination means are executed to determine a communication protocol corresponding to the received data, and the plurality of types of communication protocols are determined. It is configured to select and execute a communication protocol processing program corresponding to the received data from the communication protocols.
作用本発明は前記した構成により、受信データのヘッダ情報
から、使用されている通信プロトコルを決定することが
できるため、既存のプロトコルに通信プロトコルの識別
のために特別な識別子を設るなどの変更を加えることな
く、マルチプロトコルの処理が可能である。Effect of the Invention With the above-described configuration, the present invention can determine the communication protocol being used from the header information of the received data, so it is possible to make changes such as providing a special identifier to the existing protocol to identify the communication protocol. Multi-protocol processing is possible without adding
実施例第1図は本発明の一実施例におけるマルチプロトコル処
理装置のブロック図を示すもので、第6図の従来例と同
一部には同一番号を付しである。Embodiment FIG. 1 shows a block diagram of a multi-protocol processing device according to an embodiment of the present invention, and the same parts as in the conventional example shown in FIG. 6 are given the same numbers.
第1図において、20は情報処理装置30の通信機能を
担うマルチプロトコル処理装置である。20′はネット
ワーク上の別の情報処理装置がもつマルチプロトコル処
理装置であり、20と同様の機能を有する。21はマル
チプロトコル処理装置20と伝送路2とのデータの送受
信を行い、特に受信データに対してはそのプロトコルを
決定するプロトコル決定部である。22はROMであり
、複数種類の通信プロトコル処理プログラムコードが格
納されており、プロトコル決定部21によって定まった
プロトコルに対応する処理プログラムがメモリ5にロー
ドされる。In FIG. 1, 20 is a multi-protocol processing device that takes charge of the communication function of the information processing device 30. As shown in FIG. 20' is a multi-protocol processing device included in another information processing device on the network, and has the same functions as 20. Reference numeral 21 denotes a protocol determining unit that transmits and receives data between the multi-protocol processing device 20 and the transmission path 2, and determines the protocol for received data in particular. A ROM 22 stores a plurality of types of communication protocol processing program codes, and a processing program corresponding to the protocol determined by the protocol determining section 21 is loaded into the memory 5.
以上のように構成された本実施例のマルチプロトコル処
理装置20について、以下その動作を説明する。簡単の
ため、マルチプロトコル処理装置20が実装している通
信プロトコルは、第2図に示すように、O8■プロトコ
ルの上位4J’j(アプリケーション、プレゼンテーシ
ョン、セション、トランスポートの各層)と、TCP
(Transmission Control P
rotocol)と上位プロトコルを組み合わせたもの
の2種類であるとし、トランスポート層およびTCPか
らは共通の下位レイヤプロトコルにインタフェースされ
ているものとする。なお、ユーザプロセスは第1図の情
報処理装置30で生成されるものである。第1図のマル
チプロトコル処理装置2゜が伝送路2から自分宛のデー
タを受信すると、まずプロトコル決定部21において第
2図に示した下位レイヤプロトコルが実行される。下位
レイヤプロトコルによって処理されたデータはTCPあ
るいはトランスポート層のいづれかのプロトコルにした
がうものであるから、そのヘッダ部は第3図あるいは第
4図のデータ形式をしている筈である。第3図はTCP
ヘッダの構成図、第4図はトランスポート層のプロトコ
ルデータ弔位の構成図である。そこで、プロトコル決定
部21はいづれのプロトコルであるかを決定するために
第5図に示す処理を実行する。第5図の処理41により
、受信データのプロトコルが仮定される。The operation of the multi-protocol processing device 20 of this embodiment configured as described above will be described below. For simplicity, the communication protocols implemented by the multi-protocol processing device 20 are the upper 4J'j (application, presentation, session, and transport layers) of the O8 protocol and the TCP
(Transmission Control P
It is assumed that these two types are a combination of the upper layer protocol (rotocol) and the upper layer protocol, and that the transport layer and TCP are interfaced to a common lower layer protocol. Note that the user process is generated by the information processing device 30 shown in FIG. When the multi-protocol processing device 2° in FIG. 1 receives data destined for itself from the transmission path 2, the lower layer protocol shown in FIG. 2 is first executed in the protocol determination unit 21. Since the data processed by the lower layer protocol follows either the TCP or the transport layer protocol, the header section should have the data format shown in FIG. 3 or 4. Figure 3 shows TCP
FIG. 4 is a diagram showing the configuration of the header, and FIG. 4 is a diagram showing the configuration of the transport layer protocol data. Therefore, the protocol determining unit 21 executes the process shown in FIG. 5 in order to determine which protocol is used. In the process 41 of FIG. 5, the protocol of the received data is assumed.
いま、仮にプロトコルがTCPであると仮定したとする
。処理42はTCPプロトコルに基づいて、データのヘ
ッダ部からTCPに特徴的な情報を抽出する。TCPの
場合、ヘッダの構成は第3図の様になっているので、プ
ロトコルの判定に利用する情報としてヘッダの先頭から
17バイト目と18バイト目に書かれているチエツクサ
ムを抽出する。処理43は処理42で抽出された情報を
もとにして、処理41で仮定したプロトコルの真偽を判
定する。TCPの場合は実際に受信データのチエツクサ
ムを計算し、処理42で抽出されたチエツクサムの値と
一致するならば仮定したプロトコルが正しいという判定
を行う。もし一致しなければ、仮定したプロトコルが誤
りであったという判定をし、今度は処理41において○
s■プロトコルと仮定する。処理42ではOSIプロト
コルにしたがってヘッダ情報を解析する。O8■プロト
コルではトランスポートプロトコルデータ単位のヘッダ
部が第4図のような構成をしているので、変数部内に書
かれているチエツクサムの値を抽出し、次の処理43で
の判定材料に利用する。Now, let us assume that the protocol is TCP. Processing 42 extracts information characteristic of TCP from the header part of the data based on the TCP protocol. In the case of TCP, the header has a structure as shown in FIG. 3, so the checksum written in the 17th and 18th bytes from the beginning of the header is extracted as information used for protocol determination. Process 43 determines whether the protocol assumed in process 41 is true or false based on the information extracted in process 42. In the case of TCP, the checksum of the received data is actually calculated, and if it matches the checksum value extracted in step 42, it is determined that the assumed protocol is correct. If they do not match, it is determined that the assumed protocol is incorrect, and this time in process 41
Assume the s■ protocol. In process 42, header information is analyzed according to the OSI protocol. In the O8■ protocol, the header part of each transport protocol data unit has a structure as shown in Figure 4, so the checksum value written in the variable part is extracted and used as a judgment material in the next process 43. do.
チエツクサムの値が格納されている位置は、ヘッダの先
頭バイトにあってヘッダ部の長さを表すLIO値や、チ
エツクサム識別用のビットパターン”11000011
”を利用して知ることができる。処理43では、受信デ
ータに対してO8■プロトコルで規定する方法で実際に
チエツクサムを計算し、処理42で得た値と比較し、判
定を行う。The checksum value is stored in the first byte of the header, including the LIO value representing the length of the header and the bit pattern "11000011" for checksum identification.
In process 43, a checksum is actually calculated for the received data using the method specified by the O8 protocol, and compared with the value obtained in process 42, a determination is made.
処理43の判定により正しいプロトコルが判明すると、
処理44の後処理を行う。ここでは、第1図のROM2
2からメモリ5ヘロードすべきプロトコル処理プログラ
ムをプロセッサ4へ知らせる等の処理を行う。その後、
この受信データはバス6を介してメモリ5へ取り込まれ
、プロセッサ4のもとてメモリ5にロードされたプロト
コル処理プログラムを実行する。必要な情報は端末イン
タフェース部7を介して情報処理装置30へ伝えられ、
一連の受信処理が終了する。When the correct protocol is determined by the determination in process 43,
Post-processing of process 44 is performed. Here, ROM2 in Figure 1
Processes such as notifying the processor 4 of the protocol processing program to be loaded from the processor 2 to the memory 5 are performed. after that,
This received data is taken into the memory 5 via the bus 6, and the protocol processing program loaded into the memory 5 is executed by the processor 4. Necessary information is transmitted to the information processing device 30 via the terminal interface section 7,
A series of reception processing ends.
以上のように、本実施例によればプロトコル決定部21
においてヘッダ情報のチエツクサムの正否を確認すると
いう簡単な処理で、確実に受信データのプロトコルが決
定できる。As described above, according to this embodiment, the protocol determination unit 21
The protocol of the received data can be reliably determined by a simple process of checking whether the checksum of the header information is correct or not.
なお、本実施例では処理44により、データの受信毎に
プロトコル処理プログラムコードをROM22からメモ
リ5ヘロードしたが、ROM22のもつすべてのプログ
ラムコードをメモリ5に常駐させておいてもよい。In this embodiment, the protocol processing program code is loaded from the ROM 22 to the memory 5 in the process 44 every time data is received, but all the program codes held in the ROM 22 may be made to reside in the memory 5.
発明の詳細な説明したように、本発明によれば、既存のプロトコル
を変更したり、プロトコル識別用の特別な識別子を設け
たりすることなく、簡単な処理を行うだけで、複数のプ
ロトコルを実装した通信プロトコル処理装置閏でのデー
タ転送を行うネットワークシステムを構築でき、その実
用的効果は大きい。As described in detail, according to the present invention, multiple protocols can be implemented by performing simple processing without changing existing protocols or providing special identifiers for protocol identification. It is possible to construct a network system that transfers data using a communication protocol processing device, which has great practical effects.
第1図は本発明の一実施例のマルチプロトコル処理装置
のブロック図、第2図は同実施例に実装されているプロ
トコルの階層図、第3図は同実施例で扱うTCPプロト
コルのヘッダ構成図、第4図は同実施例で扱うトランス
ポートプロトコルデータ準位の構成図、第5図は同実施
例におけるプロトコル決定のための処理を示す図、第6
図は従来例の通信プロトコル処理装置のブロック図であ
る。l、1′・・・・・・通信プロトコル処理装置、2・・
・・・・伝送路、3・・・・・・ネットワークインタフ
ェース部、4・・・・・・プロセッサ、5・・・・・・
メモリ、6・・・・・・バス、7・・・・・・端末イン
タフェース部、8・・・・・・バス、20゜20′・・
・・・・マルチプロトコル処理装置、21・・・・・・
マルチプロトコル処理装置、22・・・・・・ROM、
30・・・・・・情報処理装置。第1図第2図刃r −−−−−−−一〜−一一一一ノーコ区
←+−\r Qζコ拡第5図Fig. 1 is a block diagram of a multiprotocol processing device according to an embodiment of the present invention, Fig. 2 is a layer diagram of protocols implemented in the embodiment, and Fig. 3 is a header structure of the TCP protocol handled in the embodiment. 4 is a configuration diagram of the transport protocol data level handled in the same embodiment, FIG. 5 is a diagram showing the processing for protocol determination in the same embodiment, and FIG.
The figure is a block diagram of a conventional communication protocol processing device. l, 1'... Communication protocol processing device, 2...
...Transmission path, 3...Network interface unit, 4...Processor, 5...
Memory, 6...Bus, 7...Terminal interface section, 8...Bus, 20°20'...
...Multi-protocol processing device, 21...
Multi-protocol processing device, 22...ROM,
30... Information processing device. Figure 1 Figure 2 Blade r ----------1~-1111 Norco Ward
← +− \r Q ζ Enlarged Fig. 5
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62284511AJPH0787480B2 (en) | 1987-11-11 | 1987-11-11 | Multi-protocol processor |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62284511AJPH0787480B2 (en) | 1987-11-11 | 1987-11-11 | Multi-protocol processor |
| Publication Number | Publication Date |
|---|---|
| JPH01126044Atrue JPH01126044A (en) | 1989-05-18 |
| JPH0787480B2 JPH0787480B2 (en) | 1995-09-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62284511AExpired - LifetimeJPH0787480B2 (en) | 1987-11-11 | 1987-11-11 | Multi-protocol processor |
| Country | Link |
|---|---|
| JP (1) | JPH0787480B2 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5509121A (en)* | 1991-09-02 | 1996-04-16 | Hitachi, Ltd. | Multi-protocol communication control apparatus |
| KR100247112B1 (en)* | 1991-02-12 | 2000-03-15 | 이데이 노부유끼 | Beam deflector for a cathode ray tube |
| KR100251811B1 (en)* | 1996-04-26 | 2000-04-15 | 니시무로 타이죠 | Deflection yoke of cathode ray tube and cathode ray tube having same |
| WO2004014042A1 (en)* | 2002-08-05 | 2004-02-12 | Canon Kabushiki Kaisha | Recording system, recording apparatus, and control method therefor |
| JP2004537241A (en)* | 2001-07-30 | 2004-12-09 | シーメンス アクチエンゲゼルシヤフト | How to support multiple checksum algorithms in a network node |
| JP2008536439A (en)* | 2005-04-15 | 2008-09-04 | ケーティーフリーテル・カンパニー・リミテッド | Non-contact type IC card for data communication using multiple protocols and communication method therefor |
| JP2009003525A (en)* | 2007-06-19 | 2009-01-08 | Toshiba Corp | Information communication device and medical information device |
| JP2009044653A (en)* | 2007-08-10 | 2009-02-26 | Yamaha Marine Co Ltd | Connected devices and programs |
| JP2010532599A (en)* | 2007-06-19 | 2010-10-07 | 北京握奇数据系統有限公司 | Apparatus and method for realizing communication protocol adaptation function |
| US8605334B2 (en) | 2002-08-05 | 2013-12-10 | Canon Kabushiki Kaisha | Recording system, recording apparatus, and control method therefor |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3782573B2 (en)* | 1998-01-16 | 2006-06-07 | キヤノン株式会社 | Printing system, printing apparatus, and data transfer method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100247112B1 (en)* | 1991-02-12 | 2000-03-15 | 이데이 노부유끼 | Beam deflector for a cathode ray tube |
| US5509121A (en)* | 1991-09-02 | 1996-04-16 | Hitachi, Ltd. | Multi-protocol communication control apparatus |
| KR100251811B1 (en)* | 1996-04-26 | 2000-04-15 | 니시무로 타이죠 | Deflection yoke of cathode ray tube and cathode ray tube having same |
| JP2004537241A (en)* | 2001-07-30 | 2004-12-09 | シーメンス アクチエンゲゼルシヤフト | How to support multiple checksum algorithms in a network node |
| WO2004014042A1 (en)* | 2002-08-05 | 2004-02-12 | Canon Kabushiki Kaisha | Recording system, recording apparatus, and control method therefor |
| US8605334B2 (en) | 2002-08-05 | 2013-12-10 | Canon Kabushiki Kaisha | Recording system, recording apparatus, and control method therefor |
| JP2008536439A (en)* | 2005-04-15 | 2008-09-04 | ケーティーフリーテル・カンパニー・リミテッド | Non-contact type IC card for data communication using multiple protocols and communication method therefor |
| JP2009003525A (en)* | 2007-06-19 | 2009-01-08 | Toshiba Corp | Information communication device and medical information device |
| JP2010532599A (en)* | 2007-06-19 | 2010-10-07 | 北京握奇数据系統有限公司 | Apparatus and method for realizing communication protocol adaptation function |
| JP2009044653A (en)* | 2007-08-10 | 2009-02-26 | Yamaha Marine Co Ltd | Connected devices and programs |
| Publication number | Publication date |
|---|---|
| JPH0787480B2 (en) | 1995-09-20 |
| Publication | Publication Date | Title |
|---|---|---|
| US6636521B1 (en) | Flexible runtime configurable application program interface (API) that is command independent and reusable | |
| US6094525A (en) | Network addressing arrangement for backward compatible routing of an expanded address space | |
| CN115225292B (en) | Intranet access method, device, equipment and computer readable storage medium | |
| JPH01126044A (en) | Multiprotocol processing device | |
| US20030154244A1 (en) | Method and system to provide flexible HTTP tunnelling | |
| CN113691460B (en) | Data transmission method, device, equipment and storage medium based on load balancing | |
| JP2001517899A (en) | Method and system for identifying and suppressing executable objects | |
| CN113965386B (en) | Industrial control protocol message processing method, device, equipment and storage medium | |
| US7961614B2 (en) | Information processing device, information processing method, and recording medium for reducing consumption of memory capacity | |
| CN109246189B (en) | Network data distribution method and device, storage medium and server | |
| EP2916516A1 (en) | Packet processing method and apparatus | |
| CN114338510B (en) | Data forwarding method and system for controlling and forwarding separation | |
| CN115952515A (en) | Data security processing method and device based on big data | |
| JP2010193146A (en) | Communication apparatus, and communication system | |
| CN105245365B (en) | A kind of method for parameter configuration of virtual network, equipment and system | |
| CN109039687A (en) | Load-balancing method, device, system, equipment and the storage medium of request | |
| CN110569987A (en) | Automatic operation and maintenance method, operation and maintenance equipment, storage medium and device | |
| CN107528929A (en) | The processing method and processing device of arp entry | |
| US9942823B2 (en) | Communication terminal, communication method, and communication program | |
| JPH10341221A (en) | File transmission system | |
| CN113098780B (en) | Message processing method of virtual network, electronic equipment and storage medium | |
| CN114301960A (en) | Processing method and device for asymmetric flow of cluster, electronic equipment and storage medium | |
| CN114039749B (en) | Attack detection method, device, equipment and storage medium | |
| CN114880148B (en) | Data processing method, device and computer readable storage medium | |
| JPWO2005050935A1 (en) | Intrusion detection device and method |