JP2868032B2 - Data storage method - Google Patents

Data storage method

Info

Publication number
JP2868032B2
JP2868032B2 JP3241236A JP24123691A JP2868032B2 JP 2868032 B2 JP2868032 B2 JP 2868032B2 JP 3241236 A JP3241236 A JP 3241236A JP 24123691 A JP24123691 A JP 24123691A JP 2868032 B2 JP2868032 B2 JP 2868032B2
Authority
JP
Japan
Prior art keywords
event
failure
area
data
code
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.)
Expired - Lifetime
Application number
JP3241236A
Other languages
Japanese (ja)
Other versions
JPH0581086A (en
Inventor
邦男 山口
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.)
Fujitsu Ltd
Fujitsu Kyushu Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Kyushu Communication Systems 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 Fujitsu Ltd, Fujitsu Kyushu Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP3241236A priority Critical patent/JP2868032B2/en
Publication of JPH0581086A publication Critical patent/JPH0581086A/en
Application granted granted Critical
Publication of JP2868032B2 publication Critical patent/JP2868032B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ格納方式に関し、
特に、プログラムにより障害データをある特定領域にロ
ギングする場合の障害データ格納方式に関する。図7は
本発明の産業上の利用分野の説明図である。本発明の一
適用分野として、例えば消防システムがあり、図7はそ
の消防システムにおけるシステム構成図である。同図に
おいて、71は構内交換機、72は消防センタのキィー
操作台、73はキィー操作台のどのキィーが押下された
かを監視するトランク(ATTC)、74は制御装置
(CTL)、75は障害情報をダンプするメモリ、76
はインタフェースパッケージ、77は障害の場所に応じ
て点灯するランプを搭載した表示板、78は外部装置で
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data storage system,
In particular, the present invention relates to a failure data storage method when logging failure data to a specific area by a program. FIG. 7 is an explanatory diagram of an industrial application field of the present invention. One application field of the present invention is, for example, a firefighting system, and FIG. 7 is a system configuration diagram of the firefighting system. In the figure, 71 is a private branch exchange, 72 is a key operation console of a fire center, 73 is a trunk (ATTC) for monitoring which key of the key operation console has been pressed, 74 is a control device (CTL), and 75 is fault information. Dump memory, 76
Is an interface package, 77 is a display board mounted with a lamp that lights up according to the location of the failure, and 78 is an external device.

【0002】このようなシステムにおいて、構内交換機
71と制御装置74との間のデータ回線やキィー操作台
等に障害が発生すると、その障害情報はメモリ75にダ
ンプされるとともに、インタフェースパッケージ76を
介して表示板77上の該当するランプを点灯させる。
In such a system, when a failure occurs in the data line between the private branch exchange 71 and the control device 74, the key operation console, or the like, the failure information is dumped to a memory 75 and is transmitted via an interface package 76. The corresponding lamp on the display board 77 is turned on.

【0003】[0003]

【従来の技術】従来のプログラムによる障害データのロ
ギング方式においては、特定の領域(例えば、障害デー
タを最大8個格納できるような領域)に障害データをロ
ギングし、最大格納個数をこえた場合は、最初の障害デ
ータに上書きしていき、再度達すると、最初のエリアに
障害データをロギングしていくという方法をとってい
た。
2. Description of the Related Art In a conventional method of logging fault data by a program, fault data is logged in a specific area (for example, an area capable of storing a maximum of eight fault data). The first failure data is overwritten, and when it reaches again, the failure data is logged in the first area.

【0004】例えば、最大8データの格納可能なメモリ
領域に障害データをロギングする場合に、ロギング回数
(障害エラー数)が9回目の障害データについては、最
初のロギング領域に格納しロギングしていく。また、1
7回目の障害データは再度、9回目の障害データが格納
されている領域に上書きしてロギングする。
For example, when logging failure data to a memory area capable of storing a maximum of eight data, failure data having a ninth logging count (failure error count) is stored in the first logging area and logged. . Also, 1
The seventh failure data is again written over the area in which the ninth failure data is stored and logging is performed.

【0005】この発生した障害データをメモリダンプし
て確認する場合に現在まで発生した障害軌跡は確認でき
るが、現在どの障害がおきているか、即ち、最新の障害
データはどれか、は確認できないという問題が生じてく
る。
When the generated fault data is checked by memory dumping, it is possible to check the fault trajectory that has occurred up to now, but it is not possible to check which fault is currently occurring, that is, which is the latest fault data. Problems arise.

【0006】[0006]

【発明が解決しようとする課題】ロギングされた障害デ
ータをメモリダンプして現在まで発生した障害の中でど
の障害が最も新しい障害であるか、現在発生している障
害は何か等、システム障害時には確認する必要がある。
しかし、従来の方法では、これを確認することが出来な
いため、障害対処に困難を要する場合がある。また、シ
ステム試験時での効率も低下する。
SUMMARY OF THE INVENTION A system failure is performed by dumping logged failure data into a memory and determining which failure is the latest failure among failures that have occurred up to now, what is currently occurring failure, and the like. Sometimes you need to check.
However, this cannot be confirmed by the conventional method, and it may be difficult to deal with the failure. In addition, the efficiency at the time of the system test also decreases.

【0007】本発明の目的は、イベントに対応するデー
タをイベントの発生順に複数のエリアに順次格納する場
合に、どのエリアのデータが最新のイベントのデータで
あるかを認識可能にすることにある。
An object of the present invention is to make it possible to recognize which area data is the latest event data when data corresponding to an event is sequentially stored in a plurality of areas in the order of occurrence of the event. .

【0008】[0008]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。同図において、1はイベント受信手段、
2はイベント受信手段1に受信されたイベントに対応す
るデータをイベントの発生順に連続する複数のエリア1
1,12, …,1nに順次格納し、最後のエリアに格
納された後の次のイベントは最初のエリアに上書きする
ようにするデータ格納制御手段、3はイベントにそれぞ
れに対応するデータのすべてのコードと異なる最終イベ
ント識別コードを、発生した最終イベントの格納エリア
の次のエリアに格納する目印コード格納制御手段、であ
る。次のエリアに格納された最終イベント識別コード
は、最終イベントの次の新たな最終イベントにより上書
きされる。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, 1 is an event receiving means,
Reference numeral 2 denotes a plurality of areas 1 in which data corresponding to the event received by the event receiving means 1 is consecutively arranged in the order of occurrence of the event.
.., 1n, and the next event after being stored in the last area overwrites the first area. And a landmark code storage control means for storing a final event identification code different from the above-mentioned code in an area next to the storage area of the generated final event. Last event identification code stored in the following area
Is overwritten by a new final event following the final event
Will be

【0009】イベントの各々は通信システムにおける障
害であることが好ましい。
[0009] Each of the events is preferably a fault in the communication system.

【0010】[0010]

【作用】従来のロギング方法では、最も新しい障害を確
認できるような目印となる方法がなかったため、前述の
ような問題が生じていた。そこで、今回の障害データの
ロギング方法では、最も新しい障害データ(現在発生し
ている障害)の次の格納エリアに目印コードを格納す
る。
With the conventional logging method, there is no method that can be used as a mark for confirming the newest failure, and thus the above-described problem has occurred. Therefore, in this failure data logging method, a landmark code is stored in the storage area next to the newest failure data (current failure).

【0011】[0011]

【実施例】図2は例えば図7における制御装置74内の
ファームウエアの機能ブロック図である。同図におい
て、21はL1制御処理部、22はアラーム処理部、2
3はSD処理部である。図3はアラーム処理部22にお
ける障害データの処理の流れを示すフローチャートであ
る。同図において、アラーム処理部22では、ステップ
31でL1処理部21から障害イベントコードを受信す
ると、その受信が正常かどうかをステップ32で判定
し、正常であれば、その障害イベントコード中の制御情
報により、ステップ33で障害発生か復旧かを判別し、
障害発生時にはステップ34でその障害について障害要
因を判別し次いでその障害要因を格納領域にロギングす
る。本発明はこの障害発生処理における改良に関する。
ステップ33で障害の復旧のイベントであればステップ
障害復旧処理を従来同様に行う。また、ステップ32で
イベント正常受信ではない場合はステップ36で従来同
様に障害処理を行う。
FIG. 2 is a functional block diagram of firmware in the control device 74 in FIG. 7, for example. In the figure, 21 is an L1 control processing unit, 22 is an alarm processing unit, 2
Reference numeral 3 denotes an SD processing unit. FIG. 3 is a flowchart showing the flow of processing of the fault data in the alarm processing unit 22. In FIG. 3, when the alarm processing unit 22 receives a failure event code from the L1 processing unit 21 in step 31, it determines in step 32 whether the reception is normal or not. Based on the information, it is determined in step 33 whether a failure has occurred or has been recovered,
When a failure occurs, the cause of the failure is determined in step 34, and the cause of the failure is logged in the storage area. The present invention relates to an improvement in this fault occurrence processing.
If it is a failure recovery event in step 33, step failure recovery processing is performed in the same manner as in the related art. If the event is not normally received in step 32, failure processing is performed in step 36 as in the prior art.

【0012】図4はL1制御処理部21からアラーム処
理部22に送信されるイベントコードの内容を示す図で
ある。同図において、回線対応に、コードと拡張子と制
御情報からなるイベントコードがアラーム処理部22に
受信される。このイベントコード中のコードイベント
の種類を識別するためのものであり、例えば、イベント
が障害か何秒後にランプ処理をするか、等の指示があ
る。拡張子はアラームの場合は“0”に固定されてい
る。制御情報としては、障害イベント時の障害要因(障
害情報)を示す情報が含まれており、例えば、“0”は
通信障害復旧、“1”は通信障害発生、“2”は回線状
態の監視プログラムの障害復旧、“3”は回線状態の監
視プログラムの障害発生、“4”はループテスト正常、
“5”はループテスト異常、を表す。
FIG. 4 is a diagram showing the contents of the event code transmitted from the L1 control processing unit 21 to the alarm processing unit 22. In the figure, the alarm processing unit 22 receives an event code including a code, an extension, and control information corresponding to a line. The code in the event code is for identifying the type of the event. For example, there is an instruction such as whether the event is a failure or how many seconds later the lamp process is performed. The extension is fixed to “0” in the case of an alarm. The control information includes information indicating a cause of failure (failure information) at the time of the failure event. For example, “0” indicates recovery of communication failure, “1” indicates occurrence of communication failure, and “2” indicates monitoring of line status. Program failure recovery, "3" indicates failure of line status monitoring program, "4" indicates normal loop test,
“5” indicates a loop test abnormality.

【0013】従来はこれらの制御情報が偶数か奇数かの
みを識別しており、偶数の場合はイベントの復旧であ
り、対応するランプを消灯するし、奇数の場合はイベン
トの発生であって対応するランプを点灯する制御をして
いるのみであった。図5は本発明の実施例によるロギン
グ領域を含む障害データ処理の領域の説明図である。同
図に示すように、障害データ処理の領域は、領域認識コ
ードと、障害種別マップと、障害回数と、障害格納エリ
ア認識コードと、8個の障害格納エリアが存在する。こ
の障害データ処理の領域は、図7のシステムにおけるメ
モリ75に存在する。
Conventionally, only such control information is identified as an even number or an odd number. If the control information is even, it means that the event has been recovered. The corresponding lamp is turned off. Only the control of turning on the lamp to be performed was performed. FIG. 5 is an explanatory diagram of a fault data processing area including a logging area according to the embodiment of the present invention. As shown in the figure, the fault data processing area includes an area recognition code, a fault type map, a fault count, a fault storage area recognition code, and eight fault storage areas. This failure data processing area exists in the memory 75 in the system of FIG.

【0014】図5に示した8個の障害格納エリアに、本
発明の方式を採用した。即ち、最終イベントの障害格納
エリアの次のエリアに、イベントにそれぞれに対応する
データのすべてのコードと異なる最終イベント識別コー
ドを、格納する。例えば、上記のように最大格納個数が
8個の領域に、発生した障害要因を格納する場合に、格
納するエリアの次のエリアに目印コード(例えば、”F
FFF”:このコードは、格納されると思われるデータ
値では絶対あり得ないようなデータ値)を障害データの
格納時と同時にロギングする。
The system of the present invention is applied to the eight fault storage areas shown in FIG. That is, a final event identification code different from all codes of data corresponding to the event is stored in the area next to the failure storage area of the final event. For example, as described above, when a fault cause that has occurred is stored in an area having a maximum storage number of eight, a landmark code (for example, “F”) is stored in the area next to the storage area.
FFF ": This code logs a data value which is considered to be stored and which is absolutely impossible at the same time when the fault data is stored.

【0015】最大格納個数である8回目の障害をロギン
グする場合の目印コードは、最初のエリアに”FFF
F”を格納する。その次の障害データをロギングする場
合は、最初のエリアに障害データを格納し、次のエリア
に”FFFF”を格納する。以上の処理を障害データを
受信した度に繰り返し行う。図6は本発明の実施例によ
る障害発生時の障害格納エリアへの格納処理(図3のス
テップ34)の流れを示すフローチャートである。同図
において、ステップ61で、図4に示した制御情報に基
づき、障害表示イベントをSD処理部23(図2)に送
信し、ステップ62で図7に示したメモリ75内の障害
種別マップに障害情報を書き込む。次いでステップ63
で従来同様にその障害回数をカウントアップする。そし
てステップ64で障害要因格納エリア(A)に障害要因
を書き込む。最後にステップ65で障害要因格納エリア
(A+1)に目印コード“FFFF”を書き込む。
When logging the eighth failure, which is the maximum number of storages, the mark code is "FFFF" in the first area.
F "is stored. When logging the next fault data, the fault data is stored in the first area and" FFFF "is stored in the next area. The above processing is repeated every time fault data is received. 6 is a flow chart showing the flow of the process of storing data in the fault storage area (step 34 in FIG. 3) when a fault occurs according to the embodiment of the present invention, in which step 61 is shown in FIG. A failure display event is transmitted to the SD processing unit 23 (FIG. 2) based on the control information, and the failure information is written in the failure type map in the memory 75 shown in FIG.
Then, the number of failures is counted up as in the conventional case. In step 64, the failure factor is written in the failure factor storage area (A). Finally writing mark code "FFFF" to the fault-rated Osamee rear (A + 1) in step 65.

【0016】以上の処理により、目印コードを検出する
ことによりその直前のエリアに最新障害データが格納さ
れていることが分かると共に、最新障害データの7個前
の障害データをも確認できる。したがって、現在までの
発生障害の軌跡の確認度と、限られたメモリ領域の使い
方を考慮して格納領域を獲得すれば良い。なお、上記の
説明では、消防システムにおける障害データの処理につ
いて述べたが、本発明はこれに限定されるものではな
く、任意のデータの格納に対しても提可能である。
By the above processing, by detecting the landmark code, it is known that the latest failure data is stored in the area immediately before the landmark code, and the failure data seven times before the latest failure data can also be confirmed. Therefore, the storage area may be obtained in consideration of the degree of confirmation of the trajectory of the fault that has occurred up to the present and the usage of the limited memory area. In the above description has dealt with the process of the fault data in fire system, the present invention is not limited to this but is also Hisage possible provided against the storage of any data.

【0017】[0017]

【発明の効果】以上の説明から明らかなように、本発明
によれば、システム運用時及び、システム試験時に、最
新の障害発生状況の確認及びそれ以前のダンプ内容から
過去の障害発生状況の確認を容易に行うことができる。
このため、試験工程の効率化を達成できる。
As is apparent from the above description, according to the present invention, at the time of system operation and system test, the latest failure occurrence status is confirmed, and the past failure occurrence status is confirmed from the previous dump contents. Can be easily performed.
Therefore, the efficiency of the test process can be improved.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】図7における制御装置内のファームウエアの機
能ブロック図である。
FIG. 2 is a functional block diagram of firmware in a control device in FIG. 7;

【図3】アラーム処理部における障害データの処理の流
れを示すフローチャートである。
FIG. 3 is a flowchart illustrating a flow of processing of failure data in an alarm processing unit.

【図4】イベントコードの内容を示す図である。FIG. 4 is a diagram showing the contents of an event code.

【図5】障害データ処理の領域の説明図である。FIG. 5 is an explanatory diagram of a failure data processing area.

【図6】本発明の実施例による障害発生時の障害格納エ
リアへの格納処理の流れを示すフローチャートである。
FIG. 6 is a flowchart showing a flow of processing for storing data in a failure storage area when a failure occurs according to an embodiment of the present invention.

【図7】本発明の産業上の利用分野の説明図である。FIG. 7 is an explanatory diagram of an industrial application field of the present invention.

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

1…イベント時手段 2…データ格納制御手段 3…目印コード格納制御手段 11…イベントデータ格納エリア 12…目印データ格納エリア DESCRIPTION OF SYMBOLS 1 ... Event time means 2 ... Data storage control means 3 ... Mark code storage control means 11 ... Event data storage area 12 ... Mark data storage area

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−152579(JP,A) 特開 昭62−47759(JP,A) 「岩波情報科学辞典」(平2−5− 25)岩波書店第714頁左欄 (58)調査した分野(Int.Cl.6,DB名) G06F 11/28 - 11/34 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-57-152579 (JP, A) JP-A-62-47759 (JP, A) "Iwanami Information Science Dictionary" (Heisei 2-5-25) Iwanami Shoten Page 714, left column (58) Field surveyed (Int.Cl. 6 , DB name) G06F 11/28-11/34

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 イベント受信手段と、 該イベント受信手段に受信されたイベントに対応するデ
ータを該イベントの発生順に連続する複数のエリアに
次格納し、最後のエリアに格納された後の次のイベント
は最初のエリアに上書きするようにするデータ格納制御
段と、 該イベントにそれぞれに対応するデータのすべてのコー
ドと異なる最終イベント識別コードを、発生した最終
ベントの格納エリアの次のエリアに格納する目印コード
格納制御手段と、 を具備し前記次のエリアに格納された前記最終イベント
識別コードは、前記最終イベントの次の新たな最終イベ
ントにより上書きされるようにしたことを特徴とするデ
ータ格納方式。
1. A and event receiving hand stage, data corresponding to the event received in the event reception hand stage stored sequentially <br/> following multiple area A continuous chronological order of the events, the last area and data storage control <br/> means to so as to overwrite the first area next event after being stored in, all code with different final event identification code data corresponding to each of the event, generated final Lee <br/> mark code storage control hand stage and, is provided with a store in the next area were the final event in the following areas of the storage area of the vent
The identification code is the new last event following the last event.
A data storage method characterized by being overwritten by a client .
【請求項2】 該イベントの各々は通信システムにおけ
る障害である請求項の1に記載のデータ格納方式。
2. The data storage method according to claim 1, wherein each of said events is a failure in a communication system.
JP3241236A 1991-09-20 1991-09-20 Data storage method Expired - Lifetime JP2868032B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3241236A JP2868032B2 (en) 1991-09-20 1991-09-20 Data storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3241236A JP2868032B2 (en) 1991-09-20 1991-09-20 Data storage method

Publications (2)

Publication Number Publication Date
JPH0581086A JPH0581086A (en) 1993-04-02
JP2868032B2 true JP2868032B2 (en) 1999-03-10

Family

ID=17071232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3241236A Expired - Lifetime JP2868032B2 (en) 1991-09-20 1991-09-20 Data storage method

Country Status (1)

Country Link
JP (1) JP2868032B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「岩波情報科学辞典」(平2−5−25)岩波書店第714頁左欄

Also Published As

Publication number Publication date
JPH0581086A (en) 1993-04-02

Similar Documents

Publication Publication Date Title
JP2805970B2 (en) Vehicle electronic control unit
JP3270000B2 (en) System for providing accurate time stamped vehicle motion messages
JPH0850557A (en) Fault recorder of microprocessor
JP2868032B2 (en) Data storage method
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
EP0070184B1 (en) A method of testing memory
JP3687565B2 (en) Log data storage method, log data storage method, and log data storage program
JPH05181824A (en) Data management system
JPH06261408A (en) Monitor
JP2000146765A (en) Electronic controller for vehicle
JPH07281929A (en) Trace information collecting device
JP2002215431A (en) Information processor and method of outputting trace log information
JP3480881B2 (en) Remote monitoring device
JP2766362B2 (en) Error information file generation method for power control digital controller
JP2870202B2 (en) Method and apparatus for mutual monitoring between processors
JPH02281343A (en) Cpu operation monitor system
JPS6323598B2 (en)
US20030056065A1 (en) Method and device for memory monitoring, in particular for RAM monitoring
JP2681005B2 (en) Control device with package mounting change monitoring function
JP3088201B2 (en) Multiplex communication device
JP2579086B2 (en) State change data transmission control method in monitoring system
JP3378975B2 (en) Fault diagnostic device
JP2522780B2 (en) Disaster prevention equipment
EP0359849A1 (en) Method of detecting program counter malfunction
JP2838974B2 (en) Screen blocking system in case of business program failure

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981110