JPS6272040A - Information tracing system - Google Patents

Information tracing system

Info

Publication number
JPS6272040A
JPS6272040A JP60213014A JP21301485A JPS6272040A JP S6272040 A JPS6272040 A JP S6272040A JP 60213014 A JP60213014 A JP 60213014A JP 21301485 A JP21301485 A JP 21301485A JP S6272040 A JPS6272040 A JP S6272040A
Authority
JP
Japan
Prior art keywords
data
area
subroutine
cell area
task
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
JP60213014A
Other languages
Japanese (ja)
Inventor
Yasumasa Yamate
康正 山手
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP60213014A priority Critical patent/JPS6272040A/en
Publication of JPS6272040A publication Critical patent/JPS6272040A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the investigation of the cause of trouble by writing infor mation on data transfer between tasks every time data is transmitted forth and back to a trace area between the tasks. CONSTITUTION:A task B requests a subroutine 5 to receive data on a data reception side with an instruction (RCV1). The subroutine 5 reports data reception to a control program 18 with an instruction (RCV2) and then enters a wait state with an instruction (WAIT). A control program 18, on the other hand, reports an address Z of a cell area 9 to the subroutine 5. The subroutine 5 copies data (a, b, d) in the cell area 9 to a data area 7 with an instruction (COPY2) and then writes the data in the cell area 9 to the trace area 10 with an instruction (TRACE2). Then, the subroutine 5 requests the releasing of the cell area 9 with an instruction (CELL CL). Thus, when the data (d) is transferred between tasks A and B, information on the transfer is stored in the trace area 10.

Description

【発明の詳細な説明】 〔概要〕 端末機等において作動する複数の処理タスク(TASK
)間でデータを授受する際、該データ授受に関わる情報
を所定領域に記録しておき、障害発注時に、この記録さ
れた情報により、原因追求を容易とする。
[Detailed Description of the Invention] [Summary] A plurality of processing tasks (TASK) operating on a terminal, etc.
) When data is exchanged between the two systems, information related to the data exchange is recorded in a predetermined area, and when a fault is placed, this recorded information facilitates the investigation of the cause.

(産業上の利用分野〕 本発明は、複数の処理タスク間におけるデータ授受の際
の情報を記録する情I[11−レース方式〇改良に関す
る。
(Industrial Application Field) The present invention relates to an improvement in the information I[11-race method] for recording information when data is exchanged between a plurality of processing tasks.

複数の処理タスクの作動により、送・受信制御を行う端
末機等において、タスク間で行われるデータ授受に関す
る障害発生時の迅速な原因追求を容易とする対策が望ま
れている。
In a terminal device or the like that performs transmission/reception control through the operation of a plurality of processing tasks, a countermeasure is desired that facilitates quick investigation of the cause when a failure occurs regarding data exchange performed between tasks.

〔従来の技術〕[Conventional technology]

従来例を図によって説明する。第3図は従来例を説明す
るブロック図である。
A conventional example will be explained using figures. FIG. 3 is a block diagram illustrating a conventional example.

第3図は、処理装置1を内蔵する端末機の例であり、例
えば回線部2ににより受信され、バッファ3に格納され
たデータDに関わる受信処理を、主メモリ4内の各処理
プログラムによって処理する。なお各処理プログラムは
タスクとして作動する。
FIG. 3 shows an example of a terminal equipped with a processing device 1, in which, for example, reception processing related to data D received by the line section 2 and stored in the buffer 3 is performed by each processing program in the main memory 4. Process. Note that each processing program operates as a task.

従って処理の過程においては、或タスク(例えばタスク
A)から他のタスク(例えばタスクB)へデータを転送
する、即ちデータ転送授受(タスク間通信)の処理が行
われることが多い、この場合、タスクAは、タスク間通
信サブルーチン5にデータの転送を要求すると共に、タ
スクBもデータの受信を、タスク間通信サブルーチン5
に要求する。即ちタスク間におけるデータの授受は、タ
スク間通信サブルーチン5を介して行われ、タスクA用
のデータ領域6内のデータdが、タスクB用のデータ領
域7へ転送される。
Therefore, in the process of processing, data is often transferred from one task (for example, task A) to another task (for example, task B), that is, data transfer processing (inter-task communication) is often performed. Task A requests the inter-task communication subroutine 5 to transfer data, and task B also requests the inter-task communication subroutine 5 to receive the data.
request. That is, data exchange between tasks is performed via the intertask communication subroutine 5, and data d in the data area 6 for task A is transferred to the data area 7 for task B.

上記の如きタスクA及びBは、処理内容に応した数だけ
存在し、これらの複数タスク間でタスク間通信が頻繁に
行われることにより、回線8を介してのデータ送受信が
処理される。
There are as many tasks A and B as described above depending on the processing content, and data transmission and reception via the line 8 is processed by frequent inter-task communication between these tasks.

なおタスク間通信サブルーチン5と、処理タスクA及び
Bとは、何れも制御プログラム18の制御下で作動する
Note that the inter-task communication subroutine 5 and the processing tasks A and B both operate under the control of the control program 18.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上で明らかなように処理装置を内蔵し、プログラム制
御によりデータ送受信処理が遂行される端末機において
、タスク間通信が行われた際、そのタスク間通信に関わ
る情報の記録が残されていないので、回線を介してのデ
ータ送受信に異常を生した場合等に、その原因追求が困
難となるという問題点があった。
As is clear from the above, when inter-task communication is performed in a terminal device that has a built-in processing unit and performs data transmission and reception processing under program control, no record of information related to the inter-task communication is left. There is a problem in that when an abnormality occurs in data transmission and reception via a line, it becomes difficult to find the cause.

C問題点を解決するための手段〕 第り図は本発明の原理ブロック図である。本発明は、 制御プログラム18の制御下で作動する処理タスク1m
処理タスク12及びサブルーチン5を有し、該サブルー
チン5が2つの処理タスク11及び12の要求に応し、
処理タスク間のデータ転送を司る処理ノステムにおいて
、 処理タスク11が用いるデータ領域6と、処理タスク1
2が用いるデータ領域7と、セル領域9と、 トレース領域10とを備えると共に、 セル領域9を設定したのち該セル領域のアドレス13を
制御プログラム18に通知する領域設定通知手段14、
データ領域6内の情報をセル領域9にコピイするコビイ
手¥i15.7ドレス13を受信したのちセル領域9内
の情報をトレース領域10に書込む書込み手段16及び
セル領域9内の情報をデータ領域7にコピイするコピイ
手段17とをサブルーチン5に備えている。
Means for Solving Problem C] Figure 2 is a block diagram of the principle of the present invention. The invention provides processing tasks 1m operating under the control of a control program 18.
It has a processing task 12 and a subroutine 5, and the subroutine 5 responds to the requests of the two processing tasks 11 and 12,
In the processing nostem that controls data transfer between processing tasks, the data area 6 used by processing task 11 and the processing task 1
2, a data area 7, a cell area 9, and a trace area 10; and area setting notification means 14 for setting the cell area 9 and notifying the control program 18 of the address 13 of the cell area;
A writing means 16 that copies the information in the data area 6 to the cell area 9 and writes the information in the cell area 9 to the trace area 10 after receiving the address 13 and the information in the cell area 9 as data. The subroutine 5 includes a copy means 17 for copying to the area 7.

〔作用〕[Effect]

処理タスク11及び12が、サブルーチン5に対しデー
タ転送を依頼したとき、該サブルーチン5は、セル領域
9を設定したのち、該セル領域9をバッファとしてデー
タ領域6内の情報をデータ領域7へ転送する際、セル領
域9内の情報をトレース領域10への書込み処理を行う
When the processing tasks 11 and 12 request the subroutine 5 to transfer data, the subroutine 5 sets the cell area 9 and then transfers the information in the data area 6 to the data area 7 using the cell area 9 as a buffer. At this time, information in the cell area 9 is written into the trace area 10.

〔実施例〕〔Example〕

以下、本発明を図面によって説明する。第2図は本発明
の一実施例を説明するブロック図である。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 2 is a block diagram illustrating an embodiment of the present invention.

第2図に示す実施例は、2つの処理タスク(以下タスク
と呼ぶ)A及びBを有し、タスクA用のデータ領域6か
らタスクB用のデータ領域7へ、データを転送する例で
ある。
The embodiment shown in FIG. 2 has two processing tasks (hereinafter referred to as tasks) A and B, and is an example in which data is transferred from a data area 6 for task A to a data area 7 for task B. .

■タスクAは、命令(SEND)によりタスク間通信サ
ブルーチン(以下サブルーチンと呼ぶ)5に対しデータ
領域6内のデータの転送を要求する。なおデータ領域6
には、自タスクAの番号a、宛先タスクBの番号す及び
データdが格納されている。
(2) Task A requests the inter-task communication subroutine (hereinafter referred to as subroutine) 5 to transfer data in the data area 6 by a command (SEND). Furthermore, data area 6
, the number a of the self-task A, the number of the destination task B, and data d are stored.

■これに応したサブルーチン5は、命令(CAR下 A  5EF)により、セル領域9を設定する。■Subroutine 5 corresponding to this is a command (under CAR). A 5EF), the cell area 9 is set.

0次にサブルーチン5は、命令(COPY、)により、
データ領域6内のデータ(a、b及びd)をセル領域9
にコピイする。
0 Next, subroutine 5 executes the command (COPY) by
The data (a, b, and d) in data area 6 are transferred to cell area 9.
Copy it to

■サブルーチン5は、命令(TRACE、)により、セ
ル領域9内の情報(a、b及びd)を、トレース領域1
0に書込む。
■ Subroutine 5 transfers information (a, b, and d) in cell area 9 to trace area 1 by command (TRACE).
Write to 0.

■サブルーチン5は命令(CAD  Z)により、セル
領域9のアドレスZを、制御プログラム18に通知する
(2) The subroutine 5 notifies the control program 18 of the address Z of the cell area 9 by a command (CAD Z).

一方、データを受取る側において、 ■タスクBは、命令(RCV、)によりデータの受信を
サブルーチン5に要求する。
On the other hand, on the data receiving side, (1) Task B requests subroutine 5 to receive data by command (RCV,).

■サブルーチン5は、命令(RCV、)により、制御プ
ログラム18にデータ受信を通知したのち命令(WAI
T)により待ち状態に入る。これに対し制御プログラム
18は、セル領域9のアドレスZを、サブルーチン5に
通知する。
■The subroutine 5 notifies the control program 18 of data reception by the command (RCV,), and then the command (WAI).
T) enters the wait state. In response, the control program 18 notifies the subroutine 5 of the address Z of the cell area 9.

■これに伴いサブルーチン5は、命令(COPY、)に
より、セル領域9内のデータ(a、b及びd〉を、デー
タ領域7にコビイする。
(2) Along with this, the subroutine 5 copies the data (a, b, and d) in the cell area 9 to the data area 7 by the command (COPY).

0次にサブルーチン5は、命令(TRACE、)により
、セル領域9内のデータをトレース領域10に書き出す
Next, the subroutine 5 writes the data in the cell area 9 to the trace area 10 by the command (TRACE).

[相]サブルーチン5は、命令(CELL  CL)に
より、制御プログラム18に対し、セル領域10の解放
を依顛する。
[Phase] The subroutine 5 requests the control program 18 to release the cell area 10 by a command (CELL CL).

以上の処理手順で明らかなように、タスク間(A−B)
で、データdの転送が行われた場合、該納される。従っ
てトレース領域10には、タスク間でデータの授受が行
われる毎に、それに関する情報が書込まれるので、障害
を生した場合には、トレース領域10のトレース情報を
調べることにより、障害の発生原因の追求が容易となる
As is clear from the above processing procedure, between tasks (A-B)
When data d is transferred, the corresponding data is stored. Therefore, each time data is exchanged between tasks, information related to it is written in the trace area 10, so if a failure occurs, you can check the trace information in the trace area 10 to determine whether the failure occurred. It becomes easier to pursue the cause.

〔発明の効果〕〔Effect of the invention〕

本発明は、処理過程で生じた障害の原因追求を容易とす
る効果をもたらす利点を有する。
The present invention has an advantage in that it facilitates finding the cause of a failure that occurs during the processing process.

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

第1図は本発明の原理ブロック図 第2図は本発明の一実施例を説明するプロ、り図 第3図は従来例を説明するブロック図 図において、 7はデータ領域、8は回線、9はセル領域、10はトレ
ース開城、11.12.A、Bは処理タスク、13はア
ドレス、14は領域設定手段、15゜17はコピイ手段
、16は書込手段、18は制御プログラムを示す。
FIG. 1 is a block diagram of the principle of the present invention. FIG. 2 is a block diagram explaining an embodiment of the present invention. FIG. 3 is a block diagram explaining a conventional example. In the figure, 7 is a data area, 8 is a line, 9 is a cell area, 10 is a trace area, 11.12. A and B are processing tasks, 13 is an address, 14 is an area setting means, 15.degree. 17 is a copying means, 16 is a writing means, and 18 is a control program.

Claims (1)

【特許請求の範囲】 制御プログラム18の制御下で作動する処理タスク11
、処理タスク12及びサブルーチン5を有し、該サブル
ーチン5が2つの処理タスク11及び12の要求に応じ
、処理タスク間のデータ転送を司る処理システムにおい
て、 処理タスク11が用いるデータ領域6と、 処理タスク12が用いるデータ領域7と、 セル領域9と、 トレース領域10とを設けると共に、 セル領域9を設定したのち該セル領域のアドレス13を
制御プログラム18に通知する領域設定通知手段14、
データ領域6内の情報をセル領域9にコピイするコピイ
手段15、アドレス13を受信したのちセル領域9内の
情報をトレース領域10に書込む書込み手段16及びセ
ル領域9内の情報をデータ領域7にコピイするコピイ手
段17とをサブルーチン5に設け、 処理タスク11及び12が、サブルーチン5に対しデー
タの転送を要求したとき、該サブルーチン5は、セル領
域9を設定したのち、該セル領域9をバッファとしてデ
ータ領域6内の情報をデータ領域7へ転送する際、セル
領域9内の情報のトレース領域10への書込み処理を行
うことを特徴とする情報トレース方式。
[Claims] Processing tasks 11 operating under the control of a control program 18
, a processing task 12 and a subroutine 5, in which the subroutine 5 manages data transfer between the processing tasks in response to requests from two processing tasks 11 and 12, comprising: a data area 6 used by the processing task 11; an area setting notification means 14 that provides a data area 7, a cell area 9, and a trace area 10 used by the task 12, and notifies the control program 18 of the address 13 of the cell area after setting the cell area 9;
Copying means 15 copies the information in the data area 6 to the cell area 9, writing means 16 writes the information in the cell area 9 to the trace area 10 after receiving the address 13, and the information in the cell area 9 is copied to the data area 7. The subroutine 5 is provided with a copy means 17 for copying data to the subroutine 5, and when the processing tasks 11 and 12 request the subroutine 5 to transfer data, the subroutine 5 sets the cell area 9 and then transfers the data to the subroutine 5. An information tracing method characterized in that when information in a data area 6 is transferred to a data area 7 as a buffer, information in a cell area 9 is written into a trace area 10.
JP60213014A 1985-09-26 1985-09-26 Information tracing system Pending JPS6272040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60213014A JPS6272040A (en) 1985-09-26 1985-09-26 Information tracing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60213014A JPS6272040A (en) 1985-09-26 1985-09-26 Information tracing system

Publications (1)

Publication Number Publication Date
JPS6272040A true JPS6272040A (en) 1987-04-02

Family

ID=16632069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60213014A Pending JPS6272040A (en) 1985-09-26 1985-09-26 Information tracing system

Country Status (1)

Country Link
JP (1) JPS6272040A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0271332A (en) * 1988-09-07 1990-03-09 Hitachi Ltd Multi-task processing system
JPH02297633A (en) * 1989-05-12 1990-12-10 Nec Corp Task managing system
JPH07295839A (en) * 1994-04-26 1995-11-10 Nec Corp Inter-task communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0271332A (en) * 1988-09-07 1990-03-09 Hitachi Ltd Multi-task processing system
JPH02297633A (en) * 1989-05-12 1990-12-10 Nec Corp Task managing system
JPH07295839A (en) * 1994-04-26 1995-11-10 Nec Corp Inter-task communication system

Similar Documents

Publication Publication Date Title
JPS6272040A (en) Information tracing system
JP2003157152A (en) File control unit and filing system
JPS63305445A (en) Data writing system at power break
JP2000089917A (en) Information processor
JPH06259274A (en) Duplex system
JPH03241441A (en) Local file duplex device
JPH03231338A (en) Control system for memory dump area
JP2876676B2 (en) Communication control method between processors
JPS62107343A (en) Method for securing completeness of data for computer system
JPS622334B2 (en)
JPH11305949A (en) Remote transfer method for file controller
JPS5851293B2 (en) Data exchange control method
JPH0378848A (en) Transfer system for back-up data
JP3033586B2 (en) Information processing system
JPS63223946A (en) Data memory system
JPS6211945A (en) Debug system
JPS60252975A (en) Information processing system
JPS63301352A (en) Exchange system for file shared data with communication control
JPH11353239A (en) Backup device
JPS60254335A (en) Multiplex processing system in software test
JPH01314335A (en) Inter-task communication system
JPS63273155A (en) Control system for shared storage device
JPS62260263A (en) Program control system by multiprocessor
JPS61206045A (en) Information processing system
JPS629459A (en) Common memory copy system