JPS5972548A - Logging system of circuit log - Google Patents

Logging system of circuit log

Info

Publication number
JPS5972548A
JPS5972548A JP57183539A JP18353982A JPS5972548A JP S5972548 A JPS5972548 A JP S5972548A JP 57183539 A JP57183539 A JP 57183539A JP 18353982 A JP18353982 A JP 18353982A JP S5972548 A JPS5972548 A JP S5972548A
Authority
JP
Japan
Prior art keywords
region
data
logging
area
line
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.)
Granted
Application number
JP57183539A
Other languages
Japanese (ja)
Other versions
JPH0143335B2 (en
Inventor
Akio Sekiya
関谷 昭夫
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind 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 Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP57183539A priority Critical patent/JPS5972548A/en
Publication of JPS5972548A publication Critical patent/JPS5972548A/en
Publication of JPH0143335B2 publication Critical patent/JPH0143335B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Abstract

PURPOSE:To reduce the storage capacity and to attain an effective application of a storage region, by storing an on-line processing program in a user region of a main storage device and at the same time providing a common region to record the logging data of a circuit log together with replacement. CONSTITUTION:A user region 2 is provided together with a basic operating system OS1. The region 2 includes an on-line control program 4, an on-line processing program 5 and a common region 3 for both programs. A logging region 6 is provided at a part of the region 3. The region 6 includes a control block 7 and a data region 8. The logging data are successively logged at and after a head address (a) of the region 8. When the region 8 is filled with the logging data, these data are erased successively with that logged first. Then new data are recorded in place of the erased data. In such a way the storage region and ensures an effectively application of the storage region is saved.

Description

【発明の詳細な説明】 (1)発明の技術分野 この発明は、オンライン機能を有し、主記憶にコモン領
域(主記憶のユーザ領域内にとられ、ユーザ領域にロー
ドされる処理プログラノ、間でデータの受は渡しが可能
な領域)が設けられている情報処理装置における回線ロ
グのロギング方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical field of the invention This invention has an online function and has a common area in the main memory (a processing program that is stored in the user area of the main memory and is loaded into the user area). The present invention relates to a logging system for line logs in an information processing device provided with an area in which data can be received and transferred.

(2)技術の背景 近時の情報処理システムでは、多数のインテリジェント
ターミナルによって情報ネットワークを構築するシステ
ムが一般化しており、比較的小型の情報処理装置にもオ
ンライン機能が要求される様になってきている。
(2) Background of the technology In recent information processing systems, systems that construct information networks using a large number of intelligent terminals have become commonplace, and relatively small information processing devices are also required to have online functionality. ing.

オンラインによるデータの伝送には、時分割処理による
ものとリモートバッチ処理によるものとがあり、比較的
小型の計算機ではリモートバッチ処理によってオンライ
ン処理を行うものが多い。この場合には、オンライン処
理プログラムおよびこれを管理するオンライン管理プロ
グラムを主記憶のユーザ領域にロードしてオンライン処
理を行わせる様になっており、後述するロギングデータ
のダンプは該ユーザ領域にロギングダンププログラムを
ロードすることによって行う様にしている。
Online data transmission includes time-division processing and remote batch processing, and relatively small computers often perform online processing using remote batch processing. In this case, the online processing program and the online management program that manages it are loaded into the user area of the main memory to perform online processing, and the logging data dump described later is dumped into the user area. This is done by loading the program.

情報処理装置にオンライン機能を持たせた場合には、障
害発生時における調査分析および処理プロクラムのデバ
ッグ等の為、オンライン業務実行中に回線上を流れるデ
ータおよびオンライン管理プログラムの動作を回線ログ
としてロギングする必要があり、この為に、ロギングデ
ータを記録する為の記憶領域を鰻ける必要が生ずる。そ
して、回線ログのロギングは、一般に、オンライン管理
プログラムが回線ログを作成して割り付けられた記憶領
域にロギングする事により行オ〕れている。
When an information processing device is equipped with an online function, the data flowing over the line during online business execution and the operation of the online management program are logged as a line log for investigation and analysis in the event of a failure, debugging of the processing program, etc. Therefore, it becomes necessary to allocate a storage area for recording logging data. Logging of line logs is generally performed by an online management program creating a line log and logging it in an allocated storage area.

(3)従来技術と問題点 従来の情報処理装置においては、回線ログは、予めシス
テムが用意した特定のファイルまたは記憶領j或にロギ
ングされる様になっており、通常、回線ログを最初から
最後まで総て記録する様になっている。従って、ロギン
グ用のファイルまたは領域は、固定的に割り付けられた
ままとなっており、しかも相当大容量の記憶領域を必要
としていた。ところが、比較的小型の情報処理装置にオ
ンライン機能を持たせた場合、このロギング用のファイ
ルまたは領域を確保することは大きな負担となり、バッ
チ処理でオンライン処理を行う様にした情報処理装置で
は、オンライン処理待以外はこのロギング用のファイル
または記憶領域が使用されないこととなり、資源の効率
的な運用を図る」二での障害となる。
(3) Prior Art and Problems In conventional information processing devices, line logs are logged in a specific file or storage area prepared by the system in advance, and usually line logs are logged from the beginning. Everything is recorded until the end. Therefore, files or areas for logging remain fixedly allocated and require a fairly large storage area. However, when a relatively small information processing device is equipped with an online function, securing a file or area for this logging becomes a heavy burden, and an information processing device that performs online processing using batch processing is This logging file or storage area is not used except when it is waiting for processing, which poses an obstacle to the efficient use of resources.

(4)発明の目的 この発明は、回線障害が発生したときに参照されるロギ
ングデータは、経験上、障害発生時の直前の数件のデー
タのみである場合かはとんとであり、回線障害に対処す
ることを目的とする限り、それほと大量のデータを記録
する必要がない点に着目し、特定のファイルまたは固定
された記憶領域を設けることなく回線ログを有効にロギ
ングすることができ、更にデータのロギングおよびダン
プが容易なロギング方式を提供することを目的とするも
のである。
(4) Purpose of the Invention This invention provides that when a line failure occurs, the logging data that is referred to is often only the data of a few items immediately before the failure occurs; Focusing on the fact that it is not necessary to record a large amount of data as long as the purpose is to deal with the problem, line logs can be effectively logged without creating a specific file or fixed storage area. Furthermore, it is an object of the present invention to provide a logging method that facilitates data logging and dumping.

(5)発明の構成 この発明の回線ログのロギング方式は、データ伝送時に
はオンライン処理プログラムが主記憶のユーザ領域にロ
ードされかつ当該ユーザ領域にはコモン領域が設けられ
ている情報処理装置の前記データ伝送時における回線ロ
グのロギング方式であって、回線ログのロギング領域が
データ伝送時に前記コモン領域内にとられ、最新のロギ
ングデータが当該ロギング領域に更新されながら記録さ
れることを特徴とするものである。即ち、一般に回線に
関する障害では障害発生直前の数件のデータが有効であ
る点に着目して、ロギングされた回線ログを常に最新の
データに更新しながらサイクリックに記録することによ
って比較的小さな容量で有効にロギングを行うことがで
きる様にすると共に、回線ログのロギング領域として主
記憶のユーザ領域内のコモン領域を使用することにより
、特定のファイルまたは記憶領域を必要とせず、更にデ
ータのロギング、更新およびダンプを容易に行わせるこ
とができる様にしたものである。
(5) Structure of the Invention The line log logging method of the present invention is based on an information processing apparatus in which an online processing program is loaded into a user area of the main memory during data transmission, and a common area is provided in the user area. A logging method for a line log during transmission, characterized in that a logging area for the line log is set within the common area during data transmission, and the latest logging data is recorded in the logging area while being updated. It is. In other words, by focusing on the fact that generally in the case of line-related failures, only a few pieces of data immediately before the failure occurs are valid, by cyclically recording the logged line logs while constantly updating them with the latest data, a relatively small amount of data can be saved. By using the common area in the user area of the main memory as the logging area for line logs, data can be logged without the need for a specific file or storage area. , updates and dumps can be easily performed.

(6)発明の実施例 次に図示実施例に基づいて更に説明する。(6) Examples of the invention Next, further explanation will be given based on the illustrated embodiment.

第1図はオンライン処理時における主記憶の内容を示し
たもので、1は基本O5で、SPV、JCPIFCPな
どの基本的なオペレーティングシステムである。2はユ
ーザ領域で、このユーザ領域2にコモン領域3が設けら
れている。コモン領域3はユーザ領域2にロードされた
処理プログラム間でデー、夕を受は渡すときに使用され
る領域である。4はオンライン管理プログラム、5はオ
ンライン処理プログラムで、オンライン処理プログラム
5はオンライン管理プログラム4の支援を得チオンライ
ン業務を実行する。このオンライン管理プログラム4お
よびオンライン処理プロラム5は、ジョブ命令によって
ユーザ領域2にロードされるプログラムである。オンラ
イン管理プログラム4は、オンライン処理プログラム5
からの要求により、通信回線を介して他局とデータの送
受信を行うが、このとき、回線上を流れるデータ、処理
プログラム5からの指令およびオンライン管理プログラ
ム4の動作等に基づいて回線ログを作成し、コモン領域
3内にとられたロギングffRM 6に作成した回線ロ
グをロギングする。
FIG. 1 shows the contents of the main memory during online processing, where 1 is the basic O5, which is a basic operating system such as SPV and JCPIFCP. 2 is a user area, and a common area 3 is provided in this user area 2. The common area 3 is an area used when data and information are transferred between processing programs loaded into the user area 2. 4 is an online management program, 5 is an online processing program, and the online processing program 5 executes online business with the support of the online management program 4. The online management program 4 and online processing program 5 are programs loaded into the user area 2 by a job command. The online management program 4 is the online processing program 5.
Data is sent and received to and from other stations via the communication line in response to a request from the communication line. At this time, a line log is created based on the data flowing on the line, commands from the processing program 5, operations of the online management program 4, etc. Then, the line log created in the logging ffRM 6 in the common area 3 is logged.

第2図はロギング領域6の内容を示したもので、ロギン
グ領域6は管理ブロック7とデータ領域8からなってい
る。オンライン管理プロクラム4で作成された最初のロ
ギングデータは、ロギング領域6の先頭アドレスaにロ
ギングされ、これに続く回線ログが先頭アドレスaから
順にロギングされていく。そしてデータ領域8が一杯に
なると、最初にロギングされたデータ、即ち、先頭アド
レスaに記録されたデータから順に消去して最新のデー
タを記録し、記録されたデータを最新の回線ログに更新
して行く。
FIG. 2 shows the contents of the logging area 6, which consists of a management block 7 and a data area 8. The first logging data created by the online management program 4 is logged at the start address a of the logging area 6, and subsequent line logs are logged in order from the start address a. When the data area 8 is full, the first logged data, that is, the data recorded at the start address a, is erased in order and the latest data is recorded, and the recorded data is updated to the latest line log. Go.

第2図はデータが更新されながら記録されている途中の
状態を示したもので、最も新しいロギングデータがアド
レス1の記憶領域に記録され、最も古いロギングデータ
がアドレスにの記憶領域に記録されており、管理ブロッ
ク7内には、ロギング領域の先頭アト・レスaと、現時
点における最新の回線ログがロギングされているアドレ
ス1と、現時点における最古の回線ログが記録されてい
るアドレスにと、データ領域8内に現在記録されている
ロギングデータの件数Xとが記憶される。そしてオンラ
イン管理プログラム4は、回線ログを最新のものに更新
しながら記録すると共に、上記管理ブロック7の内容も
更新して行く。
Figure 2 shows a state in which data is being recorded while being updated.The newest logging data is recorded in the storage area at address 1, and the oldest logging data is recorded in the storage area at address. In the management block 7, there are the first address a of the logging area, the address 1 where the latest line log at the present time is logged, and the address where the oldest line log at the present time is recorded. The number of pieces of logging data currently recorded in the data area 8 is stored. The online management program 4 records the line log while updating it to the latest one, and also updates the contents of the management block 7.

この様にしてロギング領域6内にはデータ領域8の記憶
容量にみあう件数の最新のロギングデータが記録される
こととなる。尚、第2図のデータ領域内に生じている空
領域アトし/スJは、消去されるロギングデータのバイ
ト数と更新されるロギングデータのバイト数の差分とし
て現われたものである。
In this way, the latest logging data is recorded in the logging area 6 in a number that matches the storage capacity of the data area 8. It should be noted that the empty space space that occurs in the data area in FIG. 2 appears as the difference between the number of bytes of logging data to be erased and the number of bytes of logging data to be updated.

オンライン業務実行中に回線エラー等の障害が発生する
と、オンライン処理プログラム5は走行を停止し、デー
タ領域8内のロギングデータは障害発生時点直前の所定
の件数の回線ログが記録された状態で止まる。そこで第
3図に示す様にロギングダンププログラム9をユーザ領
域2にロードし、これによってコモン領域3かう回線ロ
グを取り出してこれを印刷装置10にダンプしてやれば
、障害発生直前の回線ログを調査することができ、回線
障害に対処することが可能となる。
When a failure such as a line error occurs during online business execution, the online processing program 5 stops running, and the logging data in the data area 8 stops with a predetermined number of line logs recorded immediately before the failure occurred. . Therefore, as shown in FIG. 3, if you load the logging dump program 9 into the user area 2, extract the line log from the common area 3, and dump it to the printing device 10, you can investigate the line log immediately before the failure occurred. This makes it possible to deal with line failures.

回線障害等が生ずることなくオンライン業務が終了した
場合には、回線ログがコモン領域3内に留まったままと
なるが、新たにユーザ領域2にロードされたアプリケ−
シロンプログラムがコモン領域3を使用することによっ
て当該ロギングデータは消去され、ロギング領域6とし
て割り当てられていた領域も通常のコモン領域として使
用可能となるので、コモン領域3にロギング領域6を設
けることによってコモン領域3の記憶容量が制約を受け
ることはない。更に、コモン領域3は、アプリケーショ
ンプログラムによって容易に操作できる領域であるから
、コモン領域3に回線ログをロギングすることにより、
その書込み、読出し、更新の手続が簡易化される。
If the online business is completed without any line failure, the line log will remain in the common area 3, but the line log will remain in the common area 3, but the line log will remain in the common area 3.
When the Chiron program uses the common area 3, the logging data is erased, and the area allocated as the logging area 6 can also be used as a normal common area. Therefore, by providing the logging area 6 in the common area 3, The storage capacity of the common area 3 is not restricted. Furthermore, since the common area 3 is an area that can be easily operated by application programs, by logging line logs in the common area 3,
The writing, reading, and updating procedures are simplified.

(7)発明の詳細 な説明した様に、この発明のロギング方式によれば、回
線ログのロギング領域が主記憶のユーザ領域内のコモン
領域にとられるので、ロギングの為の特別のファイルま
たは固定的な記憶領域を確保する必要がなく、資源の有
効活用を図ることができる。即ち、例えばこのロギング
領域を主記憶の基本O5の領域内に取った場合には、そ
の領域は固定的に割り付けられてしまい、主記憶のユー
ザ領域の容量を減少させることになるが、本発明の方式
によれば、他のアプリケーションプログラムが使用可能
な記@頒域を減少させることがなく、資源のを効活用の
上で極めて効果的である。
(7) As described in detail, according to the logging method of the present invention, the logging area for line logs is set in the common area in the user area of the main memory, so a special file for logging or a fixed There is no need to secure a large amount of storage space, and resources can be used effectively. That is, for example, if this logging area is allocated in the basic O5 area of the main memory, that area will be fixedly allocated and the capacity of the user area of the main memory will be reduced. According to this method, the storage area that can be used by other application programs is not reduced, and it is extremely effective in making effective use of resources.

また、ロギング領域が主記憶内のユーザ領域にあるので
、データの書込み、更新、読出しを容易にかつ短時間で
行うことができ、その手順も簡易化され、ロギングデー
タをダンプする際には、ユーザ領域にロギングダンププ
ログラムをロードしてコモン領域からデータを読出して
やればよく、回線ログをダンプする為の特別なマクロ命
令等を用意する必要もなくなる。
In addition, since the logging area is located in the user area within the main memory, data can be written, updated, and read easily and in a short time.The procedure is also simplified, and when dumping logging data, It is sufficient to load a logging dump program into the user area and read data from the common area, and there is no need to prepare a special macro instruction for dumping line logs.

更にロギング領域をユーザ領域のコモン領域内に取り、
ロギングデータをi’1k 17fiのらのに更新しな
がらロギングする様にしたので、比較的小さい記憶領域
内に必要なロギングデータを常時記録しておくことがで
き、記憶容量の小さな小型の情報処理装置におけるロギ
ング方式として特に有効なものである。
Furthermore, take a logging area in the common area of the user area,
Since the logging data is updated while being logged on i'1k 17fi, it is possible to constantly record the necessary logging data in a relatively small storage area, and it is possible to use small information processing with small storage capacity. This is particularly effective as a logging method for devices.

【図面の簡単な説明】[Brief explanation of the drawing]

図は本発明方式における主記憶内のデータ構成の一実施
例を示したもので、第1図はオンライン処理時における
主記憶のデータ構成を示した図、第2図はオンライン処
理時にコモン領域に取られるロギング領域のデータ構成
を示した図、N3図は回線ログのダンプ時における主記
憶のデータ構成を示した図である。 図中、1は基本0312はユーザ領域、3はコモン領域
、4はオンライン管理プログラム、5はオンライン処理
プログラムである。 代理人 弁理士 西 孝雄
The figures show an example of the data structure in the main memory in the method of the present invention. Fig. 1 shows the data structure in the main memory during online processing, and Fig. Figure N3, which is a diagram showing the data structure of the logging area taken, is a diagram showing the data structure of the main memory when dumping the line log. In the figure, 1 is the basic 0312 user area, 3 is the common area, 4 is the online management program, and 5 is the online processing program. Agent Patent Attorney Takao Nishi

Claims (1)

【特許請求の範囲】[Claims] (1)データ伝送時にはオンライン処理プログラムが主
記憶のユーザ領域にロードされかつ当該ユーザ領域には
コモン領域が設けられている情報処理装置の前記データ
伝送時における回線ログのロギング方式であって、回線
ログのロギング領域がデータ伝送時に前記コモン領域内
にとられ、最新のロギングデータが当該ロギング領域に
更新されながら記録されることを特徴とする、回線ログ
のロギング方式。
(1) A logging method for line logs during data transmission of an information processing device in which an online processing program is loaded into a user area of the main memory during data transmission, and a common area is provided in the user area; A logging method for line logs, characterized in that a logging area of the log is set in the common area at the time of data transmission, and the latest logging data is recorded in the logging area while being updated.
JP57183539A 1982-10-19 1982-10-19 Logging system of circuit log Granted JPS5972548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57183539A JPS5972548A (en) 1982-10-19 1982-10-19 Logging system of circuit log

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57183539A JPS5972548A (en) 1982-10-19 1982-10-19 Logging system of circuit log

Publications (2)

Publication Number Publication Date
JPS5972548A true JPS5972548A (en) 1984-04-24
JPH0143335B2 JPH0143335B2 (en) 1989-09-20

Family

ID=16137588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57183539A Granted JPS5972548A (en) 1982-10-19 1982-10-19 Logging system of circuit log

Country Status (1)

Country Link
JP (1) JPS5972548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0399380A (en) * 1989-09-12 1991-04-24 Mitsubishi Electric Corp Method for storing collected data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0399380A (en) * 1989-09-12 1991-04-24 Mitsubishi Electric Corp Method for storing collected data

Also Published As

Publication number Publication date
JPH0143335B2 (en) 1989-09-20

Similar Documents

Publication Publication Date Title
US5193154A (en) Buffered peripheral system and method for backing up and retrieving data to and from backup memory device
US6557073B1 (en) Storage apparatus having a virtual storage area
JP3246146B2 (en) Data transfer method for external storage device
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
EP0666536A1 (en) Dump method, controller, and information processing system
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
JPS5972548A (en) Logging system of circuit log
JP3043662B2 (en) Data backup method
JPS63305445A (en) Data writing system at power break
JPH10154087A (en) Memory content dumping method
CN115543225B (en) Data processing method, system, device, computer storage medium and electronic equipment
JPH04338852A (en) File transfer program with interruption restart mechanism
JPH0563824B2 (en)
US5594909A (en) File I/O control device writing blocks to faster device first and canceling exclusive lock as each block is written
JPH03171242A (en) File backup method
KR100197422B1 (en) Apparatus for managing system file of switching system and method thereof
JPS60144865A (en) Telegram reprocessing system
JPH01300352A (en) Dump area instruction control system
KR900007279B1 (en) Ffd control method in pabx
JP2526726B2 (en) Multiplexed file recovery method
JPS63296154A (en) Snapshot dump system for pre-communication processor
CN114398107A (en) Design method for cross-domain multi-mode loading of DSP (digital Signal processor) program and universal platform
CN113127151A (en) Real-time copying method, system and medium for data in virtualization environment
JPS635431A (en) Management system for program patch information
JPS6254347A (en) Processing system for fault of file