JPH02207697A - Electronic exchange system - Google Patents
Electronic exchange systemInfo
- Publication number
- JPH02207697A JPH02207697A JP2927889A JP2927889A JPH02207697A JP H02207697 A JPH02207697 A JP H02207697A JP 2927889 A JP2927889 A JP 2927889A JP 2927889 A JP2927889 A JP 2927889A JP H02207697 A JPH02207697 A JP H02207697A
- Authority
- JP
- Japan
- Prior art keywords
- task
- data
- trace data
- trace
- time
- 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
Links
Landscapes
- Monitoring And Testing Of Exchanges (AREA)
- Exchange Systems With Centralized Control (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明はソフトウェアトレース機能を改善してデバッグ
を行い易くした電子交換機システムに関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an electronic switching system that has improved software tracing functions to facilitate debugging.
(従来の技術)
構内交換機は電子化による高機能化により本来の電話交
換動作の他、ユーザの求める種々のサービス機能を付加
できるようになり、ますます便利になっている。ところ
で、このような各種機能はソフトウェアにより実現する
ようにしており、そのソフトウェアの開発に当っては、
まずはじめに開発した目的のプログラムを交換機に接続
したマンマシンインタフェースであるデータや指令の入
出力操作用の保守ターミカルより該プログラムを実機に
セットしてテストランし、・動作を確認した後、実用に
供するようにしている。そのため、このプログラムを実
行する交換機の制御の中枢を司る制御部にはトレースモ
ードでプログラムを実施するデバッグモードがあり、こ
のモードを実施させるべく保守ターミナルから指令を与
え、内線電話機等により上記開発プログラムを実施させ
てみる。(Prior Art) Private branch exchanges have become more and more convenient as they have become more sophisticated through computerization, and have become capable of adding various service functions desired by users in addition to their original telephone exchange operations. By the way, these various functions are realized by software, and when developing that software,
First, we set the target program we had developed on the actual machine through a maintenance terminal, which is a man-machine interface connected to the exchange, for input/output operations of data and commands, and conducted a test run.After confirming the operation, we put it into practical use. I am trying to provide it. Therefore, the control unit, which is the center of control of the exchange that executes this program, has a debug mode that executes the program in trace mode.In order to execute this mode, commands are given from the maintenance terminal, and the above development program is executed using an extension telephone, etc. Let's try implementing it.
ここで、従来の構内交換機におけるタスクトレース機能
は、各内線電話機、外線、各種端末の状態やソフトウェ
アが各種端末に対して実施した一連の仕事(以下、タス
クページと称する)を、各タスクベージ単位にトレース
する機能であり、各タスクページ単位のデータとしてタ
スクページがどの端末に対して作用したかを決定する端
末のデータと、該端末の現在の状態、タスクページのア
ドレス情報等を収集し、保守ターミナルを用いて該デー
タの編集、表示、印字装置への出力等を行い、バグ発生
時のバグ解析データとして利用するようにする。このよ
うな従来のシステムによると、バグ発生時点で各端末の
操作状況や状態、また、どのタスクページが実行された
かを容易に知ることができ、デバッグ効率を向上させる
ことができる。Here, the task trace function in conventional private branch exchanges records the status of each extension telephone, outside line, and various terminals, as well as a series of tasks (hereinafter referred to as task pages) performed by software on various terminals, in each task page. This is a tracing function that collects and maintains data for each task page, including terminal data that determines which terminal the task page acted on, the current status of the terminal, address information of the task page, etc. The data is edited, displayed, output to a printing device, etc. using a terminal, and is used as bug analysis data when a bug occurs. According to such a conventional system, it is possible to easily know the operation status and status of each terminal and which task page has been executed at the time when a bug occurs, and debugging efficiency can be improved.
(発明が解決しようとする課題)
このように、構内交換機はソフトウェアにより各種機能
を実現しているが、開発した新機能等のソフトウェアを
デバッグするため、タスクトレース機能を持たせである
。従来の構内交換機に持たせたタスクトレース機能は、
各内線電話機、外線、各種端末の状態やソフトウェアが
各種端末に対して実施したタスクページ(一連の仕事)
を、各タスクページ単位にトレースする機能である。(Problems to be Solved by the Invention) As described above, the private branch exchange implements various functions using software, but it is equipped with a task trace function in order to debug software such as new functions developed. The task trace function provided in conventional private branch exchanges is
The status of each extension telephone, external line, and various terminals, and the task page (a series of tasks) performed by the software on various terminals.
This is a function that traces each task page.
そして、各タスクベージ単位のデータとしてタスクペー
ジがどの端末に対して作用したかを決定する端末のデー
タと、該端末の現在の状態、タスクページのアドレス等
を収集し、保守ターミナルを用いて該データの編集、表
示等を行い、バグ発生時のバグ解析データとして使用で
きる。このような従来のシステムによると、バグ発生時
点で各端末の操作状況や状態、また、どのタスクページ
が実行されたかを容易に知ることができ、デバッグ効率
を向上させることができる。Then, the terminal data that determines which terminal the task page acted on, the current status of the terminal, the address of the task page, etc. are collected as data for each task page, and the data is collected using the maintenance terminal. You can edit, display, etc., and use it as bug analysis data when a bug occurs. According to such a conventional system, it is possible to easily know the operation status and status of each terminal and which task page has been executed at the time when a bug occurs, and debugging efficiency can be improved.
しかし、各タスクページには複数のタスクが収容されて
おり、例えば、システムダウン等の重大なバグ発生時に
は最終的にどのタスク中でダウンしたかを判断すること
が困難である。また、カスタマサイトで発生したバグを
再現するため、タスクトレースデータを収集し、解析す
る場合に、タスクページの実行時刻を知るためのデータ
が無いため、膨大な量のタスクトレースデータを全て調
査しなければならず、バグの再現に時間がかかると云う
問題があった。However, each task page accommodates a plurality of tasks, and for example, when a serious bug such as a system failure occurs, it is difficult to determine which task ultimately caused the failure. In addition, when collecting and analyzing task trace data in order to reproduce a bug that occurred on a customer site, there is no data to know the execution time of the task page, so we have to investigate all the huge amount of task trace data. The problem was that it took a long time to reproduce the bug.
そこで、この発明の目的とするところは、実行されたタ
スクの総数とタスクページを実行した時刻情報を収集保
存することができるようにした電子交換機システムを提
供することにある。SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an electronic switching system that can collect and store information on the total number of executed tasks and the time when a task page was executed.
[発明の構成]
(課題を解決するための手段)
上記目的を達成するため、本発明は次のように構成する
。すなわち、ソフトウェアにより所要の交換機動作を実
施するとともに当該ソフトウェアの実行状態遷移をトレ
ースするトレース機能を有する電子交換機システムに、
おいて、電子交換機には時刻情報を発生する時計手段と
、実行状態遷移トレースデータの1トレースデータ単位
に前記トレースした時刻の↑h報を前記時計手段より得
て保存する時刻データ記録手段と、実行したタスクの総
数情報を保存するタスクカウント手段と、各トレースデ
ータ単位にトレースした時刻の情報とタスクの総数情報
とを実行状態遷移トレースしたデータとともに外部に送
信する送信手段とを設けて構成し、また、この電子交換
機に接続して使用する出力装置として、該送信データを
受信し、ファイルに保存するトレースデータ保存手段と
、トレースデータが保存されている該ファイルを編集し
出力手段に出力するトレースデータ編集手段とを有する
装置を用いて構成する。[Configuration of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention is configured as follows. In other words, an electronic switching system that has a trace function that executes required switching operations using software and traces the execution state transition of the software,
The electronic exchange includes a clock means for generating time information, and a time data recording means for obtaining and storing ↑h information of the traced time from the clock means for each trace data unit of execution state transition trace data. The present invention is configured by providing a task counting means for storing information on the total number of executed tasks, and a transmitting means for externally transmitting information on tracing time and information on the total number of tasks for each trace data unit together with the execution state transition traced data. Also, as an output device connected to this electronic exchange and used, there is a trace data storage means for receiving the transmitted data and saving it in a file, and a trace data storage means for editing the file in which the trace data is stored and outputting it to the output means. The trace data editing means is configured using a device having a trace data editing means.
(作 用)
このような構成において、電子交換機ではタスクベージ
実行時に従来のタスクトレースデータ収集後、電子交換
機が有する時計手段より時刻データを読み、該時刻デー
タをフォーマット変換し、タスクトレースデータ中の特
定データ部に時刻データを記録手段を用いて記録する。(Function) In such a configuration, the electronic exchange, after collecting conventional task trace data when executing the task page, reads the time data from the clock means of the electronic exchange, converts the format of the time data, and identifies the specific information in the task trace data. Time data is recorded in the data section using a recording means.
次にタスク・トレース・データ中のタスクカウント部を
クリアし、その後、同タスクベージ中のタスクを実行す
る毎にタスクカウント手段はタスクカウンタをカウント
アツプする。次にタスクカウンタと時刻データ部を外部
に送信する機能が追加された送信手段を用いて全てのタ
スク・トレース・データを出力装置へ送信する。出力装
置では送信されて来るデータを受信手段を用いて全て受
信し、トレースデータファイルとして保存し、トレース
データ編集手段により当該トレースデータファイルを編
集し、タスクトレースファイルとして出力する。Next, the task count section in the task trace data is cleared, and thereafter, each time a task in the same task page is executed, the task count means counts up the task counter. Next, all the task trace data is sent to the output device using a sending means that has an added function of sending the task counter and time data part to the outside. The output device receives all transmitted data using a receiving means, stores it as a trace data file, edits the trace data file using a trace data editing means, and outputs it as a task trace file.
このように、本発明は従来のタスクトレースデータに新
たに実行タスク総数情報を管理するタスクカウンタと呼
ばれるデータと、タスクの実行時刻を保存する時刻デー
タとを追加しタスクベージ実行毎に現在時刻情報を得、
時刻データ部に書込むようにし、且つ上記タスクカウン
タをタスクベージ中のタスク実行毎にカウントアツプす
るようにし、これらによって収集された上記時刻データ
とタスクカウント値を従来のタスクトレースデータと共
に出力装置に送信するようにし、出方装置にはこれら送
信されて来た上記時刻データとタスクカウントデータを
含む全タスクトレースデータを受信し、ファイルに保存
し、該ファイルを編集し従来のタスクトレースデータに
時刻データとタスクカウンタを追加した全タスクトレー
スファイルを作成し、出力する構成とするものである。In this way, the present invention adds data called a task counter that manages information on the total number of executed tasks to conventional task trace data, and time data that stores the execution time of tasks, so that the current time information is updated every time a task page is executed. Gain,
The task counter is incremented each time a task is executed during the task page, and the time data and task count value thus collected are sent to the output device along with conventional task trace data. The output device receives all the task trace data including the above-mentioned time data and task count data, saves it in a file, edits the file, and adds time data to the conventional task trace data. The configuration is such that a trace file for all tasks is created and output with a task counter added.
これにより、タスクベージ実行時刻とタスクカウンタと
を従来のタスクトレースデータとともに知ることができ
るようになるから、デバッグが容品になる。This makes it possible to know the task page execution time and task counter together with conventional task trace data, making debugging easier.
(実施例)
以下、本発明の一実施例について図面を参照して説明す
る。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図は本発明によるシステムの構成を示すブロック図
であり、図中1は交換回路、2は局線回路、3は内線回
路、4は制御部、5は主記憶部、6は外部記憶装置、7
はシステム時計、8は保守ターミナルである。FIG. 1 is a block diagram showing the configuration of a system according to the present invention, in which 1 is a switching circuit, 2 is a central office line circuit, 3 is an extension circuit, 4 is a control section, 5 is a main storage section, and 6 is an external storage. device, 7
is the system clock, and 8 is the maintenance terminal.
これらのうち、上記交換回路1は内線同士及び内線と外
線との通話路を形成するためのものであり、上記局線回
路2は局線とのインタフェースであり、着信検出や回線
捕捉のための直流ループ閉結等の制御を行うものである
。また、上記内線回路3は各内線毎に設けた接続インタ
フェース回路であり、交換回路1と各内線電話機との接
続インタフェースとなる。また、上記制御部4は上記交
換回路1の動作の制御をはじめ、内線電話機の制御等、
システム全体の制御を司るものである。Of these, the switching circuit 1 is for forming communication paths between extensions and between extensions and outside lines, and the office line circuit 2 is an interface with the office line, and is used for detecting incoming calls and capturing lines. This is used to control DC loop closure, etc. The extension circuit 3 is a connection interface circuit provided for each extension, and serves as a connection interface between the exchange circuit 1 and each extension telephone. The control unit 4 also controls the operation of the switching circuit 1, as well as the extension telephone, etc.
It is in charge of controlling the entire system.
主記憶部5は交換機としての制御を実施する上で必要な
各ソフトウェアやその実行に必要な種々の情報を記憶す
る等のために用いられるもので、制御部4はこの主記憶
部5の各種ソフトウェアを実行して交換機としての機能
を実現している。外部記憶装置6は保存用の各種ファイ
ルなどを記憶する例えば、磁気ディスク装置や光デイス
ク装置等による大容量の記録装置である。また、システ
ム時計7は交換機内部に設けられていて時間情報を発生
するものである。保守ターミナル8は制御部と交信する
ことのできるマンマシンψインタフェースであり、デー
タや指令を制御部に与えたり、制御部からの出力データ
を受信することのできる入/出力装置である。The main storage unit 5 is used to store various pieces of software necessary for controlling the exchange and various information necessary for its execution. It executes software and realizes the function as a switch. The external storage device 6 is a large-capacity storage device such as a magnetic disk device or an optical disk device that stores various files for storage. Further, a system clock 7 is provided inside the exchange and generates time information. The maintenance terminal 8 is a man-machine ψ interface that can communicate with the control section, and is an input/output device that can give data and commands to the control section and receive output data from the control section.
制御部4は第2図の機能ブロッーク図に示すように、タ
スクトレースを行った際に得られるトレースデータを収
集するタスクトレースデータ収集手段41.その収集し
たトレースデータの得られた時刻データを得て記録する
時刻データライト手段43、時刻データをシステム時計
7から得て時刻データライト手段43に与える時刻デー
タリード手段42、タスクトレースデータ中のタスクカ
ウンタ部を「0」にクリアするカウンタクリア手段44
、タスクカウンタ部をインクリメントするカウントアツ
プ手段45、収集したトレースデータを保守ターミナル
8に送信するトレースデータ送信手段4Bとを有してい
る。また、保守ターミナル8は同じく第2図の機能ブロ
ック図に示すように、制御部4から送信されてきたトレ
ースデータを受信するトレースデータ受信手段81.保
守ターミナル8における図示しないキーボード等からの
編集指令操作入力に対応して機能してトレースデータを
編集するトレースデータ編集手段82、トレースデータ
受信手段81が受信したトレースデータをファイルする
トレースデータファイル部83、タスクトレースファイ
ル84、外部プリンタである印字装置85を存する。As shown in the functional block diagram of FIG. 2, the control unit 4 includes a task trace data collection means 41 for collecting trace data obtained when performing task tracing. A time data write means 43 that obtains and records the time data obtained from the collected trace data, a time data read means 42 that obtains time data from the system clock 7 and provides it to the time data write means 43, and a task in the task trace data. Counter clearing means 44 for clearing the counter section to "0"
, a count-up means 45 for incrementing a task counter section, and a trace data transmitting means 4B for transmitting collected trace data to the maintenance terminal 8. Also, as shown in the functional block diagram of FIG. 2, the maintenance terminal 8 also includes trace data receiving means 81. which receives trace data transmitted from the control unit 4. A trace data editing means 82 functions to edit trace data in response to an edit command operation input from a keyboard (not shown) in the maintenance terminal 8, and a trace data file section 83 files the trace data received by the trace data receiving means 81. , a task trace file 84, and a printing device 85 which is an external printer.
第3図は本発明で作成される各種ファイルの一例を挙げ
たものである。図中(a)は最終的に作成されるタスク
トレースファイル84の出力例、(b)がタスクトレー
スデータの一単位を示すメモリデータ(1B進表記)
、(C)が保守ターミナル8側で保存されるトレースデ
ータファイル83の一単位を示すデータ(ASCIIコ
ード)である。FIG. 3 shows an example of various files created according to the present invention. In the figure, (a) is an output example of the task trace file 84 that is finally created, and (b) is memory data (1B notation) indicating one unit of task trace data.
, (C) is data (ASCII code) indicating one unit of the trace data file 83 saved on the maintenance terminal 8 side.
以上のような本システムの動作を次に説明する。本シス
テムは従来のタスクトレースデータに新たに実行タスク
総数情報を管理するタスクカウンタと呼ばれるデータと
、タスクの実行時刻を保存する時刻データとを追加しタ
スクページ実行毎に現在時刻情報を得、時刻データ部に
書込むようにし、且つ上記タスクカウンタをタスクペー
ジ中のタスク実行毎にカウントアツプするようにし、こ
れらによって収集された上記時刻データとタスクカウン
ト値を従来のタスクトレースデータと共に保守ターミナ
ル8に送信するようにし、保守ターミナル8にはこれら
送信されて来た上記時刻データとタスクカウント値を含
む全タスクトレースデータを受信し、ファイルに保存し
、該ファイルを編集し従来のタスクトレースデータに時
刻データとタスクカウンタを追加した全タスクトレース
ファイルを作成し、出力する機能を持たせた構成とする
もΦである。The operation of this system as described above will be explained next. This system adds data called a task counter that manages information on the total number of executed tasks and time data that stores the execution time of tasks to conventional task trace data, obtains current time information every time a task page is executed, and In addition, the task counter is incremented each time a task is executed in the task page, and the time data and task count value collected thereby are sent to the maintenance terminal 8 along with conventional task trace data. The maintenance terminal 8 receives all the sent task trace data including the time data and task count value, saves it in a file, edits the file, and adds the time to the conventional task trace data. It is also Φ to have a configuration with a function to create and output a complete task trace file with added data and task counters.
そして、タスクページ実行時に従来のタスクトレースデ
ータ収集後、構内交換機が有するシステム時計7より時
刻データを読み、該時刻データをフォーマット変換し、
タスクトレースデータ中の特定データ部に記録する。次
にタスクトレースデータ中のタスクカウンタ部をクリア
し、その後、同タスクページ中のタスクを実行する毎に
タスクカウンタ部をカウントアツプする。次にタスクカ
ウンタ部と時刻データ部を送信する機能が追加された送
信手段を用いて全てのタスクトレースデータを保守ター
ミナル8へ送信する。保守ターミナル8では送信さ、れ
て来るデータをトレースデータ受信手段を用いて全て受
信し、トレースデータ編集手段を用いてトレースデータ
ファイルを編集し、タスクトレースファイルとして出力
する。Then, after collecting conventional task trace data when executing the task page, reading time data from the system clock 7 of the private branch exchange, converting the format of the time data,
Recorded in the specific data part of the task trace data. Next, the task counter part in the task trace data is cleared, and thereafter, the task counter part is counted up each time a task in the same task page is executed. Next, all the task trace data is transmitted to the maintenance terminal 8 using a transmitting means to which a function for transmitting a task counter section and a time data section is added. The maintenance terminal 8 receives all transmitted and received data using trace data receiving means, edits a trace data file using trace data editing means, and outputs it as a task trace file.
このようなものであるが、その具体的な動作を以下説明
する。Although this is the case, its specific operation will be explained below.
第4図はタスクトレースデータを収集するときの手順を
示すフローチャートであり、制御部4は保守ターミナル
8よりタスクトレースの指令を受けるとトレース機能を
実行する動作モードに設定される。そして、内線電話機
等の操作によりタスクページの起動がかかると(Sl)
、現在タスクトレースデータをトレース中か否かをチエ
ツクする(S2)。このステップS2でトレース中と判
断されるとステップS3に移り、トレースストップと判
断されるとデータの収集を終了する。FIG. 4 is a flowchart showing the procedure for collecting task trace data. When the control unit 4 receives a task trace command from the maintenance terminal 8, it is set to an operation mode in which the trace function is executed. Then, when the task page is activated by operating an extension phone, etc. (Sl)
, checks whether task trace data is currently being traced (S2). If it is determined in this step S2 that tracing is in progress, the process moves to step S3, and if it is determined that tracing has stopped, data collection is ended.
ステップS2でトレース中と判断した場合は従来と同一
のタスクトレースデータを収集する(s3)。If it is determined in step S2 that tracing is in progress, the same task trace data as before is collected (s3).
すなわち、各タスクページ単位のデータとしてタスクペ
ージがどの端末に対して作用したかを決定する端末のデ
ータと、該端末の現在の状態、タスクページのアドレス
等を収集する。That is, as data for each task page, terminal data for determining which terminal the task page acts on, the current state of the terminal, the address of the task page, etc. are collected.
次に制御部4の時刻データリード手段42が機能して現
在時刻をシステム時計7に間合わせ、時刻データを読み
込み(S4)、時刻データライト手段43はこれを受取
って該時刻データをタスクトレースデータ中の時刻デー
タ部に書込む(S5)。次にタスクトレースデータ中の
タスクカウンタ部を「0」にクリアし、て初期化する(
S6)。その後、タスクペ−ジ中のタスクに起動がかか
ると(S7)、該タスクカウンタ部をインクリメント(
1カウントアツプ)しくS8)、次にウェイト(Wai
t)状態になり(S9)、タスクの再起動がかかると該
タスクトレースデータ中のタスクカウンタ部をインク1
八メント(1カウントアツプ)する(S7.S8)。こ
のようにして、タスクページにおける一つのタスク実施
毎に上記タスクカウンタ部をインクリメントし、実行し
たタスク総数の管理を行う。そして、新たなタスクペー
ジの起動がかかるとステップSlに戻り、新たなタスク
トレースデータとしてデータを収集する。Next, the time data read means 42 of the control unit 4 functions to synchronize the current time with the system clock 7 and read the time data (S4), and the time data write means 43 receives this and converts the time data into the task trace data. It is written in the time data section inside (S5). Next, clear the task counter part in the task trace data to "0" and initialize it (
S6). After that, when the task on the task page is activated (S7), the task counter is incremented (
1 count up) Shiku S8), then wait (Wai)
t) state (S9), and when the task is restarted, the task counter section in the task trace data is ink 1.
8 (count up by 1) (S7, S8). In this way, the task counter section is incremented each time one task is executed on the task page, and the total number of executed tasks is managed. Then, when a new task page is activated, the process returns to step Sl and data is collected as new task trace data.
第5図は第4図に示す手順により収集されたタスクトレ
ースデータを編集し、出力する手順を示すフローチャー
トであり、保守ターミナル8からの要求が発生した時点
で制御部4のトレースデータ送信手段4Gは全タスクト
レースデータ(時刻データ、タスクカウンタのカウント
データを含む)を保守ターミナル8へ送信する(351
)。保守ターミナル8では送信されてくる全タスクトレ
ースデータをトレースデータ受信手段81が受信し、第
3図(C)に示すようにトレースデータファイル83と
して記憶する(852)。次にトレースデータ編集手段
82がトレースデータファイル83よりタスクページ単
位のデータを読み込み(853) (尚、第3図(a
) 、 (b) 、 (c)は1タスクペ一ジ単位のデ
ータを示している)、従来のタスクトレースファイルを
編集し、タスクトレースファイル84に書込む(S54
)。FIG. 5 is a flowchart showing the procedure for editing and outputting the task trace data collected by the procedure shown in FIG. sends all task trace data (including time data and task counter count data) to maintenance terminal 8 (351
). In the maintenance terminal 8, the trace data receiving means 81 receives all the transmitted task trace data and stores it as a trace data file 83 as shown in FIG. 3(C) (852). Next, the trace data editing means 82 reads data for each task page from the trace data file 83 (853) (Please note that FIG.
), (b), and (c) show data for one task page), the conventional task trace file is edited and written to the task trace file 84 (S54).
).
次にトレースデータ編集手段82はステップ853で読
み込んだデータ中の時刻データ部を編集し、タスクトレ
ースファイル84に書込む(855)同様にタスクカウ
ンタ部を編集し、タスクトレースファイル84に書き込
む(sse) 以上、953〜95Bのステップによ
り第3図(a)に示すタスクページ単位の1タスクトレ
ースデータが作成される。Next, the trace data editing means 82 edits the time data section in the data read in step 853 and writes it to the task trace file 84 (855).Similarly, it edits the task counter section and writes it to the task trace file 84 (sse ) Through steps 953 to 95B, one task trace data for each task page shown in FIG. 3(a) is created.
次にトレースデータ編集手段82はトレースデータファ
イル83中の全てのタスクページ単位のデータについて
編集が終了したか否かをチエツクしく857) 、未終
了の場合はステップ853に戻って上述した一連の処理
を繰返す。Next, the trace data editing means 82 checks whether editing has been completed for all task page data in the trace data file 83 (857), and if it has not been completed, returns to step 853 and performs the above-described series of processing. Repeat.
編集が終了するとタスクトレースファイル84をプリン
タ出力フォーマットに従って印字装置85に出力し、印
字する(35g)。When the editing is completed, the task trace file 84 is outputted to the printing device 85 according to the printer output format and printed (35g).
以上のような本実施例によれば、交換機は従来のタスク
トレース機能にタスクベージ実行時刻情報と、実際にタ
スクページ中で実行されたタスクの総数をカウントして
実行タスクの総数データを得るタスクカウント機能を設
けるとともに、これらデータをトレースデータとともに
保守ターミナルに送信することができる構成とし、保守
ターミナルにはこれら送られて来たデータを受信して編
集し、出力できるようにすることにより、例えば、シス
テムダウン等、重大なバグの発生によりタスクトレース
機能が停止していた場合に最終タスクトレースデータ中
のタスクカウンタを参照することで、交換機がシステム
ダウンする直前に実行したタスクを容易に把握すること
ができるようになり、また、カスタマ・サイトでバグが
発生した場合にタスクベージ実行時刻を参照することに
よりバグ発生時点の各端末の操作等の詳細な情報を膨大
な量のタスクトレースデータ中から容易に適確に把握す
ることが可能になって、バグ解析時の大きな手掛りとな
り、デバッグの大幅な能率向上を図ることができるよう
になる。According to this embodiment as described above, the exchange has a conventional task trace function, task page execution time information, and a task count function that counts the total number of tasks actually executed in the task page to obtain data on the total number of executed tasks. In addition to providing functions, the configuration is such that these data can be sent to the maintenance terminal along with the trace data, and the maintenance terminal is configured to receive, edit, and output the sent data, so that, for example, When the task trace function has stopped due to the occurrence of a serious bug such as a system down, by referring to the task counter in the final task trace data, you can easily understand the task that the exchange executed just before the system went down. In addition, when a bug occurs on a customer site, by referring to the task page execution time, detailed information such as the operation of each terminal at the time the bug occurred can be easily retrieved from a huge amount of task trace data. This makes it possible to accurately understand information, which provides a major clue when analyzing bugs, and greatly improves debugging efficiency.
尚、本発明は上記し、且つ、図面に示す実施例に限定す
ることなくその要旨を変更しない範囲内で適宜変形して
実施し得るものである。It should be noted that the present invention is not limited to the embodiments described above and shown in the drawings, and can be implemented with appropriate modifications within the scope of the gist thereof.
[発明の効果]
以上、詳述したように本発明によれば、従来のタスクト
レースデータに加えてタスクページ実行時刻情報と実際
にタスクベージ中で実行されたタスクの総数等、デバッ
グに有用な情報を容易に得ることができるようになり、
バグ解析時の大きな手掛りとなって、デバッグの大幅な
能率向上を図ることができるようになる。[Effects of the Invention] As detailed above, according to the present invention, in addition to conventional task trace data, information useful for debugging, such as task page execution time information and the total number of tasks actually executed in a task page, can be obtained. You will be able to easily obtain
This will serve as a major clue when analyzing bugs, making it possible to significantly improve debugging efficiency.
第1図は本発明の一実施例を示すブロック図、第2図は
その要部構成の機能ブロック図、第3図は本発明システ
ムによるデータの出力例を示す図、第4図及び第5図は
本発明システムの作用を説明するためのフローチャート
である。
1・・・交換回路、2・・・局線回路、3・・・内線回
路、4・・・制御部、5・・・主記憶部、6・・・外部
記憶装置、7・・・システム時計、8・・・保守ターミ
ナル、41・・・タスクトレース手段収集手段、時42
・・・時刻データリード手段、43・・・時刻データラ
イ・ト手段、44・・・カウンタクリア手段、45・・
・カウントアツプ手段、46・・・トレースデータ送信
手段、81・・・トレースデータ受信手段、82・・・
トレースデータ編集手段、83・・・トレースデータフ
ァイル部、84・・・タスクトレースファイル、85・
・・印字装置。
出願人代理人 弁理士 鈴江武彦FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a functional block diagram of the main configuration thereof, FIG. 3 is a diagram showing an example of data output by the system of the present invention, and FIGS. The figure is a flowchart for explaining the operation of the system of the present invention. DESCRIPTION OF SYMBOLS 1... Exchange circuit, 2... Office line circuit, 3... Extension circuit, 4... Control part, 5... Main memory part, 6... External storage device, 7... System Clock, 8... Maintenance terminal, 41... Task trace means collection means, hour 42
... Time data read means, 43... Time data write means, 44... Counter clear means, 45...
- Count up means, 46... Trace data transmitting means, 81... Trace data receiving means, 82...
Trace data editing means, 83...Trace data file section, 84...Task trace file, 85.
...Printing device. Applicant's agent Patent attorney Takehiko Suzue
Claims (1)
に当該ソフトウェアの実行状態遷移をトレースするトレ
ース機能を有する電子交換機システムにおいて、 時刻情報を発生する時計手段と、 実行状態遷移トレースデータの1トレースデータ単位に
前記トレースした時刻の情報を前記時計手段より得て保
存する時刻データ記録手段と、実行したタスクの総数情
報を保存するタスクカウント手段と、 各トレースデータ単位にトレースした時刻とタスクの総
数とを実行状態遷移トレースしたデータとともに外部に
送信する送信手段とを備えた電子交換機と、 該送信データを受信し、ファイルに保存するトレースデ
ータ保存手段と、 トレースデータが保存されている該ファイルを編集し出
力手段に出力するトレースデータ編集手段とを有して前
記構内交換機に接続して使用する出力装置とより構成し
、 各トレースデータ単位にトレースした時刻とタスクの総
数とを実行状態遷移トレースデータとともに得ることが
できるようにしたことを特徴とする電子交換機システム
。[Scope of Claims] An electronic switching system having a trace function that performs required switching operations using software and traces execution state transitions of the software, comprising: clock means for generating time information; and one piece of execution state transition trace data. time data recording means for obtaining and storing information on the traced time for each trace data unit from the clock means; task counting means for storing information on the total number of executed tasks; and information on the traced time and tasks for each trace data unit. an electronic exchange equipped with a transmission means for externally transmitting the total number of execution state transitions along with data obtained by tracing execution state transitions; a trace data storage means for receiving the transmission data and storing it in a file; and a file in which the trace data is stored. and an output device connected to the private branch exchange for editing and outputting the trace data to the output means, and an output device connected to the private branch exchange to output the trace data to the output device. An electronic exchange system characterized in that trace data can be obtained together with trace data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2927889A JPH02207697A (en) | 1989-02-08 | 1989-02-08 | Electronic exchange system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2927889A JPH02207697A (en) | 1989-02-08 | 1989-02-08 | Electronic exchange system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02207697A true JPH02207697A (en) | 1990-08-17 |
Family
ID=12271807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2927889A Pending JPH02207697A (en) | 1989-02-08 | 1989-02-08 | Electronic exchange system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02207697A (en) |
-
1989
- 1989-02-08 JP JP2927889A patent/JPH02207697A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| ITTO940668A1 (en) | SYSTEM FOR MONITORING AND ANALYZING THE BEHAVIOR OF A SWITCHING SYSTEM CONTROLLED BY A STORED PROGRAM | |
| CN100562033C (en) | An automated testing tool and method for a program-controlled switchboard | |
| CN110275893A (en) | A kind of data manipulation method and device | |
| WO2019218464A1 (en) | Application program testing method and apparatus, and mobile terminal and medium | |
| JPH1169016A (en) | Call control management system | |
| CN113641355A (en) | Interface document generation method, system and storage medium | |
| US6351826B1 (en) | Method and apparatus for automatically verifying communication software | |
| WO2020073200A1 (en) | Program debugging method and system | |
| JPH02207697A (en) | Electronic exchange system | |
| CN102455969B (en) | Method for recording Linux serial communication log | |
| CN111209200B (en) | Automatic recording and reproducing method, system and storage medium for Python software | |
| CN114201353A (en) | Processing method, device and storage medium for program time-consuming data | |
| CN106294132A (en) | A kind of method and device managing daily record | |
| CN112328491B (en) | Tracking message output method, electronic device and storage medium | |
| CN118245636A (en) | A substation monitoring screen verification method, system, equipment and medium | |
| CN113992730B (en) | A user behavior simulation method based on knowledge construction, simulation system, customization system, computer and storage medium | |
| CN116521411A (en) | Method, device and medium for detecting program error and resetting embedded device | |
| CN101111012A (en) | Base station configuration system and method | |
| CN105607957A (en) | OPC DA based data collection and monitoring system and method | |
| JPH05313864A (en) | System for exchanging dynamic revision information between host and terminal | |
| CN113064833A (en) | Single chip microcomputer simulation method, system, device, equipment and storage medium | |
| CN118605302A (en) | Signal acquisition and processing method, system, device, equipment and storage medium for industrial equipment | |
| CN117632193B (en) | Program burning system for processor chip | |
| KR100239047B1 (en) | Method for automatic providing the record format of a charging data by country in the switching system | |
| KR100469729B1 (en) | How to check send / receive data for each command for maintenance in the exchange system |