JP2001197155A - Managing system for logging data - Google Patents

Managing system for logging data

Info

Publication number
JP2001197155A
JP2001197155A JP2000006826A JP2000006826A JP2001197155A JP 2001197155 A JP2001197155 A JP 2001197155A JP 2000006826 A JP2000006826 A JP 2000006826A JP 2000006826 A JP2000006826 A JP 2000006826A JP 2001197155 A JP2001197155 A JP 2001197155A
Authority
JP
Japan
Prior art keywords
data
communication
line
log
area
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
JP2000006826A
Other languages
Japanese (ja)
Inventor
Rika Aoki
理香 青木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000006826A priority Critical patent/JP2001197155A/en
Publication of JP2001197155A publication Critical patent/JP2001197155A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a managing system for logging data, with which log data for controlling the disconnection/connection of a line or fault are preserved for each logic line in spite of the communication quantity of data and the communication order of data on a physical line can be preserved concerning a logging system for communication data to be exchanged under the control of LAN protocol software. SOLUTION: Data for communication recording sampled from a data line by the communication protocol software constructed ion a device connected to the data line are classified into data for communication control on a logic line and data for general communication on the physical line and stored in respectively different storage areas 1a and 1b of a storage part 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、LAN(ローカ
ル・エリア・ネットワーク)に接続された装置に構築さ
れたプロットコル・ソフトウェアに関し、特にプロット
コルに従って送受信されるデータを解析するために、送
受信データに付加されるロギングデータを管理するロギ
ングデータの管理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to plot col software built in a device connected to a LAN (local area network), and more particularly to transmitting and receiving data for analyzing data transmitted and received in accordance with plot col. The present invention relates to a method for managing logging data that manages logging data added to.

【0002】[0002]

【従来の技術】複数の装置がLANによって接続され、
これら装置間でLANを介してデータ通信を行うシステ
ムを構築した場合、装置間の通信はTCP/IPなどの
通信プロットコル・ソフトウェアによるシーケンス制御
のもとに行われるが、通信の状態を調査、解析する必要
からLANにおける通信データを収集し、ログデータと
して格納しておく必要がある。
2. Description of the Related Art A plurality of devices are connected by a LAN,
When a system for performing data communication between these devices via a LAN is constructed, communication between the devices is performed under sequence control by communication plotting software such as TCP / IP. It is necessary to collect communication data in the LAN and store it as log data because analysis is necessary.

【0003】このため、一般にTCP/IPのもとに行
われる通信の状態を調査、解析する目的で通信データを
採取する場合、図4に示すようにLANプロットコル・
ソフトウェアで通信データを採取する方法が採用されて
きた。図4はLANを介して接続されたデータ処理装置
A、Bにおいて、各データ処理装置A,BはLANプロ
ットコル・ソフトウェアを内臓し、このソフトウェアに
よりLANを通して送受信されたデータを採取してログ
データとしてメモリに記憶するものである。
For this reason, when collecting communication data for the purpose of investigating and analyzing the state of communication generally performed under TCP / IP, as shown in FIG.
A method of collecting communication data by software has been adopted. FIG. 4 shows data processing apparatuses A and B connected via a LAN. Each of the data processing apparatuses A and B incorporates LAN plotting col software, which collects data transmitted and received through the LAN and collects log data. Is stored in the memory.

【0004】図4に示すLANプロットコル・ソフトウ
ェアによるデータのロギング方法であると、LANプロ
ットコル・ソフトウェアは、自装置(装置A)から他装
置(装置B)へのデータの送信要求時、または他装置か
らのデータの受信時に呼び出される。LANプロットコ
ル・ソフトウェアによりデータの全て或いは一部を所定
のメモリ領域に書き込むが、書き込みに際してメモリバ
ッファとしてバッファ領域を用意し、このバッファ領域
に通信の順序通りにデータを一時格納した後に、バッフ
ァ領域よりデータを順次、呼び出し、ログデータとして
各メモリ領域に格納する。
According to the data logging method using the LAN plotting software shown in FIG. 4, the LAN plotting software executes a data transmission request from its own device (device A) to another device (device B), or Called when data is received from another device. All or part of the data is written to a predetermined memory area by LAN plotting col software. A buffer area is prepared as a memory buffer at the time of writing, and the data is temporarily stored in this buffer area in the order of communication. The data is sequentially called and stored in each memory area as log data.

【0005】また、図5に示される特開平1−2275
52号公報に記載されたLANアナライザのように、L
AN上にプロットコルアナライザを接続し、このプロッ
トコルアナライザでデータを採取する方法も採用されて
きた。図5に示すLANアナライザは、複数のデータ送
受信装置A,BをつなぐLAN上にデータ送受信装置
A,Bとは独立に接続され、LANを通してデータ送受
信装置A,B間で通信されるデータをモニタしながら採
取し、ログデータとして所定のメモリ領域に書き込むも
のである。
[0005] Also, Japanese Patent Laid-Open No. 1-2275 shown in FIG.
As in the LAN analyzer described in JP-A-52,
A method has also been adopted in which a plot col analyzer is connected to an AN and data is collected with the plot col analyzer. The LAN analyzer shown in FIG. 5 is independently connected to the data transmitting / receiving apparatuses A and B on a LAN connecting the plurality of data transmitting / receiving apparatuses A and B, and monitors data communicated between the data transmitting / receiving apparatuses A and B through the LAN. The data is collected while writing the data as log data in a predetermined memory area.

【0006】また、TCP/1PのようなLANプロッ
トコル・ソフトウェアを使用して所定のメモリ領域にロ
グデータを書き込む方法として、図6に示すように装置
に各論理回線毎に1種類または各物理回線毎に1種類の
ログデータを採取するメモリ領域と、メモリ領域中で次
のログデータを書き込む場所を示すデータを確保する指
示領域からなるバッファを備え、LANより採取したデ
ータを指示領域に確保されたデータに従って所定のメモ
リ領域にログデータとして書き込んでいた。
As a method of writing log data to a predetermined memory area by using LAN plotting software such as TCP / 1P, as shown in FIG. A buffer consisting of a memory area for collecting one type of log data for each line and an instruction area for securing data indicating a location where the next log data is to be written in the memory area is provided, and data collected from the LAN is secured in the instruction area. According to the data, the data is written in a predetermined memory area as log data.

【0007】[0007]

【発明が解決しようとする課題】以上のようにLANプ
ロットコル・ソフトウェアによりデータのロギングを行
う場合には通信データの記憶順序が重要であるが、TC
P/IPのように論理回路上で回線の接続、データの送
受信、回線の切断という手順を踏むコネクション志向の
プロットコルの場合は、回線の接続、切断の情報も重要
であり、LANプロットコル・ソフトウェアを解析する
場合はこれらの情報を残す必要がある。
As described above, when data is logged by LAN plot col software, the storage order of communication data is important.
In the case of a connection-oriented plot col that follows a procedure of connecting a line, transmitting and receiving data, and disconnecting a line on a logic circuit like P / IP, information on connection and disconnection of the line is also important. When analyzing software, it is necessary to keep this information.

【0008】しかしながら、LANプロットコル・ソフ
トウェアでロギングを行う従来の方法では、多量のデー
タ通信でメモリを使い果たし場合は、メモリ中の古いロ
グデータから新たなデータに上書きされてしまし、回線
接続情報などの制御情報が残らないという問題点があっ
た。
However, according to the conventional method of logging with LAN plotting software, when a large amount of data is used up and the memory is exhausted, old log data in the memory is overwritten with new data, and line connection information is lost. However, there is a problem that control information such as the above does not remain.

【0009】また、このように古いデータから上書きさ
れて行くと、通信の障害時に障害解析上の問題となる。
これは、障害以前に発生した障害が原因となって今回の
障害が発生することもあるため、障害の発生原因を特定
する古いデータが消去されると今回の障害発生原因を特
定することが不可能になるという問題点があった。
[0009] In addition, when old data is overwritten in this way, a problem in failure analysis occurs at the time of communication failure.
This is because the failure that occurred before the failure may cause the failure this time, so if the old data that identifies the cause of the failure is erased, it is impossible to determine the cause of the failure this time. There was a problem that it became possible.

【0010】また、TCP/IPのように1つの物理回
線で複数の論理回線を提供する通信プロットコルにおい
ては、各論理回線毎にロギング用のデータを採取する必
要があるが、各論理回線毎にのみにデータを採取した場
合、物理回線上のデータの順序を保存することができな
いという問題点があった。
In a communication plotting protocol such as TCP / IP in which a single physical line provides a plurality of logical lines, it is necessary to collect logging data for each logical line. However, when data is collected only in the network, there is a problem that the order of the data on the physical line cannot be preserved.

【0011】これは即ち、1本の物理回線を使って複数
の相手先(この複数の相手先が複数の論理回線に相当す
る。)と通信情報のやり取りを行う場合に、ある相手先
との通信はデータを複数のパケットに分解し、順次物理
回線上に乗せて送受信を行う。そこで、仮に3つの相手
先A,B,Cと通信を行うとすると、各通信は複数のパ
ケットに分解されているため、それぞれのパケットをA
1,A2・・・B1,B2・・・C1,C2,C3・・
・とすると、物理回線は1本であるので、各パケットは
シリアルに送信されてくるが、仮に、A1,B1,B
2,A2,C1,B1,C2,A3・・・の順に送信さ
れてくると、この送信順序が物理回線上のデータ送信順
序となる。
[0011] That is, when exchanging communication information with a plurality of destinations (the plurality of destinations correspond to a plurality of logical lines) using one physical line, communication with a certain destination is performed. In communication, data is decomposed into a plurality of packets and transmitted and received by sequentially placing them on a physical line. Therefore, if it is assumed that communication is performed with three destinations A, B, and C, each communication is decomposed into a plurality of packets.
1, A2 ... B1, B2 ... C1, C2, C3 ...
Then, since there is only one physical line, each packet is transmitted serially, but if A1, B1, B
2, A2, C1, B1, C2, A3,..., The transmission order becomes the data transmission order on the physical line.

【0012】しかし、システムでは、上記データA1,
B1,B2,A2,C1,B1,C2,A3・・・を論
理回線でつなげる宛先毎に分解し、宛先毎のデータの流
れに組み替える。例えば、(A1,A2,A3・・
・),(B1.B2.B3・・・・),(C1,C2・
・・)と云うように。このように宛先毎にデータを並べ
替えた後では、物理回線上にどのような順番でパケット
が送信されてきたのか不明となる。
However, in the system, the data A1,
B1, B2, A2, C1, B1, C2, A3,... Are decomposed for each destination connected by a logical line, and rearranged into a data flow for each destination. For example, (A1, A2, A3 ...
.), (B1.B2.B3 ...), (C1, C2.
・ ・) After rearranging the data for each destination in this way, it is unknown in what order the packets have been transmitted on the physical line.

【0013】また、LANにプロットコルアナライザを
接続する方式であると、多くのデータを残すことが可能
であり、製品の制作時の動作解析に有用であるが、本来
LANを構成する装置以外に高価な装置を接続すること
となる。そのため、製品が実際に稼動されると頻繁にプ
ロットコルアナライザは使用されなくなり、ランニグコ
ストの高い装置になるという問題点があった。
Further, if the plot col analyzer is connected to the LAN, a large amount of data can be left, which is useful for analyzing the operation at the time of production of a product. Expensive devices will be connected. Therefore, when the product is actually operated, the plot col analyzer is not frequently used, and there is a problem that the apparatus becomes expensive in running cost.

【0014】この発明は上記のような問題点を解消する
ためになされたもので、LANプロットコル・ソフトウ
ェアによる制御のもとに交わされる通信データのロギン
グ方式において、各論理回線毎にデータの通信量によら
ず回線の切断、接続および障害等の制御用のログデータ
を保存すると共に、物理回線上のデータの通信順序を保
存することができるロギングデータの管理方式を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems. In a communication data logging system exchanged under the control of LAN plotting software, data communication is performed for each logical line. It is an object of the present invention to provide a logging data management method capable of storing log data for control of line disconnection, connection, failure, etc. regardless of the amount, and storing the communication order of data on a physical line. .

【0015】[0015]

【課題を解決するための手段】この発明は、データ回線
に接続した装置に構築した通信プロットコル・ソフトウ
ェアによりデータ回線から採取する通信記録用データ
を、論理回線上の通信制御用データと物理回線上の一般
通信用データに分類してそれぞれ異なった記憶領域に記
憶させるものである。
According to the present invention, communication record data collected from a data line by a communication plotting software constructed in a device connected to a data line is combined with communication control data on a logical line and physical control data. The data is classified into general communication data on the line and stored in different storage areas.

【0016】この発明による一般通信用データは、通信
障害が発生した場合は、正常通信が行えた一般通信用デ
ータと障害発生時の一般通信用データとを分離して異な
った記憶領域に記憶させるものである。
In the general communication data according to the present invention, when a communication failure occurs, the normal communication data for which normal communication has been performed and the general communication data at the time of the failure are separated and stored in different storage areas. Things.

【0017】この発明による記憶領域は、物理回線上で
通信されるデータをその通信順序に合わせて記憶するも
のである。
The storage area according to the present invention stores data communicated on a physical line in accordance with the communication order.

【0018】この発明は、論理回線上の通信データを記
憶する記憶領域に、物理回線上の一般通信用データを記
憶した記憶領域の領域情報を記憶したものである。
According to the present invention, in a storage area for storing communication data on a logical line, area information of a storage area for storing general communication data on a physical line is stored.

【0019】この発明は、憶領域は記憶領域を巡回させ
るリングメモリより構成し、古いデータから順に最新の
データに上書きするものである。
According to the present invention, the storage area is constituted by a ring memory for circulating through the storage area, and the latest data is overwritten in order from the oldest data.

【0020】[0020]

【発明の実施の形態】実施の形態1.以下、この発明に
係るロギングデータの管理方式を各添付図面を参照して
説明する。図1は本実施の形態に係るロギングデータの
管理方式を説明する論理構成図である。 図において、
1はプロットコル・ソフトウェア(TCP/IP)によ
り所定の記憶手段中に構築されるログデータ領域であ
り、ログデータ領域1は物理回線上のデータを通信順序
に合わせて記録するリングバッファ形式の物理回線ログ
領域1aと、各論理回線毎に回線の接続、切断などの制
御データ(接続/切断ログ)、通信障害発生時の通信デ
ータ(障害ログ)、装置間で通信される一般データであ
る通信データログを採取して記憶する同じくリングバッ
ファ形式の論理回線ログ領域1bをそれぞれ分離して設
ける。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Hereinafter, a method of managing logging data according to the present invention will be described with reference to the accompanying drawings. FIG. 1 is a logical configuration diagram illustrating a management method of logging data according to the present embodiment. In the figure,
Reference numeral 1 denotes a log data area constructed in a predetermined storage means by plot col software (TCP / IP). A log data area 1 stores a physical data in a ring buffer format for recording data on a physical line in a communication order. Line log area 1a, control data (connection / disconnection log) such as connection / disconnection of each logical line, communication data when a communication failure occurs (failure log), and communication which is general data communicated between devices. A logical line log area 1b in the same ring buffer format for collecting and storing data logs is provided separately.

【0021】物理回線ログ領域1aにおいては、物理回
線上のデータ通信順序でデータ、例えばデータA1,B
1,B2,A2,C1,B1,C2,A3・・・を保存
するために、図2に示す形式で形成された物理回線ログ
情報を各物理回線毎に用意する。この物理回線ログ情報
を通信データと共に、物理回線上のデータ通信順序でリ
ングバッファ1b11の各記憶領域に順次記憶してい
く。そして、最終記憶領域に物理回線ログ情報が記憶さ
れると、次に採取された物理回線ログ情報は再び最初の
記憶領域より上書記憶されて行く。
In the physical line log area 1a, data such as data A1 and B
To store 1, B2, A2, C1, B1, C2, A3,..., Physical line log information formed in the format shown in FIG. 2 is prepared for each physical line. The physical line log information is sequentially stored together with the communication data in each storage area of the ring buffer 1b11 in the data communication order on the physical line. When the physical line log information is stored in the final storage area, the next collected physical line log information is overwritten and stored again from the first storage area.

【0022】図2に示す物理回線ログ情報の形式として
は、システムに割り当てられた論理回線番号、そして接
続/断線ログ、障害ログあるいは通信データを種類分け
するログ種別、データの記録番号であるログ番号より構
成される。図3に示す論理回線ログ情報の形式(TCP
/IPの場合)は、TCPヘッダ情報、付加情報からな
る。装置間でTCP/IPのもとに論理回線が確立され
た場合、TCPヘッダ情報内の回線接続を示すフラグを
使用する。また回線の切断も同様にTCPヘッダ情報内
の回線切断を示すフラグを使用する。通信データログ
(通信データ記録)の場合、付加情報には通信されるデ
ータの先頭数十バイトのデータが書き込まれる。更に、
付加情報には、当該通信されたデータが記憶される物理
回線毎のリングバッファのメモリが書き込まれる。
The format of the physical line log information shown in FIG. 2 includes a logical line number assigned to the system, a log type that classifies a connection / disconnection log, a failure log or communication data, and a log that is a data recording number. Consists of a number. Format of logical line log information shown in FIG. 3 (TCP
/ IP) is composed of TCP header information and additional information. When a logical line is established between the devices under TCP / IP, a flag indicating a line connection in the TCP header information is used. Similarly, the line disconnection uses the flag indicating the line disconnection in the TCP header information. In the case of a communication data log (communication data recording), several tens of bytes of data to be communicated are written in the additional information. Furthermore,
In the additional information, a memory of a ring buffer for each physical line in which the communicated data is stored is written.

【0023】次に、本実施の形態の動作について説明す
る。各論理回線毎に回線の切断、接続などの制御デー
タ、通信障害発生時の通信データあるいは装置間で通信
される一般のデータのログを行う場合、図1に示すよう
に論理回線ログ領域1b中の接続/切断ログ領域1b
1、障害ログ領域1b2、通信データログ領域1b3の
それぞれに必要に応じてログデータを図3に示す論理回
線ログ情報の形式で書き込む。
Next, the operation of this embodiment will be described. When logging control data such as line disconnection and connection, communication data when a communication failure occurs, or general data communicated between devices for each logical line, the logical line log area 1b as shown in FIG. Connection / disconnection log area 1b
1. Log data is written to each of the failure log area 1b2 and the communication data log area 1b3 in the format of logical line log information shown in FIG.

【0024】各論理回線ログ領域1b中に構成した接続
/切断ログ領域1b1、障害ログ領域1b2、通信デー
タログ領域1b3は、それぞれリングバッファ1b11
により構成される。リングバッファ1b11は記憶する
ログデータが採取される毎に記憶領域を替えて記憶し、
最終記憶領域までログデータが記憶されたならば、最初
の記憶領域から記憶内容を更新しながらローグデータを
記憶させる。
The connection / disconnection log area 1b1, the failure log area 1b2, and the communication data log area 1b3 formed in each logical line log area 1b respectively include a ring buffer 1b11.
It consists of. The ring buffer 1b11 changes the storage area every time the stored log data is collected, and stores the data.
When the log data is stored up to the final storage area, the rogue data is stored while updating the storage content from the first storage area.

【0025】以上のようなログ領域の構成において、T
CP/IPに従ってデータロギングを行う場合、回線の
接続時には、接続ログをTCPヘッダ情報のフラグ情報
を利用して論理回線ログ領域1bの接続/切断ログ領域
1b1に書き込と共に、TCPヘッダ情報を書き込んだ
論理回線ログ領域1bの情報、即ち、論理回線毎に保存
するデータを指し示すための情報、例えば、論理回線番
号、ログ種別である接続ログを書き込んだリングバッフ
ァ1b11における記憶領域(ログ番号)を物理回線ロ
グ領域1aに書き込む。
In the configuration of the log area as described above, T
When data logging is performed in accordance with CP / IP, when a line is connected, a connection log is written into the connection / disconnection log area 1b1 of the logical line log area 1b using the flag information of the TCP header information, and the TCP header information is written. The information of the logical line log area 1b, that is, the information for indicating the data to be stored for each logical line, for example, the logical line number and the storage area (log number) in the ring buffer 1b11 in which the connection log which is the log type is written. Write to the physical line log area 1a.

【0026】次に、回線が確立し、装置間でデータの通
信が開始されたならば、論理回線を通して通信されるデ
ータのログを行う場合は、TCPヘッダ情報とTCP/
IPによりで通信されるデータの先頭数十バイトを付加
情報により通信データログ領域に書き込み、同じく、今
回TCPヘッダ情報を書き込んだ論理回線ログ領域1b
の情報を物理回線ログ領域1aに書き込む。この時、物
理回線を通して通信されたデータが記憶された物理回線
毎のリングバッファのメモリアドレスも通信データログ
に書き込む。この結果、物理回線毎のリングバッファの
メモリアドレスを辿ることで物理回線ログ領域1aより
通信データを得ることができる。
Next, when a line is established and data communication is started between devices, when logging data communicated through a logical line, TCP header information and TCP /
The first few tens of bytes of data communicated by IP are written in the communication data log area by additional information, and similarly, the logical line log area 1b in which the TCP header information is written this time
Is written in the physical line log area 1a. At this time, the memory address of the ring buffer for each physical line in which the data communicated through the physical line is stored is also written in the communication data log. As a result, communication data can be obtained from the physical line log area 1a by tracing the memory address of the ring buffer for each physical line.

【0027】通信が終了して回線を切断する場合は、切
断ログをTCPヘッダ情報のフラグ情報を利用して論理
回線ログ領域1bの接続/切断ログ領域1b1に書き込
む。また、回線接続、切断の何れかの状態において、通
信障害が発生した場合は、障害ログ(通信障害発生時の
通信ログ)をTCPヘッダ情報のフラグ情報を利用して
論理回線ログ領域の障害ログ領域1b2に書き込む。
When the communication is terminated and the line is disconnected, the disconnection log is written into the connection / disconnection log area 1b1 of the logical line log area 1b using the flag information of the TCP header information. If a communication failure occurs in any of the line connection and disconnection states, a failure log (communication log at the time of occurrence of the communication failure) is stored in the failure log of the logical line log area using the flag information of the TCP header information. Write to area 1b2.

【0028】複数の論理回線が同じ通信を行う場合も以
上のような手順で、各論理回線毎にデータを論理回線ロ
グ領域1bにロギングしてその領域の情報を物理回線ロ
グ領域1aにロギングする。尚、本実施の形態ではLAN
プロットコルとしてTCP/IPを例にとったが、UD
Pを使用した場合でもTCP/IPと同様にログデータ
を採取することができる。
In the case where a plurality of logical lines perform the same communication, data is logged in the logical line log area 1b for each logical line and the information of the area is logged in the physical line log area 1a in the above procedure. . In this embodiment, the LAN
Taking TCP / IP as an example of plot col, UD
Even when P is used, log data can be collected as in TCP / IP.

【0029】しかし、UDPの場合はTCP/IPとの
仕様上の違いから回線の接続、切断のログ領域は不要と
なる。これは、UDPは相手側に一方的にデータを送信
し、相手からのデータ受信の確認を行わないコネクショ
ンレス型を採用しているためである。
However, in the case of UDP, a log area for connection / disconnection of the line is not required due to a difference in specifications from TCP / IP. This is because UDP adopts a connectionless type in which data is transmitted unilaterally to the other party and data reception from the other party is not confirmed.

【0030】データ通信が開始され、通信データを当該
論理回線ログ領域1bにおける通信データログ領域1b
3に記憶させる際、既に他の論理回線に設けた論理回線
ログ領域1bにおける通信データログ領域1b3に同一
の通信データが記憶されていたならば、通信データを当
該論理回線ログ領域1bに記憶せず、異なった通信デー
タのみ当該論理回線ログ領域1bにおける通信データロ
グ領域1b3に記憶する。
Data communication is started, and communication data is transferred to the communication data log area 1b in the logical line log area 1b.
3, when the same communication data is stored in the communication data log area 1b3 of the logical line log area 1b provided for another logical line, the communication data is stored in the logical line log area 1b. Instead, only different communication data is stored in the communication data log area 1b3 of the logical line log area 1b.

【0031】[0031]

【発明の効果】この発明によれば、データ回線に接続し
た装置に構築した通信プロットコル・ソフトウェアによ
りデータ回線から採取する通信記録用データを、論理回
線上の通信制御用データと物理回線上の一般通信用デー
タに分類してそれぞれ異なった記憶領域に記憶させるこ
とで、一般通信データの増加に係わらず通信障害時の制
御データを保存できるという効果がある。
According to the present invention, the communication plot data collected from the data line by the communication plot col software built in the device connected to the data line is used for the communication control data on the logical line and the communication control data on the physical line. By classifying the data as general communication data and storing the data in different storage areas, control data at the time of communication failure can be saved regardless of an increase in general communication data.

【0032】この発明によれば、一般通信用データは、
通信障害が発生した場合は、正常通信が行えた一般通信
用データと障害発生時の一般通信用データとを分離して
異なった記憶領域に記憶させることで、通信障害の調
査、解析がに容易なるという効果がある。
According to the present invention, the general communication data is:
When a communication failure occurs, it is easy to investigate and analyze the communication failure by separating the general communication data for normal communication and the general communication data at the time of the failure and storing them in different storage areas. It has the effect of becoming.

【0033】この発明によれば、物理回線上で通信され
るデータをその通信順序に合わせて記憶することで、装
置間の論理回線の増加に係わらず物理回線上におけるデ
ータ通真順序を管理できるという効果がある。
According to the present invention, the data transmitted on the physical line is stored in accordance with the communication order, so that the data transmission order on the physical line can be managed regardless of the increase in the number of logical lines between the devices. This has the effect.

【0034】この発明によれば、論理回線上の通信デー
タを記憶する記憶領域に、物理回線上の一般通信用デー
タを記憶した記憶領域の領域情報を記憶することで、少
ない記憶情報で物理回線上の記憶データを把握できると
いう効果がある。
According to the present invention, by storing the area information of the storage area for storing the general communication data on the physical line in the storage area for storing the communication data on the logical line, the physical memory can be stored with a small amount of storage information. There is an effect that stored data on the line can be grasped.

【0035】この発明によれば、憶領域は記憶領域を巡
回させるリングメモリより構成し、古いデータから順に
最新のデータに上書きすることで、メモリ容量を節約し
ながら常に最新の一連の情報を確保できるという効果が
ある。
According to the present invention, the storage area is constituted by a ring memory for circulating the storage area, and the latest data is overwritten in order from the oldest data, so that the latest series of information is always secured while saving the memory capacity. There is an effect that can be.

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

【図1】 この発明におけるロギングデータのデータ構
造を示す図である。
FIG. 1 is a diagram showing a data structure of logging data in the present invention.

【図2】 この発明における物理回線用ロギングデータ
の内容を示す図である。
FIG. 2 is a diagram showing the contents of physical line logging data in the present invention.

【図3】 この発明における論理回線用ロギングデータ
の内容を示す図である。
FIG. 3 is a diagram showing contents of logical line logging data in the present invention.

【図4】 LANプロットコル・ソフトウェアによりロ
ギングデータを採取する従来の方法を示す図である。
FIG. 4 is a diagram showing a conventional method of collecting logging data by LAN plotting software.

【図5】 各装置間を接続LANにLANアナライザを
接続する方法を説明する図である。
FIG. 5 is a diagram for explaining a method of connecting a LAN analyzer to a LAN connecting each device.

【図6】 従来の通信ソフトウェアによるデータログの
方法を説明する図である。
FIG. 6 is a diagram illustrating a data logging method using conventional communication software.

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

1 プロトコルソフトウェアログデータ領域、1a 物
理回線ログ領域、1b論理回線ログ領域、1b1 接続
/切断ログ領域、障害ログ領域、通信データログ領域、
1b11 リングバッファ。
1 protocol software log data area, 1a physical line log area, 1b logical line log area, 1b1 connection / disconnection log area, failure log area, communication data log area,
1b11 Ring buffer.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データ回線に接続した装置に構築した通
信プロットコル・ソフトウェアによりデータ回線から採
取する通信記録用データを、論理回線上の通信制御用デ
ータと物理回線上の一般通信用データに分類してそれぞ
れ異なった記憶領域に記憶させることを特徴とするロギ
ングデータの管理方式。
1. Communication recording data collected from a data line by a communication plot col software constructed in a device connected to the data line is classified into communication control data on a logical line and general communication data on a physical line. And storing the data in different storage areas.
【請求項2】 一般通信用データは、通信障害が発生し
た場合は、正常通信が行えた一般通信用データと障害発
生時の一般通信用データとを分離して異なった記憶領域
に記憶させることを特徴とする請求項1に記載のロギン
グデータの管理方式。
2. In the case where a communication failure has occurred, the general communication data is separated from the general communication data for which normal communication has been performed and the general communication data at the time of the occurrence of a failure, and stored in different storage areas. The method of managing logging data according to claim 1, wherein:
【請求項3】 前記記憶領域は、物理回線上で通信され
るデータをその通信順序に合わせて記憶することを特徴
とする請求項1に記載のロギングデータの管理方式。
3. The logging data management method according to claim 1, wherein the storage area stores data communicated on a physical line in accordance with the communication order.
【請求項4】前記論理回線上の通信データを記憶する記
憶領域には、物理回線上の一般通信用データを記憶した
記憶領域の領域情報を記憶したことを特徴とする請求項
1に記載のロギングデータの管理方式。
4. The storage area according to claim 1, wherein the storage area for storing communication data on the logical line stores area information of a storage area for storing general communication data on a physical line. Management method for logging data.
【請求項5】 前記記憶領域は記憶領域を巡回させるリ
ングメモリより構成し、古いデータから順に最新のデー
タに上書きすることを特徴とする請求項1〜4のいずれ
かに記載のロギングデータの管理方式。
5. The management of logging data according to claim 1, wherein the storage area is constituted by a ring memory for circulating the storage area, and the latest data is overwritten in order from oldest data. method.
JP2000006826A 2000-01-14 2000-01-14 Managing system for logging data Pending JP2001197155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000006826A JP2001197155A (en) 2000-01-14 2000-01-14 Managing system for logging data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000006826A JP2001197155A (en) 2000-01-14 2000-01-14 Managing system for logging data

Publications (1)

Publication Number Publication Date
JP2001197155A true JP2001197155A (en) 2001-07-19

Family

ID=18535300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000006826A Pending JP2001197155A (en) 2000-01-14 2000-01-14 Managing system for logging data

Country Status (1)

Country Link
JP (1) JP2001197155A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100518078C (en) * 2004-04-02 2009-07-22 鸿富锦精密工业(深圳)有限公司 Network daily-record data management system and method
CN101489243B (en) * 2008-01-14 2011-01-26 ***通信集团公司 Malfunction analysis apparatus, method and malfunction processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100518078C (en) * 2004-04-02 2009-07-22 鸿富锦精密工业(深圳)有限公司 Network daily-record data management system and method
CN101489243B (en) * 2008-01-14 2011-01-26 ***通信集团公司 Malfunction analysis apparatus, method and malfunction processing system

Similar Documents

Publication Publication Date Title
US8582466B2 (en) Flow statistics aggregation
US8014295B2 (en) Parallel packet processor with session active checker
US7106751B2 (en) Apparatus for linking a SAN with a LAN
US6483812B1 (en) Token ring network topology discovery and display
US7096264B2 (en) Network analyzer having distributed packet replay and triggering
US10740027B2 (en) High speed logging system
JP5932409B2 (en) Metadata capture for inspecting TCP connections
CN113708995B (en) Network fault diagnosis method, system, electronic equipment and storage medium
CN112714047A (en) Industrial control protocol flow based test method, device, equipment and storage medium
CN110855493B (en) Application topological graph drawing device for mixed environment
US20130329572A1 (en) Misdirected packet statistics collection and analysis
GB2462237A (en) Packet switch device
JP5056438B2 (en) Packet analysis method
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
US8654643B2 (en) Wide field indexing for packet tracking
CN113872826B (en) Network card port stability testing method, system, terminal and storage medium
US20090265695A1 (en) Method and apparatus for analyzing program execution path
CN114500307A (en) Network flow monitoring, storing and replaying method based on port mirroring technology
CN110891001B (en) Ethernet packet capturing method for VxWorks operating system
JP2001197155A (en) Managing system for logging data
CN114125078A (en) MAC address learning method and device
CN116319468B (en) Network telemetry method, device, switch, network, electronic equipment and medium
CN118101685A (en) Internet of vehicles data forwarding method and terminal based on message queue
CN118118366A (en) Communication detection method and system between cluster containers
CN115037610A (en) Automatic configuration system and automatic configuration method