JP2002140211A - Information processor and its inter-process communication history acquiring method - Google Patents

Information processor and its inter-process communication history acquiring method

Info

Publication number
JP2002140211A
JP2002140211A JP2000336393A JP2000336393A JP2002140211A JP 2002140211 A JP2002140211 A JP 2002140211A JP 2000336393 A JP2000336393 A JP 2000336393A JP 2000336393 A JP2000336393 A JP 2000336393A JP 2002140211 A JP2002140211 A JP 2002140211A
Authority
JP
Japan
Prior art keywords
communication history
data
information
history information
communication
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
JP2000336393A
Other languages
Japanese (ja)
Inventor
Kunihiro Akiyoshi
邦洋 秋吉
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000336393A priority Critical patent/JP2002140211A/en
Publication of JP2002140211A publication Critical patent/JP2002140211A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To make communication history information between processes acquirable without using a special utility program. SOLUTION: When a process 21 for application program receives communication data, an internal function used as a logging handler 21a is activated and the logging handler 21a generates the communication history information and writes it in a shared memory 23. Meanwhile, a logging process 24 accesses the shared memory 23 every certain time and if there is effective communication history information, it reads it and saves it in a large capacity nonvolatile storing means such as an HDD 15 or an HDD 25 of an external device.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数のプロセス
からなるアプリケーションプログラムによる処理を実行
する情報処理装置、およびその動作確認及び不具合発生
時の解析のためにプロセス間通信履歴情報を採取する方
法に関する。なお、この明細書中で云う情報処理装置と
は、パーソナルコンピュータ等の汎用の情報処理装置に
限らず、コンピュータ機能を搭載した多機能デジタル複
写機等の画像形成システムを含む各種のOA機器、その
他の電子機器も含むものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for executing processing by an application program including a plurality of processes, and a method of collecting inter-process communication history information for checking its operation and analyzing when a failure occurs. . It should be noted that the information processing apparatus referred to in this specification is not limited to a general-purpose information processing apparatus such as a personal computer, but also various OA equipment including an image forming system such as a multifunction digital copier equipped with a computer function, and others. Electronic devices.

【0002】[0002]

【従来の技術】複数のプロセスからなるアプリケーショ
ンプログラム(ソフトウェア)による処理を実行する情
報処理装置において、そのアプリケーションソフトウェ
アの動作確認、特にプロセス間の通信状況を確認したい
場合、従来は、必要な情報を採取するための個々のユー
ティリティプログラムを使用して人手により行ってい
た。また、再現性の低い不具合の場合には、データの採
取そのものに多くの時間を必要をしていた。
2. Description of the Related Art In an information processing apparatus for executing processing by an application program (software) including a plurality of processes, when it is desired to check the operation of the application software, particularly, to check the communication status between the processes, conventionally, necessary information is obtained. This was done manually using individual utility programs for sampling. In addition, in the case of a defect having low reproducibility, much time is required for data collection itself.

【0003】[0003]

【発明が解決しようとする課題】しかし、アプリケーシ
ョンソフトウェアのプロセス間の通信履歴を採取するた
めのユーティリティプログラムを使用した場合、ユーテ
ィリティプログラムそのものが消費するシステムリソー
スの影響で、各プロセスの動作タイミングがユーティリ
ティプログラムを使用しない時と異なってしまう等の原
因によって、目的とする通信履歴の採取ができないこと
があった。また、異常終了によりシステムがダウンした
場合には、データの採取が不可能になり、異常の原因を
解析することが非常に困難であった。
However, when a utility program for collecting a communication history between processes of application software is used, the operation timing of each process is determined by the effect of system resources consumed by the utility program itself. In some cases, the intended communication history could not be collected due to reasons different from when the program was not used. Further, when the system goes down due to abnormal termination, it becomes impossible to collect data, and it is very difficult to analyze the cause of the abnormality.

【0004】また、ユーティリティプログラムの知識が
ないと、必要な通信履歴の取得ができないという問題も
あった。この発明は、このような問題を解決するために
なされたものであり、情報処理装置におけるアプリケー
ションプログラムの動作やプロセス間通信履歴の確認を
容易にすると共に、異常発生時に、特にシステムがダウ
ンするような場合の原因解析に必要なデータの採取を可
能にすることを目的とする。
[0004] In addition, there is another problem that a necessary communication history cannot be obtained without knowledge of the utility program. SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and makes it easy to check the operation of an application program and an inter-process communication history in an information processing apparatus, and to set a system down especially when an abnormality occurs. The purpose of the present invention is to enable the collection of data necessary for cause analysis in a case where it is difficult.

【0005】[0005]

【課題を解決するための手段】この発明による情報処理
装置は、複数のプロセスからなるアプリケーションプロ
グラムによる処理を実行する情報処理装置であって、上
記の目的を達成するため、次の各手段を設けたものであ
る。
An information processing apparatus according to the present invention is an information processing apparatus for executing processing according to an application program including a plurality of processes. In order to achieve the above object, the information processing apparatus includes the following units. It is a thing.

【0006】すなわち、上記各プロセスがそれぞれデー
タを書き込み可能で、ファーストイン・ファーストアウ
トで読み書きの制御を行う複数の共有メモリ(1個のメ
モリ上の複数のメモリ領域を含む)と、上記各プロセス
が通信データを受信する毎に該通信データを参照して該
通信データの転送状況に関する情報を抽出する転送情報
抽出手段と、上記転送状況に関する情報に上記プロセス
による上記通信データの受信時刻を含む受信状況に関す
る情報を付加して通信履歴情報を生成する受信情報付加
手段と、上記通信履歴情報を上記共有メモリに書き込む
手段と、その各共有メモリに一定時間間隔でアクセスし
て、上記通信履歴情報が書き込まれている場合には、そ
の通信履歴情報を読み出して不揮発性記憶媒体に書き込
む通信履歴情報保存手段とを有する。
That is, a plurality of shared memories (including a plurality of memory areas on one memory), each of which is capable of writing data and controlling reading and writing in a first-in first-out manner, Transfer information extracting means for extracting information on the transfer status of the communication data by referring to the communication data each time the communication data is received, and receiving the information on the transfer status including the reception time of the communication data by the process Receiving information adding means for generating communication history information by adding information relating to a situation; means for writing the communication history information to the shared memory; and accessing each of the shared memories at fixed time intervals to obtain the communication history information. If written, the communication history information is read out and written to a non-volatile storage medium. And a means.

【0007】上記情報処理装置において、不揮発性記憶
手段を備える他の装置にデータを転送する通信手段を備
え、上記通信履歴情報保存手段が、上記不揮発性記憶媒
体に書き込むべき情報を書き込むことができない場合
に、上記通信手段を介して上記他の装置の不揮発性記憶
手段に該情報を書き込む手段を有するようにするとよ
い。これらの情報処理装置において、上記通信履歴情報
保存手段が、上記通信履歴情報のデータ形式を示すサン
プルデータを上記不揮発性記憶媒体に書き込む手段を備
えるようにしてもよい。
In the above information processing apparatus, there is provided communication means for transferring data to another apparatus having nonvolatile storage means, and the communication history information storage means cannot write information to be written in the nonvolatile storage medium. In this case, it is preferable to have means for writing the information to the non-volatile storage means of the another device via the communication means. In these information processing apparatuses, the communication history information storage unit may include a unit that writes sample data indicating a data format of the communication history information to the nonvolatile storage medium.

【0008】さらに、上記通信履歴情報保存手段が、上
記プロセスのID番号と該プロセスの名前とを対応させ
るデータを上記不揮発性記憶媒体に書き込む手段を備え
るとよい。また、上記通信履歴情報保存手段が、上記プ
ロセスの生成及び消滅を示すデータを上記不揮発性記憶
媒体に書き込む手段を備えるようにしてもよい。あるい
は、これらの情報処理装置において、動作設定を逐次変
更可能なテキストファイルのデータによって行う手段を
設けてもよい。
Further, the communication history information storage means may include means for writing data for associating the ID number of the process with the name of the process in the non-volatile storage medium. Further, the communication history information storage unit may include a unit that writes data indicating generation and extinction of the process in the nonvolatile storage medium. Alternatively, these information processing apparatuses may be provided with means for performing operation settings by using data of a text file that can be sequentially changed.

【0009】この発明によるプロセス間通信履歴採取方
法は、各プロセスに割付可能な、ファーストイン・ファ
ーストアウトの読み書き制御を行う共有メモリを備えた
情報処理装置上で、複数のプロセスからなるアプリケー
ションプログラムを動作させる場合のプロセス間通信履
歴採取方法であって、通信履歴取得対象のプロセスが通
信データを受信した場合に、各プロセス内部で受信した
通信データを参照してデータ転送状況に関するデータを
抽出し、その通信データの受信時刻を含む受信状況に関
するデータを付加して通信履歴情報を生成し、その通信
履歴情報を上記共有メモリに書き込む処理を行う。
According to the method of collecting communication history between processes according to the present invention, an application program including a plurality of processes can be executed on an information processing apparatus provided with a shared memory for performing first-in / first-out read / write control which can be assigned to each process. An inter-process communication history collection method for operating, wherein when a communication history acquisition target process receives communication data, the process refers to the communication data received inside each process to extract data regarding a data transfer status, A process is performed to generate communication history information by adding data relating to the reception status including the reception time of the communication data, and to write the communication history information to the shared memory.

【0010】一方、上記通信履歴取得対象のプロセスと
は別の通信履歴情報保存プロセスが、一定時間間隔で上
記共有メモリに記憶された通信履歴情報を読み出し、そ
の通信履歴情報を大容量の不揮発性記憶媒体に保存する
ことを特徴とする。このプロセス間通信履歴採取方法に
おいて、上記通信履歴情報保存プロセスは、上記通信履
歴情報を内蔵の不揮発性記憶媒体に書き込むことができ
ない場合に、その通信履歴情報を他の情報処理装置の不
揮発性記憶媒体に書き込むようにするとよい。あるい
は、プロセス間通信履歴採取方法において、上記通信履
歴情報保存プロセスは、上記通信履歴情報のデータ形式
を示すサンプルデータも上記不揮発性記憶媒体に書き込
むようにするとよい。
On the other hand, a communication history information storage process different from the communication history acquisition target process reads out the communication history information stored in the shared memory at fixed time intervals, and stores the communication history information in a large-capacity nonvolatile memory. It is characterized by being stored in a storage medium. In this inter-process communication history collection method, the communication history information storage process stores the communication history information in a nonvolatile storage medium of another information processing apparatus when the communication history information cannot be written to a built-in nonvolatile storage medium. It is good to write on a medium. Alternatively, in the inter-process communication history collection method, the communication history information storing process may write sample data indicating a data format of the communication history information to the nonvolatile storage medium.

【0011】これらのプロセス間通信履歴採取方法にお
いて、上記通信履歴情報保存プロセスは、通信履歴取得
対象の各プロセスのID番号と該プロセスの名前とを対
応させるデータも、上記不揮発性記憶媒体に書き込むこ
とを特徴とする。あるいは、これらのプロセス間通信履
歴採取方法において、上記通信履歴情報保存プロセス
は、プロセスの生成及び消滅を示すデータも上記不揮発
性記憶媒体に書き込むようにするとよい。さらに、上記
通信履歴情報取得対象のプロセス又は通信履歴情報保存
プロセスの動作の設定を、逐次変更可能なテキストファ
イルに記載されたパラメータによって行うようにすると
よい。
[0011] In these inter-process communication history collection methods, the communication history information storage process also writes, in the non-volatile storage medium, data for associating the ID number of each process whose communication history is to be obtained with the name of the process. It is characterized by the following. Alternatively, in these inter-process communication history collection methods, the communication history information storage process may also write data indicating generation and disappearance of the process in the non-volatile storage medium. Further, the operation of the process of acquiring the communication history information or the operation of the communication history information storage process may be set by parameters described in a text file which can be sequentially changed.

【0012】[0012]

【発明の実施の形態】以下、この発明の好ましい実施の
形態を図面を参照して説明する。まず、図2を用いてこ
の発明の一実施形態である情報処理装置のハード構成を
説明する。図2は、この発明によるプロセス間通信履歴
採取機能を有する情報処理装置の一例を示すブロック図
である。この情報処理装置は、パーソナルコンピュータ
(PC)として構成され、図2に示すように、CPU1
1,ROM12、RAM13、表示装置14、ハードデ
ィスクドライブ(HDD)15,ローカルエリア・ネッ
トワーク・インタフェース(LANI/F)16,入力
装置17を備え、これらがシステムバス18によって接
続されており、UNIX(登録商標)系OSによって動
作する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. First, a hardware configuration of an information processing apparatus according to an embodiment of the present invention will be described with reference to FIG. FIG. 2 is a block diagram showing an example of an information processing apparatus having an inter-process communication history collection function according to the present invention. This information processing apparatus is configured as a personal computer (PC), and as shown in FIG.
1, a ROM 12, a RAM 13, a display device 14, a hard disk drive (HDD) 15, a local area network interface (LAN I / F) 16, and an input device 17, all of which are connected by a system bus 18 and UNIX (registered). It is operated by a (trademark) system OS.

【0013】CPU11は、この情報処理装置全体の動
作を統括的に制御するユニットであり、ROM12やH
DD15から様々なプログラムを読み出して実行する。
このプログラムには、複数のプロセスからなるアプリケ
ーションプログラムや通信履歴取得プログラムも含む。
ROM12は、CPU11で実行する様々なプログラム
を格納しており、書き換えが可能なフラッシュROMや
NVRAMで構成してもよい。RAM13は、CPU1
1が各種の処理を行うときの作業用メモリである。ま
た、各プロセスに割り当てられ、通信履歴データを一時
格納する共有メモリとしても機能する。
The CPU 11 is a unit that controls the overall operation of the information processing apparatus.
Various programs are read from the DD 15 and executed.
The program includes an application program including a plurality of processes and a communication history acquisition program.
The ROM 12 stores various programs executed by the CPU 11, and may be configured by a rewritable flash ROM or NVRAM. The RAM 13 is a CPU 1
Reference numeral 1 denotes a work memory for performing various processes. In addition, it functions as a shared memory that is allocated to each process and temporarily stores communication history data.

【0014】表示装置14は、CRTや液晶ディスプレ
イ(LCD)であり、様々な情報の表示を行う。HDD
15は、CPU11で実行されるプログラムや、実行結
果および必要なデータ等を保存するための記憶装置であ
る。また、通信履歴を保存するための不揮発性記憶手段
でもあり、採取した通信履歴情報は最終的にここに保存
する。LANI/F16は、この情報処理装置を外部機
器19と接続するためのインタフェースであり、これを
介して外部機器19とデータの授受を行うことができ
る。
The display device 14 is a CRT or a liquid crystal display (LCD), and displays various information. HDD
Reference numeral 15 denotes a storage device for storing programs executed by the CPU 11, execution results, necessary data, and the like. It is also a nonvolatile storage unit for storing the communication history, and the collected communication history information is finally stored here. The LAN I / F 16 is an interface for connecting the information processing device to the external device 19, and can exchange data with the external device 19 via the interface.

【0015】入力装置17は、マウスやキーボート等で
あり、ユーザはこれを用いて操作情報を入力する。この
情報処理装置は、図1に示すようにプロセス間の通信デ
ータの通信履歴を採取し、最終的にHDD15又は外部
装置のHDD25等の大容量の不揮発性記憶手段にその
データを記憶させるプロセス間通信履歴採取機能を有す
る。
The input device 17 is a mouse, a keyboard, or the like, and the user uses the input device to input operation information. This information processing apparatus collects a communication history of communication data between processes as shown in FIG. 1 and finally stores the data in a large-capacity nonvolatile storage means such as the HDD 15 or the HDD 25 of an external device. It has a communication history collection function.

【0016】そのプロセス間の通信履歴採取機能につい
て、図1によって説明する。図1に示す第1のプロセス
21および第2のプロセス22は、それぞれCPU11
上で動作するアプリケーションプログラムのプロセス
(アプリケーションプロセス)である。実際には、アプ
リケーションプログラムはもっと多くのプロセスを同時
に動作させることが多いが、ここでは、その代表として
2つのプロセスを図示した。
The function of collecting the communication history between processes will be described with reference to FIG. The first process 21 and the second process 22 shown in FIG.
It is a process (application process) of an application program that operates on the above. In practice, an application program often runs more processes at the same time, but two processes are shown here as typical examples.

【0017】第1,第2のプロセス21,22には、そ
れぞれ内部関数として、通信履歴情報を生成するロギン
グハンドラ21a,22aが用意されている。また、各
プロセスが生成される際には、RAM12上に共有メモ
リ23として、ロギングハンドラ21a,22aが通信
履歴情報を書き込むための一定の記憶領域がプロセス毎
に割り当てられる。この共有メモリ23は、先に書き込
まれたデータを先に読み出すファーストイン・ファース
トアウト(FIFO)で読み書きアドレスが制御され
る。また、最後のアドレスと最初のアドレスを論理的に
連続させ、最後のアドレスに書き込んだデータの続きは
最初のアドレスに戻って、始めのデータに上書きしてい
くリングバッファ形式の書き込み制御を採用するとよ
い。
The first and second processes 21 and 22 are provided with logging handlers 21a and 22a for generating communication history information as internal functions. When each process is created, a fixed storage area for writing the communication history information by the logging handlers 21a and 22a is allocated as a shared memory 23 on the RAM 12 for each process. The read / write address of the shared memory 23 is controlled by first-in first-out (FIFO) for reading out the previously written data first. In addition, if the last address and the first address are logically consecutive, and the continuation of the data written to the last address returns to the first address and adopts a ring buffer type write control that overwrites the first data, Good.

【0018】ロギングハンドラ21a,22aは、対応
するプロセスが通信データを受信すると、通信データそ
のものは一切変更せずに、通信データを参照して送信側
プロセスの情報を含む転送状況に関する情報を抽出する
転送情報抽出手段と、その転送状況に関する情報にその
通信データを受信した時刻の情報を付加して通信履歴情
報を生成する受信情報付加手段と、その通信履歴情報を
共有メモリ23a,23bに書き込む手段の役割を果た
す。データの書き込み先である共有メモリ23は各プロ
セス毎に用意されているので、複数のプロセス(ロギン
グハンドラ)が同時に動作する場合でもデータの書き込
みがバッティングすることはなく、プロセス間の排他制
御は不要である。ただし、プロセスがマルチスレッドで
ある場合には、必要に応じてスレッド間の排他制御を行
う。
When the corresponding process receives the communication data, the logging handlers 21a and 22a refer to the communication data and extract the information on the transfer status including the information of the transmitting process without changing the communication data itself. Transfer information extracting means, reception information adding means for generating communication history information by adding information on the time at which the communication data was received to information relating to the transfer status, and means for writing the communication history information to the shared memories 23a and 23b Plays a role. Since the shared memory 23 to which data is to be written is prepared for each process, even when a plurality of processes (logging handlers) operate at the same time, there is no battling of data writing, and exclusive control between processes is unnecessary. It is. However, if the process is multi-threaded, exclusive control between threads is performed as needed.

【0019】また、通信履歴の採取を行う際には、CP
U11でロギング処理プロセス24を起動する。ロギン
グ処理プロセス24は、一定時間毎に共有メモリ23に
アクセスして、そこに通信履歴情報が書き込まれていれ
ば、それを読み出してHDD15に書き込む通信履歴情
報保存手段である。容量が一杯である等の何らかの理由
でHDD15に書き込むべき情報が書き込めない場合に
は、代わりにLANI/F16を介して接続する外部機
器19の不揮発性記憶手段であるHDD25に書き込
む。
When the communication history is collected, the CP
In U11, the logging process 24 is started. The logging processing process 24 is a communication history information storage unit that accesses the shared memory 23 at regular time intervals, reads out communication history information if it has been written there, and writes it to the HDD 15. If the information to be written to the HDD 15 cannot be written for some reason, such as the capacity being full, the information is written to the HDD 25, which is the nonvolatile storage means of the external device 19 connected via the LAN I / F 16 instead.

【0020】次に、図3及び図4を用いて各プロセスの
動作についてより詳細に説明する。図3は、上述した情
報処理装置におけるアプリケーションプロセスの処理を
示すフローチャートである。図4は、そのロギング処理
プロセスの処理を示すフローチャートである。まず、第
1のプロセス21が通信データを受信する場合を例に、
アプリケーションプロセスの動作を説明する。
Next, the operation of each process will be described in more detail with reference to FIGS. FIG. 3 is a flowchart showing a process of an application process in the information processing apparatus described above. FIG. 4 is a flowchart showing the processing of the logging process. First, taking the case where the first process 21 receives communication data as an example,
The operation of the application process will be described.

【0021】第1のプロセス21に対して他のプロセス
から通信データが送信されてくると、第1のプロセス
は、図3に示すフローの処理を開始する。まず、ステッ
プS1で送信されてきた通信データを受信する。そし
て、その通信データに対する本来の処理を行う前に、ス
テップS2で内部関数であるロギングハンドラ21aを
コールする。するとステップS3で、ロギングハンドラ
21aが受信した通信データを参照し、転送状況に関す
るデータを抽出する。このとき、少なくとも送信元プロ
セスの情報を抽出する。また、通信データそのものには
一切変更を加えない。受信データに送信元プロセスの情
報が含まれていない場合には、第1のプロセス21が受
けた転送要求等も参照して送信元プロセスの情報を抽出
する。
When communication data is transmitted from another process to the first process 21, the first process starts processing of the flow shown in FIG. First, the communication data transmitted in step S1 is received. Then, before performing the original processing on the communication data, the logging handler 21a, which is an internal function, is called in step S2. Then, in Step S3, the communication data received by the logging handler 21a is referred to, and data on the transfer status is extracted. At this time, at least information on the source process is extracted. Also, the communication data itself is not changed at all. If the received data does not include the information of the transmission source process, the information of the transmission source process is extracted with reference to the transfer request received by the first process 21 and the like.

【0022】続いてステップS4で、ロギングハンドラ
21aはステップS3で抽出したデータに、少なくとも
受信時刻の情報を含む通信データの受信状況に関するデ
ータを付加して、通信履歴情報をパケットデータとして
生成する。そして、ステップS5でロギングハンドラ2
1aは、第1のプロセス21に対応する共有メモリ23
にステップS4で生成した通信履歴情報のパケットを書
き込む。ステップS6では、書込み時にオーバフローが
起こったかどうか判断する。そして、起こっていればス
テップS7でオーバフローフラグを立てて、ステップS
8に進む。起こっていなければそのままステップS8に
進む。
Subsequently, in step S4, the logging handler 21a adds the data extracted in step S3 to the data on the reception status of the communication data including at least the reception time information, and generates communication history information as packet data. Then, in step S5, the logging handler 2
1a is a shared memory 23 corresponding to the first process 21.
Then, the communication history information packet generated in step S4 is written. In step S6, it is determined whether an overflow has occurred during writing. If so, an overflow flag is set in step S7, and step S7 is executed.
Proceed to 8. If not, the process proceeds directly to step S8.

【0023】この実施形態で、共有メモリ23において
リングバッファ形式のアドレス制御を行うようにすれ
ば、オーバフローが起こってもデータを書き込むことが
できるが、古い方から順にデータが消去されることにな
るので、オーバフローが起こった場合にはその旨のフラ
グを立てて、ロギング処理プロセス24側で読出し時に
修正処理を行うようにする。ステップS8では、第1の
プロセス21が受信データに関する本来のアプリケーシ
ョンとしての処理を行う。
In this embodiment, if address control in the ring buffer format is performed in the shared memory 23, data can be written even if an overflow occurs, but data is erased in order from the oldest one. Therefore, if an overflow has occurred, a flag is set to that effect, so that the logging process 24 performs a correction process at the time of reading. In step S8, the first process 21 performs processing as an original application related to the received data.

【0024】図3のフローに示した処理のうち、ステッ
プS3からステップS7までは、第1のプロセス21の
内部関数であるロギングハンドラ21aが受信データに
対する本来の処理の前に行うため、ロギングハンドラ2
1aを実行しても第1のプロセス21の処理自体には影
響を与えない。各プロセスが図3のフローに示した処理
を行う一方で、ロギング処理プロセス24は一定時間毎
に図4のフローに示す処理を行う。
In the processing shown in the flow of FIG. 3, steps S3 to S7 are performed by the logging handler 21a, which is an internal function of the first process 21, before the original processing on the received data. 2
The execution of 1a does not affect the processing of the first process 21 itself. While each process performs the processing shown in the flow of FIG. 3, the logging processing process 24 performs the processing shown in the flow of FIG. 4 at regular intervals.

【0025】このロギング処理プロセス24は、図4に
示す処理を開始すると、まずステップS11で1つ目の
プロセスに対応する共有メモリ23にアクセスする。そ
して、ステップS12で有効な通信履歴情報が格納され
ているかどうか判断し、格納されていればステップS1
3に進む。ステップS13では、オーバフローフラグが
立っているかどうか判断し、立っていればステップS1
4に進む。
When the processing shown in FIG. 4 starts, the logging processing process 24 first accesses the shared memory 23 corresponding to the first process in step S11. Then, it is determined in step S12 whether valid communication history information is stored, and if it is stored, step S1 is performed.
Proceed to 3. In step S13, it is determined whether or not the overflow flag is set.
Proceed to 4.

【0026】ステップS14では、オーバフロー時の上
書きによって破壊されている最初のパケットのデータを
廃棄する。そして、ステップS15でオーバフローが発
生した旨を示すデータをこれから読み出すデータの先頭
に置いて、ステップS16に進む。ステップS13でオ
ーバフローが発生していなければ、そのままステップS
16に進む。
In step S14, the data of the first packet destroyed by overwriting at the time of overflow is discarded. Then, in step S15, data indicating that an overflow has occurred is placed at the head of data to be read, and the process proceeds to step S16. If no overflow has occurred in step S13, the process proceeds to step S13.
Proceed to 16.

【0027】そして、ステップS16で共有メモリ23
に記憶されている通信履歴情報を読み出す。共有メモリ
23の読み書きはFIFOで制御されているため、古い
データから順に読み出すことになる。そしてステップS
17で、その読み出した通信履歴情報を、ステップS1
5で付加したデータがあればそれと共にHDD15又は
外部装置のHDD25へ書き込み、ステップS18へ進
む。
Then, in step S16, the shared memory 23
Read the communication history information stored in the. Since reading and writing of the shared memory 23 is controlled by the FIFO, the data is read in order from the oldest data. And step S
In step 17, the read communication history information is stored in step S1.
If there is any data added in step 5, the data is written into the HDD 15 or the HDD 25 of the external device together with the data, and the process proceeds to step S18.

【0028】ステップS12で有効な通信履歴情報が格
納されていなかった場合には、ここまでの処理は飛ばし
てステップS18に進む。ステップS18では、全ての
プロセスに対応する共有メモリ23のチェックが完了し
たかどうか判断し、まだチェックしていない共有メモリ
23があれば、ステップS11に戻って次の共有メモリ
23をチェックし、全ての共有メモリ23のチェックが
完了していれば、処理を終了する。このロギング処理プ
ロセス24の処理は、各プロセス21,22のロギング
ハンドラ21a,22aの処理とは非同期に行うので、
アプリケーションプロセスとロギングプロセス24との
間で直接データの授受を行う必要がなく、システム全体
に対するロギング処理の影響を少なくすることができ
る。
If valid communication history information is not stored in step S12, the processing up to this point is skipped and the process proceeds to step S18. In step S18, it is determined whether or not the check of the shared memory 23 corresponding to all processes is completed. If there is any unchecked shared memory 23, the process returns to step S11 to check the next shared memory 23, If the check of the shared memory 23 has been completed, the process ends. Since the processing of the logging process 24 is performed asynchronously with the processing of the logging handlers 21a and 22a of the processes 21 and 22,
There is no need to directly exchange data between the application process and the logging process 24, and the effect of the logging process on the entire system can be reduced.

【0029】以上の処理によって、プロセス間の通信履
歴情報を採取して不揮発性記憶媒体(図1および図2に
示したHDD15又は外部装置のHDD25)に保存す
ることができる。この不揮発性記憶媒体においても、書
き込みアドレスの制御をリングバッファ形式で行えば、
限られた記憶容量であっても常に最新の通信履歴情報を
保存することができる。
Through the above processing, communication history information between processes can be collected and stored in a nonvolatile storage medium (HDD 15 shown in FIGS. 1 and 2 or HDD 25 of an external device). In this nonvolatile storage medium, if the write address is controlled in a ring buffer format,
Even with limited storage capacity, the latest communication history information can always be stored.

【0030】なお、この実施形態では、プロセス間通信
履歴採取機能を有する情報処理装置を1つのパーソナル
コンピュータとして構成し、通信履歴情報の取得対象で
あるアプリケーションプロセスと、ロギング処理プロセ
スを同一のパーソナルコンピュータ上で動作させる例で
説明したが、この2つが別々の装置で動作する構成にし
てもよい。
In this embodiment, the information processing apparatus having an inter-process communication history collection function is configured as one personal computer, and the application process from which the communication history information is acquired and the logging process are the same personal computer. Although the above description has been made with reference to the example in which the operation is performed, the configuration may be such that the two operate in separate devices.

【0031】例えば、コピー,FAX,スキャナ等の複
数の機能を備えたデジタル複合機中で動作するアプリケ
ーションのプロセス間通信履歴を、このデジタル複合機
とネットワーク接続されたパーソナルコンピュータ中で
動作するロギング処理プロセスによって読み出して保存
するようにしてもよい。この場合、共有メモリは、アプ
リケーションプロセスとロギング処理プロセスのどちら
からでもアクセス可能な場所であれば、どこに設けても
構わない。
For example, an inter-process communication history of an application operating in a digital multi-function peripheral having a plurality of functions such as copying, facsimile, and scanner is recorded in a logging process operating in a personal computer connected to the digital multi-function peripheral through a network. The information may be read and stored by a process. In this case, the shared memory may be provided anywhere as long as it can be accessed from either the application process or the logging process.

【0032】また、この発明によるプロセス間通信履歴
採取機能を有する情報処理装置は、必ずしもパーソナル
コンピュータとして構成する必要はなく、例えば上記の
デジタル複合機等の機能ブロックとして構成してもよ
い。ロギングハンドラを含むアプリケーションプロセス
とロギング処理プロセスを実行でき、その両者からアク
セスできる共有メモリと、最終的に通信履歴情報を保存
する不揮発性記憶媒体にアクセスする手段を備えていれ
ば足りる。ただしこの場合には、採取した通信履歴情報
を解析する手段が別途必要となる。
Further, the information processing apparatus having the inter-process communication history collecting function according to the present invention does not necessarily need to be configured as a personal computer, but may be configured as a functional block of the above-described digital multifunction peripheral or the like. It suffices to have an application process including a logging handler and a logging process process, a shared memory accessible from both, and a means for accessing a non-volatile storage medium that ultimately stores communication history information. However, in this case, a means for analyzing the collected communication history information is separately required.

【0033】以上説明した実施形態では、通信履歴情報
のみを採取して保存する例について説明したが、単に通
信履歴情報のみを記録するだけでなく、その解析を支援
する情報を同時に採取して保存しておけば、後の解析を
容易に行うことができる。そこで、通信履歴情報と共に
解析支援情報も採取して記録する例について説明する。
In the embodiment described above, an example in which only the communication history information is collected and stored is described. However, not only the communication history information is simply recorded, but also information for supporting the analysis is simultaneously collected and stored. If this is done, later analysis can be easily performed. Therefore, an example in which analysis support information is collected and recorded together with communication history information will be described.

【0034】まず、図1に示したロギング処理プロセス
24は、通信履歴データの取得開始時及び、一定量のデ
ータをHDD15等の不揮発性記憶媒体に書き込む毎
に、アプリケーションプロセスを実行している装置にお
けるデータ形式を示すサンプルデータをその不揮発性記
憶媒体に記録する。このデータ形式を示すサンプルデー
タは、ワードアラインメントやエンディアン(上位バイ
トと下位バイトの並びのことで、メモリに格納するとき
に上位バイトから格納するものをビックエンディアン、
下位バイトから格納するものをリトルエンディアンとい
う)等、装置依存のデータ形式を示すデータであり、こ
れらのデータをバイトストリームのパケットとして生成
する。
First, the logging processing process 24 shown in FIG. 1 executes an application process at the start of acquisition of communication history data and each time a fixed amount of data is written to a nonvolatile storage medium such as the HDD 15. Is recorded in the non-volatile storage medium. Sample data indicating this data format is word alignment or endian (a sequence of high-order bytes and low-order bytes.
This is data indicating a device-dependent data format, such as data stored from the lower byte (little endian). These data are generated as a packet of a byte stream.

【0035】ロギングハンドラを含むアプリケーション
プロセスを実行して通信履歴情報を生成する装置と、そ
の通信履歴情報を解析する装置が異なる場合、装置依存
のデータ形式が不整合となることがあるが、このように
データ形式を示すデータをあらかじめ保存しておくこと
により、解析時に容易にデータ形式を変換して不整合問
題を回避することができる。
When a device that generates communication history information by executing an application process including a logging handler is different from a device that analyzes the communication history information, the device-dependent data format may be inconsistent. By storing the data indicating the data format in advance as described above, the data format can be easily converted at the time of analysis, and the inconsistency problem can be avoided.

【0036】また、ロギング処理プロセス24は、一定
時間毎に、各プロセスのID番号とそのプロセスの名前
を対応させるデータを生成し、パケットデータとして整
形して不揮発性記憶媒体に書き込む。ここでいう一定時
間は、共有メモリ23をチェックする間隔と同じである
必要はなく、システム全体への負荷を考慮して例えば5
00msecあるいはそれ以上にするとよい。
The logging processing process 24 generates data for associating the ID number of each process with the name of the process at regular intervals, shapes the data as packet data, and writes it to a nonvolatile storage medium. The certain time here does not need to be the same as the interval at which the shared memory 23 is checked.
It is good to be 00 msec or more.

【0037】システム上では、プロセスはID番号によ
って管理されるため、ロギングハンドラが生成する通信
履歴情報でも、プロセスはID番号によって表現され
る。しかし、ID番号では各プロセスがどのような機能
のプロセスなのかわかりにくい。そこで、このようにプ
ロセスのID番号と名前を対応させるデータを通信履歴
情報と共に保存しておくことにより、解析時にプロセス
をプロセス名で表現することができ、わかりやすい表示
を行うことができる。
In the system, processes are managed by ID numbers, so even in the communication history information generated by the logging handler, the processes are represented by ID numbers. However, it is difficult to understand what function each process has with the ID number. Thus, by storing the data that associates the process ID number and the name together with the communication history information, the process can be represented by the process name at the time of analysis, and the display can be easily understood.

【0038】さらに、ロギング処理プロセス24は、シ
ステム全体におけるプロセスの存在状況を一定時間間隔
でチェックし、前回の状況から変化した場合、プロセス
が生成または消滅したものとして、その情報をパケット
として整形して不揮発性記憶媒体に書き込む。通信履歴
情報を解析する際に、この情報を時系列に沿って調べる
ことによって、プロセスの生成/消滅の履歴を把握する
ことができ、それを解析を補助するデータとして用いる
ことができる。ここまでに説明した各データは、種類毎
に別ファイルとして保存してもよいが、パケットにデー
タの種類を示す識別子を付加して同じファイルに続けて
保存することもできる。
Further, the logging process 24 checks the status of the process in the entire system at regular time intervals, and if the status has changed from the previous status, determines that the process has been created or disappeared and shapes the information as a packet. To write to the non-volatile storage medium. When analyzing the communication history information, by examining this information in a time series, it is possible to grasp the history of the generation / deletion of the process, and to use the history as data for assisting the analysis. Each of the data described so far may be stored as a separate file for each type, but it is also possible to add an identifier indicating the type of data to the packet and store it in the same file.

【0039】ところで、この実施形態では、共有メモリ
23への書込みがオーバフローした場合の処理を用意し
ているが、オーバフローが起こると通信履歴情報の一部
が失われてしまうため望ましくない。オーバフローが起
こらないようにするには、ロギング処理プロセスの実行
頻度を高めればよいが、むやみに高めてもシステム全体
への負荷が大きくなる。また、共有メモリ23を大容量
で確保してもよいが、あまり大きくしすぎるとワークエ
リアとして使えるRAM12の容量が減ってしまう。そ
こで、共有メモリ23の容量とロギング処理プロセス2
4の起動頻度を、用途や動作環境に応じて適切に設定す
るとよい。
By the way, in this embodiment, a process is prepared when the writing to the shared memory 23 overflows. However, if the overflow occurs, a part of the communication history information is lost, which is not desirable. To prevent the overflow from occurring, the frequency of executing the logging process may be increased. However, even if the frequency is increased unnecessarily, the load on the entire system increases. Further, the shared memory 23 may be secured with a large capacity, but if it is too large, the capacity of the RAM 12 that can be used as a work area decreases. Therefore, the capacity of the shared memory 23 and the logging process 2
It is preferable to set the activation frequency of 4 appropriately according to the application and the operating environment.

【0040】また、データ形式や、プロセスIDとプロ
セス名の対応や、プロセスの生成消滅履歴を記録するタ
イミングも、短かすぎると負荷が大きくなりすぎるし、
長すぎるとデータの有用性が低下するので、やはり適切
に設定するとよい。このような、共有メモリやロギング
処理プロセスの動作タイミングの設定は、指定された書
式で作成されたテキストファイルによって行うことがで
きる。
Also, if the data format, the correspondence between the process ID and the process name, and the timing of recording the process generation / deletion history are too short, the load becomes too large.
If the length is too long, the usefulness of the data is reduced. Such setting of the operation timing of the shared memory and the logging process can be performed by a text file created in a specified format.

【0041】利用者は、例えば予め指定された書式によ
って共有メモリのキーコード及びサイズ、ロギング処理
プロセスによる共有メモリリード間隔、プロセスの情報
を取得する間隔等のパラメータを指定したテキストファ
イルを作成し、所定のファイル名をつけて所定の場所に
保存しておく。それにより、このプロセス間通信履歴採
取機能を有する情報処理装置が、自動的にそのファイル
を参照して動作パラメータを設定することができるた
め、簡単にパラメータの設定を行うことができる。
The user creates a text file in which parameters such as a key code and size of the shared memory, an interval for reading the shared memory by the logging process, an interval for acquiring process information, and the like are specified in a format specified in advance. Give a predetermined file name and save it in a predetermined location. This allows the information processing apparatus having the inter-process communication history collection function to automatically set the operation parameters by referring to the file, so that the parameters can be easily set.

【0042】さらに、このテキストファイルの内容を適
宜変更するだけで、システムの設定を変更できるため、
パラメータを用途や環境に応じた適切な値に調節するこ
とが容易であり、装置全体に対する通信履歴情報取得処
理の負荷をより少なくした状態で必要なデータの採取を
行うことができる。
Further, since the system settings can be changed only by appropriately changing the contents of the text file,
It is easy to adjust the parameters to appropriate values according to the application and environment, and it is possible to collect necessary data while reducing the load of the communication history information acquisition processing on the entire apparatus.

【0043】[0043]

【発明の効果】以上説明してきたように、この発明によ
る情報処理装置、およびそれによるプロセス間通信履歴
採取方法によれば、特別なユーティリティプログラムを
使用することなく、アプリケーション実行時のプロセス
間通信履歴を採取することが可能になる。したがって、
開発時の動作確認やデバッグ、および製品テスト時のシ
ステムの異常終了の原因解析等に利用することにより、
開発効率の向上を図ることができる。
As described above, according to the information processing apparatus and the inter-process communication history collection method according to the present invention, the inter-process communication history at the time of application execution can be obtained without using a special utility program. Can be collected. Therefore,
By using it to check the operation and debug during development, and to analyze the cause of abnormal termination of the system during product testing,
Development efficiency can be improved.

【0044】また、外部機器の不揮発性記憶手段に通信
履歴情報を転送して記憶できるようにすれば、大容量の
不揮発性記憶媒体を備えていない装置においても、この
発明を利用することが可能になる。さらに、データ形式
を示すサンプルデータを通信履歴情報と共に保存するこ
とにより、OA機器等で採取した通信履歴情報をパーソ
ナルコンピュータで解析する場合等に、ハード的なアー
キテクチャの差異によるワードアラインメント、エンデ
ィアン等の不整合の問題を回避することができる。
Further, if the communication history information can be transferred to and stored in the non-volatile storage means of the external device, the present invention can be used in an apparatus which does not have a large-capacity non-volatile storage medium. become. Further, by storing sample data indicating the data format together with the communication history information, when analyzing communication history information collected by an OA device or the like with a personal computer, a word alignment, endian, or the like due to a difference in hardware architecture can be obtained. Mismatch problems can be avoided.

【0045】また、プロセスのID番号とプロセス名を
対応させるデータを通信履歴情報と共に保存することに
より、解析時にプロセスをプロセス名で表示することが
可能になり、より分かり易いデータを解析することが可
能になる。さらに、プロセスの生成及び消滅を示すデー
タを通信履歴情報と共に保存することにより、プロセス
の生成消滅履歴によってもアプリケーションの動作状況
を調べることが可能になり、通信履歴情報と併せて使用
することでより精度の高い解析が可能になる。
Also, by storing data for associating a process ID number with a process name together with communication history information, it is possible to display a process by a process name at the time of analysis, and to analyze data that is easier to understand. Will be possible. Furthermore, by storing data indicating the generation and extinction of the process together with the communication history information, it is possible to check the operation status of the application also from the generation and extinction history of the process. Highly accurate analysis becomes possible.

【0046】さらにまた、テキストファイルの内容によ
ってシステムの設定を行うようにすれば、通信履歴情報
採取に関するシステムリソースの割り付けを簡単に変更
することができ、システム全体に及ぼす影響を必要最低
限に抑えた情報採取が行えるので、より精度の高い解析
が可能となる。
Furthermore, if the system is set according to the contents of the text file, the allocation of system resources for collecting communication history information can be easily changed, and the effect on the entire system can be minimized. Since more accurate information can be collected, more accurate analysis is possible.

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

【図1】図2に示す情報処理装置によるプロセス間通信
履歴採取機能および採取方法の一例を説明するための機
能ブロック図である。
FIG. 1 is a functional block diagram for explaining an example of an inter-process communication history collection function and a collection method by the information processing apparatus shown in FIG. 2;

【図2】この発明によるプロセス間通信履歴採取機能を
有する情報処理装置の一実施形態の構成を示すブロック
図である。
FIG. 2 is a block diagram showing a configuration of an embodiment of an information processing apparatus having an inter-process communication history collection function according to the present invention.

【図3】図1に示したアプリケーションプロセスの動作
例を示すフローチャートである。
FIG. 3 is a flowchart illustrating an operation example of the application process illustrated in FIG. 1;

【図4】同じくロギング処理プロセスの動作例を示すフ
ローチャートである。
FIG. 4 is a flowchart showing an operation example of a logging process.

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

11:CPU 12:ROM 13:RAM 14:表示装置 15:HDD 16:LANI/F 17:入力装置 18:システムバス 19:外部機器 21:第1のプロセス 22:第2のプロセス 21a,22a:ロギングハンドラ 23:共有メモリ 24:ロギング処理プロセス 25:外部装置のHDD 11: CPU 12: ROM 13: RAM 14: Display device 15: HDD 16: LAN I / F 17: Input device 18: System bus 19: External device 21: First process 22: Second process 21a, 22a: Logging Handler 23: Shared memory 24: Logging process 25: HDD of external device

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセスからなるアプリケーショ
ンプログラムによる処理を実行する情報処理装置であっ
て、 前記各プロセスがそれぞれデータを書き込み可能で、フ
ァーストイン・ファーストアウトで読み書きの制御を行
う複数の共有メモリと、 前記各プロセスが通信データを受信する毎に、該通信デ
ータを参照してその通信データの転送状況に関する情報
を抽出する転送情報抽出手段と、 前記転送状況に関する情報に前記プロセスによる前記通
信データの受信時刻を含む受信状況に関する情報を付加
して通信履歴情報を生成する受信情報付加手段と、 前記通信履歴情報を前記共有メモリに書き込む手段と、 前記各共有メモリに一定時間間隔でアクセスして、前記
通信履歴情報が書き込まれている場合には、その通信履
歴情報を読み出して不揮発性記憶媒体に書き込む通信履
歴情報保存手段とを有することを特徴とする情報処理装
置。
1. An information processing apparatus for executing a process by an application program including a plurality of processes, wherein each of the processes is capable of writing data and controlling a read / write operation on a first-in first-out basis. Transfer information extracting means for extracting information on a transfer status of the communication data by referring to the communication data each time the process receives the communication data; and transmitting the communication data by the process to the information on the transfer status. Receiving information adding means for generating communication history information by adding information relating to the reception status including the reception time of the above, means for writing the communication history information to the shared memory, and accessing each of the shared memories at fixed time intervals If the communication history information has been written, the communication history information is read. The information processing apparatus characterized by having a communication history information storage means for writing into the nonvolatile storage medium by.
【請求項2】 請求項1記載の情報処理装置において、 不揮発性記憶手段を備える他の装置にデータを転送する
通信手段を備え、 前記通信履歴情報保存手段は、前記不揮発性記憶媒体に
書き込むべき情報を書き込むことができない場合に、前
記通信手段を介して前記他の装置の不揮発性記憶手段に
該情報を書き込む手段を有することを特徴とする情報処
理装置。
2. The information processing apparatus according to claim 1, further comprising a communication unit that transfers data to another device including a nonvolatile storage unit, wherein the communication history information storage unit should write the data in the nonvolatile storage medium. An information processing apparatus comprising: means for writing the information to a non-volatile storage means of the other device via the communication means when the information cannot be written.
【請求項3】 請求項1又は2記載の情報処理装置にお
いて、 前記通信履歴情報保存手段が、前記通信履歴情報のデー
タ形式を示すサンプルデータを前記不揮発性記憶媒体に
書き込む手段を備えることを特徴とする情報処理装置。
3. The information processing apparatus according to claim 1, wherein said communication history information storage means includes means for writing sample data indicating a data format of said communication history information to said nonvolatile storage medium. Information processing device.
【請求項4】 請求項1乃至3のいずれか一項に記載の
情報処理装置において、 前記通信履歴情報保存手段が、前記プロセスのID番号
と該プロセスの名前とを対応させるデータを前記不揮発
性記憶媒体に書き込む手段を備えることを特徴とする情
報処理装置。
4. The information processing apparatus according to claim 1, wherein the communication history information storage unit stores the data that associates an ID number of the process with a name of the process in the nonvolatile memory. An information processing apparatus comprising means for writing to a storage medium.
【請求項5】 請求項1乃至4のいずれか一項に記載の
情報処理装置において、 前記通信履歴情報保存手段が、前記プロセスの生成及び
消滅を示すデータを前記不揮発性記憶媒体に書き込む手
段を備えることを特徴とする情報処理装置。
5. The information processing apparatus according to claim 1, wherein the communication history information storage unit writes the data indicating the generation and extinction of the process into the non-volatile storage medium. An information processing apparatus comprising:
【請求項6】 請求項1乃至5のいずれか一項に記載の
情報処理装置において、 動作設定を逐次変更可能なテキストファイルのデータに
よって行う手段を設けたことを特徴とする情報処理装
置。
6. The information processing apparatus according to claim 1, further comprising means for performing an operation setting using data of a text file capable of sequentially changing operation settings.
【請求項7】 各プロセスに割付可能な、ファーストイ
ン・ファーストアウトの読み書き制御を行う共有メモリ
を備えた情報処理装置上で、複数のプロセスからなるア
プリケーションプログラムを動作させる場合のプロセス
間通信履歴採取方法であって、 通信履歴取得対象のプロセスが通信データを受信した場
合に、該プロセス内部で該通信データを参照してデータ
転送状況に関するデータを抽出し、該通信データの受信
時刻を含む受信状況に関するデータを付加して通信履歴
情報を生成し、該通信履歴情報を前記共有メモリに書き
込む処理を行い、 一方で、前記通信履歴取得対象のプロセスとは別の通信
履歴情報保存プロセスが、一定時間間隔で前記共有メモ
リに記憶された前記通信履歴情報を読み出し、その通信
履歴情報を大容量の不揮発性記憶媒体に保存することを
特徴とするプロセス間通信履歴採取方法。
7. An inter-process communication history collection in a case where an application program including a plurality of processes is operated on an information processing apparatus having a shared memory which can be assigned to each process and performs first-in first-out read / write control. A method comprising: when a communication history acquisition target process receives communication data, extracts data related to a data transfer status by referring to the communication data inside the process, and includes a reception status including a reception time of the communication data. To generate the communication history information by adding data on the communication history information, and write the communication history information to the shared memory. On the other hand, a communication history information storage process different from the communication history acquisition target process is performed for a certain period of time. The communication history information stored in the shared memory is read out at intervals, and the communication history information is Interprocess communication history collecting method characterized by storing sexual storage medium.
【請求項8】 請求項7記載のプロセス間通信履歴採取
方法において、 前記通信履歴情報保存プロセスは、前記通信履歴情報を
内蔵の不揮発性記憶媒体に書き込むことができない場合
に、その通信履歴情報を他の情報処理装置の不揮発性記
憶媒体に書き込むことを特徴とするプロセス間通信履歴
採取方法。
8. The method for collecting communication history between processes according to claim 7, wherein the communication history information storing process stores the communication history information when the communication history information cannot be written to a built-in nonvolatile storage medium. A method for collecting an inter-process communication history, the method comprising writing to a non-volatile storage medium of another information processing apparatus.
【請求項9】 請求項7又は8記載のプロセス間通信履
歴採取方法において、 前記通信履歴情報保存プロセスは、前記通信履歴情報の
データ形式を示すサンプルデータも前記不揮発性記憶媒
体に書き込むことを特徴とするプロセス間通信履歴採取
方法。
9. The inter-process communication history collection method according to claim 7, wherein the communication history information storing process also writes sample data indicating a data format of the communication history information to the nonvolatile storage medium. Interprocess communication history collection method to be used.
【請求項10】 請求項7乃至9のいずれか一項に記載
のプロセス間通信履歴採取方法において、 前記通信履歴情報保存プロセスは、通信履歴取得対象の
各プロセスのID番号と該プロセスの名前とを対応させ
るデータも前記不揮発性記憶媒体に書き込むことを特徴
とするプロセス間通信履歴採取方法。
10. The inter-process communication history collection method according to claim 7, wherein the communication history information storage process includes an ID number of each process for which a communication history is to be acquired, a name of the process, and A method for collecting the inter-process communication history, wherein data for making the correspondence is also written in the non-volatile storage medium.
【請求項11】 請求項7乃至10のいずれか一項に記
載のプロセス間通信履歴採取方法において、 前記通信履歴情報保存プロセスは、プロセスの生成及び
消滅を示すデータも前記不揮発性記憶媒体に書き込むこ
とを特徴とするプロセス間通信履歴採取方法。
11. The inter-process communication history collection method according to claim 7, wherein the communication history information storing process also writes data indicating generation and disappearance of the process in the non-volatile storage medium. A method for collecting an inter-process communication history, characterized in that:
【請求項12】 請求項7乃至11のいずれか一項に記
載のプロセス間通信履歴採取方法において、 前記通信履歴情報取得対象のプロセス又は前記通信履歴
情報保存プロセスの動作の設定は、逐次変更可能なテキ
ストファイルに記載されたパラメータによって行うこと
を特徴とするプロセス間通信履歴採取方法。
12. The inter-process communication history collection method according to claim 7, wherein the setting of the operation of the communication history information acquisition target process or the operation of the communication history information storage process is sequentially changeable. A method for collecting inter-process communication history, wherein the method is performed by using parameters described in a simple text file.
JP2000336393A 2000-11-02 2000-11-02 Information processor and its inter-process communication history acquiring method Pending JP2002140211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000336393A JP2002140211A (en) 2000-11-02 2000-11-02 Information processor and its inter-process communication history acquiring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000336393A JP2002140211A (en) 2000-11-02 2000-11-02 Information processor and its inter-process communication history acquiring method

Publications (1)

Publication Number Publication Date
JP2002140211A true JP2002140211A (en) 2002-05-17

Family

ID=18811974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000336393A Pending JP2002140211A (en) 2000-11-02 2000-11-02 Information processor and its inter-process communication history acquiring method

Country Status (1)

Country Link
JP (1) JP2002140211A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009265823A (en) * 2008-04-23 2009-11-12 Yokogawa Digital Computer Corp Information terminal device and log data acquisition program
JP2010205194A (en) * 2009-03-06 2010-09-16 Fujitsu Ltd Control circuit, information processing apparatus, and method for controlling information processing apparatus
JP2016115296A (en) * 2014-12-18 2016-06-23 日本電気株式会社 Process management apparatus, method, and program
JP2019125321A (en) * 2018-01-19 2019-07-25 日本電気株式会社 Communication log recording apparatus, communication log recording method, and communication log recording program
CN112835853A (en) * 2020-12-31 2021-05-25 北京聚云科技有限公司 Data processing type determination method and device
JP2022177959A (en) * 2021-05-19 2022-12-02 株式会社ユニバーサルエンターテインメント game machine
JP2022177956A (en) * 2021-05-19 2022-12-02 株式会社ユニバーサルエンターテインメント game machine

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009265823A (en) * 2008-04-23 2009-11-12 Yokogawa Digital Computer Corp Information terminal device and log data acquisition program
JP2010205194A (en) * 2009-03-06 2010-09-16 Fujitsu Ltd Control circuit, information processing apparatus, and method for controlling information processing apparatus
JP2016115296A (en) * 2014-12-18 2016-06-23 日本電気株式会社 Process management apparatus, method, and program
JP2019125321A (en) * 2018-01-19 2019-07-25 日本電気株式会社 Communication log recording apparatus, communication log recording method, and communication log recording program
JP7073737B2 (en) 2018-01-19 2022-05-24 日本電気株式会社 Communication log recording device, communication log recording method, and communication log recording program
CN112835853A (en) * 2020-12-31 2021-05-25 北京聚云科技有限公司 Data processing type determination method and device
CN112835853B (en) * 2020-12-31 2024-03-22 北京聚云科技有限公司 Data processing type determining method and device
JP2022177959A (en) * 2021-05-19 2022-12-02 株式会社ユニバーサルエンターテインメント game machine
JP2022177956A (en) * 2021-05-19 2022-12-02 株式会社ユニバーサルエンターテインメント game machine
JP7360193B2 (en) 2021-05-19 2023-10-12 株式会社ユニバーサルエンターテインメント gaming machine
JP7360195B2 (en) 2021-05-19 2023-10-12 株式会社ユニバーサルエンターテインメント gaming machine

Similar Documents

Publication Publication Date Title
US5872909A (en) Logic analyzer for software
JP4209959B2 (en) Apparatus and method for high frequency sampling of performance counter
US8978017B2 (en) Profiling operating context
US7844860B2 (en) Apparatus and computer program product in a processor for performing in-memory tracing using existing communication paths
US7437617B2 (en) Method, apparatus, and computer program product in a processor for concurrently sharing a memory controller among a tracing process and non-tracing processes using a programmable variable number of shared memory write buffers
JP2001119403A (en) Usage pattern analysis method for data transfer resource and usage pattern analyzer
JPH0844680A (en) Collecting method for monitor data in parallel computer system
US7523252B2 (en) Data control apparatus functioning as a USB mass storage device
US20090276205A1 (en) Stablizing operation of an emulated system
JP2002140211A (en) Information processor and its inter-process communication history acquiring method
JP2001034508A (en) Memory dump collection method and its execution device, and recording medium recording memory dump collection program
US6718405B2 (en) Hardware chain pull
US20140026139A1 (en) Information processing apparatus and analysis method
JPH11296414A (en) Data storing device and record medium
WO2012023318A1 (en) Image processing device, image processing method, image processing program, and recording medium
JPH10333938A (en) Recording and display method for execution log in computer system, computer system using the method and recording medium for recording the programmed method
JP2000163300A (en) Backup system
JP2008123438A (en) Computer system, program information collection method, and computer program
JPH11265397A (en) Storage medium, information accessing method and its device
JP2001005699A (en) Computer system and method for sampling fault information
JPH08212113A (en) Error information collection test system
JPS6259816B2 (en)
CN114420263A (en) Medical image data loading method, device and system
JP2018036799A (en) Information processing device and control method thereof
JP3368378B2 (en) Storage content management method and data processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041025

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070724

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080212

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080708