JP3300156B2 - Recovery method in case of CAD system failure - Google Patents

Recovery method in case of CAD system failure

Info

Publication number
JP3300156B2
JP3300156B2 JP08615594A JP8615594A JP3300156B2 JP 3300156 B2 JP3300156 B2 JP 3300156B2 JP 08615594 A JP08615594 A JP 08615594A JP 8615594 A JP8615594 A JP 8615594A JP 3300156 B2 JP3300156 B2 JP 3300156B2
Authority
JP
Japan
Prior art keywords
data
unit
cad system
control unit
command
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 - Fee Related
Application number
JP08615594A
Other languages
Japanese (ja)
Other versions
JPH07295714A (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.)
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

Landscapes

  • Input From Keyboards Or The Like (AREA)

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 for restoring a database in the event of a CAD system failure.

【0002】[0002]

【従来の技術】従来、CADシステムの障害時には、デ
ータベースに対する操作演算記録からデータを復旧する
方法と、エンドユーザの操作を記録した操作記録から直
接的にデータを復旧する方法があった。データベースに
対する操作演算の記録からデータを復旧する方法は、も
っぱらデータの復旧に利用される方法であり、CADシ
ステム使用時のデータベースに対する操作演算を記録し
ておき、その記録に基づいてデータを復旧するものであ
る。データ復旧後、システムが再開される。エンドユー
ザの操作を記録した操作記録から直接的にデータを復旧
する方法は、システムのデモンストレーション等にも利
用される方法であり、文字編集及びマウスの移動軌跡等
を含むすべてのエンドユーザの操作を予め記録してお
き、これを再現することで、システムを復旧するもので
ある。
Conventionally, in the event of a failure of the CAD system, there is a way to recover and how to recover the data from the operation operation record to the database, the data directly from the operation record containing the operation of the end-user. The method of restoring data from the record of the operation calculation on the database is a method exclusively used for data recovery. The operation calculation on the database when the CAD system is used is recorded, and the data is restored based on the record. Things. After data recovery, the system is restarted. End you
How to recover data directly operations The from the recorded operation recording is a method also used for demonstration such systems, pre-operation of all end users including the moving locus of the character editing and a mouse The system is restored by recording it and reproducing it.

【0003】[0003]

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

【0004】[0004]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、CADシステムの障害時に該障害に対す
る解析を行うと共にデータベースを復旧するCADシス
テムの障害時における復旧方法において、前記CADシ
ステムの使用中に行われるユーザの操作前記CAD
システムの状態に影響を及ぼさない操作であるか、前記
CADシステムの状態に影響を及ぼす操作であるかを前
記操作毎に選択し、前記CADシステムの状態に影響を
及ぼす操作の履歴のみを操作記録ファイルに記録する記
録処理を行い、前記障害が発生した場合、前記操作記録
ファイルに記録された前記CADシステムの状態に影響
を及ぼす操作の履歴に基づき、前記CADシステムを起
動して前記障害の発生するまでの前記ユーザの操作を再
現するようにしている。
In order to solve the above-mentioned problems, the present invention relates to a method for restoring a CAD system in the event of a failure in a CAD system and restoring a database, the method comprising the steps of: operation users, the CAD performed during use of the
Whether the operation does not affect the state of the system or the operation that affects the state of the CAD system
A recording process is performed to record only the operation history affecting the state of the CAD system in the operation record file, and the CAD system recorded in the operation record file when the failure occurs is selected for each operation. The operation of the user up to the occurrence of the failure by activating the CAD system is reproduced based on a history of operations that affect the state of the user.

【0005】[0005]

【作用】本発明によれば、以上のようにCADシステム
の障害時における復旧方法を構成したので、記録処理に
より、ユーザの操作のうち、CADシステムの状態に影
響を及ぼす操作が選択され、この操作の履歴のみが操作
記録ファイルに記録される。障害が発生した場合、操作
記録ファイルに記録された操作の履歴に基づき、CAD
システムが起動されることで、障害の発生するまでのユ
ーザの操作が再現される。従って、前記課題を解決でき
るのである。
According to the present invention, as described above, the recovery method in the event of a failure in the CAD system is configured. Thus, the operation that affects the state of the CAD system is selected from the user operations by the recording process. Only the operation history is recorded in the operation record file. When a failure occurs, CAD operation is performed based on the operation history recorded in the operation record file.
By starting the system, 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は、操作イベント制御部
11の呼び出し元の一つであり、この座標値入力部21
はマウスの動きに合わせて画面上でマウスポインタを移
動させ、その座標値を入力するものである。座標値入力
部21の呼び出し元は座標値データ選択部22であり、
この座標値データ選択部22は座標値入力を再現するか
否かを自動的に選択して呼び出し元に返す処理を行う。
操作イベント制御部11には、定書式の画面上での文
字及び文章を入力及び編集する定書式入力部31が接
続されている。定書式入力部31の呼び出し元は定
書式データ選択部32であり、その定書式データ選択
部32は、定書式入力を再現するか否かを自動的に選
択して定書式データを呼び出し元に返す処理を施す
作イベント制御部11には、さらに、コマンド入力部
41が接続され、コマンド入力部41がマウスの動きに
合わせて画面上でマウスポインタを移動してコマンドメ
ニュを入力する。コマンド入力部41の呼び出し元は
コマンドデータ選択部42であり、コマンドデータ選択
部42がコマンド入力を再現するか否かを自動的に選択
してコマンドデータを呼び出し元に返す処理を行う。各
座標値データ選択部22、定書式データ選択部32、
及びコマンドデータ選択部42に対する呼び出し元が主
処理部10となっている。
FIG. 1 is a functional block diagram of a CAD system showing an embodiment of the present invention. The CAD system includes, for example, a keyboard and a mouse input / output device, a central processing unit including a CPU, a memory for storing data,
A plurality of files for storing data
There the U is memory performs graphic processing and editing calls the data by the instruction is configured to store a file. The CAD system shown in FIG. 1 includes a main processing unit 10 for performing graphic input and editing work in the CAD system, and an operation event control unit 11 for controlling events generated by user operations such as a keyboard and a mouse. The unit 11 performs a process of returning a control result of each event to each processing unit having a call request. Operation event control unit 11
Is one of the call sources of the operation event control unit 11, and the coordinate value input unit 21
Is to move the mouse pointer on the screen in accordance with the movement of the mouse and input the coordinate values. The caller of the coordinate value input unit 21 is the coordinate value data selection unit 22,
The coordinate value data selection unit 22 performs a process of automatically selecting whether or not to reproduce a coordinate value input and returning it to the caller.
The operation event control unit 11, constant-type format input unit 31 for inputting and editing characters and text on the screen of the constant-type format is connected. Calling constant type format input unit 31 is a constant type <br/> format data selection unit 32, the constant-type format data selecting unit 32 automatically selects whether to reproduce the constant type format input the process of returning to the caller a constant type format data Te apply.
The operation event control unit 11, further, the command input unit 41 is connected to input commands menu <br/> New over by moving the mouse pointer on the screen to match the command input unit 41 to the movement of the mouse . The caller of the command input unit 41 is a 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 caller. Each coordinate value data selecting section 22, the constant-type format data selecting section 32,
The main processing unit 10 is a calling source for the command data selection unit 42.

【0007】このCADシステムは、操作再現ファイル
51を有している。操作再現ファイル51は障害発生に
備え、予め再現すべきユーザの操作手順が書き込まれる
ものである。操作再現ファイル51に対してデータの読
み取り及び制御をする操作再現制御部52が設けられ、
操作再現制御部52から各座標値データ選択部22、定
型書式データ選択部32、及びコマンドデータ選択部4
2にデータが伝達される構成である。また、各座標値デ
ータ選択部22、定型書式データ選択部32、及びコマ
ンドデータ選択部42のデータをシーケンシャルに記録
する操作記録ファイル61が、このCADには設けられ
ている。操作記録ファイル61には、該操作記録ファイ
ル61に対して書き込み及び消去を行う操作記録制御部
62が接続されている。さらに、このCADシステム
は、図形データをメモリ上に保持する図形データテーブ
ル71と、図形データをハードディスクに保持した図形
データファイル72と、それら図形データテーブル71
と図形データファイル72間の書き込み及び読み取りを
管理する図形データ管理部73と、システム値をメモリ
上に保持するシステム値テーブル81と、システム値を
ハードディスク上に保持するシステム値ファイル82
と、それらシステム値テーブル81とシステム値ファイ
ル82間の書き込み及び読み取りを管理するシステム値
管理部83とを備えている。さらに、主処理部10は、
形データテーブル71の図形データ及びシステム値テ
ーブル81のシステム値を参照あるいは編集する構成と
なっている。また、図形データ管理部73が、操作再現
制御部52と操作記録制御部62を制御する構成であ
る。
[0007] 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 occurrence of a failure. An operation reproduction control unit 52 for reading and controlling data with respect to the operation reproduction file 51 is provided,
From the operation reproduction control unit 52 to each coordinate value data selection unit 22, fixed format data selection unit 32, and command data selection unit 4
2 is a configuration in which data is transmitted. The CAD is provided with an operation record file 61 for sequentially recording data of each coordinate value data selection unit 22, fixed format data selection unit 32, and command data selection unit 42. The operation recording file 61 is connected to an operation recording control unit 62 for writing and erasing the operation recording file 61. The CAD system further includes a graphic data table 71 for storing graphic data on a memory, a graphic data file 72 for storing graphic data on a hard disk, and a graphic data table 71 for storing the graphic data.
Data management unit 73 that manages writing and reading between the data and the graphic data file 72, a system value table 81 that stores system values on a memory, and a system value file 82 that stores system values on a hard disk
And a system value management unit 83 that manages writing and reading between the system value table 81 and the system value file 82. Further, the main processing unit 10
It has become a reference or editing configure the system value of the graphic data and the system value table 81 in FIG waveform data table 71. Further, 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中の操作イベ
ント制御部11の処理を示すフローチャートである。ス
テップS21において、キーボード及びマウスからユー
ザの操作によって発生するイベントの一つが、操作イベ
ント制御部11の処理によって取出される。ステップ
S22において、操作イベント制御部11は取出され
たイベントの内容を、呼び出し元の座標値入力部21、
書式入力部31、またはコマンド入力部41へ送出
する。図3は、図1中の座標値入力部21の処理を示す
フローチャートである。図3のステップS31におい
て、座標値入力部21は、操作イベント制御部11から
マウスに関するイベントを読取り、そのマウスの動き
に合わせて対応する画面上のマウスポインタを移動す
る。ステップS32において、マウスがクリックされた
ことが確認される。クリックがされていた場合の座標値
が、ステップS33で呼び出し元である座標値データ選
択部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 a process of the operation event control unit 11 in FIG . At step S21, a user is input from the keyboard and mouse.
One event that is generated by The operation is issued Ri taken by processing of the operation event control unit 11. In step S22, the operation event control unit 11 the contents of Installing issued event, the caller of the coordinate value input unit 21,
And it sends to the constant type format input unit 31 or the command input unit 41,. FIG. 3 is a flowchart showing the processing of the coordinate value input unit 21 in FIG. In step S31 in FIG. 3, the coordinate value input unit 21 takes read events on mice from the operation event control unit 11, the user moves the mouse pointer on the screen corresponding with the movement of the mouse. In step S32, it is confirmed that the mouse is clicked. The coordinate value in the case where the click has been performed is sent to the coordinate value data selection unit 22 that is the calling source in step S33.

【0009】図4は、図1中の座標値データ選択部22
における処理を示すフローチャートである。図4のステ
ップS41において、座標値データ選択部22は、操作
再現制御部52が、アクティブであるかどうかを確認す
る。操作再現制御部52が非アクティブである場合、ス
テップS42において、座標データ選択部22は座標
入力部21を呼び出して座標値に関する座標値データ
を受け取る。ステップS41で操作再現制御部52がア
クティブである場合、ステップS43で操作再現制御部
52を呼び出して座標値データを受け取る。即ち、デー
タベースの再現の際に、座標値データ選択部22は操作
再現制御部52から座標値データを受け取る。その後の
ステップS44において、座標データ選択部22は座
データを操作記録制御部62に伝達すると共に、ス
テップS45において、同一データを呼び出し元である
主処理部10に送出する。
FIG. 4 shows a coordinate value data selection unit 22 shown in FIG.
5 is a flowchart showing a process in. In step S41 in FIG. 4, the coordinate value data selection unit 22 checks whether the operation reproduction control unit 52 is active. When the operation reproduction control unit 52 is inactive, in step S42, the coordinate value data selection unit 22
The value input unit 21 is called to receive coordinate value data relating to the coordinate values. If the operation reproduction control unit 52 is active in step S41, the operation reproduction control unit 52 is called in step S43 to receive the coordinate value data. 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 subsequent step S44, the coordinate value data selection unit 22 transmits the coordinate value data to the operation record control unit 62, and in step S45, sends the same data to the main processing unit 10, which is the calling source.

【0010】図5は、図1中の定書式入力部31の処
理を示すフローチャートである。図5のステップS51
において、定書式入力部31は、操作イベント制御部
11から文字編集に関するイベントを読取り、定
式の画面上で文字及び文を入力及び編集する。ステッ
プS52において、マウスに対してユーザが確定を指示
したかを確認する。確定されていた場合、その確定した
書式に関する定書式データが、ステップS53で
呼び出し元である定書式データ選択部32に送出され
る。図6は、図1中の定書式データ選択部32の処理
を示すフローチャートである。図6のステップS61に
おいて、定書式データ選択部32は、操作再現制御部
52が、アクティブであるかどうかを確認する。操作再
現制御部52が非アクティブである場合、ステップS6
2において、定書式データ選択部32は定書式入力
部31を呼び出して定書式データを受け取る。ステッ
プS61で操作再現制御部52がアクティブである場
合、ステップS63で操作再現制御部52を呼び出して
書式データを受け取る。即ち、データベースの再現
の際に、定書式データ選択部32は操作再現制御部5
2から定書式データを受け取る。その後のステップS
64において、定書式データ選択部32は定書式デ
ータを操作記録制御部62に伝達すると共に、ステップ
S65において、同一データを呼び出し元である主処理
部10に送出する。
[0010] Figure 5 is a flowchart showing a process of a constant type format input unit 31 in FIG. Step S51 of FIG.
In the constant-type format input unit 31, Reads events related to the character edit operation event control unit 11, and inputs and edits the text and documents on the screen of the constant-type document <br/> expression. In step S52, it is confirmed whether or not the user has instructed confirmation with the mouse. If it has been determined, the constant-type format data relating <br/> constant type format that the finalized, is sent to the constant type format data selecting section 32 is the caller in step S53. Figure 6 is a flowchart showing a process of a constant type format data selection unit 32 in FIG. In step S61 in FIG. 6, the constant-type format data selection unit 32, the operation reproducing control unit 52 checks whether the active. If the operation reproduction control unit 52 is inactive, step S6
In 2, the constant-type format data selecting unit 32 receives a constant-type format data by calling the constant type format input section 31. If operation reproducing control unit 52 at step S61 is active, you receive <br/> constant type format data by calling the operation reproducing control unit 52 at step S63. That is, when the reproduction of the database, the constant type format data selector 32 operation reproducing control unit 5
Receive a 2 Karajo type format data. Subsequent step S
In 64, the constant-type format data selector 32 as well as transmits the constant-type format data manipulation to the recording control unit 62, in step S65, sends the same data to the main processor 10 is the caller.

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

【0012】図9は、図1中の操作再現制御部52の処
理を示すフローチャートである。図9のステップS91
において、操作再現制御部52は、操作再現ファイル5
1からシーケンシャルに1レコード分の操作データを読
出す。この操作データは、座標値データ、定書式デ
ータ、及びコマンドデータで構成されている。次に、ス
テップS92において、操作再現制御部52は読出し
た操作データが最終のレコードであるかどうかをチェッ
クする。その結果が最終レコードである場合、ステップ
S93において操作再現制御部52は、非アクティブと
され、ステップS9において、操作再現ファイル51
のデータが消去される。次のステップS95において、
操作データが各呼び出し元である座標値データ選択部2
2、定書式データ選択部32、及びコマンドデータ選
択部42へそれぞれ返される。図10は、図1中の操作
記録制御部62の処理を示すフローチャートである。図
10の(a)に示すように、操作記録消去処理が呼ばれ
た場合、ステップS101において、操作記録ファイル
61が操作記録制御部62によって消去される。図10
の(b)の操作記録処理が呼ばれた場合、ステップS1
02において、操作記録制御部62は各座標値データ選
択部22、定書式データ選択部32、及びコマンドデ
ータ選択部42から伝達された操作データ1レコード
として操作記録ファイル61に追加書き込みをする。即
ち、データベースに対して状態変化を及ぼすユーザの操
作を操作記録ファイル61に記録する記録処理が施され
る。
FIG. 9 is a flowchart showing the processing of the operation reproduction control section 52 in FIG. Step S91 in FIG.
In the operation reproduction control unit 52, the operation reproduction file 5
Read operation data for one record sequentially from 1
Out look. The operation data, coordinate value data, and a constant-type format data, and command data. Next, in step S92, operation reproducing control unit 52 checks whether the operation data out read is the last record. If the result is the last record, operation reproducing control unit 52 in step S93 is inactive, in step S9 4, operation reproducing files 51
Is erased. In the next step S95,
Coordinate value data selection unit 2 whose operation data is each caller
2, the constant-type format data selection unit 32, and returned, respectively to the command data selector 42. FIG. 10 is a flowchart showing the processing of the operation recording control unit 62 in FIG. As shown in FIG. 10A, when the operation record deletion process is called, the operation record file 61 is deleted by the operation record control unit 62 in step S101. FIG.
If the operation recording process of (b) is called, step S1
In 02, the operation recording control unit 62 operation recorded coordinate value data selecting section 22, the constant-type format data selection unit 32, and the operation data transmitted from the command data selecting section 42 as one record <br/> The file 61 is additionally written. That is, a recording process is performed to record in the operation recording file 61 the operation of the user who changes the state of the database.

【0013】図11は、図1中のシステム値管理部83
の処理を示すフローチャートである。図11の(a)に
示すシステム値登録処理が呼ばれた場合、ステップS1
11において、システム値管理部83がシステム値テー
ブル81の内容をシステム値ファイル82に上書きす
る。図11の(b)に示すシステム値取出し処理が呼
ばれた場合、ステップS112において、システム値管
理部83はシステム値ファイル82の内容をシステム値
テーブル81に格納する。図12は、図1中の図形デー
タ管理部73の処理を示すフローチャートである。図1
2の(a)に示す図形データ登録処理が呼ばれた場合、
ステップS121において、図形データ管理部73は図
形データテーブル71の内容を図形データファイル72
に上書きする。さらに、ステップS122において、図
形データ管理部73は、システム値管理部83のシステ
ム値登録処理を呼び出すとに、ステップS123にお
いて、操作記録制御部62の操作記録消去処理を呼び出
す。また、図12の(b)に示す図形データ取出し処
理が呼ばれた場合、ステップS124において、図形デ
ータ管理部73は図形データファイル72の内容を図形
データテーブル71に格納する。さらに、ステップS1
25において、図形データ管理部73は操作再現制御部
52を非アクティブにし、ステップS126で操作再現
ファイル51が存在するかどうかをチェックする。ここ
で、操作再現ファイル51が存在する場合、ステップS
127において、システム値を取り出し、ステップS1
において、図形データ管理部73は操作再現制御部
52をアクティブにする。その後、ステップS129に
おいて、図形データ管理部73は操作記録制御部62
操作記録消去処理を呼び出す。
FIG. 11 shows a system value management unit 83 shown in FIG.
6 is a flowchart showing the processing of FIG. When the system value registration process shown in FIG. 11A is called, step S1
In 11, the system value management unit 83 overwrites the contents of the system value table 81 on the system value file 82. If the processing issues Ri system Neto shown in is called (b) of FIG. 11, 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 73 in FIG. FIG.
When the graphic data registration process shown in FIG.
In step S121, the graphic data management unit 73 stores the contents of the graphic data table 71 in the graphic data file 72.
Overwrite Further, in step S122, the graphic data management unit 73, the co-calling system value registration process of the system value management unit 83, at step S123, calls the operation recording and erasing processing of the operation recording control unit 62. Also, if Ri out processing preparative graphic data shown in is called (b) of FIG. 12, in step S124, the graphic data managing unit 73 stores the contents of the graphic data file 72 to the graphic data table 71. Further, step S1
25, the graphic data management unit 73 includes an operation reproduction control unit.
52 is deactivated, and it is checked in step S126 whether the operation reproduction file 51 exists. Here, if the operation reproduction file 51 exists, step S
At 127, the system value is extracted, and step S1 is executed.
In 2 8, graphic data management unit 73 operation reproducing controller
Activate 52 . Thereafter, in step S129, the graphic data management unit 73 calls the operation record erasing process of the operation record control unit 62 .

【0014】図13は、図1中の主処理部10の処理を
示すフローチャートである。図13のステップS131
において、主処理部10は、図形データ管理部73の図
形データ取出し処理を呼び出し、次のステップS13
2において、コマンドデータ選択部42を呼出してコ
マンドデータであるコマンドメニューの値を受け取る。
ステップS133において、主処理部10はコマンドメ
ニューの値が図形登録コマンドを示しているかチェック
する。コマンドメニューの値が図形データ登録コマンド
である場合、ステップS134で、主処理部10は図形
データ管理部73の図形データ登録処理を呼出す。
テップS133において図形デ ータ登録コマンドでない
場合、ステップS135において、主処理部10は受け
取ったコマンドメニューの値が終了コマンドかどうかを
チェックする。終了コマンドを示している場合、主処理
部10は処理を終了する。受け取ったコマンドメニュー
の値が他のコマンドを示すときに、主処理部10はステ
ップS136においてそのコマンドに応じ、図形入力及
び編集を行う。
FIG. 13 is a flowchart showing the processing of the main processing section 10 in FIG. Step S131 of FIG.
In the main processing unit 10 calls the graphics data Eject processing graphic data management unit 73, the next step S13
In 2, receives the value of the command menu, a command data by issuing the command data selecting section 42 calls.
In step S133, the main processing unit 10 checks whether the value of the command menu indicates a figure registration command. If the value of the command menu is graphic data registration command, at step S134, the main processor 10 invoke graphical data registration processing of the graphic data management unit 73. S
Not a figure data registration command in step S133
In this case, in step S135, the main processing unit 10 checks whether the value of the received command menu is an end command. If it indicates an end command, the main processing unit 10 ends the processing. When the value of the received command menu indicates another command, the main processing unit 10 performs graphic input and editing in step S136 according to the command.

【0015】図1のCADシステムは、以上の各部の処
理に従って動作することによって、操作記録ファイル6
1に図13におけるステップS134の図形データ登録
以降のユーザの操作を記録する。このCADシステムに
障害が発生した場合、異常終了時に操作記録ファイル6
1を操作再現ファイル51に複写してシステムを起動す
ることで、主処理部10のステップS131の後、CA
Dシステムは障害発生時までの操作を自動的に再現す
る。この再現に際し、マウスの移動あるいは定型書式の
編集等の再現はされないので、このCADシステムは高
速な再現を可能としている。ここで、予め用意する操作
再現ファイル51を障害発生時の操作記録ファイル61
と同一のものにしておけば、障害までも再現できるの
で、障害解析が可能となり、また、障害発生時の操作記
録ファイル61の中の最後の1レコードを除いたもので
再現すれば、障害発生の直前の状態までシステムを復旧
することができる。以上のように、本実施例では、解析
に必要なデータの処理を、座標値入力部21、定型書式
入力部31及びコマンド入力部41と、座標値データ選
択部22、定型書式データ選択部32及びコマンドデー
タ選択部42とに分け、障害解析とデータ復旧に不要な
入力部21,31,41で取り扱われるマウスの操作履
歴や定型書式の編集等のデータは記録せずに、データ選
択部22,32,42によって判別された各データ処理
の結果データのみを操作記録ファイル61に記録する構
成になっている。そのため、操作記録ファイル61が小
さくて済み、システムの記憶容量を圧迫することがな
く、効率的である。このような機能は、ユーザが介在す
ることなく自動的に動作するので、ユーザはコマンドの
保存を意識することなくCADの操作に専念できる。
の上、CADシステムの障害の復旧のための操作再現時
にも、入力部21,31,41は介さず直接、データ選
択部22,32,42に制御命令を出力するので、取り
扱うデータを削減し、障害の復旧を高速化できる。さら
に、障害発生の原因解析も直接、障害の原因となるデー
タのみを実行できるので、解析が容易になる。しかも
図形データファイル72やシステム値ファイル82の更
新についても、コマンドデータを直接参照するので、効
率的に復旧できる。なお、本発明は、上記実施例に限定
されず種々の変形が可能である。例えば、必要により、
定型書式の編集等の情報を操作記録ファイル61に格納
して再現する方法としてもよい。
The CAD system shown in FIG. 1 operates in accordance with the processing of each of the above-described units, thereby obtaining the operation record file 6.
In FIG. 1, user operations after the registration of the graphic data in step S134 in FIG. 13 are recorded. If a failure occurs in this CAD system, the operation record file 6
1 is copied to the operation reproduction file 51 and the system is started up, so that after step S131 of the main processing unit 10, CA
The D system automatically reproduces the operation up to the time of the failure. At the time of this reproduction, since the movement of the mouse or the editing of the fixed format is not performed, this CAD system enables high-speed reproduction. Here, the operation reproduction file 51 prepared in advance is stored in the operation recording file
If it is the same as that of the above, even the failure can be reproduced, so that the failure analysis is possible. If the last record in the operation record file 61 at the time of the failure is removed, the failure can be reproduced. The system can be restored to the state immediately before. As described above, in the present embodiment, the processing of the data necessary for the analysis is performed by the coordinate value input unit 21, the fixed format input unit 31, the command input unit 41, the coordinate value data selection unit 22, and the fixed format data selection unit 32. And a command data selection unit 42. The data selection unit 22 does not record the data such as the operation history of the mouse and the editing of the fixed format handled by the input units 21, 31, and 41 which are unnecessary for the failure analysis and the data recovery. , 32, and 42, only the result data of each data processing determined in the operation record file 61 is recorded. Therefore, the operation record file 61 is small.
The system storage capacity.
And efficient. These functions require user intervention.
It works automatically without any
You can concentrate on CAD operation without worrying about preservation. So
In addition, at the time of reproducing the operation for restoring the failure of the CAD system, the control command is output directly to the data selection units 22, 32, 42 without passing through the input units 21, 31, 41, so that the data to be handled is reduced. , Can speed up the recovery of failures. Further, since the analysis of the cause of the failure can be directly performed only on the data that causes the failure, the analysis is facilitated. Moreover ,
The updating of the graphic data file 72 and the system value file 82 can be efficiently restored because the command data is directly referred to. The present invention is not limited to the above-described embodiment, and various modifications are possible. For example, if necessary
Information such as editing of a fixed format may be stored in the operation record file 61 and reproduced.

【0016】[0016]

【発明の効果】以上詳細に説明したように、本発明によ
れば、ユーザの操作が、CADシステムの状態に影響を
及ぼさない操作であるか、CADシステムの状態に影響
を及ぼす操作であるかをユーザの操作毎に選択した後、
該CADシステムの状態に影響を及ぼす操作のみを操作
記録ファイルに記録するので、操作記録ファイルが小さ
くて済み、システムの記憶容量を圧迫することがなく、
効率的である。このような機能は、ユーザが介在するこ
となく自動的に動作する。CADの操作において障害が
起こることを予め知ることは難しいので、本発明のよう
に作業中に自動的にデータ復旧に必要なコマンドのみが
選択的に記録される方法が有効であり、これにより、ユ
ーザはコマンドの記録を意識することなくCADの操作
に専念できるという効果がある。その上、障害発生時
に、操作記録ファイルに記録された操作の履歴に基づ
き、ユーザの操作を再現するようにしたので、障害発生
時において詳細に動作を再現でき、簡単かつ的確に障害
を解析できる。しかも、操作記録ファイルに記録され
た、CADシステムの状態に影響を及ぼす操作の履歴を
用いて、操作を再現するので、取り扱うデータ量を削減
でき、障害発生後の復旧を高速化できる。
As described above, according to the present invention, the operation of the user influences the state of the CAD system.
Operation that does not affect or affects the state of the CAD system
Is selected for each user operation,
Operate only operations that affect the state of the CAD system
The operation record file is small because it is recorded in a record file.
Without tying up the storage capacity of the system.
It is efficient. Such functions may require user intervention.
It works automatically. Obstacles in CAD operation
It is difficult to know in advance what will happen,
Only the commands necessary for data recovery automatically while working
A selective recording method is effective, which allows users to
User can operate CAD without being aware of command recording
The effect is that you can concentrate on In addition, when a failure occurs, the operation of the user is reproduced based on the operation history recorded in the operation record file, so that the operation can be reproduced in detail when the failure occurs, and the failure can be analyzed easily and accurately. . In addition, since the operation is reproduced using the operation history that affects the state of the CAD system, which is recorded in the operation record file, the amount of data to be handled can be reduced, and the recovery after the occurrence of the failure can be accelerated.

【図面の簡単な説明】[Brief description of the 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 a process of an operation event control unit in FIG. 1;

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

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

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

【図6】図1中の定書式データ選択部の処理を示すフ
ローチャートである。
6 is a flowchart illustrating a process of a constant type format data selecting section in FIG.

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

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

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

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

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

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

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

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

10 主処理部 11 操作イベント制御部 21 座標値入力部 31 定書式入力部 41 コマンド入力部 51 操作再現ファイル 52 操作再現制御部 61 操作記録ファイル 62 操作記録制御部 71 図形データテーブル 72 図形データファイル 73 図形データ管理部10 main processor 11 operation event controller 21 coordinates the input unit 31 constant type format input section 41 a command input unit 51 operation reproducing file 52 operation reproducing control unit 61 operation record file 62 operation recording control unit 71 the graphic data table 72 the graphic data file 73 Graphic data management unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 3/02 G06F 11/00 330 G06F 17/50 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 3/02 G06F 11/00 330 G06F 17/50

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 CADシステムの障害時に該障害に対す
る解析を行うと共にデータベースを復旧するCADシス
テムの障害時における復旧方法において、 前記CADシステムの使用中に行われるユーザの操作
前記CADシステムの状態に影響を及ぼさない操作
であるか、前記CADシステムの状態に影響を及ぼす操
であるかを前記操作毎に選択し、前記CADシステム
の状態に影響を及ぼす操作の履歴のみを操作記録ファイ
ルに記録する記録処理を行い、 前記障害が発生した場合、前記操作記録ファイルに記録
された前記CADシステムの状態に影響を及ぼす操作の
履歴に基づき、前記CADシステムを起動して前記障害
の発生するまでの前記ユーザの操作を再現することを特
徴とするCADシステムの障害時における復旧方法。
1. A method for analyzing a failure of a CAD system and restoring a database in the event of a failure in the CAD system, wherein a user operation is performed during use of the CAD system.
Operation but, that does not affect the state of the CAD system
Or an operation that affects the state of the CAD system is selected for each operation, and a recording process of recording only the history of operations that affect the state of the CAD system in an operation record file is performed. When the failure occurs, the operation of the user until the failure occurs by activating the CAD system is reproduced based on a history of operations affecting the state of the CAD system recorded in the operation record file. A method for recovering from a failure in a CAD system.
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 JPH07295714A (en) 1995-11-10
JP3300156B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5935658B2 (en) * 2012-10-26 2016-06-15 富士通株式会社 Design support program, method and apparatus

Also Published As

Publication number Publication date
JPH07295714A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
JP3793226B2 (en) Atomic command system
JP4631562B2 (en) Information processing apparatus, information processing method, and computer program
JP3227066B2 (en) Program generation method using program parts
JP3754838B2 (en) COMPOSITE FORM EDITING DEVICE, COMPOSITE FORM EDITING METHOD, AND PROGRAM STORAGE MEDIUM
JP3300156B2 (en) Recovery method in case of CAD system failure
JP2003036130A (en) User operation management processing program, and method and device for user operation management
JP3271682B2 (en) Input event recording / playback device
JP3612387B2 (en) Information processing apparatus and control method therefor
EP0497283A2 (en) A document processor
JP4259896B2 (en) Operation recording / playback program
JP3064944B2 (en) Data recovery method and data recovery method for computer system
JPH09168009A (en) Network operation information setting system
JPH06131334A (en) Page pointing document processor
JPH08137837A (en) Method and device for document processing
JP2878159B2 (en) Transaction processing system
JP4261649B2 (en) Image processing apparatus, method, and recording medium
JP3371374B2 (en) Data processing device and data processing method
JPH07262345A (en) Multimedia presentation editing method
JP3056128B2 (en) Work area securing method
JP3614091B2 (en) Job schedule operation management apparatus, job schedule operation management method, and program recording medium
JP4792950B2 (en) Data management device
KR100269172B1 (en) Script file generator for hard disk master manufacturing system
JPH02250166A (en) Information processor
JPH02139616A (en) Input system for information processor
JP2000112785A (en) Program test support device and storage medium recording program test support program

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