Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH06103502B2 - Drawing display device - Google Patents
[go: Go Back, main page]

JPH06103502B2 - Drawing display device - Google Patents

Drawing display device

Info

Publication number
JPH06103502B2
JPH06103502B2 JP4354286A JP4354286A JPH06103502B2 JP H06103502 B2 JPH06103502 B2 JP H06103502B2 JP 4354286 A JP4354286 A JP 4354286A JP 4354286 A JP4354286 A JP 4354286A JP H06103502 B2 JPH06103502 B2 JP H06103502B2
Authority
JP
Japan
Prior art keywords
segment
drawing information
current
change
simulated
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
JP4354286A
Other languages
Japanese (ja)
Other versions
JPS62202281A (en
Inventor
正樹 庄司
Original Assignee
株式会社明電舍
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 株式会社明電舍 filed Critical 株式会社明電舍
Priority to JP4354286A priority Critical patent/JPH06103502B2/en
Publication of JPS62202281A publication Critical patent/JPS62202281A/en
Publication of JPH06103502B2 publication Critical patent/JPH06103502B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Description

【発明の詳細な説明】 A.産業上の利用分野 本発明は、ホスト計算機に図形表示装置を接続して成る
図面表示装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a drawing display device formed by connecting a graphic display device to a host computer.

B.発明の概要 本発明は、ホスト計算機により図面情報を管理すると共
に図面情報の要求箇所を図形表示装置に表示し、模擬的
に図面情報の変更を行う機能を備えた図面表示装置にお
いて、 模擬変更時には、先ず変更対象の現行内容を別の名称を
付してセグメントバツフア内の退避領域にコピーし、セ
グメントバツフア内の残り容量が不足したならば退避領
域を用いずに変更履歴をホスト計算機にて記録し、現行
復帰時には前記別名称を元に戻すと共に、記録内容にも
とづいてセグメントバツフアの変更対象の図面情報のみ
を元に戻すことによつて、 模擬変更処理後における現行内容への高速復帰を図るこ
とができ、しかもセグメントバツフアの容量を節約でき
るようにしたものである。
B. Outline of the Invention The present invention is a drawing display device having a function of managing drawing information by a host computer, displaying a requested portion of the drawing information on a graphic display device, and changing the drawing information in a simulated manner. When changing, first copy the current contents to be changed to a save area in the segment buffer with a different name, and if the remaining capacity in the segment buffer is insufficient, host the change history without using the save area. It is recorded by a computer, and when the current state is restored, the other name is returned to the original and only the drawing information of the segment buffer to be changed is restored based on the recorded contents. It is possible to achieve high-speed recovery of the segment and save the capacity of the segment buffer.

C.従来の技術及び 発明が解決しようとする問題点 地図は地域の自然条件や人口施設さらには人口・経済状
況などの人間の諸活動情報をも表現でき、古くから行政
の面で利用されてきた。現在も国,地方自治体,消防署
等では、地域計画,地域管理の基盤となる情報として大
いに利用している。また、電気・電話・ガスなどの公共
企業では、地域に敷設した自社施設(電力線,電話線,
ガス管)の計画,管理のために、地図上に当該施設を描
いた図面を使用している。これらの地図,施設図は紙面
に図として描かれたものであり、描かれる情報を以後図
面情報と呼ぶ。
C. Problems to be solved by conventional technologies and inventions Maps can represent various human activity information such as local natural conditions, population facilities, and population / economic conditions, and have long been used for administrative purposes. It was Even now, the national government, local governments, fire departments, etc., use it as a basis for regional planning and management. In addition, in public enterprises such as electricity, telephone, and gas, we have our own facilities (power lines, telephone lines,
For the planning and management of gas pipes, the drawings of the facility are used on the map. These maps and facility diagrams are drawn as drawings on paper, and the information drawn is hereinafter called drawing information.

近年、これら図面を計算機を用いて描いたり、図面情報
を計算機で処理する試みが為されている。これは米国が
先駆であり、1960年代から行なわれて来ている。このよ
うな計算機システムを図面情報処理システムと呼ぶ。現
在では、連邦・州・地方政府のほかに、電気・電話・ガ
スなどの公共企業やマーケツテイングなどの民間企業で
も利用されている。
In recent years, attempts have been made to draw these drawings with a computer and process drawing information with a computer. This was pioneered by the United States and has been carried out since the 1960s. Such a computer system is called a drawing information processing system. Today, it is used by federal, state, and local governments, as well as by public companies such as electricity, telephone, and gas, and private companies such as marketing.

我が国においては、米国よりも遅れて研究に着手した
が、データベース,コンピユータグラフイツクスなど、
その間の技術の発展をうまく吸収し、独自の発展をみせ
ている。今、国,地方自治体,消防署や電気・電話・ガ
スなどの公共企業体において、ようやく実用段階に達し
たと言える。
In Japan, we started research later than in the United States, but we have started researching databases, computer graphics, etc.
It successfully absorbs the technological development during that time and shows its own development. It can be said that the government, local governments, fire departments, and public enterprises such as electricity, telephone, and gas have finally reached the stage of practical use.

上記図面情報処理システムの特徴は、いずれも図形表示
装置を接続し、図面を表示することができるという点で
ある。ホスト計算機は図面情報を管理し、オペレータの
要求により図面の要求箇所を図形表示装置に表示するよ
う制御する。図形表示装置は、ホスト計算機からの要求
により図面の要求箇所を表示する。図面情報処理システ
ムにおいて、ホスト計算機と図形表示装置により図面を
表示する機能を実現する部分を含めたものを以後図面表
示装置と呼ぶ。
A feature of each of the drawing information processing systems is that a drawing display device can be connected to display a drawing. The host computer manages the drawing information, and controls to display the requested portion of the drawing on the graphic display device according to the operator's request. The graphic display device displays a requested portion of the drawing in response to a request from the host computer. In the drawing information processing system, a part including a part that realizes a function of displaying a drawing by the host computer and the graphic display device is hereinafter referred to as a drawing display device.

図面情報処理システムにおいては、図形表示装置に表示
された図面を中心にしてオペレータとの会話型操作によ
り処理をすすめていくことが基本的な使われ方である。
よつて、図面表示機能の応答性の良さが強く要求され
る。しかし、ホスト計算機では図面表示処理の他に様々
な汎用業務を行なうため定常負荷が大きく、ホスト計算
機での性能向上効果は期待できない。むしろ処理対象情
報の増加,高機能化の要求により定常負荷は増加する傾
向にあり、ホスト計算機における表示処理は負担となっ
て来る。したがつて、ホスト計算機の負荷を軽減し表示
処理の応答性を向上するため、図形表示装置のインテリ
ジエンス化が進む傾向がある。すなわち、図形表示のほ
とんどの機能を図形表示装置が行なうのである。以下、
第8図に示す構成での図形表示装置を詳細に説明する。
なお、以下の説明で使用する略語の定義は次の通りであ
る。
In a drawing information processing system, it is basically used to proceed with processing by an interactive operation with an operator centering on a drawing displayed on a graphic display device.
Therefore, the responsiveness of the drawing display function is strongly required. However, since the host computer performs various general-purpose tasks in addition to the drawing display processing, the steady load is large, and the effect of improving the performance of the host computer cannot be expected. Rather, the steady load tends to increase due to the increase in information to be processed and the demand for higher functionality, and the display processing on the host computer becomes a burden. Therefore, in order to reduce the load on the host computer and improve the responsiveness of the display processing, there is a tendency that the graphic display device becomes more intelligent. That is, most of the graphic display functions are performed by the graphic display device. Less than,
The graphic display device having the configuration shown in FIG. 8 will be described in detail.
The definitions of abbreviations used in the following description are as follows.

・HIF...ホスト・インターフエース。・ HIF ... host interface.

・SB....セグメント・バツフア。・ SB .... Segment buffer.

・MTX...マトリクス演算器。行列演算器。-MTX ... Matrix calculator. Matrix calculator.

・CLP...クリツピング器。・ CLP ... Clipping device.

・DDA...デイジタル微分解析器。デイジタル・ベクタ・
ジエネレータ。
・ DDA ... Digital differential analyzer. Digital Vector
Generator.

・FB....フレーム・バツフア。・ FB .... Frame buffer.

・LT....ルツクアツプ・テーブル。別名カラーマツプ。・ LT .... Lucky up table. Also known as a color map.

・IM....インプツト・マシン。入力装置。・ IM .... Implant machine. Input device.

・VIF...ビデオ・インターフエース。・ VIF ... video interface.

・TB....テーブル。・ TB .... table.

・AD....アドレス。· AD .... address.

・Pn....プレーンn。(nは0以上の整数) まず、図形表示装置2には、ホスト計算機とのデータ送
受信を行なうホスト・インターフエース(HIF)があ
る。HIFは、ホスト計算機からの各種表示指示や図形情
報を受信し表示プロセツサ(CPU)に伝える。また、ホ
スト計算機からの要求により、各種表示関連情報をCPU
から受けてホスト計算機に送信する。
・ Pn .... Plane n. (N is an integer equal to or greater than 0) First, the graphic display device 2 has a host interface (HIF) that transmits and receives data to and from the host computer. The HIF receives various display instructions and graphic information from the host computer and transmits them to the display processor (CPU). In addition, various display related information can be sent to the CPU at the request of the host computer.
Received from and sent to the host computer.

SBは、記述表現(数値,記号)の図形情報を格納するメ
モリである。当該図形情報は、階層構造で管理される。
最下層は、具体的な図形実体(表示図形形状,位置座
標,表示色等)である。これらの上位には、個々の図形
実態についての各種属性(可視属性,検出属性等)情報
がある。なお、図形実体の位置座標は、管面上の画素位
置を直接示すものではなく、仮想的な大画面における座
標いわゆるワールド座標といわれるものである。
SB is a memory that stores graphic information of descriptive expressions (numerical values, symbols). The graphic information is managed in a hierarchical structure.
The lowest layer is a concrete figure entity (display figure shape, position coordinates, display color, etc.). On top of these, there is information on various attributes (visual attributes, detection attributes, etc.) regarding the actual state of each figure. It should be noted that the position coordinates of the graphic entity do not directly indicate the pixel position on the tube surface, but are called coordinates on a virtual large screen, so-called world coordinates.

このSB内に格納する図形情報に対して、表示要求される
範囲(ワールド座標値により定まる方形の領域)の図形
情報の切り出しが行なわれる。この切り出し処理には、
表示図形の平行移動や回転変換を行なうマトリクス演算
器(MTX),CRTモニタ(CRT)に対応する表示可能な領域
をはみ出す部分を除去するクリツピング器(CLP)等が
用意されている。さらに、切り出した記述表現の図形情
報の線分を、当該表示位置座標よりそれに対応するフレ
ームバツフア(FB)上のビツトのON/OFF情報に展開する
デイジタル微分解析器(DDA)が用意される。
With respect to the graphic information stored in this SB, the graphic information in the range requested to be displayed (a rectangular area determined by world coordinate values) is cut out. For this cutting process,
A matrix calculator (MTX) that performs parallel movement and rotation conversion of the displayed figure, and a clipping device (CLP) that removes the part that extends beyond the displayable area corresponding to the CRT monitor (CRT) are available. In addition, a digital differential analyzer (DDA) is provided that expands the segment of the graphic information of the cut descriptive representation into the ON / OFF information of the bit on the frame buffer (FB) corresponding to the display position coordinate. .

FBは、CRTの管面の各画素に1対1に対応するビツトを
少なくとも管面の画素数に対応する程度に持つメモリで
ある。カラー表示では、複数枚のメモリ・プレーンを有
し、各プレーンにおいて同一画素に対応するビツトの集
合を並べて列データとするものを当該ビツトに対応する
画素の色コードとしている。さらに、近年では、色コー
ドを予め格納しておくルツクアツプテーブル(LT),別
名カラーマツプを有し、前記のビツトの列データをアド
レスとし、LTにおける当該アドレスの内容を読み出し、
対応画素の色コードとする図形表示装置が主流になつて
いる。このような図形表示装置では、重合わせ優先表示
が可能となる。すなわち、まずFBの各プレーンについて
優先順位を定め、同様に表示させたい各図形について重
合わせた時にどれを優先させて表示するかを示す優先順
位を定めておく。つぎに、各LTアドレスについてそのビ
ツト内容がオンになつているビツトに対応するプレーン
の組み合わせの中で最優先順位のプレーンに展開する図
形の表示色コードを当該アドレスのLT部分に格納してお
く。そして、SBから表示範囲の図形を切り出し、各図形
をその優先順位に対応するFBのプレーンにビツト展開す
る。一方、各プレーンにおけるいくつかの図形が重なつ
た場合その重なつた部分の画素に対応するビツト列をア
ドレスとしてLTが参照されるが、当該アドレス部にはア
ドレスの「オン」ビツトに対応するプレーンの図形集合
が重なつた場合の最優先表示図形の色コードが予め格納
されているので、重合わせ優先表示が実現される。第10
図において説明する。表示図形●,▲,■があり、重合
わせ優先表示の優先順位も高いほうからこの順とする。
またその表示色は、赤,緑,青とする。FBのプレーンの
優先順位は、高い方からP2,P1,P0の順とする。表示図形
●,▲,■は、それぞれP2,P1,P0にビツト展開するもの
とする。FBの各プレーンから読み出された1つの画素に
対応するビツトの集合は、高位からP2,P1,P0の順に並べ
られ、LTの参照アドレスとなるものとする。下記に各画
素において図形の重なる組み合わせとそれに対応するLT
参照アドレスと当該アドレスのLT内容を示す。(アドレ
スのビツト内容が×の箇所は、0/1どちらでもよいこと
を表わす。) <図形重なり組み合わせ> <LT参照アドレス> <LT内容> 1.●,▲,■ 1×× 赤 2.●,▲ 同上 同上 3.● 同上 同上 4. ▲,■ 01× 緑 5. ▲ 同上 同上 6. ■ 001 青 7.重なりなし 000 背景色 また、図にも図形重なり組み合わせを示す。線分に囲ま
れた面に記載されている数字は、上記の図形重なり組み
合わせに付けられた番号である。以上により管面に表示
される画面は、図のとおりである。
The FB is a memory that has a bit corresponding to each pixel on the tube surface of the CRT in a one-to-one correspondence with at least the number of pixels on the tube surface. In color display, a plurality of memory planes are provided, and a set of bits corresponding to the same pixel is arranged in each plane to form column data, which is used as a color code of the pixel corresponding to the bit. Further, in recent years, there is a lookup table (LT), which is also known as a color map, in which color codes are stored in advance, the column data of the bit is used as an address, and the contents of the address in LT are read out.
Graphic display devices using color codes of corresponding pixels have become mainstream. In such a graphic display device, overlay priority display is possible. That is, first, a priority order is set for each plane of the FB, and a priority order that indicates which one is prioritized to be displayed when the figures to be displayed similarly are overlapped is set. Next, for each LT address, store the display color code of the graphic to be developed on the plane with the highest priority among the combinations of planes whose bit contents are on, in the LT portion of that address. . Then, the graphic in the display range is cut out from the SB, and each graphic is bit-developed on the plane of the FB corresponding to the priority. On the other hand, when some figures in each plane overlap, LT is referred to by using the bit string corresponding to the pixel of the overlapping part as an address, and the address part corresponds to the "on" bit of the address. Since the color code of the highest-priority display graphic in the case where the plane graphic sets overlap, the overlay priority display is realized. 10th
This will be described with reference to the figure. There are display figures ●, ▲, and ■, and the priority of overlay priority display is in this order.
The display colors are red, green, and blue. The priority order of FB planes is P2, P1, P0 in order from the highest. The displayed figures ●, ▲, and ■ shall be bit expanded to P2, P1, and P0, respectively. It is assumed that a set of bits corresponding to one pixel read from each plane of FB are arranged in the order of P2, P1, P0 from the highest rank and serve as a reference address of LT. Below is the combination of overlapping graphics and the corresponding LT in each pixel.
Indicates the reference address and the LT content of the address. (The place where the bit content of the address is × can be either 0/1.) <Combination of figures><LT reference address><LTcontent> 1. ●, ▲, ■ 1 ×× red 2. ● , ▲ Same as above Same as above 3. ● Same as above 4. ▲, ■ 01 × green 5. ▲ Same as above 6. ■ 001 Blue 7. No overlap 000 Background color The figure also shows the combination of overlapping figures. The numbers written on the surface surrounded by the line segments are the numbers given to the above-mentioned graphic overlapping combinations. The screen displayed on the tube surface as described above is as shown in the figure.

LTは、R,G,Bの基本3原色についての輝度を格納してお
くテーブルである。各アドレスに格納されたR,G,Bの各
輝度色の合成により、固有の色が表現される。
LT is a table that stores the brightness of the three primary colors of R, G, and B. A unique color is expressed by combining the R, G, and B luminance colors stored at each address.

ビデオインターフエース(VIF)は、FBの内容を読み出
して各画素に対応するビツト列をアドレスとしそれによ
りLTの色コードを読み出してCRTへのビデオ信号(R,G,
B,セパレート,コンポジツト)を発生させること、およ
びCRTへの同期信号(垂直同期信号:VD,水平同期信号:H
D)を発生させることを行なう。これらの動作は、CPUの
制御からは独立し、常に高速かつサイクリツクに実行し
ている。ビデオ信号発生までのメカニズムを第10図を用
いて説明する。VIFは、FBの各プレーンに対しある画素
に対応するビツトのアドレス(FBAD)を発生させる。こ
れにより読み出されたビツト内容は、各々定められた位
置に並べられてLT参照アドレスが作成される。このLT参
照アドレスにより該当するLTの内容をR,G,B単位に読み
出す。読み出された内容をD−A変換器に送る。ここで
D−A変換され、各々R,G,Bビデオ信号を発生する。以
上の処理を画素の並び順に次々に行なうのである。これ
らは超高速かつサイクリツクに実行されるので、人間の
見た目には、残像現象にも助けられて1枚の画面として
見えるのである。
The video interface (VIF) reads the contents of FB and uses the bit string corresponding to each pixel as an address to read the color code of LT to read the video signal (R, G,
B, separate, composite) and sync signal to CRT (vertical sync signal: VD, horizontal sync signal: H)
D) is generated. These operations are independent of the control of the CPU and are always executed at high speed and cyclically. The mechanism until the video signal is generated will be described with reference to FIG. The VIF generates a bit address (FBAD) corresponding to a pixel for each plane of FB. Thus, the read bit contents are arranged at respective predetermined positions to create the LT reference address. The content of the corresponding LT is read out in R, G, B units by this LT reference address. The read contents are sent to the DA converter. Here, D-A conversion is performed to generate R, G, B video signals, respectively. The above processing is performed one after another in the order in which the pixels are arranged. Since these are executed at extremely high speed and cyclically, they appear as a single screen to human eyes, aided by the afterimage phenomenon.

CRTは、ラスタスキヤン表示方式によりリフレツシユ描
画を行なうものである。すなわち、各画素についてのR,
G,Bビデオ信号をうけて、それに対応する強さの電子ビ
ームを蛍光面の画素位置に放射し、各輝度で発光するR,
G,Bの蛍光点の色の合成により様々な色を表示する。ま
た、画素の指定すなわちビームの放射位置は、水平同期
信号,垂直同期信号により制御する。すなわち、画面上
の左上から横方向に電子ビームを走査し、順次右下まで
必要な本数の走査線を1秒間に30〜60回作るのである。
30〜60回という数値は、垂直走査周波数(リフレツシユ
・レート)と呼ばれ、一般的には、ちらつきを生じない
範囲で下限に近い数値が設定される。
The CRT is a rendering method using the raster scan display method. That is, R for each pixel,
Receiving G and B video signals, radiating an electron beam of corresponding intensity to the pixel position on the phosphor screen and emitting light at each brightness R,
Various colors are displayed by combining the colors of the G and B fluorescent points. Further, the designation of pixels, that is, the radiation position of the beam is controlled by the horizontal synchronizing signal and the vertical synchronizing signal. That is, the electron beam is scanned in the horizontal direction from the upper left on the screen, and the required number of scanning lines are sequentially made 30 to 60 times per second to the lower right.
The numerical value of 30 to 60 times is called a vertical scanning frequency (reflecting rate), and generally, a numerical value close to the lower limit is set within a range where flicker does not occur.

CPUは、ホスト計算機やIMからの入力情報を解析し実行
するものである。ただし、具体的な処理は各専用処理器
(MTX,CLP,VIF等)がほとんど行ない、実際にはそれら
の制御を行なうことが多い。
The CPU analyzes and executes input information from the host computer or IM. However, the specific processing is mostly performed by each dedicated processor (MTX, CLP, VIF, etc.), and in practice, they are often controlled.

入力装置(IM)は、オペレータから図形表示装置に対す
る各種情報の入力操作を行なうものである。用途に応じ
て多種多用なものがある。標準的には、キーボードがあ
る。座標値を入力する装置としては、デイジタイザ,タ
ブレツト等がある。また、管面上で図形やカーソルを移
動させるものとしては、ジヨイステイツク,トラツクボ
ール等がある。
The input device (IM) is used by an operator to input various information to the graphic display device. There are various types depending on the application. There is a keyboard as standard. Devices for inputting coordinate values include digitizers and tablets. In addition, as a means for moving a figure or a cursor on the tube surface, there are a joystick, a track ball, and the like.

さて、前記ホスト計算機と図形表示装置とで構成する図
面表示装置において、図面情報はホスト計算機で管理し
ていることは前述した。これは、計算機内に仮想的な連
続する大図面を持つていると考えることができる。従来
の方式では、オペレータからの表示要求があると、ホス
ト計算機は仮想大図面における要求箇所の図面情報を切
り出し図形表示装置に送信する。それを受信した図形表
示装置では、図面情報の各図形要素をセグメントという
形式でSBに格納し、それをFBにビツト展開して管面に表
示する。この方式では、ホスト計算機と図形表示装置と
の間の大量情報の伝送処理および図形表示装置内のセグ
メントの登録処理にかなり時間を要し、表示要求から管
面への表示までに長時間かかる。前述の通り図面表示装
置では応答性の良さが最大要求事項であり、この方式で
は問題であつた。
As described above, in the drawing display device including the host computer and the graphic display device, the drawing information is managed by the host computer. This can be considered as having a virtual continuous large drawing in the computer. In the conventional method, when there is a display request from the operator, the host computer sends the drawing information of the requested portion in the virtual large drawing to the cutout graphic display device. The graphic display device that has received it stores each graphic element of drawing information in SB in the form of a segment, bit-expands it in FB, and displays it on the screen. In this method, it takes a considerable time to transmit a large amount of information between the host computer and the graphic display device and to register a segment in the graphic display device, and it takes a long time from the display request to the display on the screen. As described above, the responsiveness is the maximum requirement for the drawing display device, and this method has been a problem.

最近、大容量(4MB程度)のSBを有する図形表示装置を
使用して図面表示装置を構成し、ホスト計算機で管理す
る全図面情報に対応する図形情報を立ち上げ時にSBにす
べて登録し、運用時には、表示要求があるとホスト計算
機では表示範囲のみの指示を図形表示装置に与え、図形
表示装置ではSB内の全図面対応の図形情報のうち要求範
囲の図形情報を切り出してFBにビツト展開し表示すると
いう方式が開発されている。これは、表示要求時に伝送
情報量もわずかであり、セグメントの登録処理も不要で
あるので、高速に任意の図面箇所を表示できる。極めて
応答性の良い図面表示装置を実現している。
Recently, a drawing display device is configured using a large-capacity (about 4 MB) SB graphic display device, and all graphic information corresponding to all drawing information managed by the host computer is registered in the SB at startup and operated. Sometimes, when there is a display request, the host computer gives an instruction only to the display range to the graphic display device, and the graphic display device cuts out the graphic information of the requested range from the graphic information corresponding to all the drawings in the SB and bit-expands it to the FB. A method of displaying is being developed. This is because the amount of transmitted information is small when a display request is made and segment registration processing is not required, so that an arbitrary drawing location can be displayed at high speed. We have realized a drawing display device with extremely good responsiveness.

さて、近年図面情報処理システムでは、実用上目で見な
がら模擬的に図面情報の変更を行なう機能が望まれてい
る。すなわち、図面情報を図面表示装置で目視確認しな
がら変更し、再び元に戻すという機能である。言うなれ
ば、図面情報変更描画シミユレーシヨンである。例え
ば、地方自治体において、あらたに道路や水道,公共物
の新設,撤去等の計画を図面上で行なうような場合。同
様に、電力会社,電話会社,ガス会社において、電力
線,電話線,ガス管の新設,撤去等の計画を図面上で行
なうような場合。図面表示装置において、実際に道路,
水道,公共物や電力線,電話線,ガス管等が新設された
り撤去されたりする様子を表示して見せる。当該模擬を
やめたならば、元の図面情報に戻し、現行の図面を表示
できるようにするものである。
By the way, in recent years, in the drawing information processing system, a function of changing drawing information in a simulated manner while actually seeing is desired. In other words, the function is to change the drawing information while visually confirming it on the drawing display device, and restore it again. In other words, it is a drawing information change drawing simulation. For example, in a case where a local government newly plans a new road, a water supply, or a new construction or removal of public goods on a drawing. Similarly, in a power company, a telephone company, or a gas company, when a plan for new installation or removal of a power line, a telephone line, or a gas pipe is performed on a drawing. In the drawing display device,
Display and show how water, public facilities, power lines, telephone lines, gas pipes, etc. are newly installed or removed. If the simulation is stopped, the original drawing information is restored and the current drawing can be displayed.

上記機能において、当然のことながら図面変更処理の応
答性の良さが要求されるが、それ以上に模擬をやめた後
元の図面情報に戻しそれを表示できる機能に応答性が要
求される。なぜならば、現行の図面にもとづいて行なわ
れる各種業務のほうが現実にさしせまつた問題であり、
模擬を実行しているいつ何時であろうと必要が発生した
ならば現行図面を表示できなくてはならないからであ
る。例えば、電力会社において所轄の電力線に事故が発
生した場合、現行図面を表示して当該事故区域を把握し
すみやかに事故復旧操作を実行しなければならない。同
様に、消防署において所轄地域に火災が発生した場合、
現行図面を表示して火災発生区域を把握しすみやかに現
場に急行し消火活動を実行しなければならない。また、
このような緊急性のない場合であつても、現行の図面情
報にもとづき実行される業務は優先される。現行図面の
使用頻度も高い。よつて、模擬の実行中であつても、素
早く元に戻すことが要求されるのである。以後、模擬的
に変更した図面情報を元に戻すことを現行復帰と呼ぶ。
In the above function, it is naturally required that the responsiveness of the drawing change process is good, but after the simulation is further stopped, the function of returning to the original drawing information and displaying it can be required. This is because the various tasks that are carried out based on the current drawings are more practical problems.
This is because the current drawing must be able to be displayed when the need arises at any time while executing the simulation. For example, when an accident occurs in a power line under the jurisdiction of an electric power company, it is necessary to display the current drawing, grasp the accident area, and promptly perform an accident recovery operation. Similarly, if a fire breaks out in the area of jurisdiction,
It is necessary to display the current drawings, identify the fire area, and immediately rush to the site to carry out fire fighting. Also,
Even if there is no such urgency, the work executed based on the current drawing information is prioritized. The current drawings are also frequently used. Therefore, it is required to quickly return to the original state even during the simulation. Hereinafter, returning to the original drawing information that has been modified in a simulated manner is called current restoration.

この模擬変更処理において、ホスト計算機内で管理する
現行の図面情報について、本物のデータを変更してしま
うのはデータ保護の見地から問題がある。例えば、ホス
ト計算機が模擬変更処理中にダウンして、現行の図面情
報が変更されたままの内容となつてしまうような場合が
考えられる。よつて模擬変更する場合には、最初に本物
の(現行)の図面情報を記憶装置内の別の領域にコピー
し、当該のコピーした図面情報に対して模擬変更処理を
行なうという方法が考えられる。模擬変更処理中には、
本物の図面情報に対しての操作は一切行なわれないの
で、完全なデータ保護が確立している。また、この方式
では現行復帰の際には、模擬の図面情報はそのまま廃棄
してしまうだけでよく、データ操作は不要で、瞬時に復
帰できる。よつて、ホスト計算機の処理についての応答
性は大変良い。
In this simulated change process, it is problematic from the viewpoint of data protection to change the real data for the current drawing information managed in the host computer. For example, it is possible that the host computer goes down during the simulated change process, and the current drawing information remains unchanged. Therefore, when making a simulated change, a method is considered in which the genuine (current) drawing information is first copied to another area in the storage device and a simulated change process is performed on the copied drawing information. . During the mock change process,
Since no operation is performed on genuine drawing information, complete data protection is established. Further, in this method, when returning to the current state, it is only necessary to discard the simulated drawing information as it is, no data operation is required, and the operation can be instantly restored. Therefore, the response of the processing of the host computer is very good.

ところが、全図面情報(図形情報の形式)を格納してい
る図形表示装置において、上記方式を採用するには問題
がある。すなわち、図面情報を格納する図形表示装置の
記憶領域(SB)がそれほど大きくなく、現行の図面情報
と模擬の図面情報の両方を格納する領域を確保できない
からである。
However, there is a problem in adopting the above method in a graphic display device that stores all drawing information (format of graphic information). That is, the storage area (SB) of the graphic display device for storing the drawing information is not so large, and the area for storing both the current drawing information and the simulated drawing information cannot be secured.

図形表示装置の記憶装置はICメモリであり、現段階では
超大容量のものを実装するには技術的に困難が伴うし、
また、高価になる。これに対しホスト計算機は、デイス
ク等の補助記憶装置や仮想記憶機構を利用することによ
り実用上無限と言つてよい記憶領域を持つことができ
る。
The memory device of the graphic display device is an IC memory, and it is technically difficult to mount an ultra-large capacity device at this stage.
It also becomes expensive. On the other hand, the host computer can have a storage area that can be said to be practically infinite by utilizing an auxiliary storage device such as a disk or a virtual storage mechanism.

よつて、ホスト計算機では模擬の図面情報において模擬
変更処理を実行するが、図形表示装置では現行の図面情
報を直接変更するという方法しかない。こうすると、現
行復帰の際、ホスト計算機側の復帰処理は瞬時に実行で
きても、図形表示装置では実際に現行の図面情報を変更
されてしまつているので簡単に復帰はできない。図形表
示装置における図面情報を現行のものに戻すには、シス
テム立ち上げ時と同様にホスト計算機で管理している現
行の全図面情報をセグメント登録しなおさなければなら
ない。しかし、これでは大量の情報の伝送処理とセグメ
ント登録処理に長時間を要し、現行復帰の応答性が極め
て悪いものとなる。
Therefore, the host computer executes the simulated change processing on the simulated drawing information, but the graphic display device has a method of directly changing the current drawing information. In this way, when the current state is restored, the restoration process on the host computer side can be executed instantly, but the figure display device has actually changed the current drawing information, and therefore cannot be easily restored. In order to restore the drawing information in the figure display device to the current one, all the current drawing information managed by the host computer must be re-registered as in the system startup. However, this requires a long time for the transmission of a large amount of information and the segment registration processing, and the responsiveness of the current restoration becomes extremely poor.

本発明は、このような問題点を解決するために種々の方
式を検討した結果なされたものであるが、本発明の特徴
を理解しやすくするために、本発明に至るまでに検討し
た方式を簡単に述べておく。
The present invention has been made as a result of studying various methods to solve such problems, but in order to make it easier to understand the features of the present invention, the methods studied up to the present invention are I will briefly explain.

先ずはじめに検討した方式については、ホスト計算機は
現行の図面情報を処理対象とするが、模擬変更処理開始
時にはホスト計算機内に別途設けた領域に現行図面情報
を格納して、これをホスト計算機の処理対象とする。そ
して模擬変更時には、図形表示装置内の図面情報の変更
履歴を例えばホスト計算機に設けた記録部に記録し、現
行復帰時には記録部の記録内容を参照して、変更した部
分のみ現行の図面情報に戻すようにする。この方式によ
れば、図面情報のすべてを再びセグメント登録しなおす
ことに比べ、無駄な伝送処理,セグメント登録処理がな
く、効率良く極めて短時間で現行復帰することができ
る。
Regarding the method studied first, the host computer processes the current drawing information, but at the start of the simulation change processing, the current drawing information is stored in an area provided separately in the host computer, and this is processed by the host computer. set to target. At the time of simulated change, the change history of the drawing information in the graphic display device is recorded in, for example, the recording unit provided in the host computer, and when the current state is restored, the recorded contents of the recording unit are referred to, and only the changed portion is changed to the current drawing information. Try to bring it back. According to this method, as compared with re-registering all of the drawing information again as a segment, useless transmission processing and segment registration processing can be eliminated, and the current state can be efficiently returned in an extremely short time.

ところでこの方式は、同一セグメントについての変更回
数が多い場合には、変更履歴はそれに対応して逐一記録
されていくが、現行復帰時には、記録された順序と逆の
順序で変更履歴の戻し操作が行なわれるから、記録部の
変更履歴の量が増えるにつれて復帰処理が遅くなる。そ
こで、このような場合にも対応するため、上記の方式を
一歩進めて、記録部の記録については、現時点の模擬図
面と現行図面との相違についてのみ記録するという方式
を検討している。しかしながらこの方法による現行復帰
では、復帰対象セグメントの変更種別が「置換」,「削
除」の場合、記録部内の変更履歴の現行内容に戻すため
にそれらを参照して当該セグメントについて置換,登録
の操作を行なう。(変更種別「新設」のセグメントは
「削除」の操作を行なう。)この操作はセグメント・ID
Bの全内容、例えば形状,位置座標,色等について再度
逐一指定して行なわなければならない。標準的な図形表
示装置のセグメント・IDB操作命令では、そのようなも
のが多い。よつて、図形表示装置に対する伝送情報量
(セグメント・IDB操作命令)が多く、かなり伝送時間
を要する。また、図形表示装置内のセグメント・IDB操
作処理が多く、かなり処理時間を要する。したがつて、
現行復帰処理を高速に行なうための障害となる。
By the way, in this method, when the number of changes to the same segment is large, the change history is recorded one by one, but when returning to the current state, the change history return operation is performed in the reverse order of the recorded order. Therefore, the restoration process becomes slower as the amount of change history in the recording unit increases. Therefore, in order to cope with such a case as well, the above-mentioned method is advanced one step further, and a method of recording only the difference between the simulated drawing at the present time and the current drawing is considered for recording in the recording unit. However, in the current restoration by this method, if the change type of the segment to be restored is "replace" or "delete", refer to them to restore the current contents of the change history in the recording section, and perform the replacement or registration operation for that segment. Do. (For the segment of change type "new", perform the operation of "delete".) This operation is the segment ID
The entire contents of B, such as the shape, position coordinates, and colors, must be specified once again. Most of the standard graphic display device segment / IDB operation commands are such commands. Therefore, a large amount of information (segment / IDB operation command) is transmitted to the graphic display device, which requires a considerable transmission time. Further, there is a lot of segment / IDB operation processing in the graphic display device, which requires a considerable processing time. Therefore,
This is an obstacle to high-speed current recovery processing.

こうしたことから本発明者は、SBに退避領域を別途設
け、模擬変更時には変更対象の現行内容を別の名称を付
して前記退避領域にコピーし、現行復帰時には退避領域
内の復帰対象を元の名称に戻すと共に、SBにおける今ま
で処理対象となつていた図面情報の復帰対象のセグメン
トを削除するという方式を検討している。このような方
式によれば、復帰対象のセグメントについて置換,登録
の操作を行なわなくてよいから現行復帰を非常に高速に
行なうことができる。
For this reason, the present inventor separately provides a save area in the SB, copies the current contents of the change target with a different name to the save area at the time of simulated change, and restores the current restore target in the save area when restoring the current. In addition to returning to the name of, the method of deleting the segment of the drawing information to be restored of the drawing information that has been the processing target in SB so far is being considered. According to such a method, it is not necessary to replace or register the segment to be restored, and the current restoration can be performed very quickly.

さて、図面表示装置を含む図面情報処理システムは、通
常長期に渡つて運用しているうちに、管理する情報が段
々増えていく。これは、地域の産業・経済環境や社会環
境,自然環境が発展・変化していくからである。このよ
うな場合、システムの記憶容量が問題となる。すなわ
ち、管理対象の情報の増加に対応できるかということで
ある。ホスト計算機の場合、設計段階でその増加を予想
して十分な容量の記憶装置を備えている。また容量不足
が生じたとしても、外部記憶装置の増設で対応可能であ
る。しかし、運用中常に全図面情報を格納している方式
の図形表示装置の場合、その対応が困難である。まず、
外部記憶装置は持つていない。(外部記憶装置では応答
性が悪く表示処理には使用できない。)前述のとおりIC
メモリの実装容量もある程度で限界がある。そのため、
システム設計段階では、将来の図面情報の増加を見越し
てシステムで管理できる図面領域を決定し、容量に余裕
のあるように設計する。したがつて余程のことがない限
り容量不足が発生しない。しかし、コスト・パー・フオ
ーマンスを考えるとありあまる程の余裕をとることは考
えられない。
Now, in the drawing information processing system including the drawing display device, the information to be managed gradually increases during the normal operation over a long period of time. This is because the local industrial / economic environment, social environment, and natural environment are developing and changing. In such a case, the storage capacity of the system becomes a problem. That is, is it possible to cope with an increase in the amount of information to be managed. The host computer is equipped with a storage device having a sufficient capacity in anticipation of its increase at the design stage. Further, even if the capacity becomes insufficient, it is possible to cope with it by adding an external storage device. However, in the case of a graphic display device of a system in which all drawing information is always stored during operation, it is difficult to handle it. First,
It does not have an external storage device. (The external storage device has poor response and cannot be used for display processing.) As mentioned above, IC
There is a certain limit to the memory mounting capacity. for that reason,
At the system design stage, the drawing area that can be managed by the system is decided in anticipation of future increase in drawing information, and the drawing area is designed to have sufficient capacity. Therefore, there will be no shortage of capacity unless there is much. However, considering cost-per-performance, it is unthinkable to have enough room.

ここで、上記の退避領域を利用した場合における、模擬
変更によるセグメントの増加減について考える。置換,
削除される図面情報については、変更直前に当該の図面
情報をコピーした退避セグメントが新たに作られる。ま
た新設の場合、退避セグメントは作成されないが当該の
図面情報がセグメントとして新規に作成される。削除の
場合、退避セグメントが増えても当該のセグメントが削
除されるのでSBの残り容量に変化はない。新設の場合、
将来新設されるであろう図面情報はその増加を予想して
設計されているので、SBの容量の余裕分で吸収可能であ
り、模擬変更時に容量不足となる問題はほとんど生じな
い。しかしながら置換の場合には、模擬変更時には、当
該セグメントが存在し続けその他に退避セグメントが新
規に作成されるので、SBの残り容量を確実に少なくす
る。また、置換セグメントは既存のものであり、将来の
図面情報の増加分ではない。よつてSBの余裕分では吸収
できない。結局設計時に任意の場合の模擬変更中に生じ
る置換セグメントに対する退避分をどの程度として考え
るかによるが、前述のとおり十分な量を確保することは
できない。
Here, consideration will be given to the increase / decrease of the segment due to the simulated change when the above-mentioned save area is used. Replacement,
For the drawing information to be deleted, a save segment is newly created by copying the drawing information immediately before the change. In the case of new installation, the save segment is not created, but the drawing information concerned is newly created as a segment. In the case of deletion, even if the number of saved segments increases, the relevant segment is deleted, so there is no change in the remaining capacity of the SB. In the case of new establishment,
Since the drawing information that will be newly established in the future is designed in anticipation of the increase, it can be absorbed by the margin of the capacity of the SB, and there is almost no problem of capacity shortage during the simulation change. However, in the case of replacement, at the time of simulated change, the relevant segment continues to exist and another save segment is newly created, so the remaining capacity of the SB is surely reduced. Further, the replacement segment is an existing one and is not an increase in future drawing information. Therefore, SB's margin cannot be absorbed. After all, although it depends on how much the saved amount for the replacement segment generated during the simulated change in any case at the time of design is considered, a sufficient amount cannot be secured as described above.

上記のような状況において、新設により図面情報が増加
していつた場合、模擬変更時の置換による退避セグメン
ト分が圧迫されるようになる。すなわち、図面情報が増
えていくと、退避セグメントを格納する領域が不足し、
退避方式による模擬変更が不可能になる場合がありう
る。退避領域が不足した場合、退避セグメントは格納で
きないが、当該セグメントの置換は可能とあるので、強
いて行なえば模擬変更のみは続行できる。しかし、変更
したセグメントの退避セグメントが保存されていないの
で、現行復帰は不可能である。また模擬変更において予
想以上に大量に置換操作を行なうと、やはり退避領域が
なくなる可能性がある。このように退避方式は、図面情
報の増加が進んだり、膨大な置換操作を行なつたりする
と、模擬変更そのものができなくなるという問題があ
る。
In the situation as described above, when the drawing information increases due to the new installation, the evacuation segment portion due to the replacement at the time of the simulation change is put under pressure. That is, as the drawing information increases, the area for storing the save segment becomes insufficient,
In some cases, it is not possible to make simulated changes by the evacuation method. When the save area is insufficient, the save segment cannot be stored, but since the segment can be replaced, if forced, only the simulated change can be continued. However, since the saved segment of the changed segment is not saved, it is impossible to restore the current state. In addition, if a larger amount of replacement operation is performed than expected in the simulated change, the save area may still run out. As described above, the evacuation method has a problem that the simulated modification itself cannot be performed if the number of drawing information is increased or a large amount of replacement operation is performed.

本発明は以上の問題点を解決し、現行復帰を高速に行な
い、しかもSBの容量を節約できる図面表示装置を提供す
ることを目的とするものである。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and to provide a drawing display device capable of performing current restoration at high speed and saving the capacity of SB.

D.問題点を解決するための手段 本発明は、ホスト計算機に、現行図面情報格納領域と、
この格納領域内の現行図面情報が模擬用図面情報として
コピーされる模擬用図面情報格納領域と、前記のセグメ
ントバツフアの残り容量が不足しているか否かを認識す
る容量認識部と、この容量認識部による容量不足認識時
に記録方式を選択し、それ以外の時には退避方式を選択
する方式選択部とを設け、 前記セグメントバツフア内に、退避方式選択時に模擬変
更対象となる図形情報単位に係る現行図面内容を退避図
形情報単位名称を付してコピーする退避領域を設け、 更に前記ホスト計算機に、退避方式選択時に変更履歴を
変更種別と変更対象の図形情報単位についての前記退避
図形情報単位名称とにより記録する第1の記録部と、記
録方式選択時に前記模擬用図面情報についての変更履歴
を記録する第2の記録とを設けて成る。
D. Means for Solving Problems The present invention provides a host computer with a current drawing information storage area,
The simulated drawing information storage area in which the current drawing information in this storage area is copied as the simulated drawing information, a capacity recognition unit for recognizing whether or not the remaining capacity of the segment buffer is insufficient, and this capacity A recognition method is provided with a method selection section that selects a recording method at the time of recognizing the capacity shortage by the recognition section, and selects a save method at other times, and relates to the graphic information unit to be simulated changed when the save method is selected in the segment buffer. An evacuation area is provided for copying the contents of the current drawing with the name of the evacuation figure information unit, and the change history is stored in the host computer when the evacuation method is selected, and the evacuation figure information unit name of the figure information unit to be changed And a second record for recording the change history of the simulated drawing information when the recording method is selected.

E.作用 前記模擬用図面情報格納領域内の図面情報は、模擬変更
要求に応じて変更処理されると共に、模擬変更処理時に
ホスト計算機の処理対象とされ、 現行復帰時には前記第1の記録部の記録内容を参照し
て、前記退避領域における復帰対象の図形情報単位の退
避図形情報単位名称を元の図形情報単位名称に戻し、か
つ図形表示装置内の前記図面情報格納領域における復帰
対象の図形情報単位を削除すると共に、前記第2の記録
部の記録内容を参照して、模擬変更した図形表示装置内
の図面情報格納領域内の図面情報のみを現行の図面情報
に戻す。
E. Action The drawing information in the simulation drawing information storage area is changed in response to a simulation change request, and is processed by the host computer during the simulation change processing. When the current state is restored, the drawing information in the first recording unit is changed. Referring to the recorded contents, the saved graphic information unit name of the graphic information unit to be restored in the save area is returned to the original graphic information unit name, and the graphic information to be restored in the drawing information storage area in the graphic display device While deleting the unit, referring to the recorded contents of the second recording section, only the drawing information in the drawing information storage area in the simulated display device is restored to the current drawing information.

F.実施例 (1)全体構成 第1図は本発明の実施例の全体構成を示す構成図であ
り、この実施例では、ホスト計算機1に、現行図面情報
を常時格納し実際の運用に用いる現行図面情報格納領域
3と、模擬変更時に使用する模擬用図面情報格納領域4
と、模擬変更時に図形表示装置2内の図面情報に対し変
更操作を行なつた際の履歴を記録しておく2つの記録部
(以下これをログという)、即ち第1のログ61及び第2
のログ62と、これらログ61,62の記録内容について記録
処理を行なう記録処理部7と、前記SB5の残り容量が不
足しているか否かを認識する容量認識部8と、この容量
認識部による容量不足認識時に記録方式を選択し、それ
以外の時には退避方式を選択する例えば方式フラグを含
む方式選択部9とを設ける。
F. Embodiment (1) Overall Configuration FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. In this embodiment, the current drawing information is always stored in the host computer 1 and used for actual operation. Current drawing information storage area 3 and simulated drawing information storage area 4 used for simulated changes
When two of the recording unit to record the history of the time the change operation to the drawing information of the graphic display device 2 when the simulated change was rows summer (hereinafter this log), that is, the first log 6 1 and the Two
Log 6 2 , a recording processing unit 7 for recording the recorded contents of the logs 6 1 and 6 2, a capacity recognition unit 8 for recognizing whether or not the remaining capacity of the SB 5 is insufficient, and this capacity For example, a system selection unit 9 including a system flag is provided which selects a recording system when the recognition unit recognizes the capacity shortage, and selects a save system at other times.

そして図形表示装置2のSB5に、図面情報格納領域10と
退避領域11とを設ける。図面情報格納領域10はホスト計
算機の処理対象となる図面情報を格納するためのもので
あり、ホスト計算機1が現行業務処理を行なう場合には
現行図面情報を格納し、模擬変更処理を行なう場合に模
擬用図面情報を格納する。退避領域11は方式選択部9に
より退避方式が選択されたときに用いられるものであ
り、模擬変更時に変更された図形情報セグメントの現行
図面を、図面情報格納領域10にて付された当該セグメン
ト名称とは別名称を付して存在する。以下では退避領域
11に格納された図形情報セグメントを退避セグメントと
称する。退避セグメントの可視属性は不可視としてお
く。なぜならば退避セグメントと言つても図面情報セグ
メントと同一のSB内に存在し、その退避セグメントの内
容は図面を構成するセグメント内容(図面においてシン
ボル等として位置するもの)なので、FB展開時の図面情
報切り出しの対象となる。すなわち、模擬変更処理時に
現行図面内容である退避セグメントも表示されてしま
う。これでは模擬変更にならないので、退避セグメント
の可視属性を不可視としておくのである。(可視属性が
不可視のセグメントはFBにビツト展開する対象とはなら
ない。)要するに退避領域とは、図形表示装置内のメモ
リ上の連続したアドレス空間を示すものではなく、退避
セグメントの集合を示すものである。ただ管理上の便宜
から退避セグメント名称は連続したものとする場合例え
ば番号である場合が多い。
Then, a drawing information storage area 10 and a save area 11 are provided in SB5 of the graphic display device 2. The drawing information storage area 10 is for storing drawing information to be processed by the host computer, and stores current drawing information when the host computer 1 carries out current business processing, and when carrying out simulated change processing. Stores simulated drawing information. The evacuation area 11 is used when the evacuation method is selected by the method selection unit 9, and the current drawing of the graphic information segment changed at the time of the simulation change is assigned to the segment name assigned in the drawing information storage area 10. It exists with a different name from. Below is the save area
The graphic information segment stored in 11 is called a save segment. The visible attribute of the save segment is invisible. This is because the evacuation segment exists in the same SB as the drawing information segment, and the contents of the evacuation segment are the contents of the segments that make up the drawing (positions such as symbols in the drawing). It becomes the target of cutting out. That is, the saved segment, which is the current drawing content, is also displayed during the simulation change process. Since this does not result in a simulated change, the visible attribute of the saved segment is made invisible. (A segment whose visible attribute is invisible is not subject to bit expansion to FB.) In short, the save area does not indicate a contiguous address space on the memory in the graphic display device, but indicates a set of save segments. Is. However, for convenience of management, the saved segment names are often numbers, for example, when they are consecutive.

(2)第1のログ61の管理内容及び記録処理部の機能 ログ61は退避方式が選択されたときに記録されるもので
あり、これで管理する各セグメント単位の変更履歴1レ
コードの内容は、変更種別,当該セグメント名称,退避
セグメント名称である。
(2) Management contents of the first log 6 1 and functions of the recording processing unit The log 6 1 is recorded when the save method is selected. The contents are the change type, the segment name, and the saved segment name.

変更種別とは、現時点の模擬図面と現行図面とで異なる
セグメントに関しての相違の種別であり、置換,新設,
削除の3種類とする。置換とは、当該セグメントの内
容、例えば形状,色,位置座標等が現行のものから変え
られているということである。新設とは、当該セグメン
トは現行図面に存在せず、現時点の模擬図面に新たに登
録されているものであることを示す。削除とは、当該セ
グメントは現行図面に存在するが、現時点の模擬図面か
ら削除されていることを示す。
The change type is a type of difference between different segments between the current simulated drawing and the current drawing, such as replacement, new installation,
There are three types of deletion. The replacement means that the content of the segment, for example, the shape, color, position coordinate, etc., has been changed from the current one. "Newly established" means that the segment does not exist in the current drawing but is newly registered in the current simulated drawing. Deletion means that the segment exists in the current drawing but has been deleted from the current simulated drawing.

セグメント名称とは、上記変更の対象となつているセグ
メントの名称である。すなわち、置換,新設,削除され
たセグメントの名称である。置換,削除の対象となつて
いるセグメントは現行図面において存在するものなの
で、当該セグメント名称は既存のものである。新設の対
象となつているセグメントは現行図面に存在しないもの
なので、当該セグメント名称は新規に登録するが、図面
やログに存在するものとは区別できるよう固有のものと
する。
The segment name is the name of the segment that is the target of the above change. That is, it is the name of the segment that has been replaced, newly created, or deleted. Since the segment to be replaced or deleted exists in the current drawing, the segment name is the existing one. Since the segment targeted for new installation does not exist in the current drawing, the segment name is newly registered, but it should be unique so that it can be distinguished from the one existing in the drawing or log.

退避セグメント名称とは、当該変更対象のセグメントの
現行図面における内容と同一内容のセグメントの名称で
ある。もちろん当該セグメント名称とは別名である。さ
て、変更履歴の目的は模擬変更された図面を現行図面に
戻すことであり、そのためには変更前の現行図面の内容
が必要である。しかし、模擬図面においては変更により
セグメントの現行内容は失われてしまう。よつて、現行
図面内容を退避セグメントとして図形表示装置内に保存
しておくのである。変更種別が「置換」,「削除」の場
合、退避セグメントは置換,削除された当該セグメント
の現行図面における内容である。変更種別が「新設」の
場合、当該セグメントは現行図面には存在しないので、
退避セグメントも存在しない。
The save segment name is the name of a segment having the same contents as the contents in the current drawing of the segment to be changed. Of course, the segment name is an alias. Now, the purpose of the change history is to restore the simulated drawing to the current drawing, and for that purpose, the contents of the current drawing before the change are necessary. However, in the simulated drawing, the current contents of the segment are lost due to the change. Therefore, the contents of the current drawing are saved as a save segment in the graphic display device. When the change type is "replace" or "delete", the saved segment is the content of the replaced or deleted segment in the current drawing. If the change type is "new", the segment does not exist in the current drawing, so
There is no save segment either.

前記記録処理部7は次のような機能を有する。即ち、ま
ず、あるセグメントに対し変更がなされた場合、当該セ
グメントに関するなんらかの変更履歴が既にログ61に記
録されているかどうか検索する。その結果により以下の
ように処理する。
The recording processing unit 7 has the following functions. That is, first, when a change to a segment is made, whether to search whether any change history regarding the segment is already logged 6 1. Depending on the result, it processes as follows.

a.未記録の場合 当該セグメントについての履歴を当該変更に従つてその
ままログ61に記録する。
a. The history when for that segment of the unrecorded recording in accordance connexion as log 61 to the change.

b.記録済みの場合 当該セグメントに関して記録されている変更履歴の変更
種別をチエツクし、それと当該変更種別の組み合わせに
より以下のように処理が異なる。
b. When recorded, check the change type of the change history recorded for the segment, and the process differs as follows depending on the combination of the change type and the change type.

ア.記録済みの変更種別が「置換」である場合 当該変更が「置換」である場合何もしない。すなわち、
記録済みの変更種別が「置換」であるので、当該セグメ
ントは現行図面と現時点の模擬図面との両方に存在する
ものである。そのセグメント内容をさらに変えても、や
はり現時点の模擬図面には存在する。ただ現行図面と比
べて内容が異なるのみである。よつて、変更種別はやは
り「置換」であり、記録済みの変更履歴と同一である。
A. When the recorded change type is "replace" If the change is "replace," do nothing. That is,
Since the recorded change type is "replacement", the segment exists in both the current drawing and the current simulated drawing. Even if the segment content is further changed, it still exists in the current simulated drawing. However, the contents are different from the current drawings. Therefore, the change type is also “replacement”, which is the same as the recorded change history.

当該変更が「削除」である場合記録済みの変更種別を
「削除」とする。すなわち、記録済みの変更種別が「置
換」であるので、当該セグメントは現行図面において存
在するものである。今当該セグメントが模擬図面から削
除されたならば、当該セグメントに関して現時点の模擬
図面と現行図面との相違は、当該セグメントが現行図面
には存在するが模擬図面には存在しないということであ
る。すなわち、変更種別が「削除」ということである。
よつて、当該セグメントに関する記録済みの変更種別を
「置換」から「削除」に更新する。
When the change is “delete”, the recorded change type is “delete”. That is, since the recorded change type is “replacement”, the segment exists in the current drawing. If the segment is now deleted from the simulated drawing, the difference between the current simulated drawing and the current drawing for the segment is that the segment exists in the current drawing but not in the simulated drawing. That is, the change type is “delete”.
Therefore, the recorded change type of the segment is updated from “replace” to “delete”.

当該変更が「新設」であるという場合は論理的に存在し
ない。すなわち、上記のとおり当該セグメントは現行図
面に存在するものである。そのようなものについて「新
設」ということはありえない。逆に言えば、そのような
変更処理は認めない。
If the change is "new", it does not logically exist. That is, as described above, the segment exists in the current drawing. There is no such thing as a "new establishment". Conversely, such modification processing is not allowed.

イ.記録済みの変更種別が「削除」である場合 いかなる変更もありえない。この場合、この時点の模擬
図面には当該セグメントが存在しない。よつて、存在し
ないセグメントを指定して変更するということはありえ
ない。逆に言えば存在しないセグメントを指定すること
を認めない。また、当該変更が「新設」であつても、新
規セグメント名称は前述のとおり図面やログ61に存在す
るセグメント名称は使用できないようにしている。
I. When the recorded change type is "Delete" No change is possible. In this case, the segment does not exist in the simulated drawing at this point. Therefore, it is impossible to specify a segment that does not exist and change it. Conversely, it does not allow you to specify a segment that does not exist. Moreover, this change also filed by "new", the new segment names so that the segment names which exists as drawings or log 6 1 described above can not be used.

ウ.記録済みの変更種別が「新設」である場合 当該変更が「置換」である場合何もしない。なぜなら
ば、現時点の模擬図面において、当該セグメントは当該
「置換」により内容は変えられるが存在し続ける。しか
し、当該セグメントは、元々新設されたものであるの
で、現行図面においては存在しない。よつて、当該セグ
メントに関して現時点の模擬図面と現行面との相違は、
やはり「新設」のままである。よつて記録済みの変更履
歴はそのままでよいのである。
C. When the recorded change type is "new" If the change is "replace," do nothing. This is because, in the current simulated drawing, the content of the segment is changed by the "replacement", but it continues to exist. However, since this segment was originally newly established, it does not exist in the current drawing. Therefore, the difference between the current simulated drawing and the current surface regarding the segment is
After all, it is still "new". Therefore, the recorded change history can be left as it is.

当該変更が「削除」である場合、ログ61から当該変更履
歴を抹消する。なぜならば、現時点の模擬図面におい
て、当該セグメントは削除され存在しなくなる。しか
し、当該セグメントは元々新設されたものであるので、
現行図面においては存在しない。すなわち、当該セグメ
ントは現時点の模擬図面にも現行図面にも存在しないと
いうことになる。よつて、現時点の模擬図面と現行図面
との相違もないということになる。よつて、当該セグメ
ントについての変更履歴は必要ないので、ログ61から抹
消するのである。
If the change is "Delete", it deletes the change history from the log 6 1. This is because the segment is deleted and does not exist in the current simulated drawing. However, since this segment was originally newly established,
Not present in current drawings. That is, the segment does not exist in the current simulated drawing and the current drawing. Therefore, there is no difference between the current simulated drawing and the current drawing. Yotsute, because the change history is not necessary for the segment is to deleted from the log 6 1.

当該変更が「新設」であることはありえない。なぜなら
ば、当該セグメントは元々新設されたものであるので、
それに対してさらに新設するということは論理的におか
しい。よつて、このような変更は認めない。
The change cannot be "new". Because the segment was originally newly established,
On the other hand, it is logically wrong to establish a new one. Therefore, we do not allow such changes.

以上のログ更新方法を次表にまとめる。The following table summarizes the above log update methods.

登録…ログに新たに当該履歴を記録すること。 Registration: Record the history newly in the log.

更新…既に記録済みの変更種別を当該のものに更新する
こと。
Update: Update the already recorded change type to the relevant one.

履歴抹消…履歴そのものをログから抹消すること。Delete history ... Deleting the history itself from the log.

―…何もしないこと。―… Do nothing.

―――…このような場合はありえないこと。―――… It is impossible in such a case.

以上のように記録内容を管理すれば、特定セグメントに
対して複数回の変更があつたとしても変更履歴は1レコ
ードより多くなることはない(1レコードか変更履歴無
し。)から、後述する本発明の効果に加えて、多数回変
更されたセグメントであつてもその変更回数に影響する
ことなく1回以下の戻し処理で現行復帰できるという利
点が得られる。
If the recorded contents are managed as described above, the change history will not exceed one record even if the specific segment is changed a plurality of times (one record or no change history). In addition to the effect of the invention, it is possible to obtain the advantage that even if a segment has been changed many times, it can be restored to the current state by one or less return processes without affecting the number of changes.

ここで図面情報とログ61の内容の一部との対応の一例を
第2図に示すと、本図面は住宅地図であり、家のシンボ
ルを1セグメントで表現している。模擬変更処理を進め
ていつた時の図形表示装置の図面情報とログ内容の変化
を〜までに表わしている。下記にその説明をする。
○内数字は図と対応する。
Now an example of a correspondence between a part of the content of the drawing information and log 6 1 in Figure 2, this figure is a house map, which represent the symbols of the house in one segment. The changes in the drawing information and the log contents of the graphic display device during the progress of the simulated change processing are shown up to. The explanation is given below.
The numbers inside ○ correspond to the figures.

現行図面情報である。Seg.Bの家のみ存在する。ログ
には当然何も記録されていない。
It is current drawing information. Only Seg.B house exists. Of course nothing is recorded in the log.

1軒の家が新設されSeg.Aとして図面情報に新規登録
された。ログには当該セグメントに関する変更履歴がな
いので、当該変更履歴を新たにログに記録している。
One house was newly established and newly registered as Seg.A in the drawing information. Since the log has no change history regarding the segment, the change history is newly recorded in the log.

また、Seg.Bの家の形状が変えられた。ログには当該セ
グメントに関する変更履歴がないので、当該変更履歴を
新たにログに記録している。ログは図のとおりである。
Also, the shape of the Seg.B house has changed. Since the log has no change history regarding the segment, the change history is newly recorded in the log. The log is as shown in the figure.

Seg.Aの位置座標と形状が変えられた。当該変更種別
は「置換」である。ログには当該セグメントに関する変
更履歴が記録済みであり、その変更種別は「新設」であ
る。よつて、前記ログ更新方法にしたがつて、ログ操作
は一切行なわない。
The position coordinates and shape of Seg.A have been changed. The change type is “replacement”. A change history regarding the segment is already recorded in the log, and the change type is “new”. Therefore, according to the log updating method, no log operation is performed.

また、Seg.Bが削除された。当該変更種別は「削除」で
ある。ログには当該セグメントに関する変更履歴が記録
済みであり、その変更種別は「置換」である。よつて、
前記ログ更新方法に従つて、当該記録済み変更履歴の変
更種別を「削除」に更新している。
Also, Seg.B has been deleted. The change type is “delete”. A change history regarding the segment is already recorded in the log, and the change type is “replace”. Yotsutte
According to the log updating method, the change type of the recorded change history is updated to "delete".

なお参考としては、図ではログに現行内容をも記載して
いる。
For reference, the figure also shows the current contents in the log.

(3)前記第2のログ62の管理内容 ログ62は記録方式が選択されたときに記録されるもので
あり、これの管理について第1のログ61と異なる点は、
退避セグメント名称の代りに現行の図面内容を記録する
ことである。即ち、ログ62で管理する各セグメント単位
の変更履歴1レコードの内容は、変更種別,当該セグメ
ント名称及び変更対象の現行図面内容である。現行図面
内容の記録については、例えば置換を行なう場合には元
の現行図面内容が記録され、例えば新設ならば元の図面
内容は存在しないので何も記録されない。
(3) Management content of the second log 6 2 The log 6 2 is recorded when the recording method is selected, and the management of this is different from the first log 6 1 .
It is to record the contents of the current drawing instead of the save segment name. That is, the contents of the change history 1 record for each segment unit for managing the log 6 2, change type, a current drawing contents of the segment name and modify. Regarding the recording of the contents of the current drawing, if the replacement is performed, the contents of the original drawing are recorded, and if the contents are new, the contents of the original drawing do not exist and nothing is recorded.

(4)作用 次に上述の装置の作用について述べる。先ず現行運用時
にはホスト計算機1は現行図面情報格納領域3内の現行
図面情報を処理対象とし、これを用いて各種処理を行な
う。そして模擬変更処理を開始する場合には、ホスト計
算機1は現行図面情報を模擬用図面情報格納領域4にコ
ピーし、模擬用図面情報を処理対象とする。容量認識部
8は、SB5の残り容量を算出すると共に退避領域11を利
用した場合に模擬変更対象のセグメントの増減セグメン
ト量を計算し、算出した残り容量とセグメント量の増減
分とを比較し、残り容量が不足しているか否かを認識す
る。即ち算出したセグメント量が増分である場合、その
値が残り容量を越えるならば当該変更による増分セグメ
ントをSB5内に格納できないから、残り容量不足と判定
し、残り容量を越えなければ変更可と判定する。なお、
算出セグメント量が減分であればセグメント量が不足す
るということはない。模擬変更対象のセグメントのセグ
メント量が増減するのは次のア〜オの場合である。
(4) Operation Next, the operation of the above-mentioned device will be described. First, during the current operation, the host computer 1 targets the current drawing information in the current drawing information storage area 3 as a processing target, and performs various processing using this. When starting the simulation change processing, the host computer 1 copies the current drawing information to the simulation drawing information storage area 4 and sets the simulation drawing information as a processing target. The capacity recognizing unit 8 calculates the remaining capacity of the SB5 and the increase / decrease segment amount of the segment to be simulated changed when the save area 11 is used, and compares the calculated remaining capacity with the increase / decrease amount of the segment amount, Recognize whether the remaining capacity is insufficient. That is, if the calculated segment amount is an increment and the value exceeds the remaining capacity, the increment segment due to the change cannot be stored in SB5, so it is determined that the remaining capacity is insufficient, and if it does not exceed the remaining capacity, it is determined that the change is possible. To do. In addition,
If the calculated segment amount is decremented, there will be no shortage of the segment amount. The segment amount of the segment to be simulated changed increases / decreases in the following cases.

ア.新設の場合 図面情報格納領域(図面領域)10の新設セグメント分が
増える。
A. In the case of new installation The number of new segments in the drawing information storage area (drawing area) 10 increases.

イ.変更履歴のないセグメントに対する削除の場合 増減なし。当該セグメントは図面領域10からは削除され
るが、退避領域11にコピーされるから。
I. When deleting a segment that has no change history No increase or decrease. The segment is deleted from the drawing area 10 but copied to the save area 11.

ウ.変更履歴のないセグメントに対する置換の場合 図面領域10で置換するセグメントの前セグメントに対す
る増減分と、前セグメントの退避領域11へのコピーの増
分。
C. When replacing a segment that has no change history: Increase / decrease of the segment to be replaced in drawing area 10 with respect to the previous segment, and the increment of copying of the previous segment to save area 11.

エ.変更履歴が新設,置換であるセグメントに対する削
除の場合 図面領域10の当該セグメント分が減る。
D. When deleting a segment whose change history is new or replaced The number of the relevant segment in drawing area 10 is reduced.

オ.変更履歴が新設,置換であるセグメントに対する置
換の場合 図面領域10に置換するセグメントの前セグメントに対す
る増減分。
E. When replacing a segment whose change history is new or replaced: Increase or decrease of the segment to be replaced in drawing area 10 with respect to the previous segment.

ここでSB5の残り容量の算出については、あるセグメン
トをSB5に格納するために要するセグメント量(容量)
を正確に算出できる場合には、SB5の残り容量を図形表
示装置2に問い合わせなくとも、SB5の全体容量と算出
した前記セグメント量とにもとづいてそのときの残り容
量を把握でき、このため計算によつて残り容量が不足し
ているか否かを認識できる。ところであるセグメントを
SB5に格納するために要するセグメント量を正確に算出
できない場合には、概算を行なう。この概算について
は、実験(セグメント登録後セグメント残り容量問い合
わせを行ない、登録前のセグメント残り容量からその値
を減算する)によりセグメントの格納に要するSB容量の
概算式を求め、これにもとづいて行なう。セグメント量
算出が概算である場合は、図形表示装置2に残りセグメ
ント量を問い合わせ、正確な残りセグメント量を認識す
る。その残りセグメント量と算出したセグメント量によ
り、再び上記と同様の判定をする。なぜならば、変更に
関するセグメント量算出が概算であるならば、その時点
で認識している残りセグメント容量も下記式からわかる
ように概算値だからである。
Here, for the calculation of the remaining capacity of SB5, the segment amount (capacity) required to store a certain segment in SB5
Can be accurately calculated, the remaining capacity at that time can be grasped based on the total capacity of the SB5 and the calculated segment amount without inquiring the remaining capacity of the SB5 to the graphic display device 2. Therefore, it is possible to recognize whether or not the remaining capacity is insufficient. By the way,
If the amount of segments required to store in SB5 cannot be calculated accurately, make an approximate calculation. This estimation is performed based on an approximate formula for the SB capacity required to store a segment, obtained by an experiment (a segment remaining capacity inquiry is performed after registering a segment, and the value is subtracted from the segment remaining capacity before registration). If the calculation of the segment amount is approximate, the figure display device 2 is inquired about the remaining segment amount, and the accurate remaining segment amount is recognized. The same determination as above is made again based on the remaining segment amount and the calculated segment amount. This is because if the calculation of the segment amount related to the change is an approximate value, the remaining segment capacity recognized at that time is also an approximate value as can be seen from the following formula.

残りセグメント容量=直前の残りセグメント容量−増減
セグメント量概算値 前提によりセグメントの概算値は実験のものより多目に
するため、認識している残りセグメント容量は少な目で
あり、実際の残りセグメント容量は認識している値より
多い可能性がある。よつて、正確な残りセグメント容量
を問い合わせて認識し再判定すれば、模擬実行可となる
可能性がある。
Remaining segment capacity = Immediately remaining segment capacity-Increase / decrease estimated segment amount Since the estimated segment value is higher than that of the experiment due to assumptions, the recognized remaining segment capacity is small and the actual remaining segment capacity is It may be higher than the recognized value. Therefore, if the accurate remaining segment capacity is inquired, recognized, and re-determined, the simulation may be possible.

このように残りセグメント容量の把握に関して、セグメ
ント変更に際しての残りセグメント容量を計算で正確に
できない場合、常時はそれを結果が少な目になるような
概算で行ない、残りセグメント容量が不足と判定した時
に初めて図形表示装置2に現在の残りセグメント容量の
問い合わせをして正確な値を把握し、再度判定を行なう
という方式をとることにより、図形表示装置へ残りセグ
メント容量を問い合わせるという、長時間を要する1/0
処理を最小限にし、常時のセグメント変更の処理を高速
に行なうことができる。
In this way, regarding the remaining segment capacity, when the remaining segment capacity cannot be accurately calculated when changing the segment, it is always roughly estimated so that the result will be small, and only when it is judged that the remaining segment capacity is insufficient. By inquiring the figure display device 2 about the present remaining segment capacity, grasping an accurate value, and making a determination again, it is necessary to inquire the figure display device about the remaining segment capacity. 0
The processing can be minimized and the constant segment change processing can be performed at high speed.

次に容量認識部8がSB5の残り容量が不足していないと
認識した場合には、方式選択部9により、例えば方式フ
ラグを「退避方式」として退避方式を選択する。退避方
式が選択された場合、まず、あるセグメント(Seg.I)
に対し変更が要求された場合、当該セグメントに関する
なんらかの変更履歴が既にログ61に記録されているかど
うか検索する。その結果により以下のように処理する。
Next, when the capacity recognizing unit 8 recognizes that the remaining capacity of the SB 5 is not insufficient, the method selecting unit 9 selects the saving method, for example, by setting the method flag to “saving method”. When the save method is selected, first, a certain segment (Seg.I)
If a change is requested to, whether examines whether any change history for the segment has already been logged 6 1. Depending on the result, it processes as follows.

a.記録なし―初期変更である場合(第3図参照) ホスト計算機内の模擬図面を要求通り変更する。a. No record-In case of initial change (see Fig. 3) Change the simulated drawing in the host computer as required.

図形表示装置SB内図面情報格納領域10の当該変更対象Se
g.Iの内容を退避領域11に名称をSeg.Jとしてコピーす
る。このSeg.JがSeg.Iの現行図面内容を保存しておく退
避セグメントである。ただし、これは、Seg.Iが「新
設」である場合は除く。(「新設」であるならば現行図
面には存在しないものであるから。)つぎに、Seg.Iに
ついて要求通り変更する。すなわち、「新設」ならばSe
g.Iを新設し、「置換」ならばSeg.Iを置換し、「削除」
ならばSeg.Iを削除するのである。
The change target Se in the drawing information storage area 10 in the graphic display SB
Copy the contents of gI to the save area 11 with the name Seg.J. This Seg.J is a save segment for saving the current drawing contents of Seg.I. However, this does not apply when Seg.I is "new". (If it is a "new installation", it does not exist in the current drawing.) Next, change Seg.I as requested. That is, if it is "newly installed"
Newly set gI, replace "Seg.I" if "replace" and "delete"
If so, delete Seg.I.

ログ61には当該の変更種別[置換/新設/削除],当該
セグメント名称[Seg.I],退避セグメント名称[Seg.
J]を記録する。前述のとおり、Seg.Iが新設の場合、退
避セグメント名称は「なし」である。
The change type in the log 6 1 [substituted / new / deleted, the segment name [Seg.I], save the segment name [Seg.
J]. As described above, when Seg.I is newly installed, the save segment name is “none”.

ログ61に当該の変更種別,セグメント名称,退避セグメ
ント名称を記録する。
The change type in the log 61, segment name, a save segment name records.

b.記録あり―2回目以降変更時(第4図(ア)〜(ウ)
参照) 記録済み変更種別と当該変更種別の組み合わせにより以
下のように処理が異なる。なお、以下の組み合わせ以外
は論理的におかしいので認めないものとする。
b. Recorded-When changed after the second time (Fig. 4 (A) to (C))
(Refer) The processing differs as follows depending on the combination of the recorded change type and the change type concerned. In addition, since it is logically wrong except the following combinations, it is not admitted.

ア.記録済み変更種別が「新設」また「置換」で当該変
更種別が「置換」の場合(第4図(ア)参照) ホスト計算機1内の模擬図面情報を要求通り置換する。
A. When the recorded change type is “new” or “replace” and the change type is “replace” (see FIG. 4A), the simulated drawing information in the host computer 1 is replaced as requested.

図形表示装置内図面情報のSeg.Iの内容を置換する。Replace the contents of Seg.I in the drawing information in the graphic display device.

ログ操作は行なわない。すなわち、Seg.Iの記録済み変
更種別が「新設」ならば、Seg.Iは元々現行図面には存
在しない。当該セグメントの内容を置換により変えてし
まつても、やはり模擬図面には存在する。現行図面に対
する当該変更後の模擬図面との相違は、やなりSeg.Iの
「新設」であり、ログ61の内容はそのままでよい。ま
た、Seg.Iの記録済み変更種別が「置換」ならば、Seg.I
にさらに当該置換を加えても、現行図面と模擬図面との
相違はやはりSeg.Iの「置換」である。また、Seg.Iの現
行図面における内容はSeg.Jとして退避済みである。よ
つてログ操作は不要である。
No log operation is performed. That is, if the recorded change type of Seg.I is "new", Seg.I does not originally exist in the current drawing. Even if the contents of the segment are changed by replacement, they still exist in the simulated drawing. The difference between the simulated drawings after the changes to the current drawing is a "new" in and become Seg.I, the contents of the log 6 1 may be as it is. If the recorded change type of Seg.I is "replace", then Seg.I
Even if the replacement is added to the above, the difference between the current drawing and the simulated drawing is still the “replacement” of Seg.I. The contents of the current drawing of Seg.I have been saved as Seg.J. Therefore, log operation is unnecessary.

イ.記録済み変更種別が「置換」で当該変更種別が「削
除」である場合(第4図(イ)参照) ホスト計算機1内の模擬図面情報を要求通り削除する。
I. When the recorded change type is “replace” and the change type is “delete” (see FIG. 4A), the simulated drawing information in the host computer 1 is deleted as requested.

図形表示装置内図面情報のSeg.Iの内容を削除する。Delete the contents of Seg.I in the drawing information in the graphic display device.

当該ログ61の変更種別を「置換」から「削除」に更新す
る。すなわち、Seg.Iは、記録済み変更種別が「置換」
であるので、元々現行図面に存在するものである。それ
を当該変更により模擬図面から削除してしまうと、現行
図面に対する現時点の模擬図面の相違はSeg.Iの「削
除」である。よつて、ログ61の当該セグメントの変更種
別を「削除」に更新するのである。なお、Seg.Iの現行
図面における内容はSeg.Jとして既に退避済みであり、
これに対する操作も不要である。
To update the changes type the log 6 1 from the "replacement" to "delete". That is, in Seg.I, the recorded change type is "replace".
Therefore, it originally exists in the current drawing. If it is deleted from the simulated drawing due to the change, the difference between the current simulated drawing and the current drawing is the "deletion" of Seg.I. Yotsute is to update the change type of the segment of the log 61 to "delete". The contents of the current drawing of Seg.I have already been saved as Seg.J,
No operation is required for this.

ウ.記録済み変更種別が「新設」であり当該変更種別が
「削除」である場合(第4図(ウ)参照) ホスト計算機1内の模擬図面情報を要求通り削除する。
C. When the recorded change type is “new” and the change type is “delete” (see FIG. 4C), the simulated drawing information in the host computer 1 is deleted as requested.

図形表示装置内図面情報のSeg.Iの内容を削除する。Delete the contents of Seg.I in the drawing information in the graphic display device.

当該ログ61の変更履歴を抹消する。すなわち、Seg.Iは
元々新設されたものであるので現行図面には存在しな
い。当該変更によりSeg.Iは模擬図面から削除される。
よつて、Seg.Iは現行図面にも現時点の模擬図面にも存
在しないということになり、両図面の相違はない。した
がつてログからSeg.Iに関する変更履歴は除かなければ
ならない。なお、新設であるSeg.Iに対する退避セグメ
ントは元々存在しないので、それに関する操作は不要で
ある。
It deletes the history of changes the log 6 1. In other words, Seg.I does not exist in the current drawings because it was originally created. Due to this change, Seg.I will be deleted from the simulated drawing.
Therefore, Seg.I does not exist in the current drawing and the current simulated drawing, and there is no difference between the two drawings. Therefore, the change history regarding Seg.I must be removed from the log. Incidentally, since there is no save segment for Seg.I which is newly established, the operation related to it is unnecessary.

次に現行復帰処理を行なう場合には、ログ61に記録され
ている変更履歴を参照し図形表示装置内の図面情報を現
行内容に戻す処理を行なう。記録済み変更種別により以
下のように異なる。
Then when performing the current recovery processing performs the process of returning reference change history recorded in the log 61 of the drawing information in the graphics display to the current content. It differs as follows depending on the recorded change type.

a.記録済み変更種別が「置換」である場合(第5図参
照) 当該Seg.Iを図形表示装置内図面情報格納領域8から削
除する。つぎに当該Seg.Iの退避Seg.JをSeg.Iとしてリ
ネームする。即ち、Seg.Jの名称をSeg.Iに変更する。こ
のSeg.Iの可視属性は可視としておく。
a. When the recorded change type is “replace” (see FIG. 5), the Seg.I is deleted from the drawing information storage area 8 in the graphic display device. Next, the saved Seg.J of the Seg.I is renamed as Seg.I. That is, the name of Seg.J is changed to Seg.I. The visible attribute of this Seg.I is visible.

以上は、「置換」により現行内容とは変わっている現時
点のSeg.Iを削除し、Seg.Iの元(現行)の内容を持つて
いる退避Seg.Jを名称変更してSeg.Iとして再現するので
ある。
The above deletes the current Seg.I that has changed from the current contents by "replacement", renames the saved Seg.J that has the original (current) contents of Seg.I, and renames it as Seg.I. It is reproduced.

b.記録済み変更種別が「新設」である場合(第6図参
照) 当該Seg.Iを図形表示装置内図面情報格納領域10から削
除する。
b. When the recorded change type is “new” (see FIG. 6), the Seg.I is deleted from the drawing information storage area 10 in the graphic display device.

これは、Seg.Iは「新設」であり元々現行図面には存在
しないものなので、Seg.Iを削除するだけで当該セグメ
ントに関しては現行図面内容に戻るのである。
This is because Seg.I is "new" and does not originally exist in the current drawing, so simply deleting Seg.I will return the contents of the current drawing to the relevant segment.

c.記録済み変更種別が「削除」である場合(第7図参
照) 当該Seg.Iの退避セグメントSeg.JをSeg.Iとしてリネー
ムする。
c. When the recorded change type is “delete” (see FIG. 7), the save segment Seg.J of the relevant Seg.I is renamed as Seg.I.

これは、Seg.Iが現行図面には存在し現時点の模擬図面
には存在しないものなので、Seg.Iの元(現行)の内容
を持つている退避Seg.Jを名称変更してSeg.Iとして再現
するだけで、当該セグメントに関しては現行図面内容に
戻るのである。
This is because Seg.I exists in the current drawing and does not exist in the current mock drawing, so rename Save.J that has the original (current) contents of Seg.I and rename Seg.I. The content of the relevant segment is returned to the contents of the current drawing by simply reproducing.

さて、上記の現行復帰において当該セグメントが記録済
み変更種別「置換」,「削除」である場合リネームによ
り現行内容に戻している。従つて、ホスト計算機から図
形表示装置へのセグメント内容に関する伝送処理および
図形表示装置内におけるセグメント登録操作がなく、リ
ネーム命令の伝送およびリネーム(セグメントの名称変
更)のみが行なわれるため、戻し処理時間が格段に短く
て済む。
By the way, in the above current restoration, when the segment is the recorded change type “replace” or “delete”, the current content is restored by renaming. Therefore, since there is no transmission processing related to the segment contents from the host computer to the graphic display device and no segment registration operation in the graphic display device, only the rename command is transmitted and the rename processing is performed. Remarkably short.

以上においてログ61の管理及び退避領域11における名称
変更については、図形情報単位としてセグメント単位を
例にとつて述べたが、セグメント単位で行なう代りにID
B単位あるいはセグメントより大きな図形情報単位で行
なつてもよい。
ID instead for renaming in the management and the save area 11 of the log 61 in the foregoing, the segment unit as graphic information unit said connexion with the example, carried out in segment units
It may be performed in units of B or graphic information larger than the segment.

また容量認識部8がSB5の残り容量不足と認識した場合
には、方式選択部9により、例えば方式フラグを「記録
方式」として記録方式を選択する。この場合には第1の
ログ61及び退避領域11を用いる代りに、既に述べたよう
に第2のログ62を用い、これに変更種別,変更対象のセ
グメント名称及び変更対象の現行図面内容を1レコード
として記録する。現行復帰の際は、ログ62の記録内容及
び現行,模擬の図面情報を参照して、図面領域10内の図
面情報を模擬から現行のものに戻す操作を行なう。
When the capacity recognizing unit 8 recognizes that the remaining capacity of the SB 5 is insufficient, the method selecting unit 9 selects the recording method by setting the method flag to “recording method”, for example. Instead of using the first log 6 1 and save area 11 in this case, the second log 6 2 used as already mentioned, change type thereto, the segment name and the current drawing contents to be changed to be changed Is recorded as one record. When the current return, logs 6 2 of recorded contents and the current, with reference to the drawing information of the simulated, performs an operation to return the drawing information of the drawing area 10 from mock current one.

ここで、前記の模擬変更によるセグメント量増減のケー
スであるア〜オのうち、退避方式が原因でセグメント量
が増えるのはウのケースのみである。すなわち、ア〜オ
のうちでセグメント量が増える可能性のあるのはア,
ウ,オであり、そのうちア,オの場合は図面領域だけの
増分であり、記録方式と同様であるので、退避方式が原
因の増加とは言えない。ウの場合、図面領域の増減分に
加えて退避領域の増分があり、この退避領域の増分がセ
グメント量の増加に大きく効いてくるのである。従つて
実際にはウのケースで実行不可と判定した場合、模擬変
更履歴の方式を記録方式に切り替え、これ以降の模擬変
更は記録方式で行なう。記録方式で行なえば、退避領域
の増分が全くなく、図面領域の増減分のみであるので、
模擬変更を実行できる可能性が十分ある。
Here, of the cases of increase and decrease of the segment amount due to the simulated change, only in the case of C, the segment amount increases due to the saving method. That is, there is a possibility that the segment amount may increase among
C and A, of which A and O are increments only in the drawing area and are the same as the recording method, it cannot be said that the evacuation method causes the increase. In the case of C, there is an increment of the save area in addition to the increase / decrease of the drawing area, and this increment of the save area has a great effect on the increase of the segment amount. Therefore, when it is actually determined that the execution is impossible in the case of C, the method of the simulated change history is switched to the recording method, and the subsequent simulated changes are performed by the recording method. If the recording method is used, there is no increment in the save area, only the increase / decrease in the drawing area.
There is a good chance that simulated changes can be performed.

なお退避方式において、図面領域のみのセグメント量が
増加するような場合、すなわち前記ア,オの場合、実行
不可と判定したならば、記録方式に切り替えても当該変
更は実行不可である。
In the save method, if the segment amount only in the drawing area increases, that is, in the cases of A and O, if it is determined that the execution is not possible, the change cannot be executed even if the recording method is switched.

記録方式が退避方式に比べて模擬変更可の可能性が向上
する理由は、前記イのケースにおいて退避領域の増分が
ないのでトータルとして図面領域のセグメント量分の減
少となることと、ウのケースにおいて退避領域の増分が
なくトータルとして前セグメントに対する置換後セグメ
ントの増減分のみであることである。すなわち、残りセ
グメント容量を多く減らすのは新設の場合のみであり、
別のセグメントに削除があれば残りセグメント容量が大
きく増えるので相殺され、通常は置換により微増減を繰
り返すのみであるので、模擬変更の実行可能性は十分あ
るのである。
The reason that the recording method is more likely to be changed by simulation than the save method is that in case (a) there is no increase in the save area, so the total amount is reduced by the segment amount of the drawing area. In the above, there is no increment of the save area, and the total is only the increase / decrease of the segment after replacement with respect to the previous segment. In other words, it is only in the case of new construction that the remaining segment capacity is greatly reduced,
If there is a deletion in another segment, the capacity of the remaining segment is greatly increased, which is offset. Usually, only a slight increase / decrease is repeated by replacement, so that there is sufficient possibility of executing the simulated change.

F.発明の効果 以上のように本発明によれば、 通常時は、模擬変更において変更対象の現行内容を別
の名称を付して退避領域にコピーし、当該領域の復帰対
象を元の名称に戻して現行復帰を行なつているため、復
帰対象の図形情報単位が多数あつても、図形表示装置へ
の伝送処理および図形表示装置内でのセグメント操作が
格段に少なく、従つて模擬変更処理後の現行復帰を非常
に高速に行なうことができる。
F. Effects of the Invention As described above, according to the present invention, normally, in the simulated change, the current contents of the change target are given a different name and copied to the save area, and the return target of the area is changed to the original name. Since there is a large number of graphic information units to be restored, the transmission processing to the graphic display device and the segment operation in the graphic display device are remarkably small, and the simulated change processing is performed accordingly. A later current return can be performed very quickly.

残りセグメント容量が不足した場合には、記録方式に
切り替えているため、模擬変更の続行が可能である。し
かもこの記録方式については、ログに録られているセグ
メントについてのみ元(現行図面)に戻すデータ操作を
行なえばよい。よつて、すべての図面情報を再びセグメ
ント登録しなおすことに比べ、無駄な伝送処理,セグメ
ント登録処理がなく、効率良く極めて短時間で元に戻す
ことができる。
When the remaining segment capacity is insufficient, the recording method is switched, so that the simulation change can be continued. Moreover, regarding this recording method, it is only necessary to perform a data operation to restore the original (current drawing) only for the segment recorded in the log. Therefore, as compared with re-registering all the drawing information again as a segment, wasteful transmission processing and segment registration processing can be eliminated, and the original information can be efficiently restored in an extremely short time.

上記の効果により、上記の効果を損なわない程度
に退避領域のセグメント容量を節約したシステム設計が
でき、コスト・パー・フオーマンスが良い。
Due to the above effects, it is possible to design the system in which the segment capacity of the save area is saved to the extent that the above effects are not impaired, and the cost per performance is good.

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

第1図は本発明の全体構成を示す構成図、第2図は図面
情報と記録部の内容との対応を示す対応図、第3図及び
第4図(ア)〜(ウ)は各々模擬変更処理の様子を示す
説明図、第5図〜第7図は各々現行復帰処理の様子を示
す説明図、第8図は図形表示装置の全体構成を示すブロ
ツク図、第9図は図形重合わせの様子を示す説明図、第
10図はビデオ信号発生のメカニズムを示すブロツク図で
ある。 1…ホスト計算機、2…図形表示装置、3…現行図面情
報格納領域、4…模擬用図面情報格納領域、5…セグメ
ントバツフア、61…第1の記録部、62…第2の記録部、
7…記録処理部、8…容量認識部、9…方式選択部、10
…図面情報格納領域、11…退避領域。
FIG. 1 is a block diagram showing the overall configuration of the present invention, FIG. 2 is a correspondence diagram showing the correspondence between drawing information and the contents of a recording unit, and FIGS. 3 and 4 (A) to (C) are simulated. FIG. 5 is an explanatory view showing the state of the changing process, FIG. 5 to FIG. 7 are explanatory views showing the state of the current restoration process, FIG. 8 is a block diagram showing the overall configuration of the graphic display device, and FIG. Explanatory diagram showing the state of
FIG. 10 is a block diagram showing the mechanism of video signal generation. DESCRIPTION OF SYMBOLS 1 ... Host computer, 2 ... Graphic display device, 3 ... Current drawing information storage area, 4 ... Simulation drawing information storage area, 5 ... Segment buffer, 6 1 ... 1st recording part, 6 2 ... 2nd recording Department,
7 ... Recording processing unit, 8 ... Capacity recognition unit, 9 ... Method selection unit, 10
... drawing information storage area, 11 ... save area.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ホスト計算機が処理対象としている図面情
報を図形表示装置のセグメントバッファ内の図面情報格
納領域にセグメント登録し、ホスト計算機から指示され
た表示範囲の図形情報を前記図面情報格納領域内の図面
情報より切り出して管面に表示する図面表示装置におい
て、 前記ホスト計算機に、現行図面情報格納領域と、この格
納領域内の現行図面情報が模擬用図面情報としてコピー
される模擬用図面情報格納領域と、前記セグメントバッ
ファの残り容量が不足している否かを認識する容量認識
部と、この容量認識部による容量認識時に記録方式を選
択し、それ以外の時には退避方式を選択する方式選択部
とを設け、 前記セグメントバッファ内に、退避方式選択時に模擬変
更時に変更対象となる図形情報単位に係る現行図面内容
を退避図形情報単位名称を付してコピーする退避領域を
設け、 更に前記ホスト計算機に、退避方式選択時に変更履歴を
変更種別と変更対象の図形情報単位の名称とについての
前記退避図形情報単位名称とにより記録する第1の記録
部と、記録方式選択時に前記模擬用図面情報についての
変更履歴を記録する第2の記録部と、現行復帰時には前
記第1の記録部の記録内容を参照して、前記退避領域に
おける復帰対象の図形情報単位の退避図形情報単位名称
を元の図形情報単位名称に戻し、かつ、前記セグメント
バッファ内の図面情報格納領域における復帰対象の図形
情報単位を削除するとともに、前記第2の記録部の記録
内容を参照して、模擬変更したセグメントバッファ内の
図面情報格納領域内の図面情報のみを現行の図面情報に
戻す記録処理部とを設け、 前記模擬用図面情報格納領域内の図面情報は、模擬変更
要求に応じて変更処理されるとともに、模擬変更処理時
にホスト計算機の処理対象とされることを特徴とする図
面表示装置。
1. The drawing information to be processed by the host computer is segment-registered in the drawing information storage area in the segment buffer of the graphic display device, and the graphic information of the display range designated by the host computer is stored in the drawing information storage area. In the drawing display device which is cut out from the drawing information and displayed on the pipe surface, a current drawing information storage area in the host computer and a simulation drawing information storage in which the current drawing information in this storage area is copied as simulation drawing information A region, a capacity recognizing unit for recognizing whether or not the remaining capacity of the segment buffer is insufficient, and a method selecting unit for selecting a recording method at the time of recognizing the capacity by the capacity recognizing section, and selecting a save method in other cases. And the current drawing contents related to the graphic information unit to be changed at the time of simulated change when the save method is selected in the segment buffer. A save area is provided for copying with a save graphic information unit name, and the change history of the change history and the name of the graphic information unit to be changed when the save method is selected are stored in the host computer and the save graphic information unit name. With reference to the first recording section for recording, the second recording section for recording the change history of the simulated drawing information when the recording method is selected, and the recorded content of the first recording section for the current restoration, The saved graphic information unit name of the graphic information unit to be restored in the save area is returned to the original graphic information unit name, and the graphic information unit to be restored in the drawing information storage area in the segment buffer is deleted. A recording process for returning to the current drawing information only the drawing information in the drawing information storage area in the simulated segment buffer, which is referred to by the recorded contents of the second recording unit. A drawing display device in which the drawing information in the simulated drawing information storage area is changed in response to a simulated change request, and is processed by the host computer during the simulated change processing. .
JP4354286A 1986-02-28 1986-02-28 Drawing display device Expired - Fee Related JPH06103502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4354286A JPH06103502B2 (en) 1986-02-28 1986-02-28 Drawing display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4354286A JPH06103502B2 (en) 1986-02-28 1986-02-28 Drawing display device

Publications (2)

Publication Number Publication Date
JPS62202281A JPS62202281A (en) 1987-09-05
JPH06103502B2 true JPH06103502B2 (en) 1994-12-14

Family

ID=12666629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4354286A Expired - Fee Related JPH06103502B2 (en) 1986-02-28 1986-02-28 Drawing display device

Country Status (1)

Country Link
JP (1) JPH06103502B2 (en)

Also Published As

Publication number Publication date
JPS62202281A (en) 1987-09-05

Similar Documents

Publication Publication Date Title
EP0890898A1 (en) Screen remote control with periodic bitmap image comparison and transmission
EP0658859A2 (en) Method and apparatus for interlocking graphical objects
US6392662B1 (en) Draw order preservation in a computer-implemented graphics system
JPH06103502B2 (en) Drawing display device
JPH06103501B2 (en) Drawing display device
JPH0752457B2 (en) Drawing display device
JPH10312407A (en) Drawing display device
JPS62202280A (en) Drawing display device
JPS62266679A (en) Drawing display unit
JPH06103503B2 (en) Drawing display device
JP2002056399A (en) Image data processing apparatus and image data processing method
JPH0752454B2 (en) Drawing display device
JPH0752453B2 (en) Drawing display device
JPS62202269A (en) Graphic display device
JPH0752456B2 (en) Drawing display device
JPH0553497A (en) Method for editing map data
JPH0752452B2 (en) Drawing display device
JPH0514941B2 (en)
JPH083837B2 (en) Map display device
JP3262319B2 (en) Drawing display method and drawing processing system
JPS61267789A (en) Graphic display unit
JPH0570835B2 (en)
JPS62269269A (en) window selection device
JPH10283157A (en) Multi-screen display device
JP3316569B2 (en) Window display

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees