JPH02250165A - Document generating device - Google Patents

Document generating device

Info

Publication number
JPH02250165A
JPH02250165A JP1006024A JP602489A JPH02250165A JP H02250165 A JPH02250165 A JP H02250165A JP 1006024 A JP1006024 A JP 1006024A JP 602489 A JP602489 A JP 602489A JP H02250165 A JPH02250165 A JP H02250165A
Authority
JP
Japan
Prior art keywords
area
program
data
drawback
recovery
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.)
Pending
Application number
JP1006024A
Other languages
Japanese (ja)
Inventor
Shigeki Taniguchi
茂樹 谷口
Masaki Fujiwara
正樹 藤原
Masanori Kawase
川瀬 正紀
Kiyoshi Masuda
清 増田
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 JP1006024A priority Critical patent/JPH02250165A/en
Publication of JPH02250165A publication Critical patent/JPH02250165A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily reproduce the greater part of document data which is being edited in the case when a service interruption occurs by bringing a data part in a task to drawback processing as a temporary file separately from a program part at the time of executing a drawback/recovery processing of a non-resident task. CONSTITUTION:On a main memory 2, a resident area 21 and a core block 22 are placed, and on a hard disk 3, a program area 31, an area 32 divided into two or more drawback blocks 321, and a file area 33 are placed. An operating system 11, a program drawback/recovery program 12, a data drawback/ recovery program 13 and a document recovery program 14 are placed in the resident area 21, and a processor 1 executes these programs. The operating system 11 executes the program drawback/recovery program 12 and the data drawback/recovery program 13, and brings the contents of the core block 22 to drawback/recovery to the drawback block 321 and a temporary file 331. In such a way, in one core block 22, plural non-resident tasks can be executed in parallel.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は日本語ツー1−プロセッサ等の文書作成り置
において、特に、ハードディスク等の二次記憶装置を用
いて、マルチプログラム処理によって統合文書を作成す
る装置に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention is used in a document creation station such as a Japanese-language two-one processor, in particular, to create an integrated document by multi-program processing using a secondary storage device such as a hard disk. The invention relates to a device for creating .

[従来の技術〕 特公昭57−9092号公報に示されたように、マルチ
プログラム処理を行なう場合には、非常駐プログラムが
主メモリと二次記憶装置との間で退避/回復処理されろ
[Prior Art] As shown in Japanese Patent Publication No. 57-9092, when performing multi-program processing, non-resident programs are saved and restored between the main memory and the secondary storage device.

文−J)処理において、ユーザが編集操作を誤って文書
を破壊しても、元の文書を復元できるように、編集は元
の文11の一時的コピーについて行ない、編集が終了し
た時点で、ユーザの文書データの更新が行なわれ、!&
集中に停電すれば編集中の文書は失なわれた。これは、
主メモリ」二に一時的コビを保持するためである。
In sentence-J) processing, editing is performed on a temporary copy of the original sentence 11, so that even if the user accidentally destroys the document by editing, the original document can be restored, and when the editing is completed, The user's document data has been updated! &
If there was a central power outage, the documents being edited would be lost. this is,
This is to hold temporary data in the main memory.

そのため、編集中文書・の−時保存を行なう機能を加え
、電源回復の時点から編!13を再開できるようにして
いた。
Therefore, we have added a function that saves the document being edited, so that it can be edited from the moment the power is restored. 13 so that it could be restarted.

〔発明が解決しようとするa!題〕[The invention aims to solve a! Title]

−時保存を定期的に行なうことは、ユーザに編集作業で
ない作業を強いることてあり、この作業はしばしば忘れ
られる。
- Performing time saves regularly may force the user to perform non-editing tasks, which are often forgotten.

また、編集プログラムは退M/回復処理は時間がかかる
仕事であり、編集縁イ1の続行を妨げる。
In addition, the editing program's withdrawal/recovery process is a time-consuming task, which prevents the editing process from continuing.

〔課題を解決するための手段〕[Means to solve the problem]

主記憶装置内に常駐エリアと非常駐エリアを設け、非常
駐エリアに格納されたプログラムを2次記憶装置へ退!
/回復する方式によって、多重プログラミングを行う手
段と、2次記憶装置1−に退避エリアとファイルエリア
を設け、編集プログラムの退避を行う際に、プログラム
がもつ編集中データを一時フアイルとしてファイルエリ
アへpJする手段と、編集プログラムの回復を行う際に
、ファイルエリアから一時フアイルを編集中データとし
て主記憶上に回復する手段とからなる文唐″作成装置に
おいて、編集プロクラ11の退避を行う際に、主記憶上
のエリア内で使用中編集データのみを退避するデータ圧
縮手段と、回復を行う際に、圧縮されていたデータを復
元するデータ伸張手段とを具えたものである。
A permanent area and a non-resident area are established in the main memory, and programs stored in the non-resident area are moved to the secondary storage!
/Recovery method provides a means for multiple programming, a save area and a file area in the secondary storage device 1-, and when saving an editing program, data being edited in the program is stored as a temporary file in the file area. When saving the editing program 11 in the Buntou'' creation device, which includes a means for pj and a means for restoring a temporary file from the file area to the main memory as editing data when restoring the editing program. , a data compression means for saving only the edited data in use within an area on the main memory, and a data decompression means for restoring the compressed data when performing recovery.

〔作用〕[Effect]

データ圧縮手段は、編集プロゲラ13を退避する際は主
記憶の使用中のデータのみを退避し、データ伸張は1回
復する場合は圧縮退避されていたデータを復元する。
The data compression means saves only the data in use in the main memory when saving the editing progera 13, and restores the compressed and saved data when the data is expanded by one recovery.

〔実施例〕〔Example〕

第1図はハードウェアの構成図である。 FIG. 1 is a hardware configuration diagram.

図において、1は処理装置((:、:PV)、2は主メ
モリで、処理装置か実行するプログラムや、編集中の文
書データを記憶するもの、3はバー1−ディスクで非常
駐プロゲラl、や編柴済あるいは編集中の文書データな
どを格納するもの、4はフロッピーで、編集終了文書を
格納するもの、5はキーボード、6はデイスプレィ、7
はプリンタである。
In the figure, 1 is a processing device ((:, :PV), 2 is a main memory that stores programs executed by the processing device and document data being edited, 3 is a bar 1-disk, which is a non-resident programmer l, 4 is a floppy disk that stores edited documents, 5 is a keyboard, 6 is a display, 7 is a floppy disk that stores edited or edited document data, etc.
is a printer.

第2171に示したように、主メモリ2」二には、常駐
エリア2]と、プログラム部221.データ部222に
わけられた一つ以−ヒのコアブロック22=3 がおかれ、バー1くティスフ;うには、一つ以1ユのプ
ログラムエリア33]がおかれたプログラムエリア31
と、2つ以上の退避区画;321に分割されたエリア3
2と、コアブロック22と同数の退避エリア32および
、−時ファイル331が作成されたファイルエリア33
がおかれる。
As shown in No. 2171, the main memory 2''2 includes a resident area 2'' and a program section 221. A program area 31 in which one or more core blocks 22 divided into a data section 222 are placed, and a program area 33 in which one or more blocks are placed.
and two or more evacuation zones; Area 3 divided into 321
2, a save area 32 of the same number as the core blocks 22, and a file area 33 where the -time file 331 was created.
is placed.

オペレーテイングシステAll、プログラム退′!l/
回復プロゲラA 12 、データ退避/回復プログラム
13および文書回復プログラム14は常駐エリア21に
おかれ、処理装置1がこれらのプログラムを実行する。
Operating system All, program exit'! l/
The recovery programmer A 12 , the data save/recovery program 13 and the document recovery program 14 are placed in the resident area 21, and the processing device 1 executes these programs.

1]1はファイル管理プログラムである。1] 1 is a file management program.

第3図はプログラム制御データ300、第4図はコアブ
ロック制御ブロック400、第5図は退避エリア制御ブ
ロック500、第6図はタスク制御ブロック600で、
上記のブロックは主メモリ2におかれる。
3 shows the program control data 300, FIG. 4 shows the core block control block 400, FIG. 5 shows the evacuation area control block 500, and FIG. 6 shows the task control block 600.
The above blocks are placed in main memory 2.

オペレーションシステム11は、プログラム退避/回復
プログラム12および、データ退避/回復プログラム1
3を実行し、コアブロック22の内容を退避区画321
および一時フアイル331に退避/回復することによっ
て、一つのコアブロック22内で複数の非常駐タスクの
並行実行を行う。
The operation system 11 includes a program save/recovery program 12 and a data save/recovery program 1.
3 and save the contents of the core block 22 to the evacuation section 321.
By saving/recovering to the temporary file 331, a plurality of non-resident tasks are executed in parallel within one core block 22.

統合文書は、テキスト、図形、グラフ等の個々の要素デ
ータからなる矩形領域の集合体として実現され、各領域
の重なりや領域間の排他を行うことにより、多様な表現
を可能にしている。
An integrated document is realized as a collection of rectangular areas made up of individual element data such as text, figures, graphs, etc., and allows a variety of expressions by overlapping each area and excluding areas.

非常駐プログラム3]1には文書全体の構成を管理する
文書マネージャプログラムおよびテキスト図形などの要
素データの編集を行う複数のプログラムがある。
The non-resident program 3] 1 includes a document manager program that manages the overall structure of the document and a plurality of programs that edit element data such as text and graphics.

前記のオペレーションシステ1111の下で、統合文書
データの編集は非常駐プロゲラ1% 31.1によって
実現される。。
Under the operation system 1111, editing of the integrated document data is realized by the non-resident progera 1% 31.1. .

統合文書の編集はマルチウィンドウ環境下で行われ、文
書の領域の編集と領域内データの編集は別々のウィンド
ウ内で行われ、ウィンドウを切り換えることによって複
数の文書、領域を並行して編集できる。
Editing of an integrated document is performed in a multi-window environment, editing of document areas and editing of data within the area is performed in separate windows, and multiple documents and areas can be edited in parallel by switching windows.

統合文書ファイルは、文書構成データ70が格納された
文書構成データファイルと文ゼ:″領域デタファイルと
で構成される。領域チータフアイルの内容はコアブロッ
クのデータ部222におかれ、プログラム実行時には−
11,l、1ファイル3:31として退避される。
The integrated document file is composed of a document configuration data file in which document configuration data 70 is stored and a Bunze:'' area data file.The contents of the area cheater file are stored in the data section 222 of the core block, and are stored when the program is executed. −
11,l,1 file is saved as 3:31.

文書構成データ70の構造を第7図に示す。その内部に
は、文書頁制御ブロック71と文書領域制御ブロック7
2がある。ブロック72内にリンクポインタ72」、領
域位置722.領域サイスフ231領域属性724.デ
ータタイブ725、ファイル名726の各フィール1−
がある。ブロック71内にはリンクポインタ711があ
り、リンクポインタ721と組み合せて、各ページ内の
領域を表すブロック72を領域の重なり順で並べたリス
1−を形成する。
The structure of the document configuration data 70 is shown in FIG. Inside it, there is a document page control block 71 and a document area control block 7.
There are 2. Link pointer 72'' in block 72, area position 722. Area size 231 area attribute 724. Each field 1- of data type 725 and file name 726
There is. A link pointer 711 is included in the block 71, and in combination with a link pointer 721, a list 1- is formed in which blocks 72 representing areas within each page are arranged in the order of overlapping areas.

文書の編集は、オペレーションシステ1111か文書マ
ネージャプログラムを附勢することによって開始される
Editing a document is initiated by activating the operating system 1111 or document manager program.

第8図に文書マネージャブaクラ11の流力、を示す。FIG. 8 shows the flow of the document manager book 11.

第9図は領域新規作成処理1510 、領域更新処理1
511の流れを示す。
FIG. 9 shows area new creation processing 1510 and area update processing 1.
511 flow is shown.

第10図は編集終了処理1514の流れを示す。FIG. 10 shows the flow of editing end processing 1514.

次に統合文書の編集処理を行い、プログラムやデータの
退M/回復を行うシステ11プログラムは第3ν1に示
した通りである。
Next, the system 11 program that edits the integrated document and deletes/restores programs and data is as shown in No. 3v1.

第4図はコアブロック制御データの構成図。FIG. 4 is a configuration diagram of core block control data.

第5図は退避エリア制御ブロックの構成図。FIG. 5 is a configuration diagram of the evacuation area control block.

第6図はタスク制御ブロックの構成図である。FIG. 6 is a configuration diagram of the task control block.

オペレーションシステム11の中で、タスクの実行制御
を行う部分の流Jしを第11図に示した。
FIG. 11 shows the flow of the portion of the operating system 11 that controls task execution.

第12図はプログラム退避/回復プログラムの流れ図で
図である。
FIG. 12 is a flowchart of the program save/recovery program.

第13図はデータ退避/回復プログラムの流れ図で図で
ある。
FIG. 13 is a flowchart of the data evacuation/recovery program.

次に、データの圧縮/伸張処理について説明する。Next, data compression/expansion processing will be explained.

第2図中のデータ部222は第14図に示したように、
各種テーブルやデータを配INするため、各テーブルや
データ対応に複数のエリア、即ちテーブルエリアに分割
されている。。
The data section 222 in FIG. 2 is as shown in FIG.
In order to arrange various tables and data, it is divided into a plurality of areas, ie, table areas, corresponding to each table and data. .

例えば、文書構成データ70は頁管理ブロック71を配
置するエリア、領域管理ブロック72をく置するエリア
等に分割される。
For example, the document configuration data 70 is divided into an area where the page management block 71 is placed, an area where the area management block 72 is placed, and the like.

データ部222の先頭には、第1/]し1のテーブル管
理テーブル800が配置され、その各レコドには、これ
に対応するテーブルエリアの使用状況を管理する情報が
格納される。最大セクタ数8.01には該当テーブルエ
リアの最大サイズが格納され、使用セクタ数802には
当該テーブルエリアで使用しているエリアサイズが格納
される。
At the beginning of the data section 222, a 1st/]1 table management table 800 is arranged, and each record stores information for managing the usage status of the corresponding table area. Maximum number of sectors 8.01 stores the maximum size of the corresponding table area, and number of used sectors 802 stores the area size used in the table area.

また、累計最大セクタ数804には当該テーブルエリア
の前に配置されるテーブルエリアの使用セクタ数802
の累R’l値が格納され、累計最大セクタ数803は最
大セクタ数801の累a1が格納される。
In addition, the total maximum number of sectors 804 includes the number of used sectors 802 of the table area placed before the table area.
The cumulative R'l value of is stored, and the cumulative maximum sector number 803 is the cumulative value a1 of the maximum sector number 801.

第15図に示したように、未使用エリアを詰めた状態に
することを圧縮と呼ぶ。
As shown in FIG. 15, filling up unused areas is called compression.

圧縮する場合は、そのデータのあるテーブルエリアのN
oの数だけ、データ転送処理を繰り返せばよい。伸張は
その逆を行えばよい。
When compressing, N of the table area containing the data
The data transfer process may be repeated as many times as o. For expansion, do the opposite.

伸張の場合はその逆を行えばよい。For expansion, do the opposite.

第12図はデータ圧縮/伸張処理の流れ図である。FIG. 12 is a flowchart of data compression/expansion processing.

〔発明の効果〕〔Effect of the invention〕

非常駐タスクの退避/回復処理を行う際に、タスク内の
データ部分をプログラム部分とは別に、−時ファイルと
して退避処理することにより、統合文書処理の場合、編
即中の文11)データがすべて一時フアイルとしてハー
ドディスク上に退避されることにより、停電があった場
合、編集中の文書データの大部分が容易に再現できる。
When performing save/recovery processing for a non-resident task, by saving the data part of the task as a -time file separately from the program part, in the case of integrated document processing, all of the data in statement 11) being edited is saved. Since it is saved as a temporary file on the hard disk, most of the document data being edited can be easily reproduced in the event of a power outage.

従って、オーバーヘッドの冥加を最小限とし、編集プロ
グラムの切り換えを迅速に行うことができる。
Therefore, overhead can be minimized and editing programs can be switched quickly.

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

第1図は本発明の実施例のハードウェアの構成図、第2
図は第1図中の主メモリとハードディスクの構成図、第
3図はプログラム制御データ、第4図はコアブロック制
御データ、第5図は退避エリア制御ブロック、第6図は
タスク制御ブロック、第7図は文書構成データの構成図
、第8図は’l ’)1fマネージヤプロゲラt1の流
れ図、第9図はオペレーションシステムのプログラムの
流れ図、第10図はプログラム退yIL/回復プログラ
ムの流れ図、第11図はデータ退避/回復ブロクラムの
流れ図、第12図は文書回復プログラムの流れ図、第1
33図はデータ退避/回復プログラムの流れ図、第14
図はデータ部222におけるテーブルエリアにおけるセ
クタ収容状況を示す図、第15図はデータ部のセクタ圧
縮図、第16図はメモリ転送プログラムの流れ図である
。 1・CPU、2・・主メモリ、3 ハードディスク、4
・・フロッピー、5・・キーボード、6 ・デイスプレ
ィ、7 プリンタ、222 データ部。
Figure 1 is a hardware configuration diagram of an embodiment of the present invention;
The figure shows the configuration of the main memory and hard disk in Figure 1, Figure 3 shows the program control data, Figure 4 shows the core block control data, Figure 5 shows the save area control block, Figure 6 shows the task control block, Figure 7 is a configuration diagram of document configuration data, Figure 8 is a flowchart of 'l') 1f manager progera t1, Figure 9 is a flowchart of an operating system program, and Figure 10 is a flowchart of a program retreat/recovery program. , Figure 11 is a flowchart of the data evacuation/recovery blockram, Figure 12 is a flowchart of the document recovery program,
Figure 33 is a flowchart of the data evacuation/recovery program, No. 14
15 is a diagram showing the sector accommodation situation in the table area in the data section 222, FIG. 15 is a sector compression diagram of the data section, and FIG. 16 is a flowchart of the memory transfer program. 1. CPU, 2. Main memory, 3 Hard disk, 4
...Floppy, 5.Keyboard, 6.Display, 7.Printer, 222 Data section.

Claims (1)

【特許請求の範囲】 1、処理装置、主記憶装置、二次記憶装置、表示装置、
印刷装置、および入力装置を具え、主記憶装置内には常
駐エリアと非常駐エリアを設け、二次記憶装置内には、
非常駐プログラムの退避エリアとファイルエリアを設け
、 非常駐エリアに格納されたプログラムを主記憶装置から
二次記憶装置へと退避せしめ、再び主記憶装置へと回復
せしめることによつて多重プログラムを実行する手段と
、 編集プログラムの退避については、主記憶上のエリアで
使用している部分のみを一時フアイルエリアへ退避する
データ圧縮手段と、 編集プログラムの回復については、ファイルエリアから
圧縮データを復元して主記憶装置上に回復伸張する手段
とを具備せしめたことを特徴とする文書作成装置。
[Claims] 1. Processing device, main storage device, secondary storage device, display device,
It is equipped with a printing device and an input device, a permanent area and a non-resident area are provided in the main memory, and the secondary memory is provided with:
A means for executing multiple programs by providing a save area and a file area for non-resident programs, saving the programs stored in the non-resident area from the main memory to the secondary memory, and restoring them to the main memory again. For saving the editing program, there is a data compression method that saves only the part that is being used in the main memory area to a temporary file area, and for recovering the editing program, it restores the compressed data from the file area and restores the main memory. 1. A document creation device comprising means for restoring and decompressing on a storage device.
JP1006024A 1989-01-17 1989-01-17 Document generating device Pending JPH02250165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1006024A JPH02250165A (en) 1989-01-17 1989-01-17 Document generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1006024A JPH02250165A (en) 1989-01-17 1989-01-17 Document generating device

Publications (1)

Publication Number Publication Date
JPH02250165A true JPH02250165A (en) 1990-10-05

Family

ID=11627115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1006024A Pending JPH02250165A (en) 1989-01-17 1989-01-17 Document generating device

Country Status (1)

Country Link
JP (1) JPH02250165A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5829045A (en) * 1994-10-28 1998-10-27 Fujitsu Limited Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5829045A (en) * 1994-10-28 1998-10-27 Fujitsu Limited Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures

Similar Documents

Publication Publication Date Title
US8495509B1 (en) Cross-view undo/redo for multi-view editing environments
US20010047447A1 (en) File management method and files
JPH02250165A (en) Document generating device
US5995960A (en) Method and system for improving efficiency of programs utilizing databases by exeuting scenarios based on recalled processed information
JP3037183B2 (en) Hard disk device management method and method
JP2776809B2 (en) Data evacuation method
JPH1011271A (en) Version down inputting system
JPH039426A (en) Software development environment storing system
JP4119203B2 (en) File processing program
JPH0488413A (en) Input source selection type key input system
JPH04178735A (en) State transition table converter
JPH06214856A (en) Data backup system
JPH06231016A (en) File coupling/dividing method
JPH09244907A (en) Data restoration system
JPH02257270A (en) Document editing device
Sprunger WordPerfect 5.0 Macro Capabilities and an Accessions List Macro
JPH10143510A (en) Document processor and method therefor
JPH0325666A (en) Document preparation device
JPS63296148A (en) Page buffer access system
JPS63182155A (en) Font pattern imaging device
JPH096629A (en) Program conversion method
JP2004013483A (en) Information processing method and control method thereof
JPS62245444A (en) Update journal generation system for index part of data base control system
JPS63208156A (en) Document processor
JPH01191241A (en) File deleting system