JPH07104820B2 - Data transfer control method - Google Patents
Data transfer control methodInfo
- Publication number
- JPH07104820B2 JPH07104820B2 JP63218258A JP21825888A JPH07104820B2 JP H07104820 B2 JPH07104820 B2 JP H07104820B2 JP 63218258 A JP63218258 A JP 63218258A JP 21825888 A JP21825888 A JP 21825888A JP H07104820 B2 JPH07104820 B2 JP H07104820B2
- Authority
- JP
- Japan
- Prior art keywords
- data transfer
- transfer
- area
- flag
- freeze
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】 [概 要] チャネルプロセッサなどのデータ転送を制御する装置に
おいて、データ転送中に例外やエラーが発生した場合の
詳細情報の保存に関し、 転送バッファ記憶中に、一旦保持された詳細情報をシス
テムを停止することなく保存し得る手段を提供すること
を目的とし、 転送バッファ記憶の1回のデータ転送で使用する領域ご
とに、該領域が使用中であることを表示する使用中フラ
グと、内容を凍結する状態であることを表示する凍結フ
ラグとを設け、要求元よりのデータ転送要求を受け付け
たときに、転送バッファ記憶の領域を割り当てて、該領
域の使用中フラグをオン状態にする手段と、予め指定し
ておいた例外状態またはエラーが発生したとき、該当す
るデータ転送に使用していた転送バッファの領域の凍結
フラグをオン状態にする手段とを設けることにより構成
する。DETAILED DESCRIPTION OF THE INVENTION [Outline] In a device for controlling data transfer such as a channel processor, regarding detailed information storage when an exception or error occurs during data transfer, the detailed information is stored once in a transfer buffer. Use for indicating that the area is in use for each area used in one data transfer of the transfer buffer storage for the purpose of providing a means capable of storing detailed information without stopping the system. A medium flag and a freeze flag indicating that the contents are frozen are provided. When a data transfer request from the request source is accepted, an area for transfer buffer storage is allocated and the busy flag for the area is set. Means for turning on the state and freezing the transfer buffer area used for the corresponding data transfer when a prespecified exception condition or error occurs Configure by providing a means for the lugs in the ON state.
[産業上の利用分野] 本発明は入出力装置を擁するチャネルからのデータ転送
を集中的に管理するチャネルプロセッサ(以下CHPとも
言う)等の装置における、データ転送に際しての、例外
やエラーを生じた場合の詳細情報の保持方法に関し、特
にシステムの運用を停止することなく、エラー等が発生
した際のデータ転送についての詳細情報を保持し得る制
御方式に係る。[Industrial field of use] The present invention causes an exception or error in data transfer in a device such as a channel processor (hereinafter also referred to as CHP) that centrally manages data transfer from a channel including an input / output device. In particular, the present invention relates to a control method that can hold detailed information about data transfer when an error or the like occurs without stopping the operation of the system.
[従来の技術] CHP等のデータ転送を集中的に管理する装置において、
例えばアドレス異常などで例外として報告すべき状態
(以下、単に例外とも言う)やデータのエラーが発生し
た場合の調査には、そのデータ転送に係る詳細な情報が
必要である。ここで言う詳細な情報とはメモリアクセス
の種類、メモリアドレス、アクセスキイ、バイトマー
ク、チャネルアドレス等である。CHP内でデータ転送が
実行される際には、これらの詳細な情報は転送バッファ
に記憶(以下単に転送バッファとも言う)に一時的に格
納される。そして、例外やエラーの発生時には、その原
因の調査のために、これらの情報が必要である。[Prior Art] In a device that centrally manages data transfer such as CHP,
For example, detailed information on the data transfer is required to investigate a state that should be reported as an exception (hereinafter, also simply referred to as an exception) due to an address error or the like or a data error occurs. The detailed information mentioned here includes a memory access type, a memory address, an access key, a byte mark, a channel address, and the like. When the data transfer is executed in the CHP, the detailed information is temporarily stored in the transfer buffer (hereinafter also simply referred to as the transfer buffer). Then, when an exception or error occurs, this information is needed to investigate the cause.
従来のデータ転送制御方式にいおいては、転送バッファ
記憶の領域(以下エリアとも言う)はチャネルアドレス
に対応して設けられるため、同一チャネルからのデータ
転送に際しては一定のエリアが使用される。一方、例外
やエラーが発生したとき、チャネルからソフトウェアへ
の例外等の報告(CSWストア)のためMSアクセスを行う
が、このときCSW情報をバッファ記憶を介して送るた
め、該当エリアの内容は残らない。そのため、動作試験
用として例外やエラーの発生時、CHP全体またはシステ
ム全体を停止して動作内容を保存するモードが設けられ
ている。In the conventional data transfer control method, the transfer buffer storage area (hereinafter also referred to as an area) is provided corresponding to the channel address, so that a certain area is used when transferring data from the same channel. On the other hand, when an exception or error occurs, MS access is performed to report exceptions from the channel to the software (CSW store). At this time, the CSW information is sent via buffer storage, so the contents of the corresponding area remain. Absent. For this reason, there is a mode to save the operation contents by stopping the entire CHP or the entire system when an exception or error occurs for the operation test.
[発明が解決しようとする課題] 上述したように、従来の方式においては、通常の動作状
態では、例外やエラーが発生したとき、チャネルからソ
フトウェアへの報告のためCSW情報をバッファ記憶を介
して主記憶(MS)へ転送するため、バッファ記憶内の該
当領域の例外やエラー発生に係る詳細情報が消去されて
しまい、それらの原因探索ができなくなると言う問題点
があった。[Problems to be Solved by the Invention] As described above, in the conventional method, in the normal operation state, when an exception or an error occurs, the CSW information is transmitted via the buffer storage for reporting from the channel to the software. Since the data is transferred to the main memory (MS), the detailed information relating to the exception and error occurrence in the corresponding area in the buffer memory is erased, and there is a problem that the cause cannot be searched for.
一方、これらの情報を確保するため、系を動作試験モー
ドとした場合には、CHPあるいはシステムの動作を一旦
停止する必要があったから、システムの運用が中断され
ると言う問題点があった。On the other hand, in order to secure such information, when the system is set to the operation test mode, it is necessary to temporarily stop the operation of the CHP or the system, which causes a problem that the operation of the system is interrupted.
本発明は、このような従来の問題点に鑑み、データエラ
ーや例外などが発生したときに、系の動作を停止せしめ
ることなく、該データエラーや例外などに係る詳細情報
をバッファ記憶の該当エリア内に保存しておくことの可
能な制御方式を提供することを目的としている。In view of such conventional problems, the present invention, when a data error, an exception, or the like occurs, detailed information about the data error, the exception, or the like is stored in a corresponding area of the buffer storage without stopping the operation of the system. The purpose is to provide a control method that can be stored in the storage.
[課題を解決するための手段] 本発明によれば上述の目的は前記特許請求の範囲に記載
した手段により達成される。すなわち、本発明は転送バ
ッファ記憶を介し、複数の要求元よりのデータ転送要求
を受けて、データ転送を制御する装置において、転送バ
ッファ記憶の1回のデータ転送で使用する領域ごとに、
該領域が使用中であることを表示する使用中フラグと、
内容を凍結する状態であることを表示する凍結フラグと
を設け、要求元よりのデータ転送要求を受け付けたとき
に、転送バッファ記憶の領域を割り当てて該領域の使用
中フラグをオン状態にする手段と、予め指定しておいた
例外状態またはエラーが発生したとき、該当するデータ
転送に使用していた転送バッファの領域の凍結フラグを
オン状態にする状態とを設けたデータ転送制御方式であ
る。[Means for Solving the Problems] According to the present invention, the above-mentioned objects are achieved by the means described in the claims. That is, according to the present invention, in a device that controls data transfer by receiving data transfer requests from a plurality of request sources via the transfer buffer storage, for each area used in one data transfer of the transfer buffer storage,
A busy flag indicating that the area is in use,
A means for providing a freeze flag indicating that the contents are frozen and allocating an area of the transfer buffer storage and turning on the busy flag of the area when a data transfer request from the request source is accepted And a state in which the freeze flag of the area of the transfer buffer used for the corresponding data transfer is turned on when a prespecified exception state or error occurs.
[作 用] 第1図は本発明の原理を説明する図であって(a)は転
送バッファ記憶と転送制御部と各信号との関係の例を示
しており、(b)はデータ転送制御部の制御系のうち、
本発明に関係する部分の構成の例を示している。[Operation] FIG. 1 is a diagram for explaining the principle of the present invention, in which (a) shows an example of the relationship between the transfer buffer memory, the transfer control unit and each signal, and (b) shows the data transfer control. Of the control system of the department,
The example of the structure of the part relevant to this invention is shown.
同図において、1はデータ転送制御部、2は転送バッフ
ァ、3はアクセス制御部、4は使用中フラグ、5は凍結
中フラグ、6,7はそれぞれセット/リセット制御部(図
においては略号にてS/R制御と記載している)、8は凍
結モードを設定するレジスタを表わしている。In the figure, 1 is a data transfer control unit, 2 is a transfer buffer, 3 is an access control unit, 4 is an in-use flag, 5 is a freezing flag, and 6 and 7 are set / reset control units (abbreviated in the figure). S / R control), and 8 represents a register for setting the freeze mode.
同図bにおいてアクセス制御部3は、データ転送要求を
受け付けると、使用中フラグ4、凍結中フラグ5の両方
がオフであるエリアの該当する使用中フラグをオンにす
るとともに、そのエリアを使用してデータ転送を行う。
転送が正常に終了した場合、該当する使用中フラグをオ
フにし、転送結果報告をチャネルに送出する。In FIG. 7B, when the access control unit 3 receives the data transfer request, the access control unit 3 turns on the corresponding in-use flag of the area in which both the in-use flag 4 and the freezing flag 5 are turned off, and the area is used. To transfer data.
When the transfer is completed normally, the corresponding busy flag is turned off and the transfer result report is sent to the channel.
もし例外等が発生すると、例外により終了したことを転
送結果報告としてチャネルに送出する。同時に、その例
外が凍結モードが指定している例外と一致すればそのデ
ータ転送が使用しているエリアの凍結フラグをオンにす
る。使用中フラグは転送結果報告の送出と同時にオフさ
れる。従って、以後、転送バッファの該当エリアは使用
されず保存されることとなる。If an exception or the like occurs, it is sent to the channel as a transfer result report that it has been completed due to the exception. At the same time, if the exception matches the exception specified by the freeze mode, the freeze flag of the area used by the data transfer is turned on. The busy flag is turned off at the same time as the transfer result report is sent. Therefore, thereafter, the corresponding area of the transfer buffer is not used and is stored.
[実施例] 第2図は本発明の一実施例のブロック図であって、9は
アクセス制御部、10は使用中フラグ、11は凍結中フラ
グ、12,13はそれぞれセット/リセット制御部(図にお
いては略号にてS/R制御と記載している)14は凍結カウ
ンタ、15は凍結モードを設定するレジスタを表わしてい
る。[Embodiment] FIG. 2 is a block diagram of an embodiment of the present invention, in which 9 is an access control unit, 10 is a busy flag, 11 is a freeze flag, and 12 and 13 are set / reset control units ( In the figure, it is described as S / R control by abbreviation) 14 is a freeze counter, and 15 is a register for setting a freeze mode.
同図における基本的な動作はすでに[作用]の項で説明
した場合と同様である。すなわち同図においてアクセス
制御部9は、データ転送要求を受け付けると、使用中フ
ラグ10、凍結中フラグ11の両方がオフであるエリアの該
当する使用中フラグをオンにするとともに、そのエリア
を使用してデータ転送を行う。転送が正常に終了した場
合、該当する使用中フラグをオフにし、転送結果報告を
チャネルに送出する。The basic operation in the figure is the same as that already described in the section [Operation]. That is, in the figure, when the access control unit 9 receives a data transfer request, the access control unit 9 turns on the corresponding in-use flag of the area in which both the in-use flag 10 and the in-freeze flag 11 are turned off, and the area is used. To transfer data. When the transfer is completed normally, the corresponding busy flag is turned off and the transfer result report is sent to the channel.
もし例外等が発生すると、例外により終了したことを転
送結果報告としてチャネルに送出する。同時に、その例
外が凍結モードが指定している例外と一致すればそのデ
ータ転送が使用しているエリアの凍結フラグをオンにす
る。使用中フラグは転送結果報告の送出と同時にオフさ
れる。従って、以後、転送バッファの該当エリアは使用
されず保存されることとなる。If an exception or the like occurs, it is sent to the channel as a transfer result report that it has been completed due to the exception. At the same time, if the exception matches the exception specified by the freeze mode, the freeze flag of the area used by the data transfer is turned on. The busy flag is turned off at the same time as the transfer result report is sent. Therefore, thereafter, the corresponding area of the transfer buffer is not used and is stored.
第2図においては、先に示した第1図は構成に更に凍結
カウンタ14が追加されている。以下、本実施例におい
て、凍結カウンタ14を設けた理由等について説明する。In FIG. 2, the freeze counter 14 is added to the configuration of FIG. 1 shown above. Hereinafter, the reason why the freeze counter 14 is provided in this embodiment will be described.
凍結モードレジスタ15の内容で、指定する例外等が多く
発生すると、それぞれの転送で使用したエリアが凍結さ
れ、転送バッファの使用可能なエリアが徐々に減少して
くる。データ転送能力はこれに比例して低下し、使用可
能エリアが無くなればデータ転送は完全に停止する。こ
れを防止するためには凍結するエリアがあまり増加しな
いように制限する必要がある。本実施例においてはこの
ような事象を凍結カウンタ14によって制御している。す
なわち、凍結カウンタ14は凍結フラグを1回オンするた
びに+1する。これにより凍結カウンタ14はオンとなっ
ている凍結フラグの数を示している。凍結モード中に凍
結カウンタの限界値も保持し、凍結カウンタが限界値に
達した時、次に凍結すべき原因が発生したならば、以前
にセットされていた凍結フラグをすべてオフにし、最後
に発生した原因による凍結フラグのみオンとする。同時
に凍結カウンタ14の内容を“1"にする。If a large number of specified exceptions or the like occur in the contents of the freeze mode register 15, the area used for each transfer is frozen, and the usable area of the transfer buffer gradually decreases. The data transfer capacity is reduced in proportion to this, and the data transfer is completely stopped when there is no usable area. In order to prevent this, it is necessary to limit the frozen area so that it does not increase so much. In the present embodiment, such an event is controlled by the freeze counter 14. That is, the freeze counter 14 increments the freeze flag by 1 each time it is turned on. As a result, the freeze counter 14 indicates the number of freeze flags that are on. If the limit value of the freeze counter is also held during the freeze mode and the cause of the next freeze occurs when the freeze counter reaches the limit value, all previously set freeze flags are turned off, and finally Only the freeze flag due to the cause of occurrence is turned on. At the same time, the contents of the freeze counter 14 are set to "1".
第3図に転送バッファの内容の一例を示す。本例は1ワ
ード8バイトで5ワード構成の場合を示している。同図
において、171〜174で示す2〜5ワード目には、データ
が最大で32バイト格納される。16で示す1ワード目はフ
ェッチ/ストアの別やデータの長さを示すデータ転送コ
マンドコード、チャネルアドレス、アクセスキイ、バイ
トマーク及び転送するメモリアドレスが格納される。凍
結されるとこれらのすべてが保存される。ただしフェッ
チアクセスにおいて例外が発生するとフェッチデータは
格納されない場合がある。FIG. 3 shows an example of the contents of the transfer buffer. In this example, one word is composed of 8 bytes and is composed of 5 words. In the same figure, a maximum of 32 bytes of data is stored in the 2nd to 5th words indicated by 17 1 to 17 4 . The first word indicated by 16 stores the data transfer command code indicating the fetch / store type or the data length, the channel address, the access key, the byte mark and the memory address to be transferred. All of these are preserved when frozen. However, if an exception occurs during fetch access, fetch data may not be stored.
[発明の効果] 以上説明したように、本発明によれば、転送バッファ記
憶を介し複数の要求元よりのデータ転送要求を受けて、
データ転送を制御するCHP等のデータ転送制御装置にお
いて、データエラーや例外が発生したとき、装置やシス
テムの動作を停止することなく、データ転送に係る詳細
情報を保存することができる。As described above, according to the present invention, when data transfer requests from a plurality of request sources are received via the transfer buffer storage,
In a data transfer control device such as CHP that controls data transfer, when a data error or an exception occurs, detailed information related to the data transfer can be stored without stopping the operation of the device or system.
CHPのデータ転送部のように例外やエラーの発生時にも
全体を停止できない装置の場合には、発生時に実行して
いた処理内容が唯一の調査用資料となる。本発明によれ
ば、上述のようにCHPや系の動作を停止することなく、
例外やエラーの発生した処理内容が保存されるから、原
因究明と、システムの効率的運用に資するところが大き
い。In the case of a device such as the data transfer unit of CHP that cannot stop the entire operation even when an exception or error occurs, the processing content that was being executed at the time of occurrence is the only investigation material. According to the present invention, without stopping the operation of the CHP and the system as described above,
The contents of the processing in which the exception or error has occurred are saved, which greatly contributes to the investigation of the cause and the efficient operation of the system.
第1図は本発明の原理を説明する図、第2図は本発明の
一実施例のブロック図、第3図は転送バッファの内容の
例を示す図である。 1……データ転送制御部、2……転送バッファ、3,9…
…アクセス制御部、4,10……使用中フラグ、5,11……凍
結中フラグ、6,7,12,13……セット/リセット制御部、
8,15……凍結モードを設定するレジスタ、14……凍結カ
ウンタ、16,171〜174……転送バッファのワードFIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a diagram showing an example of contents of a transfer buffer. 1 ... Data transfer control unit, 2 ... Transfer buffer, 3,9 ...
… Access control unit, 4,10 …… In-use flag, 5,11 …… Freezing flag, 6,7,12,13 …… Set / reset control unit,
8,15 …… Register to set freeze mode, 14 …… Freeze counter, 16,17 1 to 17 4 …… Word of transfer buffer
Claims (1)
りのデータ転送要求を受けて、データ転送を制御する装
置において、 転送バッファ記憶の1回のデータ転送で使用する領域ご
とに、該領域が使用中であることを表示する使用中フラ
グと、内容を凍結する状態であることを表示する凍結フ
ラグとを設け、 要求元よりのデータ転送要求を受け付けたときに、転送
バッファ記憶の領域を割り当てて、該領域の使用中フラ
グをオン状態にする手段と、予め指定しておいた例外状
態またはエラーが発生したとき、該当するデータ転送に
使用していた転送バッファの領域の凍結フラグをオン状
態にする状態とを設けたことを特徴とするデータ転送制
御方式。1. An apparatus for controlling data transfer upon receiving data transfer requests from a plurality of request sources via a transfer buffer storage, for each area used in one data transfer of the transfer buffer storage. A busy flag that indicates that the data is being used and a freeze flag that indicates that the contents are being frozen are provided, and when the data transfer request from the request source is accepted, the transfer buffer storage area is set. A means for allocating and turning on the in-use flag of the area, and turning on the freeze flag of the area of the transfer buffer used for the corresponding data transfer when a prespecified exception condition or error occurs. A data transfer control method, characterized in that a state for setting a state is provided.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63218258A JPH07104820B2 (en) | 1988-09-02 | 1988-09-02 | Data transfer control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63218258A JPH07104820B2 (en) | 1988-09-02 | 1988-09-02 | Data transfer control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0267659A JPH0267659A (en) | 1990-03-07 |
| JPH07104820B2 true JPH07104820B2 (en) | 1995-11-13 |
Family
ID=16717058
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63218258A Expired - Lifetime JPH07104820B2 (en) | 1988-09-02 | 1988-09-02 | Data transfer control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07104820B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2003070312A1 (en) | 2002-02-22 | 2003-08-28 | Lg Household & Health Care Ltd. | Spout for spraying aerosol and massaging and container comprising the spout |
-
1988
- 1988-09-02 JP JP63218258A patent/JPH07104820B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0267659A (en) | 1990-03-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5226157A (en) | Backup control method and system in data processing system using identifiers for controlling block data transfer | |
| US5412612A (en) | Semiconductor storage apparatus | |
| JPH0291749A (en) | Nonvolatile type semiconductor memory device | |
| US4523275A (en) | Cache/disk subsystem with floating entry | |
| US4070703A (en) | Control store organization in a microprogrammed data processing system | |
| US6209001B1 (en) | Back-up system capable of performing back-up operation at optional time | |
| JPH07104820B2 (en) | Data transfer control method | |
| US5590279A (en) | Memory data copying apparatus | |
| JPS5953586B2 (en) | Logout control device | |
| JPS6240736B2 (en) | ||
| JPS59214977A (en) | data processing equipment | |
| JPH02120945A (en) | Data base backup | |
| JP2784520B2 (en) | File transfer device | |
| JP2752834B2 (en) | Data transfer device | |
| JPH07319744A (en) | File system using flush memory | |
| JP3259095B2 (en) | Data transfer method | |
| JPH1115706A (en) | Divided storage and coupled reading system for data to auxiliary storage | |
| JPS5849903B2 (en) | Computer parallel connection system | |
| JPH01112600A (en) | Memory element lifespan determination device | |
| JPS61134859A (en) | Backup controlling system of memory | |
| JPH0133848B2 (en) | ||
| JPS61165157A (en) | Data storing system | |
| JPH0497459A (en) | Cache coincidence processing system | |
| JPS5985557A (en) | File control system | |
| JPH03158943A (en) | Buffer storage/transfer system |