DE4011052A1 - DATA STORAGE DEVICE AND METHOD FOR STORING DATA - Google Patents

DATA STORAGE DEVICE AND METHOD FOR STORING DATA

Info

Publication number
DE4011052A1
DE4011052A1 DE19904011052 DE4011052A DE4011052A1 DE 4011052 A1 DE4011052 A1 DE 4011052A1 DE 19904011052 DE19904011052 DE 19904011052 DE 4011052 A DE4011052 A DE 4011052A DE 4011052 A1 DE4011052 A1 DE 4011052A1
Authority
DE
Germany
Prior art keywords
data
error
address information
data block
writing
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.)
Withdrawn
Application number
DE19904011052
Other languages
German (de)
Inventor
Yasuo Harashima
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.)
Tokico Ltd
Original Assignee
Tokico 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 Tokico Ltd filed Critical Tokico Ltd
Publication of DE4011052A1 publication Critical patent/DE4011052A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1883Methods for assignment of alternate areas for defective areas
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Abstract

The apparatus is composed essentially of (a) judging means for judging whether error data are included in data; (b) writing means for writing, in condition that error data are detected for the first time in said data, an error indicator flag for indicating that error data are detected in the data, and address information for indicating address of substitutive data to replace the error data; (c) writing means for writing the correct data, in condition that error data are detected for the first time in said data; (d) reading means for reading the error indicator flag indicating that error data have been detected in the data, and the address information including the address of the substitutive data; and (e) reading means for reading correct substitutive data, incondition that the error indicator flag indicates that error data have been detected in said flag. The error indicator flag, the address information and substitutive data are written when error data are first detected, and the substitutive data block is read without reading the error data block thereafter. <IMAGE>

Description

Die vorliegende Erfindung bezieht sich allgemein auf ein Datenspeicherplattengerät. Insbesondere betrifft die vorliegende Erfindung eine Magnetplattenspeichereinrichtung, die in der Lage ist, automatisch Zugriffsadressen zu anderen fehlerfreien Datenblöcken abzuändern, nachdem das Steuergerät entschieden hat, daß Datenblöcke auf der Magnetplatte falsche Daten enthalten.The present invention relates generally to Data storage device. In particular, the present invention a Magnetic disk storage device capable of automatically access addresses to other error-free Modify data blocks after the control unit decided that data blocks on the magnetic disk contain incorrect data.

Fig. 5 stellt ein Blockdiagramm dar, das die globale Struktur einer Magnetplattenspeichereinrichtung aus neuerer Zeit wiedergibt, welche eine Kleincomputersystemschnittstelle (SCSI) enthält. Wie aus der Figur hervorgeht, besteht diese Art von Einrichtung aus einer CPU (Zentraleinheit) 1, einem Bus 2 zum Verbinden der CPU 1 mit jeder Teilschaltung, einem Speicher 3 zum Speichern verschiedener Datenarten, einer Laufwerkschaltung 4 zum Antreiben der Magnetplatte und einer E/A-Schnittstelle 5. Die vorgenannte CPU 1 steuert jede Teilschaltung der Einrichtung und führt auch die Eingabe/Ausgabeverarbeitung verschiedener Datenarten durch. Die erwähnte E/A-Schnittstelle 5 ist über den externen Bus 6 mit dem Verarbeitungsrechner 7 verbunden. Fig. 5 illustrates a block diagram depicting the overall structure of a magnetic disk storage device of recently containing a small computer system interface (SCSI). As can be seen from the figure, this type of device consists of a CPU (central processing unit) 1 , a bus 2 for connecting the CPU 1 to each subcircuit, a memory 3 for storing various types of data, a drive circuit 4 for driving the magnetic disk and an E / A interface 5 . The aforementioned CPU 1 controls each subcircuit of the device and also performs the input / output processing of various types of data. The aforementioned I / O interface 5 is connected to the processing computer 7 via the external bus 6 .

Bei der oben beschriebenen Magnetplattenspeichereinrichtung führt der Verarbeitungsrechner 7, wenn er angeforderte Daten aus einer Zielspur der Magnetplatte ausliest und einen Fehler entdeckt, folgende Prozeßabläufe durch:In the magnetic disk storage device described above, the processing computer 7 , when it reads the requested data from a target track on the magnetic disk and detects an error, carries out the following processes:

Der Verarbeitungsrechner 7:The processing computer 7 :

  • (a) stoppt die laufende Operation und(a) stops the ongoing operation and
  • (b) gibt einen Befehl zum Auslesen der Adreßinformation des fehlerhaften Datenblockes und(b) gives a command to read out the address information the faulty data block and
  • (c) gibt einen Befehl zum Aktualisieren der Substitutionsdatenblock-Datentabelle aus. Das heißt, daß der Verarbeitungsrechner 7 die Adresse des fehlerhaften Datenblockes und die Adresse des entsprechenden Substitutionsdatenblockes in die vorerwähnte Datentabelle einschreibt.(c) issues a command to update the substitution data block data table. That is, the processing computer 7 writes the address of the defective data block and the address of the corresponding substitution data block in the aforementioned data table.

Nachdem der Verarbeitungsrechner 7 die erwähnte Operation durchgeführt hat, wird, wenn der Verarbeitungsrechner 7 auf den fehlerhaften Datenblock zugreift, unter Bezugnahme auf die obige Datentabelle der Versuch unternommen, auf den Substitutionsdatenblock zuzugreifen.After the host 7 has performed the aforementioned operation, when the host 7 accesses the defective data block, an attempt is made to access the substitution data block with reference to the above data table.

Aufgrund des bisher Gesagten muß der Verarbeitungsrechner 7, wenn der Magnetkopf auf einen Datenblock zugreift, die laufende Operation stoppen, falls ein Lesefehler auftritt. Dadurch wird der Betrieb des Verarbeitungsrechners 7 verlangsamt.Based on what has been said so far, when the magnetic head accesses a data block, the processing computer 7 must stop the current operation if a reading error occurs. As a result, the operation of the processing computer 7 is slowed down.

In Anbetracht der oben beschriebenen Schwierigkeiten ist es ein Ziel der vorliegenden Erfindung, ein Magnetplattengerät mit einer Magnetplatte zu schaffen, die Aufzeichnungsbereiche besitzt, in welchen für den Fall, daß Fehler in Daten entdeckt werden, die aus einem Zieldatenblock ausgelesen wurden, Fehlerinformationen gespeichert werden, die anzeigen, daß ein Zieldatenblock fehlerhaft ist. Zusätzlich wird eine Adreßinformation, die die Adresse eines Substitutionsdatenblockes sowie eine Gebrauchsmarkeninformation anzeigt, welche angibt, ob ein Substitutionsdatenblock benutzt wird, in den obengenannten Speicherbereichen gespeichert.Given the difficulties described above it is an object of the present invention Magnetic disk device to create a magnetic disk that  Has recording areas in which in the event that errors are discovered in data resulting from a Target data block were read out, error information that indicate that a target data block is faulty. In addition, address information that the address of a substitution data block and one Usage mark information indicating whether a Substitution data block is used in the above Storage areas saved.

Um das vorgenannte Ziel zu erreichen, weist das Magnetplattengerät weiter Substitutionsverarbeitungsmittel auf, in welchen, wenn die obengenannte Fehlerinformation gesetzt wurde, beim Auslesen der Daten die vorgenannte Gebrauchsmarkeninformation des Datenblockes überprüft, auf den durch die obengenannte Adreßinformation verwiesen wird. Wenn die Gebrauchsmarke anzeigt, daß der Substitutionsdatenblock nicht in Gebrauch ist, wird die Erlaubnis zum Auslesen von Daten aus dem Datenblock verweigert. Es wird auf den Substitutionsdatenblock zugegriffen und ein Einschreibeverfahren durchgeführt, wonach die obenerwähnte Gebrauchsmarke so abgeändert wird, daß sie anzeigt, daß der Substitutionsblock in Gebrauch ist.In order to achieve the aforementioned goal, this indicates Magnetic disk device further substitution processing means on in which if the above error information was set when reading out the data Checked the use block information of the data block referred to by the above address information becomes. When the utility mark indicates that the Substitution data block is not in use, the Permission to read data from the data block refused. It is going to the substitution data block accessed and enrolled, after which the above-mentioned utility brand is modified so that it indicates that the substitution block is in use is.

Durch Überprüfen der Gebrauchsmarke des durch die vorerwähnte Adreßinformation anvisierten Datenblockes kann im Falle, daß die Fehlerinformation für die Zieldatenblockdaten gesetzt ist, eine wirksame Datenverarbeitung erfolgen, unabhängig davon, ob die Gebrauchsmarke gesetzt ist oder nicht. Es kann also im Falle, daß Datenfehler erzeugt worden sind, die Prozeßbelastung des Verarbeitungsrechners reduziert werden. By checking the use mark of the by the The aforementioned address information of the targeted data block can in the event that the error information for the Target block data is set to be effective Data processing takes place regardless of whether the Use mark is set or not. So it can be in If data errors have been generated, the Process load on the processing computer can be reduced.  

In den folgenden Abschnitten wird eine detaillierte Beschreibung eines Beispiels einer solchen Magnetplattenspeichereinrichtung wiedergegeben, um die durch die vorliegende Erfindung ermöglichten Verbesserungen näher zu verdeutlichen.The following sections provide a detailed Description of an example of one Magnetic disk storage device reproduced to the made possible by the present invention Clarify improvements in more detail.

Fig. 1 stellt schematisch die Struktur einer Adreßinformationstabelle AITB eines Beispiels der Magnetplattenspeichereinrichtung der vorliegenden Erfindung dar; Fig. 1 schematically illustrates the structure of an address information table AITB of an example of the magnetic disk storage device of the present invention;

Fig. 2 stellt schematisch die Struktur individueller Spuren der Magnetplatte dar, die bei der Magnetplattenspeichereinrichtung gemäß Fig. 1 verwendet werden; Fig. 2 schematically illustrates the structure of individual tracks of the magnetic disk used in the magnetic disk storage device shown in Fig. 1;

Fig. 3 und 4 stellen Flußdiagramme zur Betriebsweise der Magnetplattenspeichereinrichtung der vorliegenden Erfindung dar; und FIGS. 3 and 4 illustrate flow charts for operation of the magnetic disk storage device of the present invention; and

Fig. 5 stellt das Blockschaltbild eines Plattenlaufwerkgerätes des Standes der Technik dar. Fig. 5 illustrates the block diagram of a disk drive device represents the prior art.

Im nachfolgenden Teil der Beschreibung wird ein bevorzugtes Ausführungsbeispiel der vorliegenden Erfindung unter Bezugnahme auf die Zeichnungen beschrieben.In the following part of the description, a preferred embodiment of the present invention described with reference to the drawings.

In Fig. 2 wird die Struktur dreier Typen von Spuren TRKa, TRKb, TRKc auf der zur vorliegenden Erfindung gehörenden Magnetplatte dargestellt. Die Spur TRKh weist Datenblockadreßinformation DBA zur Anzeige der Position eines Datenblocks auf der Magnetplatte sowie Fehlerdatenblockinformation EDB zur Anzeige darüber auf, ob der vorerwähnte Datenblock fehlerhafte Daten enthält oder nicht. Auch die Spur TRKb weist Datenblockadreßinformation DBA zur Anzeige der Position eines Datenblockes auf der Magnetplatte sowie Ersatzdatenblockinformation ADB zur Anzeige für den Fall auf, daß der vorerwähnte Datenblock als Ersatzdatenblock für einen fehlerhaften Datenblock der Spur TRKa benutzt wird. Die Spur TRKc bildet einen Spezialdatenblock, in welchem jeder Typ von Information eine Adreßinformationstabelle AITB, wie sie im einzelnen in Fig. 1 dargestellt ist, aufgezeichnet ist. Die vorerwähnte Adreßinformationstabelle AITB weist einen Bereich NWAI zur Aufnahme der Anzahl eingeschriebener Adreßinformationen auf, welche die Anzahl der individuellen, in der Adreßinformationstabelle AITB eingeschriebenen Informationselemente wiedergibt. Weiter sind in der Adreßinformationstabelle AITB enthalten: die Fehlerdatenblockadreßinformation EDBA, welche die Adresse eines fehlerhaften Datenblockes wiedergibt; die Ersatzdatenblockadreßinformation ADBA, welche die Adresse eines anstelle eines fehlerhaften Datenblockes verwendeten Substitutionsdatenblockes wiedergibt; und die Nichtgebrauchskennungsdaten NUFD, die anzeigen, ob ein Substitutionsdatenblock benutzt wird oder nicht. Die Anzahl des individuellen Auftretens der Fehlerdatenblockadreßinformation EDBA, der Ersatzdatenadreßinformation ADBA und der Nichtgebrauchskennungsdaten NUFD in der Adreßinformationstabelle AITB wird im Anzahlbereich NWAI der eingeschriebenen Adreßinformation angezeigt.In FIG. 2, the structure of three types of tracks TrkA, TrkB, TrkC is displayed on the members of the present invention, magnetic disk. The track TRKh has data block address information DBA to indicate the position of a data block on the magnetic disk and error data block information EDB to indicate whether or not the aforementioned data block contains erroneous data. The track TRKb also has data block address information DBA for indicating the position of a data block on the magnetic disk and replacement data block information ADB for display in the event that the aforementioned data block is used as a replacement data block for a defective data block on the track TRKa . The track TRKc forms a special data block in which each type of information has an address information table AITB , as shown in detail in FIG. 1, recorded. The aforementioned address information table AITB has an area NWAI for receiving the number of address information written in, which reproduces the number of individual information elements written in the address information table AITB . The address information table AITB also contains: the error data block address information EDBA , which reproduces the address of an incorrect data block; the replacement data block address information ADBA , which represents the address of a substitution data block used instead of a defective data block; and the non-use identification data NUFD , which indicate whether or not a substitution data block is used. The number of individual occurrences of the error data block address information EDBA , the replacement data address information ADBA and the non-use identification data NUFD in the address information table AITB is displayed in the number range NWAI of the written address information.

Im nachfolgenden Beschreibungsabschnitt werden die von der Zentraleinheit CPU 1 durchgeführten Operationen beschrieben. In the following description section, the operations performed by the CPU 1 are described.

(a) Das Auslesen aus dem Datenblock(a) Reading from the data block

Fig. 3 stellt ein Flußdiagramm zur Erläuterung der Prozedur des Auslesens aus dem Datenblock dar. Wenn die CPU 1 eingeschaltet ist, beginnt sie zu arbeiten. Als erstes veranlaßt die CPU 1 in Schritt 1 den Magnetkopf, auf der Magnetplatte einen Zieldatenblock in Spur TRKa zu suchen, in welcher der Objektdatenblock aufgezeichnet ist. In Schritt 2 veranlaßt die CPU 1 den Magnetkopf, Daten aus der Datenblockadreßinformation DBA des vorerwähnten Zieldatenblockes auszulesen. In Schritt 3 entscheidet die CPU 1, ob die in der Datenblockadreßinformation DBA gespeicherten ID-Daten anormal sind, d. h. falsch sind oder nicht. Ist das Entscheidungsergebnis [NEIN], d. h. ist der obenerwähnte Inhalt der ID-Daten nicht [FALSCH], geht die CPU 1 nach Schritt 4 über. In Schritt 4 veranlaßt die CPU 1 den Magnetkopf, Daten aus dem Zieldatenblock auszulesen. In Schritt 5 entscheidet die CPU 1, ob in den ausgelesenen Daten Fehler vorkommen oder nicht. Falls das Entscheidungsergebnis [JA]? ist, d. h. falls das Auftreten eines Lesefehlers konstatiert worden ist, geht die CPU 1 nach Schritt 6 über und schreibt die ID-Daten der Datenblockadreßinformation DBA auf [FALSCH] wieder ein. Als nächstes addiert die CPU 1 in Schritt 7 den Wert +1 zur Anzahl der im Bereich NWAI der eingeschriebenen Adreßinformation hinzu und schreibt zusätzlich die Adresse des fehlerhaften Datenblockes in den Fehlerdatenblockadreßinformationsbereich EDBA sowie die Adresse des Ersatzdatenblockes in die Ersatzdatenblockadreßinformation ADBA ein, wodurch die Adreßinformationstabelle AITB entsteht. Als nächstes setzt die CPU 1 in Schritt 8 die entsprechenden Nichtgebrauchskennungsdaten NUFD auf [GEGEBEN] bzw. [ON]. Dann führt die CPU 1 in Schritt 9 die Verarbeitung in bezug auf den Lesefehler durch, wonach der Prozeß endet. Wenn jedoch in Schritt 5 die Entscheidung [NEIN] getroffen wird, d. h. wenn die Daten korrekt gelesen werden, übermittelt die CPU 1 die gelesenen Daten an den Verarbeitungsrechner 7 und beendet alle Lesevorgänge. Danach geht die CPU 1, wann immer der Verarbeitungsrechner 7 den betreffenden Datenblock auszulesen versucht, weil der vorerwähnte Inhalt der ID-Daten in Schritt 3 als [FALSCH] beurteilt wird, direkt nach Schritt 10 über, in welchem die Adreßinformationstabelle AITB durchsucht wird. Als nächstes entscheidet die CPU 1 in Schritt 11, ob die Fehlerdatenadreßblockinformation EDBA für den Zieldatenblock vorhanden ist oder nicht. Lautet die Entscheidung [JA], d. h. ist die Fehlerdatenadreßblockinformation vorhanden, geht die CPU 1 nach Schritt 12 über. In Schritt 12 entscheidet die CPU 1, ob die Nichtgebrauchskennungsdaten NUFD auf [GEGEBEN] stehen oder nicht. Falls sie auf [GEGEBEN] eingestellt sind, geht die CPU 1 nach Schritt 9 über und führt erneut die obenerwähnte Lesefehlerverarbeitung durch. Danach beendet die CPU 1 die Routine. Wie ersichtlich, wird die Lesefehlerverarbeitung nur dann wiederholt, wenn die ID für die Datenblockadreßinformation DBA auf [FALSCH] gesetzt ist. Andererseits geht, wenn in Schritt 12 die Nichtgebrauchskennungsdaten NUFD nicht gesetzt sind, die CPU 1 nach Schritt 13 über. In Schritt 13 veranlaßt die CPU 1 den Magnetkopf, die alternative Spur entsprechend der alternativen bzw. Ersatzdatenblockadreßinformation ADBA zu suchen. Danach kehrt die CPU 1 nach Schritt 2 zurück und wiederholt die oben beschriebenen Vorgänge. Weiter geht, wenn in Schritt 11 die CPU entscheidet, daß die entsprechende Adresse nicht in der Fehlerdatenblockadreßinformation EDBA eingeschrieben ist, die Prozedur nach Schritt 14 über, in welchem die CPU 1 erkennt, daß der Zielblock nicht erfaßt worden ist, womit die CPU 1 alle Prozeduren erledigt. Fig. 3 is a flow chart for explaining the procedure of reading from the data block. When the CPU 1 is on, it starts to work. First, in step 1, the CPU 1 causes the magnetic head to search for a target data block on the magnetic disk in track TRKa in which the object data block is recorded. In step 2, the CPU 1 causes the magnetic head to read out data from the data block address information DBA of the aforementioned target data block. In step 3, the CPU 1 decides whether the ID data stored in the data block address information DBA is abnormal, that is, incorrect or not. If the decision result is [NO], that is, if the above-mentioned content of the ID data is not [FALSE], the CPU 1 proceeds to step 4. In step 4, the CPU 1 causes the magnetic head to read out data from the target data block. In step 5, the CPU 1 decides whether errors occur in the read data or not. If the decision result is [YES]? , that is, if the occurrence of a read error has been determined, the CPU 1 goes to step 6 and writes the ID data of the data block address information DBA back to [FALSE]. Next, in step 7, the CPU 1 adds the value +1 to the number of the region of the registered address information NWAI added, and additionally writes the address of the defective data block in the Fehlerdatenblockadreßinformationsbereich EDBA and the address of the replacement data block in the Ersatzdatenblockadreßinformation ADBA a, whereby the address information AITB arises. Next, in step 8, the CPU 1 sets the corresponding non-use identification data NUFD to [GIVEN] or [ON]. Then, in step 9, the CPU 1 executes the processing related to the read error, after which the process ends. However, if the decision [NO] is made in step 5, that is, if the data is read correctly, the CPU 1 transmits the read data to the processing computer 7 and ends all reading processes. Thereafter, whenever the processing computer 7 tries to read out the relevant data block because the aforementioned content of the ID data is judged as [FALSE] in step 3, the CPU 1 goes directly to step 10, in which the address information table AITB is searched. Next, the CPU 1 decides in step 11 whether or not the error data address block information EDBA is present for the target data block . If the decision is [YES], that is, if the error data address block information is present, the CPU 1 proceeds to step 12. In step 12, the CPU 1 decides whether the non-use identification data NUFD is [GIVEN] or not. If they are set to [GIVEN], the CPU 1 goes to step 9 and performs the above-mentioned read error processing again. The CPU 1 then ends the routine. As can be seen, the read error processing is repeated only when the ID for the data block address information DBA is set to [FALSE]. On the other hand, if the non-use identification data NUFD is not set in step 12, the CPU 1 proceeds to step 13. In step 13, the CPU 1 causes the magnetic head to search the alternative track corresponding to the alternative data block address information ADBA . After that, the CPU 1 returns to step 2 and repeats the above-described operations. Further, when the CPU decides in step 11 that the corresponding address is not written in the error data block address information EDBA , the procedure proceeds to step 14, in which the CPU 1 recognizes that the target block has not been detected, whereby the CPU 1 all Procedures done.

(b) Das Einschreiben in den Datenblock(b) The registration in the data block

Fig. 4 stellt ein Flußdiagramm zur Veranschaulichung des Prozesses des Einschreibens in den Datenblock. In Schritt 16 veranlaßt die CPU 1 den magnetischen Kopf, die Zielspur zu suchen. In Schritt 17 prüft die CPU 1 die Datenblockadresseninformation DBA für diese Spur. In Schritt 18 geht die CPU 1, falls die ID-Daten der Datenblockadreßinformation DBA [FALSCH] sind, nach Schritt 19 über. In Schritt 19 untersucht die CPU 1 die Adreßinformationstabelle AITB und überprüft den Bereich NWAI der Anzahl der eingeschriebenen Adreßinformationen; und sie durchsucht die Fehlerdatenblockadreßinformation EDBA sowie die Ersatzdatenblockadreßinformation ADBA. In Schritt 20 geht die CPU 1, falls die entsprechende Adreßinformation aus der Fehlerdatenblockadreßinformationsspalte EDBA nicht gefunden wird, nach Schritt 24 über, führt das Verfahren im Falle, daß die CPU 1 den Zieldatenblock nicht finden kann, aus und beendet diesen Einschreibprozeß. Andererseits geht die CPU 1, falls die entsprechende Adreßinformation gefunden wird, nach Schritt 21 und setzt in Schritt 21 die entsprechende Nichtgebrauchskennungsdatenspalte NUFD auf [FREI] bzw. [OFF]. Hier bedeutet [FREI], daß der Ersatzdatenblock benutzt wird. In Übereinstimmung mit dem entsprechenden Inhalt des Bereiches ADBA der Ersatzdatenblockadreßinformation veranlaßt die CPU 1 den Magnetkopf, die alternative Spur zu suchen. Nach Ausführung des Schrittes 22 geht die CPU 1 nach Schritt 17 zurück. In Schritt 17 führt die CPU 1 den früher beschriebenen Prozeß aus. Figure 4 is a flow chart illustrating the process of writing to the data block. In step 16, the CPU 1 causes the magnetic head to search for the target track. In step 17, the CPU 1 checks the data block address information DBA for this track. In step 18, if the ID data of the data block address information is DBA [FALSE], the CPU 1 proceeds to step 19. In step 19, the CPU 1 examines the address information table AITB and checks the area NWAI of the number of the written address information; and searches the error data block address information EDBA and the replacement data block address information ADBA . In step 20, if the corresponding address information from the error data block address information column EDBA is not found, the CPU 1 proceeds to step 24, executes the process in the event that the CPU 1 cannot find the target data block , and ends this writing process. On the other hand, if the corresponding address information is found, the CPU 1 goes to step 21 and sets the corresponding non-use identification data column NUFD to [FREE] or [OFF] in step 21. Here [FREE] means that the replacement data block is used. In accordance with the corresponding content of the area ADBA of the spare data block address information , the CPU 1 causes the magnetic head to search for the alternative track. After execution of step 22, the CPU 1 goes back to step 17. In step 17, the CPU 1 executes the process described earlier.

Andererseits geht in Schritt 18, wenn die entsprechenden ID-Daten des Datenblockadreßinformationsbereiches DBA nicht [FALSCH] sind, nach Schritt 23 über und schreibt Daten in diese Spur ein. Nach Ausführung des Schrittes 23 beendet die CPU 1 alle Einschreibvorgänge.On the other hand, in step 18, if the corresponding ID data of the data block address information area DBA is not [FALSE], it proceeds to step 23 and writes data into this track. After execution of step 23, the CPU 1 ends all writing processes.

(c) Der Datenleseprozeß nach dem ein- oder mehrmaligen Einschreiben von Daten in die Ersatzdatenblockinformation ADB (c) The data reading process after writing data one or more times into the spare data block information ADB

Wenn das Einschreiben von Daten in den Ersatzdatenblockbereich ADB entsprechend der Fehlerdatenblockinformation EDB ein- oder mehrmals ausgeführt wird, wird [FALSCH] in die Datenblockadreßinformation DBA der betreffenden Spur eingeschrieben, während [FREI] in die entsprechende Nichtgebrauchskennungsdatenspalte NUFD der Adreßinformationstabelle AITB eingeschrieben wird. In diesem Stadium, wenn der Verarbeitungsrechner 7 die Daten aus dem genannten Datenblock auszulesen versucht, führt die CPU 1 die vorerwähnten, in Fig. 3 wiedergegebenen Schritte 1, 2, 3, 10, 11, 12, 13, 2, 3, 4, 5 und 15 aus. Die CPU 1 beendet somit normalerweise die Datenübertragung, wobei sie Zugriff auf die Ersatzdatenblockinformation ADB nimmt. Falls in Schritt 5 auf dieser Spur ein neuer Fehler auftritt, setzt die CPU 1, wie im Falle des obigen Abschnittes: "(a) Das Auslesen aus dem Datenblock", den Datenblockadreßinformationsbereich DBA im Ersatzdatenblock auf [FALSCH] und überträgt die gewünschten Daten aus einem neuen Ersatzblock.When data is written into the spare data block area ADB one or more times in accordance with the error data block information EDB , [FALSE] is written into the data block address information DBA of the relevant track, while [FREE] is written into the corresponding non-use identification data column NUFD of the address information table AITB . At this stage, when the host computer 7 tries to read out the data from said data block, the CPU 1 2 3 10 11 12 13 2 3 4 performs the above-mentioned, in Fig. 3 reproduced steps 1,,,,,,,,,, 5 and 15 off. The CPU 1 thus normally ends the data transfer, accessing the spare data block information ADB . If a new error occurs on this track in step 5, the CPU 1 sets the data block address information area DBA in the replacement data block to [FALSE], as in the case of the above section: "(a) Reading from the data block", and transmits the desired data a new replacement block.

Obgleich hier nur eine einzige bevorzugte Ausführungsform der vorliegenden Erfindung beschrieben wurde, ist nicht beabsichtigt, die vorliegende Erfindung auf diese Ausführungsform zu beschränken.Although here only a single preferred embodiment of the present invention is not intends the present invention to this Limit embodiment.

Claims (11)

1. Gerät zum Auslesen von Daten aus einer bzw. zum Einschreiben von Daten in eine Datenspeichereinrichtung, dadurch gekennzeichnet, daß das Gerät folgende Komponenten aufweist:
  • (a) Beurteilungsmittel zur Entscheidung darüber, ob in den Daten falsche Daten enthalten sind;
  • (b) Schreibmittel zum Einschreiben im Falle, daß in den Daten erstmalig falsche Daten entdeckt werden, einer Fehleranzeigemarke, die anzeigt, daß falsche Daten in den Daten entdeckt werden, sowie einer Adreßinformation, die die Adresse von Substitutionsdaten als Ersatz für die falschen Daten anzeigt;
  • (c) Schreibmittel zum Einschreiben richtiger Daten im Falle, daß in den Daten erstmalig falsche Daten entdeckt werden;
  • (d) Lesemittel zum Auslesen der Fehleranzeigemarke, die anzeigt, daß in den Daten falsche Daten entdeckt wurden, sowie der Adreßinformation einschließlich der Adresse der Substitutionsdaten;
  • (e) Lesemittel zum Auslesen korrekter Substitutionsdaten im Falle, daß die Fehleranzeigemarke anzeigt, daß in den Daten falsche Daten entdeckt wurden, wodurch die Fehleranzeigemarke, die Adreßinformation und die Substitutionsdaten eingeschrieben werden, wenn die falschen Daten erstmalig entdeckt werden, und der Substitutionsdatenblock danach ohne Lesen des Fehlerdatenblockes ausgelesen wird.
1. Device for reading out data from or for writing data into a data storage device, characterized in that the device has the following components:
  • (a) assessment means for deciding whether the data contains incorrect data;
  • (b) Write means for writing in the event that incorrect data is first discovered in the data, an error indicator mark indicating that incorrect data is discovered in the data, and address information indicating the address of substitution data as a replacement for the incorrect data ;
  • (c) writing means for writing correct data in the event that incorrect data is first discovered in the data;
  • (d) reading means for reading out the error flag indicating that incorrect data has been found in the data and the address information including the address of the substitution data;
  • (e) Reading means for reading out correct substitution data in the event that the error indicator indicates that incorrect data has been found in the data, whereby the error indicator, the address information and the substitution data are written when the incorrect data is first discovered, and the substitution data block thereafter without Reading the error data block is read out.
2. Gerät nach Anspruch 1, dadurch gekennzeichnet, daß ein Datenblock aus der Datenspeichereinrichtung ausgelesen bzw. in sie eingeschrieben wird, wenn Daten ausgelesen und eingeschrieben werden.2. Device according to claim 1, characterized in that a Data block read out from the data storage device or is written into it when data is read out and be registered. 3. Gerät nach Anspruch 1, dadurch gekennzeichnet, daß es weiter Steuermittel zum Steuern der Beurteilungsmittel, der Einschreibmittel und der Auslesemittel aufweist.3. Device according to claim 1, characterized in that it continues Control means for controlling the judging means, the Inscription means and the readout means. 4. Gerät nach Anspruch 1, dadurch gekennzeichnet, daß es weiter eine Datenspeichervorrichtung zum Speichern von Daten aufweist.4. Apparatus according to claim 1, characterized in that it continues a data storage device for storing data having. 5. Gerät nach Anspruch 1, dadurch gekennzeichnet, daß die Datenspeichervorrichtung eine Magnetplatte ist.5. Device according to claim 1, characterized in that the Data storage device is a magnetic disk. 6. Gerät nach Anspruch 4, dadurch gekennzeichnet, daß die Datenspeichervorrichtung eine Magnetplatte ist.6. Apparatus according to claim 4, characterized in that the Data storage device is a magnetic disk. 7. Gerät nach Anspruch 5, dadurch gekennzeichnet, daß die Magnetplatte eine Festplatte ist. 7. Device according to claim 5, characterized in that the Magnetic disk is a hard drive.   8. Gerät nach Anspruch 6, dadurch gekennzeichnet, daß die Magnetplatte eine Festplatte ist.8. Apparatus according to claim 6, characterized in that the Magnetic disk is a hard drive. 9. Verfahren zum Auslesen von Daten aus einer bzw. zum Einschreiben von Daten in eine Datenspeichereinrichtung, dadurch gekennzeichnet, daß das Verfahren folgende Schritte aufweist:
  • (a) Fällung eines Urteils darüber, ob fehlerhafte Daten in den Daten enthalten sind;
  • (b) unter der Voraussetzung, daß fehlerhafte Daten erstmalig in den genannten Daten entdeckt werden, Einschreiben einer Fehleranzeigemarke, die angibt, daß fehlerhafte Daten in den Daten entdeckt wurden, und Anzeigen von Adreßinformation als Hinweis auf Adressen von Substitutionsdaten zum Ersetzen der fehlerhaften Daten;
  • (c) Einschreiben der korrekten Daten unter der Bedingung, daß fehlerhafte Daten zum erstenmal in den genannten Daten entdeckt wurden;
  • (d) Auslesen der Fehleranzeigemarke und der Adreßinformation unter der Bedingung, daß fehlerhafte Daten in den Daten entdeckt worden sind; und
  • (e) Auslesen korrekter Substitutionsdaten unter der Bedingung, daß die Fehleranzeigemarke angibt, daß fehlerhafte Daten in den genannten Daten entdeckt worden sind, wodurch die Fehleranzeigemarke, die Adreßinformation und die Substitutionsdaten eingeschrieben werden, wenn die falschen Daten erstmalig entdeckt werden, und der Substitutionsdatenblock danach ohne Lesen des Fehlerdatenblockes ausgelesen wird.
9. A method for reading out data from or for writing data into a data storage device, characterized in that the method comprises the following steps:
  • (a) make a judgment as to whether erroneous data is included in the data;
  • (b) assuming that erroneous data is first discovered in said data, writing in an error flag indicating that erroneous data has been found in the data and displaying address information indicating addresses of substitution data to replace the erroneous data;
  • (c) writing the correct data on the condition that erroneous data was first discovered in said data;
  • (d) reading out the error flag and the address information on the condition that erroneous data has been detected in the data; and
  • (e) reading out correct substitution data on the condition that the error flag indicates that erroneous data has been found in said data, thereby writing in the error flag, address information and substitution data when the wrong data is first discovered, and the substitution data block thereafter is read out without reading the error data block.
10. Verfahren nach Anspruch 9, dadurch gekennzeichnet, daß ein Datenblock aus einer Datenspeichereinrichtung ausgelesen bzw. in dieselbe eingeschrieben wird, wenn Daten ausgelesen und eingeschrieben werden.10. The method according to claim 9, characterized in that a Data block from a data storage device is read out or written into the same if Data can be read and written. 11. Verfahren nach Anspruch 9, dadurch gekennzeichnet, daß die Datenspeichereinrichtung eine Magnetplatte ist.11. The method according to claim 9, characterized in that the Data storage device is a magnetic disk.
DE19904011052 1989-05-19 1990-04-05 DATA STORAGE DEVICE AND METHOD FOR STORING DATA Withdrawn DE4011052A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12610189A JPH02306473A (en) 1989-05-19 1989-05-19 Magnetic disk device

Publications (1)

Publication Number Publication Date
DE4011052A1 true DE4011052A1 (en) 1990-11-22

Family

ID=14926641

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19904011052 Withdrawn DE4011052A1 (en) 1989-05-19 1990-04-05 DATA STORAGE DEVICE AND METHOD FOR STORING DATA

Country Status (3)

Country Link
JP (1) JPH02306473A (en)
DE (1) DE4011052A1 (en)
GB (1) GB2232807A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2326942A1 (en) * 1972-06-01 1973-12-20 Burroughs Corp PROCEDURE AND ARRANGEMENT FOR REGISTERING INFORMATION IN CONCENTRIC TRACKS OF A MULTIPLE NUMBER OF COAXIAL ROTATING DISCS
US4498146A (en) * 1982-07-30 1985-02-05 At&T Bell Laboratories Management of defects in storage media
EP0223611A2 (en) * 1985-11-20 1987-05-27 Seagate Technology, Inc. Method for mapping around defective sectors in a disc drive
DE3713043A1 (en) * 1986-04-16 1987-11-19 Hitachi Ltd METHOD FOR CONTROLLING A DISK STORAGE UNIT

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3222653A (en) * 1961-09-18 1965-12-07 Ibm Memory system for using a memory despite the presence of defective bits therein
US3588830A (en) * 1968-01-17 1971-06-28 Ibm System for using a memory having irremediable bad bits
US3800294A (en) * 1973-06-13 1974-03-26 Ibm System for improving the reliability of systems using dirty memories
US4608687A (en) * 1983-09-13 1986-08-26 International Business Machines Corporation Bit steering apparatus and method for correcting errors in stored data, storing the address of the corrected data and using the address to maintain a correct data condition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2326942A1 (en) * 1972-06-01 1973-12-20 Burroughs Corp PROCEDURE AND ARRANGEMENT FOR REGISTERING INFORMATION IN CONCENTRIC TRACKS OF A MULTIPLE NUMBER OF COAXIAL ROTATING DISCS
US4498146A (en) * 1982-07-30 1985-02-05 At&T Bell Laboratories Management of defects in storage media
EP0223611A2 (en) * 1985-11-20 1987-05-27 Seagate Technology, Inc. Method for mapping around defective sectors in a disc drive
DE3713043A1 (en) * 1986-04-16 1987-11-19 Hitachi Ltd METHOD FOR CONTROLLING A DISK STORAGE UNIT

Also Published As

Publication number Publication date
GB2232807A (en) 1990-12-19
JPH02306473A (en) 1990-12-19
GB9006826D0 (en) 1990-05-23

Similar Documents

Publication Publication Date Title
DE69632219T2 (en) Disk array system
DE3932474C2 (en) Disk access control method
DE3721027C2 (en)
DE69533570T2 (en) Method and system for detecting data loss in a hierarchical data storage system
DE69827949T2 (en) DEVICE AND METHOD FOR DETECTING AND REPORTING MEMORY ERRORS
DE69535099T2 (en) Identifying the pairs of controllers in a dual controller disk assembly
DE602004002216T2 (en) PROCESS, SYSTEM AND PROGRAM FOR INCREMENTAL VIRTUAL COPY
DE69721178T2 (en) Signal recorder and method
US4393500A (en) Method of modifying data stored in non-volatile memory and testing for power failure occurring during modification
DE3908507C2 (en) Graphic display arrangement
DE2529152A1 (en) PROCEDURE AND ARRANGEMENT FOR DETERMINING ERRORS IN SEMI-CONDUCTOR INFORMATION MEMORY
DE2610411C2 (en) Circuit arrangement for determining that error-free unit from a large number of units of a data processing system with the lowest frequency of use
DE3805291A1 (en) PORTABLE ELECTRONIC DEVICE
DE10225381A1 (en) Method and device for storing memory test information
DE19515661A1 (en) DASD semiconductor memory
DE1901806A1 (en) Circuit arrangement for compensating for defective memory cells in data memories
DE69133428T2 (en) Information processing device with switchable program
DE1499607C2 (en) Access circuit for circulating memory in a data processing system
DE2450468C2 (en) Error correction arrangement for a memory
DE2064473A1 (en)
DE3704213A1 (en) DISC RECORDING METHOD
DE19525100C2 (en) Method for on-board programming of an electrically programmable read-only memory
DE4011052A1 (en) DATA STORAGE DEVICE AND METHOD FOR STORING DATA
DE3340956C2 (en)
DE2823457C2 (en) Circuit arrangement for error monitoring of a memory of a digital computer system

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8139 Disposal/non-payment of the annual fee