JPH0452844A - Communication protocol processing system - Google Patents

Communication protocol processing system

Info

Publication number
JPH0452844A
JPH0452844A JP2155220A JP15522090A JPH0452844A JP H0452844 A JPH0452844 A JP H0452844A JP 2155220 A JP2155220 A JP 2155220A JP 15522090 A JP15522090 A JP 15522090A JP H0452844 A JPH0452844 A JP H0452844A
Authority
JP
Japan
Prior art keywords
record
information
control unit
conversion control
transfer syntax
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.)
Pending
Application number
JP2155220A
Other languages
Japanese (ja)
Inventor
Yukihisa Tsuchiya
土谷 往久
Giichi Kishimoto
岸本 義一
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.)
Hitachi Ltd
NTT Inc
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone 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 Hitachi Ltd, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP2155220A priority Critical patent/JPH0452844A/en
Publication of JPH0452844A publication Critical patent/JPH0452844A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、国際標準である開放型システム間相互接続(
O8I規格)に基づくコンピュータ間通信における、プ
レゼンテーション層の通信プロトコル処理方式に関する
ものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention applies to open system interconnection (
The present invention relates to a presentation layer communication protocol processing method in computer-to-computer communication based on the O8I standard.

〔従来の技術〕[Conventional technology]

○SI参照モデルのプレゼンテーション層の役割は、応
用層が扱うデータ表現(コード体系、数値の精度等)の
相違を吸収するためにある。応用層が扱うデータ表現を
抽象構文、プレゼンテーション層以下が扱うデータ表現
を転送構文と呼ぶ。
○The role of the presentation layer of the SI reference model is to absorb differences in data representation (coding system, precision of numerical values, etc.) handled by the application layer. The data representation handled by the application layer is called abstract syntax, and the data representation handled by the presentation layer and below is called transfer syntax.

抽象構文と転送構文の関係が、○SI規格の抽象構文記
述方法1 (ASN、1)として規定される。
The relationship between abstract syntax and transfer syntax is defined as abstract syntax description method 1 (ASN, 1) of the SI standard.

ASN、1規定に基づき、転送構文形式から抽象構文形
式への変換処理(デコード処理)、および抽象構文形式
から転送構文形式への変換処理(エンコード処理)が、
実現される。
Based on the ASN, 1 specification, the conversion process from transfer syntax format to abstract syntax format (decoding process) and the conversion process from abstract syntax format to transfer syntax format (encoding process) are
Realized.

従来、応用屑処理の複雑さから、応用屑処理部が扱うデ
ータ形式は、ASN、1規定である抽象構文形式そのも
のではなく、応用屑処理部に都合のよい内部表現形式(
テーブル形式)としている。
Conventionally, due to the complexity of applied waste processing, the data format handled by the applied waste processing unit was not the abstract syntax format itself specified by ASN, 1, but an internal representation format convenient for the applied waste processing unit (
(table format).

従って、プレゼンテーション層の通信プロトコル処理、
すなわち転送構文形式と内部表現形式との間のエンコー
ド/デコード処理が、応用層プロトコルの抽象構文定義
に基づく、交換手続き処理として実現される(第5図)
Therefore, presentation layer communication protocol processing,
In other words, the encoding/decoding process between the transfer syntax format and the internal representation format is realized as an exchange procedure process based on the abstract syntax definition of the application layer protocol (Figure 5).
.

デコード処理手続きおよびデコート処理手続きを例によ
り説明する。抽象構文の定義例を第2図。
The decoding processing procedure and the decoding processing procedure will be explained using an example. Figure 2 shows an example of the definition of abstract syntax.

定義に基づく転送構文および内部表現形式のテーブルの
構成をそれぞれ第3図および第4図に示す。
The configurations of the transfer syntax and internal representation format tables based on the definitions are shown in FIGS. 3 and 4, respectively.

なお、本文中のTn、 Ln、 Vn (nは数字)は
第3図中にのものに対応する。
Note that Tn, Ln, and Vn (n is a number) in the text correspond to those in FIG.

〈エンコード処理手続き〉 ■)内部表現形式のテーブル(テーブルA)の構成要素
の値と長さを求める。
<Encoding processing procedure> ■) Obtain the values and lengths of the constituent elements of the internal representation format table (table A).

■−■)Xの値(v2)と長さ(L2)を求める。■-■) Find the value (v2) and length (L2) of X.

■−■)Zlの値(Vn)と長さ(L4)を求める。①-■) Find the value (Vn) and length (L4) of Zl.

■−■)Z2の[(V5)と長さ(L5ンを求メル。■-■) Find the [(V5) and length (L5) of Z2.

■)Z2の転送構文を作成する。■) Create a Z2 transfer syntax.

■−■)Z2の属性(T5)、長さ(L5)および値(
v5)の順に並べた転送構文を作成する。
■-■) Z2 attribute (T5), length (L5) and value (
v5) Create a transfer syntax arranged in the following order.

■)Zlの転送構文の作成 ■−■)Zlの属性(T4)、長さ(L4)および値(
v4)の順に並べた転送構文を作成する。
■) Creating transfer syntax for Zl ■-■) Attribute (T4), length (L4), and value (
v4) Create a transfer syntax arranged in the following order.

■)Yの転送構文のを作成する。■) Create a transfer syntax for Y.

■−■)Zlと72の転送構文の長さの和、Yの長さ(
L3)、を求める。
■-■) The sum of the lengths of Zl and 72 transfer syntax, the length of Y (
L3).

■−■)Yの属性(T3)、長さ(L3) 、 Z l
 ノ転送構文およびz2の転送構文の順に並べた 転送構文を作成する。
■-■) Attribute of Y (T3), length (L3), Z l
A transfer syntax is created in which the transfer syntax of z2 and the transfer syntax of z2 are arranged in this order.

■)Xの転送構文を作成する。■) Create a transfer syntax for X.

■−■)Xの属性(T2)、長さ(L2)および値(■
2)の順に並べた転送構文を作成する。
■-■) Attribute (T2), length (L2) and value (■
2) Create a transfer syntax arranged in the following order.

■)Aの転送構文を作成する。■) Create a transfer syntax for A.

■−■)XとYの転送構文の長さの和、Aの長さ(LL
)、を求める。
■-■) Sum of lengths of transfer syntax of X and Y, length of A (LL
), find.

■−■)Aの属性(TI)、長さ(LL)、Xの転送構
文およびYの転送構文の順に並べた転送 構文を作成する。
①-■) Create a transfer syntax in which the attribute (TI) of A, the length (LL), the transfer syntax of X, and the transfer syntax of Y are arranged in this order.

■)エンコード処理を終了する。■) End the encoding process.

〈デコード処理手続き〉 ■)受信した転送構文域の先頭をポインタとして設定す
る。
<Decoding processing procedure> ■) Set the beginning of the received transfer syntax area as a pointer.

■)Aデータの属性を確認する。■) Check the attributes of A data.

■−■)ポインタの指す内容、属性(11)、をチエツ
クする・ ■−■)ポインタをLL域の次に移動する。
①-■) Check the content pointed to by the pointer, attribute (11). ①-■) Move the pointer to the next LL area.

■)XのデータをテーブルAに設定する。■) Set the data of X in table A.

■−■)ポインタの指す内容、属性(T2)、をチエツ
クし、ポインタの次の内容から、 V2の長さ(L2)
を得る。
■-■) Check the content pointed to by the pointer, attribute (T2), and calculate the length of V2 (L2) from the next content of the pointer.
get.

■−■)ポインタをL2域の次に移動する。■-■) Move the pointer to the next area of L2.

■−〇)ポインタの指す内容をv2の長さ分、値(V2
)、を取り出し、テーブルAに設定する。
■-〇) The content pointed to by the pointer is divided by the length of v2, and the value (V2
), and set it in table A.

■−■)ポインタをv2域の次に移動する。■-■) Move the pointer to the next area of v2.

■)Yのデータの属性を確認する。■) Check the attributes of the data of Y.

■−■)ポインタの指す内容、属性(T3)、をチエツ
クし、ポインタの次の内容から、 v3の長さ(L3)を得る。
■-■) Check the content pointed to by the pointer, attribute (T3), and obtain the length (L3) of v3 from the next content of the pointer.

■−■)ポインタをL3域の次に移動する。■-■) Move the pointer to the next area of L3.

■)ZlのデータをテーブルAに設定する。■) Set the data of Zl in table A.

■−■)ポインタの指す内容、属性(T4) 、をチエ
ツクし、ポインタの次の内容から、 ■4の長さ(L4)を得る。
(2-2) Check the content pointed to by the pointer, attribute (T4), and obtain the length (L4) of (4) from the next content of the pointer.

■−■)ポインタをL4域の次に移動する。■-■) Move the pointer to the next area of L4.

■−■)ポインタの指す内容をν4の長さ分、値(Vn
)、を取り出し、テーブルAに設定する。
■−■) The content pointed to by the pointer is divided by the length of ν4, and the value (Vn
), and set it in table A.

■−■)ポインタをv4域の次に移動する。■-■) Move the pointer to the next area of v4.

■)Z2のデータをテーブルAに設定する。■) Set the data of Z2 in table A.

■−■)ポインタの指す内容が転送構文の最後であるな
らば、デフォルト値をテーブ ルAに設定し■へ進む。そうでなけれ ば、■−■以降を行う。
■-■) If the content pointed to by the pointer is the end of the transfer syntax, set the default value in table A and proceed to ■. Otherwise, perform ■−■ and subsequent steps.

■−■)ポインタの指す内容、属性(T5)、をチエツ
クし、ポインタの次の内容から、 v5の長さ(L5)を得る。
■-■) Check the content pointed to by the pointer, attribute (T5), and obtain the length of v5 (L5) from the next content of the pointer.

■−■)ポインタをL5域の次に移動する。■-■) Move the pointer to the next area of L5.

■−■)ポインタの指す内容をV5の長さ分、値(V5
)、を取り出し、テーブルAに設定する。
■-■) The content pointed to by the pointer is divided by the length of V5, and the value (V5
), and set it in table A.

■)デコード処理を終了する。■) End the decoding process.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

転送構文の各要素は、第8図に示す通りの[属性、長さ
、値]の3つ組構成であり、値は基本要素か下位レベル
の3つ組構成のいずれからなる。
Each element of the transfer syntax has a triplet structure of [attribute, length, value] as shown in FIG. 8, and the value consists of either a basic element or a lower-level triplet structure.

応用層プロトコルの変更により、あるレベルの3つ組構
成が変更されると、それを包含する3つ組の構成がすべ
て変更となる。従来の手続き処理によるエンコード/デ
コード処理では、応用層プロトコルの改訂に伴い、ある
レベルの3つ組構成が変更されると、それを包含する3
つ組構成に対する手続き処理を変更する必要が生じ、変
更箇所が広範囲にわたることになる。
When a triplet configuration at a certain level is changed due to a change in the application layer protocol, all the triplet configurations that include it are changed. In conventional procedural encoding/decoding processing, when the triplet configuration at a certain level is changed due to a revision of the application layer protocol, the
It becomes necessary to change the procedure processing for the triple configuration, and the changes will be made over a wide range of areas.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、以下の1つの変換情報テーブルと2つの処
理部を設け、エンコード/デコード処理を実現する(第
1図)。
In the present invention, the following one conversion information table and two processing units are provided to realize encoding/decoding processing (FIG. 1).

・ASN、1に基づき定義された応用層プロトコルの転
送構文の構造を示すプロトコルデータ変換情報テーブル これは、転送構文の各要素対応の変換情報をレコードと
して持つ。各レコードは以下の情報からなる。
・Protocol data conversion information table showing the structure of the transfer syntax of the application layer protocol defined based on ASN, 1. This table has conversion information corresponding to each element of the transfer syntax as records. Each record consists of the following information.

・レコード識別子(ID) ・同一レベルの次の3つ組のレコード識別子(NP)・
下位レベルの次の3つ組のレコードm副子(DP)・属
性コード(TP) ・0PTIONAL情報(OP) ・デフォルト情報(DF) ・内部表現テーブル内オフセット情報(OF)・IMP
LICT情報(IN) ・タグ情報(TG) ・ASN、1が規定する属性(INTEGER,IA5
String。
・Record identifier (ID) ・Record identifier (NP) of the next triplet at the same level ・
Record m of the next set of three at the lower level Splint (DP), Attribute code (TP), 0PTIONAL information (OP), Default information (DF), Offset information in internal representation table (OF), IMP
LICT information (IN) - Tag information (TG) - Attribute specified by ASN, 1 (INTEGER, IA5
String.

5EQUENCE、 CHOICE等)に対応したエン
コード処理およびデコード処理を行う属性対応処理部・
プロトコルデータ変換情報テーブルに基づき、属性対応
処理部を制御し、転送構文と内部表現形式の抽象構文(
内部表現テーブル)とを変換する変換制御部 プロトコル変換情報テーブル、属性対応処理部および変
換制御部を使用したエンコード/デコード処理の流れを
示す。
5EQUENCE, CHOICE, etc.)
Based on the protocol data conversion information table, the attribute processing unit is controlled and the transfer syntax and the abstract syntax of the internal representation format (
This figure shows the flow of encoding/decoding processing using a conversion control unit, a protocol conversion information table, an attribute correspondence processing unit, and a conversion control unit that converts an internal representation table.

くエンコード処理〉 ■)変換制御部が、エンコードする内部表現テーブルを
エンコード処理依頼元から受は取り。
Encoding Processing> ■) The conversion control unit receives the internal representation table to be encoded from the encoding processing requester.

内部表現テーブルに指定された処理種別(作成する転送
構文)を決定する。
Determines the processing type (transfer syntax to be created) specified in the internal representation table.

■)変換制御部が処理種別に基づき、プロトコルデータ
変換情報テーブルの対応するレコード(Pレコード)を
見いだす。
(2) The conversion control unit finds a corresponding record (P record) in the protocol data conversion information table based on the processing type.

■)変換制御部が、PレコードのTP情報に対応する属
性対応処理部を呼び出す。
(2) The conversion control unit calls the attribute correspondence processing unit corresponding to the TP information of the P record.

■)属性対応処理部が、属性に基づいた属性対応の転送
構文を作成する。
(2) The attribute correspondence processing unit creates an attribute correspondence transfer syntax based on the attributes.

■−■)属性が基本要素の場合、内部表現テーブルの先
頭からPレコードの情報のOF値目が指す領域の情報を
値として、転 送構文を作成する。
■-■) If the attribute is a basic element, create a transfer syntax using the information in the area pointed to by the OF value of the P record information from the beginning of the internal expression table as the value.

■−■)属性が基本要素でない場合、DP情報が指すP
レコードを求め、変換制御部を 再起的に呼び出し、下位レベルの転送 構文を作成する(■を呼び出す)。次 に、作成された下位レベルの転送構文 を値とした転送構文を作成する。
■-■) If the attribute is not a basic element, the P pointed to by the DP information
Find the record, call the conversion control unit recursively, and create the lower-level transfer syntax (call ■). Next, a transfer syntax is created using the created lower level transfer syntax as a value.

■)変換制御部が、■で作成された転送構文を作成済み
の転送構文の次に追加する。
(2) The conversion control unit adds the transfer syntax created in (2) next to the already created transfer syntax.

■)変換制御部が、PレコードのNP情報に従い、次の
Pレコードを見いだす。次のPレコードがある場合、■
に戻る。そうでない場合、変換制御部の呼び出し元に転
送構文を返却する。
(2) The conversion control unit finds the next P record according to the NP information of the P record. If there is the following P record, ■
Return to Otherwise, the transfer syntax is returned to the caller of the conversion control unit.

〈デコード処理〉 ■)変換制御部が、転送構文と内部表現テーブル域をデ
コード処理依頼元から受は取る。
<Decoding Process> (1) The conversion control unit receives the transfer syntax and internal expression table area from the decoding process requester.

転送構文の先頭をポインタに設定する。Set the beginning of the transfer syntax to a pointer.

■)変換制御部がプロトコルデータ変換情報テーブルの
先頭のPレコードを見いだす。
(2) The conversion control unit finds the first P record in the protocol data conversion information table.

■)変換制御部が、PレコードのTP情報あるいはTG
情報とポインタが指す転送構文の属性が一致するかを調
べる。
■) The conversion control unit converts the TP information or TG of the P record
Check whether the information and attributes of the transfer syntax pointed to by the pointer match.

■−■)TP情報あるいはTG情報と一致する場合、変
換制御部がPレコードが示す属性に 対応する属性対応処理部を明示モード で呼び出す。
(2)-(2) If the information matches the TP information or TG information, the conversion control unit calls the attribute correspondence processing unit corresponding to the attribute indicated by the P record in explicit mode.

■−■)一致せずかつop情報が真の場合、変換制御部
がPレコードの示す属性に対応 する属性対応処理部を暗示モードで呼 び出す。
(2-2) If there is no match and the op information is true, the conversion control unit calls the attribute correspondence processing unit corresponding to the attribute indicated by the P record in implicit mode.

■−■)上記以外の場合、PレコードのNP情報に従い
、次のPレコードを見いだし、 再度■を行う。
■-■) In cases other than the above, find the next P record according to the NP information of the P record, and perform ■ again.

■)属性対応処理部が、属性に基づき、属性対応の転送
構文を作成する。
(2) The attribute correspondence processing unit creates an attribute correspondence transfer syntax based on the attributes.

■−■)明示モードかつ属性が基本要素の場合、転送構
文中の値の長さと値を求め、内 部表現テーブルの先頭からPレコード の情報のOF値目の領域に設定する。
(1-2) When the explicit mode and the attribute are basic elements, find the length and value of the value in the transfer syntax and set it in the OF value area of the P record information from the head of the internal expression table.

■−■)明示モードかつ属性が基本要素でない場合、ポ
インタが指す転送構文の値と PレコードのDP情報が指すPレコードを見いだし、変
換制御部を再起的に呼 び出しく■を呼び出し)、下位レベル の転送構文から内部表現テーブルに情 報を設定する。
■-■) If the explicit mode and the attribute is not a basic element, find the value of the transfer syntax pointed to by the pointer and the P record pointed to by the DP information of the P record, and call the conversion control unit recursively. Set information from the transfer syntax to the internal representation table.

■−■)暗示モードかつ属性が基本要素の場合、Pレコ
ードのDF情報を、内部表現テーブルの先頭からPレコ
ードの情報のOF値目の領域に設定する。
(2-2) When the implicit mode is set and the attribute is a basic element, the DF information of the P record is set in the OF value area of the P record information from the head of the internal expression table.

■−■)暗示モードかつ属性が基本要素でない場合、P
レコードのDP情報が指すPレコードを見いだし、変換
制御部を再起 的に呼び出しく■を呼び出し)、下位 レベルの転送構文から内部表現テーブ ルに情報を設定する。
■-■) If implicit mode and attribute is not a basic element, P
It finds the P record pointed to by the DP information of the record, calls the conversion control unit recursively (invoke ()), and sets information in the internal representation table from the lower level transfer syntax.

■)変換制御部が、PレコードのNP情報より次のPレ
コードを見いだす。次のPレコードがある場合、■に戻
る。そうでない場合、変換制御部の呼び出し元に戻る。
(2) The conversion control unit finds the next P record from the NP information of the P record. If there is the next P record, return to ■. Otherwise, the process returns to the caller of the conversion control unit.

〔作用〕[Effect]

上述の構成および処理手順により、応用層プロトコルの
変更に対する対応がプロトコルデータ変換情報テーブル
の変更のみで済み、変更箇所が極小化できる。
With the above-described configuration and processing procedure, changes in the application layer protocol can be handled by only changing the protocol data conversion information table, and the number of changes can be minimized.

〔実施例〕〔Example〕

エンコード処理およびデコード処理の実施例を。 Examples of encoding and decoding processing.

従来の技術で示した例により示す。本文中のTn 、 
Ln 。
This will be illustrated by an example given in the related art. Tn in the text,
Ln.

Vn(nは数字)は第3図に示されるものに対応する。Vn (n is a number) corresponds to that shown in FIG.

〈エンコード処理の実施例〉 ■)変換制御部が、内部表現テーブル域、テーブルA(
第4図)、をエンコード処理依頼部から受取り、処理種
別(転送構文A)を決定する。
<Example of encoding processing> ■) The conversion control unit stores the internal representation table area, table A (
FIG. 4) is received from the encoding processing requesting unit, and the processing type (transfer syntax A) is determined.

■)変換制御部が、プロトコルデータ変換情報テーブル
の転送構文Aに対応するPレコード(ID=01)を見
いだす。
(2) The conversion control unit finds a P record (ID=01) corresponding to transfer syntax A in the protocol data conversion information table.

■)変換制御部が、Pレコード(ID=01)のTP情
報(30)に対応する属性対応処理部(SEQUENC
E処理)を呼び出す。
■) The conversion control unit performs the attribute correspondence processing unit (SEQUENC) corresponding to the TP information (30) of the P record (ID=01).
E processing) is called.

■)属性対応処理部(SEQUENCE処理)は、属性
が基本要素でないため、DP情報が指すPレコード(I
D=02)を求め、変換制御部を再起的に呼び出す。
■) Since the attribute is not a basic element, the attribute correspondence processing unit (SEQUENCE processing) handles the P record (I
D=02) and calls the conversion control unit recursively.

■−■)変換制御部が、Pレコード(ID=02)のT
P情報(16)に対応する属性対応処理部(IA5St
ring処理)を呼び出す。
■-■) The conversion control unit converts T of P record (ID=02)
Attribute correspondence processing unit (IA5St) corresponding to P information (16)
ring process).

■−■)属性対応処理部(IA5String処理)は
、属性が基本要素であるため、Aテーブ ルの先頭からOF値目の値(v2)とその長さ(L2)
を取り出し、データXの転送構文を作成し、変換制御部
に返却する。
■-■) Attribute correspondence processing unit (IA5String processing), since the attribute is a basic element, the value (v2) of the OF value from the beginning of the A table and its length (L2)
, create a transfer syntax for data X, and return it to the conversion control unit.

■−■)変換制御部が、作成されたXの転送構文を保持
する。
(2)-(2) The conversion control unit holds the created transfer syntax of X.

■−■)変換制御部が、NP情報が指すPレコード(I
D=03)を見いだす。
■-■) The conversion control unit converts the P record (I
D=03) is found.

■−■)変換制御部が、Pレコード(丁D=03)のT
P情報(30)に対応する属性対応処理部(SEQUE
NCE処理)を呼び出す。
■-■) The conversion control unit converts the T of the P record (D=03)
Attribute corresponding processing unit (SEQUE) corresponding to P information (30)
NCE processing) is called.

■−■)属性対応処理部(SEQUENCE処理)は、
属性が基本要素でないため、DP情報が指すPレコード
(ID=04)を求め、再起的に変換制御部を呼び出す
■-■) The attribute correspondence processing unit (SEQUENCE processing) is
Since the attribute is not a basic element, the P record (ID=04) pointed to by the DP information is obtained and the conversion control unit is called again.

■−■−■)変換制御部が、Pレコード(ID=04)
のTP情報(02)に対応する属性対応処理部(INT
EGER処理)を呼び出す。
■-■-■) The conversion control unit uses the P record (ID=04)
The attribute corresponding processing unit (INT
EGER processing).

■−■−■)属性対応処理部(INTEGER処理)は
、属性が基本要素であるため、Aテ ープルの先頭からOF値目の値(■4)とその長さ(L
4)を取り出し、zl のデータの転送構文を作成し、変 換制御部に返却する。
■-■-■) Since the attribute is a basic element, the attribute correspondence processing unit (INTEGER processing) calculates the value of the OF value (■4) from the beginning of the A-table and its length (L
4), creates a data transfer syntax for zl, and returns it to the conversion control unit.

■−■−■)変換制御部が、作成されたzlの転送構文
を保持する。
■-■-■) The conversion control unit holds the created zl transfer syntax.

■−■−■)変換制御部が、NP情報が指すPレコード
(ID=05)を見いだす。
■-■-■) The conversion control unit finds the P record (ID=05) pointed to by the NP information.

■−■−■)変換制御部が、Pレコード(ID=05)
のTP情報(16)に対応する属性対応処理部(IA5
String処理)を呼び出す。
■-■-■) The conversion control unit uses the P record (ID=05)
The attribute correspondence processing unit (IA5) corresponding to the TP information (16) of
String processing).

■−■−〇)属性対応処理部(INTEGER処理)は
、属性が基本要素であるため、Aテ ープルの先頭からOF値目の値(v5)とその長さ(L
5)を取り出し、Z2 のデータの転送構文を作成し、変 換制御部に返却する。
■-■-〇) Attribute correspondence processing unit (INTEGER processing) uses the value (v5) of the OF value from the beginning of the A-table and its length (L
5), creates a data transfer syntax for Z2, and returns it to the conversion control unit.

■−■−■)変換制御部が、保持されたzlに作成され
たz2の転送構文を追加 し保持する。
■-■-■) The conversion control unit adds and retains the created transfer syntax of z2 to the retained zl.

■−G・−■・)変換制御部が、NP情報が指すPレコ
ードがないため、呼び出し元に 転送構文を返却する。
■-G・-■・) The conversion control unit returns the transfer syntax to the caller because there is no P record pointed to by the NP information.

■−■)変換処理部から返却された転送構文を値(V3
)とし、Yのデータの転送構文を作成し、変換制御部に
返却する。
■-■) The transfer syntax returned from the conversion processing unit is converted into a value (V3
), creates a data transfer syntax for Y, and returns it to the conversion control unit.

■−■)変換制御部が、保持されたXに作成されたYの
転送構文を追加し保持する。
(2)-(2) The conversion control unit adds the created transfer syntax of Y to the retained X and retains it.

■−■)変換制御部が、Pレコード(ID=03)のN
P情報が指すPコレートがないため、呼 び出し元に転送構文を返却する。
■-■) The conversion control unit converts the N of P record (ID=03)
Since there is no P collate pointed to by the P information, the transfer syntax is returned to the caller.

■)変換処理部から返却された転送構文を値(■1)と
し、Aのデータの転送構文を作成し、変換制御部に返却
する。
(2) Set the transfer syntax returned from the conversion processing unit to the value (■1), create a transfer syntax for data A, and return it to the conversion control unit.

■)変換制御部が、作成されたAの転送構文を保持する
(2) The conversion control unit holds the created transfer syntax of A.

■)変換制御部が、Pレコード(ID=01)のNP情
報が指すPレコードがないため、呼び出し元に転送構文
を返却する。
(2) The conversion control unit returns the transfer syntax to the caller because there is no P record pointed to by the NP information of the P record (ID=01).

〈デコード処理の実施例〉 ■)変換制御部が、転送構文(第3図)と内部表現テー
ブル域、テーブルA(第4図)、をデコード処理依頼元
から受は取る。転送構文の先頭をポイントする。
<Embodiment of decoding processing> (1) The conversion control unit receives the transfer syntax (FIG. 3), internal representation table area, and table A (FIG. 4) from the decoding processing request source. Point to the beginning of the transfer syntax.

■)変換制御部が、プロトコルデータ変換情報テーブル
の先頭Pレコード(ID=01)を見いだす。
(2) The conversion control unit finds the first P record (ID=01) in the protocol data conversion information table.

■)変換制御部が、Pレコード(ID=01)のTP情
報(30)とポインタの指す転送構文の属性(30)を
比較する。両者が一致するため、変換制御部がPレコー
ド(ID=01)のTP情報(30)に対応する属性対
応処理部(SEQUENCE処理)を明示モードで呼び
出す。
(2) The conversion control unit compares the TP information (30) of the P record (ID=01) with the attribute (30) of the transfer syntax pointed to by the pointer. Since the two match, the conversion control unit calls the attribute correspondence processing unit (SEQUENCE processing) corresponding to the TP information (30) of the P record (ID=01) in explicit mode.

■)明示モードかつ非基本要素で呼び出された属性対応
処理部が、ポインタから転送構文の値(Vl)と、Pレ
コード(ID=01)のDP情報(02)を見いだす。
(2) The attribute correspondence processing unit called in explicit mode and with a non-basic element finds the value (Vl) of the transfer syntax and the DP information (02) of the P record (ID=01) from the pointer.

その結果を元に、変換制御部を再起的に呼び出す。Based on the result, the conversion control unit is called again.

■−の)変換制御部が、Pレコード(ID=02)のT
P情報(16)とポインタの指す転送構文の属性(16
)を比較する。両者が一致するため、変換制御部がPレ
コード(ID=02)のTP情報(16)に対応する属
性対応処理部(IA5String処理)を明示モード
で呼び出す。
■) conversion control unit of P record (ID=02)
P information (16) and attributes of the transfer syntax pointed to by the pointer (16)
). Since the two match, the conversion control unit calls the attribute correspondence processing unit (IA5String processing) corresponding to the TP information (16) of the P record (ID=02) in explicit mode.

■−■)明示モードかつ基本要素で呼び出された属性対
応処理部が、ポインタの指す 転送構文の値(v2)とその長さ(L2)を求め、内部
表現テーブルの先頭からPレ コード(ID=02)のOF情帽(04□、)目の領域
に設定する。
■-■) The attribute correspondence processing unit called in explicit mode and basic element obtains the value (v2) of the transfer syntax pointed to by the pointer and its length (L2), and calculates the P record (ID= Set it in the eye area of OF 02) (04□,).

■−■)変換制御部が、Pレコード(ID=02)のN
P情報(03)より、次のPレコード(ID=03)を
見いだす。
■-■) The conversion control unit converts the N of P record (ID=02)
The next P record (ID=03) is found from the P information (03).

■−■)変換制御部が、Pレコード(ID=03)のT
P情報(30)とポインタの指す転送構文の属性(30
)を比較する。両者が一致するため、変換制御部がPレ
コード(ID=03)のTP情報(30)に対応する属
性対応処理部(SEQLIENCE処理)を明示モード
で呼び出す。
■-■) The conversion control unit converts the T
P information (30) and attributes of the transfer syntax pointed to by the pointer (30)
). Since the two match, the conversion control unit calls the attribute correspondence processing unit (SEQLIENCE processing) corresponding to the TP information (30) of the P record (ID=03) in explicit mode.

■−■)明示モードかつ非基本要素で呼び出された属性
対応処理部が、ポインタから 転送構文の1 (V3)と、Pレコード(ID=03)
のDP情報(04)を見いだす。その結果を元に、変換
制御部を再起的に 呼び出す。
■-■) The attribute handling module called in explicit mode and with a non-basic element transfers the transfer syntax 1 (V3) from the pointer and the P record (ID=03).
Find the DP information (04) of. Based on the result, the conversion control unit is called again.

■−〇−■)変換制御部が、Pレコード(ID=04)
のTP情報(02)とポインタの指す転送構文の属性(
02)を比較する6両 者が一致するため、変換制御部が Pレコード(ID=02)のTP情報(02)に対応す
る属性対応処理部(INTEGER処理)を明示モード
で呼び出す。
■-〇-■) The conversion control unit uses P record (ID=04)
TP information (02) and attributes of the transfer syntax pointed to by the pointer (
02) 6 Since they match, the conversion control unit calls the attribute correspondence processing unit (INTEGER processing) corresponding to the TP information (02) of the P record (ID=02) in explicit mode.

■−■−■)明示モードかつ基本要素で呼び出された属
性対応処理部が、ポイン タの指す転送構文の値(■4)とその 長さ(L4)を求め、内部表現テーブ ルの先頭からPレコード(ID=04)のOF情報(O
Cl、)目の領域に設定する。
■−■−■) The attribute correspondence processing unit called in explicit mode and with a basic element calculates the value of the transfer syntax pointed to by the pointer (■4) and its length (L4), and calculates P records from the beginning of the internal representation table. (ID=04) OF information (O
Cl,) set in the eye area.

■−■−■)変換制御部が、Pレコード(ID=04)
のNP情報(05)より、次のPレコード(ID=05
)を見いだす。
■-■-■) The conversion control unit uses the P record (ID=04)
From the NP information (05), the next P record (ID=05
) to find.

■−■−■)変換制御部が、Pレコード(ID=05)
のTP情報(16)とポインタの指す転送構文の属性(
16ンを比較する。両 者が一致するため、変換制御部が Pレコード(ID=05)のTP情報(16)に対応す
る属性対応処理部 (IA5String処理)を明示モードで呼び出す。
■-■-■) The conversion control unit uses the P record (ID=05)
TP information (16) and attributes of the transfer syntax pointed to by the pointer (
Compare 16. Since the two match, the conversion control unit calls the attribute correspondence processing unit (IA5String processing) corresponding to the TP information (16) of the P record (ID=05) in explicit mode.

■−■−■)明示モードかつ基本要素で呼び出された属
性対応処理部が、ポイン タの指す転送構文の値(V5)とその 長さ(L5)を求め、内部表現テーブ ルの先頭からPレコード(ID=05)のOF情報(1
0□G)目の領域に設定する。
- - - ID=05) OF information (1
0□G) Set in the eye area.

■−■−■)変換制御部が、Pレコード(ID=05)
のNP情報(−)より、次のPレコードがないため、呼
び出しに戻る。
■-■-■) The conversion control unit uses the P record (ID=05)
According to the NP information (-), there is no next P record, so the process returns to the call.

■−■)変換制御部が、Pレコード(ID=03)のN
P情報(−)より、次のPレコードがないため、呼び出
しに戻る。
■-■) The conversion control unit converts the N of P record (ID=03)
According to the P information (-), there is no next P record, so the process returns to the call.

■)変換制御部が、Pレコード(ID=01)のNP情
報(−)より、次のPレコードがないため、呼び出し元
(デコード処理依頼元)に戻る。
(2) The conversion control unit returns to the caller (decoding requester) because there is no next P record based on the NP information (-) of the P record (ID=01).

簗 1 図 コル処理の変更を極小化できる。Diagram 1 Changes in col processing can be minimized.

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

第1図は本方式の実現例を示す図、第2図は抽象構文の
定義例を示す図、第3図は転送構文の例を示す図、第4
図は内部表現テーブルの例を示す図、第5図は従来の実
現例を示す図である。
Figure 1 shows an implementation example of this method, Figure 2 shows an example of abstract syntax definition, Figure 3 shows an example of transfer syntax, and Figure 4 shows an example of a transfer syntax.
The figure shows an example of an internal representation table, and FIG. 5 shows a conventional implementation example.

Claims (1)

【特許請求の範囲】[Claims] 1、ISO−OSI規定の抽象構文定義に従った通信プ
ロトコルにより通信するシステムにおいて、プロトコル
データ、(転送構文)の各要素の情報を有するプロトコ
ルデータ変換情報テーブルと、該プロトコルデータ変換
情報テーブルに従い転送構文の要素毎に転送構文と抽象
構文とを変換する機構を設けることにより、応用層プロ
トコルの変更に対して通信プロトコル処理の変更を極小
化できることを特徴とするプレゼンテーション層の通信
プロトコル処理方式。
1. In a system that communicates using a communication protocol that follows the abstract syntax definition specified by ISO-OSI, there is a protocol data conversion information table that has information on each element of protocol data (transfer syntax), and transfer according to the protocol data conversion information table. A communication protocol processing method for a presentation layer, characterized in that changes in communication protocol processing can be minimized in response to changes in application layer protocols by providing a mechanism for converting transfer syntax and abstract syntax for each syntax element.
JP2155220A 1990-06-15 1990-06-15 Communication protocol processing system Pending JPH0452844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2155220A JPH0452844A (en) 1990-06-15 1990-06-15 Communication protocol processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2155220A JPH0452844A (en) 1990-06-15 1990-06-15 Communication protocol processing system

Publications (1)

Publication Number Publication Date
JPH0452844A true JPH0452844A (en) 1992-02-20

Family

ID=15601152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2155220A Pending JPH0452844A (en) 1990-06-15 1990-06-15 Communication protocol processing system

Country Status (1)

Country Link
JP (1) JPH0452844A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6874082B2 (en) * 1997-02-14 2005-03-29 Canon Kabushiki Kaisha Data communication on a serial bus using a selected protocol based on an obtained device identifier
US7062579B2 (en) 1997-02-14 2006-06-13 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus
US7213138B2 (en) 1997-02-14 2007-05-01 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6874082B2 (en) * 1997-02-14 2005-03-29 Canon Kabushiki Kaisha Data communication on a serial bus using a selected protocol based on an obtained device identifier
US7062579B2 (en) 1997-02-14 2006-06-13 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus
US7213138B2 (en) 1997-02-14 2007-05-01 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus
US7401213B2 (en) 1997-02-14 2008-07-15 Canon Kabushiki Kaisha Data communication apparatus and method of a device that supports plural communication methods
US7430660B2 (en) 1997-02-14 2008-09-30 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus

Similar Documents

Publication Publication Date Title
US6766377B1 (en) Media gateway proxy
CA2069710A1 (en) Compensation for mismatched transport protocols in a data communications network
DE69633230D1 (en) METHOD AND SYSTEM FOR PRODUCING A VOICE CONNECTION IN DIFFERENT NETWORKS
EP0744856A2 (en) Apparatus for and method of utilizing product identifier codes to establish communication connections
AU8953091A (en) Apparatus for decoupling in high performance communication between software processes
US5270701A (en) Service processing system with distributed data bases
CA2113575A1 (en) Modular, user programmable telecommunications system with distributed processing
CA2035648A1 (en) Integrated services digital network multimedia communications system
CN1859359B (en) Realizing method and its device for communication protocol described by abstract grammar rule
JPH0452844A (en) Communication protocol processing system
FI19991847A7 (en) Utilization of subscriber data in the telecommunications system
JPH0392056A (en) Plural protocols coexistence system
SE9902872D0 (en) Arrangement, system and method related to communication
Willcock New Directions in ASN. 1: Towards a Formal Notation for Transfer Syntax
KR100532330B1 (en) Method for transforming the caller id
WO1999022490A3 (en) Method and system for communicating telecommunications services provisioning information
EP0981088A1 (en) System, method and apparatus for software testing
JPS6354030A (en) Group tracing system
JPH11177685A (en) IWWS call connection method
JPH03229341A (en) Multi-media communication protocol
Parmar et al. INFORMATION SYSTEMS ARCHITECTURE: ROLE OF ISDN
JPH02260842A (en) Data form conversion system
ROLSTADAS Editorial Open systems
EP1255412A3 (en) Method of setting a system time in a telecommunication network and corresponding telecommunication system
Hellemans et al. An object‐oriented approach to dynamic service descriptions