← Back to Patent Explorer
US4688221A Expired / Lapsed US ⏱️ 0.0 years remaining

Error recovery method and apparatus

Assignee: Hitachi Ltd
•
Filing: 1984-12-19
•
Granted: 1987-08-18
•
Expires: 2004-12-19
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract There is disclosed an error recovery apparatus and method for a data processing system having (1) a peripheral unit, for instance, a magnetic disc unit, for storing data in a plurality of blocks each having a unique address, (2) a main memory for storing data read from the peripheral units, and (3) a controller for controlling the transfer of the data blocks from the peripheral unit to the main memory by execution of a single channel command word (CCW) chain. When an uncorrectable error occurs in the transfer of a second or subsequent data block of the plurality of data blocks (not the first data block), the processor produces a new CCW chain to re-read the data block in error in addition to all the data blocks subsequent to the data blocking error and store these data blocks in the memory under the control of the new CCW chain.

Inventors

  • 👤 Katsunori Nakamura
  • 👤 Akira Kurano
  • 👤 Yoshiro Shiroyanagi
  • 👤 Shigeru Kishiro

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 05:22
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/07; G06F11/14; G06F11/1402; G06F11/1405; G06F11/141

Claims Analysis

Total Claims: 18
Claim 1
Independent Claim 154 words
An error recovery apparatus in a data processing system comprising: a peripheral unit for storing data in a plurality of data blocks, each of said data blocks having a unique address; a memory for storing a first channel command word (CCW) chain, said memory having storage areas for storing data transferred from said peripheral unit; a controller connected between said memory and said peripheral unit for reading said data blocks from said peripheral unit and transferring said data blocks to said memory to store said data blocks in said storage areas determined by said first CCW chain, said controller having detecting means to detect an uncorrectable error in the transfer of the second or subsequent data block of said plurality of data blocks, and; processing means connected to said controller for generating a new CCW chain when an uncorrectable error occurs in a second or subsequent data block of said plurality of data blocks.
Claim 2
Dependent Claim 154 words
An error recovery apparatus in a data processing system comprising: a peripheral unit for storing data in a plurality of data blocks, each of said data blocks having a unique address; a memory for storing a first channel command word (CCW) chain, said memory having storage areas for storing data transferred from said peripheral unit; a controller connected between said memory and said peripheral unit for reading said data blocks from said peripheral unit and transferring said data blocks to said memory to store said data blocks in said storage areas determined by said first CCW chain, said controller having detecting means to detect an uncorrectable error in the transfer of the second or subsequent data block of said plurality of data blocks, and; processing means connected to said controller for generating a new CCW chain when an uncorrectable error occurs in a second or subsequent data block of said plurality of data blocks.
Claim 3
Dependent Claim 230 words
An error recovery apparatus in a data processing system comprising: a peripheral unit for storing data in a plurality of data blocks, each of said data blocks having an address; a memory for storing a first channel command word (CCW) chain, said memory having storage areas for storing data transferred from said peripheral unit; a controller connected between said memory and said peripheral unit for reading said data blocks from said peripheral unit and transferring said data blocks to said memory to store said data blocks in said storage areas determined by said first CCW chain, said controller having detecting means to detect an uncorrectable error in the transfer of the second or subsequent data block of said plurality of data blocks; a first register connected to said controller for storing the total number of data units in all data blocks successfully transferred to said memory; a second register connected to said controller for storing the address of the data block currently being transferred from said peripheral units to said memory; and processing means connected to said controller for generating a new CCW chain when an uncorrectable error occurs in a second or subsequent data block of said plurality of data blocks, said new CCW chain generated by said processing means by considering the contents of said first register, the contents of said second register, and said first CCW chain.
Claim 4
Dependent Claim 230 words
An error recovery apparatus in a data processing system comprising: a peripheral unit for storing data in a plurality of data blocks, each of said data blocks having an address; a memory for storing a first channel command word (CCW) chain, said memory having storage areas for storing data transferred from said peripheral unit; a controller connected between said memory and said peripheral unit for reading said data blocks from said peripheral unit and transferring said data blocks to said memory to store said data blocks in said storage areas determined by said first CCW chain, said controller having detecting means to detect an uncorrectable error in the transfer of the second or subsequent data block of said plurality of data blocks; a first register connected to said controller for storing the total number of data units in all data blocks successfully transferred to said memory; a second register connected to said controller for storing the address of the data block currently being transferred from said peripheral units to said memory; and processing means connected to said controller for generating a new CCW chain when an uncorrectable error occurs in a second or subsequent data block of said plurality of data blocks, said new CCW chain generated by said processing means by considering the contents of said first register, the contents of said second register, and said first CCW chain.
Claim 5
Dependent Claim 63 words
The error recovery apparatus according to claim 2 wherein said detecting means comprises: flag means for indicating whether data in one of said blocks currently being read from said peripheral unit for storing in said memory is a first data block or a second or subsequent data block, and further, wherein said processing means recognizes the block in which said uncorrectable error occurs.
Claim 6
Dependent Claim 45 words
The error recovery apparatus according to claim 2, wherein said peripheral unit is a magnetic disc unit and wherein each said block is defined as a record having a unique ID portion indicating the address thereof and a data portion in which to record data.
Claim 7
Dependent Claim 50 words
The error recovery apparatus according to claim 2, wherein said first register comprises: counter means for counting the number of data units transferred from said peripheral unit to said memory, said first register storing the total number of data units from a plurality of records counted by said counter means.
Claim 8
Dependent Claim 233 words
An error recovery method for a data processing system that includes a peripheral unit to store data in a plurality of data blocks each having a unique address, a memory for storing a first channel command word (CCW) chain and having storage areas to store said data blocks, and a controller for transferring a plurality of data blocks between said peripheral units and said memory comprising: reading said plurality of data blocks from the peripheral units according to said first CCW chain; writing said plurality of data blocks to said memory under the control of said first CCW chain; detecting uncorrectable errors in the said data read from said peripheral unit; counting the total number of data units in each of said data blocks correctly written in said storage area of said memory; retaining the address of the data block currently read from the peripheral unit; stopping said counting and said retaining when an uncorrectable error is detected; generating, in response to the detection of an uncorrectable error, a second CCW chain determined by said first CCW chain, the total number of data units correctly written, and the address of the last correctly transferred data block; reading the data blocks subsequent to the last correctly transferred data block under the control of said second CCW chain; and writing said subsequent data blocks into said memory under the control of said second CCW chain.
Claim 9
Dependent Claim 233 words
An error recovery method for a data processing system that includes a peripheral unit to store data in a plurality of data blocks each having a unique address, a memory for storing a first channel command word (CCW) chain and having storage areas to store said data blocks, and a controller for transferring a plurality of data blocks between said peripheral units and said memory comprising: reading said plurality of data blocks from the peripheral units according to said first CCW chain; writing said plurality of data blocks to said memory under the control of said first CCW chain; detecting uncorrectable errors in the said data read from said peripheral unit; counting the total number of data units in each of said data blocks correctly written in said storage area of said memory; retaining the address of the data block currently read from the peripheral unit; stopping said counting and said retaining when an uncorrectable error is detected; generating, in response to the detection of an uncorrectable error, a second CCW chain determined by said first CCW chain, the total number of data units correctly written, and the address of the last correctly transferred data block; reading the data blocks subsequent to the last correctly transferred data block under the control of said second CCW chain; and writing said subsequent data blocks into said memory under the control of said second CCW chain.
Claim 10
Dependent Claim 66 words
The error recovery method according to claim 6 wherein said step of detecting further comprises: indicating whether said data block currently being read from said peripheral unit is a first data block or a second or subsequent data block, and wherein said generating step further comprises generating a second CCW chain only when said data block currently being read is a second or subsequent data block.
Claim 11
Dependent Claim 55 words
The error recovery method according to claim 6 wherein said first reading step reads data from each data block, each data block having an ID portion indicating the address of said data block and a data portion in which to record data, and wherein said retaining step retains the ID portion of said data block.
Claim 12
Dependent Claim 33 words
The error recovery method according to claim 7 further comprising, after said indicating step, re-reading data in said first data block using said first CCW chain when errors occur in said first step.
Claim 13
Dependent Claim 25 words
The error recovery method according to claim 6 further comprising: storing temporarily said second CCW chain in the memory after generating said second CCW chain.
Claim 14
Independent Claim 222 words
A method of transferring data between a magnetic disc unit on which data is stored in uniquely addressed records and a main memory directed by a controller, said main memory storing a first channel command word (CCW) chain and having storage areas for storing said records, comprising: reading a plurality of said uniquely addressed records by the execution of a single command contained in a first CCW chain; storing said records in said memory under the control of said first CCW chain when no errors or correctable errors occur in said records; detecting whether uncorrectable errors occur in a first record or in a second or subsequent record of said plurality of records transferred by said first CCW chain; retaining the address of the record from which data was read in error and the address of the location in the main memory where uncorrectable errors have occurred in transferring a second or subsequent record; retaining the amount of data successfully transferred to said main memory under the control of said first CCW chain; producing a second CCW chain according to said retained addresses and said amount of successfully transferred data, and said first CCW chains, and; transferring said record in which uncorrectable errors occurred and any subsequent records required by said first CCW chain under the control of said second CCW chain.
Claim 15
Independent Claim 222 words
A method of transferring data between a magnetic disc unit on which data is stored in uniquely addressed records and a main memory directed by a controller, said main memory storing a first channel command word (CCW) chain and having storage areas for storing said records, comprising: reading a plurality of said uniquely addressed records by the execution of a single command contained in a first CCW chain; storing said records in said memory under the control of said first CCW chain when no errors or correctable errors occur in said records; detecting whether uncorrectable errors occur in a first record or in a second or subsequent record of said plurality of records transferred by said first CCW chain; retaining the address of the record from which data was read in error and the address of the location in the main memory where uncorrectable errors have occurred in transferring a second or subsequent record; retaining the amount of data successfully transferred to said main memory under the control of said first CCW chain; producing a second CCW chain according to said retained addresses and said amount of successfully transferred data, and said first CCW chains, and; transferring said record in which uncorrectable errors occurred and any subsequent records required by said first CCW chain under the control of said second CCW chain.
Claim 16
Dependent Claim 77 words
The data transfer method according to claim 11 wherein said detecting step further comprises: checking for the presence of errors in a plurality of data records transferred under the control of a single command; recognizing whether uncorrectable errors occur in any said record of said plurality of records; and indicating whether the recognized uncorrectable error occurs in the first record of said plurality of records or in a second or subsequent record of said plurality of records.
Claim 17
Dependent Claim 28 words
The data transfer method according to claim 11, further comprising, after the step of producing said second CCW chain: storing temporarily said second CCW chain in said memory.
Claim 18
Dependent Claim 40 words
The data transfer method according to claim 11, further including, after said detecting step, the step of: re-reading data in said first record under the control of said first CCW chain when an uncorrectable error occurs in said first record.

References Cited (Backward Citations)

US31069A Cited
US3688274A Cited
US3984814A Cited
US4092732A Cited
USRE31069E Cited
US4439859A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1990-08-17 1991-02-16 1991-08-18 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1994-08-17 1995-02-16 1995-08-18 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 1998-08-17 1999-02-16 1999-08-18 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag