JPH07295714A - Recovering method at fault of cad system - Google Patents

Recovering method at fault of cad system

Info

Publication number
JPH07295714A
JPH07295714A JP6086155A JP8615594A JPH07295714A JP H07295714 A JPH07295714 A JP H07295714A JP 6086155 A JP6086155 A JP 6086155A JP 8615594 A JP8615594 A JP 8615594A JP H07295714 A JPH07295714 A JP H07295714A
Authority
JP
Japan
Prior art keywords
data
command
unit
file
cad system
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.)
Granted
Application number
JP6086155A
Other languages
Japanese (ja)
Other versions
JP3300156B2 (en
Inventor
Akihisa Deguchi
晶久 出口
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP08615594A priority Critical patent/JP3300156B2/en
Publication of JPH07295714A publication Critical patent/JPH07295714A/en
Application granted granted Critical
Publication of JP3300156B2 publication Critical patent/JP3300156B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide the recovering method with which a CAD system can be speedily recovered and fault analysis is enabled at time of fault occurrence. CONSTITUTION:Clicked or fixed coordinate value data, routine format data and command data are respectively extracted by processing at respective coordinate value input parts 21, routine format input part 31 and command input part 41, and those data are stored in an operation recording file 61 by processing at an operation recording control part 62. When any fault is generated at the CAD system, operation data are copied from the operation recording file 61 to an operation reproducing file 51, and the respective coordinate value data, routine format data and command data of the operation data are respectively supplied to a coordinate value data selecting part 22, routine format data selecting part 32 and command data selecting part 42 by processing at an operation reproducing control part 52. Based on these operation data, the CAD system reproduces the operations of a user up to the fault generation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、CADシステムの障害
時等におけるデータベースの復旧方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of restoring a database when a CAD system fails.

【0002】[0002]

【従来の技術】従来、CADシステムの障害時には、デ
ータベースに対する操作演算記録からデータを復旧する
方法と、エンドユーザーの操作を記録した操作記録から
直接的にデータを復旧する方法があった。データベース
に対する操作演算の記録からデータを復旧する方法は、
もっぱらデータの復旧に利用される方法であり、CAD
システム使用時のデータベースに対する操作演算を記録
しておき、その記録に基づいてデータを復旧するもので
ある。データ復旧後、システムが再開される。エンドユ
ーザーの操作を記録した操作記録から直接的にデータを
復旧する方法は、システムのデモンストレーション等に
も利用される方法であり、文字編集及びマウスの移動軌
跡等を含むすべてのエンドユーザーの操作を予め記録し
ておき、これを再現することで、システムを復旧するも
のである。
2. Description of the Related Art Conventionally, when a CAD system fails, there have been a method of recovering data from an operation calculation record for a database and a method of directly recovering data from an operation record recording an end user's operation. The method of recovering the data from the record of operation calculation on the database is
It is a method used exclusively for data recovery, and CAD
The operation calculation for the database when the system is used is recorded and the data is restored based on the record. The system is restarted after data recovery. The method of directly recovering the data from the operation record that records the operation of the end user is also used for system demonstrations, etc., and it can be used for all end user operations including character editing and mouse movement locus. The system is restored by recording it in advance and reproducing it.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
CADシステムの障害時における復旧方法では、次のよ
うな課題があった。データベースに対する操作演算の記
録からデータを復旧する方法によれば、データベース以
外のシステムの状態変化が再現できないので、データ復
旧は容易であるが障害解析等は困難であった。また、エ
ンドユーザーの操作を記録した操作記録から直接的にデ
ータを復旧する方法によれば、文字編集及びマウスの移
動奇跡等のシステムの状態に影響を及ぼさない一時的な
操作までもすべて再現する。そのため、システムの復旧
に時間がかかっていた。
However, the conventional method for recovering from a failure in the CAD system has the following problems. According to the method of recovering the data from the record of the operation calculation on the database, since the state change of the system other than the database cannot be reproduced, the data recovery is easy, but the failure analysis and the like are difficult. In addition, according to the method of directly recovering data from the operation record that records the end user's operation, all temporary operations that do not affect the system state such as character editing and mouse movement miracles can be reproduced. . Therefore, it took time to restore the system.

【0004】[0004]

【課題を解決するための手段】本発明は、前記課題を解
決するために、CADシステムの障害時に該障害に対す
る解析を行うと共にデータベースを復旧するCADシス
テムの障害時における復旧方法を次のようにしている。
即ち、前記CADシステムの使用中にデータベースに対
して状態変化を及ぼすユーザの操作を抽出し操作記録フ
ァイルに記録する記録処理を施し、前記障害が発生した
場合、前記操作ファイルに格納されたユーザの操作の記
録に基づき前記CADシステムを起動して該障害の発生
するまでのユーザの操作を再現するようにしている。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides a recovery method in the event of a CAD system failure for analyzing a failure in the CAD system and recovering a database as follows. ing.
That is, while the CAD system is in use, a recording process of extracting a user's operation that causes a state change to the database and recording it in an operation record file is performed, and when the failure occurs, the user's operation stored in the operation file is recorded. Based on the record of the operation, the CAD system is activated to reproduce the user's operation until the failure occurs.

【0005】[0005]

【作用】本発明によれば、以上のようにCADシステム
の障害時における復旧方法を構成したので、記録処理に
より、ユーザの操作のうちのデータベースに対して状態
変化を及ぼすユーザの操作が、操作記録ファイルに記録
される。障害が発生した場合、前記操作ファイルに格納
されたユーザの操作の記録に基づき前記CADシステム
が起動されることで、障害の発生するまでのユーザの操
作が再現される。従って、前記課題を解決できるのであ
る。
According to the present invention, since the method for recovering from a failure in the CAD system is configured as described above, the recording operation allows the user's operation that changes the state of the database It is recorded in the recording file. When a failure occurs, the CAD system is started based on the record of the user's operation stored in the operation file, so that the user's operation until the failure occurs is reproduced. Therefore, the above problem can be solved.

【0006】[0006]

【実施例】図1は、本発明の実施例を示すCADシステ
ムの機能ブロック図である。このCADシステムは、例
えばキーボード及びマウスの入出力機器と、CPUで構
成された中央処理装置と、データを記憶するメモリと、
データを保存する複数のファイル等とを有し、そのCP
Uが命令によりデータを呼び出して図形処理及び編集を
行いメモリ或いはファイルに格納する構成である。図1
のCADシステムは、該CADシステムにおける図形入
力及び編集作業を行う主処理部10と、キーボード及び
マウス等のユーザ操作によって発生するイベントを制御
する操作イベント制御部11とを備え、操作イベント制
御部11は呼び出し要求のある各処理部に各イベントの
制御結果を返す処理をする。操作イベント制御部11に
接続された座標値入力部21は、操作イベント制御部1
1の呼び出し元の一つであり、この座標値入力部21は
マウスの動きに合わせて画面上でマウスポインタを移動
させ、その座標値を入力するものである。座標値入力部
21の呼び出し元は座標値選択部22であり、この座標
値選択部22は座標値入力を再現するか否かを自動的に
選択して呼び出し元に返す処理を行う。操作イベント制
御部11には、定形書式の画面上での文字及び文章を入
力及び編集する定形書式入力部31が接続されている。
定形書式入力部31の呼び出し元は定形書式データ選択
部32であり、その定形書式データ選択部32は、定形
書式入力を再現するか否かを自動的に選択して定形書式
データを呼び出し元に返す処理を施す。操作イベント制
御部11には、さらに、コマンド入力部41が用意さ
れ、コマンド入力部41がマウスの動きに合わせて画面
上でマウスポインタを移動してコマンドメニュウを入力
する。コマンド入力部41の呼び出し元はコマンドデー
タ選択部42であり、コマンドデータ選択部42がコマ
ンド入力を再現するか否かを自動的に選択してコマンド
データを呼び出し元に返す処理を行う。各座標値データ
選択部22、定形書式データ選択部32、及びコマンド
データ選択部42に対する呼び出し元が主処理部10と
なっている。
1 is a functional block diagram of a CAD system showing an embodiment of the present invention. This CAD system includes, for example, input / output devices such as a keyboard and a mouse, a central processing unit including a CPU, a memory for storing data,
It has multiple files to store data, and its CP
The U calls the data in accordance with the command, performs graphic processing and editing, and stores it in the memory or file. Figure 1
The CAD system includes a main processing unit 10 that performs graphic input and editing work in the CAD system, and an operation event control unit 11 that controls an event generated by a user operation such as a keyboard and a mouse, and the operation event control unit 11 Performs a process of returning the control result of each event to each processing unit having a call request. The coordinate value input unit 21 connected to the operation event control unit 11 includes the operation event control unit 1
The coordinate value input unit 21 moves the mouse pointer on the screen in accordance with the movement of the mouse and inputs the coordinate value. The caller of the coordinate value input unit 21 is the coordinate value selection unit 22, and this coordinate value selection unit 22 automatically selects whether or not the coordinate value input is reproduced and performs a process of returning it to the caller. The operation event control unit 11 is connected to a fixed form input unit 31 for inputting and editing characters and sentences on the fixed form screen.
The caller of the fixed form input unit 31 is the fixed form data selection unit 32. The fixed form data selection unit 32 automatically selects whether or not to reproduce the fixed form input, and sets the fixed form data as the caller. Perform processing to return. The operation event control unit 11 is further provided with a command input unit 41, and the command input unit 41 moves the mouse pointer on the screen according to the movement of the mouse to input a command menu. The call source of the command input unit 41 is the command data selection unit 42, and the command data selection unit 42 automatically selects whether or not to reproduce the command input, and returns the command data to the call source. The main processing unit 10 is the calling source for each coordinate value data selection unit 22, fixed form data selection unit 32, and command data selection unit 42.

【0007】このCADシステムは、操作再現ファイル
51を有している。操作再現ファイル51は障害発生に
備え、予め再現すべきユーザの操作手順が書き込まれる
ものである。操作再現ファイル51に対してデータの読
取り及び制御する操作再現制御部52が設けられ、操作
再現制御部52から各座標値データ選択部22、定形書
式データ選択部32、及びコマンドデータ選択部42に
データが伝達される構成である。また、各座標値データ
選択部22、定形書式データ選択部32、及びコマンド
データ選択部42のデータをシーケンシャルに記録する
操作記録ファイル61が、このCADには設けられてい
る。操作記録ファイル61には、該操作記録ファイル6
1に対して書き込み及び消去を行う操作記録制御部が接
続されている。さらに、このCADシステムは図形デー
タをメモリ上に保持する図形データテーブル71と、図
形データをハードディスクに保持した図形データファイ
ル72と、それら図形データテーブル71と図形データ
ファイル72間の書き込み及び読取りを管理する図形デ
ータ管理部73と、システム値をメモリ上に保持するシ
ステム値テーブル81と、システム値をハードディスク
上に保持するシステム値ファイル82と、それらシステ
ム値テーブル81とシステム値ファイル82間の書き込
み及び読取りを管理するシステム値管理部83とを、設
けている。さらに、主処理部10は、固形データテーブ
ル71の図形データおよびシステム値テーブル81のシ
ステム値を参照あるいは編集する構成となっている。ま
た、図形データ管理部73が、操作再現制御部52と操
作記録制御部62を制御する構成である。
This CAD system has an operation reproduction file 51. The operation reproduction file 51 is a file in which an operation procedure of a user to be reproduced is written in advance in preparation for a failure. An operation reproduction control unit 52 for reading and controlling data for the operation reproduction file 51 is provided. From the operation reproduction control unit 52 to each coordinate value data selection unit 22, fixed form data selection unit 32, and command data selection unit 42. This is a structure for transmitting data. Further, an operation recording file 61 for sequentially recording the data of each coordinate value data selection unit 22, fixed form data selection unit 32, and command data selection unit 42 is provided in this CAD. The operation record file 61 includes the operation record file 6
An operation record control unit that performs writing and erasing with respect to 1 is connected. Further, this CAD system manages a graphic data table 71 that holds graphic data in a memory, a graphic data file 72 that holds graphic data in a hard disk, and writing and reading between the graphic data table 71 and the graphic data file 72. The graphic data management unit 73, the system value table 81 that holds the system value on the memory, the system value file 82 that holds the system value on the hard disk, and the writing between the system value table 81 and the system value file 82. A system value management unit 83 that manages reading is provided. Further, the main processing unit 10 is configured to refer to or edit the graphic data of the solid data table 71 and the system value of the system value table 81. The graphic data management unit 73 controls the operation reproduction control unit 52 and the operation recording control unit 62.

【0008】次に、図1のCADシステムの各部の処理
を図を参照しつつ説明する。図2は、図1中の操作イベ
ント制御部の処理を示すフローチャートである。ステッ
プS21において、キーボード及びマウスからユーザー
の操作によって発生するイベントの一つが、操作イベン
ト制御部11の処理によって取出される。ステップS2
2において、操作イベント制御部11は取出されたイベ
ントの内容を、呼び出し元の座標値入力部21、定形書
式入力部31、またはコマンド入力部41へ送出する。
図3は、図1中の座標値入力部の処理を示すフローチャ
ートである。図3のステップS31において、座標値入
力部21は、操作イベント制御部11からマウスに関す
るイベントを読取り、そのマウスの動きに合わせて対応
する画面上のマウスポインタを移動する。ステップS3
2において、マウスがクリックされたことが、確認され
る。クリックがされていた場合の座標値が、ステップS
33で呼び出し元である座標値データ選択部22に送出
される。
Next, the processing of each part of the CAD system of FIG. 1 will be described with reference to the drawings. FIG. 2 is a flowchart showing the processing of the operation event control unit in FIG. In step S21, one of the events generated by the operation of the user from the keyboard and the mouse is extracted by the processing of the operation event control unit 11. Step S2
In 2, the operation event control unit 11 sends the content of the extracted event to the coordinate value input unit 21, the fixed form input unit 31, or the command input unit 41 of the calling source.
FIG. 3 is a flowchart showing the processing of the coordinate value input unit in FIG. In step S31 of FIG. 3, the coordinate value input unit 21 reads an event related to the mouse from the operation event control unit 11, and moves the corresponding mouse pointer on the screen according to the movement of the mouse. Step S3
In 2, it is confirmed that the mouse has been clicked. The coordinate value when clicked is the step S
At 33, it is sent to the coordinate value data selection unit 22 which is the calling source.

【0009】図4は、図1中の座標値データ選択部にお
ける処理を示すフローチャートである。図4のステップ
S41において、座標値データ選択部22は、操作再現
制御部52が、アクティブであるかどうかを確認する。
操作再現制御部52が非アクティブである場合、ステッ
プS42において、座標データ選択部22は座標入力部
21を呼び出して座標値に関する座標値データを受け取
る。ステップS41で操作再現制御部52がアクティブ
である場合、ステップS43で操作再現制御部52を呼
び出して座標値データを受け取る。即ち、データベース
の再現の際に、座標値データ選択部22は操作再現制御
部52から座標値データを受け取る。その後のステップ
S44において、座標データ選択部22は座標データを
操作記録制御部62に伝達すると共に、ステップS45
において、同一データを呼び出し元である主処理部10
に送出する。
FIG. 4 is a flow chart showing the processing in the coordinate value data selection section in FIG. In step S41 of FIG. 4, the coordinate value data selection unit 22 confirms whether the operation reproduction control unit 52 is active.
When the operation reproduction control unit 52 is inactive, the coordinate data selection unit 22 calls the coordinate input unit 21 to receive the coordinate value data regarding the coordinate value in step S42. If the operation reproduction control unit 52 is active in step S41, the operation reproduction control unit 52 is called to receive the coordinate value data in step S43. That is, when reproducing the database, the coordinate value data selection unit 22 receives the coordinate value data from the operation reproduction control unit 52. In the subsequent step S44, the coordinate data selection unit 22 transmits the coordinate data to the operation record control unit 62, and also in the step S45.
In the main processing unit 10 that calls the same data
Send to.

【0010】図5は、図1中の定形書式入力部の処理を
示すフローチャートである。図5のステップS51にお
いて、定形書式入力部31は、操作イベント制御部11
から文字編集に関するイベントを読取り、定形書式の画
面上で文字及び文章を入力及び編集する。ステップS5
2において、マウスに対してユーザが確定を指示したか
を確認する。確定されていた場合、その確定した定形書
式に関する定形書式データが、ステップS53で呼び出
し元である定形書式データ選択部32に送出される。図
6は、図1中の定形書式データ選択部の処理を示すフロ
ーチャートである。図6のステップS61において、定
形書式データ選択部32は、操作再現制御部52が、ア
クティブであるかどうかを確認する。操作再現制御部5
2が非アクティブである場合、ステップS62におい
て、定形書式データ選択部32は定形書式入力部31を
呼び出して定形書式データを受け取る。ステップS61
で操作再現制御部52がアクティブである場合、ステッ
プS63で操作再現制御部52を呼び出して定形書式デ
ータを受け取る。即ち、データベースの再現の際に、定
形書式データ選択部32は操作再現制御部52から定形
書式データを受け取る。その後のステップS64におい
て、定形書式選択部32は定形書式データを操作記録制
御部62に伝達すると共に、ステップS65において、
同一データを呼び出し元である主処理部10に送出す
る。
FIG. 5 is a flow chart showing the processing of the fixed form input section in FIG. In step S51 of FIG. 5, the fixed form input unit 31 determines the operation event control unit 11
Read events related to character editing from, and enter and edit characters and sentences on the screen of standard format. Step S5
In 2, it is confirmed whether the user has instructed the mouse to confirm. If the fixed form data is fixed, the fixed form data relating to the fixed fixed form is sent to the fixed form data selection unit 32 which is the calling source in step S53. FIG. 6 is a flowchart showing the processing of the fixed form data selection unit in FIG. In step S61 of FIG. 6, the fixed form data selection unit 32 confirms whether the operation reproduction control unit 52 is active. Operation reproduction control unit 5
If No. 2 is inactive, the fixed form data selection unit 32 calls the fixed form input unit 31 to receive the fixed form data in step S62. Step S61
If the operation reproduction control unit 52 is active in step S63, the operation reproduction control unit 52 is called in step S63 to receive the fixed form data. That is, when reproducing the database, the fixed form data selection unit 32 receives the fixed form data from the operation reproduction control unit 52. In the subsequent step S64, the fixed form selection unit 32 transmits the fixed form data to the operation record control unit 62, and in step S65,
The same data is sent to the main processing unit 10 that is the calling source.

【0011】図7は、図1中のコマンド入力部の処理を
示すフローチャートである。図7のステップS71にお
いて、コマンド入力部41は、操作イベント制御部11
からマウスに関するイベントを読取り、そのマウスの動
きに合わせて画面上の対応するマウスポインタを移動す
る。ステップS72において、コマンド入力部41はマ
ウスがユーザによりクリックされたかどうかチェックす
る。クリックされていた場合、その時マウスポインタの
位置に対応するコマンドメニューが、ステップS73で
呼び出し元であるコマンドデータ選択部42に送出され
る。図8は、図1中のコマンドデータ選択部における処
理を示すフローチャートである。図8のステップS81
において、コマンドデータ選択部42は、操作再現制御
部52が、アクティブであるかどうかを確認する。操作
再現制御部52が非アクティブである場合、ステップS
82において、コマンドデータ選択部82はコマンド入
力部41を呼び出してコマンドデータを受け取る。ステ
ップS81で操作再現制御部52がアクティブである場
合、ステップS83で操作再現制御部52を呼び出して
コマンドデータを受け取る。即ち、データベースの再現
の際に、コマンドデータ選択部42は操作再現制御部5
2からコマンドデータを受け取る。その後のステップS
84において、コマンド選択部42はコマンドデータを
操作記録制御部62に伝達すると共に、ステップS85
において、同一データを呼び出し元である主処理部10
に送出する。
FIG. 7 is a flow chart showing the processing of the command input section in FIG. In step S71 of FIG. 7, the command input unit 41 determines that the operation event control unit 11
Read the event related to the mouse from and move the corresponding mouse pointer on the screen according to the movement of the mouse. In step S72, the command input unit 41 checks whether the mouse has been clicked by the user. If it is clicked, the command menu corresponding to the position of the mouse pointer at that time is sent to the command data selection unit 42 which is the calling source in step S73. FIG. 8 is a flowchart showing the processing in the command data selection unit in FIG. Step S81 of FIG.
In, the command data selection unit 42 confirms whether the operation reproduction control unit 52 is active. If the operation reproduction control unit 52 is inactive, step S
At 82, the command data selection unit 82 calls the command input unit 41 to receive command data. If the operation reproduction controller 52 is active in step S81, the operation reproduction controller 52 is called to receive command data in step S83. That is, when the database is reproduced, the command data selection unit 42 causes the operation reproduction control unit 5 to
Receive command data from 2. Subsequent step S
In 84, the command selection section 42 transmits the command data to the operation recording control section 62, and at the same time, step S85.
In the main processing unit 10 that calls the same data
Send to.

【0012】図9は、図1中の操作再現制御部の処理を
示すフローチャートである。図9のステップS91にお
いて、操作再現制御部52は、操作再現ファイル51か
らシーケンシャルに1レコード分の操作データを読出
す。この操作データは、座標値データ、定形書式デー
タ、及びコマンドデータで構成されている。次に、ステ
ップS92において、操作再現制御部52は読出した操
作データが最終のレコードであるかどうかをチェックす
る。その結果が最終レコードである場合、ステップS9
3において操作再現制御部52は、非アクティブとさ
れ、ステップS93において、操作再現ファイル51の
データが消去される。次のステップS95において、操
作データが各呼び出し元である座標値データ選択部2
2、定形書式データ選択部32、及びコマンドデータ選
択部42へそれぞれ返される。図10は、図1中の操作
記録制御部の処理を示すフローチャートである。図10
の(a)に示すように、操作記録消去処理が呼ばれた場
合、ステップS101において、操作記録ファイル61
が操作記録制御部62によって消去される。図10の
(b)の操作記録処理が呼ばれた場合、ステップS10
2において、操作記録制御部62は各座標値データ選択
部22、定形書式データ選択部32、及びコマンドデー
タ選択部42から伝達されたデータを操作データの1レ
コードとしての操作記録ファイル61に追加書き込みを
する。即ち、データベースに対して状態変化を及ぼすユ
ーザの操作を操作記録ファイル61に記録する記録処理
が施される。
FIG. 9 is a flow chart showing the processing of the operation reproduction control section in FIG. In step S91 of FIG. 9, the operation reproduction control unit 52 sequentially reads one record of operation data from the operation reproduction file 51. This operation data is composed of coordinate value data, fixed form data, and command data. Next, in step S92, the operation reproduction control unit 52 checks whether the read operation data is the final record. If the result is the final record, step S9
In step 3, the operation reproduction controller 52 is deactivated, and in step S93, the data of the operation reproduction file 51 is deleted. In the next step S95, the coordinate value data selection unit 2 whose operation data is each calling source
2, returned to the fixed form data selection unit 32 and the command data selection unit 42. FIG. 10 is a flowchart showing the processing of the operation record control unit in FIG. Figure 10
If the operation record erasing process is called, as shown in (a) of FIG.
Is deleted by the operation record control unit 62. When the operation recording process of FIG. 10B is called, step S10
2, the operation record control unit 62 additionally writes the data transmitted from each coordinate value data selection unit 22, the fixed form data selection unit 32, and the command data selection unit 42 into the operation recording file 61 as one record of the operation data. do. That is, a recording process of recording the user's operation that causes a state change in the database in the operation recording file 61 is performed.

【0013】図11は、図1中のシステム値管理部の処
理を示すフローチャートである。図11の(a)に示す
システム値登録処理が呼ばれた場合、ステップS111
において、システム値管理部83がシステム値テーブル
81の内容をシステム値ファイル82に上書きする。図
11の(b)に示すシステム値取出し処理が呼ばれた場
合、ステップS112において、システム値管理部83
はシステム値ファイル82の内容をシステム値テーブル
81に格納する。図12は、図1中の図形データ管理部
の処理を示すフローチャートである。図12の(a)に
示す図形データ登録処理が呼ばれた場合、ステップS1
21において、図形データ管理部73は図形データテー
ブル71の内容を図形データファイル72に上書きす
る。さらに、ステップS122において、図形データ管
理部73は、システム値管理部83のシステム値登録処
理を呼び出すとともに、ステップS123において、操
作記録制御部62の操作記録消去処理を呼び出す。ま
た、図12の(b)に示す図形データ取出し処理が呼ば
れた場合、ステップS124において、図形データ管理
部73は図形データファイル72の内容を図形データテ
ーブル71に格納する。さらに、ステップS125にお
いて、図形データ管理部73は操作再現制御部53を非
アクティブにし、ステップS126で操作再現ファイル
が存在するかどうかをチェックする。ここで、操作再現
ファイルが存在する場合、ステップS127において、
図形データ管理部73は操作再現制御部53をアクティ
ブにする。その後、ステップS129において、図形デ
ータ管理部73は操作記録制御部63の操作記録消去処
理を呼び出す。
FIG. 11 is a flow chart showing the processing of the system value management unit in FIG. When the system value registration process shown in FIG. 11A is called, step S111
At, the system value management unit 83 overwrites the system value file 82 with the contents of the system value table 81. When the system value extraction processing shown in FIG. 11B is called, in step S112, the system value management unit 83
Stores the contents of the system value file 82 in the system value table 81. FIG. 12 is a flowchart showing the processing of the graphic data management unit in FIG. When the graphic data registration process shown in FIG. 12A is called, step S1
At 21, the graphic data management unit 73 overwrites the content of the graphic data table 71 on the graphic data file 72. Further, in step S122, the graphic data management unit 73 calls the system value registration process of the system value management unit 83, and calls the operation record deletion process of the operation record control unit 62 in step S123. When the graphic data extraction process shown in FIG. 12B is called, the graphic data management unit 73 stores the contents of the graphic data file 72 in the graphic data table 71 in step S124. Further, in step S125, the graphic data management unit 73 deactivates the operation reproduction control unit 53, and in step S126 checks whether or not an operation reproduction file exists. Here, if the operation reproduction file exists, in step S127,
The graphic data management unit 73 activates the operation reproduction control unit 53. Then, in step S129, the graphic data management unit 73 calls the operation record erasing process of the operation record control unit 63.

【0014】図13は、図1中の主処理部10の処理を
示すフローチャートである。図13のステップS131
において、主処理部10は、図形管理部73の図形デー
タ取出し処理を呼び出し、次のステップS132におい
て、コマンドデータ選択部42を呼出してコマンドデー
タであるコマンドメニューの値を受け取る。ステップS
133において、主処理部10はコマンドメニューの値
が図形登録コマンドを示しているかチェックする。コマ
ンドメニューの値が図形データ登録コマンドである場
合、ステップS134で、主処理部10は図形データ管
理部73の図形データ登録処理を呼出す。また、ステッ
プS135において、主処理部10は受け取ったコマン
ドメニューの値が終了コマンドかどうかをチェックす
る。終了コマンドを示している場合、主処理部10は処
理を終了する。受け取ったコマンドメニューの値が他の
コマンドを示すときに、主処理部10はステップS13
6においてそのコマンドに応じ、図形入力及び編集を行
う。
FIG. 13 is a flow chart showing the processing of the main processing unit 10 in FIG. Step S131 of FIG.
In the main processing section 10, the main processing section 10 calls the figure data extraction processing of the figure management section 73, and in the next step S132, calls the command data selection section 42 to receive the command menu value which is the command data. Step S
At 133, the main processing unit 10 checks whether the value of the command menu indicates a figure registration command. When the value of the command menu is the graphic data registration command, the main processing unit 10 calls the graphic data registration processing of the graphic data management unit 73 in step S134. In step S135, the main processing unit 10 checks whether the received command menu value is the end command. When the end command is indicated, the main processing unit 10 ends the process. When the value of the received command menu indicates another command, the main processing unit 10 proceeds to step S13.
At 6, the figure is input and edited according to the command.

【0015】図1のCADシステムは、以上の各部の処
理にしたがって動作することによって、操作の記録ファ
イル61に図13におけるステップS134の図形デー
タ登録以降のユーザの操作を記録する。このCADシス
テムに障害が発生した場合、異常終了時に操作記録ファ
イル61を操作再現ファイル51に複写してシステムを
起動することで、主処理部10のステップS131の
後、CADシステムは障害発生時までの操作を自動的に
再現する。この再現に際し、マウスの移動或いは定形書
式の編集等の再現はされないので、このCADシステム
は高速な再現を可能としている。ここで、予め用意する
操作再現ファイル51を障害発生時の操作記録ファイル
61と同一のものにしておけば、障害までも再現できる
ので、障害解析が可能となり、また、障害発生時の操作
記録ファイル61の中の最後の1レコードを除いたもの
で再現すれば、障害発生の直前の状態までシステムを復
旧することができる。以上のように、本実施例では、座
標入力部21、書式入力部31、およびコマンド入力部
41の処理結果を操作記録データとして格納するので、
データベースに対して状態変化を及ぼすユーザの操作の
みが抽出されて操作記録ファイル51に記録される。そ
のため、システムの復旧にあたり、高速な再現が可能と
なる。また、操作記録ファイル51に記録されたデータ
に基づき、システムを起動することが可能であり、障害
発生の原因解析が容易にできる。なお、本発明は、上記
実施例に限定されず種々の変形が可能である。例えば、
必要により、定形書式の編集等の情報を操作記録ファイ
ル61に格納して再現する方法としてもよい。
The CAD system of FIG. 1 operates in accordance with the processing of each of the above parts to record the user's operation after the graphic data registration in step S134 in FIG. 13 in the operation recording file 61. When a failure occurs in this CAD system, the operation recording file 61 is copied to the operation reproduction file 51 at the time of abnormal termination, and the system is started, so that after the step S131 of the main processing unit 10, the CAD system continues until the failure occurs. The operation of is automatically reproduced. At the time of this reproduction, since the mouse movement or the editing of the fixed form is not reproduced, this CAD system enables high-speed reproduction. Here, if the operation reproduction file 51 prepared in advance is the same as the operation recording file 61 at the time of failure occurrence, even the failure can be reproduced, so that failure analysis can be performed, and the operation recording file at the time of failure occurrence is also possible. If the data is reproduced by excluding the last one record in 61, the system can be restored to the state immediately before the occurrence of the failure. As described above, in the present embodiment, the processing results of the coordinate input unit 21, the format input unit 31, and the command input unit 41 are stored as operation record data.
Only the user's operation that changes the state of the database is extracted and recorded in the operation recording file 51. Therefore, when the system is restored, high speed reproduction is possible. Further, the system can be started based on the data recorded in the operation recording file 51, and the cause analysis of the failure occurrence can be easily performed. The present invention is not limited to the above embodiment, and various modifications can be made. For example,
If necessary, a method of storing information such as editing of a fixed format in the operation recording file 61 and reproducing it may be used.

【0016】[0016]

【発明の効果】以上詳細に説明したように、本発明によ
れば、データベースに対して状態変化を及ぼすユーザの
操作を抽出し操作記録ファイルに記録する記録処理を施
し、操作ファイルに格納されたユーザの操作の記録に基
づきCADシステムを起動して該障害の発生するまでの
ユーザの操作を再現するので、CADシステムにおける
障害解析を可能とし、かつシステムの障害発生後の復旧
を速くすることができる。
As described in detail above, according to the present invention, a recording process for extracting a user operation that causes a state change in a database and recording it in an operation record file is performed and stored in the operation file. Since the CAD system is started based on the record of the user's operation and the user's operation until the occurrence of the failure is reproduced, failure analysis in the CAD system can be performed and recovery after the failure of the system can be speeded up. it can.

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

【図1】本発明の実施例を示すCADシステムの機能ブ
ロック図である。
FIG. 1 is a functional block diagram of a CAD system showing an embodiment of the present invention.

【図2】図1中の操作イベント制御部の処理を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing processing of an operation event control unit in FIG.

【図3】図1中の座標値入力部の処理を示すフローチャ
ートである。
FIG. 3 is a flowchart showing a process of a coordinate value input section in FIG.

【図4】図1中の座標値データ選択部の処理を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a process of a coordinate value data selection unit in FIG.

【図5】図1中の定形書式入力部の処理を示すフローチ
ャートである。
5 is a flowchart showing a process of a fixed form input unit in FIG. 1. FIG.

【図6】図1中の定形書式データ選択部の処理を示すフ
ローチャートである。
FIG. 6 is a flowchart showing a process of a fixed form data selection unit in FIG.

【図7】図1中のコマンド入力部の処理を示すフローチ
ャートである。
FIG. 7 is a flowchart showing a process of a command input unit in FIG.

【図8】図1中のコマンドデータ選択部の処理を示すフ
ローチャートである。
FIG. 8 is a flowchart showing a process of a command data selection unit in FIG.

【図9】図1中の操作再現制御部の処理を示すフローチ
ャートである。
9 is a flowchart showing a process of an operation reproduction control unit in FIG.

【図10】図1中の操作記録制御部の処理を示すフロー
チャートである。
10 is a flowchart showing a process of an operation recording control unit in FIG.

【図11】図1中のシステム値管理部の処理を示すフロ
ーチャートである。
FIG. 11 is a flowchart showing a process of a system value management unit in FIG.

【図12】図1中の図形データ管理部の処理を示すフロ
ーチャートである。
FIG. 12 is a flowchart showing a process of a graphic data management unit in FIG.

【図13】図1中の主処理部10の処理を示すフローチ
ャートである。
FIG. 13 is a flowchart showing a process of a main processing unit 10 in FIG.

【符号の説明】[Explanation of symbols]

10 主処理部 11 操作イベント制御部 21 座標値入力部 31 定形書式入力部 41 コマンド入力部 51 操作再現ファイル 52 操作再現制御部 61 操作記録ファイル 62 操作記録制御部 71 図形データテーブル 72 図形データファイル 73 図形データ管理部 10 Main Processing Section 11 Operation Event Control Section 21 Coordinate Value Input Section 31 Fixed Form Input Section 41 Command Input Section 51 Operation Reproduction File 52 Operation Reproduction Control Section 61 Operation Record File 62 Operation Record Control Section 71 Graphic Data Table 72 Graphic Data File 73 Graphic data management section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CADシステムの障害時に該障害に対す
る解析を行うと共にデータベースを復旧するCADシス
テムの障害時における復旧方法において、 前記CADシステムの使用中にデータベースに対して状
態変化を及ぼすユーザの操作を抽出し操作記録ファイル
に記録する記録処理を施し、 前記障害が発生した場合、前記操作ファイルに格納され
たユーザの操作の記録に基づき前記CADシステムを起
動して該障害の発生するまでのユーザの操作を再現す
る、 ことを特徴とするCADシステムの障害時における復旧
方法。
1. A method for recovering a database when a failure occurs in the CAD system and analyzing the failure, and a method for recovering the database when the failure occurs in the CAD system, wherein a user operation that causes a state change to the database during use of the CAD system is performed. When the recording process of extracting and recording in the operation recording file is performed and the failure occurs, the user's operation until the failure occurs by activating the CAD system based on the record of the user's operation stored in the operation file A method for recovering from a CAD system failure in which the operation is reproduced.
JP08615594A 1994-04-25 1994-04-25 Recovery method in case of CAD system failure Expired - Fee Related JP3300156B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08615594A JP3300156B2 (en) 1994-04-25 1994-04-25 Recovery method in case of CAD system failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08615594A JP3300156B2 (en) 1994-04-25 1994-04-25 Recovery method in case of CAD system failure

Publications (2)

Publication Number Publication Date
JPH07295714A true JPH07295714A (en) 1995-11-10
JP3300156B2 JP3300156B2 (en) 2002-07-08

Family

ID=13878860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08615594A Expired - Fee Related JP3300156B2 (en) 1994-04-25 1994-04-25 Recovery method in case of CAD system failure

Country Status (1)

Country Link
JP (1) JP3300156B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014086044A (en) * 2012-10-26 2014-05-12 Fujitsu Ltd Design support program, method, and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014086044A (en) * 2012-10-26 2014-05-12 Fujitsu Ltd Design support program, method, and device

Also Published As

Publication number Publication date
JP3300156B2 (en) 2002-07-08

Similar Documents

Publication Publication Date Title
JPS6330645B2 (en)
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
JPH07295714A (en) Recovering method at fault of cad system
JP3220182B2 (en) File copying machine
JPH08227371A (en) Method for managing data
JPH09160703A (en) Operation reproduction method and system for monitoring and control program
JPH09168009A (en) Network operation information setting system
JP4259896B2 (en) Operation recording / playback program
JPH0385650A (en) Disk volume restoration system
JP3795204B2 (en) File management apparatus, computer system, file management method, and recording medium
JPH01114948A (en) File edition supporting method
JP3178671B2 (en) File system and its file recovery method
JP3484294B2 (en) Optical disc creation and playback system
JPS63279346A (en) File replacement processing system
JPH086832A (en) Event recording device and event reproducing device
JP2937636B2 (en) Logic simulator method
JPH02139616A (en) Input system for information processor
JPH08152897A (en) Voice editorial processing device
JPH05173686A (en) Controller
JPH0711786B2 (en) Automatic test control system
JPH07295874A (en) Cad system
JPH06149776A (en) Simulation device based upon petri net
JPH09161464A (en) Image recording/reproducing device
JPH06266802A (en) Layout data processor
JP2000155648A (en) Compact and portable terminal equipment

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020409

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080419

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110419

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees