JPH04125738A - Data processor - Google Patents

Data processor

Info

Publication number
JPH04125738A
JPH04125738A JP2248076A JP24807690A JPH04125738A JP H04125738 A JPH04125738 A JP H04125738A JP 2248076 A JP2248076 A JP 2248076A JP 24807690 A JP24807690 A JP 24807690A JP H04125738 A JPH04125738 A JP H04125738A
Authority
JP
Japan
Prior art keywords
processing
data
processor
target data
processing target
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
JP2248076A
Other languages
Japanese (ja)
Inventor
Tadanobu Hakuba
白馬 忠信
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2248076A priority Critical patent/JPH04125738A/en
Publication of JPH04125738A publication Critical patent/JPH04125738A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a need to generate and store a processing object data again by a management processor by sending a processing indication, which includes area information indicating the storage area of the processing object data in a data storage device and the data name, from the management processor to a processing processor. CONSTITUTION:If trouble occurs in the middle of processing in a processing processor 2, a management processor 1 generates a restart processing indication 20, which includes a start position START and an end position END of the processing object data group already stored in a magnetic disk device 3 and the data name included in a processing result report 30 received just before interruption, and transmits this indication 20 to the processing processor 2 through a communication line 4 when the processing is restarted. The management processor 1 terminates the processing when receiving the processing result report 30 for last data of the processing object data group from the processing processor 2.

Description

【発明の詳細な説明】 〔産業上の利用分野] 本発明はデータ処理装置に関し、特に、互いに通信可能
な管理プロセンサと処理プロセッサとが共通のデータ格
納装置に接続された構成を有するデータ処理装置に関す
る。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a data processing device, and particularly to a data processing device having a configuration in which a management processor and a processing processor that can communicate with each other are connected to a common data storage device. Regarding.

[従来の技術〕 従来、この種のデータ処理装置においては、管理プロセ
ッサが、複数の処理対象データを含む処理対象データ群
を磁気ディスク装置等のデータ格納装置に格納してその
格納領域を示す領域情報を処理プロセッサに送信して処
理を指示し、処理プロセッサは、受信した領域情報が示
すデータ格納装置の格納領域に含まれる全ての処理対象
データに対し成るデータとの照合といった所定の処理を
行い、各処理対象データに含まれるデータ名称を付加し
た処理結果を管理プロセッサに返信するといった処理形
態を採用することがある。
[Prior Art] Conventionally, in this type of data processing device, a management processor stores a data group to be processed, including a plurality of pieces of data to be processed, in a data storage device such as a magnetic disk device, and creates an area indicating the storage area. The information is transmitted to the processing processor to instruct processing, and the processing processor performs predetermined processing such as collating all processing target data included in the storage area of the data storage device indicated by the received area information with data consisting of the data. , a processing form may be adopted in which a processing result with a data name included in each processing target data added is returned to the management processor.

ところで、処理プロセッサが処理の途中で障害を起こし
たことにより、障害を復旧して処理を再開する場合、処
理対象データ群の最初から改めて処理を行わせることは
無駄が多いので、従来は、次のようにしていた。
By the way, when a processor fails during processing and restarts processing after recovering from the failure, it would be wasteful to restart the process from the beginning of the data group to be processed, so conventionally, It was like that.

処理プロセッサは処理し終えた処理対象データについて
は、それに含まれるデータ名称を付加した処理結果を管
理プロセッサに返信するので、処理プロセッサの処理中
断の直前に返信された処理結果に付加されたデータ名称
を持つ処理対象データまでは正常に処理が行われたと考
えられる。よって管理プロセッサは、そのデータ名称を
キーとしてデータ格納装置に格納されている処理対象デ
ータ群を検索し、見つけた処理対象データの直後の処理
対象データから最後の処理対象データまでを新たな処理
対象データ群としてデータ格納装置に格納し直し、通常
の処理と同様に、その格納領域を示す領域情報を通知し
て処理プロセッサに処理を行わせる。これにより、処理
プロセッサは通常の処理と同様に、通知された領域情報
が示す格納領域に含まれる処理対象データ群、すなわち
処理の中断によって処理されなかった処理対象データの
処理を行う。
For the processing target data that has been processed, the processing processor returns the processing result with the data name included therein to the management processor, so the data name added to the processing result that was returned immediately before the processing of the processing processor was interrupted. It is considered that processing was performed normally up to the processing target data with . Therefore, the management processor searches for a group of processing target data stored in the data storage device using the data name as a key, and selects the processing target data immediately after the found processing target data to the last processing target data as a new processing target. The data is stored again in the data storage device as a data group, and in the same way as normal processing, area information indicating the storage area is notified and the processing processor is made to perform processing. As a result, the processor processes the processing target data group included in the storage area indicated by the notified area information, that is, the processing target data that was not processed due to the interruption of processing, in the same way as normal processing.

〔発明が解決しようとする課題] 上述した従来の方法によれば、処理中断までに処理され
た処理対象データに対し処理プロセッサが再度処理を行
うという無駄が省けるが、その為に管理プロセッサは処
理対象データ群を再作成してデータ格納装置に格納し直
すという処理を行わなければならない。なお、管理プロ
セッサが中断直前に受信したデータ名称でデータ格納装
置を検索し、見つけた処理対象データの直後の処理対象
データの位置から最後の処理対象データの位置までの格
納領域を示す領域情報を処理プロセッサに通知して処理
を行わせる方法も考えられ、こうすることにより多少は
管理プロセッサ側の負荷が軽減されると考えられる。し
かし、その軽残量は僅かであり、且つ、領域情報のパラ
メータ数が増大する可能性がある。即ち、通常時は、処
理対象データ群の先頭をデータ格納装置である磁気ディ
スク装置のトラックの先頭といった物理的に区切りの良
い箇所に合わせて格納するので、領域情報のパラメータ
数は少なくて済むが、途中の処理対象データの位置はト
ラックの途中といった箇所となり、先頭から何ハイド目
といったパラメータも必要となり、領域情報のパラメー
タ数に制限のある゛場合には採用することができない。
[Problems to be Solved by the Invention] According to the conventional method described above, it is possible to avoid the waste of the processing processor reprocessing the processing target data that has been processed before the processing is interrupted, but for this purpose the management processor The process of re-creating the target data group and storing it in the data storage device must be performed. Note that the management processor searches the data storage device using the data name received just before the interruption, and retrieves area information indicating the storage area from the position of the data to be processed immediately after the data to be processed to the position of the last data to be processed. A method of notifying the processing processor and having it perform the processing is also considered, and it is thought that this will reduce the load on the management processor side to some extent. However, the remaining amount is small, and the number of parameters of area information may increase. In other words, normally, the beginning of the data group to be processed is stored at a physically well-separated point such as the beginning of the track of the magnetic disk device that is the data storage device, so the number of parameters for area information is small. , the position of the intermediate data to be processed is in the middle of the track, and parameters such as the number of hides from the beginning are required, and this cannot be used in cases where there is a limit to the number of parameters in the region information.

そこで本発明の目的は、管理プロセッサによる処理対象
データ群の再作成、再格納を必要とせずに、データ格納
装置に格納された処理対象データ群のうちの処理中断等
によって未処理となっている処理対象データ部分のみに
ついての処理を、中断前に送信した領域情報と同様な領
域情報を使用して、処理プロセッサに行わせることがで
きるデータ処理装置を提供することにある。
Therefore, an object of the present invention is to eliminate the need for a management processor to recreate or restorage of a data group to be processed, and to eliminate unprocessed data from a group of data to be processed stored in a data storage device due to processing interruption, etc. An object of the present invention is to provide a data processing device that allows a processor to process only a data portion to be processed using area information similar to area information transmitted before interruption.

[課題を解決するための手段] 本発明は上記の目的を達成するために、互いに通信可能
な管理プロセッサと処理プロセッサとが共通のデータ格
納装置に接続された構成を有するデータ処理装置におい
て、 前記管理プロセンサは、 前記データ格納装置に格納された処理対象データ群の格
納領域を示す領域情報とデータ名称とを含む処理指示を
前記処理プロセ、すに送出する第1の手段と、 前記領域情報は含まれるが前記データ名称は含まれない
処理指示を前記処理プロセッサに送出する第2の手段と
を備え、 前記処理プロセッサは、 前記データ名称を含まない処理指示を受信することによ
り、受信した領域情報が示す前記データ格納装置の格納
領域に含まれる全ての処理対象データに対して処理を行
って各処理対象データに含まれるデータ名称を付加した
処理結果を前記管理プロセッサに返信する第3の手段と
、 前記データ名称を含む処理指示を受信することにより、
受信した領域情報が示す前記データ格納装置の格納領域
に格納された処理対象データ群のうち前記データ名称と
同一のデータ名称を含む処理対象データの次の処理対象
データから前記処理対象データ群の最後の処理対象デー
タまでの全ての処理対象データに対して処理を行って各
処理対象データに含まれるデータ名称を付加した処理結
果を前記管理プロセッサに返信する第4の手段とを備え
ている。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a data processing device having a configuration in which a management processor and a processing processor that can communicate with each other are connected to a common data storage device. The management processor includes: a first means for sending a processing instruction including a data name and area information indicating a storage area of a data group to be processed stored in the data storage device to the processing processor; and a second means for sending a processing instruction that includes the data name but does not include the data name to the processing processor, and the processing processor receives the processing instruction that does not include the data name, thereby transmitting the received area information. third means for processing all of the data to be processed contained in the storage area of the data storage device indicated by and returning to the management processor a processing result with a data name included in each data to be processed; , by receiving a processing instruction including the data name,
From among the processing target data group stored in the storage area of the data storage device indicated by the received area information, the processing target data next to the processing target data containing the same data name as the processing target data to the last processing target data group and a fourth means for processing all of the processing target data up to the processing target data and returning a processing result with a data name included in each processing target data to the management processor.

また、別の構成のデータ処理装置においては、第2の手
段および第3の手段が省略され、前記管理プロセッサは
、前記第1の手段を備え、前記処理プロセッサは、前記
第4の手段を備えている。
Further, in a data processing device having another configuration, the second means and the third means are omitted, the management processor includes the first means, and the processing processor includes the fourth means. ing.

そして、この構成のデータ処理装置においては、前記管
理プロセッサは、前記処理プロセッサの処理中断後の再
処理時には中断前に送信したのと同じ領域情報に中断直
前に前記処理プロセッサから受信したデータ名称を付加
した処理指示を前記第1の手段によって前記処理プロセ
ンサに送信し、処理中断後の再開処理以外の場合は、処
理対象データ群の先頭の処理対象データに含まれるデー
タ名称を領域情報に付加した処理指示を前記第1の手段
によって前記処理プロセッサに送信する構成を有する。
In the data processing device having this configuration, the management processor, when reprocessing after the processing of the processing processor is interrupted, adds the data name received from the processing processor immediately before the interruption to the same area information that was sent before the interruption. The added processing instruction is transmitted to the processing processor by the first means, and in cases other than restart processing after processing interruption, a data name included in the first processing target data of the processing target data group is added to the area information. The processing instruction is configured to transmit a processing instruction to the processing processor by the first means.

〔作用〕[Effect]

第1乃至第4の手段を備える本発明のデータ処理装置に
おいては、管理プロセッサが、複数の処理対象データを
含む処理対象データ群をデータ格納装置に格納し、その
格納された処理対象データ群の格納領域を示す領域情報
を含む処理指示を第2の手段によって処理プロセッサに
送出すると、処理プロセッサの第3の手段が、その処理
指示を受信することにより、受信した領域情報が示すデ
ータ格納装置の格納領域に含まれる全ての処理対象デー
タに対して処理を行って各処理対象データに含まれるデ
ータ名称を付加した処理結果を管理プロセッサに返信す
る。
In the data processing device of the present invention including the first to fourth means, the management processor stores a processing target data group including a plurality of processing target data in the data storage device, and stores the processing target data group including the plurality of processing target data in the data storage device. When the second means sends a processing instruction including area information indicating a storage area to the processing processor, the third means of the processing processor receives the processing instruction and thereby processes the data storage device indicated by the received area information. It processes all of the processing target data included in the storage area, and returns the processing results to which the data names included in each processing target data are added to the management processor.

また、上記の処理の途中で処理プロセッサが障害を起こ
すと、その復旧後の再開時に、管理プロセッサの第1の
手段が、中断前に送信したのと同じ領域情報に中断直前
に処理プロセッサから受信したデータ名称を付加した処
理指示を処理プロセッサに送信し、このデータ名称を含
む処理指示を受信することにより処理プロセッサの第4
の手段が、受信した領域情報が示すデータ格納装置の格
納領域に格納された処理対象データ群のうち前記データ
名称と同一のデータ名称を含む処理対象データの次の処
理対象データから前記処理対象データ群の最後の処理対
象データまでの全ての処理対象データに対して処理を行
って各処理対象データに含まれるデータ名称を付加した
処理結果を前記管理プロセッサに返信する。
Furthermore, if a failure occurs in the processing processor during the above processing, upon resumption after recovery, the first means of the management processor receives the same area information from the processing processor immediately before the interruption that it sent before the interruption. By sending a processing instruction to which a data name has been added to the processing processor, and receiving a processing instruction including this data name, the fourth
The means selects the processing target data from the processing target data next to the processing target data containing the same data name as the data name among the processing target data group stored in the storage area of the data storage device indicated by the received area information. It processes all the processing target data up to the last processing target data in the group, and returns the processing results to which data names included in each processing target data are added to the management processor.

上記の第1乃至第4の手段を備えるデータ処理装置では
、通常処理と処理中断後の再開処理とで種類の異なる処
理指示を採用したが、第1と第4の手段だけを備える本
発明のデータ処理装置では、データ名称を付加した処理
指示だけで通常処理と処理中断後の再開処理とが行える
。即ち、処理中断後の再開時には、第1乃至第4の手段
を備えるデータ処理装置と同様な動作が行われ、通常処
理時には、以下のような動作が行われる。先ず、管理プ
ロセッサは、処理対象データ群の先頭の処理対象データ
に含まれるデータ名称を領域情報に付加した処理指示を
前記第1の手段によって処理プロセッサに送信する。す
ると、処理プロセ・7すの第4の手段は、受信した領域
情報が示すデータ格納装置の格納領域に格納された処理
対象データ群のうち前記データ名称と同一のデータ名称
を含む処理対象データの次の処理対象データから前記処
理対象データ群の最後の処理対象データまでの全ての処
理対象データに対して処理を行って各処理対象データに
含まれるデータ名称を付加した処理結果を前記管理プロ
センサに返信するという、処理中断後の再開時と同様な
動作を行う。よって、処理対象データ群の先頭の処理対
象データを、処理プロセッサによる処理が不要なデータ
(ダミー的なデータ)としておくことにより、処理中断
後の再開処理と同じ手順で通常処理が行えることになる
In the data processing apparatus including the first to fourth means described above, different types of processing instructions are used for normal processing and restart processing after processing interruption, but the present invention, which includes only the first and fourth means, In the data processing device, normal processing and restart processing after processing interruption can be performed only by processing instructions with data names added. That is, when restarting after processing is interrupted, operations similar to those of the data processing apparatus including the first to fourth means are performed, and during normal processing, the following operations are performed. First, the management processor uses the first means to transmit to the processing processor a processing instruction in which a data name included in the first processing target data of the processing target data group is added to area information. Then, the fourth means of the processing process 7 selects the processing target data containing the same data name as the data name among the processing target data group stored in the storage area of the data storage device indicated by the received area information. All processing target data from the next processing target data to the last processing target data of the processing target data group is processed, and the processing results with data names included in each processing target data are sent to the management processor. It performs the same operation as when restarting after suspending processing, which is to send a reply. Therefore, by setting the processing target data at the head of the processing target data group as data that does not need to be processed by the processing processor (dummy data), normal processing can be performed using the same procedure as restart processing after processing is interrupted. .

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して詳細に説
明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例にかかるデータ処理装置に含
まれる処理プロセッサの処理の一例を示す流れ図、第2
図は同データ処理装置に含まれる管理プロセッサの処理
の一例を示す流れ図、第3図は同データ処理装置のブロ
ック図である。この第3図に示すように、本実施例のデ
ータ処理装置は、管理プロセッサ1と処理プロセッサ2
とを含み、両プロセッサ1,2で共通に使用されるデー
タ格納装置である磁気ディスク装置3を備えている。ま
た、両プロセッサ1,2は通信回線4を介して互いに通
信可能になっている。
FIG. 1 is a flowchart showing an example of processing by a processor included in a data processing device according to an embodiment of the present invention;
The figure is a flowchart showing an example of processing by a management processor included in the data processing device, and FIG. 3 is a block diagram of the data processing device. As shown in FIG. 3, the data processing apparatus of this embodiment includes a management processor 1 and a processing processor 2.
It includes a magnetic disk device 3 which is a data storage device commonly used by both processors 1 and 2. Further, both processors 1 and 2 can communicate with each other via a communication line 4.

第4図は管理プロセッサ1によって磁気ディスク装置3
に格納される処理対象データ群の一例を示す。ここで、
データD1〜DNは処理プロセッサ2が処理する必要の
ある処理対象データであり、処理の加えられる可変長な
データ以外にデータ名称として名称m1〜mNを含んで
いる。
FIG. 4 shows how the management processor 1 controls the magnetic disk device 3.
An example of the processing target data group stored in is shown below. here,
Data D1 to DN are processing target data that must be processed by the processing processor 2, and include names m1 to mN as data names in addition to variable length data to be processed.

第5図は通信回線4を介して管理プロセッサ1と処理プ
ロセッサ2との間で授受される情報のフォーマット例を
示す。
FIG. 5 shows an example of the format of information exchanged between the management processor 1 and the processing processor 2 via the communication line 4. In FIG.

処理指示10および再開処理指示20は、管理プロセッ
サ1から処理プロセッサ2に送信される情報であり、処
理指示10は処理対象データ群開始位置5TARTと処
理対象データ群終了位置ENDとを含み、再開処理指示
20は処理対象データ群開始位置5TARTと処理対象
データ群終了位置ENDと最終処理済データ名称LNA
MEとを含む。ここで、処理対象データ群開始位置5T
ARTは処理対象データ群が格納されている磁気ディス
ク装置3の格納領域の先頭位置を、処理対象データ群緋
了位置ENDはその格納領域の終了位置を、それぞれ磁
気ディスク装置3の物理的な位置で指し示すものである
。また、最終処理済データ名称LNAMEは、処理プロ
セッサ2の中断直前に管理プロセッサ1が受信した処理
結果通知に含まれていたデータ名称である。
The processing instruction 10 and the restart processing instruction 20 are information sent from the management processor 1 to the processing processor 2. The processing instruction 10 includes a processing target data group start position 5TART and a processing target data group end position END, and the processing instruction 10 includes a processing target data group start position 5TART and a processing target data group end position END. Instructions 20 are the processing target data group start position 5TART, the processing target data group end position END, and the final processed data name LNA.
Including ME. Here, the processing target data group start position 5T
ART indicates the beginning position of the storage area of the magnetic disk device 3 in which the data group to be processed is stored, and END indicates the end position of the storage area, and the physical location of the magnetic disk device 3. This is what it points to. Further, the final processed data name LNAME is the data name included in the processing result notification received by the management processor 1 immediately before the processing processor 2 was interrupted.

処理結果通知30は、処理プロセッサ2から管理プロセ
ッサ1に送信される情報であり、処理対象データの処理
結果とその処理対象データに含まれていたデータ名称N
AMEとを含む。
The processing result notification 30 is information sent from the processing processor 2 to the management processor 1, and includes the processing result of the processing target data and the data name N included in the processing target data.
Including AME.

次に、本実施例の動作を各図を参照して説明する。Next, the operation of this embodiment will be explained with reference to each figure.

通常時、管理プロセッサ1は、第4図に示したような処
理対象データ群を磁気ディスク装置3に格納しく第2図
の501)、第5図に示した処理指示10を作成して処
理プロセンサ2に通信回線4を介して送信する(502
)。なお、処理対象データ群は、その先頭が磁気ディス
ク装置3の例えばトラックの先頭に一致するというよう
な物理的に区切りの良い位置から格納される。その後、
管理プロセンサ1は、処理プロセッサ2から第5図に示
した処理結果通知30が送られてくる毎にそれを受信し
く503)、第4図の処理対象データ群の最終データで
あるデータDNに対する処理結果通知30を受信すると
(504でYES)、今回の処理対象データ群の処理プ
ロセンサ2による処理が正常終了したものとして、第2
図の処理を終了する。
Normally, the management processor 1 stores the data group to be processed as shown in FIG. 4 in the magnetic disk device 3 (501 in FIG. 2), creates the processing instruction 10 shown in FIG. 2 via communication line 4 (502
). Note that the data group to be processed is stored from a physically well-defined position such that its head coincides with the head of a track in the magnetic disk device 3, for example. after that,
The management processor 1 receives the processing result notification 30 shown in FIG. 5 from the processing processor 2 (503), and processes the data DN which is the final data of the processing target data group shown in FIG. When the result notification 30 is received (YES in 504), it is assumed that the processing of the current processing target data group by the processing processor 2 has been successfully completed, and the second
Finish processing the diagram.

他方、処理プロセッサ2は管理プロセッサ1から第5図
に示した処理指示10を受信すると、データ名称のチエ
ツクを行わないモードである「データチエツクN」を自
身に設定しく第1図の601)、続出位置(RPTR)
に処理指示10に含まれる処理対象データ群開始位置5
TARTを設定する(603)。そして、磁気ディスク
装置3の続出位置(RPTR)に相当する場所からデー
タを1つ読出しく604)、データチエツクNのモード
であるので(605でNO)、読出したデータに対して
所定の処理を実行しく606)、処理したデータのデー
タ名称とそのデータの処理結果とを含む第5図の処理結
果通知30を管理プロセッサ1に通信回線4を介して返
信する(607)その後、処理指示10に含まれる処理
対象データ群終了位置ENDの位置のデータまで処理し
たか否かをチエツクしく610)、未だその位置まで達
していない場合には続出位置(RPTR)を次のデータ
位置に更新しく611)、処理604に戻って残りのデ
ータを上記と同様に処理する。また、処理対象データ群
終了指示ENDの位置のデータまで処理し終えたら、第
1図の処理を終了する。
On the other hand, when the processing instruction 10 shown in FIG. 5 is received from the management processor 1, the processing processor 2 sets itself to "data check N" which is a mode in which data names are not checked (601 in FIG. 1). Repeated position (RPTR)
Processing target data group start position 5 included in processing instruction 10
Set TART (603). Then, one piece of data is read from the location corresponding to the successive position (RPTR) of the magnetic disk device 3 (604). Since the mode is data check N (NO in 605), predetermined processing is performed on the read data. Execution (606) returns the processing result notification 30 shown in FIG. 5 including the data name of the processed data and the processing result of the data to the management processor 1 via the communication line 4 (607). Check whether the data at the included processing target data group end position END has been processed (610), and if it has not reached that position yet, update the successive position (RPTR) to the next data position (611). , and returns to step 604 to process the remaining data in the same manner as above. Further, when the data at the position of the processing target data group end instruction END has been processed, the processing shown in FIG. 1 is ended.

次に上述のような処理を行っている処理プロセッサ2が
その処理途中に障害を発生し、その復旧後に処理を再開
させる場合の動作を説明する。なお、管理プロセッサl
は処理プロセッサ2から、第4図のデータDnに対応す
る処理結果通知30を最後に受信していたものとする。
Next, an explanation will be given of the operation in the case where the processor 2 performing the above-mentioned processing encounters a failure during the processing and restarts the processing after recovery from the failure. In addition, the management processor l
It is assumed that the processing result notification 30 corresponding to the data Dn in FIG. 4 was last received from the processing processor 2.

処理再開時、管理プロセッサ1は、第2図の処理501
で磁気ディスク装置3に既に格納した処理対象データ群
にかかる処理対象データ群開始位置5TARTおよび処
理対象デニタ群終了位置ENDと、中断直前に受信した
処理結果通知30に含まれていたデータ名称mnとを含
む第5図に示した再開処理指示20を作成して処理プロ
セッサ2に通信回線4を介して送信する(第2図の50
5)。そして、通常時と同様に、処理プロセッサ2から
第5図に示した処理結果通知30が送られてくる毎にそ
れを受信しく503)、第4図の処理対象データ群の最
終データであるデータDNに対する処理結果通知30を
受信すると(504でYES) 、今回の処理対象デー
タ群の処理プロセッサ2による処理が正常終了したもの
として、第2図の処理を終了する。
When restarting the process, the management processor 1 performs the process 501 in FIG.
The processing target data group start position 5TART and the processing target data group end position END concerning the processing target data group already stored in the magnetic disk device 3, and the data name mn included in the processing result notification 30 received immediately before interruption. A restart processing instruction 20 shown in FIG. 5 including
5). Then, as in normal times, each time the processing result notification 30 shown in FIG. 5 is sent from the processing processor 2, it is received (503), and the final data of the processing target data group shown in FIG. When the processing result notification 30 for the DN is received (YES at 504), it is assumed that the processing by the processor 2 of the current data group to be processed has been successfully completed, and the processing shown in FIG. 2 is ended.

他方、処理プロセッサ2は管理プロセンサ1から第5図
に示した再開処理指示20を受信すると、データ名称の
チエツクを行うモードである「データチエツクY」を自
身に設定しく第1図の602)続出位置(RPTR)に
再開処理指示20に含まれる処理対象データ群開始位置
5TARTを設定する(603)。そして、磁気ディス
ク装置3の読出位置(RPTR)に相当する場所からデ
ータを1つ読出しく604LデータチエンクYのモード
であるので(605でYES)、読出したデータ中のデ
ータ名称が再開処理指示30の最終処理済データ名称L
NAMEと同しか否かをチエツクする(60B)。そし
て、等しくない場合(608でNO)、再開処理指示2
0に含まれる処理対象データ群終了位置ENDの位置の
データまで処理したか否かをチエツクしく610)、未
だその位置まで達していない場合には読出位置(RPT
R)を次のデータ位置に更新しく611L処理604に
戻って上述した処理を繰り返す。
On the other hand, when the processing processor 2 receives the restart processing instruction 20 shown in FIG. 5 from the management processor 1, it is instructed to set itself to "data check Y" which is a mode for checking data names (step 602 in FIG. 1). The processing target data group start position 5TART included in the restart processing instruction 20 is set in the position (RPTR) (603). Then, one piece of data is read from the location corresponding to the read position (RPTR) of the magnetic disk device 3. Since the mode is 604L data check Y (YES in 605), the data name in the read data is the restart processing instruction. 30 final processed data names L
Check whether it is the same as NAME (60B). If they are not equal (NO in 608), restart processing instruction 2
Check whether the data at the end position END of the data group to be processed included in the processing target data group 610) has been processed, and if it has not reached that position yet, the read position
R) to the next data position, the process returns to 611L process 604 and the above-described process is repeated.

また、処理608において、読出したデータ中のデータ
名称が最終処理済データ名称LNAM、Eと同じである
ことが検出された場合(608でYES) 、データ名
称のチエツクを行わないモード「データチエツクN」に
モートを変更しく609)処理610に進む。従って、
これ以降読出されるデータに対しては通常時と同様の処
理が行われる。
Further, in the process 608, if it is detected that the data name in the read data is the same as the final processed data name LNAM, E (YES in 608), the mode "Data check N" is selected in which the data name is not checked. ” 609) Proceed to process 610. Therefore,
Data read from this point on is subjected to the same processing as in normal times.

以上のようにして、中断後の再開時、管理プロセンサ1
は処理対象データ群の再作成、再格納をすることなく処
理を進めることができる。
As described above, when restarting after interruption, the management processor 1
can proceed without re-creating or re-storing the data group to be processed.

次に、処理対象データ群の先頭に処理不要なダミー的な
データを故意に設けることにより、データ名称を付加し
た処理指示だけで通常処理と中断後の再開処理とを制御
できるようにした本発明の実施例について説明する。な
お、データ処理装置の構成は先の実施例と同様に第3図
の構成が採用される。
Next, by intentionally providing dummy data that does not need to be processed at the beginning of a group of data to be processed, the present invention makes it possible to control normal processing and restart processing after interruption using only a processing instruction with a data name added. An example will be described. It should be noted that the configuration of the data processing device is the same as in the previous embodiment, as shown in FIG. 3.

第6図は管理プロセッサ1によって磁気ディスク装置3
に格納される処理対象データ群の内容例であり、既に説
明した第4図の処理対象データ群の先頭に、既知のデー
タ名称mOを持つダミーのデータDOを付加したもので
ある。
FIG. 6 shows the management processor 1 controlling the magnetic disk device 3.
This is an example of the contents of a data group to be processed stored in , and dummy data DO having a known data name mO is added to the beginning of the data group to be processed in FIG. 4 already described.

第7図は管理プロセッサ1から処理プロセッサ2へ送信
される処理指示のフォーマント例であり、フォーマット
的には第5図の再開処理指示20と類似している。しか
し、本実施例では、第7図に示した処理指示を処理中断
後の再開時だけでなく、通常処理時にも使用するため、
第5図において最終処理済データ名称LNAMEとなっ
ている箇所が、データ名称PNAMEとなっている。こ
のデータ名称PNAMEには、通常処理時には第6図の
データDOのデータ名称mOが設定され、処理中断後の
再開時には兎の実施例と同様に最後に受信したデータ名
称が設定される。
FIG. 7 is a format example of a processing instruction sent from the management processor 1 to the processing processor 2, and the format is similar to the restart processing instruction 20 shown in FIG. However, in this embodiment, the processing instructions shown in FIG. 7 are used not only when restarting after processing interruption, but also during normal processing.
In FIG. 5, the part where the final processed data name LNAME is written is the data name PNAME. This data name PNAME is set to the data name mO of the data DO in FIG. 6 during normal processing, and when restarted after processing is interrupted, the last received data name is set as in the rabbit embodiment.

第8図は管理プロセッサ1の処理例を示し、第9図は処
理プロセッサ2の処理例を示す。第8図が第2図と相違
するところは、処理501′において第6図に示したよ
うな処理対象データ群を磁気ディスク装置3に格納する
点と、処理502゛505“において通常時、再開時と
も第7図に示したフォーマントの処理指示40を作成す
る点にあり、第9図が第1図と相違するところは、主に
、第1図の処理601が省略されて入り口が1つになっ
ている点にある。
FIG. 8 shows an example of processing by the management processor 1, and FIG. 9 shows an example of processing by the processing processor 2. The difference between FIG. 8 and FIG. 2 is that in process 501', the data group to be processed as shown in FIG. The difference between FIG. 9 and FIG. 1 is that the formant processing instruction 40 shown in FIG. 7 is sometimes created, and the main difference between FIG. 9 and FIG. The point is that it has become.

通常時においては、管理プロセッサ1は、第6図に示し
たような処理対象データ群を磁気ディスク装置3に格納
しく第8図の501’)、第7図のデータ名称PNAM
Eに先頭のデータDOのデータ名称mOを設定した処理
指示40を処理プロセッサ2に送信する。処理プロセッ
サ2では、この処理指示40を受信すると、第1図にお
いて再開処理指示を受信した場合と同じ動作を行う。こ
の結果、先頭のデータDOに対しては処理606の処理
は行われず、その代わりに処理608゛でデータ名称の
一致が検出され、処理609でモードが「データチエツ
クNJに変更される。よって、以降のデータD1〜DN
は通常通り処理される。
In normal times, the management processor 1 stores a data group to be processed as shown in FIG. 6 in the magnetic disk device 3.
A processing instruction 40 in which the data name mO of the first data DO is set in E is transmitted to the processing processor 2. When the processing instruction 40 is received, the processing processor 2 performs the same operation as when receiving the restart processing instruction in FIG. 1. As a result, the process 606 is not performed on the first data DO, and instead, a match in the data name is detected in process 608, and the mode is changed to "Data Check NJ" in process 609. Therefore, Subsequent data D1 to DN
is processed normally.

また、処理中断後の再開時においては、管理プロセッサ
1は、第7図のデータ名称PNAMEに中断直前に受信
した第5図の処理結果通知30に含まれていたデータ名
称を設定した処理指示40を作成して処理プロセッサ2
に送信する(第8図の505’)。処理プロセッサ2で
は、この処理指示40を受信すると、第9図の処理を行
う。この処理は上記の通常時の処理および第1図におい
て再開処理指示を受信したときの処理と同じである。こ
のように、本実施例によれば、処理プロセッサ2は通常
時、再開時に分けた処理を行う必要がなくなり、処理プ
ロセッサ2のプログラムを簡素化できる。
Further, when restarting after processing interruption, the management processor 1 issues a processing instruction 40 in which the data name PNAME shown in FIG. 7 is set to the data name included in the processing result notification 30 shown in FIG. Create and process processor 2
(505' in FIG. 8). When the processing instruction 40 is received, the processing processor 2 performs the processing shown in FIG. This processing is the same as the normal processing described above and the processing when the restart processing instruction is received in FIG. In this way, according to this embodiment, the processor 2 does not need to perform separate processes during normal times and when restarting, and the program for the processor 2 can be simplified.

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

以上説明したように、本発明によれば、以下のような効
果を得ることができる。
As explained above, according to the present invention, the following effects can be obtained.

(1)処理プロセッサの処理中断後の再開時、従来のよ
うな管理プロセッサによる処理対象データ群の再作成、
再格納が不要となり、管理プロセッサの処理量を軽減で
きる。
(1) When the processing processor resumes processing after it has been interrupted, the management processor as in the past recreates the data group to be processed;
There is no need to restorage, and the amount of processing by the management processor can be reduced.

(2)処理プロセッサにおいても、データ格納装置に格
納された処理対象データ群のうちの処理中断によって未
処理となっている処理対象データ部分のみについて実質
的な処理を行えば良く、処理量は従来と殆ど変わらない
(2) In the processing processor as well, it is only necessary to perform substantial processing on only the part of the data to be processed that is unprocessed due to processing interruption among the data group to be processed stored in the data storage device, and the amount of processing is lower than that of the previous one. There is almost no difference.

(3)通常時に使用した領域情報と同し領域情報を使用
して処理プロセッサへ処理の指示を行うことができる。
(3) Processing instructions can be given to the processor using the same area information as the area information used in normal times.

(4)第1および第4の手段を備え、データ格納装置に
格納する処理対象データ群の先頭に処理プロセッサによ
る処理が不要なデータを設ける構成のデータ処理装置に
よれば、1種類の処理指示で通常処理と処理中断後の再
開処理とが制御でき、特に処理プロセッサ側のプログラ
ムを簡素化できる。
(4) According to a data processing device that includes the first and fourth means and is configured to provide data that does not need to be processed by a processor at the beginning of a group of processing target data stored in a data storage device, one type of processing instruction is provided. It is possible to control normal processing and restart processing after processing interruption, and in particular, the program on the processor side can be simplified.

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

第1図は本発明の一実施例における処理プロセッサの処
理例を示す流れ図、 第2図は本発明の一実施例における管理プロセッサの処
理例を示す流れ図、 第3図は本発明の一実施例のデータ処理装置の構成図、 第4図は本発明の一実施例における処理対象データ群の
構成例を示す図、 第5図は本発明の一実施例において管理プロセッサと処
理プロセッサとの間で授受される情報の内容例を示す図
、 第6図は本発明の別の実施例における処理対象データ群
の構成例を示す図、 第7図は本発明の別の実施例において管理プロセッサか
ら処理プロセッサー・送信される処理指示の内容例を示
す図、 第8図は本発明の別の実施例における管理プロセッサの
処理例を示す流れ図および、 第9図は本発明の別の実施例における処理プロセンサの
処理例を示す流れ図である。 図において、 l・・・管理プロセッサ 2・・・処理プロセッサ 3・・・磁気ディスク装置 4・・・通信回線 10.40・・・処理指示 20・・・再開処理指示 30・・・処理結果通知 管理プロセンサの処理例 第 図 本発明のデータ処理装置の構成例 第 図 処理対象データ群の一例 第 図 10処理指示 TART ND AME 管理プロセッサと処理プロセッサ間で授受される情報の
内容例第 図 処理対象データ群の別の例 第 図 管理プロセッサから処理プロセッサへ送信される処理指
示の内容例第 図 管理プロセッサの別の処理例 第 図 処理プロセンサの別の処理例
FIG. 1 is a flowchart showing an example of processing by a processing processor in an embodiment of the present invention; FIG. 2 is a flowchart showing an example of processing by a management processor in an embodiment of the invention; FIG. 3 is a flowchart showing an example of processing by a management processor in an embodiment of the invention. 4 is a diagram showing a configuration example of a data group to be processed in an embodiment of the present invention. FIG. 5 is a diagram showing a configuration example of a data group to be processed in an embodiment of the present invention. FIG. 6 is a diagram showing an example of the structure of a data group to be processed in another embodiment of the present invention. FIG. 7 is a diagram showing an example of the content of information to be exchanged. FIG. FIG. 8 is a flowchart showing an example of processing by a management processor in another embodiment of the present invention; FIG. 9 is a flow chart showing an example of processing by a management processor in another embodiment of the present invention. 2 is a flowchart showing an example of processing. In the figure, l...Management processor 2...Processing processor 3...Magnetic disk device 4...Communication line 10.40...Processing instruction 20...Resuming processing instruction 30...Processing result notification Processing example of the management processor Fig. Configuration example of the data processing device of the present invention Fig. An example of a group of data to be processed Fig. 10 Processing instruction TART ND AME Fig. Example of content of information exchanged between the management processor and the processing processor Fig. Object to be processed Another example of a data group Figure: Example of the contents of a processing instruction sent from the management processor to the processing processor Figure: Another example of processing by the management processor Figure: Another example of processing by the processing processor

Claims (3)

【特許請求の範囲】[Claims] (1)互いに通信可能な管理プロセッサと処理プロセッ
サとが共通のデータ格納装置に接続された構成を有する
データ処理装置において、 前記管理プロセッサは、 前記データ格納装置に格納された処理対象データ群の格
納領域を示す領域情報とデータ名称とを含む処理指示を
前記処理プロセッサに送出する第1の手段と、 前記領域情報は含まれるが前記データ名称は含まれない
処理指示を前記処理プロセッサに送出する第2の手段と
を備え、 前記処理プロセッサは、 前記データ名称を含まない処理指示を受信することによ
り、受信した領域情報が示す前記データ格納装置の格納
領域に含まれる全ての処理対象データに対して処理を行
って各処理対象データに含まれるデータ名称を付加した
処理結果を前記管理プロセッサに返信する第3の手段と
、 前記データ名称を含む処理指示を受信することにより、
受信した領域情報が示す前記データ格納装置の格納領域
に格納された処理対象データ群のうち前記データ名称と
同一のデータ名称を含む処理対象データの次の処理対象
データから前記処理対象データ群の最後の処理対象デー
タまでの全ての処理対象データに対して処理を行って各
処理対象データに含まれるデータ名称を付加した処理結
果を前記管理プロセッサに返信する第4の手段とを備え
ることを特徴とするデータ処理装置。
(1) In a data processing device having a configuration in which a management processor and a processing processor that can communicate with each other are connected to a common data storage device, the management processor stores a group of data to be processed stored in the data storage device. a first means for sending a processing instruction including area information indicating an area and a data name to the processing processor; and a first means for sending a processing instruction including the area information but not the data name to the processing processor. 2, wherein the processing processor receives the processing instruction that does not include the data name, and processes all the processing target data included in the storage area of the data storage device indicated by the received area information. a third means for returning a processing result obtained by performing processing and adding a data name included in each processing target data to the management processor; and receiving a processing instruction including the data name;
From among the processing target data group stored in the storage area of the data storage device indicated by the received area information, the processing target data next to the processing target data containing the same data name as the processing target data to the last processing target data group and a fourth means for processing all the processing target data up to the processing target data and returning a processing result with a data name included in each processing target data to the management processor. data processing equipment.
(2)互いに通信可能な管理プロセッサと処理プロセッ
サとが共通のデータ格納装置に接続された構成を有する
データ処理装置において、 前記管理プロセッサは、 前記データ格納装置に格納された処理対象データ群の格
納領域を示す領域情報とデータ名称とを含む処理指示を
前記処理プロセッサに送出する第1の手段を備え、 前記処理プロセッサは、 前記データ名称を含む処理指示を受信することにより、
受信した領域情報が示す前記データ格納装置の格納領域
に格納された処理対象データ群のうち前記データ名称と
同一のデータ名称を含む処理対象データの次の処理対象
データから前記処理対象データ群の最後の処理対象デー
タまでの全ての処理対象データに対して処理を行って各
処理対象データに含まれるデータ名称を付加した処理結
果を前記管理プロセッサに返信する第4の手段を備える
ことを特徴とするデータ処理装置。
(2) In a data processing device having a configuration in which a management processor and a processing processor that can communicate with each other are connected to a common data storage device, the management processor stores a group of data to be processed stored in the data storage device. comprising a first means for sending a processing instruction including area information indicating an area and a data name to the processing processor, and the processing processor: By receiving the processing instruction including the data name,
From among the processing target data group stored in the storage area of the data storage device indicated by the received area information, the processing target data next to the processing target data containing the same data name as the processing target data to the last processing target data group It is characterized by comprising a fourth means for processing all the processing target data up to the processing target data and returning a processing result with a data name included in each processing target data to the management processor. Data processing equipment.
(3)前記管理プロセッサは、前記処理プロセッサの処
理中断後の再処理時には中断前に送信したのと同じ領域
情報に中断直前に前記処理プロセッサから受信したデー
タ名称を付加した処理指示を前記第1の手段によって前
記処理プロセッサに送信し、処理中断後の再開処理以外
の場合は、処理対象データ群の先頭の処理対象データに
含まれるデータ名称を領域情報に付加した処理指示を前
記第1の手段によって前記処理プロセッサに送信する構
成を有する請求項2記載のデータ処理装置。
(3) When reprocessing after the processing of the processing processor is interrupted, the management processor sends a processing instruction to the first In cases other than restart processing after processing interruption, the first means sends a processing instruction to the processing processor by adding a data name included in the first processing target data of a processing target data group to the area information. 3. The data processing apparatus according to claim 2, further comprising a configuration for transmitting the data to the processing processor by.
JP2248076A 1990-09-18 1990-09-18 Data processor Pending JPH04125738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2248076A JPH04125738A (en) 1990-09-18 1990-09-18 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2248076A JPH04125738A (en) 1990-09-18 1990-09-18 Data processor

Publications (1)

Publication Number Publication Date
JPH04125738A true JPH04125738A (en) 1992-04-27

Family

ID=17172854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2248076A Pending JPH04125738A (en) 1990-09-18 1990-09-18 Data processor

Country Status (1)

Country Link
JP (1) JPH04125738A (en)

Similar Documents

Publication Publication Date Title
US6374335B1 (en) Data loading process
JPH04125738A (en) Data processor
CN105790975A (en) Service processing operation execution method and device
JPH0267671A (en) Execution restart system for on-line processing
JP2633874B2 (en) Extension processing method
JPH07143227A (en) Software update control method for network element
JPH052499A (en) Job trouble re-processing system of information processor
CN116107583A (en) Data synchronization error processing method, storage medium and device
CN117539960A (en) Database data synchronization method, storage medium and device
JP3652565B2 (en) Switch monitoring system
JPH01201728A (en) Program correcting system
JPH098908A (en) Exchange and restart processing method for exchange
JP2838974B2 (en) Screen blocking system in case of business program failure
JPH05100837A (en) Program online update system
JPH07141216A (en) System constitution altering process system
JPH01147636A (en) Process retrial system for occurrence of fault
JPH06103078A (en) Re-execution control system
JPS6254348A (en) Processing system for fault of file
JPH04281532A (en) Initial program loading system
JPH05181650A (en) Remote maintenance system for information processor
JPH02247764A (en) Batch processing control method for electronic computer system
JPS59218527A (en) Command checking system
JPH04118735A (en) Information processing service function extending system
JPH08235029A (en) Storage method for system fault information
JPH03209521A (en) Table control system