JPH04239847A - Protocol data analysis system - Google Patents

Protocol data analysis system

Info

Publication number
JPH04239847A
JPH04239847A JP3006751A JP675191A JPH04239847A JP H04239847 A JPH04239847 A JP H04239847A JP 3006751 A JP3006751 A JP 3006751A JP 675191 A JP675191 A JP 675191A JP H04239847 A JPH04239847 A JP H04239847A
Authority
JP
Japan
Prior art keywords
decoding
protocol data
decode
result
result storage
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
JP3006751A
Other languages
Japanese (ja)
Inventor
Hitoshi Minamizawa
南沢 均
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido Ltd
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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP3006751A priority Critical patent/JPH04239847A/en
Publication of JPH04239847A publication Critical patent/JPH04239847A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To store the result of decoding even from a large protocol data by dividing and decoding the protocol data for each element and storing the divided decode unit to plural files. CONSTITUTION:A decode processing control means 3 acquires an original protocol data inputted via a communication equipment 2 by using a decode information offer means 4 and uses a decode means 5 to store the result to a decode result storage means 6. Then a slave part or a brother part not decoded is processed similarly. The storage means 6 converts the input decode information into a decode result table resulting from adding a master slave pointer and a brother pointer to the input decode information and stores the table to a code result storage file 7. When a master or brother decode result table is in existence in the file 7, a head address of the decode result table to be stored newly is set to the master slave pointer or the brother pointer of the table.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、情報システムにおける
プロトコルデータの解析に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to analysis of protocol data in information systems.

【0002】0002

【従来の技術】従来、プロトコルデータは一度のデコー
ド手段で一つのファイルにそのデコード結果の全てを格
納していた。
2. Description of the Related Art Conventionally, protocol data has been decoded once and all the decoded results have been stored in one file.

【0003】図6を参照すると、従来のプロトコルデー
タ解析システム1において、プロトコルデータを受信す
る通信装置2と、通信装置2からのプロトコルデータの
入力101によってプロトコルデータを取得し、デコー
ド処理の制御を行うデコード処理制御手段3と、プロト
コルデータの全部をデコードするのに必要なデコード情
報を保持し、デコード処理制御手段3に対してデコード
情報の提供102を行うデコード情報提供手段4と、デ
コード処理制御手段3からのデコード要求103によっ
てデコードを行い、デコード処理制御に対して、デコー
ド結果の出力を行うデコード手段5と、デコード処理制
御手段からのデコード結果格納によってデコード結果が
格納されるデコード結果格納ファイル7とから構成され
る。
Referring to FIG. 6, in a conventional protocol data analysis system 1, a communication device 2 that receives protocol data and a protocol data input 101 from the communication device 2 acquire protocol data and control decoding processing. a decoding processing control means 3 for performing decoding processing; a decoding information providing means 4 for holding decoding information necessary to decode all of the protocol data and providing decoding information 102 to the decoding processing control means 3; a decoding means 5 that performs decoding in response to a decoding request 103 from the means 3 and outputs the decoding results to the decoding processing control; and a decoding result storage file in which the decoding results are stored by storing the decoding results from the decoding processing control means. It consists of 7.

【0004】図7は、従来の技術におけるデコード処理
制御手段の処理の流れをフローチャートで示した図であ
る。ステップ301で通信装置2よりプロトコルデータ
を取得すると、ステップ302において全プロトコルデ
ータをデコードするのに必要なデコード情報をデコード
情報提供手段より取得し、ステップ303においてプロ
トコルデータとデコード情報をデコード手段に入力する
ことによってプロトコルデータのデコード結果を取得し
、ステップ304において得られたデコード結果がデコ
ード結果格納ファイルに格納出来る大きさならばステッ
プ305においてデコード結果格納ファイルに格納し、
ステップ304においてデコード結果がデコード結果格
納ファイルに格納出来る大きさを超えていた場合は処理
続行不可能としてエラー処理を行う。
FIG. 7 is a flowchart showing the processing flow of a decoding processing control means in the prior art. When protocol data is acquired from the communication device 2 in step 301, decoding information necessary to decode all protocol data is acquired from the decoding information providing means in step 302, and the protocol data and decoding information are input to the decoding means in step 303. By doing so, the decoding result of the protocol data is obtained, and if the decoding result obtained in step 304 is of a size that can be stored in the decoding result storage file, it is stored in the decoding result storage file in step 305,
In step 304, if the decoded result exceeds the size that can be stored in the decoded result storage file, it is determined that the process cannot be continued and error processing is performed.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の技術で
は、大量なプロトコルデータをデコードした場合に、そ
のデコード結果も大きいものとなってデコード結果格納
ファイルの大きさを超えてしまい、デコード結果を格納
出来ない場合が多く発生するという欠点があった。
[Problems to be Solved by the Invention] In the conventional technology described above, when a large amount of protocol data is decoded, the decoded result becomes large and exceeds the size of the decoded result storage file, and the decoded result is There was a drawback that there were many cases where it could not be stored.

【0006】[0006]

【課題を解決するための手段】本発明のプロトコルデー
タ解析方式は、プロトコルデータを受信する通信装置と
、前記通信装置からのプロトコルデータの入力によって
プロトコルデータを取得し、デコード処理の制御を行う
デコード処理制御手段と、プロトコルデータを分解した
部分単位の、デコードするのに必要なデコード情報の集
合を保持し、前記デコード処理制御手段に対してデコー
ド情報の提供を行うデコード情報提供手段と、前記デコ
ード処理制御手段からのデコード要求によってデコード
する部分のデコードを行い、前記デコード処理制御に対
してデコード結果の出力を行うデコード手段と、前記デ
コード処理制御手段からのデコード結果格納要求によっ
てデコード結果の格納処理を行うデコード結果格納手段
と、前記デコード結果格納手段からのデコード結果の格
納によって、兄弟ポインタと、親子ポインタを持つテー
ブルの形式に変換されたデコード結果が格納されるデコ
ード結果格納ファイルとから構成される。
[Means for Solving the Problems] The protocol data analysis method of the present invention includes a communication device that receives protocol data, and a decoder that acquires the protocol data by inputting the protocol data from the communication device and controls decoding processing. a processing control means; a decoding information providing means for holding a set of decoding information necessary for decoding each portion of protocol data and providing the decoding information to the decoding processing control means; a decoding means for decoding a part to be decoded in response to a decoding request from the processing control means and outputting the decoding result to the decoding processing control; and a storing process for the decoding result in response to a decoding result storage request from the decoding processing control means. and a decoding result storage file in which the decoding results converted into a table format having sibling pointers and parent-child pointers are stored by storing the decoding results from the decoding result storage means. Ru.

【0007】[0007]

【実施例】次に本発明について図面を参照して詳細説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the drawings.

【0008】図1を参照すると、本発明の一実施例は、
プロトコルデータ解析システム1において、プロトコル
データを受信する通信装置2と、通信装置2からのプロ
トコルデータの入力101によってプロトコルデータを
取得し、デコード処理の制御を行うデコード処理制御手
段3と、プロトコルデータを分解した部分単位の、デコ
ードするのに必要なデコード情報の集合を保持し、デコ
ード処理制御手段3に対してデコード情報の提供102
を行うデコード情報提供手段4と、デコード処理制御手
段3からのデコード要求103によってデコードする部
分のデコードを行い、デコード処理制御手段3に対して
デコード結果の出力を行うデコード手段5と、デコード
処理制御手段3からのデコード結果格納要求105によ
ってデコード結果の格納処理を行うデコード結果格納手
段6と、デコード結果格納手段6からのデコード結果の
格納106によって、兄弟ポインタと、親子ポインタを
持つテーブルの形式に変換されたデコード結果が格納さ
れるデコード結果格納ファイル7とから構成される。
Referring to FIG. 1, one embodiment of the present invention includes:
The protocol data analysis system 1 includes a communication device 2 that receives protocol data, a decoding processing control means 3 that acquires the protocol data by inputting 101 of protocol data from the communication device 2, and controls decoding processing, and a decoding processing control means 3 that controls the decoding processing. Holds a set of decoding information necessary for decoding the decomposed partial units, and provides decoding information to the decoding processing control means 3 102
a decoding information providing means 4 that performs decoding, a decoding means 5 that decodes a portion to be decoded in response to a decoding request 103 from the decoding processing control means 3, and outputs a decoding result to the decoding processing control means 3; The decoding result storage means 6 stores the decoding result in response to the decoding result storage request 105 from the means 3, and the decoding result storage 106 from the decoding result storage means 6 converts the data into a table having sibling pointers and parent and child pointers. and a decoding result storage file 7 in which the converted decoding results are stored.

【0009】この構成において、他のシステムより通信
回線を介してプロトコルデータが受信されると通信装置
2は、受信されたプロトコルデータをデコード処理制御
手段3に渡し、デコード処理制御手段3は、プロトコル
データの元の親となる部分のデコード情報をデコード情
報提供手段4を用いて取得し、プロトコルデータとデコ
ード情報をデコード手段5によりデコード結果を取得し
、デコード結果格納手段6にデコード結果を入力し、再
びプロトコルデータのデコードされていない子または弟
の部分のデコード処理を、プロトコルデータが完全にデ
コードされるまで繰り返して行う。
In this configuration, when protocol data is received from another system via a communication line, the communication device 2 passes the received protocol data to the decoding processing control means 3, and the decoding processing control means 3 The decoding information of the original parent part of the data is obtained using the decoding information providing means 4, the decoding result of the protocol data and the decoding information is obtained using the decoding means 5, and the decoding result is input to the decoding result storage means 6. , the undecoded child or younger brother portion of the protocol data is decoded again until the protocol data is completely decoded.

【0010】デコード結果格納手段6は、受け取ったデ
コード情報に親子ポインタと兄弟ポインタを付加したデ
コード結果テーブルに変換し、デコード結果格納ファイ
ル7にデコード結果を格納するスペースが無い場合は新
たにデコード結果格納ファイルを作成してから、デコー
ド結果格納ファイル7にデコード結果テーブルを格納し
、すでに親のデコード結果テーブルがデコード結果格納
ファイル7に存在していた場合には親のデコード結果テ
ーブルの親子ポインタに新しく格納するデコード結果テ
ーブルの先頭アドレスを設定し、すでに兄のデコード結
果テーブルがデコード結果格納ファイル7に存在してい
た場合には兄のデコード結果テーブルの兄弟ポインタに
新しく格納するデコード結果テーブルの先頭アドレスを
設定する。
The decoding result storage means 6 converts the received decoding information into a decoding result table with parent-child pointers and sibling pointers added, and if there is no space to store the decoding results in the decoding result storage file 7, a new decoding result is stored. After creating the storage file, store the decode result table in the decode result storage file 7, and if the parent decode result table already exists in the decode result storage file 7, use the parent-child pointer of the parent decode result table. Set the start address of the newly stored decode result table, and if the older brother's decode result table already exists in the decode result storage file 7, set the start address of the new decode result table to be stored in the sibling pointer of the older brother's decode result table. Set address.

【0011】図2は、デコード処理制御手段3の処理の
流れをフローチャートで示した図である。ステップ10
1で通信装置2よりプロトコルデータを取得すると、ス
テップ102においてプロトコルデータの親元部分をデ
コードするのに必要なデコード情報をデコード情報提供
手段より取得し、ステップ103においてプロトコルデ
ータとデコード情報をデコード手段に入力することによ
ってプロトコルデータの親元部分のデコード結果を取得
し、ステップ104において得られたデコード結果をデ
コード結果格納手段6に入力し、ステップ105におい
てデコードされないで残っているプロトコルデータがあ
れば、子または弟のプロトコルデータとしてステップ1
02からの処理を繰り返し、ステップ105においてデ
コードされず残っているプロトコルデータが無ければ、
処理を終了する。
FIG. 2 is a flowchart showing the processing flow of the decoding processing control means 3. Step 10
When the protocol data is acquired from the communication device 2 in step 1, the decoding information necessary to decode the parent part of the protocol data is acquired from the decoding information providing means in step 102, and the protocol data and decoding information are sent to the decoding means in step 103. By inputting the data, the decoding result of the parent part of the protocol data is obtained, and in step 104, the obtained decoding result is input to the decoding result storage means 6, and in step 105, if there is any remaining protocol data that has not been decoded, the child Or step 1 as the younger brother's protocol data
Repeat the process from step 02, and if there is no remaining protocol data that has not been decoded in step 105,
Finish the process.

【0012】図3は、デコード結果格納手段6の処理の
流れをフローチャートによって示した図である。ステッ
プ201で入力されたデコード結果に親子ポインタと兄
弟ポインタを付加してデコード結果をデコード結果テー
ブルの形に変換し、ステップ202においてデコード結
果テーブルがデコード結果格納ファイル7の空き領域に
格納出来無い大きさであれば、ステップ203において
新たにデコード結果ファイルを作成し、ステップ204
においてデコード結果テーブルをデコード結果格納ファ
イルに格納し、ステップ205において親に相当するデ
コード結果テーブルが既にデコード結果格納ファイル中
に存在すれば、ステップ206において親デコード結果
テーブルの親子ポインタにデコード結果テーブルのアド
レスを設定し、ステップ207において兄デコード結果
テーブルの兄弟ポインタにデコード結果テーブルのアド
レスを設定して処理を終了する。
FIG. 3 is a flowchart showing the processing flow of the decoding result storage means 6. In step 201, parent-child pointers and sibling pointers are added to the input decoding result to convert the decoding result into a decoding result table, and in step 202, the decoding result table is too large to be stored in the free space of the decoding result storage file 7. If not, a new decoding result file is created in step 203, and the process is performed in step 204.
In step 205, if a decode result table corresponding to the parent already exists in the decode result storage file, in step 206, the parent-child pointer of the parent decode result table is set to the decode result table. The address is set, and in step 207, the address of the decoding result table is set in the sibling pointer of the sibling decoding result table, and the process ends.

【0013】図4を参照すると例として挙げたプロトコ
ルデータは親データBと兄データDの関係を持つデータ
Eと、親データBの関係をもつデータDと、親データA
と兄データBの関係を持つデータCと、親データAの関
係を持つデータBと、元親データAからなる構造である
ことを示している。
Referring to FIG. 4, the protocol data taken as an example includes data E having the relationship between parent data B and older brother data D, data D having the relationship between parent data B, and parent data A.
This shows that the structure is made up of data C which has a relationship with older brother data B, data B which has a relationship with parent data A, and former parent data A.

【0014】図5を参照すると、図4で示したプロトコ
ルデータがプロトコルデータ解析方式により、デコード
結果テーブルの形で格納された状態を示している。
Referring to FIG. 5, the protocol data shown in FIG. 4 is stored in the form of a decoding result table using the protocol data analysis method.

【0015】[0015]

【発明の効果】以上説明したように本発明は、プロトコ
ルデータをその要素毎に分割してデコードを行い、分割
されたデコード結果単位に複数のファイルに格納し、お
おきなプロトコルデータに対してもそのデコード結果の
ファイルへの格納を可能にするという効果がある。
[Effects of the Invention] As explained above, the present invention divides protocol data into its elements, decodes them, stores the divided decoding results in units of multiple files, and decodes even large protocol data. This has the effect of allowing the decoding results to be stored in a file.

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

【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】プロトコルデータの構造の一例を示す図である
FIG. 2 is a diagram showing an example of the structure of protocol data.

【図3】図2で示したプロトコルデータが本発明によっ
て処理された結果を示す図である。
FIG. 3 is a diagram showing the result of processing the protocol data shown in FIG. 2 according to the present invention.

【図4】デコード処理制御手段の処理の流れのフローチ
ャートを示す図である。
FIG. 4 is a diagram showing a flowchart of the processing flow of a decoding processing control means.

【図5】デコード結果格納手段の処理の流れを示した図
である。
FIG. 5 is a diagram showing a processing flow of a decoding result storage means.

【図6】従来のプロトコルデータ解析システムのブロッ
ク図である。
FIG. 6 is a block diagram of a conventional protocol data analysis system.

【図7】従来のデコード処理制御手段の処理の流れをフ
ローチャートを示す図である。
FIG. 7 is a diagram showing a flowchart of the processing flow of a conventional decoding processing control means.

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

1    プロトコルデータ解析システム2    通
信装置 3    デコード処理制御手段 4    デコード情報提供手段 5    デコード手段 6    デコード結果格納手段 7    デコード結果格納ファイル 101    プロトコルデータ入力 102    デコード情報の提供 103    デコード要求 104    デコード結果の出力 105    デコード結果格納要求 106    デコード結果の格納
1 Protocol data analysis system 2 Communication device 3 Decoding processing control means 4 Decoding information providing means 5 Decoding means 6 Decoding result storage means 7 Decoding result storage file 101 Protocol data input 102 Decoding information provision 103 Decoding request 104 Decoding result output 105 Decoding Result storage request 106 Storage of decoding results

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  情報処理システムにおけるプロトコル
データ解析において、プロトコルデータを受信する通信
装置と、前記通信装置からのプロトコルデータの入力に
よってプロトコルデータを取得し、デコード処理の制御
を行うデコード処理制御手段と、プロトコルデータを分
解した部分単位のデコードするのに必要なデコード情報
の集合を保持し、前記デコード処理制御手段に対してデ
コード情報の提供を行うデコード情報の提供手段と、前
記デコード処理制御手段からのデコード要求によって、
デコードする部分のデコードを行い、前記デコード処理
制御に対してデコード結果の出力を行うデコード手段と
、前記デコード処理制御手段からのデコード結果格納要
求によってデコード結果の格納処理を行うデコード結果
格納手段と、前記デコード結果格納手段からのデコード
結果の格納によって兄弟ポインタと、親子ポインタを持
つテーブルの形式に変換されたデコード結果が格納され
るデコード結果格納ファイルを用い、プロトコルデータ
のデコードを分割して行う、プロトコルデータ解析方式
1. In protocol data analysis in an information processing system, a communication device that receives protocol data, and a decoding process control means that acquires the protocol data by inputting protocol data from the communication device and controls decoding processing. , a decoding information providing means for holding a set of decoding information necessary for decoding the decomposed portions of the protocol data, and providing the decoding information to the decoding processing control means; and from the decoding processing control means. By the decoding request of
decoding means for decoding a portion to be decoded and outputting the decoding result to the decoding processing control; decoding result storage means for storing the decoding result in response to a decoding result storage request from the decoding processing control means; decoding the protocol data in divided manner using a decoding result storage file in which decoding results converted into a table format having sibling pointers and parent-child pointers by storing the decoding results from the decoding result storage means; Protocol data analysis method.
JP3006751A 1991-01-24 1991-01-24 Protocol data analysis system Pending JPH04239847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3006751A JPH04239847A (en) 1991-01-24 1991-01-24 Protocol data analysis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3006751A JPH04239847A (en) 1991-01-24 1991-01-24 Protocol data analysis system

Publications (1)

Publication Number Publication Date
JPH04239847A true JPH04239847A (en) 1992-08-27

Family

ID=11646898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3006751A Pending JPH04239847A (en) 1991-01-24 1991-01-24 Protocol data analysis system

Country Status (1)

Country Link
JP (1) JPH04239847A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100415141B1 (en) * 2000-04-06 2004-01-14 주식회사 로이트 Analysis tool of generalized protocol to analyze PDU of various protocol
US7913030B2 (en) * 2007-12-28 2011-03-22 Sandisk Il Ltd. Storage device with transaction logging capability
US7979662B2 (en) * 2007-12-28 2011-07-12 Sandisk Il Ltd. Storage device with transaction indexing capability

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100415141B1 (en) * 2000-04-06 2004-01-14 주식회사 로이트 Analysis tool of generalized protocol to analyze PDU of various protocol
US7913030B2 (en) * 2007-12-28 2011-03-22 Sandisk Il Ltd. Storage device with transaction logging capability
US7979662B2 (en) * 2007-12-28 2011-07-12 Sandisk Il Ltd. Storage device with transaction indexing capability

Similar Documents

Publication Publication Date Title
KR940006352A (en) Variable length code decoder for video decompression operations
US20020026632A1 (en) Universal computer code generator
JPH04239847A (en) Protocol data analysis system
CN110232050A (en) The method and electronic equipment that a kind of language based on programming compresses file
JPH04267429A (en) Code conversion processing system
CN116737335A (en) Scheduling method, device and medium for control hardware
JPH03225448A (en) Converting, outputting, and updating method for information in file
JPH0512081A (en) File converter
JPS59112369A (en) Input device of information
JPS61271568A (en) Text editing system
CN112400280A (en) Information processing apparatus, information processing system, program, and information processing method
JPH05143279A (en) Code converter
JPH07184063A (en) Binary image compression system
JPH07210364A (en) Method and device for compressing information
JPH08278979A (en) Method and device for data base structure conversion
JPH02224047A (en) Encoding/decoding system
JPS61128327A (en) Data processing system
JPH04360250A (en) Memory system
JPH02139628A (en) Fast successive decoding system
JPH03110628A (en) Source program generating device
JPH10116269A (en) Method and device for structure transformation of style data
JPH04256128A (en) Jis code file producing device
JPH05151230A (en) Process managing device
JPH05150963A (en) Method for preparing program specifications
JPS6048577A (en) Picture processing system