DE4325710C2 - Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device - Google Patents

Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device

Info

Publication number
DE4325710C2
DE4325710C2 DE4325710A DE4325710A DE4325710C2 DE 4325710 C2 DE4325710 C2 DE 4325710C2 DE 4325710 A DE4325710 A DE 4325710A DE 4325710 A DE4325710 A DE 4325710A DE 4325710 C2 DE4325710 C2 DE 4325710C2
Authority
DE
Germany
Prior art keywords
file
tape
data
catalog
block
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 - Fee Related
Application number
DE4325710A
Other languages
German (de)
Other versions
DE4325710A1 (en
Inventor
Rainer Dipl Ing Windecker
Peter Dipl Ing Hierholzer
Martina Frankl
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to DE4325710A priority Critical patent/DE4325710C2/en
Publication of DE4325710A1 publication Critical patent/DE4325710A1/en
Application granted granted Critical
Publication of DE4325710C2 publication Critical patent/DE4325710C2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/107Programmed access in sequence to addressed parts of tracks of operating record carriers of operating tapes
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/11Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information not detectable on the record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • G11B27/3027Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • G11B27/3027Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
    • G11B27/3036Time code signal
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/328Table of contents on a tape [TTOC]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0682Tape device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/90Tape-like record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/90Tape-like record carriers
    • G11B2220/91Helical scan format, wherein tracks are slightly tilted with respect to tape direction, e.g. VHS, DAT, DVC, AIT or exabyte
    • G11B2220/913Digital audio tape [DAT] format

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

Die Erfindung betrifft ein Verfahren nach dem Oberbegriff des Patentanspruchs 1.The invention relates to a method according to the preamble of claim 1.

Mit der Entwicklung von Tonbandgeräten zur digitalen Tonauf­ zeichnung und -wiedergabe auf dem Gebiet der Unterhaltungs­ elektronik wurden Geräte - als DAT-Recorder bekannt (digital-audio-tape) - geschaffen, die prinzipiell als Spei­ chereinrichtungen für digitale Daten einsetzbar sind. Vor allem für Datenverarbeitungseinrichtungen kleiner bis mitt­ lerer Komplexität und für spezielle programmgesteuerte Ein­ richtungen, wie z. B. Kommunikationsanlagen, stellen DAT-Lauf­ werke aufgrund ihrer geringen Ausmaße und der unkompli­ zierten Handhabung beim Wechsel des in Kassettenform vorlie­ genden Datenträgers ideale Speichereinrichtungen für Infor­ mationen dar, die ein großes Speichervolumen benötigen, re­ lativ selten benötigt werden, änderbar sein sollten und bei Stromausfall nicht gelöscht werden dürfen. Überdies sind mit DAT-Laufwerken schnelle Zugriffszeiten beim Lesen und Schreiben von Daten erzielbar.With the development of tape recorders for digital sound recording drawing and reproduction in the field of entertainment electronics became devices - known as DAT recorders (digital audio tape) - created in principle as a memory can be used for digital data. In front especially for small to medium-sized data processing facilities complexity and for special program-controlled ones directions such as B. communication systems, make DAT run works because of their small size and uncomplicated graceful handling when changing the cassette form ideal storage facilities for information representations that require a large storage volume, right relatively rarely needed, should be changeable and at Power failure must not be deleted. Moreover, are with DAT drives fast access times when reading and Writing data achievable.

Als Datenträger werden bei DAT-Laufwerken Magnetbänder ver­ wendet, die in ihrem physikalisch-chemischen Aufbau den her­ kömmlichen analogen Tonbändern ähneln. Ein Magnetband für ein DAT-Laufwerk ist oder wird formatiert, d. h. auf dem Ma­ gnetband sind individuell auswählbare Gebiete - Datenblöcke oder Blöcke genannt - definiert, in denen Informationen ein­ speicherbar sind. Das Magnetband ist gewissermaßen als eine Kette von Datenblöcken zu verstehen, deren jeweiliger Beginn auf dem Magnetband elektromagnetisch markiert ist und vom Laufwerk erkennbar ist.Magnetic tapes are used as data carriers for DAT drives uses that in its physico-chemical structure similar to conventional analog tapes. A magnetic tape for a DAT drive is or is being formatted, i. H. on the Ma gnetband are individually selectable areas - data blocks  or called blocks - defined in which information are storable. The magnetic tape is sort of as one Understand chain of data blocks, their respective beginning is electromagnetically marked on the magnetic tape and from Drive is recognizable.

Die auf dem Magnetband zu speichernden Informationen sind Datenmengen, die als Dateien bezeichnet werden und jeweils eine Vielzahl von zusammengehörenden Informationseinheiten aufweisen. Im Regelfall werden mehrere Datenblöcke benötigt, um eine Datei zu speichern.The information to be stored on the magnetic tape is Amounts of data called files and each a variety of related information units exhibit. As a rule, several data blocks are required, to save a file.

Das Abspeichern von Informationen auf dem Band, auch Schreibvorgang oder Schreibzugriff genannt, unterliegt einem wesentlichen Charakteristikum - dem sequentiellen Zugriff; d. h. jeder Schreibvorgang auf dem Band löscht, zumindest lo­ gisch, alle einer jeweiligen Schreibstelle nachstehenden In­ formationen auf dem Band.Saving information on the tape, too Write process or write access is subject to one essential characteristic - the sequential access; d. H. every write operation on the tape erases, at least lo gisch, all following a respective writing point formations on the tape.

Bisher wurden auf einem Band ausschließlich die einzelnen Dateien abgespeichert. Beim Lesen des Bandes oder beim Zu­ griff auf eine Datei wurde ein Dateikatalog erzeugt, der schnellere Zugriffe auf die einzelnen Dateien ermöglichen sollte. Der Dateikatalog mußte bei jeder Inbetriebnahme wie­ der neu erzeugt werden.So far, only the individual were on one tape Files saved. When reading the tape or when closing When accessing a file, a file catalog was created that enable faster access to the individual files should. The file catalog had to be like every time it was started which are newly created.

Aufgabe der vorliegenden Erfindung ist es, ein Verfahren an­ zugeben, mit dem der zeitliche Aufwand und damit die System­ belastung einer programmgesteuerten Einrichtung zum Schrei­ ben oder Lesen von Dateien gering gehalten werden kann. The object of the present invention is to provide a method admit with which the time expenditure and thus the system loading a program-controlled device to scream or reading files can be kept to a minimum.  

Gelöst wird diese Aufgabe erfindungsgemäß durch die im kenn­ zeichnenden Teil des Patentanspruchs 1 angegebenen Merkmale.This object is achieved according to the invention by the Drawing part of claim 1 specified features.

Ein wesentlicher Vorteil der Erfindung besteht darin, daß der Dateikatalog hinter den Dateien auf dem Band gespeichert wird, weil der Dateikatalog damit geändert werden kann, ohne daß auf dem Band relevante Informationen z. B. Dateien zer­ stört werden. Zudem kann die Umkopierzeit bei einer Änderung des Dateikatalogs minimiert werden.A major advantage of the invention is that the file catalog is saved behind the files on the tape because the file catalog can be changed without it that relevant information on the tape z. B. Zer files be disturbed. In addition, the copying time in the event of a change of the file catalog can be minimized.

Vorteilhafte Weiterbildungen der Erfindung sind in den Un­ teransprüchen angegeben.Advantageous developments of the invention are in the Un claims specified.

Ein wesentlicher Vorteil der Weiterbildung besteht darin, daß auf einfache Weise erkennbar wird- ob der Dateikatalog auf dem Band Gültigkeit hat bzw. vollständig ist.A major advantage of further training is that that it is easy to see whether the file catalog on the tape is valid or complete.

Anhand der Zeichnung wird im folgenden ein Ausführungsbei­ spiel näher erläutert. Dabei zeigen:Based on the drawing, an example is given below game explained in more detail. Show:

Fig. 1 eine schematisch stark vereinfachte Blockdarstel­ lung für die wesentlichen Komponenten einer pro­ grammgesteuerten Einrichtung und für ein an diese angeschlossenes DAT-Laufwerk, Fig. 1 is a schematically highly simplified Blockdarstel lung for the essential components of a per program-controlled device and for a device connected to this DAT drive,

Fig. 2a, b eine Darstellung zur Veranschaulichung der Forma­ tierung und der Belegung eines Bandes mit Daten­ blöcken und Dateien, FIG. 2a, b is an illustration of orientation to illustrate the format and the availability of a tape with data blocks and files

Fig. 3 ein Ablaufdiagramm zur Veranschaulichung einzelner Verfahrensschritte beim Reservieren und Freigeben eines Bandes. Fig. 3 is a flowchart illustrating individual process steps in reserving and releasing a tape.

In Fig. 1 sind grob vereinfacht die wesentlichen Komponenten einer programmgesteuerten Einrichtung DVA dargestellt, an die als Massenspeichereinrichtung ein DAT-Lauf­ werk angeschlossen ist. Die programmgesteuerte Einrichtung kann z. B. eine Kommunikationsanlage sein, die zur Verbindung von Kommunikationsendgeräten und Kommunkationsnetzen dient. Aus der Sonderausgabe von "telcom report" "ISDN im Büro", Siemens AG, 1985 ist z. B. unter dem Namen "HICOM" eine Kommunikationsanlage bekannt. Das DAT-Laufwerk DAT kann als integrierte Einheit in der programmgesteuerten Einrichtung DVA angeordnet sein oder als eigenständige, z. B. tragbare Einrichtung, ausgebildet sein.In Fig. 1, the essential components of a program-controlled device DVA are roughly simplified, to which a DAT drive is connected as a mass storage device. The program-controlled device can, for. B. be a communication system that serves to connect communication terminals and communication networks. From the special edition of "telcom report""ISDN in the office", Siemens AG, 1985 z. B. known under the name "HICOM" a communication system. The DAT drive DAT can be arranged as an integrated unit in the program-controlled device DVA or as an independent, for. B. portable device.

Die programmgesteuerte Einrichtung DVA weist üblicherweise wenigstens eine Prozessoreinrichtung UP, einen Schreib-Lese- Speicherbereich RAM, einen Programmspeicherbereich ROM, sowie ein "Hard-Disc"-Laufwerk HD auf. Die genannten Komponenten sind über ein Bussystem miteinander verbunden, wobei das Bussystem auch an einen Schnittstellenbaustein TC geführt ist, über den das DAT-Laufwerk DAT angeschlossen ist. Das DAT-Laufwerk ist eine standardmäßige, kommerziell auf dem Markt erhältliche Einrichtung. Das verwendete Aufzeichnungsformat ist standardisiert und wird von vielen Herstellern benutzt.The program-controlled device DVA usually has at least one processor device UP, a read-write Memory area RAM, a program memory area ROM, as well as a "hard disc" HD drive. The above Components are interconnected via a bus system the bus system also being connected to an interface module TC via which the DAT drive DAT is connected is. The DAT drive is a standard, commercial one device available on the market. The used Recording format is standardized and used by many Manufacturers used.

In Verbindung mit einer programmgesteuerten Einrichtung in Form einer Kommunikationsanlage wird das Laufwerk DAT z. B. benutzt um Programme und Daten beim Einschalten, also beim Hochfahren der Anlage in deren Arbeitsspeicher einzulesen, sowie bei Bedarf ausgelagerte Softwarekomponenten verfügbar zu haben bzw. Software und Daten abzuspeichern. Damit kann die Sicherheit und eine Archivierung von Daten insbesondere von Kommunikationsteilnehmerspezifischen Daten gewährleistet werden.In conjunction with a programmable device in Form of a communication system, the drive DAT z. B. used for programs and data when switching on, ie when Read the system startup into its working memory, and outsourced software components available if required to have or to save software and data. So that can the security and archiving of data in particular  of communication subscriber-specific data guaranteed will.

Das DAT-Laufwerk wird über genormte Kommandos gesteuert, die über einen Anschlußbus SCSI dem Laufwerk DAT übermittelt werden. Die Steuerung erfolgt dabei durch die Prozessoreinrichtung UP, die das zugehörige Steuerprogramm aus dem Schreib-Lese-Speicher RAM oder Programmspeicher ROM entnimmt.The DAT drive is controlled via standardized commands that transmitted to the DAT drive via a SCSI connection bus will. The control is done by the Processor device UP, the associated control program from the random access memory RAM or program memory ROM takes.

Ein als Datenträger für das Laufwerk DAT verfügbares Magnetband BD befindet sich in einer Kassette und stellt bei einer Länge von z. B. 90 m eine Speicherkapazität von 2 GByte zur Verfügung.One available as a disk for the DAT drive Magnetic tape BD is in a cassette and provides a length of z. B. 90 m a storage capacity of 2 GB to disposal.

Obwohl auf dem Band BD gespeicherte Dateien in beliebiger Reihenfolge gelesen werden können ist ein Schreiben nur sequentiell möglich. Unter der Annahme keinen Zwischenspeicher benützen zu können bedeutet dies, daß eine neue Datei nur hinter die letzte gültige auf dem Band befindliche Datei angehängt werden kann oder daß nur die letzte gültige Datei ersetzt werden kann. Falls ein einziges Byte in einer bestehenden Datei geschrieben wird, werden alle nachfolgenden Bytes dieser Datei und alle nachfolgenden Dateien auf dem Band gelöscht.Although files stored on the tape BD in any Order can be read is a letter only sequentially possible. Assuming none To be able to use temporary storage means that a new file just after the last valid one on the tape file can be attached or that only the last valid file can be replaced. If only one Bytes in an existing file all subsequent bytes of this file and all subsequent ones Files on the tape deleted.

Es sei noch auf DAT-Laufwerke hingewiesen, die auf einem Band wenigsten zwei "Partitionen" vorsehen, wobei Schreibvorgänge in der einen "Partition" keinen Einfluß auf die Daten in der anderen "Partition" nehmen. In folgenden wird aber nur von einer "Partition" auf dem Band ausgegangen. Attention is also drawn to DAT drives on a Provide at least two "partitions" for the tape, whereby Write operations in one "partition" have no influence take the data in the other "partition". In the following but is only from a "partition" on the tape went out.  

In Fig. 2 ist anhand eines Beispieles veranschaulicht, welche Arten von Informationen auf einem Band BD gespeichert sind. Auf dem Band BD werden beim Formatieren gleichgroße Datenblöcke BL eingerichtet, die als Rahmen zur Speicherung einer Vielzahl von Informationseinheiten, z. B. von 512 Bytes, dienen. Der Beginn eines jeweiligen Blockes ist elektromagnetisch markiert, wobei die Markierung eine Blocknummer aufweist anhand der das Laufwerk DAT gezielt einen Block BL suchen und an einen Schreib-Lesekopf positionieren kann. Den Blöcken sind, beginnend am Bandanfang, lückenlos aufsteigende Blocknummern zugeordnet.In FIG. 2 is illustrated by way of example, what kinds of information are stored on a tape BD. On the tape BD data blocks BL of the same size are set up, which act as frames for storing a large number of information units, e.g. B. of 512 bytes. The beginning of each block is marked electromagnetically, the marking having a block number by means of which the drive DAT can specifically search for a block BL and position it on a read / write head. Starting from the beginning of the tape, the blocks are assigned ascending block numbers.

Am Anfang des Bandes BD sind Identifikationsdaten ID hinterlegt, z. B. der Name des Bandes, eine Kennummer, das Datum einer erstmaligen Benutzung etc. Die Identifikationsdaten können sich über einen oder mehrere Blöcke erstrecken, werden in der Regel aber selten mehr als ein oder zwei Blöcke benötigen.Identification data ID is at the beginning of the tape BD deposited, e.g. B. the name of the tape, an identification number, the Date of first use etc. The Identification data can be one or more Blocks, but are rarely more than need one or two blocks.

Im Anschluß an die Identifikationsdaten ID, beginnend mit dem Anfang des nächsten freien Blockes - im Beispiel der Block 2 - sind Dateien D1, D2, D3 gespeichert. Jede der Dateien beginnt am Anfang eines Blockes. Die an erster Stelle gespeicherte Datei D1 beginnt mit dem zweiten Block und endet im fünften Block. Jede Datei besteht aus einem Kopfteil HE und einem sich an diesen Kopfteil HE anschließenden Nutzdatenteil ND. Der Kopfdatenteil HE ist z. B. 512 Byte lang und beinhaltet dateiindividuelle Informationen, z. B. den Dateinamen, Dateiattribute, Benutzeridentifikationsdaten, die Länge der Datei, die Quersumme etc. Following the identification data ID, beginning with the beginning of the next free block - block 2 in the example - files D1, D2, D3 are stored. Each of the files starts at the beginning of a block. The file D1 stored in the first place begins with the second block and ends in the fifth block. Each file consists of a header HE and a user data part ND adjoining this header HE. The header data part HE is e.g. B. 512 bytes long and contains file-specific information, for. B. the file name, file attributes, user identification data, the length of the file, the checksum etc.

Im Anschluß an die insgesamt auf dem Band BD gespeicherten Dateien D1, D2, D3 ist ein sogenannter Dateikatalog DK gespeichert, der am Anfang des nächsten freien Blockes -im Beispiel Block 11 - beginnt. Der Dateikatalog DK setzt sich aus einem allgemeinen Teil AT und aus diesem nachfolgend angeordneten dateiindividuellen Teilen DIT zusammen.Following the total of the files D1, D2, D3 stored on the tape BD, a so-called file catalog DK is stored, which begins at the beginning of the next free block - block 11 in the example. The file catalog DK is made up of a general part AT and this subsequently arranged individual file parts DIT.

Der allgemeine Teil AT beinhaltet Informationen, die sich auf das Band als ganzes beziehen, z. B. die Versionsnummer, den Namen der Datenmenge, die Blockgröße, die Anzahl der gelöschten Dateien, die "logisch gelöschten" Bytes, die Anzahl der Dateien auf dem Band sowie die Anzahl der insgesamt belegten Bytes. Für jede auf dem Band BD gespeicherte Datei ist ein dateiindividueller Teil DIT vorhanden, in dem u. a. der betreffende Dateiname, die Dateiposition, also die Blocknummer, in dem der Kopfteil HE der Datei hinterlegt ist, die Dateilänge in Bytes usw. hinterlegt sind.The general part AT contains information that is refer to the tape as a whole, e.g. B. the version number, the name of the data set, the block size, the number of deleted files, the "logically deleted" bytes, the Number of files on the tape as well as the number of total bytes used. For everyone on the tape BD saved file is a file-specific part of DIT in which u. a. the file name in question, the File position, i.e. the block number in which the header HE the file is stored, the file length in bytes etc. are deposited.

Im Anschluß an den Dateikatalog KD ist auf dem Band BD noch ein "Meta-Dateikatalog" MDK gespeichert, der üblicherweise nur einen Block - im gezeigten Beispiel den Block 13 - belegt. In diesem Meta-Dateikatalog MDK sind Informationen gespeichert, die ihrem Wesen nach als steuerungsorganisatorische Informationen verstanden werden können. Unter anderem sind der Zeitpunkt der erstmaligen Benutzung, der Bandname, die Blockgröße, die Anzahl der im Dateikatalog aufgeführten Dateien, die Anzahl der Bytes in allen Dateien, die logisch gelöschten Dateien im Dateikatalog, die Anzahl der Bytes der logisch gelöschten Dateien usw. gespeichert. Zu Beginn des nächsten freien, auf den Meta-Dateikatalog MDK folgenden Blockes - im Beispiel Block 14 - ist eine Datenendemarkierung EOD hinterlegt, die das Ende der auf dem Band gültigen Informationen für das Laufwerk erkennbar macht.Following the file catalog KD, a "meta file catalog" MDK is also stored on the tape BD, which usually occupies only one block - block 13 in the example shown. This meta-file catalog MDK stores information that, by its very nature, can be understood as organizational control information. Among other things, the time of first use, the tape name, the block size, the number of files listed in the file catalog, the number of bytes in all files, the logically deleted files in the file catalog, the number of bytes of the logically deleted files etc. are stored. At the beginning of the next free block following the metafile catalog MDK - block 14 in the example - there is an end of data marker EOD which makes the end of the information valid on the tape recognizable for the drive.

In Fig. 3 ist eine Abfolge von Steuerungsschritten dargestellt, die beim Reservieren des Bandes, d. h. nach dem Einlegen des Bandes in das Laufwerk und beim Freigeben des Bandes, d. h. bevor das Band entnommen werden kann, von der programmgesteuerten Einrichtung DVA veranlaßt werden. Auch bei einem "Restart" der programmgesteuerten Einrichtung DVA, z. B. nach einem Systemausfall, werden diese Steuerungsschritte ausgeführt. FIG. 3 shows a sequence of control steps which are initiated by the program-controlled device DVA when the tape is reserved, ie after the tape has been inserted into the drive and when the tape is released, ie before the tape can be removed. Even with a "restart" of the program-controlled device DVA, z. B. after a system failure, these control steps are performed.

Zunächst erhält das Laufwerk DAT eine Anweisung, die Datenendemarkierung EOD zu suchen, d. h. das Laufwerk soll die Datenendemarkierung EOD an den Schreib-Lesekopf positionieren. Danach wird dem Laufwerk DAT die Anweisung übermittelt, einen Block in Richtung zum Bandanfang zu positionieren, also den Anfang des Blockes - in der Figur Block 13 - an den Schreib-Lesekopf des Laufwerks DAT zu positionieren. Danach erhält das Laufwerk eine Steueranweisung um die Daten des eingestellten Blockes zu lesen, wodurch der Meta-Dateikatalog MDK gelesen wird, der in den Schreib-Lesespeicherbereich RAM der programmgesteuerten Einrichtung DVA übertragen wird.First of all, the DAT drive receives an instruction to search for the data end marking EOD, ie the drive is to position the data end marking EOD on the read / write head. Then the drive DAT is given the instruction to position a block in the direction of the beginning of the tape, that is to say the beginning of the block - in the figure block 13 - to the read / write head of the drive DAT. Then the drive receives a control instruction to read the data of the set block, whereby the metafile catalog MDK is read, which is transferred into the read-write memory area RAM of the program-controlled device DVA.

Das Laufwerk DAT erhält im weiteren ein Kommando, den Bandanfang, also den ersten Block, zu suchen und die dort hinterlegten Identifikationsdaten ID zu lesen, die ebenfalls in den Schreib-Lesespeicherbereich RAM der programmgesteuerten Einrichtung DVA übertragen werden. The DAT drive also receives a command, the Search for the beginning of the band, the first block, and the one there read stored identification data ID, which also in the RAM program-controlled device DVA are transmitted.  

Das Einlesen der am Bandanfang hinterlegten Identifikationsdaten ID dient für einen Vergleich mit im Meta-Dateikatalog MDK hinterlegten Identifikationsdaten. Bei dem Vergleich kann festgestellt werden kann, ob im Falle eines auf einen Ausfall der programmgesteuerten Einrichtung DVA folgenden "Restart" der auf dem Band BD befindliche Dateikatalog DK gültig ist, also vollständig von der Hard- Disc HD zurückgeschrieben wurde, oder ob beim Schreiben des Dateikatalogs DK ein Fehler aufgetreten ist, z. B. bei einem Systemausfall.The reading of those stored at the beginning of the tape Identification data ID is used for a comparison with im Meta file catalog MDK stored identification data. At the comparison can determine whether in the case one for a failure of the program-controlled device DVA following "restart" the one on tape BD File catalog DK is valid, i.e. completely from the hardware Disc HD was written back, or whether when writing the File catalog DK an error has occurred, e.g. B. at one System failure.

Wenn also die Identifikationsdaten, z. B. der Bandname o. ä. in dem Meta-Dateikatalog MDK gleich sind mit den am Bandanfang gespeicherten Identifikationsdaten ID, so kann davon ausgegangen werden, daß der Dateikatalog DK sowie der Meta-Dateikatalog MDK komplett und konsistent sind. Falls Unterschiede beim Vergleich der Identifikationsdaten festgestellt werden, ist dies ein Zeichen dafür, daß der Dateikatalog DK möglicherweise vor dem Ausfall des Systems nicht auf den neuesten Stand gebracht wurde oder nur unvollständig kopiert wurde. In einem solchen Falle kann nach der Wiederinbetriebnahme des Systems der Dateikatalog neu auf das Band geschrieben werden oder der Dateikatalog DK muß aus den Informationen der auf dem Band befindlichen Datei-Kopfteilen HE neu erstellt werden.So if the identification data, e.g. B. the band name or similar in the MDK metafile catalog are the same as the am Identification data ID stored at the beginning of the tape, so can can be assumed that the file catalog DK and the Meta file catalog MDK are complete and consistent. If Differences when comparing the identification data this is a sign that the File catalog DK may be prior to system failure has not been updated or just was copied incompletely. In such a case after restarting the system the file catalog can be rewritten on the tape or the file catalog DK must be from the information on the tape File headers HE can be created again.

Selbstverständlich kann das Positionieren des Bandes BD an den Bandanfang und das Lesen der Identifikationsdaten ID auch vor dem Positionieren auf die Datenendemarkierung EOD erfolgen. Of course, the positioning of the tape BD on the beginning of the tape and reading the identification data ID also before positioning on the data end marking EOD respectively.  

Ist beim Vergleich der Identifikationsdaten eine Übereinstimmung festgestellt worden, so wird aus dem im Meta-Dateikatalog MDK gelesenen Informationen der erste Block der Dateikatalog KD ermittelt. Dazu wird die Anzahl der Dateien mit der Länge eines dateiindividuellen Katalogteils DIT multipliziert und auf ganze Blöcke aufgerundet, woraus sich mit Kenntnis der Blocknummer des den Meta-Dateikatalog MDK beinhaltenden Blockes der erste Block des Dateikatalogs DK ermitteln läßt.Is a when comparing the identification data Agreement has been found, the im Meta file catalog MDK read information the first Block of file catalog KD determined. This is the number of files with the length of an individual file Multiply catalog part DIT and to whole blocks rounded up, from which knowledge of the block number of the the block containing the metafile catalog MDK Block of the file catalog DK can be determined.

Das Laufwerk erhält Anweisung auf den ermittelten ersten Block des Dateikatalogs DK zu positionieren und den Dateikatalog in seiner gesamten Länge zu lesen. Der Dateikatalog wird in die Harddisk HD der programmgesteuerten Einrichtung DVA kopiert. Soll eine Datei D1 gelesen werden, so wird zunächst in dem auf der Harddisk HD gespeicherten Dateikatalog DK die betreffende Datei gesucht und deren Anfangsblock ermittelt. Danach wird das Laufwerk zur Positionierung des betreffenden Anfangsblocks veranlaßt und die Datei D1 eingelesen.The drive receives instruction on the determined first Position the block of the file catalog DK and the Read the entire catalog of files. Of the File catalog is in the hard disk HD of the program-controlled Device DVA copied. If a file D1 is to be read, So it is first saved in the HD on the hard disk File catalog DK searched for the relevant file and its Initial block determined. Then the drive becomes Positioning of the start block concerned and read the file D1.

Soll eine Datei auf das Band geschrieben werden, so wird das Laufwerk auf den nächsten, der letzten gespeicherten Datei D3 auf dem Band folgenden freien Block positioniert und die Datei geschrieben. Im Dateikatalog DK auf der Harddisk HD wird ein entsprechender dateiindividueller Teil DIT hinzugefügt.If a file is to be written on the tape, it will Drive to the next, the last saved file D3 positioned on the belt following the free block and the File written. In the DK file catalog on the HD hard disk a corresponding file-specific part DIT added.

Soll das Band freigegeben werden, ist also eine Entnahme des Bandes aus dem Laufwerk beabsichtigt, wird zunächst der Dateikatalog DK von der Harddisk HD auf das Band BD kopiert und zwar beginnend mit dem ersten freien Block nach dem letzten von der letzten Datei belegten Block. Im Anschluß an den Dateikatalog DK wird der Meta-Dateikatalog MDK in den nächsten freien Block geschrieben. Der dem Meta-Dateikatalog MDK folgende Block weist dann die Datenendemarkierung EOD auf.If the tape is to be released, the Intended to remove the tape from the drive, the File catalog DK copied from hard disk HD to tape BD starting with the first free block after the  last block occupied by the last file. In connection to the file catalog DK is the meta file catalog MDK in the next free block written. The meta file catalog MDK following block then assigns the data end marking EOD on.

Dadurch, daß sich der Dateikatalog DK am Ende der gespeicherten Dateien befindet, kann er zurückgeschrieben werden, ohne daß nachfolgende Dateien zerstört werden. Entsprechend muß auch nur der dateiindividuelle Teil DIT des Dateikataloges DK zurückgeschrieben werden, der auf den dateiindividuellen Teil DIT für eine zu löschende oder umzubenennende Datei folgt, weil der Meta-Dateikatalog MDK nach dem Dateikatalog DK gespeichert ist. Die Position, an welche der Dateikatalog geschrieben werden muß, läßt sich aus den Informationen in dem dateiindividuellen Teil DIT für die letzte Datei oder aus den in dem Meta-Dateikatalog MDK gespeicherten Informationen ermitteln.Because the file catalog DK at the end of the saved files, it can be restored without subsequent files being destroyed. Accordingly, only the file-specific part DIT of the File catalog DK are written back to the file-specific part DIT for a file to be deleted or file to be renamed follows because the meta file catalog MDK after the file catalog DK is saved. The position at Which of the file catalog must be written can be from the information in the file-specific part DIT for the last file or from the MDK in the meta file catalog determine stored information.

Claims (3)

1. Verfahren zum Steuern einer an eine programmgesteuerte Einrichtung, insbesondere einer Kommunikationsanlage, ange­ schlossenen Laufwerkeinrichtung (DAT) für einen bandförmigen digitalen Datenträger, der zum Speichern von jeweils aus ei­ ner Dateikopfinformation (HE) und einer nachfolgenden Nutz­ dateninformation (ND) bestehenden Dateien (D1, D2, D3) dient und der nacheinander angeordnete, an einen Schreib-Lesekopf selektiv positionierbare Datenblöcke (BL) zur Speicherung jeweils einer Vielzahl von digitalen Informationseinheiten aufweist, wobei bei Schreibzugriffen auf den Datenträger (BD) nachstehend gespeicherte Informationseinheiten ungültig werden, dadurch gekennzeichnet, daß bei einem Reservieren des Daten­ trägers (BD) und nach einer Inbetriebnahme der programmge­ steuerten Einrichtung (DVA) auf einen, eine Datenendemarkie­ rung (EOD) aufweisenden Datenendeblock positioniert wird, daß auf einen dem Datenendeblock vorstehend angeordneten Da­ tenblock positioniert wird, in dem ein Meta-Dateikatalog (MDK) gespeichert ist, der zumindest teilweise gelesen wird, daß danach auf einen ersten Block eines vor dem Meta-Datei­ katalog (MDK) gespeicherten Dateikatalogs (DK) positioniert wird und daß der Dateikatalog (DK) für eine Übertragung zur programmgesteuerten Einrichtung (DVA) gelesen wird.1. A method for controlling a drive device (DAT) connected to a program-controlled device, in particular a communication system, for a tape-shaped digital data carrier which is used to store files consisting of a header information (HE) and a subsequent user data information (ND). D1, D2, D3) is used and the data blocks (BL), which are arranged one after the other and can be selectively positioned on a read / write head, are used to store a large number of digital information units, with information units stored below becoming invalid when the data carrier (BD) is accessed, characterized in that that, in a reservation of the data carrier (BD) and after start-up of the program controlled device (DVA) to a, a Datenendemarkie tion (EOD) having data end block is positioned such that a data end block disposed above Since tenblock positioned in the a meta file catalog (MDK) is stored, which is read at least partially, that is then positioned on a first block of a file catalog (DK) stored in front of the meta file catalog (MDK) and that the file catalog (DK) is for transfer to program-controlled device (DVA) is read. 2. Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß an den Bandanfang des Datenträ­ gers (BD) positioniert wird und eine Identifikationsinforma­ tion (ID) gelesen wird, die für einen Vergleich mit einer in dem Meta-Dateikatalog (MDK) befindlichen Identifikationsin­ formation vorgesehen ist. 2. The method according to claim 1, characterized in that at the beginning of the tape of the data carrier gers (BD) is positioned and identification information tion (ID) is read, which is used for a comparison with an in identification in the metafile catalog (MDK) formation is provided.   3. Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet, daß vor einem Freigeben des Daten­ trägers (BD) auf den, den von einer letzten gespeicherten Datei (D3) belegten Datenblöcken nachfolgenden ersten freien Datenblock positioniert wird, daß beginnend mit diesem Block der von der programmgesteuerten Einrichtung übertragene Da­ teikatalog (DK) geschrieben wird und daß danach auf den nächsten freien Block positioniert und der Meta-Dateikatalog (MDK) geschrieben wird.3. The method according to claim 1 or 2, characterized in that prior to releasing the data carrier (BD) to the one saved by a last one File (D3) occupied data blocks following the first free Data block is positioned starting with that block the data transmitted by the program-controlled device Teikatalog (DK) is written and that afterwards on the positioned next free block and the metafile catalog (MDK) is written.
DE4325710A 1993-07-30 1993-07-30 Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device Expired - Fee Related DE4325710C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE4325710A DE4325710C2 (en) 1993-07-30 1993-07-30 Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE4325710A DE4325710C2 (en) 1993-07-30 1993-07-30 Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device

Publications (2)

Publication Number Publication Date
DE4325710A1 DE4325710A1 (en) 1995-02-09
DE4325710C2 true DE4325710C2 (en) 1998-04-09

Family

ID=6494142

Family Applications (1)

Application Number Title Priority Date Filing Date
DE4325710A Expired - Fee Related DE4325710C2 (en) 1993-07-30 1993-07-30 Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device

Country Status (1)

Country Link
DE (1) DE4325710C2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3711844A (en) * 1971-12-16 1973-01-16 Ibm Updatable magnetic records

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3711844A (en) * 1971-12-16 1973-01-16 Ibm Updatable magnetic records

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
telecom report, "ISDN im Büro", Siemens AG, 1995 *

Also Published As

Publication number Publication date
DE4325710A1 (en) 1995-02-09

Similar Documents

Publication Publication Date Title
DE60313783T2 (en) MOVING DATA BETWEEN MEMORY UNITS
DE60318477T2 (en) DEVICE FOR FILE UPDATE
DE60113586T2 (en) Transferring interconnected data objects in a distributed data storage environment
DE602005001041T2 (en) Dump System
DE2806184A1 (en) PLANT FOR PRODUCING MULTI-TRACK MAGNETIC RECORDINGS
DE112010004076T5 (en) Reuse Logical Data Objects in a Virtual Server
DE19633648A1 (en) Method and circuit arrangement for storing dictations in a digital dictation machine
DE112011102139B4 (en) Tape storage device and writing method therefor
DE112012004297B4 (en) Method for detecting data tampering in a tape drive and file system
DE2801982A1 (en) PROCEDURE FOR EXCHANGE OF INFORMATION BETWEEN AN EXTERNAL MEMORY AND A WORKING MEMORY IN A TEXT PROCESSING SYSTEM
DE19628005B4 (en) System and method for providing data to a laser beam recorder
DE112015003579B4 (en) Duplication of tape cartridge data
EP0151789B1 (en) Storing method for a memory device installed in a telephone installation, in particular a telephone exchange
DE69812257T2 (en) Method for data transmission between computers via a storage subsystem
DE69936674T2 (en) Memory subsystem and method for reorganizing multiplexed data
DE19826091A1 (en) Method for securely changing data stored in a database, database system and network element equipped with it
DE4325710C2 (en) Method for controlling a drive device for tape-shaped digital data carriers connected to a program-controlled device
DE3637767A1 (en) FILE SYSTEM
DE60035114T2 (en) PLATE MEDIUM ADMINISTRATIVE PROCEDURES
DE2801989A1 (en) METHOD FOR CONTROLLING THE STORAGE OF A TEXT IN A TEXT PROCESSING SYSTEM
EP0997909A1 (en) Apparatus for playback of digitally recorded information from an optical information disc
EP1861772B1 (en) Method for removing a mass storage system from a computer network, and computer program product and computer network for carrying out the method
DE60116499T2 (en) METHOD FOR SECURING COMPUTER DATA
EP0997910B1 (en) Apparatus for playback of digitally recorded information from an optical information disc
EP1276116B1 (en) Method for storing related data

Legal Events

Date Code Title Description
8110 Request for examination paragraph 44
8125 Change of the main classification

Ipc: G11B 20/10

D2 Grant after examination
8364 No opposition during term of opposition
8339 Ceased/non-payment of the annual fee