JPH0656591B2 - Data editing processor - Google Patents

Data editing processor

Info

Publication number
JPH0656591B2
JPH0656591B2 JP56104368A JP10436881A JPH0656591B2 JP H0656591 B2 JPH0656591 B2 JP H0656591B2 JP 56104368 A JP56104368 A JP 56104368A JP 10436881 A JP10436881 A JP 10436881A JP H0656591 B2 JPH0656591 B2 JP H0656591B2
Authority
JP
Japan
Prior art keywords
data
pointer
block
group
data 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 - Lifetime
Application number
JP56104368A
Other languages
Japanese (ja)
Other versions
JPS588349A (en
Inventor
武 花田
和良 寺本
武志 橋本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56104368A priority Critical patent/JPH0656591B2/en
Publication of JPS588349A publication Critical patent/JPS588349A/en
Publication of JPH0656591B2 publication Critical patent/JPH0656591B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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/1441Resetting or repowering

Description

【発明の詳細な説明】 本発明はデータ編集処理装置に関するものであり、更に
詳しくはデータの編集処理の実行中に停電等の事故が発
生し編集処理を中断しなければならない場合でも、リス
ト構造が破壊されない様なデータ編集処理装置に関す
る。
The present invention relates to a data edit processing device, and more particularly to a list structure even when an accident such as a power failure occurs during execution of data edit processing and the edit processing must be interrupted. The present invention relates to a data edit processing device that prevents data from being destroyed.

従来、小型のコンピユータシステムにおいては、データ
編集処理装置の実行中に停電等の事故が発生すると、そ
の事故の復旧後サムチエツクエラー等でデータ破壊を検
出し、データフアイルを再度初めから作成しなおすのが
通常であつた。また、大型のコンピユータシステムにお
いては、停電等の事故が発生すると、事故が発生した時
点で事故の復旧後にデータの編集処理の再開に必要な情
報をあらかじめ定められた不揮発性メモリに待避し、事
故発生から情報待避が終了するまでの時間システムが動
作するのに必要な電力は、大型蓄電池や自家発電機など
に依つていた。
Conventionally, in a small computer system, if an accident such as a power failure occurs during execution of the data edit processing device, after the recovery of the accident, data destruction is detected by a Samchieck error etc., and the data file is recreated from the beginning. It was normal. Also, in a large computer system, when an accident such as a power failure occurs, the information necessary for resuming data editing processing after the accident is recovered is saved in a predetermined non-volatile memory at the time of the accident and the accident occurs. The time required for the system to operate from the time of occurrence until the end of information saving depends on a large storage battery or a private generator.

しかし、近年記憶装置の低価格化が進み、安価な小型コ
ンピユータシステムにも磁気バブルメモリや磁気デイス
ク装置等が導入される様になり、その記憶容量が大きく
なつていきている。この様な近年の小型コンピユータシ
ステムにおいて、データの編集処理実行中に停電等の事
故が発生した場合、従来のシステムと同様に最初から全
て編集しなおすのは多大の時間を要し、容易ではない。
また、大型コンピユータシステムの様に、停電時に編集
処理の再開に必要とされる情報を待避するためのバツク
アツプ電源を設けることは、価格の上昇を招き、同時に
蓄電池等の保守が新たに必要となる欠点がある。
However, in recent years, the price of storage devices has been reduced, and magnetic bubble memories, magnetic disk devices, etc. have been introduced into inexpensive small-sized computer systems, and their storage capacities are increasing. In such a small computer system of recent years, when an accident such as a power failure occurs while executing the data editing process, it takes a lot of time and it is not easy to re-edit all from the beginning like the conventional system. .
In addition, providing a backup power supply to save the information required for restarting editing processing in the event of a power outage, like a large computer system, will lead to an increase in price and at the same time necessitate new maintenance such as storage batteries. There are drawbacks.

本発明はかかる従来のデータ編集処理装置の欠点に鑑み
なされたもので、データの編集処理の実行中に停電等の
事故が原因となり編集処理を中断する場合に、中断され
た編集処理動作が開始された直前の状態のリスト構造を
破壊することなく、事故復旧時に最初から全て編集しな
おすのではなく、該中断された編集処理が開始された直
前の状態に戻し、編集動作を再開できる様にしたデータ
編集処理装置を提供することを目的としている。
The present invention has been made in view of the drawbacks of the conventional data edit processing device. When the edit processing is interrupted due to an accident such as a power failure during the execution of the data edit processing, the interrupted edit processing operation is started. Instead of re-editing everything from the beginning when recovering from an accident, without destroying the list structure of the state immediately before it was started, it is possible to return to the state immediately before the interrupted editing process was started and restart the editing operation. An object of the present invention is to provide a data editing processing device.

本発明のデータ編集処理装置は、ポインタによつてデー
タを環状リスト構造又は鎖状リスト構造で接続し、デー
タの編集処理を実行する装置であって、編集処理直前の
データ内容を保存するための第1のポインタグループ
と、編集処理を実行するための第2のポインタグループ
と、第2のポインタグループが編集処理を実行している
間は第1のポインタグループを選択し、第2のポインタ
グループが編集処理を終了した後は第2のポインタグル
ープを選択するポインタセレクタから構成されている。
A data edit processing device of the present invention is a device for connecting data in a circular list structure or a chained list structure by a pointer and executing a data edit process, for saving the data content immediately before the edit process. The first pointer group, the second pointer group for executing the editing process, and the first pointer group are selected while the second pointer group is executing the editing process. Is composed of a pointer selector for selecting the second pointer group after the editing process is completed.

即ち、データの追加、削除、並べ換え等の編集処理をい
つ打切つてもデータ群に混乱を生じさせないためには、
編集前のデータを保存したまま新データを作成し、新デ
ータが完全な形で揃つた後にこの新データに最新データ
として見出しを付与すれば良い。しかし、これをそのま
ま実行するには、必要なデータ量の2倍の記憶容量が必
要になり、効率が極端に低下する。
That is, in order not to cause confusion in the data group even if the editing processing such as data addition, deletion, and rearrangement is terminated,
It is sufficient to create new data while preserving the data before editing, and to add a heading as the latest data to this new data after the new data is completely prepared. However, to execute this as it is, a storage capacity twice as much as the required data amount is required, resulting in extremely low efficiency.

そこで、本発明においては、ポインタを用いてデータを
環状リスト構造又は鎖状リスト構造で接続する方式を採
り、編集前のデータを保存するための第1のポインタグ
ループと、実際の編集動作を行う第2のポインタグルー
プを設け、記憶容量の減縮を図つている。そして第2の
ポインタグループにおいて編集処理が終了した後に、ポ
インタセレクタが第2のポインタグループを選択するこ
とによつて、編集処理動作中に停電等の事故が発生した
場合でも、編集処理開始直前のデータが保存されるた
め、事故復旧後すみやかに編集処理を再開できるのであ
る。
Therefore, in the present invention, a method of connecting data with a circular list structure or a chained list structure using pointers is adopted, and a first pointer group for storing data before editing and an actual editing operation are performed. A second pointer group is provided to reduce the storage capacity. After the editing process is completed in the second pointer group, the pointer selector selects the second pointer group so that even if an accident such as a power failure occurs during the editing process operation, it is possible to perform Since the data is saved, the editing process can be resumed immediately after the accident recovery.

以下添付の図面に示す実施例により、更に詳細に本発明
について説明する。
Hereinafter, the present invention will be described in more detail with reference to the embodiments shown in the accompanying drawings.

第1図は本発明の一実施例を示すデータフアイルの説明
図である。このデータフアイルは、データブロツク(B0
〜B7)の集まりであるデータグループDGと、ポインタ
(H0,H1,C0〜C7)の集まりである2組のポインタグルー
プP0,P1と、この2組のポインタグループP1,P2のうちど
ちらが現在有効であるかを示すポインタセレクタSとか
ら構成されている。データグループDGは、記憶装置やシ
ステムの仕様によつてブロツク数(本実施例では8ブロ
ツク)や1ブロツクのビツト数を任意に選定することが
可能である。また、ポインタグループP0,P1の各ポイン
タC0,C1,…,C7はそれぞれデータグループDGの各データ
ブロツクB0,B1,…,B7の次にくるデータブロツクを指示
するもので、例えばポインタC0の内容が“2”のときは
データブロツクB0の次にデータブロツクB2がくることを
指示する。そして各ポインタC0,C1,…,C7の指示内容に
より、各データブロツクB0,B1,…,B7は一本の環状に接
続される。ポインタH0は、この環状に接続されたデータ
ブロツクB0,B1,…,B7のうち有意なデータの入つたデー
タブロツクの先頭ブロツクを指示するものであり、また
ポインタH1はデータブロツクB0,B1,…,B7のうち空ブロ
ツクの先頭データブロツクを指示するものである。そし
て、本発明においては、ポインタC0,C1,…,C7でデータ
ブロツクB0,B1,…,B7を指示して環状接続を行う場合、
有意なデータを入つているデータブロツクを連続させ、
同時に空白のデータブロツクを連続させるように指示さ
れる。ここで、各ポインタH0,H1,C0,…,C7は一個のデー
タブロツクを表示できるビツト数を有するものであれば
十分であり、例えばデータブロツクが8個であれば、ポ
インタH0,H1,C0等は0から7の数値を表現できる大きさ
であれば良い。
FIG. 1 is an explanatory diagram of a data file showing an embodiment of the present invention. This data file contains the data block (B0
~ B7) data group DG, pointers (H0, H1, C0 to C7) 2 sets of pointer groups P0, P1 and these 2 sets of pointer groups P1 and P2 are currently valid And a pointer selector S indicating whether or not The data group DG can arbitrarily select the number of blocks (8 blocks in this embodiment) or the number of 1 block depending on the specifications of the storage device or system. Further, the pointers C0, C1, ..., C7 of the pointer groups P0, P1 respectively indicate the data blocks next to the data blocks B0, B1, ..., B7 of the data group DG. For example, the contents of the pointer C0 When is "2", it indicates that the data block B0 is followed by the data block B2. The data blocks B0, B1, ..., B7 are connected in a single ring according to the instruction contents of the pointers C0, C1 ,. The pointer H0 points to the head block of the data blocks containing significant data among the data blocks B0, B1, ..., B7 connected in a ring, and the pointer H1 also points to the data blocks B0, B1 ,. , B7, the first data block of an empty block is designated. In the present invention, when the pointers C0, C1, ..., C7 are used to point the data blocks B0, B1 ,.
Continuous data blocks containing significant data,
At the same time, you are instructed to continue blank data blocks. It suffices that each pointer H0, H1, C0, ..., C7 has a bit number capable of displaying one data block. For example, if there are eight data blocks, pointers H0, H1, C0 Etc. may be of a size capable of expressing a numerical value of 0 to 7.

ポインタセレクタSは、現在のデータフアイルがP0,P1
のいずれのポインタグループによつて構成されているか
を示すもので、例えばポインタセレクタSの内容が
“0”である場合にはデータの読み出しにはポインタグ
ループP0を使用し、データの編集にはポインタグループ
P1を使用すれば良いことを示している。
In the pointer selector S, the current data file is P0, P1.
The pointer group P0 is used for reading data when the content of the pointer selector S is "0", and the pointer group is used for editing data. group
It shows that P1 should be used.

次に第1図に示す実施例の動作について説明する。第1
図に示す様に、データブロツクB0,B1,…,B5にはそれぞ
れデータ“ニ”,“ヘ”,“イ”,“ロ”,“ホ”,
“ハ”が格納されており、データブロツクB6,B7は空白
ブロツクとなつている。また、ポインタグループP0のポ
インタH0には“2”が格納され、ポインタH1には“6”
が格納されている。従つて、ポインタグループP0の各ポ
インタC0,C1,…,C7の指示内容によつて形成されている
データブロツクB0,B1,…,B7の環状接続において、有意
なデータが格納されている最初のデータブロツクはB2で
あり、最初の空白ブロツクはB6であることがわかる。更
に、図示する様にポインタグループP0の各ポインタC0,C
1,…,C7には、データブロツクを指示し環状接続を形成
するための番号が格納されている。
Next, the operation of the embodiment shown in FIG. 1 will be described. First
As shown in the figure, the data blocks B0, B1, ..., B5 have data “d”, “f”, “a”, “b”, “e”,
"H" is stored, and the data blocks B6 and B7 are blank blocks. Further, "2" is stored in the pointer H0 of the pointer group P0, and "6" is stored in the pointer H1.
Is stored. Therefore, in the circular connection of the data blocks B0, B1, ..., B7 formed by the instruction contents of the pointers C0, C1, ..., C7 of the pointer group P0, the first significant data is stored. It can be seen that the data block is B2 and the first blank block is B6. Further, as shown in the figure, each pointer C0, C of the pointer group P0
Numbers for instructing a data block and forming a ring connection are stored in 1, ..., C7.

以上の前提の下においてデータ読出動作について説明す
ると、先ずポインタセレクタSの内容が“0”になつて
いるので、ポインタグループP0を参照する。ポインタグ
ループP0内のポインタH0の内容が“2”になつているの
で、有意なデータが格納されている先頭ブロツクがデー
タブロツクB2であることがわかる。データブロツクB2の
内容は“イ”であり、これが先ず読み出される。続い
て、データブロツクB2の次のデータブロツクを指示する
ポインタC2の内容は“3”であり、これによつてデータ
ブロツクB2の次はデータブロツクB3であることがわか
る。データブロックB3の内容は“ロ”であり、次にこれ
が読み出される。続いて、プータブロツクB3の次のデー
タブロックを指示するポインタC3の内容5であるため、
これによつてデータブロックB3の後はデータブロツクB5
であることがわかる。データブロツクB5の内容は“ハ”
であり、これが読み出される。以下同様に、B5→C5(0)
→B0(ニ)→C0(4)→B4(ホ)→C4(1)→B1(ヘ)→C1(6)→B6とい
う順番で、データ“ニ”,“ホ”,“ヘ”が読み出され
る。
The data read operation will be described under the above premise. First, since the content of the pointer selector S is "0", the pointer group P0 is referred to. Since the content of the pointer H0 in the pointer group P0 is "2", it can be seen that the first block in which significant data is stored is the data block B2. The content of the data block B2 is "a", and this is read first. Then, the content of the pointer C2 that points to the next data block of the data block B2 is "3", which indicates that the data block B2 is followed by the data block B3. The content of the data block B3 is "b", and this is read next. Then, because it is the content 5 of the pointer C3 that points to the next data block of the pool block B3,
As a result, the data block B3 is followed by the data block B5.
It can be seen that it is. The contents of data block B5 are "C".
And this is read. Similarly, B5 → C5 (0)
→ B0 (d) → C0 (4) → B4 (e) → C4 (1) → B1 (f) → C1 (6) → B6 in this order, data “d”, “e”, and “f” are read. Be done.

データブロツクB6がポインタC1によつて指定されると、
ポインタH1によつてデータブロツクB6は空白ブロツク列
の先頭ブロツクであることが判明するので、有意なデー
タブロツク列はデータブロツクB1で終了することがわか
る。
When the data block B6 is specified by the pointer C1,
Since it is found from the pointer H1 that the data block B6 is the first block of the blank block sequence, it can be seen that the significant data block sequence ends at the data block B1.

以上の様にして有意なデータブロツクB2,B3,B5,B0,B4,B
1の内容が順次読み出され、データ“イ”,“ロ”,
“ハ”,“ニ”,“ホ”,“ヘ”が読み出されることに
なる。
Significant data blocks B2, B3, B5, B0, B4, B
The contents of 1 are read out sequentially and the data “a”, “b”,
"C", "D", "E", and "F" are read out.

次に一般のデータ列の編集処理について説明する。一般
のデータ列の編集は、データ列に対する任意のデータの
挿入とデータ列中の任意のデータの削除と、このデータ
挿入とデータ削除の組合せと、これらの動作の繰り返し
で実現される。従つて、以下の説明では具体的に、空白
ブロツクであるデータブロツクB6に新しいデータ“ト”
を格納し、これをデータブロツク列中に移動挿入する
と、データブロツク列から一つのデータブロツクを削除
し、このデータブロツクを空白ブロツク列中に移動する
第2の場合についてそれぞれ説明する。
Next, a general data string editing process will be described. Editing a general data string is realized by inserting arbitrary data into the data string, deleting arbitrary data in the data string, combining this data insertion and data deletion, and repeating these operations. Therefore, in the following explanation, a new data “to” is added to the data block B6 which is a blank block.
Will be described, and when the data block is stored and moved into the data block sequence, one data block is deleted from the data block sequence, and this data block is moved into the blank block sequence.

第1の場合は、第2図に示す様に空白ブロツクB6の格納
された新データ“ト”を現在の有意なデータ列(イ,
ロ,ハ,ニ,ホ,ヘ)に挿入し、データ列(イ,ロ,
ハ,ト,ニ,ホ,ヘ)を生成するものである。この場
合、データ列(イ,ロ,ハ,ト,ニ,ホ,ヘ)は、ポイ
ンタC1の内容を“6”から“7”に変更し、ポインタC5
の内容を“0”から“6”に変更し、ポインタC6の内容
を“7”から“0”に変更し、更にポインタH1の内容を
“6”から“7”に変更することによつて実現できるこ
とが容易にわかる。そこで、この新しいポインタH0,H1,
C0,C1,…,C7の内容を現在ポインタセレクタSでセレク
トされていないポインタグループP1に作成する。ポイン
タグループP1における作成処理が完了し、第2図に示す
内容になつた後に、ポインタセレクタSの内容を“0”
から“1”に変更して動作は終了する。
In the first case, as shown in FIG. 2, the new data “TO” stored in the blank block B6 is changed to the current significant data string (A,
Insert the data string (a, b, d, h)
C, C, D, H, F) are generated. In this case, the data string (a, b, ha, t, d, h, f) changes the content of the pointer C1 from "6" to "7", and the pointer C5
By changing the contents of the pointer from "0" to "6", changing the contents of the pointer C6 from "7" to "0", and further changing the contents of the pointer H1 from "6" to "7". It is easy to see what can be achieved. So this new pointer H0, H1,
The contents of C0, C1, ..., C7 are created in the pointer group P1 not currently selected by the pointer selector S. After the creation processing in the pointer group P1 is completed and the content shown in FIG. 2 is reached, the content of the pointer selector S is set to "0".
Is changed to "1" and the operation ends.

なお、データグループDGに空白なデータブロックが全く
ない場合、データの挿入処理の実行は不可能である。こ
の場合には、これまでの説明から明らかなように、ポイ
ンタH1の内容は“8”となり、最終のデータブロックB7
の指示番号“7”を越えてしまう。したがって、データ
挿入処理に先だって、ポインタH1の内容と最終データブ
ロックB7の指示番号とを比較することにより、データの
挿入処理が可能か否かを容易に判別することができる。
すなわち、ポインタH1の内容が最終のデータブロックの
指示番号と同一の場合又はポインタH1の内容が最終のデ
ータブロックの指示番号より小さい場合には、前記した
データ挿入処理を実行し、ポインタH1の内容が最終デー
タブロックの指示番号より大きい場合には、データ挿入
処理を行わないようにすればよい。
If there is no blank data block in the data group DG, it is impossible to execute the data insertion process. In this case, as is apparent from the above description, the content of the pointer H1 becomes "8", and the final data block B7
The instruction number of "7" is exceeded. Therefore, by comparing the content of the pointer H1 with the instruction number of the final data block B7 prior to the data insertion processing, it is possible to easily determine whether or not the data insertion processing is possible.
That is, when the content of the pointer H1 is the same as the instruction number of the final data block, or when the content of the pointer H1 is smaller than the instruction number of the final data block, the data insertion processing described above is executed, and the content of the pointer H1. Is larger than the instruction number of the final data block, the data insertion process may not be performed.

次に、上記の編集処理動作が終了する前に停電等の事故
が発生し編集処理動作が中断した場合を考える。この場
合には、ポインタセレクタSの内容はまだ“0”で保持
されており、ポインタグループP0は、上記編集処理実行
前の状態を保持している。従つて、データフアイルの構
造に矛盾が生じることがなく、事故復旧後再び上記編集
処理をすみやかに再開できる。ちなみに、もしポインタ
グループP0しか存在せずポインタグループP1が存在しな
い場合を想定すると、ポインタP0の内容をポインタC1,C
5,C6,H1の順番で書き換えてゆことになる。しかし、こ
の様な編集処理では、例えばポインタC1,C5を書き換え
た時点で処理が中断した場合第3図に示す様になる。こ
れを読み出すと有意なデータが格納されたデータブロツ
ク列はB2,B3,B5となり、の内容は(イ,ロ,ハ)とな
る。また空白のブロック列はB6,B7となり、論理上デー
タブロツクB0,B1,B4が削減してしまつたことになり、矛
盾が生じる。
Next, consider a case where an accident such as a power failure occurs and the editing processing operation is interrupted before the above-described editing processing operation ends. In this case, the content of the pointer selector S is still held at “0”, and the pointer group P0 holds the state before the execution of the editing process. Therefore, there is no contradiction in the structure of the data file, and the editing process can be promptly restarted after the accident recovery. By the way, assuming that only the pointer group P0 exists and the pointer group P1 does not exist, the content of the pointer P0 is set to the pointers C1 and C.
It will be rewritten in the order of 5, C6, H1. However, in such an editing process, for example, when the process is interrupted at the time of rewriting the pointers C1 and C5, it becomes as shown in FIG. When this is read out, the data block sequence in which significant data is stored becomes B2, B3, B5, and the content of becomes (a, b, c). In addition, the blank block strings are B6 and B7, which means that logically the data blocks B0, B1, and B4 have been reduced, which causes a contradiction.

前記第2の場合は、第1図のデータフアイル中の有意な
データが格納されたデータブロツク列(イ,ロ,ハ,
ニ,ホ,ヘ)からデータ(ハ)を削除し、データブロツクB
5を空白のデータブロツク列の後部に移動するものであ
る。この場合には、第4図に示す様にポインタグループ
P1において、この編集処理を実行し、その後ポインタセ
レクタSを“0”から“1”に変更すれば良い。
In the second case, a sequence of data blocks (a, b, c, c) in which significant data in the data file of FIG. 1 is stored.
Data (c) is deleted from (d, e, f) and data block B is deleted.
Move 5 to the back of the blank data block sequence. In this case, as shown in FIG.
In P1, this editing process may be executed, and then the pointer selector S may be changed from "0" to "1".

なお、データの並べ換え処理は、ポインタC0〜C7,H0,H1
の内容の書き換えだけで行うことでるため、データグル
ープDGに空白なデータブロックが全くない場合でも、問
題なく行なうことができる。
The data rearrangement processing is performed by pointers C0 to C7, H0, H1.
Since it can be performed only by rewriting the contents of, even if there is no blank data block in the data group DG, it can be performed without any problem.

この場合にも、上記第1の場合と同様に編集処理が中断
されてもデータフアイルに矛盾が生じないことは明白で
ある。また、ポインタグループが一個しかない場合に
は、処理の中断により矛盾の起こる可能性があること
も、同様に明らかである。
Even in this case, it is clear that no contradiction occurs in the data file even if the editing process is interrupted as in the first case. It is also clear that if there is only one pointer group, inconsistency may occur due to interruption of processing.

尚、以上の説明ではポインタグループが2個の場合につ
いて説明したが、本発明はこれに限定されるものではな
く、2個以上存在すればよい。また、有意なデータブロ
ツク列の先頭ブロツクを示すポインタと空白なデータブ
ロック列の先頭ブロックを示すポインタをそれぞれ1個
づつ設けた場合について説明したが、本発明はこれに限
定されるものではなく、何個存在しても良い。これらの
ポインタが複数個存在する場合には、有意なデータブロ
ツク及び空白なデータブロツクを上記実施例に示した様
に1個のブロツク列で形成する必要がなく便利になる利
点を有する。
In the above description, the case where there are two pointer groups has been described, but the present invention is not limited to this, and it is sufficient that there are two or more pointer groups. Further, the case where one pointer each indicating the leading block of the significant data block string and one pointer indicating the leading block of the blank data block string is provided has been described, but the present invention is not limited to this. There may be any number. When there are a plurality of these pointers, there is an advantage that it is not necessary to form a significant data block and a blank data block in one block row as shown in the above embodiment, which is convenient.

以上の説明から明らかな様に、本発明によればデータの
編集処理中に停電等の事故が発生して処理動作が中断し
ても、事故発生時に実行されていた編集処理開始時のデ
ータが保存されているので、事故復旧後すみやかに編集
処理を再開でき、またデータに矛盾が生じることがな
い。しかも、この動作をバツクアツプ電源なしで実行す
ることが可能になつた。
As is apparent from the above description, according to the present invention, even if an accident such as a power failure occurs during the data editing process and the processing operation is interrupted, the data at the start of the editing process that was being executed when the accident occurred Since it is saved, the editing process can be resumed immediately after the accident recovery, and the data does not become inconsistent. Moreover, this operation can be performed without a backup power supply.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示すデータフアイルの説明
図、第2図は第1図に示した実施例でデータの編集処理
を実行した場合の一例を示すデータフアイルの説明図、
第3図は本発明によらないでデータの編集処理を実行
し、処理動作が中断され、その結果データに矛盾が生じ
た例を示すデータフアイルの説明図、第4図は第1図に
示した実施例でデータの編集処理を実行した場合の一例
を示すデータフアイルの説明図である。 DG…データグループ、P0,P1…ポインタグループ、S…
ポインタセレクタ、B0,B1,…,B7…データブロツク、H
0,H1,C0,…,C7…ポインタ。
FIG. 1 is an explanatory diagram of a data file showing an embodiment of the present invention, and FIG. 2 is an explanatory diagram of a data file showing an example when data editing processing is executed in the embodiment shown in FIG.
FIG. 3 is an explanatory diagram of a data file showing an example in which a data editing process is executed without depending on the present invention and the processing operation is interrupted, resulting in inconsistency in the data, and FIG. 4 is shown in FIG. It is explanatory drawing of the data file which shows an example at the time of performing the data edit process in the Example. DG ... Data group, P0, P1 ... Pointer group, S ...
Pointer selector, B0, B1, ..., B7 ... Data block, H
0, H1, C0, ..., C7 ... Pointers.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ポインタによってデータを環状リスト構造
又は鎖状リスト構造で接続しデータの編集処理を実行す
る装置であって、編集処理実行直前のデータ内容を保存
するための第1のポインタグループと、編集処理を実行
するための第2のポインタグループと、第2のポインタ
グループが編集処理を実行している間は第1のポインタ
グループを選択し、第2のポインタグループが編集処理
を終了した後は第2のポインタグループを選択するポイ
ンタセレクタとをそれぞれ備えてなるデータ編集処理装
置。
1. An apparatus for executing data editing processing by connecting data in a circular list structure or a chained list structure by a pointer, and a first pointer group for storing data contents immediately before execution of the editing processing. , A second pointer group for executing the edit processing, and a first pointer group is selected while the second pointer group is executing the edit processing, and the second pointer group ends the edit processing. A data edit processing device, each of which further comprises a pointer selector for selecting the second pointer group.
JP56104368A 1981-07-06 1981-07-06 Data editing processor Expired - Lifetime JPH0656591B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56104368A JPH0656591B2 (en) 1981-07-06 1981-07-06 Data editing processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56104368A JPH0656591B2 (en) 1981-07-06 1981-07-06 Data editing processor

Publications (2)

Publication Number Publication Date
JPS588349A JPS588349A (en) 1983-01-18
JPH0656591B2 true JPH0656591B2 (en) 1994-07-27

Family

ID=14378863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56104368A Expired - Lifetime JPH0656591B2 (en) 1981-07-06 1981-07-06 Data editing processor

Country Status (1)

Country Link
JP (1) JPH0656591B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2675050B2 (en) * 1988-03-19 1997-11-12 株式会社日立製作所 How to get a journal
JPH0290244A (en) * 1988-09-27 1990-03-29 Pfu Ltd File substituting system
JP2867717B2 (en) * 1991-02-01 1999-03-10 日本電気株式会社 Microcomputer

Also Published As

Publication number Publication date
JPS588349A (en) 1983-01-18

Similar Documents

Publication Publication Date Title
US5535381A (en) Apparatus and method for copying and restoring disk files
US4697266A (en) Asynchronous checkpointing system for error recovery
US5559957A (en) File system for a data storage device having a power fail recovery mechanism for write/replace operations
US7136977B2 (en) Backup acquisition method and disk array apparatus
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
US5230075A (en) Database shadowing system with data tags that select an operation of the save command
JPH0656591B2 (en) Data editing processor
CN111858173A (en) Data recovery method, device, equipment and medium
EP0745939A2 (en) Re-entrant garbage collection process for a flash memory resident file system
JPH033046A (en) Log record control system
JPS61260339A (en) File control method
JP2822869B2 (en) Library file management device
JPH0258653B2 (en)
JPH0385650A (en) Disk volume restoration system
JPS5856182A (en) Incomplete document stand-by control system of document drawing-up device
JPH04184641A (en) Data base restoring system
JPH0254346A (en) File switching processing method
JPH0541037A (en) Digital data recording and reproducing device
JPS62171057A (en) Control system for disk cache device
JPH05250243A (en) Data processing system for extended storage device
KR830002640B1 (en) How to Rewrite Data in Nonvolatile Memory
JPH0465413B2 (en)
JPS6117600Y2 (en)
JPS61188643A (en) Log-out system
JPH01191246A (en) Write assuring system for external storage device