JPS5830604B2 - External storage control method for document creation device - Google Patents
External storage control method for document creation deviceInfo
- Publication number
- JPS5830604B2 JPS5830604B2 JP55137076A JP13707680A JPS5830604B2 JP S5830604 B2 JPS5830604 B2 JP S5830604B2 JP 55137076 A JP55137076 A JP 55137076A JP 13707680 A JP13707680 A JP 13707680A JP S5830604 B2 JPS5830604 B2 JP S5830604B2
- Authority
- JP
- Japan
- Prior art keywords
- work area
- document
- external storage
- area
- documents
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】
本発明は、作成中の文書を外部記憶装置上の作業領域に
記憶させながら作成して行く文書作成装置において、文
書作成中に電源断やハード障害などが発生した場合にお
いても作成中の文書を有効に使用できるようにした外部
記憶制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a document creation device that creates a document while storing it in a work area on an external storage device. The present invention also relates to an external storage control method that allows documents being created to be used effectively.
日本語のワード・プロセッサは、文書作成機能や文書保
存機能、入出力機能、文書の構造の処理機能などを有し
ている。Japanese word processors have document creation functions, document storage functions, input/output functions, and document structure processing functions.
第1図は日本語のワード・プロセッサの概要を示すもの
であって、1はキーボード、2は制御部、3はフロッピ
ィ・ディスク装置、4は画面バッファ、5はディスプレ
イ、6は終了キー、7は次ページ・キー、8は前ページ
・キー、9は蓄積領域、10は作業領域をそれぞれ示し
ている。Figure 1 shows an overview of a Japanese word processor, in which 1 is a keyboard, 2 is a control unit, 3 is a floppy disk device, 4 is a screen buffer, 5 is a display, 6 is an end key, and 7 is a floppy disk drive. 8 indicates a next page key, 8 indicates a previous page key, 9 indicates a storage area, and 10 indicates a work area.
制御部2はマイクロプロセッサなどから構成され、ワー
ド・プロセッサ全体を制御するものである。The control section 2 is composed of a microprocessor, etc., and controls the entire word processor.
文書を作成する場合、オペレータはキーボード1から仮
名文字を入力し、仮名表記の単語を漢字表記の単語に変
換したい場合には仮名−漢字変換操作を行う。When creating a document, the operator inputs kana characters from the keyboard 1, and when wanting to convert words written in kana to words written in kanji, performs a kana-kanji conversion operation.
作成中の文書は画面バッファ4に格納され、そしてディ
スプレイ5に表示される。The document being created is stored in the screen buffer 4 and displayed on the display 5.
1ペ一ジ分の文書が作成されると、オペレータは次ペー
ジ・キーを押下する。When one page of document is created, the operator presses the next page key.
そうすると、画面バッファ4のデータはフロッピィ・デ
ィスク装置30作業領域10に移される。Then, the data in the screen buffer 4 is transferred to the work area 10 of the floppy disk device 30.
第2図は作業領域10の構成を示すものであって、1ペ
ージは例えば6セクタから構成されており、■セクタは
例えば5行分の文書を格納することが出来る。FIG. 2 shows the configuration of the work area 10. One page is composed of, for example, six sectors, and the ■ sector can store, for example, five lines of documents.
文書作成中に前に作成した文書を見たい場合、オペレー
タは前ページ・キー8を押下する。If the operator wishes to view a previously created document during document creation, the operator presses the previous page key 8.
そうすると、前ページの文書が作業領域10から読出さ
れ、ディスプレイ5に表示される。Then, the previous page of the document is read out from the work area 10 and displayed on the display 5.
このようにして文書を作成して行き、所望の文書を全て
作成し終ったらオペレータは終了キー6を押下する。Documents are created in this manner, and when all desired documents have been created, the operator presses the end key 6.
終了キー6が押下されると、作業領域10の文書および
画面バラフッ40文書は、蓄積領域9に移されて保存さ
れる。When the end key 6 is pressed, the document in the work area 10 and the document in the screen layout 40 are moved to the storage area 9 and stored.
従来技術においては、電源断があって電源が回復した場
合やバード障害が発生した場合には初期化処理が行われ
る。In the conventional technology, initialization processing is performed when the power is restored after a power outage or when a bird failure occurs.
この初期化処理によって、作業領域100文書も消され
てしまい、それまでに作成した文書が全て無駄になって
しまう。This initialization process also erases the 100 documents in the work area, making all the documents created up to that point useless.
本発明は、上記の考察に基づくものであって、電源断や
・・−ド障害が発生したとき、作業領域に格納されてい
る文書を有効に使用できるようにした文書作成装置の外
部記憶制御方式を提供することを目的としている。The present invention is based on the above consideration, and provides an external storage control for a document creation device that allows documents stored in a work area to be effectively used when a power outage or... The purpose is to provide a method.
そしてそのため、本発明の文書作成装置の外部記憶制御
方式は、データを入力する人力部、文書作成装置全体を
制御する制御部、および蓄積領域と作業領域とを持つ外
部記憶装置を備え、1ペ一ジ分の文書が作成される度に
上記作業領域に当該文書を格納し、全文書が作成された
とき上記作業領域の文書を上記蓄積領域に移して保存す
るように構成された文書作成装置において一上記作業領
域を使用して文書の作成を始めた時にオンされると共に
文書の作成が終って上記作業領域の文書を上記蓄積領域
に移し終った時にオフされる作業領域有効フラグを設け
、上記作業領域の初期化を行う際、上記作業領域有効フ
ラグの状態を調べ、作業領域有効フラグがオンのときに
は上記作業領域に格納されている文書を上記蓄積領域に
移し、全てを移し終った後に作業領域有効フラグをオフ
することを特徴とするものである。For this reason, the external storage control system for the document creation device of the present invention includes a manual section for inputting data, a control section for controlling the entire document creation device, and an external storage device having a storage area and a work area. A document creation device configured to store the document in the work area each time one batch of documents is created, and to move the document in the work area to the storage area and store it when all documents have been created. (1) providing a work area valid flag that is turned on when creating a document using the work area and turned off when the document creation is finished and the document in the work area is transferred to the storage area; When initializing the above work area, check the status of the above work area valid flag, and if the work area valid flag is on, move the documents stored in the above work area to the above storage area, and after all have been transferred. The feature is that the work area valid flag is turned off.
以下、本発明を図面を参照しつつ説明する。Hereinafter, the present invention will be explained with reference to the drawings.
第3図は本発明の1実施例のブロック図であって、11
は初期化制御部、12は外部記憶制御部、■は作業領域
有効フラグをそれぞれ示している。FIG. 3 is a block diagram of one embodiment of the present invention, 11
12 indicates an initialization control unit, 12 indicates an external storage control unit, and ■ indicates a work area valid flag, respectively.
初期化制御部11は、初期化信号を受信すると、作業領
域有効フラグがオンであるか、或はオフであるかを調べ
、オンである場合には外部記憶制御12に対して、作業
領域10のデータを蓄積領域9に移すべきことを指令す
る。When the initialization control unit 11 receives the initialization signal, it checks whether the work area valid flag is on or off, and if it is on, it instructs the external storage control 12 to update the work area 10. It is instructed that the data should be transferred to the storage area 9.
外部記憶制御12は外部からの指令に基づい゛てフロッ
ピィ・ディスク装置3からデータを読出したり、フロッ
ピィ・ディスク装置3にデータを書込んだりするもので
ある。The external storage control 12 reads data from and writes data to the floppy disk device 3 based on commands from the outside.
作業領域有効フラグ■は、作業領域10を使用して文書
の作成を始めるときにオンとされ、文書の作成が終了し
て作業領域100文書を蓄積領域9に無事に転送し終っ
たらオフとされる。The work area valid flag ■ is turned on when starting to create a document using the work area 10, and is turned off when the document creation is completed and the work area 100 documents have been successfully transferred to the storage area 9. Ru.
ワード・プロセッサにおいて、文書の作成が開始され、
作業領域10が使用されると、作業領域有効フラグVが
オンとされる。The document begins to be created in the word processor,
When the work area 10 is used, the work area valid flag V is turned on.
出来上った文書は逐次に作業領域10に格納され、文書
の作成が全て終了すると、終了キー6が押下され、この
結果作業領域100文書は蓄積領域に移され、作業領域
有効フラグ■はオフとされる。The completed documents are sequentially stored in the work area 10, and when all document creation is completed, the end key 6 is pressed, and as a result, the 100 documents in the work area are moved to the storage area, and the work area valid flag ■ is turned off. It is said that
文書作成の過程において、電源断が発生し、その後に回
復したとすると、初期化信号がオンとなり、初期化制御
部11が動作する。In the process of creating a document, if power is cut off and then recovered, the initialization signal is turned on and the initialization control section 11 operates.
初期化制御部11は、作業領域有効フラグ■のオン/オ
フを調べ、オンであれば、前述のように作業領域100
文書を蓄積領域9へ移すべきことを外部記憶制御12に
指令する。The initialization control unit 11 checks whether the work area valid flag ■ is on or off, and if it is on, the work area 100 is activated as described above.
The external storage control 12 is instructed to move the document to the storage area 9.
この指令を受取ると、外部記憶制御部12は、作業領域
100文書を蓄積領域9に移し、全ての文書を移し終っ
た後で作業領域有効フラグVをオフにする。Upon receiving this command, the external storage control unit 12 moves the documents in the work area 100 to the storage area 9, and turns off the work area valid flag V after all the documents have been moved.
・・−ド障害が発生したときも、初期化信号がオンとさ
れ、同様な作業領域初期化処理が行われる。. . . When a disk failure occurs, the initialization signal is turned on and similar work area initialization processing is performed.
以上の説明から明らかなように、本発明によれば、電源
断やバード障害などが発生した場合においても、作業領
域に格納されているそれ迄に作成された文書を有効に使
用することが出来る。As is clear from the above description, according to the present invention, even in the event of a power outage or a bird failure, it is possible to effectively use documents stored in the work area and created up to that point. .
第1図は日本語のワード・プロセッサの概要を示す図、
第2図はフロッピィ・ディスク装置の作業領域の構成を
示す図、第3図は本発明の1実施例のブロック図である
。
1・・・・・・キーボード、2・・・・・・制御部、3
・・・・・・フロッピィ・ディスク装置、4・・・・・
・画面バッファ、5・・・・・・ディスプレイ、6・・
・・・・終了キー 7・・・・・・次ページ・キー 8
・・・・・・前ページ・キー、9・・・・・・蓄積領域
、10・・・・・・作業領域、11・・・・・・初期化
制御部、12・・・・・・外部記憶制御。Figure 1 shows an overview of a Japanese word processor.
FIG. 2 is a diagram showing the structure of a working area of a floppy disk device, and FIG. 3 is a block diagram of one embodiment of the present invention. 1...Keyboard, 2...Control unit, 3
...Floppy disk device, 4...
・Screen buffer, 5...Display, 6...
...End key 7 ...Next page key 8
...Previous page key, 9...Storage area, 10...Work area, 11...Initialization control unit, 12... External memory control.
Claims (1)
する制御部、および蓄積領域と作業領域とを持つ外部記
憶装置を備え、1ペ一ジ分の文書が作成される度に上記
作業領域に当該文書を格納し、全文書が作成されたとき
上記作業領域の文書を上記蓄積領域に移して保存するよ
うに構成された文書作成装置において、上記作業領域を
使用して文書の作成を始めた時にオンされると共に文書
の作成が終って上記作業領域の文書を上記蓄積領域に移
し終った時にオフされる作業領域有効フラグを設け、上
記作業領域の初期化を行う際、上記作業領域有効フラグ
の状態を調べ、作業領域有効フラグがオンのときには上
記作業領域に格納されている文書を上記蓄積領域に移し
、全てを移し終った後に作業領域有効フラグをオフする
ことを特徴とする文書作成装置の外部記憶制御方式。1. Equipped with an input section for inputting data, a control section for controlling the entire document creation device, and an external storage device having an accumulation area and a work area. In a document creation device configured to store the document and to move the document in the work area to the storage area and save it when all documents have been created, the creation of the document is started using the work area. A work area valid flag is provided that is turned on when the document is created and is turned off when the document in the work area is transferred to the storage area. , and when the work area valid flag is on, moves the document stored in the work area to the storage area, and turns off the work area valid flag after all the documents have been transferred. external storage control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55137076A JPS5830604B2 (en) | 1980-09-30 | 1980-09-30 | External storage control method for document creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55137076A JPS5830604B2 (en) | 1980-09-30 | 1980-09-30 | External storage control method for document creation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5760469A JPS5760469A (en) | 1982-04-12 |
| JPS5830604B2 true JPS5830604B2 (en) | 1983-06-30 |
Family
ID=15190332
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55137076A Expired JPS5830604B2 (en) | 1980-09-30 | 1980-09-30 | External storage control method for document creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5830604B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5846428A (en) * | 1981-09-11 | 1983-03-17 | Sharp Corp | Processing system for power failure protection of document editing device |
| JPS58201162A (en) * | 1982-05-19 | 1983-11-22 | Nec Corp | Data input device |
| JPH0658628B2 (en) * | 1987-05-26 | 1994-08-03 | オークマ株式会社 | Program editing device |
-
1980
- 1980-09-30 JP JP55137076A patent/JPS5830604B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5760469A (en) | 1982-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2954627B2 (en) | Document creation and editing device | |
| JPS5830604B2 (en) | External storage control method for document creation device | |
| JPH0232660B2 (en) | ||
| JP3089063B2 (en) | Word processor | |
| JPS5821290B2 (en) | Error handling method of document creation device | |
| JP2632331B2 (en) | Character display device | |
| JPH045207B2 (en) | ||
| JP2672548B2 (en) | Document creation device | |
| JP2757367B2 (en) | Character processor | |
| JP2805642B2 (en) | Printer device | |
| JPH0644228A (en) | Document editing device | |
| JPS6398766A (en) | Document creation processing device | |
| JPH03278266A (en) | Character processor | |
| JPS60239270A (en) | Controlling system for printing line number | |
| JPH07271418A (en) | Editing system for nc program | |
| JPH05250364A (en) | Document preparing device and document display method | |
| JPS6235931A (en) | Input buffer control system | |
| JPH07160464A (en) | Display controller | |
| JPH0256670A (en) | document processing device | |
| JPH0267673A (en) | document creation device | |
| JPH0245215B2 (en) | ||
| JPS63282832A (en) | character processing device | |
| JPS59154528A (en) | Documentation processor | |
| JPH04118764A (en) | Image editor | |
| JPH04268957A (en) | Document preparing device |