DE2907776A1 - Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file - Google Patents

Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file

Info

Publication number
DE2907776A1
DE2907776A1 DE19792907776 DE2907776A DE2907776A1 DE 2907776 A1 DE2907776 A1 DE 2907776A1 DE 19792907776 DE19792907776 DE 19792907776 DE 2907776 A DE2907776 A DE 2907776A DE 2907776 A1 DE2907776 A1 DE 2907776A1
Authority
DE
Germany
Prior art keywords
file
tape
main file
main
log
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
DE19792907776
Other languages
German (de)
Inventor
Ernst J Dr Feicht
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 DE19792907776 priority Critical patent/DE2907776A1/en
Publication of DE2907776A1 publication Critical patent/DE2907776A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1443Transmit or communication errors

Abstract

The system secures a data base by opening the main the only for reading during data processing. All new or changed data records occurring during data processing are entered into a temporary file instead of the main file. The log tape logs all new entires and changes. Once the data processing run has ended or been interrupted the main file is opened briefly for writing in and all data records written in since the last transfer from temporary to main file are also transferred to the main file. The latter is then closed to block writing in. The records transferred from the temporary file are not deleted from that file after transfer. The main file is periodically copied to tape and then the temporary file is deleted.

Description

Verfahren zur Absicherung des in einer HauptdateiProcedure for securing the in a main file

gespeicherten zentralen Datenbestandes Die Erfindung betrifft ein Verfahren zur Absicherung des in einer Hauptdatei gespeicherten zentralen Datenbestandes einer Datenverarbeitungsanlage unter Verwendung eines Log-Pandes.stored central database The invention relates to a Procedure for securing the central database stored in a main file a data processing system using a log pandes.

Bei längeren Verarbeit#abläufen von Datenverarbeitungsanlagen, insbesondere im Echtzeitbetrieb, ist es erforderlich, die Hauptdatei durch geeignete Maßnahmen abzusichern. Ferner sollte ein Wiederanlauf nach einem System- oder Date#trägerausfall möglichst schnell und unproblematisch erfolgen können.In the case of longer processing sequences of data processing systems, in particular In real-time operation, it is necessary to take the main file through appropriate measures secure. In addition, a restart should be performed after a system or data carrier failure can be done as quickly and easily as possible.

Bisher konnte dieses Problem nur teilweise gelöst werden. Soweit eine Absicherung des Datenbestandes überhaupt erfolgte, geschah dies über ein sog. Log-Band, das die Neuzugänge und Änderungen in der Hauptdatei protokollierte. Bei einem Systemausfall wurde hier auch die Hauptdatei in Xitleidenschaft gezogen. Der letzte Stand der Hauptdatei konnte dann zwar mit Hilfe des Log-Bandes rekonstruiert werden. War dieser letzte Stand jedoch durch die aufgetretene Systemstörung fehlerhaft oder traten bei Versuchen zum Wiederablauf Störungen auf, so war der Wiederanlauf der Datenverarbeitungsanlage nicht mehr oder zumindest nicht mehr ohne weiteres möglich.So far, this problem has only been partially resolved. So much for one The data stock was secured at all, this was done via a so-called log tape, the new additions and changes in the main file logged. In the event of a system failure, the main file would also be affected. The last status of the main file could then be reconstructed with the help of the log tape will. However, if this last status was incorrect due to the system malfunction or if malfunctions occurred during attempts to restart, then the process was restarted the data processing system no longer or at least no longer easily possible.

Der vorliegenden Erfindung liegt die Aufgabe zugrunde, ein Verfahren zur Absicherung des.in einer Hauptdatei gespeicherten zentralen Datenbestandes einer Datenverarbeitungsanlage unter Verwendung eines Xog-Bandes anzugeben, das einen schnellen und unproblematischen Wiederanlauf nach einem System- oder Datenträgerausfall selbst dann gestattet, wenn bei einem ersten Wiederanlaufversuch irgendein weiterer Defekt auftritt.The present invention is based on the object of a method to secure the central database of a Specify data processing system using a Xog tape that has a fast and unproblematic restart after a system or data carrier failure allowed even if any further attempt was made on the first attempt at restart Defect occurs.

Die Erfindung löst diese Aufgabe dadurch, daß die Hauptdatei während der Datenverarbeitung nur zum Lesen eröffnet wird und neben der Hauptdatei eine Zwischendatei verwendet wird, in die alle während der Datenverarbeitung anfallenden neuen oder geänderten Datensätze statt in die Hauptdatei eingeschrieben werden und das Log-Band alle Neuzugänge und Änderungen in der Zwischendatei protokolliert.The invention solves this problem in that the main file during data processing is only opened for reading and next to the main file a Intermediate file is used in which all accruing during data processing new or changed data records are written to the main file and the log tape records all new additions and changes in the intermediate file.

Vorzugsweise wird nach Beendigung eines Datenverarbeitungslaufs die Hauptdatei kurzzeitig zum Einschreiben eröffnet unfälle seit der letzten ¢bertragung in die Zwischendatei geschriebenen Sätze in die Hauptdatei übertragen, worauf die Einschreibmöglichkeil in die Hauptdatei wieder beendet wird. Gegebenenfalls wird hierzu der Datenverarbeitungslauf kurz unterbrochen.Preferably, after the end of a data processing run, the Main file for registered mail opened for a short time. Accidents since the last ¢ transmission The records written in the intermediate file are transferred to the main file, whereupon the Enrollment in the Main file is closed again. Possibly the data processing run is briefly interrupted for this purpose.

Aus Sicherungsgrrnden werden die in die Hauptdatei übernommenen Datensätze in der Zwischendatei nicht gelöscht, sie gelten Jedoch nicht mehr als aktuell.The data records transferred to the main file are saved for security reasons not deleted in the intermediate file, but they are no longer considered current.

Tritt während der Datenverarbeitung ein Systemausfall auf, so beeinträchtigt dieser die Hauptdatei in keiner Weise. Die Zwischendatei kann auf dem Log-Band schnell wieder aufgebaut werden.If a system failure occurs during data processing, it is adversely affected this the main file in any way. The intermediate file can be on the log tape quickly to be rebuilt.

Zur Sicherung des Datenbestandes wird die Hauptdatei periodisch auf ein Sicherungemagnetband kopiert und die Zwischendatei gelöscht. Für die Funktion des, Log-und Sicherungsbandes werden vorzugsweise zusammen 5 Bänder verwendet, die ihre Funktion zyklisch vertauschen und zwar derart, daß Jeweils neben dem aktuellen Log-Band und dem Sicherungsband deren unmittelbare Vorgänger erhalten bleiben und aus dem alten Log-Band des vorhergehenden Zyklus ein ßeserveband wird, das Reserveband des vorhergehenden Zyklus zum Sicherungsband und das alte Sicherungsband des vorhergehenden Zyklus zum neuen Log-Pand wird.To back up the data, the main file is periodically opened copied a backup tape and deleted the intermediate file. For the function des, log and backup tape are preferably used together 5 tapes, the swap their function cyclically in such a way that each time next to the current Log tape and the backup tape whose immediate predecessors are retained and the old log tape of the previous cycle becomes a reserve tape, the reserve tape of the previous cycle to the backup tape and the old backup tape of the previous one Cycle becomes the new log pand.

Zur Erläuterung der Datenträgersicherung sei auf die beigefügte Figur verwiesen.For an explanation of the data carrier backup, refer to the attached figure referenced.

Die Figur zeigt die Zwischendatei L und die Hauptdatei E sowie die 5 bander Lo, Li, R, Eo und gi.The figure shows the intermediate file L and the main file E as well as the 5 bander Lo, Li, R, Eo and gi.

Bei Bedarf oder in einem bestimmten Turnus kopiert man die Hanptdatei E auf das Sicherungsband Eo Dabei wird die Zwischendatei L gelöscht. Das im vorhergehen- den Turnus verwendete Sicherungsband K1 und das im vorhergehenden Turnus verwendete Log-Band L1 bleiben erhalten. Das im vorvorhergehenden Turnus verwendete Sicherungsband wird nun zum neuen Log-Band B0 und das im vorvorhergehenden Turnus verwendete Log-Band wird nun zum Reserveband R.If necessary or in a certain cycle, the manual file is copied E onto the backup tape Eo. The intermediate file L is deleted. That in the previous the Security tape K1 used and the one used in the previous cycle Log band L1 are retained. The backup tape used in the previous cycle now becomes the new log tape B0 and the log tape used in the previous cycle now becomes the reserve band R.

Bei Jedem Turnus vertauschen die 5 Bänder Lo, L19 R, Eo und K1 zyklisch ihre Funktionen, wie das in der Figur durch die strichlierten Pfeile angegeben ist.At each rotation the 5 bands Lo, L19 R, Eo and K1 swap cyclically their functions, as indicated in the figure by the dashed arrows.

Bei einer Zerstörung von. Datenträgern zu irgendeinem Zeitpunkt läßt sich der gesamte Datenbestand auf zwei Wegen in der Rauptdatei E wieder aufbauen: 1. Einlesen des Sicherungsbandes Eo und Übernehmen der gesamten Zwischendatei L oder 2. Einlesen des alten Sicherungsbandes K1 und Ubernehmen des alten und neuen Log-Pandes L1 und L0.If. Disks at any point in time the entire database can be built up again in the main file E in two ways: 1. Read in the backup tape Eo and take over the entire intermediate file L or 2. Reading in the old backup tape K1 and taking over the old and new Log pandes L1 and L0.

Auch Kombinationen der Möglichkeiten 1 und 2 sind möglich und ggfs. zweckmäßig. Da in beiden Fällen verschiedene Datenträger verwendet werden, ist ein Wiederanlauf auch dann möglich, wenn z.B. während des Wiederanlaufs ein Systemfehler oder ein Datenträgerdefekt auftritt.Combinations of options 1 and 2 are also possible. expedient. Since different data carriers are used in both cases, a A restart is also possible if, for example, a system error occurs during the restart or a disk defect occurs.

Anstelle der Magnetbänder können auch Dateien auf anderen Datenträgern Verwendung finden, sofern diese nur physikalisch getrennt sind, d.h. eine gleichzeitige Zerstörung sehr unwahrscheinlich ist.Instead of magnetic tapes, files can also be stored on other data carriers Can be used if they are only physically separated, i.e. a simultaneous one Destruction is very unlikely.

1 Figur 5 Patentansprüche1 Figure 5 claims

Claims (5)

Patentanspri#che U Verfahren zur Absicherung des in einer Hauptdatei gespeicherten zentralen Datenbestandes einer Datenverarbeitungsanlage unter Verwendung eines Log-Bandes, dadurch g e k e n n z e i c h n e t , daß die Hauptdatei während der Datenverarbeitung nur zum Lesen .eröffnet wird und daß neben der Hauptdatei eine Zwischendatei verwendet wird, in die alle während der Datenverarbeitung anfallenden neuen oder geänderten Datensätze statt in die Hauptdatei eingeschrieben werden und daß das Log-Band alle Neuzugänge und Änderungen protokolliert. Patent claims U Method for securing the in a main file stored central database of a data processing system using of a log tape, noting that the main file during the data processing is only opened for reading and that next to the main file an intermediate file is used in which all arising during the data processing new or changed data records are written to the main file and that the log tape records all new additions and changes. 2. Verfahren nach Anspruch 1, dadurch g e k e n n -z e i c h n e t , daß nach Beendigung oder Unterbrechung eines Datenverarbeitungalaufea die Hauptdatei kurzzeitig zum Einschreiben eröffnet und alle seit der letzten Ubertragung in die Zwischendatei geschriebenen Dateasätae in die Hauptdatei übertragen werden, worauf die Einschreibmöglichkeit in die Eauptdatei wieder beendet wird. 2. The method according to claim 1, characterized in that g e k e n n -z e i c h n e t that after completion or interruption of a data processing run a the main file briefly opened for registered mail and all since the last transfer to the Dateasätae written to the intermediate file are transferred to the main file, whereupon the possibility of writing in the main file is terminated again. 3. Verfahren nach Anspruch 2, dadurch g e k e n n z e i c h n e t , daß die aus der Zwischendatei in die Hauptdatei übernommenen Datensätze aus Sicherh#itsgründen in der Zwischendatei nicht gelöscht werden. 3. The method according to claim 2, characterized in that g e k e n n z e i c h n e t that the data records transferred from the intermediate file to the main file for security reasons in the intermediate file are not deleted. 4. Verfahren nach einem oder mehreren der Ansprüche 1 bis 3, dadurch g e k e n n z e i c h n e t , daß die Hauptdatei periodisch auf ein Sicherungsmagnetband kopiert wird und die Zwischendatei dann gelöscht wird. 4. The method according to one or more of claims 1 to 3, characterized NOTICE that the main file is periodically saved on a backup magnetic tape is copied and then the intermediate file is deleted. 5. Verfahren nach Anspruch 4, dadurch g e k e n n -z e i c h n e t , daß für die Punktion des Log-Bandes und des Sicherungsmagnetbandes zusammen 5 Bänder verwendet werden, die ihre Funktionen zyklisch vertauschen und zwar derart, daß Jeweils neben dem aktuellen Log-Band (L0) und dem Sicherungsband (Eo) deren unmittelbaren Vorgängern und E1) erhalten bleiben und aus dem Log-Band des vorhergehenden Zyklus ein Reserveband wird, das Reserveband des vorhergehenden Zyklus zum Sicherungsband (Eo) und das Sicherungsband (K1) des vorhergehenden Zyklus zum neuen Log-Band wird.5. The method according to claim 4, characterized in that g e k e n n -z e i c h n e t that for the puncture of the log tape and the security magnetic tape together 5 Tapes are used that cyclically swap their functions in such a way that that in addition to the current log tape (L0) and the backup tape (Eo) their immediate predecessors and E1) are retained and from the log tape of the previous one Cycle becomes a reserve tape, the reserve tape of the previous cycle becomes the backup tape (Eo) and the backup tape (K1) of the previous cycle becomes the new log tape.
DE19792907776 1979-02-28 1979-02-28 Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file Withdrawn DE2907776A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE19792907776 DE2907776A1 (en) 1979-02-28 1979-02-28 Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19792907776 DE2907776A1 (en) 1979-02-28 1979-02-28 Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file

Publications (1)

Publication Number Publication Date
DE2907776A1 true DE2907776A1 (en) 1980-09-11

Family

ID=6064097

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19792907776 Withdrawn DE2907776A1 (en) 1979-02-28 1979-02-28 Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file

Country Status (1)

Country Link
DE (1) DE2907776A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0195885A2 (en) * 1981-06-12 1986-10-01 Siemens Aktiengesellschaft Method and device for the non-volatile memorizing of the counting state of an electronic counter circuit
DE4440251C1 (en) * 1994-11-11 1996-03-07 Roland Man Druckmasch Computer for printing machine
US5644698A (en) * 1996-05-30 1997-07-01 International Business Machines Corporation Configurable reuse delay criterion for storage volumes
EP1550845B2 (en) 2003-12-24 2022-05-04 Avago Technologies International Sales Pte. Limited positionsdetector

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0195885A2 (en) * 1981-06-12 1986-10-01 Siemens Aktiengesellschaft Method and device for the non-volatile memorizing of the counting state of an electronic counter circuit
EP0195885A3 (en) * 1981-06-12 1986-11-26 Siemens Aktiengesellschaft Berlin Und Munchen Method and device for the non-volatile memorizing of the counting state of an electronic counter circuit
DE4440251C1 (en) * 1994-11-11 1996-03-07 Roland Man Druckmasch Computer for printing machine
US5644698A (en) * 1996-05-30 1997-07-01 International Business Machines Corporation Configurable reuse delay criterion for storage volumes
EP1550845B2 (en) 2003-12-24 2022-05-04 Avago Technologies International Sales Pte. Limited positionsdetector

Similar Documents

Publication Publication Date Title
DE2614000C2 (en) Diagnostic device for testing functional units
DE2227150C2 (en) Circuit arrangement for processing and storing information for later error analysis
DE2656123C3 (en) Input device for supplying a plurality of characters which form a data field
DE1151397B (en) Program-controlled data processing system with stored subroutines
DE2359776A1 (en) MEMORY MODULE FOR USE IN CONNECTION WITH A DATA PROCESSING UNIT
DE1815666B2 (en) m, 19.12.68 OT 07.08.69 fr 15.01.68 V.St.v.Amerika 697797 Circuit arrangement for channel error correction
DE2637194A1 (en) TIME RECORDING ARRANGEMENT
DE19827432A1 (en) Processor failure condition data storage method
EP0615211B1 (en) Device for storing security data
DE2425757A1 (en) TEST SYSTEM FOR A DATA PROCESSING UNIT
DE2907776A1 (en) Data protection system securing data-base main file - only opens main file for read during processing and stores new records in temporary file
DE2625365C3 (en) Comparison facility for entered data
DE2165589A1 (en) ARRANGEMENT FOR PROGRAM-CONTROLLED DETERMINATION OF ERRORS IN A DATA PROCESSING SYSTEM
DE3744200C2 (en)
DE2823457C2 (en) Circuit arrangement for error monitoring of a memory of a digital computer system
DE2846890A1 (en) Test system for random access memories - writes cell address into cell and then compares reading with read cell address for fault indication
DE2458224A1 (en) Data processing system with parallel working coordination - has a coordination element and a number of synchronising logic circuits
DE2544929A1 (en) Sporadic fault ascertaining procedure for telephone networks - using evaluator containing comparator and counters determining frequency of registered faults during observation period
DE1774660C3 (en) Device for reading information recorded along a track
DE2319756A1 (en) DATA PROCESSING SYSTEM
DE2550805A1 (en) PROCEDURE FOR REPLACING A MEMORY MODULE
DE4104114A1 (en) Redundant data processing system e.g. for control applications - uses program counter and count comparator for synchronising stand-by system following interrupt
DE102022104865A1 (en) Aircraft maintenance procedures
DE1449425C (en) Device for determining errors in a magnetic tape
DE102008010556A1 (en) Method and device for storing information data

Legal Events

Date Code Title Description
OAM Search report available
OC Search report available
8139 Disposal/non-payment of the annual fee