JPH07295874A - Cad system - Google Patents

Cad system

Info

Publication number
JPH07295874A
JPH07295874A JP6089327A JP8932794A JPH07295874A JP H07295874 A JPH07295874 A JP H07295874A JP 6089327 A JP6089327 A JP 6089327A JP 8932794 A JP8932794 A JP 8932794A JP H07295874 A JPH07295874 A JP H07295874A
Authority
JP
Japan
Prior art keywords
database
failure
drawing data
management unit
unit
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
JP6089327A
Other languages
Japanese (ja)
Inventor
Naoyo Nomura
尚世 野村
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP6089327A priority Critical patent/JPH07295874A/en
Publication of JPH07295874A publication Critical patent/JPH07295874A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To eliminate the time needed for stopping the service by restoring a 1st drawing data base after an access is finished to a 2nd drawing data base if a failure is detected when an access is given to the 1st drawing data base. CONSTITUTION:If a failure is detected when the accesses are secured between an external storage 5 or a drawing storage 13 and the drawing data bases 17 and 18 which store the same drawing data, a data base management part 15 performs the changeover between both bases 17 and 18 based on the contents of a drawing management part 16. When the access is finished between the switched drawing data base and the storage 5 or the storage 13, the part 15 restores toe drawing data base having the failure in the background of a normal access given to the switched drawing data base. Thus the failure drawing data base can be instantaneously switched to the nondefective one. As a result, a user can use both data bases 17 and 18 regardless of occurrence of a failure and with no stop time caused for use of these data bases.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はCADシステムに関し、
特に図面データを格納する図面データベースの復旧方法
に関する。
BACKGROUND OF THE INVENTION The present invention relates to a CAD system,
In particular, it relates to a method for restoring a drawing database that stores drawing data.

【0002】[0002]

【従来の技術】従来、CADシステムにおいては、作成
した図面データあるいは参照する図面データが一つの図
面データベースに格納されており、その図面データベー
スの内容を外部記憶装置に記憶するようになっている。
2. Description of the Related Art Conventionally, in a CAD system, created drawing data or referenced drawing data is stored in one drawing database, and the contents of the drawing database are stored in an external storage device.

【0003】よって、図面データベースに障害が発生し
た場合には、外部記憶装置に記憶されている図面データ
を図面データベースに読込んで複写することによって、
図面データベースの復旧を行っている。
Therefore, when a failure occurs in the drawing database, the drawing data stored in the external storage device is read into the drawing database and copied.
The drawing database is being restored.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のCAD
システムでは、図面データベースに障害が発生した場合
に外部記憶装置に記憶されている図面データを読込んで
複写することでその復旧を行っているので、外部記憶装
置からの図面データの読込みに時間がかかり、その間図
面データベースの使用を停止しなければならない。
SUMMARY OF THE INVENTION Conventional CAD described above
In the system, when a failure occurs in the drawing database, the drawing data stored in the external storage device is read and copied to restore it, so it takes time to read the drawing data from the external storage device. During that time, the use of the drawing database must be stopped.

【0005】また、図面データの更新時にはその更新し
た図面データを外部記憶装置にも記憶させておかなけれ
ばならず、外部記憶装置に図面データがなければ図面デ
ータベースの復旧を行うことができない。
Further, when the drawing data is updated, the updated drawing data must be stored also in the external storage device, and the drawing database cannot be restored without the drawing data in the external storage device.

【0006】そこで、本発明の目的は上記の問題点を解
消し、図面データベースの利用者が障害の発生を意識す
ることなくかつ使用停止時間をなくすことができ、外部
記憶装置に図面データがなくても図面データベースの復
旧を行うことができるCADシステムを提供することに
ある。
Therefore, the object of the present invention is to solve the above-mentioned problems, to allow the user of the drawing database to be aware of the occurrence of a failure and to eliminate the use stop time, so that there is no drawing data in the external storage device. Even so, it is to provide a CAD system capable of restoring the drawing database.

【0007】[0007]

【課題を解決するための手段】本発明によるCADシス
テムは、同一の図面データを夫々格納する第1及び第2
の図面データベースと、前記第1の図面データベースに
対するアクセス時に障害が検出されたときに前記第2の
図面データベースへのアクセスに切換える切換手段と、
前記切換手段による切換時に前記第2の図面データベー
スへのアクセスが終了した後に前記第1の図面データベ
ースの復旧を行う手段とを備えている。
A CAD system according to the present invention stores first and second identical drawing data, respectively.
Drawing database, and switching means for switching to access to the second drawing database when a failure is detected during access to the first drawing database.
And a means for restoring the first drawing database after the access to the second drawing database is completed at the time of switching by the switching means.

【0008】本発明による他のCADシステムは、上記
の構成のほかに、前記障害が発生したときに前記切換手
段によって切換えられた図面データベースに対してアク
セスされた図面データを示す図面情報を格納する格納手
段を具備している。
In addition to the above structure, another CAD system according to the present invention stores drawing information indicating drawing data accessed to the drawing database switched by the switching means when the failure occurs. A storage means is provided.

【0009】本発明による別のCADシステムは、上記
の構成のほかに、前記障害が発生したときに前記切換手
段によって切換えられた図面データベースに対してアク
セスされた図面データを一時記憶する記憶手段を具備
し、前記記憶手段の内容に基づいて図面データベースの
復旧を行うようにしている。
In another CAD system according to the present invention, in addition to the above-mentioned structure, a storage means for temporarily storing the drawing data accessed to the drawing database switched by the switching means when the failure occurs. The drawing database is restored based on the contents of the storage means.

【0010】本発明によるさらに別のCADシステム
は、上記の構成のほかに、前記障害が発生した図面デー
タベースを特定する情報を保持する手段と、現在使用中
の図面データベースを特定する情報を保持する手段とを
具備し、これらの情報を基に前記切換手段により図面デ
ータベースの切換えを行うようにしている。
Still another CAD system according to the present invention has, in addition to the above-mentioned configuration, means for holding information for specifying the drawing database in which the failure has occurred, and information for specifying the drawing database currently in use. Means, and the drawing database is switched by the switching means based on these information.

【0011】[0011]

【作用】データベース管理部は外部記憶装置または図面
記憶部と複数の図面データベースとのアクセス時に障害
を検出すると、図面管理部の内容を基に図面データベー
スの切換えを行う。
When the database management unit detects a failure when accessing the external storage device or drawing storage unit and a plurality of drawing databases, the database management unit switches the drawing databases based on the contents of the drawing management unit.

【0012】データベース管理部は切換えた図面データ
ベースと外部記憶装置または図面記憶部とのアクセスが
終了すると、切換えた図面データベースに対する通常の
アクセスのバックグラウンドで、障害が発生した図面デ
ータベースの復旧を行う。
Upon completion of access to the switched drawing database and the external storage device or drawing storage unit, the database management unit restores the failed drawing database in the background of normal access to the switched drawing database.

【0013】これによって、障害が発生しても正常な図
面データベースに即座に切換えられるため、図面データ
ベースの利用者が障害の発生を意識することはなく、か
つ使用停止時間もない。
Thus, even if a failure occurs, the normal drawing database can be immediately switched to, so that the user of the drawing database is not aware of the occurrence of the failure and there is no downtime.

【0014】また、複数の図面データベースの同一性は
常に保たれているため、外部記憶装置に障害が発生した
図面データがなくても、正常な図面データベースによっ
て障害が発生した図面データベースの復旧が可能とな
る。
Further, since the plurality of drawing databases are always kept the same, it is possible to restore the failed drawing database by the normal drawing database even if the external storage device has no failed drawing data. Becomes

【0015】[0015]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0016】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、CADシステム1は機能選
択部11と、図面作成編集部12と、図面記憶部13
と、プロッタ出力部14と、データベース管理部15
と、図面管理部16と、図面データベース17,18と
から構成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, the CAD system 1 includes a function selection unit 11, a drawing creation / editing unit 12, and a drawing storage unit 13.
, Plotter output unit 14 and database management unit 15
And a drawing management unit 16 and drawing databases 17 and 18.

【0017】機能選択部11は入力装置2から入力され
る命令に応じて図面作成編集部12とプロッタ出力部1
4とデータベース管理部15とのうち少なくとも一つを
選択する。また、機能選択部11は図面作成編集部12
とプロッタ出力部14とデータベース管理部15とが夫
々扱う図面データをディスプレイ部3に表示する。
The function selecting section 11 is provided with a drawing creating / editing section 12 and a plotter output section 1 according to a command input from the input device 2.
4 and the database management unit 15 are selected. Further, the function selection unit 11 is the drawing creation / editing unit 12
The drawing data handled by the plotter output unit 14 and the database management unit 15 are displayed on the display unit 3.

【0018】図面作成編集部12は直線や円、あるいは
文字等の形状データを、ディスプレイ部3の表示画面を
見ながら入力される入力装置2からの入力にしたがって
生成し、それら形状データを含む図面データの編集を行
う。図面記憶部13は図面作成編集部12で作成編集さ
れる図面データを一時記憶する。
The drawing creation / editing unit 12 generates shape data such as a straight line, a circle, or characters in accordance with an input from the input device 2 which is input while looking at the display screen of the display unit 3, and a drawing including the shape data. Edit the data. The drawing storage unit 13 temporarily stores the drawing data created and edited by the drawing creation and editing unit 12.

【0019】プロッタ出力部14は入力装置2からプロ
ッタ出力命令が入力されると、図面記憶部13または図
面データベース17,18に記憶されている図面データ
を読込み、プロッタ4に出力して所定の用紙上にプロッ
トする。
When the plotter output command is input from the input device 2, the plotter output unit 14 reads the drawing data stored in the drawing storage unit 13 or the drawing databases 17 and 18 and outputs the drawing data to the plotter 4 to output a predetermined paper. Plot above.

【0020】データベース管理部15は図面記憶部13
に一時記憶されている図面データや外部記憶装置5に格
納されている図面データの図面データベース17,18
への格納や、図面データベース17,18に格納されて
いる図面データの図面記憶部13や外部記憶装置5への
読込み及び格納を行う。
The database management unit 15 is a drawing storage unit 13.
Database 17 and 18 of drawing data temporarily stored in the external storage device 5 and drawing data stored in the external storage device 5.
And drawing data stored in the drawing databases 17 and 18 are read and stored in the drawing storage unit 13 and the external storage device 5.

【0021】図面管理部16はデータベース管理部15
が図面データの読込みや格納を行う図面データベース1
7,18における図面データのやりとりの管理を行うと
ともに、図面データベース17,18の管理情報を格納
する。
The drawing management unit 16 is a database management unit 15.
Drawing database 1 for reading and storing drawing data
It manages the exchange of drawing data in 7 and 18, and stores the management information of the drawing databases 17 and 18.

【0022】図2は図1の図面管理部16の管理情報テ
ーブルの構成を示す図である。図において、管理情報テ
ーブル16aは使用データベース名格納領域16bと、
障害データベース名格納領域16cと、障害図面名格納
領域16dとから構成されている。
FIG. 2 is a diagram showing the structure of the management information table of the drawing management unit 16 of FIG. In the figure, the management information table 16a includes a used database name storage area 16b,
It is composed of a failure database name storage area 16c and a failure drawing name storage area 16d.

【0023】使用データベース名格納領域16bは現在
使用中の図面データベースを示す使用データベース名を
格納し、障害データベース名格納領域16cは障害が発
生した図面データベースを示す障害データベース名を格
納する。
The used database name storage area 16b stores a used database name indicating a drawing database currently in use, and the failure database name storage area 16c stores a failure database name indicating a drawing database in which a failure has occurred.

【0024】障害図面名格納領域16dは使用データベ
ース名格納領域16bに格納された使用データベース名
の図面データベースと、障害データベース名格納領域1
6cに格納された障害データベース名の図面データベー
スとの切換えが行われたときに、その切換えから復旧処
理までの間に使用データベース名の図面データベースに
対して参照または格納が新たに行われた図面データ、つ
まり障害がおこっている図面データを示す障害図面名A
〜Nを格納する。
The failure drawing name storage area 16d is a drawing database of the usage database name stored in the usage database name storage area 16b and the failure database name storage area 1
When the fault database name stored in 6c is switched to the drawing database, the drawing data newly referenced or stored in the drawing database of the used database name between the switching and the restoration process. , That is, faulty drawing name A indicating the faulty drawing data
Store ~ N.

【0025】図3〜図8は図1のデータベース管理部1
5の動作を示すフローチャートである。これら図1〜図
8を用いて本発明の一実施例の動作について説明する。
FIGS. 3 to 8 show the database management unit 1 of FIG.
6 is a flowchart showing the operation of FIG. The operation of the embodiment of the present invention will be described with reference to FIGS.

【0026】入力装置2は例えばキーボードやタッチパ
ネル、またはマウス、あるいはスタイラスペン等であ
る。この入力装置2から種々の命令がCADシステム1
に入力されると、機能選択部11はその命令内容に応じ
て図面作成編集部12とプロッタ出力部14とデータベ
ース管理部15とのうち一つを選択する。
The input device 2 is, for example, a keyboard, a touch panel, a mouse, a stylus pen, or the like. Various commands are input from the input device 2 to the CAD system 1.
Function selection unit 11 selects one of the drawing creation / editing unit 12, plotter output unit 14, and database management unit 15 in accordance with the contents of the command.

【0027】機能選択部11は選択した回路で扱われる
図面データをディスプレイ部3に形状データとして画像
表示したり、プロッタ4に出力して印刷したり、あるい
は外部記憶装置5に格納したりする。
The function selection unit 11 displays the drawing data handled by the selected circuit as image data on the display unit 3, outputs it to the plotter 4 for printing, or stores it in the external storage device 5.

【0028】すなわち、機能選択部11は入力装置2か
ら図面作成編集部12を選択する命令が入力されると、
図面作成編集部12を呼出す。図面作成編集部12は入
力装置2から入力された命令にしたがって直線や円、あ
るいは文字等の形状データを図面記憶部13上に作成編
集していく。
That is, when the function selecting section 11 receives an instruction to select the drawing creating / editing section 12 from the input device 2,
The drawing creation / editing unit 12 is called. The drawing creation / editing unit 12 creates and edits shape data such as straight lines, circles, and characters in the drawing storage unit 13 in accordance with a command input from the input device 2.

【0029】操作者はディスプレイ部3に表示された画
像データを見ながら入力装置2から各種命令を入力する
ことで、必要な形状データ、つまり各種命令に沿った形
状データを作成編集していく。
The operator inputs various commands from the input device 2 while looking at the image data displayed on the display unit 3 to create and edit necessary shape data, that is, shape data according to the various commands.

【0030】また、機能選択部11は入力装置2からプ
ロッタ出力部14を選択する命令が入力されると、プロ
ッタ出力部14を呼出す。プロッタ出力部14はプロッ
タ4に出力する図面データが図面記憶部13にある場
合、図面記憶部13から該当する図面データを読込んで
プロッタ4に出力する。
Further, the function selection unit 11 calls the plotter output unit 14 when a command for selecting the plotter output unit 14 is input from the input device 2. If the drawing data to be output to the plotter 4 is in the drawing storage unit 13, the plotter output unit 14 reads the corresponding drawing data from the drawing storage unit 13 and outputs it to the plotter 4.

【0031】プロッタ出力部14はプロッタ4に出力す
る図面データが図面記憶部13にない場合、データベー
ス管理部15及び図面管理部16を通して図面データベ
ース17,18のうち現在使用中のものから該当する図
面データを読込んでプロッタ4に出力する。
If the drawing data to be output to the plotter 4 does not exist in the drawing storage unit 13, the plotter output unit 14 passes through the database management unit 15 and the drawing management unit 16 the drawing that is currently in use among the drawing databases 17 and 18. The data is read and output to the plotter 4.

【0032】プロッタ4ではプロッタ出力部14から送
られてきた図面データに基づいて、所定の用紙上に図面
をプロットする。
The plotter 4 plots a drawing on a predetermined sheet based on the drawing data sent from the plotter output unit 14.

【0033】さらに、機能選択部11は入力装置2から
データベース管理部15を選択する命令が入力される
と、データベース管理部15を呼出す。データベース管
理部15は入力装置2からの命令が外部記憶装置5から
の図面データの読込みか、外部記憶装置5への図面デー
タの格納か、図面データの読込みか、図面データの格納
かを夫々判定する(図3ステップS1〜S4)。
Further, the function selecting section 11 calls the database managing section 15 when a command for selecting the database managing section 15 is inputted from the input device 2. The database management unit 15 determines whether the command from the input device 2 is reading the drawing data from the external storage device 5, storing the drawing data in the external storage device 5, reading the drawing data, or storing the drawing data, respectively. (FIG. 3, steps S1 to S4).

【0034】次に、データベース管理部15は上記の各
処理において図面データベース17,18の切換えが行
われたかを判定し(図3ステップS5)、図面データベ
ース17,18の切換えが行われていなければ処理終了
かを判定する(図3ステップS7)。データベース管理
部15は処理終了であれば処理を終了し、処理終了でな
ければステップS1に戻る。
Next, the database management unit 15 determines whether the drawing databases 17 and 18 have been switched in each of the above processes (step S5 in FIG. 3), and if the drawing databases 17 and 18 have not been switched. It is determined whether the processing is completed (step S7 in FIG. 3). The database management unit 15 ends the process if the process is completed, and returns to step S1 if the process is not completed.

【0035】一方、データベース管理部15は図面デー
タベース17,18の切換えが行われていれば、切換え
が行われてから復旧処理が起動されるまでに参照または
格納された図面名、つまり障害がおこっている障害図面
名を管理情報テーブル16aの障害図面名格納領域16
dに書込み、復旧処理を起動する(図3ステップS
6)。
On the other hand, if the drawing databases 17 and 18 are switched, the database management unit 15 causes a drawing name referred to or stored, that is, a failure occurs between the switching and the restoration process is started. The faulty drawing name storage area 16 of the management information table 16a
Write to d and start the recovery process (step S in FIG. 3).
6).

【0036】その後に、データベース管理部15は処理
終了かを判定し(図3ステップS7)、データベース管
理部15は処理終了であれば処理を終了し、処理終了で
なければステップS1に戻る。
After that, the database management unit 15 determines whether the processing is completed (step S7 in FIG. 3). If the processing is completed, the database management unit 15 terminates the processing, and if the processing is not completed, the processing returns to step S1.

【0037】データベース管理部15は上記の判定で入
力装置2からの命令が外部記憶装置5からの図面データ
の読込みであると判定すると、管理情報テーブル16a
の使用データベース名格納領域16bから現在使用中の
図面データベースのデータベース名を取出す(図4ステ
ップS8)。
When the database management unit 15 determines in the above determination that the command from the input device 2 is the reading of the drawing data from the external storage device 5, the management information table 16a.
The database name of the drawing database currently in use is fetched from the used database name storage area 16b (step S8 in FIG. 4).

【0038】データベース管理部15は現在使用中の図
面データベースに外部記憶装置5から図面データを読込
む(図4ステップS9)。このとき、データベース管理
部15は外部記憶装置5からの図面データの読込みで障
害が発生したか否かを判断する(図4ステップS1
0)。
The database management unit 15 reads the drawing data from the external storage device 5 into the drawing database currently in use (step S9 in FIG. 4). At this time, the database management unit 15 determines whether a failure has occurred in reading the drawing data from the external storage device 5 (step S1 in FIG. 4).
0).

【0039】データベース管理部15は外部記憶装置5
からの図面データの読込みで障害が発生しなければ、ス
テップS5の判定に移行する。
The database management unit 15 is the external storage device 5.
If there is no failure in reading the drawing data from, the process proceeds to the determination in step S5.

【0040】データベース管理部15は外部記憶装置5
からの図面データの読込みで障害が発生すると、現在使
用中の図面データベースを待機中の図面データベースに
切換える(図4ステップS11)。
The database management unit 15 is the external storage device 5.
If a failure occurs in reading the drawing data from the, the currently used drawing database is switched to the waiting drawing database (step S11 in FIG. 4).

【0041】すなわち、データベース管理部15は管理
情報テーブル16aの使用データベース名格納領域16
bから現在使用中の図面データベースのデータベース名
を取出して障害データベース名格納領域16cに書込
む。
That is, the database management unit 15 uses the database name storage area 16 of the management information table 16a.
The database name of the drawing database currently in use is retrieved from b and written in the failure database name storage area 16c.

【0042】続いて、データベース管理部15は待機中
の障害がおきていない図面データベースのデータベース
名を管理情報テーブル16aの使用データベース名格納
領域16bに書込む。
Subsequently, the database management unit 15 writes the database name of the drawing database in the standby state in which no failure has occurred in the used database name storage area 16b of the management information table 16a.

【0043】データベース管理部15は管理情報テーブ
ル16aの使用データベース名格納領域16bに書込ん
だデータベース名の図面データベースに外部記憶装置5
から図面データを読込む(図4ステップS12)。この
後に、データベース管理部15はステップS5の判定に
移行する。
The database management unit 15 stores the external storage device 5 in the drawing database having the database name written in the used database name storage area 16b of the management information table 16a.
The drawing data is read from (step S12 in FIG. 4). After that, the database management unit 15 proceeds to the determination of step S5.

【0044】また、データベース管理部15は上記の判
定で入力装置2からの命令が外部記憶装置5への図面デ
ータの格納であると判定すると、管理情報テーブル16
aの使用データベース名格納領域16bから現在使用中
の図面データベースのデータベース名を取出す(図5ス
テップS13)。
If the database management unit 15 determines in the above determination that the command from the input device 2 is to store the drawing data in the external storage device 5, the management information table 16
The database name of the drawing database currently in use is retrieved from the used database name storage area 16b of a (step S13 in FIG. 5).

【0045】データベース管理部15は現在使用中の図
面データベースから外部記憶装置5に図面データを格納
する(図5ステップS14)。このとき、データベース
管理部15は外部記憶装置5への図面データの格納で障
害が発生したか否かを判断する(図5ステップS1
5)。
The database management unit 15 stores the drawing data from the currently used drawing database in the external storage device 5 (step S14 in FIG. 5). At this time, the database management unit 15 determines whether or not a failure has occurred in storing the drawing data in the external storage device 5 (step S1 in FIG. 5).
5).

【0046】データベース管理部15は外部記憶装置5
への図面データの格納で障害が発生しなければ、ステッ
プS5の判定に移行する。
The database management unit 15 is the external storage device 5.
If there is no failure in storing the drawing data in, the process proceeds to the determination in step S5.

【0047】データベース管理部15は外部記憶装置5
への図面データの格納で障害が発生すると、現在使用中
の図面データベースを待機中の図面データベースに切換
える(図5ステップS16)。
The database management unit 15 is the external storage device 5.
If a failure occurs in storing the drawing data in the drawing database, the drawing database currently in use is switched to the waiting drawing database (step S16 in FIG. 5).

【0048】すなわち、データベース管理部15は管理
情報テーブル16aの使用データベース名格納領域16
bから現在使用中の図面データベースのデータベース名
を取出して障害データベース名格納領域16cに書込
む。
That is, the database management unit 15 uses the database name storage area 16 of the management information table 16a.
The database name of the drawing database currently in use is retrieved from b and written in the failure database name storage area 16c.

【0049】続いて、データベース管理部15は待機中
の障害がおきていない図面データベースのデータベース
名を管理情報テーブル16aの使用データベース名格納
領域16bに書込む。
Next, the database management unit 15 writes the database name of the drawing database in the standby state in which no failure has occurred in the used database name storage area 16b of the management information table 16a.

【0050】データベース管理部15は管理情報テーブ
ル16aの使用データベース名格納領域16bに書込ん
だデータベース名の図面データベースから外部記憶装置
5に図面データを格納する(図5ステップS17)。こ
の後に、データベース管理部15はステップS5の判定
に移行する。
The database management unit 15 stores the drawing data in the external storage device 5 from the drawing database having the database name written in the used database name storage area 16b of the management information table 16a (step S17 in FIG. 5). After that, the database management unit 15 proceeds to the determination of step S5.

【0051】さらに、データベース管理部15は上記の
判定で入力装置2からの命令が図面データの読込み命令
であると判定すると、管理情報テーブル16aの使用デ
ータベース名格納領域16bから現在使用中の図面デー
タベースのデータベース名を取出す(図6ステップS1
8)。
Further, when the database management unit 15 determines in the above determination that the command from the input device 2 is a command for reading drawing data, the drawing database currently used from the used database name storage area 16b of the management information table 16a. Database name (step S1 in FIG. 6)
8).

【0052】データベース管理部15は現在使用中の図
面データベースから図面記憶部13に図面データを読込
み(図6ステップS19)、その図面データをディスプ
レイ部3に表示する。このとき、データベース管理部1
5は図面記憶部13への図面データの読込みで障害が発
生したか否かを判断する(図6ステップS20)。
The database management unit 15 reads the drawing data from the drawing database currently in use into the drawing storage unit 13 (step S19 in FIG. 6) and displays the drawing data on the display unit 3. At this time, the database management unit 1
Reference numeral 5 determines whether or not a failure has occurred in reading the drawing data into the drawing storage unit 13 (step S20 in FIG. 6).

【0053】データベース管理部15は図面記憶部13
への図面データの読込みで障害が発生しなければ、ステ
ップS5の判定に移行する。
The database management unit 15 is the drawing storage unit 13
If there is no failure in reading the drawing data into, the process proceeds to the determination in step S5.

【0054】データベース管理部15は図面記憶部13
への図面データの読込みで障害が発生すると、現在使用
中の図面データベースを待機中の図面データベースに切
換える(図6ステップS21)。
The database management unit 15 is the drawing storage unit 13
When a failure occurs in reading the drawing data into the drawing database, the drawing database currently in use is switched to the waiting drawing database (step S21 in FIG. 6).

【0055】すなわち、データベース管理部15は管理
情報テーブル16aの使用データベース名格納領域16
bから現在使用中の図面データベースのデータベース名
を取出して障害データベース名格納領域16cに書込
む。
That is, the database management unit 15 uses the database name storage area 16 of the management information table 16a.
The database name of the drawing database currently in use is retrieved from b and written in the failure database name storage area 16c.

【0056】続いて、データベース管理部15は待機中
の障害がおきていない図面データベースのデータベース
名を管理情報テーブル16aの使用データベース名格納
領域16bに書込む。
Subsequently, the database management unit 15 writes the database name of the drawing database in the standby state in which no failure has occurred in the used database name storage area 16b of the management information table 16a.

【0057】データベース管理部15は管理情報テーブ
ル16aの使用データベース名格納領域16bに書込ん
だデータベース名の図面データベースから図面記憶部1
3に図面データを読込む(図6ステップS22)。この
後に、データベース管理部15はステップS5の判定に
移行する。
The database management unit 15 determines the drawing storage unit 1 from the drawing database having the database name written in the used database name storage area 16b of the management information table 16a.
3 is loaded with the drawing data (step S22 in FIG. 6). After that, the database management unit 15 proceeds to the determination of step S5.

【0058】さらにまた、データベース管理部15は上
記の判定で入力装置2からの命令が図面データの格納命
令であると判定すると、管理情報テーブル16aの使用
データベース名格納領域16bから現在使用中の図面デ
ータベースのデータベース名を取出す(図7ステップS
23)。
Furthermore, when the database management unit 15 determines in the above determination that the command from the input device 2 is the drawing data storage command, the drawing currently used from the used database name storage area 16b of the management information table 16a. Extract the database name of the database (Fig. 7 Step S)
23).

【0059】データベース管理部15は現在使用中の図
面データベースに図面記憶部13から図面データを格納
する(図6ステップS24)。このとき、データベース
管理部15は図面記憶部13からの図面データの格納で
障害が発生したか否かを判断する(図6ステップS2
5)。
The database management unit 15 stores the drawing data from the drawing storage unit 13 in the drawing database currently in use (step S24 in FIG. 6). At this time, the database management unit 15 determines whether a failure has occurred in storing the drawing data from the drawing storage unit 13 (step S2 in FIG. 6).
5).

【0060】データベース管理部15は図面記憶部13
からの図面データの格納で障害が発生しなければ、ステ
ップS5の判定に移行する。
The database management unit 15 is the drawing storage unit 13
If there is no failure in the storage of the drawing data from 1), the process proceeds to the determination in step S5.

【0061】データベース管理部15は図面記憶部13
からの図面データの格納で障害が発生すると、現在使用
中の図面データベースを待機中の図面データベースに切
換える(図7ステップS26)。
The database management unit 15 is a drawing storage unit 13.
If a failure occurs in the storage of the drawing data from (1), the currently used drawing database is switched to the waiting drawing database (step S26 in FIG. 7).

【0062】すなわち、データベース管理部15は管理
情報テーブル16aの使用データベース名格納領域16
bから現在使用中の図面データベースのデータベース名
を取出して障害データベース名格納領域16cに書込
む。
That is, the database management unit 15 uses the database name storage area 16 of the management information table 16a.
The database name of the drawing database currently in use is retrieved from b and written in the failure database name storage area 16c.

【0063】続いて、データベース管理部15は待機中
の障害がおきていない図面データベースのデータベース
名を管理情報テーブル16aの使用データベース名格納
領域16bに書込む。
Subsequently, the database management unit 15 writes the database name of the drawing database in the standby state in which no failure has occurred in the used database name storage area 16b of the management information table 16a.

【0064】データベース管理部15は管理情報テーブ
ル16aの使用データベース名格納領域16bに書込ん
だデータベース名の図面データベースに図面記憶部13
から図面データを格納する(図7ステップS27)。こ
の後に、データベース管理部15はステップS5の判定
に移行する。
The database management unit 15 stores the drawing storage unit 13 in the drawing database having the database name written in the used database name storage area 16b of the management information table 16a.
The drawing data is stored (step S27 in FIG. 7). After that, the database management unit 15 proceeds to the determination of step S5.

【0065】尚、データベース管理部15は図面データ
の読込み及び図面データの格納で障害が発生しなけれ
ば、上記の処理が終了して制御を機能選択部11に戻し
た後にバックグラウンド処理で、図面データベースに格
納した図面データを現在使用していない他の図面データ
ベースにも複写し、図面データベース17,18の同一
性を保つ。
If no problem occurs in reading the drawing data and storing the drawing data, the database management unit 15 returns the control to the function selecting unit 11 after the above processing is completed, and then the background processing is executed. The drawing data stored in the database is copied to another drawing database which is not currently used, and the drawing databases 17 and 18 are kept the same.

【0066】データベース管理部15は図面データベー
ス17,18の切換えが行われ、ステップS6で復旧処
理が起動されると、上記の処理が終了して制御を機能選
択部11に戻した後にバックグラウンド処理で、以下の
処理を行う。
When the drawing databases 17 and 18 are switched and the restoration process is started in step S6, the database management unit 15 terminates the above process and returns control to the function selection unit 11 and then performs the background process. Then, the following processing is performed.

【0067】データベース管理部15は管理情報テーブ
ル16aの使用データベース名格納領域16bから使用
データベース名を、障害データベース名格納領域16c
から障害データベース名を夫々取出すとともに、障害図
面名格納領域16dから障害図面名A〜Nを取出す(図
8ステップS28)。
The database management unit 15 stores the used database name in the used database name storage area 16b of the management information table 16a, and the failure database name storage area 16c.
The failure database names are extracted from the respective fields, and the failure drawing names A to N are extracted from the failure drawing name storage area 16d (step S28 in FIG. 8).

【0068】データベース管理部15は現在使用してい
る図面データベースから障害図面名格納領域16dの障
害図面名A〜Nが示す図面データを読込み、その図面デ
ータを障害がおこっている図面データベースの対応する
位置に順次複写する(図8ステップS29)。
The database management unit 15 reads the drawing data indicated by the faulty drawing names A to N in the faulty drawing name storage area 16d from the currently used drawing database, and corresponds the drawing data of the faulty drawing database. Copies are sequentially made to the positions (step S29 in FIG. 8).

【0069】上記の処理を障害図面名格納領域16dの
障害図面名A〜Nがなくなるまで繰返し実行し(図8ス
テップS28〜S30)、障害図面名A〜N全ての複写
が終了すると障害データベース名格納領域16c及び障
害図面名格納領域16dの内容を削除し(図8ステップ
S31)、復旧処理を終了する。
The above processing is repeatedly executed until the faulty drawing names A to N in the faulty drawing name storage area 16d are exhausted (steps S28 to S30 in FIG. 8), and when all the faulty drawing names A to N have been copied, the fault database name is obtained. The contents of the storage area 16c and the failure drawing name storage area 16d are deleted (step S31 in FIG. 8), and the recovery process ends.

【0070】図9は本発明の他の実施例の構成を示すブ
ロック図である。図において、本発明の他の実施例は図
面一時記憶部19を設けた以外は図1に示す本発明の一
実施例と同一の構成となっており、同一構成要素には同
一符号を付してある。
FIG. 9 is a block diagram showing the configuration of another embodiment of the present invention. In the figure, the other embodiment of the present invention has the same configuration as that of the embodiment of the present invention shown in FIG. 1 except that the drawing temporary storage unit 19 is provided, and the same components are designated by the same reference numerals. There is.

【0071】図面一時記憶部19は上記の各処理で障害
が発生しなかった場合、外部記憶装置5または図面記憶
部13から現在使用中の図面データベースに格納された
図面データを一時記憶する。図面一時記憶部19に一時
記憶された図面データはバックグラウンド処理で現在使
用していない他の図面データベースに複写される。
The drawing temporary storage unit 19 temporarily stores the drawing data stored in the drawing database currently in use from the external storage device 5 or the drawing storage unit 13 when no failure occurs in each of the above processes. The drawing data temporarily stored in the drawing temporary storage unit 19 is copied to another drawing database which is not currently used in the background processing.

【0072】また、図面一時記憶部19は上記の各処理
で障害が発生した場合、図面データベース17,18の
切換えが行われてから復旧処理が起動されるまでに、外
部記憶装置5または図面記憶部13から切換えられた図
面データベースに格納された図面データ、あるいは切換
えられた図面データベースから外部記憶装置5または図
面記憶部13に読込まれた図面データを一時記憶する。
図面一時記憶部19に一時記憶された図面データはバッ
クグラウンド処理で障害が発生した図面データベースに
複写される。
Further, when a failure occurs in each of the above processes, the drawing temporary storage unit 19 stores the external storage device 5 or the drawing storage after the switching of the drawing databases 17 and 18 until the restoration process is activated. The drawing data stored in the drawing database switched from the unit 13 or the drawing data read from the switched drawing database into the external storage device 5 or the drawing storage unit 13 is temporarily stored.
The drawing data temporarily stored in the drawing temporary storage unit 19 is copied to the drawing database in which the failure has occurred in the background processing.

【0073】このように、同一の図面データを夫々格納
する2つの図面データベース17,18のうちの一方に
対するアクセス時に障害が検出されたときに、データベ
ース管理部15によって図面データベース17,18の
うちの他方へのアクセスに切換えるとともに、データベ
ース管理部15によるバックグラウンド処理で他方の図
面データベースへのアクセスが終了した後に、障害が発
生した一方の図面データベースの復旧を行うことによっ
て、図面データベース17,18の利用者が障害の発生
を意識することなくかつ使用停止時間をなくすことがで
き、外部記憶装置5に図面データがなくても図面データ
ベース17,18の復旧を行うことができる。
In this way, when a failure is detected during access to one of the two drawing databases 17 and 18 that respectively store the same drawing data, the database management unit 15 selects one of the drawing databases 17 and 18 from each other. By switching to access to the other drawing database, and after the access to the other drawing database is completed by the background processing by the database management unit 15, the one of the drawing databases in which the failure has occurred is restored. It is possible for the user to eliminate the use stop time without being aware of the occurrence of a failure, and it is possible to restore the drawing databases 17 and 18 even if there is no drawing data in the external storage device 5.

【0074】尚、本発明の一実施例及び他の実施例では
2つの図面データベース17,18を用いた場合につい
て述べたが、図面データベースが3つ以上用いられる場
合にも適用できるのは明白であり、これに限定されな
い。
It should be noted that, although one embodiment and another embodiment of the present invention have described the case where two drawing databases 17 and 18 are used, it is obvious that the present invention can be applied to a case where three or more drawing databases are used. Yes, but not limited to this.

【0075】[0075]

【発明の効果】以上説明したように本発明によれば、同
一の図面データを夫々格納する第1及び第2の図面デー
タベースを設け、第1の図面データベースに対するアク
セス時に障害が検出されたときに第2の図面データベー
スへのアクセスに切換えるとともに、第2の図面データ
ベースへのアクセスが終了した後に第1の図面データベ
ースの復旧を行うようにすることによって、図面データ
ベースの利用者が障害の発生を意識することなくかつ使
用停止時間をなくすことができ、外部記憶装置に図面デ
ータがなくても図面データベースの復旧を行うことがで
きるという効果がある。
As described above, according to the present invention, the first and second drawing databases storing the same drawing data respectively are provided, and when a failure is detected when accessing the first drawing database. By switching to the access to the second drawing database and restoring the first drawing database after the access to the second drawing database is completed, the user of the drawing database is aware of the occurrence of a failure. There is an effect that the use stop time can be eliminated without doing so, and the drawing database can be restored even if there is no drawing data in the external storage device.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1の図面管理部の管理情報テーブルの構成を
示す図である。
FIG. 2 is a diagram showing a configuration of a management information table of a drawing management unit in FIG.

【図3】図1のデータベース管理部の動作を示すフロー
チャートである。
FIG. 3 is a flowchart showing an operation of a database management unit in FIG.

【図4】図1のデータベース管理部の動作を示すフロー
チャートである。
FIG. 4 is a flowchart showing the operation of the database management unit of FIG.

【図5】図1のデータベース管理部の動作を示すフロー
チャートである。
5 is a flowchart showing the operation of the database management unit of FIG.

【図6】図1のデータベース管理部の動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing the operation of the database management unit in FIG.

【図7】図1のデータベース管理部の動作を示すフロー
チャートである。
FIG. 7 is a flowchart showing the operation of the database management unit in FIG.

【図8】図1のデータベース管理部の動作を示すフロー
チャートである。
FIG. 8 is a flowchart showing the operation of the database management unit in FIG.

【図9】本発明の他の実施例の構成を示すブロック図で
ある。
FIG. 9 is a block diagram showing the configuration of another embodiment of the present invention.

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

1 CADシステム 2 入力装置 3 ディスプレイ部 4 プロッタ 5 外部記憶装置 11 機能選択部 13 図面記憶部 15 データベース管理部 16 図面管理部 17,18 図面データベース部 19 図面一時記憶部 1 CAD system 2 input device 3 display unit 4 plotter 5 external storage device 11 function selection unit 13 drawing storage unit 15 database management unit 16 drawing management unit 17, 18 drawing database unit 19 temporary drawing storage unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 同一の図面データを夫々格納する第1及
び第2の図面データベースと、前記第1の図面データベ
ースに対するアクセス時に障害が検出されたときに前記
第2の図面データベースへのアクセスに切換える切換手
段と、前記切換手段による切換時に前記第2の図面デー
タベースへのアクセスが終了した後に前記第1の図面デ
ータベースの復旧を行う手段とを有することを特徴とす
るCADシステム。
1. A first and a second drawing database for respectively storing the same drawing data, and a switch to access to the second drawing database when a failure is detected when accessing the first drawing database. A CAD system comprising: switching means and means for restoring the first drawing database after the access to the second drawing database is completed at the time of switching by the switching means.
【請求項2】 前記障害が発生したときに前記切換手段
によって切換えられた図面データベースに対してアクセ
スされた図面データを示す図面情報を格納する格納手段
を含むことを特徴とする請求項1記載のCADシステ
ム。
2. The storage device according to claim 1, further comprising storage means for storing drawing information indicating drawing data accessed to the drawing database switched by the switching means when the failure occurs. CAD system.
【請求項3】 前記障害が発生したときに前記切換手段
によって切換えられた図面データベースに対してアクセ
スされた図面データを一時記憶する記憶手段を含み、前
記記憶手段の内容に基づいて図面データベースの復旧を
行うようにしたことを特徴とする請求項1または請求項
2記載のCADシステム。
3. Restoration of the drawing database based on the contents of the storage means, including storage means for temporarily storing drawing data accessed to the drawing database switched by the switching means when the failure occurs. The CAD system according to claim 1 or 2, characterized in that
【請求項4】 前記障害が発生した図面データベースを
特定する情報を保持する手段と、現在使用中の図面デー
タベースを特定する情報を保持する手段とを含み、これ
らの情報を基に前記切換手段により図面データベースの
切換えを行うようにしたことを特徴とする請求項1から
請求項3のいずれか記載のCADシステム。
4. The switching means comprises means for holding information for specifying the drawing database in which the failure has occurred and means for holding information for specifying the drawing database currently in use. The CAD system according to any one of claims 1 to 3, wherein the CAD database is switched.
JP6089327A 1994-04-27 1994-04-27 Cad system Pending JPH07295874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6089327A JPH07295874A (en) 1994-04-27 1994-04-27 Cad system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6089327A JPH07295874A (en) 1994-04-27 1994-04-27 Cad system

Publications (1)

Publication Number Publication Date
JPH07295874A true JPH07295874A (en) 1995-11-10

Family

ID=13967586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6089327A Pending JPH07295874A (en) 1994-04-27 1994-04-27 Cad system

Country Status (1)

Country Link
JP (1) JPH07295874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006313447A (en) * 2005-05-09 2006-11-16 Shimadzu Corp Data management system for instrumental analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6095663A (en) * 1983-10-31 1985-05-29 Toshiba Corp Automatic switching device of dual type magnetic disk device
JPH02133845A (en) * 1988-11-14 1990-05-23 Nec Corp Duplex auxiliary storage device
JPH05181613A (en) * 1991-12-27 1993-07-23 Shikoku Nippon Denki Software Kk Information processor
JPH05341918A (en) * 1992-05-12 1993-12-24 Internatl Business Mach Corp <Ibm> Connector for constituting duplex disk storage device system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6095663A (en) * 1983-10-31 1985-05-29 Toshiba Corp Automatic switching device of dual type magnetic disk device
JPH02133845A (en) * 1988-11-14 1990-05-23 Nec Corp Duplex auxiliary storage device
JPH05181613A (en) * 1991-12-27 1993-07-23 Shikoku Nippon Denki Software Kk Information processor
JPH05341918A (en) * 1992-05-12 1993-12-24 Internatl Business Mach Corp <Ibm> Connector for constituting duplex disk storage device system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006313447A (en) * 2005-05-09 2006-11-16 Shimadzu Corp Data management system for instrumental analysis
JP4645293B2 (en) * 2005-05-09 2011-03-09 株式会社島津製作所 Data management system for instrument analysis

Similar Documents

Publication Publication Date Title
JPH07295874A (en) Cad system
JP2765691B2 (en) Simulation method
JPH11250037A (en) Content editing device and recording medium
JPH0385650A (en) Disk volume restoration system
JP3129889B2 (en) Numerical control unit
JPH096981A (en) Drawing production and editing device
JPH05324555A (en) Already executed operation canceller
JPH0784778A (en) Device for editing/managing test item of source program
JPH06161519A (en) Monitoring device
JPH02250166A (en) Information processor
JPH05324734A (en) Electronic filing device
JPH05250243A (en) Data processing system for extended storage device
JPH08221265A (en) Supporting device for developing software
JPH04141751A (en) Fault recovery system for mass storage medium
JPH0440542A (en) Memory control system
JPH0822490A (en) Selecting method for layer and editing method for layer attribute
JP2001014225A (en) System and method for data backup
JPH0877047A (en) Data base backup method
JPH07319634A (en) External memory management system
JPH05307500A (en) System for managing plate making picture data and device therefor
JPH07295714A (en) Recovering method at fault of cad system
JPH05173863A (en) Data base recovery control system
JPH0660135A (en) Roll-back control method for cad system
JPH07141011A (en) Numerical controller
JPH0567099A (en) Document preparing device and document preparing method