JPH0764826A - Trace data collection management device - Google Patents

Trace data collection management device

Info

Publication number
JPH0764826A
JPH0764826A JP5232488A JP23248893A JPH0764826A JP H0764826 A JPH0764826 A JP H0764826A JP 5232488 A JP5232488 A JP 5232488A JP 23248893 A JP23248893 A JP 23248893A JP H0764826 A JPH0764826 A JP H0764826A
Authority
JP
Japan
Prior art keywords
data
trace data
trace
stored
storage device
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.)
Withdrawn
Application number
JP5232488A
Other languages
Japanese (ja)
Inventor
Hideyuki Horiuchi
秀幸 堀内
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP5232488A priority Critical patent/JPH0764826A/en
Publication of JPH0764826A publication Critical patent/JPH0764826A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

(57)【要約】 【目的】 トレースデータを高速にしかも大量に収集し
て管理する。 【構成】 トレースデータ1がトレースデータ収集モジ
ュール2により獲得されると、同時に複数個の動作が可
能なトレースデータ圧縮モジュール3〜5による分散処
理によりデータが圧縮されて記憶装置6に格納される。
このとき圧縮されたデータは、必ずしも時系列に格納さ
れるとは限らず、また格納されたデータのサイズは一定
ではないため、時刻情報および圧縮データのサイズが付
加情報として圧縮データとともに格納される。次に、記
憶装置6に格納された圧縮データは、トレースデータ非
圧縮モジュール7により取り出されて付加情報が外され
る。さらに、サポートツールにより非圧縮されて元のデ
ータサイズに戻され、トレースデータ8として再生され
る。
(57) [Summary] [Purpose] Collect and manage a large amount of trace data at high speed. [Structure] When the trace data 1 is acquired by the trace data collection module 2, the data is compressed by the distributed processing by the trace data compression modules 3 to 5 capable of performing a plurality of operations and stored in the storage device 6.
The data compressed at this time is not always stored in time series, and since the size of the stored data is not constant, the time information and the size of the compressed data are stored together with the compressed data as additional information. . Next, the compressed data stored in the storage device 6 is taken out by the trace data non-compression module 7 and the additional information is removed. Further, it is uncompressed by the support tool, restored to the original data size, and reproduced as trace data 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、通信データをトレース
する場合のように大量なトレースデータを収集して管理
するトレースデータ収集管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trace data collection management device for collecting and managing a large amount of trace data such as when tracing communication data.

【0002】[0002]

【従来の技術】トレースとは、計算機等におけるプログ
ラムの実行を追跡するために、任意の時刻における動作
状態を示すデータや処理データを収集することであり、
多くのトレース装置は、収集したトレースデータを記憶
することで、対象装置の状態変化や、処理データの変化
を時系列に沿って確認することができる。なお、トレー
ス装置に格納できるトレースデータの個数は、記憶装置
の記憶容量および単位データの長さによって左右され
る。
2. Description of the Related Art A trace is a collection of data indicating an operating state and processing data at an arbitrary time in order to trace the execution of a program on a computer or the like.
By storing the collected trace data, many trace devices can confirm the state change of the target device and the change of the processing data in time series. The number of trace data that can be stored in the trace device depends on the storage capacity of the storage device and the length of the unit data.

【0003】従来のトレース装置におけるトレースデー
タを収集管理する方式は、主に以下の3つの方式が用い
られている。 (1)トレースデータ量を削減する方式 これは、1つのトレースデータの情報を記憶装置の容量
に合わせてデータを間引くことで実現する。この方式に
よって、トレースしたいデータの個数を多くできる。つ
まり、トレースデータ収集期間を長くすることで、トレ
ース対象装置の状態遷移の把握を容易にする。
The following three methods are mainly used to collect and manage the trace data in the conventional trace device. (1) Method of reducing the amount of trace data This is realized by thinning out the information of one trace data according to the capacity of the storage device. With this method, the number of data to be traced can be increased. That is, by lengthening the trace data collection period, it becomes easy to grasp the state transition of the trace target device.

【0004】(2)トレースデータ個数を削減する方式 これは、1つのトレースデータの量を変えずに記憶でき
る個数を限定することで実現する。この方式によって、
状態情報についての情報不足は解消できる。 (3)記憶領域が空くまで装置内の動作を一時停止する
方式 これは、トレースデータを失わないように、装置内の動
作を一時停止し、記憶領域にトレースデータが格納でき
るまで待つことで実現する。この方式により、必要な装
置内の状態情報を途中のデータを失うことなく充分に採
取することができる。
(2) Method of reducing the number of trace data This is realized by limiting the number of trace data that can be stored without changing the amount of trace data. By this method,
The lack of information about status information can be resolved. (3) Method to temporarily stop the operation in the device until the storage area becomes free This is realized by temporarily stopping the operation in the device so as not to lose the trace data and waiting until the trace data can be stored in the storage area. To do. By this method, the necessary status information in the device can be sufficiently collected without losing the data on the way.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、(1)
の方式では、トレースデータから読み取れる情報量が少
ないため、情報不足が発生することがある。また、
(2)の方式では、全体の一部分のトレースデータしか
記憶されないため、必要なトレースデータが含まれない
ということがある。同じく、(3)の方式では、トレー
スデータ収集時での動作タイミングが、装置の動作タイ
ミングと大幅に食い違うことがある。
[Problems to be Solved by the Invention] However, (1)
In this method, since the amount of information that can be read from the trace data is small, there may be a lack of information. Also,
In the method (2), since only a part of the trace data of the whole is stored, necessary trace data may not be included. Similarly, in the method (3), the operation timing at the time of collecting trace data may be significantly different from the operation timing of the device.

【0006】ところで、これらの問題は、当然ながら記
憶容量が限られているために生じるものであり、記憶容
量が無限にあればこのようなことは発生しない。しか
し、現実には記憶容量に制限がある。そこで、トレース
データ収集管理装置の解決すべき課題は、限られた資源
(記憶容量)を用いて、高速でしかも途中で失うことな
く大量のデータを収集することである。そのためには、
トレース処理装置の処理方法により処理能力が左右され
るので、処理方法により改善することが必要となる。
By the way, these problems naturally occur because the storage capacity is limited. If the storage capacity is infinite, such a problem does not occur. However, in reality, the storage capacity is limited. Therefore, a problem to be solved by the trace data collection management device is to collect a large amount of data at a high speed and without loss on the way by using limited resources (storage capacity). for that purpose,
Since the processing capacity of the trace processing device depends on the processing method, it is necessary to improve the processing method.

【0007】また、大量のデータを収集するためには、
トレースデータの構造によるところが大きいが、トレー
スデータの構造を限定すると、トレースデータの自由度
が小さくなることがある。例えば、トレースデータを数
値化、符号化してデータサイズを小さくすると、符号化
できる範囲の情報以外は信頼性がなくなる。つまり、ト
レースデータの構造は限定せず、自由にデータを構成で
きることが望ましいが、それにはデータサイズが膨大に
なってしまう。そこで本発明は上記問題点を解決するた
めになされたもので、その目的とするところは、少ない
記憶容量でありながらも高速かつ大量にトレースデータ
を収集して管理することができるトレースデータ収集管
理装置を提供することにある。
Further, in order to collect a large amount of data,
This depends largely on the structure of the trace data, but if the structure of the trace data is limited, the degree of freedom of the trace data may decrease. For example, if the trace data is digitized and coded to reduce the data size, the reliability is lost except for the information within the codeable range. In other words, it is desirable that the structure of the trace data is not limited and the data can be freely configured, but the data size becomes enormous. Therefore, the present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide trace data collection management capable of collecting and managing a large amount of trace data at high speed with a small storage capacity. To provide a device.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、トレースデータを収集する手段と、収集
されたトレースデータを複数のトレースデータ圧縮モジ
ュールに分散して圧縮処理するとともに、データを受け
取った時刻および圧縮処理に関する情報を付加して記憶
装置に格納する手段と、記憶装置に格納されているデー
タを読み出し付加情報を参照しながら非圧縮処理してト
レースデータを再生する手段とを備えたことを特徴とす
る。
In order to achieve the above object, the present invention provides a means for collecting trace data, a method of distributing the collected trace data to a plurality of trace data compression modules, and a compression process. A means for adding information on the time of receiving the data and the compression processing and storing it in the storage device; a means for reading the data stored in the storage device and decompressing the data while referring to the additional information to reproduce the trace data. It is characterized by having.

【0009】[0009]

【作用】本発明においては、トレースデータが収集され
ると、複数のトレースデータ圧縮モジュールに分散され
て圧縮処理されるとともに、データを受け取った時刻お
よび圧縮処理に関する情報が付加されて記憶装置に格納
される。記憶装置に格納されたデータは読み出されてか
ら付加情報を参照して非圧縮処理されることによりトレ
ースデータとして再生される。
According to the present invention, when trace data is collected, it is distributed to a plurality of trace data compression modules for compression processing, and information regarding the time when the data was received and the compression processing is added and stored in the storage device. To be done. The data stored in the storage device is read out and then decompressed with reference to the additional information to be reproduced as trace data.

【0010】[0010]

【実施例】以下、図に沿って本発明の実施例を説明す
る。図1は本発明の実施例におけるトレースデータの流
れとモジュールの構成を示す説明図である。図2は図1
におけるトレースデータ収集モジュールを示すフローチ
ャートであり、図3は図1におけるトレースデータ圧縮
モジュールを示すフローチャートであり、図4は図1に
おけるトレースデータ非圧縮モジュールを示すフローチ
ャートであり、図5は図1における記憶装置の内部構成
を示す説明図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an explanatory diagram showing a flow of trace data and a module configuration according to an embodiment of the present invention. 2 is shown in FIG.
3 is a flow chart showing a trace data collection module in FIG. 3, FIG. 3 is a flow chart showing a trace data compression module in FIG. 1, FIG. 4 is a flow chart showing a trace data non-compression module in FIG. 1, and FIG. It is an explanatory view showing an internal configuration of a storage device.

【0011】図1において、初めに、トレースデータ1
がトレースデータ収集モジュール2により獲得される。
このときトレースデータ1の構造は連続したデータの塊
(ブロック)であれば、他に制限はない。ここで、トレ
ースデータ収集モジュール2は、図2に示すように、ト
レースデータ1を獲得すると(S1)、トレースデータ
圧縮モジュール3〜5のなかから待ち状態のモジュール
を探す(S2)。トレースデータ圧縮モジュール3〜5
のなかに待ち状態のものがあれば、トレースデータ1を
渡し、待ち状態のものがなければ待つ(S3)。
In FIG. 1, first, trace data 1
Are acquired by the trace data collection module 2.
At this time, the structure of the trace data 1 is not limited as long as it is a continuous data block (block). Here, as shown in FIG. 2, when the trace data collection module 2 acquires the trace data 1 (S1), it searches the trace data compression modules 3 to 5 for a waiting module (S2). Trace data compression module 3-5
If there is one in the waiting state, the trace data 1 is passed, and if there is no waiting state, the process waits (S3).

【0012】トレースデータ圧縮モジュール3〜5は同
時に動作可能であるため、図3に示すようにトレースデ
ータ1を処理していない間は、トレースデータ収集モジ
ュール2からトレースデータ1が送られるのを待つデー
タ獲得待ち状態になっている(S4)。このように、ト
レースデータ圧縮モジュール3〜5がトレースデータ1
の受け取り可能である状態では、待ち状態であることを
トレースデータ収集モジュール2へ通知できる。
Since the trace data compression modules 3 to 5 can operate simultaneously, while the trace data 1 is not being processed as shown in FIG. 3, it waits for the trace data 1 to be sent from the trace data collection module 2. It is in a data acquisition waiting state (S4). In this way, the trace data compression modules 3-5
In the state in which the data can be received, the trace data collection module 2 can be notified of the waiting state.

【0013】ここで、トレースデータ圧縮モジュール3
〜5のいずれかがトレースデータ1を受け取ると(S
5)、サポートツールによりデータを圧縮する(S
6)。このサポートツールは圧縮したデータを完全に復
元できる機能を備えているものとする。次に、圧縮した
データに時刻データや格納時のサイズ等の管理情報を付
加して、記憶装置6に格納する(S7)。記憶装置6に
は図5に示すように、圧縮されたn個のトレースデータ
が格納される。
Here, the trace data compression module 3
When any one of ~ 5 receives the trace data 1 (S
5) Compress the data with the support tool (S
6). This support tool shall be capable of completely restoring compressed data. Next, management information such as time data and size at the time of storage is added to the compressed data and stored in the storage device 6 (S7). As shown in FIG. 5, the storage device 6 stores n pieces of compressed trace data.

【0014】なお、この記憶装置6に格納されるデータ
は、必ずしも時系列に格納されるとは限らず、また1つ
の格納データのサイズは一定ではない。そこで、図6に
示すように、時刻情報および圧縮データサイズが付加情
報として圧縮データとともに格納される。次に、図1に
示すように記憶装置6に格納された圧縮データは、トレ
ースデータ非圧縮モジュール7により取り出される。
The data stored in the storage device 6 is not always stored in time series, and the size of one stored data is not constant. Therefore, as shown in FIG. 6, the time information and the compressed data size are stored together with the compressed data as additional information. Next, as shown in FIG. 1, the compressed data stored in the storage device 6 is taken out by the trace data non-compression module 7.

【0015】すなわち、トレースデータ非圧縮モジュー
ル7は、図4に示すように記憶装置6内に格納されてい
る圧縮データの付加情報を順次読み取り(S8)、時間
情報を検索し、古い順からデータを読み取る(S9)。
次いで、取り出した格納データから付加情報を外し、サ
ポートツールによりデータを非圧縮して元のデータサイ
ズに戻し、トレースデータ8として再生する(S1
0)。このようにしてトレースデータを処理することに
より、トレースデータが大量であっても、複数のトレー
スデータ圧縮モジュールにより分散処理することでデー
タ収集の高速化が可能になるとともに、データを圧縮す
ることで記憶装置の容量が実質的に増大する。
That is, the trace data non-compression module 7 sequentially reads the additional information of the compressed data stored in the storage device 6 as shown in FIG. 4 (S8), retrieves the time information, and retrieves the data from the oldest one. Is read (S9).
Next, the additional information is removed from the extracted stored data, the data is decompressed by the support tool to restore the original data size, and the trace data 8 is reproduced (S1).
0). By processing trace data in this way, even if there is a large amount of trace data, it is possible to speed up data collection by performing distributed processing with multiple trace data compression modules and to compress data. The storage capacity is substantially increased.

【0016】[0016]

【発明の効果】以上述べたように本発明によれば、収集
したトレースデータを複数のトレースデータ圧縮モジュ
ールに分散して圧縮することによりデータ収集を高速化
することが可能になる。さらに、収集したトレースデー
タを圧縮してから記憶装置に格納することにより記憶装
置の容量が実質的に増大する。その結果、少ない記憶容
量でありながらもトレースデータを高速に収集して管理
することができるトレースデータ収集管理装置が得られ
る。
As described above, according to the present invention, it is possible to speed up data collection by dispersing and compressing the collected trace data in a plurality of trace data compression modules. Furthermore, the capacity of the storage device is substantially increased by compressing the collected trace data and then storing it in the storage device. As a result, it is possible to obtain a trace data collection management device which has a small storage capacity and can collect and manage trace data at high speed.

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

【図1】本発明の実施例におけるデータ流れとモジュー
ル構成を示す説明図である。
FIG. 1 is an explanatory diagram showing a data flow and a module configuration according to an embodiment of the present invention.

【図2】図1のトレースデータ収集モジュールを示すフ
ローチャートである。
FIG. 2 is a flowchart showing the trace data collection module of FIG.

【図3】図1のトレースデータ圧縮モジュールを示すフ
ローチャートである。
FIG. 3 is a flowchart showing the trace data compression module of FIG.

【図4】図1のトレースデータ非圧縮モジュールを示す
フローチャートである。
4 is a flowchart showing the trace data uncompressed module of FIG. 1. FIG.

【図5】図1における記憶装置の内部構成を示す説明図
である。
5 is an explanatory diagram showing an internal configuration of a storage device in FIG. 1. FIG.

【図6】図5の記憶装置に格納されるデータの内容を示
す説明図である。
6 is an explanatory diagram showing the content of data stored in the storage device of FIG. 5. FIG.

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

1 トレースデータ 2 トレースデータ収集モジュール 3〜5 トレースデータ圧縮モジュール 6 記憶装置 7 トレースデータ非圧縮モジュール 8 トレースデータ 1 Trace data 2 Trace data collection module 3-5 Trace data compression module 6 Storage device 7 Trace data non-compression module 8 Trace data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 トレースデータを収集する手段と、 収集されたトレースデータを複数のトレースデータ圧縮
モジュールに分散して圧縮処理するとともに、データを
受け取った時刻および圧縮処理に関する情報を付加して
記憶装置に格納する手段と、 記憶装置に格納されているデータを読み出し付加情報を
参照しながら非圧縮処理してトレースデータを再生する
手段と、 を備えたことを特徴とするトレースデータ収集管理装
置。
1. A storage device that collects trace data, compresses the collected trace data by distributing the trace data to a plurality of trace data compression modules, and adds information about the time when the data is received and the compression process. And a means for storing the data in the storage device, reading the data stored in the storage device, and decompressing the data while referring to the additional information to reproduce the trace data.
JP5232488A 1993-08-25 1993-08-25 Trace data collection management device Withdrawn JPH0764826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5232488A JPH0764826A (en) 1993-08-25 1993-08-25 Trace data collection management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5232488A JPH0764826A (en) 1993-08-25 1993-08-25 Trace data collection management device

Publications (1)

Publication Number Publication Date
JPH0764826A true JPH0764826A (en) 1995-03-10

Family

ID=16940109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5232488A Withdrawn JPH0764826A (en) 1993-08-25 1993-08-25 Trace data collection management device

Country Status (1)

Country Link
JP (1) JPH0764826A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234652A (en) * 2007-03-21 2008-10-02 Arm Ltd Trace stream generation technology for data processing equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234652A (en) * 2007-03-21 2008-10-02 Arm Ltd Trace stream generation technology for data processing equipment
US8099635B2 (en) 2007-03-21 2012-01-17 Arm Limited Techniques for generating a trace stream for a data processing apparatus

Similar Documents

Publication Publication Date Title
US6052588A (en) Method for archiving and retrieving telemetry in a satellite control center
WO2024103752A1 (en) File transmission method, apparatus and system, electronic device, and storage medium
JP2699430B2 (en) Data transfer method
CN111597098B (en) A data processing method and device
CN111782588A (en) File reading method, device, equipment and medium
CN119917568A (en) Dynamic loading method of signal data based on Web graphical programming
JP3009434B2 (en) Data compression device
JP2526502B2 (en) Telemetry data processing device
US6487635B1 (en) Management of orphan tracks
JP3097076B2 (en) Trace data collection method
CN112000619A (en) Time sequence data storage method, device, equipment and readable storage medium
JPH0381843A (en) File saving/restoring processor
JP2005352561A (en) Database server and database client
JP2001005516A (en) How to search time series data
JPS58195884A (en) Indication of display
JP3191857B2 (en) Simulation execution device and data compression method thereof
JP2573700B2 (en) Image recording and playback device
CN110809013B (en) Monitoring data acquisition method and device, electronic equipment and storage medium
CN120358231A (en) File uploading method and related device
JPH09171476A (en) Dump file compressing system
JP2001159991A (en) Device and method for managing file and recording medium for recording file managing program
KR20000038884A (en) Method for compressing and recovering vector data in geographical information system
JPH02254570A (en) Optical disk filing device
CN115858482A (en) Data synchronization method, system and storage medium based on file system
JPH10143404A (en) Information recording medium and data recording method thereof

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001031