JPH08147167A - Knowledge editing method - Google Patents
Knowledge editing methodInfo
- Publication number
- JPH08147167A JPH08147167A JP6281672A JP28167294A JPH08147167A JP H08147167 A JPH08147167 A JP H08147167A JP 6281672 A JP6281672 A JP 6281672A JP 28167294 A JP28167294 A JP 28167294A JP H08147167 A JPH08147167 A JP H08147167A
- Authority
- JP
- Japan
- Prior art keywords
- knowledge
- editing
- menu
- strategy
- data
- 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
Links
Landscapes
- Digital Computer Display Output (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
(57)【要約】
【目的】 本発明の目的は、ビジュアルな知識表現やメ
ニューおよびドキュメントレスにて知識を編集・確認す
る方法を提供することである。
【構成】 図形データのメニューラベルを生成する図形
ラベル生成部(6)、ラベルをグラフィック表示する図
形ラベルメニュー表示部(7)、メニューラベルに表示
すべき図形データおよび命令を記述しておくメニューテ
ーブル(1)を設け、前記図形ラベル生成部(6)が知
識データの編集処理結果の候補を多階層ネットワーク構
造で表すために前記メニューテーブル内に図形データを
作成し、前記図形ラベルメニュー表示部(7)が図形デ
ータをメニューのラベルとして表示し、利用者の選択し
たメニュー項目から目的とする命令を実行することによ
り知識を編集する。
【効果】 編集処理の想定結果をビジュアルなメニュー
で示すことによって、利用者は想定結果に一致したメニ
ューを選択でき、正確な編集操作を行える。利用者は、
編集処理の仕様を意識する必要がなく、編集操作を早期
に行なえる。
(57) [Summary] [Object] An object of the present invention is to provide a method for editing / confirming knowledge by visual knowledge representation, menu, and documentless. [Structure] A graphic label generation unit (6) for generating a menu label of graphic data, a graphic label menu display unit (7) for graphically displaying the label, and a menu table for describing graphic data and commands to be displayed on the menu label. (1) is provided, the graphic label generation unit (6) creates graphic data in the menu table in order to represent the candidates of the knowledge data editing processing result in a multi-layer network structure, and the graphic label menu display unit ( 7) displays the graphic data as the label of the menu, and edits the knowledge by executing the target command from the menu item selected by the user. [Effect] By showing the expected result of the editing process with a visual menu, the user can select a menu that matches the expected result, and can perform an accurate editing operation. The user is
It is not necessary to be aware of the specifications of editing processing, and editing operations can be performed early.
Description
【0001】[0001]
【産業上の利用分野】本発明は、情報処理システムの知
識の入力・編集に係り、特に、知識ベ−ス内のオブジェ
クト、フレ−ム型、またはル−ル型の知識、例えば目的
・戦略オブジェクト群の整合性を維持することに好適な
知識の入力・編集方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to inputting / editing knowledge of an information processing system, and in particular, knowledge in an object, frame type or rule type knowledge in a knowledge base, for example, purpose / strategy. The present invention relates to a knowledge input / editing method suitable for maintaining consistency of objects.
【0002】[0002]
(1)特開平6−59897号公報「知識の入力・編集
方法」には、オブジェクト、フレーム型、またはルール
型の知識、例えば目的・戦略オブジェクト群の入力・編
集方法が示されている。この「知識の入力・編集方法」
は、特開昭62−247838号公報「情報処理システ
ム」に示されている知識(目的・戦略オブジェクト群)
を主な対象としている。(1) Japanese Patent Application Laid-Open No. 6-59897, "Knowledge Input / Edit Method", describes an object / frame type or rule type knowledge, for example, an input / edit method for a purpose / strategy object group. This "how to input / edit knowledge"
Is the knowledge (object / strategy object group) disclosed in JP-A-62-247838, "Information Processing System".
Is the main target.
【0003】特徴は、目的・戦略オブジェクト群の依存
関係をAND/ORツリーで表現した知識関連図で表示
しているため、知識構成が直接的に理解できることであ
る。また、AND/ORツリーによる知識関連図を直接
操作して、目的・戦略オブジェクト群を編集できるた
め、目的・戦略オブジェクト群の整合性を維持すること
ができる。The feature is that the knowledge structure can be directly understood because the dependency relation of the object / strategy object group is displayed in the knowledge relation diagram expressed by AND / OR tree. Further, since the purpose / strategy object group can be edited by directly operating the knowledge relation diagram by the AND / OR tree, the consistency of the purpose / strategy object group can be maintained.
【0004】(2)一方、オブジェクトの木構造の編集
方法に関して、特願平5−0307476号「木構造表
示編集装置」に示されている。(2) On the other hand, a method for editing the tree structure of an object is disclosed in Japanese Patent Application No. 5-030476, "Tree Structure Display / Editing Device".
【0005】特徴は、移動元と移動先のオブジェクトを
視認しながら移動操作ができることである。操作手順
は、次の通りである。親オブジェクトと子オブジェクト
を連結している枝を切り放す。その子オブジェクトをド
ラックするに伴い、直近のオブジェクトへ仮連結が表示
される。目的とする移動先のオブジェクトへ仮連結され
たら、ドラッグを終えることにより移動先のオブジェク
トへ連結することができる。The feature is that the moving operation can be performed while visually recognizing the source and destination objects. The operating procedure is as follows. Cut off the branch connecting the parent and child objects. As the child object is dragged, the temporary connection is displayed to the nearest object. When the object is temporarily connected to the target moving destination, it can be connected to the moving destination object by ending the dragging.
【0006】[0006]
【発明が解決しようとする課題】上記従来技術(1)及
び(2)には次のような問題がある。The above-mentioned conventional techniques (1) and (2) have the following problems.
【0007】従来技術(1)は、編集処理における追加
・移動・複製先の位置が1個所に制限されている。例え
ば、追加の場合、追加先は追加指定対象物から見て右側
の位置のみである。従って、編集処理は追加・移動・複
製先が指定できず固定位置に制限されているため、利用
者は任意の位置に追加・移動・複製することができな
い。このため、利用者は追加・移動・複製先の固定位置
を意識して編集操作を行なう必要がある。また、追加・
移動・複製のできない位置があり、編集ができなくな
る。In the prior art (1), the position of the addition / movement / copy destination in the editing process is limited to one position. For example, in the case of addition, the addition destination is only the position on the right side of the addition-designated object. Therefore, since the edit process cannot specify an add / move / copy destination and is limited to a fixed position, the user cannot add / move / copy to an arbitrary position. Therefore, the user needs to be aware of the fixed position of the addition / movement / copy destination and perform the editing operation. Also, add
There is a position that cannot be moved or duplicated, so editing cannot be done.
【0008】さて、従来技術(1)に追加・移動・複製
先を指定するためのメニュー、例えば、追加・移動・複
製先を基準として右側、左側、下側、上側に位置付ける
ためのメニューを設ける方法が考えられる。しかし、追
加・移動・複製処理の結果が利用者の想定する結果と一
致するとは限らない。従って、利用者は追加・移動・複
製処理の仕様を覚えておく必要がある。また、正確に処
理仕様を覚えていないと、誤った操作を犯す危険性が高
い。In the prior art (1), a menu for designating an addition / movement / copy destination, for example, a menu for positioning on the right side, left side, lower side, or upper side based on the addition / movement / copy destination is provided. A method can be considered. However, the result of the adding / moving / copying process does not always match the result expected by the user. Therefore, the user needs to remember the specifications of the add / move / copy process. Further, if the processing specifications are not remembered accurately, there is a high risk of making an erroneous operation.
【0009】従来技術(2)は、編集処理が移動処理の
みに制限されている。また、移動処理は移動先が指定で
きるが全ての位置に移動できるとは限らないため、利用
者は移動処理の仕様または移動先の制限を意識して移動
操作を行なう必要がある。さらに、利用者は目的の移動
先まで精密なマウス操作が要求され、移動先が遠いとマ
ウス操作の負担が大きい。In the prior art (2), the editing process is limited to the moving process. Further, in the moving process, the moving destination can be specified, but it is not always possible to move to all positions. Therefore, the user needs to perform the moving operation while being aware of the specification of the moving process or the limitation of the moving destination. Further, the user is required to perform precise mouse operation up to the intended moving destination, and if the moving destination is far, the burden of mouse operation is heavy.
【0010】以上の従来技術(1),(2)は、編集処
理操作の容易性に配慮がなく、編集処理の限界や編集結
果の想定の理解しにくさの問題がある。The above-mentioned prior arts (1) and (2) do not consider the easiness of the editing process operation, and have a problem that it is difficult to understand the limit of the editing process and the assumption of the editing result.
【0011】本発明の目的は、プログラムに不慣れな分
野専門家およびシステムエンジニアが知識の構築・改造
・保守を簡単に実現できるように、ビジュアルな知識表
現やメニューおよびドキュメントレスにて知識を編集・
確認する方法を提供することである。The object of the present invention is to edit and edit knowledge by visual knowledge representation, menus, and documentless so that field experts and system engineers unfamiliar with the program can easily realize the construction, modification, and maintenance of knowledge.
It is to provide a way to confirm.
【0012】[0012]
【課題を解決するための手段】上記目的は、次のような
方法により達成できる。The above object can be achieved by the following method.
【0013】知識(目的・戦略オブジェクト群)は、複
数のオブジェクトからなり、木構造である。また、知識
は表示画面上に木構造で表示されている。Knowledge (object / strategy object group) is made up of a plurality of objects and has a tree structure. Knowledge is displayed in a tree structure on the display screen.
【0014】利用者は、知識を編集するために、基準と
なるオブジェクト、編集処理項目(追加・削除・移動・
複製のいずれか)、および、編集処理先のオブジェクト
を選択する。なお、編集処理項目が削除の場合は、編集
処理先のオブジェクトの選択は行なわない。In order to edit the knowledge, the user has a reference object and an edit processing item (add / delete / move / edit).
Select one of the duplicates) and the object to be edited. When the edit processing item is deletion, the object of the edit processing destination is not selected.
【0015】本発明は、選択された上記3個以内の対象
に基づいて、編集処理結果の候補項目を、例えば木構造
などの図形データでメニュー表示する。編集処理結果の
候補項目とは、例えば編集処理が移動の場合、移動元オ
ブジェクトが移動先オブジェクトを基準にして右側、左
側、下側、上側に移動した結果、つまり4個の編集処理
結果を指す。木構造とはオブジェクト間の因果関係を明
確に図示した図形である。従って、メニュー表示は、利
用者が事前に編集処理結果を確認できるように、編集処
理の候補となる結果を木構造で表示する。According to the present invention, based on the selected three or less objects, the candidate items of the editing processing result are displayed as a menu with graphic data such as a tree structure. For example, when the editing process is a move, the candidate item of the editing process result indicates a result of moving the source object to the right side, the left side, the lower side, or the upper side with respect to the destination object, that is, four editing process results. . The tree structure is a figure that clearly shows the causal relationship between objects. Therefore, the menu display displays the results that are candidates for the editing process in a tree structure so that the user can confirm the results of the editing process in advance.
【0016】利用者は、想定結果に一致するメニュー項
目を確認して、上記のメニューのいずれか1個の項目を
選択する。The user confirms the menu item that matches the expected result and selects any one item from the above menus.
【0017】本発明は、選択されたメニュー項目に従っ
て、知識を編集する。例えば、基準元オブジェクトが、
基準先オブジェクトを基準にして右側、左側、下側、上
側のいずれかの位置に(選択されたメニュー項目に従っ
て)、編集処理(追加・移動・複製)される。The present invention edits the knowledge according to the selected menu item. For example, if the reference source object is
Editing processing (addition / movement / duplication) is performed at any of the right side, left side, lower side, and upper side of the reference destination object (according to the selected menu item).
【0018】[0018]
【作用】事前に編集処理の複数の想定結果をビジュアル
なメニューで示すことによって、利用者は、想定結果に
一致したメニューを確認してから選択することができ、
簡単かつ正確な編集操作を行なうことができる。また、
利用者は、編集処理の仕様を意識する必要がなく、編集
操作を早期にかつ迅速に行なうことができる。[Function] By presenting a plurality of expected results of the editing process with a visual menu in advance, the user can confirm the menu that matches the expected result and then select it.
Easy and accurate editing operation can be performed. Also,
The user does not need to be aware of the specifications of the editing process and can perform the editing operation quickly and quickly.
【0019】[0019]
【実施例】以下、目的・戦略オブジェクト群(知識)を
構築するための知識の入力・編集方法に関する一実施例
を図面により説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a knowledge input / editing method for constructing a purpose / strategy object group (knowledge) will be described below with reference to the drawings.
【0020】A)ハードウエア構成 図2は、本発明を実現するためコンピュータシステムの
ハードウエア構成の一例である。英数字、平仮名、片仮
名、漢字などを入力するキ−ボ−ド装置21、表示画面
上での位置を指定するマウスなどのポインティング装置
22、各種プログラムの実行を制御する中央処理装置2
3、各種プログラムや目的・戦略オブジェクト群などの
各種デ−タを格納する記憶装置24、目的・戦略ネット
図やメニュ−などを描画するグラフィック表示装置2
5、及びプロッタなどの図面描画装置26からなる。A) Hardware Configuration FIG. 2 shows an example of the hardware configuration of a computer system for implementing the present invention. A keyboard device 21 for inputting alphanumeric characters, hiragana, katakana, kanji, etc., a pointing device 22 such as a mouse for designating a position on a display screen, and a central processing unit 2 for controlling execution of various programs.
3. Storage device 24 for storing various data such as various programs and objective / strategy object groups, and graphic display device 2 for drawing objective / strategy net diagrams and menus.
5 and a drawing drawing device 26 such as a plotter.
【0021】B)画面構成、テーブル構成、編集方法の
規定 図3は、グラフィック表示装置25に表示される表示画
面300の一例である。表示画面300は、目的・戦略
ネット図表示エリア310、メニュー表示エリア32
0、ファイル名表示エリア330、ガイダンスメッセー
ジ表示エリア340、スクロールバー表示エリア35
0、から構成する。目的・戦略ネット図表示エリア31
0には、目的・戦略オブジェクト郡およびAND/OR
接続関係を連結する接続線で表した目的・戦略ネット図
を表示する。メニュー表示エリア320には、ファイル
321、編集322、表示323、レイアウト324、
ヘルプ325などのメニュー項目を表示する。ファイル
321は、目的・戦略オブジェクト群のファイルの読み
込みや書き込みをするためのサブメニュー、および、目
的・戦略ネット図を印刷するためのサブメニューを持
つ。編集322は、目的・戦略ネット図の編集のため
に、追加、削除、移動、複製、訂正のサブメニューを持
つ。表示323は、目的・戦略ネット図の表示を拡大や
縮小するためのサブメニューを持つ。レイアウト324
は、目的・戦略ネット図の配置を制御するためのサブメ
ニューを持つ。ヘルプ325は、それぞれのメニュー項
目の機能や操作手順を説明するための情報を持つ。ファ
イル名表示エリア330には、目的・戦略オブジェクト
群の格納先のファイル名を表示する。ガイダンスメッセ
ージ表示エリア340には、現在実行中の説明や次の操
作方法の説明を表示する。スクロールバー表示エリアに
は、垂直方向や水平方向にスクロールするためのスクロ
ール矢印351、および、それぞれの方向の表示区間・
位置を示すスクロールバー352を表示する。それぞれ
のエリア310〜350は、表示領域が自由であり配置
も自由である。B) Definition of Screen Configuration, Table Configuration, Editing Method FIG. 3 is an example of a display screen 300 displayed on the graphic display device 25. The display screen 300 includes a purpose / strategy net diagram display area 310 and a menu display area 32.
0, file name display area 330, guidance message display area 340, scroll bar display area 35
It consists of 0. Objective / strategy net diagram display area 31
0 is the objective / strategy object group and AND / OR
Display the purpose / strategy net diagram represented by connecting lines that connect the connection relationships. In the menu display area 320, a file 321, an edit 322, a display 323, a layout 324,
Display menu items such as help 325. The file 321 has a submenu for reading and writing the file of the object / strategy object group and a submenu for printing the object / strategy net diagram. The edit 322 has submenus of addition, deletion, movement, duplication, and correction for editing the purpose / strategy net diagram. The display 323 has a sub-menu for enlarging or reducing the display of the purpose / strategy net diagram. Layout 324
Has a submenu for controlling the placement of the objective / strategy net diagram. The help 325 has information for explaining the function and operation procedure of each menu item. The file name display area 330 displays the file name of the storage destination of the object / strategy object group. The guidance message display area 340 displays an explanation of the currently executed instruction and an explanation of the next operation method. In the scroll bar display area, scroll arrows 351 for scrolling in the vertical direction and the horizontal direction and display sections in each direction are displayed.
A scroll bar 352 indicating the position is displayed. Each area 310 to 350 has a free display area and can be arranged freely.
【0022】図13は、グラフィック表示装置25に表
示される表示画面1300の他の例である。322a〜
322eは、編集322のサブメニューに相当するメニ
ューである。326は、シェルを起動するメニューであ
る。327は目的・戦略オブジェクトを記憶装置24に
格納して知識の編集を終了するメニューである。FIG. 13 shows another example of the display screen 1300 displayed on the graphic display device 25. 322a ~
322e is a menu corresponding to the submenu of the edit 322. Reference numeral 326 is a menu for starting the shell. Reference numeral 327 is a menu for storing the purpose / strategy object in the storage device 24 and ending the knowledge editing.
【0023】図4は、エキスパートシステムで利用され
る、目的・戦略オブジェクト410と420の内部形式
の一例である。目的・戦略オブジェクト410と420
の内部形式の説明は、特開昭62−247838号公報
「情報処理システム」で述べられている。目的・戦略オ
ブジェクト群は、410と420の内部形式で記憶装置
24に格納されており、記憶装置24から読み込むこと
によって、計算機向きの内部データで中央処理装置23
のメモリに記憶される。FIG. 4 is an example of the internal format of the objective / strategy objects 410 and 420 used in the expert system. Objective / strategy objects 410 and 420
The internal format of the above is described in JP-A-62-247838, "Information Processing System". The purpose / strategy object group is stored in the storage device 24 in the internal format of 410 and 420, and by reading from the storage device 24, the central processing unit 23 stores internal data suitable for a computer.
Stored in memory.
【0024】図5は、目的・戦略オブジェクト群および
オブジェクト群を連結する接続線で表した目的・戦略ネ
ット図500の一例である。目的・戦略ネット図500
は、目的・戦略ネット図表示エリアに表示される。図5
において、目的オブジェクト410は長方形で表し、そ
の目的名412を長方形内に表示する。一方、戦略オブ
ジェクト420は円形で表し、その戦略名422を円形
内に表示する。また、目的から戦略に伸びている接続線
580はOR接続を意味する。一方、戦略から目的に伸
びている接続線590はAND接続を意味する。例え
ば、目的・戦略ネット図500は次のような接続関係を
持つ。目的Aは戦略a1とa2にOR接続しており、戦
略a1は目的BとCにAND接続しており、目的Bは戦
略b1にOR接続、目的Cは戦略c1にOR接続、戦略
a2は目的DとEにAND接続、目的Dは戦略d1とd
2にOR接続、目的Eは戦略e1にOR接続、戦略e1
は目的FにAND接続、目的Fは戦略f1にOR接続し
ている。FIG. 5 is an example of a goal / strategy net diagram 500 represented by a goal / strategy object group and a connecting line connecting the object groups. Objective / Strategy Net Diagram 500
Is displayed in the purpose / strategy net diagram display area. Figure 5
In, the target object 410 is represented by a rectangle, and the target name 412 is displayed in the rectangle. On the other hand, the strategy object 420 is represented by a circle, and the strategy name 422 is displayed in the circle. The connection line 580 extending from the purpose to the strategy means an OR connection. On the other hand, the connection line 590 extending from the strategy to the purpose means an AND connection. For example, the purpose / strategy net diagram 500 has the following connection relationship. Objective A is OR-connected to strategies a1 and a2, strategy a1 is AND-connected to goals B and C, objective B is OR-connected to strategy b1, objective C is OR-connected to strategy c1, and strategy a2 is objective AND connection to D and E, purpose D is strategy d1 and d
OR connection to 2, objective E is OR connection to strategy e1, strategy e1
Is AND-connected to the objective F, and the objective F is OR-connected to the strategy f1.
【0025】図6は、目的・戦略オブジェクト群のAN
D/OR接続関係の情報を保持するための、AND/O
Rツリーテーブルの一例で、ORテーブル610および
ANDテーブル620から構成される。AND/ORツ
リーテーブルは、目的・戦略ネット図500の内部デー
タを作成するために利用され、目的・戦略ネット図50
0に対応する。すなわち、ORテーブル610は、目的
と戦略オブジェクトのOR関係の情報を記述するテーブ
ルである。一方、ANDテーブル620は、戦略と目的
オブジェクトのAND関係の情報を記述するテーブルで
ある。それぞれのテーブル610と620は、目的欄6
11と622および戦略欄612と621を持つ。目的
欄611と622には目的オブジェクトへのポインタ値
を記述し、戦略欄612と621には戦略オブジェクト
へのポインタ値を記述する。なお、図6の例では説明を
簡潔にするため、ポインタ値の代わりに目的と戦略の名
称を英数字で記述する。例えば、ORテーブル610で
は、図5に示す全ての戦略a1,a2,b1,c1,d
1,d2,e1,およびf1を戦略欄612に記述す
る。次に、戦略欄612の一行目が戦略a1であるの
で、その戦略a1にOR接続している目的、すなわち、
図5から推測して目的Aを目的欄611の一行目に記述
する。目的欄611の二行目以降にも、同様にして記述
する。戦略欄612の二行目以降が戦略a2,b1,c
1,d1,d2,e1,およびf1であるので、それぞ
れの戦略にOR接続している目的、すなわち、図5から
推測して目的A,B,C,D,D,E,およびFを目的
欄611の二行目以降に記述する。一方、ANDテーブ
ル620では、図5に示す最上位の目的Aを除く全ての
目的B,C,D,E,およびFを目的欄622に記述す
る。次に、目的欄622の一行目が目的Bであるので、
その目的BにAND接続している戦略、すなわち、図5
から推測して戦略a1を戦略欄621の一行目に記述す
る。戦略欄621の二行目以降にも、同様にして記述す
る。目的欄622の二行目が目的B,C,D,E,およ
びFであるので、それぞれの目的にAND接続している
戦略、すなわち、図5から推測して戦略a1,a1,a
2,a2,およびe1を戦略欄621の二行目以降に記
述する。FIG. 6 shows the AN of the object / strategy object group.
AND / O to hold D / OR connection related information
It is an example of an R tree table, and is composed of an OR table 610 and an AND table 620. The AND / OR tree table is used to create internal data of the objective / strategy net diagram 500, and the objective / strategy net diagram 50 is used.
Corresponds to 0. That is, the OR table 610 is a table that describes information on the OR relationship between the purpose and the strategy object. On the other hand, the AND table 620 is a table that describes information on the AND relationship between the strategy and the target object. Each table 610 and 620 has a purpose column 6
11 and 622 and strategy columns 612 and 621. A pointer value to the target object is described in the purpose columns 611 and 622, and a pointer value to the strategy object is described in the strategy columns 612 and 621. In addition, in the example of FIG. 6, in order to simplify the description, the names of the purpose and the strategy are described in alphanumeric characters instead of the pointer value. For example, in the OR table 610, all strategies a1, a2, b1, c1, d shown in FIG.
1, d2, e1, and f1 are described in the strategy column 612. Next, since the first line of the strategy column 612 is the strategy a1, the purpose of OR connection to the strategy a1, that is,
Inferring from FIG. 5, the purpose A is described in the first line of the purpose column 611. The same applies to the second and subsequent lines of the purpose column 611. The second and subsequent rows of the strategy column 612 are strategies a2, b1 and c
1, d1, d2, e1, and f1 are the objectives OR-connected to each strategy, that is, the objectives A, B, C, D, D, E, and F are inferred from FIG. It is described in the second and subsequent lines of the column 611. On the other hand, in the AND table 620, all the purposes B, C, D, E, and F except the highest-order purpose A shown in FIG. Next, since the first line of the purpose column 622 is the purpose B,
The strategy AND-connected to the purpose B, that is, FIG.
Inferred from the above, the strategy a1 is described in the first line of the strategy column 621. The same applies to the second and subsequent lines of the strategy column 621. Since the second line of the objective column 622 is objectives B, C, D, E, and F, the strategies that are AND-connected to the respective objectives, that is, the strategies a1, a1, a inferred from FIG.
2, a2, and e1 are described in the second and subsequent lines of the strategy column 621.
【0026】図7は、目的・戦略ネット図500に対す
る編集処理の規定の一例である。編集処理は追加、削
除、移動、複製の4種類があり、図5のように目的と戦
略の接続関係を一組と捉える必要があるためそれぞれは
編集方法が異なる。図7(a)における追加処理710
は、同位方向、下位方向、上位方向のいずれかの位置に
目的や戦略オブジェクトを追加する。なお、図5におい
て目的Cを基準に考えると、目的Bが同位方向の位置で
あり、戦略c1が下位方向の位置であり、戦略a1が上
位方向の位置である。さて、追加指定先に目的を選択し
た場合、同位方向では、追加できるオブジェクトは目的
であり、追加位置は選択した目的(基準目的と呼ぶ)の
右側または左側である。また、下位方向では、追加でき
るオブジェクトは戦略であり、追加位置は基準目的の下
側である。さらに、上位方向では、追加できるオブジェ
クトは目的と戦略の単一組であり、追加位置は基準目的
の上側である。一方、追加指定先に戦略を選択した場
合、同位方向では、追加できるオブジェクトは戦略であ
り、追加位置は選択した戦略(基準戦略と呼ぶ)の右側
または左側である。また、下位方向では、追加できるオ
ブジェクトは目的であり、追加位置は基準戦略の下側の
いずれかである。上位方向では、基準戦略の上側に目的
を追加できる。なお、説明を簡潔にするために、上位方
向の追加では無効(未処理)としている。以下の削除・
移動・複製処理でも、説明を簡潔にするため上位方向の
処理などは無効としている。図7(b)における削除処
理720は、選択した目的や戦略オブジェクトの部分
木、単一組のいずれかを削除する。削除指定先に目的を
選択した場合、基準目的以下の部分木、あるいは、基準
目的およびその下位戦略を削除する。一方、削除指定先
に戦略を選択した場合、基準戦略以下の部分木、あるい
は、基準戦略のみを削除する。図7(c)における移動
処理730は、選択した目的や戦略オブジェクトの部分
木に対する移動を行なう。移動指定元が目的で移動指定
先も目的の場合、移動指定先の目的(基準目的)の右側
または左側に、基準目的の上側に、あるいは、基準目的
の下位戦略の下側に、移動指定元の部分木を移動する。
移動指定元が目的で移動指定先が戦略の場合、基準戦略
の下側に移動指定元の部分木を移動する。移動指定元が
戦略で移動指定先が目的の場合、基準目的の上側に移動
指定元の部分木を移動する。移動指定元が戦略で移動指
定先も戦略の場合、基準戦略の右側または左側に移動指
定元の部分木を移動する。図7(d)における複製処理
740は、選択した目的や戦略オブジェクトの部分木に
対する複製を行なう。複製処理の規定740は、移動処
理の規定730と同様である。FIG. 7 shows an example of the rules for editing processing for the purpose / strategy net diagram 500. There are four types of edit processing: addition, deletion, movement, and duplication, and the editing method is different for each because it is necessary to consider the connection relationship between the purpose and the strategy as one set as shown in FIG. Additional processing 710 in FIG.
Adds an objective or strategy object to any position in the same direction, lower direction, or higher direction. It should be noted that considering the purpose C as a reference in FIG. 5, the purpose B is a position in the same direction, the strategy c1 is a position in the lower direction, and the strategy a1 is a position in the upper direction. When the purpose is selected as the additional designation destination, the object that can be added is the target in the same direction, and the addition position is on the right side or the left side of the selected purpose (referred to as the reference purpose). Further, in the lower direction, the objects that can be added are strategies, and the addition position is below the reference purpose. Furthermore, in the upward direction, the objects that can be added are a single set of objectives and strategies, and the added position is above the reference objective. On the other hand, when the strategy is selected as the additional designation destination, in the same direction, the object that can be added is the strategy, and the addition position is on the right side or the left side of the selected strategy (referred to as the reference strategy). Further, in the lower direction, the object that can be added is the purpose, and the addition position is either one of the lower sides of the standard strategy. In the upward direction, objectives can be added above the standard strategy. For the sake of brevity, the addition in the upper direction is invalid (unprocessed). Delete the following
Even in the moving / copying process, the process in the upper direction is invalid to simplify the explanation. The deletion processing 720 in FIG. 7B deletes one of the selected purpose, the subtree of the strategy object, and the single set. When the purpose is selected as the deletion destination, the subtree below the standard purpose, or the standard purpose and its subordinate strategies are deleted. On the other hand, when the strategy is selected as the deletion designation destination, the subtree below the standard strategy or only the standard strategy is deleted. The movement processing 730 in FIG. 7C moves the selected objective or strategy object with respect to the subtree. If the designated movement destination is the designated movement destination and the designated movement destination is also the movement destination, to the right or left of the movement designation destination's purpose (standard purpose), above the standard purpose, or below the lower strategy of the standard purpose Move the subtree of.
When the movement designation source is the object and the movement designation destination is the strategy, the subtree of the movement designation source is moved to the lower side of the standard strategy. When the movement designation source is the strategy and the movement designation destination is the target, the subtree of the movement designation source is moved to the upper side of the standard purpose. When the movement designation source is a strategy and the movement designation destination is also a strategy, the subtree of the movement designation source is moved to the right side or the left side of the reference strategy. The duplication processing 740 in FIG. 7D duplicates the subtree of the selected purpose or strategy object. The copy processing rule 740 is the same as the move processing rule 730.
【0027】図8は、表示画面300に表示するための
メニューテーブルの構成の一例である。メニューテーブ
ルは、ラベル欄800a、命令欄800bを持つ。ラベ
ル欄800aには、各メニュー項目のラベルとして表示
すべき文字列または図形データへのポインタ値を記述す
る。命令欄800bには、サブメニューへのポインタ
値、または、実行すべき関数名を記述する。例えば、メ
ニューテーブル810には、トップレベルのメニュー項
目でありラベル欄が文字列型としてファイル、編集、表
示、レイアウト、ヘルプの順に記述されているため、図
3のメニュー項名321〜325のように表示される。
編集812aの命令欄はサブメニューへのポインタ値で
あるため、820が編集322のサブメニューとして表
示される。メニューテーブル820はラベルが文字列型
であるため、各メニュー項目のラベルが文字列で表示さ
れる。追加821aの命令欄がサブメニューへのポイン
タ値であるため、メニューテーブル830が追加821
aのサブメニューとして表示される。メニューテーブル
830はラベルが図形データ型であり図形データへのポ
インタ値が未設定(null)である。従って、図形データ
が生成されてから各メニュー項目のラベルとして表示さ
れる。削除822aの命令欄もサブメニューへのポイン
タ値であるため、メニューテーブル840が削除822
aのサブメニューとして表示される。メニューテーブル
840はメニューテーブル830と同様に図形データが
生成されてからラベルとして表示される。メニューテー
ブル850は移動823aのサブメニューとして、メニ
ューテーブル860は複製824aのサブメニューとし
て表示される。メニューテーブル850とメニューテー
ブル860はメニューテーブル830と同様に図形デー
タが生成されてからラベルとして表示される。訂正82
5aの命令欄は関数名modify(obj1)825bであるた
め、modify(obj1)825bが呼び出される。modify(obj
1)は、目的・戦略オブジェクト410または420の各
スロット値を対話形式で訂正するための処理を行なう。FIG. 8 shows an example of the structure of a menu table to be displayed on the display screen 300. The menu table has a label column 800a and a command column 800b. In the label field 800a, a pointer value to a character string or graphic data to be displayed as a label for each menu item is described. In the command field 800b, the pointer value to the submenu or the function name to be executed is described. For example, the menu table 810 is a top-level menu item, and the label field is described as a character string type in the order of file, edit, display, layout, and help. Therefore, the menu item names 321 to 325 in FIG. Is displayed in.
Since the command column of the edit 812a is the pointer value to the submenu, 820 is displayed as the submenu of the edit 322. Since the menu table 820 has a character string type label, the label of each menu item is displayed in a character string. Since the command column of the addition 821a is the pointer value to the submenu, the menu table 830 is added 821.
It is displayed as a submenu of a. In the menu table 830, the label is the graphic data type and the pointer value to the graphic data is not set (null). Therefore, after the graphic data is generated, it is displayed as the label of each menu item. Since the instruction column of the deletion 822a is also the pointer value to the sub menu, the menu table 840 deletes 822.
It is displayed as a submenu of a. Similar to the menu table 830, the menu table 840 is displayed as a label after graphic data is generated. The menu table 850 is displayed as a submenu of the move 823a, and the menu table 860 is displayed as a submenu of the copy 824a. Similar to the menu table 830, the menu table 850 and the menu table 860 are displayed as labels after graphic data is generated. Correction 82
Since the function name modify (obj1) 825b is in the instruction column of 5a, modify (obj1) 825b is called. modify (obj
In 1), processing for interactively correcting each slot value of the objective / strategy object 410 or 420 is performed.
【0028】さて、modify(obj1)を除く命令欄800b
の各関数は、図7の編集処理の規定通りに処理を行な
う。すなわち、追加処理の規定710において、add_ri
ght(obj1)831bは第1欄711の規定、add_left(ob
j1)832bは第2欄712の規定、add_down(obj1)8
33bは第3欄713の規定、add_up(obj1)834bは
第4欄714の規定に従う処理である。削除処理の規定
720において、del_tree(obj1)841bは第1欄72
1の規定、del_single(obj1)842bは第2欄722の
規定に従う処理である。移動処理の規定730におい
て、move_right(obj1,obj2)851bは第1欄731ま
たは第5欄735の規定、move_left(obj1,obj2)852
bは第2欄732または第6欄736の規定、move_dow
n(obj1,obj2)853bは第3欄733または第7欄73
7の規定、move_up(obj1,obj2)854bは第4欄734
または第8欄738の規定に従う処理である。複製処理
の規定740において、copy_right(obj1,obj2)861
bは第1欄741または第5欄745の規定、copy_lef
t(obj1,obj2)862bは第2欄742または第6欄74
6の規定、copy_down(obj1,obj2)863bは第3欄74
3または第7欄747の規定、copy_up(obj1,obj2)86
4bは第4欄744または第8欄748の規定に従う処
理である。ここで、obj1とobj2は、編集操作によって選
択された目的または戦略オブジェクトのいずれかであ
る。図7の編集処理の規定において、obj1は、追加指定
先、削除指定先、移動指定元、複製指定元のオブジェク
トを指し、obj2は、移動指定先、複製指定先のオブジェ
クトを指す。従って、各関数内では、obj1とobj2が目的
か戦略かを判断して、図7の編集処理の規定における目
的欄または戦略欄に含まれる内容を処理する。。例え
ば、move_right(obj1,obj2)851bは、obj1が目的で
ありobj2も目的である場合、移動処理の規定730おい
て移動指定元の目的欄および移動指定先の目的欄に含ま
れる内容を処理する。Now, the command column 800b excluding modify (obj1)
Each of the functions performs processing according to the rules of the editing processing of FIG. That is, according to the rule 710 of addition processing, add_ri
ght (obj1) 831b is defined in the first column 711, add_left (ob
j1) 832b is the definition in the second column 712, add_down (obj1) 8
33b is a process according to the rule of the third column 713, and add_up (obj1) 834b is a process according to the rule of the fourth column 714. In the definition 720 of the deletion process, the first column 72 is del_tree (obj1) 841b.
No. 1 rule, del_single (obj1) 842b, is a process according to the rule in the second column 722. In the move processing rule 730, move_right (obj1, obj2) 851b is defined in the first column 731 or the fifth column 735, move_left (obj1, obj2) 852.
b is the rule in the second column 732 or the sixth column 736, move_dow
n (obj1, obj2) 853b is the third column 733 or the seventh column 73
No. 7, move_up (obj1, obj2) 854b is in the fourth column 734.
Alternatively, the processing is in accordance with the regulations of the eighth column 738. In the definition 740 of the copy processing, copy_right (obj1, obj2) 861
b is the rule in the first column 741 or the fifth column 745, copy_lef
t (obj1, obj2) 862b is the second column 742 or the sixth column 74
No. 6 rule, copy_down (obj1, obj2) 863b is the third column 74
3 or the regulation of the seventh column 747, copy_up (obj1, obj2) 86
4b is a process in accordance with the regulations of the fourth column 744 or the eighth column 748. Here, obj1 and obj2 are either objective or strategy objects selected by the editing operation. In the rule of the editing process of FIG. 7, obj1 refers to objects of addition designation, deletion designation, movement designation source, and duplication designation source, and obj2 refers to objects of movement designation and duplication designation destination. Therefore, in each function, it is determined whether obj1 and obj2 are objectives or strategies, and the contents contained in the objective column or the strategy column in the rule of the editing process of FIG. 7 are processed. . For example, move_right (obj1, obj2) 851b processes the contents contained in the destination column of the movement designation source and the destination column of the movement designation in the regulation 730 of the movement processing when obj1 is the objective and obj2 is also the objective. .
【0029】C)知識編集の機能構成 図1は、本発明を実現するための、目的・戦略オブジェ
クト群を編集する機能構成の一例である。メニューテー
ブル1は、図8に示した通りである。AND/ORツリ
ーテーブル2は、図6で示した通りである。選択オブジ
ェクトデータ3は、利用者によって選択されたオブジェ
クトを記憶しておくための部分であり、図8の各関数の
引数0bj1,obj2に相当する。C) Functional Configuration of Knowledge Editing FIG. 1 is an example of a functional configuration for editing the object / strategy object group for realizing the present invention. The menu table 1 is as shown in FIG. The AND / OR tree table 2 is as shown in FIG. The selected object data 3 is a portion for storing the object selected by the user and corresponds to the arguments 0bj1 and obj2 of each function in FIG.
【0030】選択オブジェクト判定部4は、ポインティ
ング装置22を用いて指定されたマウスポインタの座標
位置から、目的・戦略ネット図表示エリア310に表示
されている目的・戦略ネット図500のうちの特定のオ
ブジェクト(501〜514のいずれか)を判定する部
分である。選択オブジェクト判定部4は、判定結果のオ
ブジェクトを選択オブジェクデータ3に格納する。さら
に、利用者に選択結果を知らせるために、判定結果のオ
ブジェクト(501〜514のいずれか)の強調表示を
行なう。The selected object determining unit 4 identifies a specific one of the objective / strategy net diagrams 500 displayed in the objective / strategy net diagram display area 310 from the coordinate position of the mouse pointer designated by using the pointing device 22. This is a part for determining an object (one of 501 to 514). The selected object determination unit 4 stores the object of the determination result in the selected object data 3. Further, in order to inform the user of the selection result, the object of the determination result (any one of 501 to 514) is highlighted.
【0031】選択メニュー項目判定部5は、ポインティ
ング装置22を用いて指定されたマウスポインタの座標
位置から、メニュー表示エリア320に表示されている
各メニュー項目321〜325のうちの特定のメニュー
項目(321〜325のいずれか)を判定する部分であ
る。選択メニュー項目判定部5は、各メニュー項目32
1〜325に限らず、図8のメニューにおいて特定のメ
ニュー項目を判定する。また、ポインティング装置22
に限らず、キーボード装置21を用いて入力された英数
字キーや矢印キーから、特定のメニュー項目を判定する
こともできる。The selected menu item determining section 5 selects a specific menu item (from among the menu items 321 to 325 displayed in the menu display area 320 from the coordinate position of the mouse pointer designated by the pointing device 22). 321 to 325). The selected menu item determination unit 5 is configured to select each menu item 32.
Not limited to 1 to 325, a specific menu item is determined in the menu of FIG. In addition, the pointing device 22
Not limited to this, it is also possible to determine a specific menu item from an alphanumeric key or an arrow key input using the keyboard device 21.
【0032】図形ラベル生成部6は、各メニュー項目の
ラベルに表示するための図形データを生成する部分であ
る。図形ラベル生成部6は、各メニュー項目が選択され
たことを想定して、事前に編集結果の図形データを生成
する。図形ラベル生成部6は、各図形データをメニュー
テーブル830〜860のラベル800aから参照でき
るようにポインタ値を設定する。The graphic label generator 6 is a portion for generating graphic data to be displayed on the label of each menu item. The graphic label generation unit 6 generates graphic data of the edited result in advance, assuming that each menu item has been selected. The graphic label generation unit 6 sets a pointer value so that each graphic data can be referred to from the label 800a of the menu tables 830 to 860.
【0033】図形ラベルメニュー表示部7は、メニュー
テーブル1を参照して表示画面300に各種メニューを
表示する。図形ラベルメニュー表示部7は、ラベル欄8
00aが文字列型または図形データ型かを判断して、そ
れぞれに合わせてメニューを表示する。The graphic label menu display section 7 refers to the menu table 1 to display various menus on the display screen 300. The graphic label menu display section 7 includes a label column 8
It is determined whether 00a is a character string type or a graphic data type, and a menu is displayed according to each.
【0034】命令実行部8は、メニューテーブル1を参
照して選択されたメニュー項目に対する関数を実行す
る。各関数は、図7の編集処理の規定に従って、AND
/ORツリーテーブル2の変更を行なう。The command execution section 8 executes a function for the selected menu item with reference to the menu table 1. Each function is ANDed according to the rules of the editing process in FIG.
/ OR tree table 2 is changed.
【0035】編集結果表示部9は、AND/ORツリー
テーブを利用して目的・戦略ネット図500の内部デー
タを作成し、その内部データを目的・戦略ネット図表示
エリア310に表示する。編集結果表示部9は、利用者
に編集結果を知らせるために、編集操作による変更個所
を強調表示する。The edit result display unit 9 creates internal data of the purpose / strategy net diagram 500 by using the AND / OR tree table, and displays the internal data in the target / strategy net diagram display area 310. The edit result display unit 9 highlights the changed portion by the edit operation in order to inform the user of the edit result.
【0036】D)知識の編集処理の流れ、操作手順 目的・戦略オブジェクト群の編集処理の流れを説明す
る。D) Flow of Knowledge Editing Process, Operation Procedure The flow of editing process of the object / strategy object group will be described.
【0037】まず、図9の追加操作の一例を用いて、目
的オブジェクトを追加指定先に選択した場合における、
目的オブジェクトの追加処理を説明する。利用者は、ポ
インティング装置22を操作して、マウスポインタ99
1枠を907上に移動し、ポインティング装置22のボ
タンを押す。選択オブジェクト判定部5は、選択オブジ
ェクトとして目的Eと判断する。また、目的Eを選択オ
ブジェクトデータに格納する。さらに、選択結果の強調
表示として枠907に網掛けを行なう。利用者は、網掛
け表示を確認することにより、選択したオブジェクトを
確認できる。First, using the example of the adding operation in FIG. 9, when the target object is selected as the additional designation destination,
The process of adding a target object will be described. The user operates the pointing device 22 to move the mouse pointer 99.
One frame is moved to 907 and the button of the pointing device 22 is pressed. The selected object determination unit 5 determines the purpose E as the selected object. Also, the purpose E is stored in the selected object data. Further, the frame 907 is shaded to highlight the selection result. The user can confirm the selected object by confirming the shaded display.
【0038】利用者は、ポインティング装置22のマウ
スポインタを編集322に移動し、ポインティング装置
22のボタンを押す。選択メニュー項目判定部5は、選
択メニュー項目として編集322(図8の812a)と
判断する。また、編集812aの命令欄がサブメニュー
へのポインタ値であるから、図形ラベルメニュー表示部
7へ移る。図形ラベルメニュー表示部7は、メニューテ
ーブル820を利用して、編集322のサブメニュー9
80を表示画面300上に表示する。The user moves the mouse pointer of the pointing device 22 to the edit 322 and presses the button of the pointing device 22. The selected menu item determination unit 5 determines that the selected menu item is edit 322 (812a in FIG. 8). Further, since the command column of the edit 812a is the pointer value to the sub menu, the graphic label menu display section 7 is moved to. The graphic label menu display section 7 uses the menu table 820 to edit the submenu 9 of the edit 322.
80 is displayed on the display screen 300.
【0039】利用者は、ポインティング装置22のマウ
スポインタ992を981上に移動し追加を選択する。
選択メニュー判定部5は、選択メニュー項目として追加
981(図8の821a)と判断する。また、追加82
1aの命令欄がサブメニューへのポインタ値であり、か
つ、サブメニュー830のラベル欄が図形データ型であ
るから、図形ラベル生成部6へ移る。図形ラベル生成部
6は、ラベル用の図形データ971〜974を生成す
る。図形データ971は、add_right(obj1)831bの
実行を想定した結果である。図形データ972は、add_
left(obj1)832bの実行を想定した結果である。図形
データ973は、add_down(obj1)833bの実行を想定
した結果である。図形データ974は、add_up(obj1)8
34bの実行を想定した結果である。図形ラベル生成部
6は、図形データ971〜974へのポインタ値を追加
サブメニュー830の図形ラベル欄800aにそれぞれ
設定する。次に、図形ラベルメニュー表示部7は、追加
サブメニュー830を利用して図形データ971〜97
4を表示画面300上に表示する。The user moves the mouse pointer 992 of the pointing device 22 onto 981 and selects addition.
The selection menu determination unit 5 determines that the selection menu item is addition 981 (821a in FIG. 8). Addition 82
Since the command column of 1a is the pointer value to the submenu and the label column of the submenu 830 is the graphic data type, the graphic label generation unit 6 is moved to. The graphic label generation unit 6 generates graphic data 971 to 974 for labels. The graphic data 971 is a result of assuming execution of add_right (obj1) 831b. Graphic data 972 is add_
This is a result assuming execution of left (obj1) 832b. The graphic data 973 is a result of assuming execution of add_down (obj1) 833b. The graphic data 974 is add_up (obj1) 8.
This is the result assuming the execution of 34b. The graphic label generator 6 sets the pointer values to the graphic data 971 to 974 in the graphic label column 800a of the additional submenu 830, respectively. Next, the graphic label menu display unit 7 uses the additional submenu 830 to generate graphic data 971 to 97.
4 is displayed on the display screen 300.
【0040】利用者は、図形データ971〜974を確
認することにより、事前に追加オブジェクトや追加位置
の正しい想定結果をビジュアルに知ることができる。従
って、正しい想定結果がなければ別の追加指定先を選択
したり、逆に正しい想定結果があればその想定結果を選
択することにより、正確な操作を行なうことができ、誤
った操作を防止できる。また、利用者は、追加処理の規
定710を図形データ971〜974から学習して知る
ことができる。従って、追加処理の規定710を必ずし
も覚えておく必要がなく、意識する必要もない。By checking the graphic data 971 to 974, the user can visually know in advance the correct assumed result of the additional object and the additional position. Therefore, if there is no correct assumption result, another additional designation destination is selected, or if there is a correct assumption result, that assumption result is selected, so that an accurate operation can be performed and an erroneous operation can be prevented. . In addition, the user can learn the rule 710 of the additional processing by learning from the graphic data 971 to 974. Therefore, it is not always necessary to remember the rule 710 of the additional processing, and it is not necessary to be aware of it.
【0041】さて、利用者は、マウスポインタ993を
枠971上に移動し待望の図形データを選択する。選択
メニュー判定部5は、選択メニュー項目としてadd_righ
t(obj1)831bと判断する。add_right(obj1)831b
が関数であるから、命令実行部8へ移る。命令実行部8
は関数add_right(obj1)831bを呼び出し、これによ
りAND/ORツリーテーブルが変更される。編集結果
表示部9は、AND/ORツリーテーブルを利用して、
目的・戦略ネット図900を表示画面300上に再表示
する。また、追加サブメニュー971〜974を表示画
面上300から消去する。さらに、編集画面表示部9
は、変更個所の強調表示のために、枠961の網掛けを
行なう。Now, the user moves the mouse pointer 993 onto the frame 971 to select the long-awaited graphic data. The selection menu determination unit 5 uses add_righ as the selection menu item.
It is determined to be t (obj1) 831b. add_right (obj1) 831b
Is a function, the process moves to the instruction execution unit 8. Instruction execution unit 8
Calls the function add_right (obj1) 831b, which changes the AND / OR tree table. The edit result display section 9 uses the AND / OR tree table to
The purpose / strategy net diagram 900 is displayed again on the display screen 300. Also, the additional submenus 971 to 974 are deleted from the display screen 300. Further, the edit screen display section 9
Shades the frame 961 to highlight the changed portion.
【0042】以上の追加操作手順によって、目的Eの右
側に目的xを追加することができる。The purpose x can be added to the right side of the purpose E by the above additional operation procedure.
【0043】次に、図10の削除操作の一例を用いて、
目的オブジェクトを追加指定先に選択した場合におけ
る、その目的および下位戦略オブジェクトの削除処理を
説明する。以下では、追加操作と同様であるので、追加
操作手順と異なる個所を中心に説明する。Next, using an example of the deletion operation of FIG.
A process of deleting a target object and a subordinate strategy object when the target object is selected as the additional designation destination will be described. The following is the same as the adding operation, so the description will focus on the points different from the adding operation procedure.
【0044】利用者は、マウスポインタ1091を10
07上に移動し目的Eを選択すると、枠1007が強調
表示される。次に、利用者は、編集のサブメニュー10
80のうちの削除1082を選択すると、図形データ1
071〜1072が表示される。図形データ1071は
del_tree(obj1)841bの実行を想定した結果である。
図形データ1072はdel_single(obj1)842bの実行
を想定した結果である。利用者は、図形データ1072
を選択することにより、目的Eと戦略fが削除されて表
示される。以上の削除操作によって、目的Eと戦略fを
削除することができる。The user moves the mouse pointer 1091 to 10
When the user moves to 07 and selects the purpose E, the frame 1007 is highlighted. Next, the user is asked to edit 10
If Delete 1082 of 80 is selected, graphic data 1
071-1072 is displayed. The graphic data 1071 is
This is a result assuming execution of del_tree (obj1) 841b.
The graphic data 1072 is the result of assuming execution of del_single (obj1) 842b. The user uses the graphic data 1072.
By selecting, the purpose E and the strategy f are deleted and displayed. By the above deletion operation, the purpose E and the strategy f can be deleted.
【0045】図11の移動操作の一例を用いて、目的オ
ブジェクトを移動指定先に選択した場合における、移動
指定元に選択した目的オブジェクト以下の部分木の移動
処理を説明する。Using the example of the moving operation shown in FIG. 11, the moving process of the subtree below the target object selected as the movement designation source when the target object is selected as the movement designation destination will be described.
【0046】利用者は、マウスポインタ1191を11
07上に移動し目的Eを選択すると、枠1107が強調
表示される。次に、利用者は、編集のサブメニュー11
80のうちの移動1183を選択して、移動指定先に1
104を選択すると、図形データ1171〜1174が
表示される。図形データ1171はmove_right(obj1,ob
j2)851bの実行を想定した結果である。図形データ
1172はmove_left(obj1,obj2)852bの実行を想定
した結果である。図形データ1173はmove_down(obj
1,obj2)853bの実行を想定した結果である。図形デ
ータ1174はmove_up(obj1,obj2)854bの実行を想
定した結果である。利用者は、図形データ1172を選
択することにより、目的E、戦略e1、目的F、およ
び、戦略f1が目的Bの左側に表示される。以上の移動
操作によって、目的E以下の部分木を移動することがで
きる。The user moves the mouse pointer 1191 to 11
When the user moves to 07 and selects the purpose E, the frame 1107 is highlighted. Next, the user is asked to edit 11
Select the move 1183 out of 80 and select 1 as the move destination.
When 104 is selected, graphic data 1171-1174 are displayed. The graphic data 1171 is move_right (obj1, ob
j2) This is the result assuming the execution of 851b. Graphic data 1172 is the result of assuming execution of move_left (obj1, obj2) 852b. Graphic data 1173 is move_down (obj
1, obj2) 853b is assumed. Graphic data 1174 is the result of assuming the execution of move_up (obj1, obj2) 854b. By selecting the graphic data 1172, the user displays the objective E, the strategy e1, the objective F, and the strategy f1 on the left side of the objective B. By the above moving operation, it is possible to move the subtree having the purpose E or lower.
【0047】図12の複製操作の一例を用いて、目的オ
ブジェクトを複製指定先に選択した場合における、複製
指定元に選択した目的オブジェクト以下の部分木の複製
処理を説明する。Using the example of the duplication operation in FIG. 12, the duplication processing of the subtree under the target object selected as the duplication designation source when the destination object is selected as the duplication designation destination will be described.
【0048】複製操作は、移動操作と同様であり、移動
1183の代わりに複製1284を選択することによ
り、目的E以下の部分木を目的Bの左側に複製すること
ができる。The copy operation is the same as the move operation. By selecting the copy 1284 instead of the move 1183, a subtree below the purpose E can be copied to the left side of the purpose B.
【0049】以上のような追加・削除・移動・複製操作
を繰り返して、目的・戦略オブジェクトを入力・編集し
た後、これらの目的・戦略オブジェクトを記憶装置24
に格納する。また、これらの目的・戦略オブジェクトを
利用して推論を実行する知識情報処理に移行する。After the above-mentioned addition / deletion / movement / copying operations are repeated to input / edit the purpose / strategy object, these purpose / strategy objects are stored in the storage device 24
To be stored. In addition, the processing shifts to knowledge information processing that executes inference using these purpose / strategy objects.
【0050】[0050]
【発明の効果】利用者は、編集結果の候補を木構造で表
現した図形データを目視で確認することにより、事前に
追加オブジェクトや追加位置の正しい想定結果をビジュ
アルに知ることができる。従って、正しい想定結果がな
ければ別の追加指定先を選択したり、逆に正しい想定結
果があればその想定結果を選択することにより、正確な
操作を行なうことができ、誤った操作を防止できる。ま
た、利用者は、編集処理の規定を図形データから学習し
て知ることができる。従って、編集処理の規定を必ずし
も覚えておく必要がなく、意識する必要もない。As described above, the user can visually know in advance the correct assumed result of the additional object and the additional position by visually confirming the graphic data in which the candidates of the edited result are represented by the tree structure. Therefore, if there is no correct assumption result, another additional designation destination is selected, or if there is a correct assumption result, that assumption result is selected, so that an accurate operation can be performed and an erroneous operation can be prevented. . In addition, the user can learn the rule of the editing process by learning from the graphic data. Therefore, it is not always necessary to remember or stipulate the rules for editing processing.
【図面の簡単な説明】[Brief description of drawings]
【図1】知識の編集機能構成。FIG. 1 is a block diagram of a knowledge editing function.
【図2】本発明を実現するハードウエア構成。FIG. 2 is a hardware configuration for implementing the present invention.
【図3】図2のグラフィック表示装置に表示される画面
構成。3 is a screen configuration displayed on the graphic display device of FIG.
【図4】知識データの1例である目的・戦略オブジェク
ト。FIG. 4 is a purpose / strategy object that is an example of knowledge data.
【図5】知識データの構成を簡略に示した目的・戦略ネ
ット図。FIG. 5 is a purpose / strategy net diagram showing a simplified structure of knowledge data.
【図6】知識データの接続関係を示したAND/ORツ
リーテーブル。FIG. 6 is an AND / OR tree table showing the connection relationship of knowledge data.
【図7】編集処理の規定。FIG. 7: Rules for editing processing.
【図8】メニューテーブル。FIG. 8 is a menu table.
【図9】追加操作の例。FIG. 9 shows an example of an addition operation.
【図10】削除操作の例。FIG. 10 shows an example of a delete operation.
【図11】移動操作の例。FIG. 11 shows an example of a moving operation.
【図12】複製操作の例。FIG. 12 is an example of a duplication operation.
【図13】画面構成の代案例。FIG. 13 is an alternative example of the screen configuration.
1…メニューテーブル、2…AND/ORツリーテーブ
ル、3…選択オブジェクトデータ、4…選択オブジェク
ト判定部、5…選択メニュー項目判定部、6…図形ラベ
ル生成部、7…図形ラベルメニュー表示部、8…命令実
行部、9…編集結果表示部。1 ... Menu table, 2 ... AND / OR tree table, 3 ... Selected object data, 4 ... Selected object determination unit, 5 ... Selected menu item determination unit, 6 ... Graphic label generation unit, 7 ... Graphic label menu display unit, 8 ... instruction execution unit, 9 ... edit result display unit.
Claims (18)
集処理結果の候補項目を図形データでメニュー表示し、
利用者が該候補項目を選択し、選択された候補項目に従
って編集処理を実行することを特徴とする知識編集方
法。1. A knowledge base construction support system, which displays a menu of candidate items as a result of editing processing by graphic data,
A knowledge editing method characterized in that a user selects the candidate item and executes an editing process in accordance with the selected candidate item.
用者が2個以内の編集対象物および1個の編集処理項目
を指示し、該編集対象物と該編集処理項目に従って編集
処理結果の候補項目を図形データでメニュー表示し、利
用者が該候補項目を選択し、選択された候補項目に従っ
て編集処理を実行することを特徴とする知識編集方法。2. In a knowledge base construction support system, a user designates up to two editing objects and one editing processing item, and selects candidate items of editing processing results according to the editing object and the editing processing item. A knowledge editing method characterized by displaying a menu with graphic data, selecting a candidate item by a user, and executing an editing process in accordance with the selected candidate item.
該編集対象物に相当する1個の編集対象物として「訂
正」を指示し、該編集対象物「訂正」に相当する知識デ
ータの内容を表示し、該内容を訂正する請求項2項の知
識編集方法。3. The object to be edited is for correction,
The knowledge according to claim 2, wherein "correction" is instructed as one edit object corresponding to the edit object, the content of the knowledge data corresponding to the "correction" of the edit object is displayed, and the content is corrected. How to edit.
して、上記編集処理を実行する請求項2項の知識編集方
法。4. The knowledge editing method according to claim 2, wherein the editing process is executed on knowledge data corresponding to the object to be edited.
して、上記「訂正」を実行する請求項3項の知識編集方
法。5. The knowledge editing method according to claim 3, wherein the "correction" is executed on the knowledge data corresponding to the object to be edited.
メニューラベルを生成するための図形ラベル生成部、メ
ニューラベルをグラフィック表示するための図形ラベル
メニュー表示部、メニューラベルに表示すべき図形デー
タおよび命令を記述しておくためのメニューテーブルを
設け、上記図形ラベル生成部が上記編集対象物に相当す
る知識データの編集処理結果の候補を多階層ネットワー
ク構造で表すために上記メニューテーブル内に図形デー
タを作成し、上記図形ラベルメニュー表示部が図形デー
タをメニューのラベルとして表示し、利用者の選択した
メニュー項目から目的とする命令を実行することにより
編集する請求項1項または2項の知識編集方法。6. A graphic label generation section for generating a menu label of graphic data for displaying the menu, a graphic label menu display section for graphically displaying the menu label, graphic data to be displayed on the menu label, and A menu table for describing commands is provided, and the graphic label generation unit displays graphic data in the menu table in order to represent candidates of the editing processing result of the knowledge data corresponding to the editing object in a multi-layer network structure. 3. The knowledge edit according to claim 1 or 2, wherein the graphic label menu display section displays graphic data as a menu label and edits by executing a target command from a menu item selected by the user. Method.
・統合する戦略で階層的に表現した知識を表わす請求項
3〜5いずれか1項の知識編集方法。7. The knowledge editing method according to any one of claims 3 to 5, wherein the knowledge data represents knowledge expressed hierarchically by a purpose and a strategy for dividing, performing and integrating the purpose.
クト型かルール型、または、データ型の知識を表わす請
求項3〜5いずれか1項の知識編集方法。8. The knowledge editing method according to claim 3, wherein the knowledge data represents knowledge of a frame type, an object type, a rule type, or a data type.
クトと戦略オブジェクトで表現し、該目的オブジェクト
を、クラス、目的名、および、レベルのスロットで構成
し、該戦略オブジェクトを、クラス、戦略名、適用条
件、適用可能目的、下位目的、遂行手続き、戦略タイプ
のスロット、および、遂行手続き本体で構成する請求項
6項の知識編集方法。9. The object type is represented by a goal object and a strategy object, the goal object is composed of a class, a goal name, and a level slot, and the strategy object is classified as a class, a strategy name, and an application condition. 7. The knowledge editing method according to claim 6, comprising: an applicable purpose, a subordinate purpose, a performance procedure, a strategy type slot, and a performance procedure body.
を変更・修正する処理である請求項3〜6いずれか1項
の知識編集方法。10. The knowledge editing method according to claim 3, wherein the editing process is a process of changing / correcting the contents of the knowledge data.
層ネットワーク構造に対して追加・削除・移動・複製・
訂正する処理である請求項6項の知識編集方法。11. The editing process includes adding / deleting / moving / replicating / removing a multi-layer network structure of the knowledge data.
The knowledge editing method according to claim 6, which is a process of correcting.
識データをノードと捉え、該知識データ間の接続関係を
リンクと捉えることによるグラフ構造である請求項6項
の知識編集方法。12. The knowledge editing method according to claim 6, wherein the multi-layer network structure is a graph structure in which the knowledge data is regarded as a node and the connection relation between the knowledge data is regarded as a link.
識データおよび該知識データ間の接続関係を連結する接
続線にて表現した知識構成を有する請求項6項の知識編
集方法。13. The knowledge editing method according to claim 6, wherein the multi-layer network structure has a knowledge structure represented by connection lines connecting the knowledge data and the connection relationship between the knowledge data.
ND/OR接続を用いて表現する請求項12または13
項の知識編集方法。14. The connection relation is A between the knowledge data.
14. An expression using an ND / OR connection.
How to edit the knowledge of a term.
の目的名のスロット値と上記戦略オブジェクトの適用可
能目的のスロット値が一致する場合に該目的と戦略オブ
ジェクトをOR接続とみなし、上記戦略オブジェクトの
下位目的と上記目的オブジェクトの目的名が一致する場
合に該戦略と目的オブジェクトをAND接続とみなす関
係である請求項9項の知識編集方法。15. In the connection relation, when the slot value of the goal name of the goal object and the slot value of the applicable goal of the strategy object match, the goal and the strategy object are regarded as an OR connection, and the strategy object 10. The knowledge editing method according to claim 9, wherein there is a relationship in which the strategy and the target object are considered as an AND connection when the subordinate purpose and the target name of the target object match.
ーク構造を表わすデータである請求項6項の知識編集方
法。16. The knowledge editing method according to claim 6, wherein the graphic data is data representing the multi-layer network structure.
該知識データを知識ベースに格納する請求項3,4,5
いずれか1項の知識編集方法。17. After completing the editing of the knowledge data,
6. The knowledge data is stored in a knowledge base.
Any one of the knowledge editing method.
て、知識データの編集を完了した後に、該知識データを
利用して推論を実行する情報処理システム。18. An information processing system for executing inference using the knowledge data after completing the editing of the knowledge data using the knowledge editing method according to any one of claims 3 to 16.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6281672A JPH08147167A (en) | 1994-11-16 | 1994-11-16 | Knowledge editing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6281672A JPH08147167A (en) | 1994-11-16 | 1994-11-16 | Knowledge editing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08147167A true JPH08147167A (en) | 1996-06-07 |
Family
ID=17642376
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6281672A Pending JPH08147167A (en) | 1994-11-16 | 1994-11-16 | Knowledge editing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08147167A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010160807A (en) * | 1997-04-14 | 2010-07-22 | Thomson Consumer Electronics Inc | Graphical user interface of hierarchical menu |
| JP2017508224A (en) * | 2014-01-09 | 2017-03-23 | ファイゲンバウム、トーマス ディ.FEIGENBAUM,Thomas,D. | System and method for recognition-based processing of knowledge |
-
1994
- 1994-11-16 JP JP6281672A patent/JPH08147167A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010160807A (en) * | 1997-04-14 | 2010-07-22 | Thomson Consumer Electronics Inc | Graphical user interface of hierarchical menu |
| JP2015028816A (en) * | 1997-04-14 | 2015-02-12 | トムソン コンシユーマ エレクトロニクス インコーポレイテツドThomson Consumer Electronics,Incorporated | Hierarchical menu graphical user interface |
| JP2017508224A (en) * | 2014-01-09 | 2017-03-23 | ファイゲンバウム、トーマス ディ.FEIGENBAUM,Thomas,D. | System and method for recognition-based processing of knowledge |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4448881B2 (en) | Method and system for generating a computer program | |
| JPS61229168A (en) | Generation of graph using computer | |
| US5721959A (en) | Information processing apparatus for pattern editing using logic relationship representative patterns | |
| JPH0786819B2 (en) | Tree structure display method | |
| JPH04337843A (en) | Program operation display method | |
| US6339439B1 (en) | Device for modifying appearance of related display planes | |
| US5907851A (en) | Editing nested documents by appointing a portion for insertion with an alternative substitute | |
| JP3625084B2 (en) | Reuse system for software parts | |
| JPH07219754A (en) | Requirement definition support device using screen transition diagram | |
| JP2007233565A (en) | Design support program | |
| JPH08147167A (en) | Knowledge editing method | |
| JP3239292B2 (en) | Figure specification control method for figure editing system | |
| JP3593637B2 (en) | Drawing editing system | |
| JP2575664B2 (en) | Screen control method | |
| JPH02272622A (en) | Data display controller | |
| JPH0223438A (en) | File operation method | |
| JP2753015B2 (en) | Attribute input method | |
| JPH03119465A (en) | Document editing device | |
| JPH07104876B2 (en) | Design support method and design support apparatus | |
| JPH03235124A (en) | Rule base construction method | |
| JPH03250215A (en) | Hierarchical menu editing screen display method and hierarchical menu editing device | |
| JPH11102384A (en) | Command input method for CAD system | |
| JPH07282054A (en) | Document processing method and apparatus | |
| JPH0822490A (en) | Layer selection method and layer attribute editing method | |
| JPH07134640A (en) | Electronic editing method |