JP3671461B2 - Hierarchical chart processing device - Google Patents

Hierarchical chart processing device Download PDF

Info

Publication number
JP3671461B2
JP3671461B2 JP18626895A JP18626895A JP3671461B2 JP 3671461 B2 JP3671461 B2 JP 3671461B2 JP 18626895 A JP18626895 A JP 18626895A JP 18626895 A JP18626895 A JP 18626895A JP 3671461 B2 JP3671461 B2 JP 3671461B2
Authority
JP
Japan
Prior art keywords
record
affiliation
code
hierarchy
area
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
JP18626895A
Other languages
Japanese (ja)
Other versions
JPH0916684A (en
Inventor
修 大倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP18626895A priority Critical patent/JP3671461B2/en
Publication of JPH0916684A publication Critical patent/JPH0916684A/en
Application granted granted Critical
Publication of JP3671461B2 publication Critical patent/JP3671461B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、複数の構成要素を階層接続して描画された階層図を処理する階層図処理装置に関する。
【0002】
【従来の技術】
従来、社内組織図等の階層構造を持つ図を描画する際には、その社内組織の構成要素となる部署、構成員等とその部署単位の階層関係に基づいて、部署毎にブロック単位で構成員が階層的に配置されるとともに、各部署の階層関係が明確になるように部署ブロックが階層的に配置されて組織図が作成されている。
【0003】
また、組織の発足や変更は上記組織図に基づいてシミュレーションを行うことが多いが、これらの作業は組織図を印刷した紙面上等で行われ、そのシミュレーション作業において部署ブロック毎に変更あるいは新たに付与された部署コードや社員コード等の変更データについては、組織図を作成したシステムに対してデータ入力を行う別作業が必要である。
【0004】
【発明が解決しようとする課題】
しかしながら、このような従来の組織図を利用したシミュレーションによる組織の発足や変更作業にあっては、そのシミュレーション作業において部署ブロック毎に変更あるいは新たに付与された部署コードや社員コード等の変更データについては、組織図を作成したシステムに対してデータ入力を行う別作業が必要であったため、以下に述べるような問題点があった。
【0005】
すなわち、組織の発足や変更を組織図に基づいてシミュレーションする作業に際しては、組織図を印刷した紙上で試行錯誤しながら行っているため、決定した組織に関するデータ(部署コードや社員コード等)は、この新しい組織図に基づいてデータを手入力することになり、データの入力ミス等が発生し、所属コードを付与する際にも同様のミスが発生し易いという問題が発生していた。
【0006】
本発明の課題は、表示された階層図を利用して組織の発足や変更をする際に、変更した階層図の各構成要素に対するレコードの生成と、各構成要素に対する所属コードの付与とを自動化して、手入力によるデータの入力ミスを防止するとともに、作業負担を軽減することである。
【0007】
【課題を解決するための手段】
請求項1記載の発明は、複数の構成要素を階層接続構造で接続した階層図を表示する表示手段と、前記表示された階層図の構成要素と他の構成要素との階層の接続関係情報を解析し、各構成要素毎に構成要素が位置する階層及び下位、同位の所属情報からなるレコードを作成するレコード作成手段と、階層に応じた設定値を予め記憶する階層記憶手段と、前記レコード作成手段で作成された前記各構成要素に対応したレコードを順次読出すと共に、この読み出したレコード内の階層に応じた設定値を前記階層記憶手段より読み出し、各レコード毎に、前記設定値を基に下位の所属情報、同位の所属情報で夫々異なる所属コードを生成するコード生成手段と、このコード生成手段により生成された所属コードを前記レコードに付与するレコード生成手段とを具備したことを特徴とする。
【0008】
請求項2記載の発明は、前記コード生成手段は、階層別にコードを一時的に記憶するコード記憶手段を備え、前記読み出した設定値を前記コード記憶手段へコードとして書き込み、前記読み出したレコードの階層に応じて前記コード記憶手段内のコードを更新して夫々異なる所属コードとして生成することを特徴とする。
【0009】
【作用】
請求項1記載の発明によれば、表示手段は、複数の構成要素を階層接続構造で接続した階層図を表示し、レコード作成手段は、前記表示された階層図の構成要素と他の構成要素との階層の接続関係情報を解析し、各構成要素毎に構成要素が位置する階層及び下位、同位の所属情報からなるレコードを作成し、前記レコード作成手段で作成された前記各構成要素に対応したレコードを順次読出す。コード生成手段は、前記レコード作成手段で作成された前記各構成要素に対応したレコードを順次読出すと共に、この読み出したレコード内の階層に応じた設定値を前記階層記憶手段より読み出し、各レコード毎に、前記設定値を基に下位の所属情報、同位の所属情報で夫々異なる所属コードを生成する。レコード生成手段は、このコード生成手段により生成された所属コードを前記レコードに付与する。
【0010】
請求項2記載の発明によれば、前記コード生成手段は、階層別にコードを一時的に記憶するコード記憶手段を備え、前記読み出した設定値を前記コード記憶手段へコードとして書き込み、前記読み出したレコードの階層に応じて前記コード記憶手段内のコードを更新して夫々異なる所属コードとして生成する。
【0011】
したがって、表示された階層図をもとに、階層図の構成要素と他の構成要素との階層の接続関係情報を解析し、各構成要素毎にレコードを作成すると共に、階層に基づいた所属コードを生成して、各レコードに付与することができるので、階層図に対応した所属コードを自動的に生成でき、複雑な組織図であっても、手入力で所属コードを入力するのに比較して、入力ミスを防止できるだけでなく、表示された階層図を利用した自動的な所属コードの生成が可能となる。
【0012】
【実施例】
以下、図1〜図11を参照して本発明の実施例を詳細に説明する。
図1〜図11は、本発明を適用したコンピュータシステムの一実施例を示す図である。
まず、構成を説明する。
図1は、本実施例のコンピュータシステム1の要部ブロック構成図である。
【0013】
この図1において、コンピュータシステム1は、CPU2、入力部3、階層図描画エディタ4、描画メモリ5、作成レコードバッファ6、所属レコード作成部7、レコードメモリ8、階層別コードメモリ9、ルールテーブル10、所属レコードファイル11及び表示部12により構成されており、各部はバス13に接続されている。
【0014】
CPU(Central Processing Unit )2は、内蔵ROMに格納されている各種制御プログラムに従ってコンピュータシステム1内の各部を制御して各種情報処理を実行し、その処理過程及び処理結果を表示部11に表示させる。また、CPU2は、後述する所属ファイル作成処理に際して、入力部3からの指示に従って階層図描画エディタ4により階層構造を持つ組織図を描画メモリ5に描画させるとともに、所属レコード作成部7により後述する所属レコード設定処理及び所属コード設定処理を実行させて、描画された組織図の各構成要素(所属名ブロック)毎に接続関係情報を含む所属レコードを設定させるとともに、階層数に対応して設定される間隔値に基づく所属コードを設定させる。
【0015】
入力部3は、カーソルキー、数字入力キー及び各種機能キー等を備え、上記所属ファイル作成処理の階層図描画処理に際して、組織図を描画するのに必要な項目や各部署ブロックの展開位置、接続関係等の各種指示内容を階層図描画エディタ4に出力する。
階層図描画エディタ4は、上記所属ファイル作成処理の階層図描画処理に際して、入力部3から入力される組織図を描画するのに必要な項目や各部署ブロックの展開位置、接続関係等の各種指示内容に基づいて描画メモリ5内に階層構造を持つ組織図のイメージデータを描画し、その組織図を表示部12に表示する。
【0016】
描画メモリ5は、図2に示すように、階層図描画エディタ4により展開される組織処理図のイメージデータを所属部署毎にブロック単位で展開するメモリエリア(ブロック1〜20)を形成する。作成レコードバッファ6は、所属レコード作成部7において所属レコード設定処理が実行されて処理中の所属レコードデータを一時的に記憶するメモリエリアを形成する。
【0017】
所属レコード作成部7は、CPU2の指示により後述する所属レコード設定処理及び所属コード設定処理を実行し、階層図描画エディタ4により描画メモリ5に描画された階層図の各ブロック毎に、他ブロックとの接続関係、所属名称、階層数等に基づいて所属レコードを設定するとともに、その所属レコード内容及びルールテーブル10の設定内容に基づいて、階層図に設定された所属ブロック毎に接続関係を解析して所属コードを設定して、ブロック毎の所属レコードの作成を完了すると所属レコードファイル11に格納する。
【0018】
レコードメモリ8は、所属レコード作成部7の所属レコード設定処理により作成レコードバッファ6にセットされた所属レコードデータを格納するメモリエリアを形成する。
【0019】
階層別コードメモリ9は、図3に示すようなメモリエリアを形成し、所属レコード作成部7により作成される階層図ブロック毎の所属レコードの階層間隔値を加算する際に、その対象ブロックの階層数別に階層間隔値を一時的に格納するメモリである。ルールテーブル10は、図4に示すように、描画メモリ5に描画される階層図の各階層数に対応して間隔値を設定するテーブルである。
【0020】
所属レコードファイル11は、所属レコード作成部7により作成が完了した所属レコードデータを格納する。表示部12は、CRT(Cathode Ray Tube)等により構成され、CPU2から入力される表示データを表示する。
【0021】
次に、本実施例の動作を説明する。
まず、本実施例のコンピュータシステム1において実行される所属ファイル作成処理について図5に示すフローチャートに基づいて説明する。
上記CPU2により所属ファイル作成処理が開始されると、入力部3から入力される階層構造の組織図を描画するのに必要な項目や各部署ブロックの展開位置、接続関係等の各種指示内容に基づいて階層図描画エディタ4により描画メモリ5内に階層構造を持つ組織図のイメージデータを図2に示した1エリア内に1所属名を設定して描画し(ステップS1)、その描画したエリア間でリンク線を描画し(ステップS2)、その組織図を表示部12に表示する。
この階層図描画処理により描画メモリ5に描画された組織図の一例を図6に示す。この図6において、“A〜E”は所属名である。
【0022】
次いで、描画メモリ5に描画した組織図に対して所属レコード作成部7により所属レコード設定処理を実行する(ステップS3)。この所属レコード設定処理について図7に示すフローチャートに基づいて説明する。
まず、描画メモリ5内の第1エリアを指定し(ステップP1)、その第1エリアに名称が描画されているか否かをチェックする(ステップP2)。図6の組織図の場合は、第1エリアに名称が描画されていないため、ステップP13で次の第2エリアを指定し、最終のエリアか否かをチェックする(ステップP14)。最終エリアでないため、ステップP2に戻って第2エリアには、名称Aが描画されているため、作成レコードバッファ6内をクリアし(ステップP3)、その第2エリアの所属名A、階層数1、表示x,y座標の各データを作成レコードバッファ6にセットする(ステップP4)。
【0023】
次いで、第2エリアから下位エリアに下位リンク線が描画されているか否かをチェックし(ステップP5)、図6では第2エリアから下位の第6エリアに下位リンク線が描画されているため、そのリンク先の所属名称Bを下位所属の情報として作成レコードバッファ6にセットする(ステップP6)。さらに、第2エリアから上位エリアに上位リンク線が描画されているか否かをチェックし(ステップP7)、図6では第2エリアから上位はないため、ステップP12に移行し、作成レコードバッファ6内にセットしたレコードデータをレコードメモリ8へ格納する。
【0024】
この時、レコードメモリ8に格納されるレコードデータの構成を図8に示す。図8に示すように、レコードデータは、後述する所属コード設定処理で設定される所属コード、所属名、階層数、上位所属、同位所属、下位所属、x座標、y座標の各データをセットする構成となっている。第2エリアの名称Aブロックの場合は、図9の▲1▼に示すように、所属名としてA、階層数として1、下位所属としてB、図示しないが表示x,y座標がセットされる。
【0025】
そして、ステップP13で描画メモリ5の次のエリアを指定し、ステップP2に戻って名称の有無をチェックする処理を繰り返し実行すると、第6エリアで名称Bが描画されているため、作成レコードバッファ6をクリアする(ステップP3)。その第6エリアの所属名B、階層数2、表示x,y座標を作成レコードバッファ6にセットし(ステップP4)、第6エリアから下位エリアに下位リンク線が描画されているか否かをチェックする(ステップP5)。図6では第6エリアから第11エリアに下位リンク線が描画されているため、そのリンク先の所属名称Dを下位所属の情報として作成レコードバッファ6にセットする(ステップP6)。
【0026】
さらに、第6エリアから上位エリアに上位リンク線が描画されているか否かをチェックし(ステップP7)、図6では第6エリアから上位の第2エリアに上位リンク線が描画されているため、そのリンク先エリアの名称Aを上位所属の情報として作成レコードバッファ6にセットする(ステップP8)。そして、その上位所属が同一で同位所属の未だレコードデータが設定されていないレコードを、描画メモリ5の階層別メモリから検索し(ステップP9)、そのレコードの有無を判別する(ステップP10)。
【0027】
図6では、所属名Aと上位所属が同一で同位所属である階層数2の第8エリアに所属名Cが描画されているため、検索レコードの同位所属の名称として現エリアである第8エリアの所属名Cを作成レコードバッファ6にセットする(ステップP11)。次いで、作成レコードバッファ6にセットしたレコードデータ(所属名B、階層数2、上位所属A、同位所属C、下位所属D、図示しない表示x,y座標)を、図9の▲2▼に示すようにレコードメモリ8にセットし(ステップP12)、ステップP13で次のエリアを指定する。
【0028】
ステップP2に戻って名称の有無をチェックする処理を繰り返し実行すると、第8エリアで名称Cが描画されているため、作成レコードバッファ6をクリアする(ステップP3)。その第8エリアの所属名C、階層数2、表示x,y座標を作成レコードバッファ6にセットし(ステップP4)、第8エリアから下位エリアに下位リンク線が描画されているか否かをチェックする(ステップP5)。図6では第8エリアから第13エリアに下位リンク線が描画されているため、そのリンク先の所属名称Eを下位所属の情報として作成レコードバッファ6にセットする(ステップP6)。
【0029】
さらに、第8エリアから上位エリアに上位リンク線が描画されているか否かをチェックし(ステップP7)、図6では第8エリアから上位の第2エリアに上位リンク線が描画されているため、そのリンク先エリアの名称Aを上位所属の情報として作成レコードバッファ6にセットする(ステップP8)。そして、その上位所属が同一で同位所属の未だレコードデータが設定されていないレコードを、描画メモリ5の階層別メモリから検索し(ステップP9)、そのレコードの有無を判別する(ステップP10)。
【0030】
図6では、第8エリアより右側のエリアで所属名Aと上位所属が同一で同位所属である階層数2の所属名は描画されていないため、ステップP12で作成レコードバッファ6にセットしたレコードデータ(所属名C、階層数2、上位所属A、下位所属E、図示しない表示x,y座標)を、図9の▲3▼に示すようにレコードメモリ8にセットし、ステップP13で次のエリアを指定する。
【0031】
ステップP2に戻って名称の有無をチェックする処理を繰り返し実行すると、第11エリアで名称Dが描画されているため、作成レコードバッファ6をクリアする(ステップP3)。その第11エリアの所属名D、階層数3、表示x,y座標を作成レコードバッファ6にセットし(ステップP4)、第11エリアから下位エリアに下位リンク線が描画されているか否かをチェックする(ステップP5)。図6では第11エリアから下位エリアには下位リンク線が描画されていないため、ステップP7で第11エリアから上位エリアに上位リンク線が描画されているか否かをチェックする。
【0032】
図6では第11エリアから上位の第6エリアに上位リンク線が描画されているため、そのリンク先エリアの名称Bを上位所属の情報として作成レコードバッファ6にセットする(ステップP8)。そして、その上位所属が同一で同位所属の未だレコードデータが設定されていないレコードを、描画メモリ5の階層別メモリから検索し(ステップP9)、そのレコードの有無を判別する(ステップP10)。
【0033】
図6では、第11エリアのように所属名Bと上位所属が同一で同位所属である階層数3のデータが描画されていないため、ステップP12で作成レコードバッファ6にセットしたレコードデータ(所属名D、階層数3、上位所属B、図示しない表示x,y座標)を、図9の▲4▼に示すようにレコードメモリ8にセットし、ステップP13で次のエリアを指定する。
【0034】
ステップP2に戻って名称の有無をチェックする処理を繰り返し実行すると、第13エリアで名称Eが描画されているため、作成レコードバッファ6をクリアする(ステップP3)。その第13エリアの所属名E、階層数3、表示x,y座標を作成レコードバッファ6にセットし(ステップP4)、第13エリアから下位エリアに下位リンク線が描画されているか否かをチェックする(ステップP5)。図6では第13エリアから下位エリアには下位リンク線が描画されていないため、ステップP7で第13エリアから上位エリアに上位リンク線が描画されているか否かをチェックする。
【0035】
図6では第13エリアから上位の第8エリアに上位リンク線が描画されているため、そのリンク先エリアの名称Cを上位所属の情報として作成レコードバッファ6にセットする(ステップP8)。そして、その上位所属が同一で同位所属の未だレコードデータが設定されていないレコードを、描画メモリ5の階層別メモリから検索し(ステップP9)、そのレコードの有無を判別する(ステップP10)。
【0036】
図6では、第13エリアのように所属名Cと上位所属が同一で同位所属である階層数3の所属名は描画されていないため、ステップP12で作成レコードバッファ6にセットしたレコードデータ(所属名E、階層数3、上位所属C、図示しない表示x,y座標)を、図9の▲5▼に示すようにレコードメモリ8にセットし、ステップP13で次のエリアを指定する。
【0037】
ステップP2に戻って名称の有無をチェックする処理を繰り返し実行すると、第13エリア移行には、名称が描画されていないため、ステップP14で描画メモリ5のメモリエリアの終了を確認して、本所属レコード設定処理を終了する。次いで、上記所属レコード設定処理でレコードメモリ8に格納した各レコードデータに対して所属レコード作成部7により所属コード設定処理を実行する(ステップS4)。この所属コード設定処理について図10に示すフローチャートに基づいて説明する。
【0038】
まず、階層別コードメモリ9をリセットし(ステップQ1)、レコードメモリ8に格納されたレコードデータのうち1レコード目、すなわち、図9に示した▲1▼のレコードを指定する(ステップQ2)。その指定レコードの階層数1を取得し(ステップQ3)、その階層数1に対応する階層別コードメモリ9に“0”がセットされているか否かを判別する(ステップQ4)。現段階では、階層数1の階層別コードメモリ9は“0”であるため、そのメモリエリアに上位階層の値をコピーし(ステップQ5)、この時、階層数1より上位の階層はないため“0”のままである。
【0039】
次いで、その階層数1に対応する階層別コードメモリ9に、図4に示したルールテーブル10から階層数1に対応する間隔値“10000”を加算し(0+10000)(ステップQ6)、その加算結果を指定レコードの所属コードとしてレコードメモリ8にセットする(ステップQ7)。その結果、図11の▲1▼に示すように所属名Aのレコードの所属コード欄には“10000”がセットされる。次いで、指定レコードに下位所属がセットされているか否かをチェックする(ステップQ8)。図9では、下位所属としてBがセットされているため、その下位所属Bを所属名とする同図の▲2▼のレコードを指定し(ステップQ9)、ステップQ3に戻り、指定レコードの階層数2を取得する。
【0040】
そして、その階層数2に対応する階層別コードメモリ9に“0”がセットされているか否かを判別する(ステップQ4)。現段階では、階層数2の階層別コードメモリ9は“0”であるため、そのメモリエリアに上位階層1の値をコピーし(ステップQ5)、この時、階層数1に先にセットされた値“10000”が階層数2のメモリエリアにコピーされる。
【0041】
次いで、その階層数2に対応する階層別コードメモリ9に、図4に示したルールテーブル10から階層数2に対応する間隔値“1000”を加算し(1000+10000)(ステップQ6)、その加算結果を指定レコードの所属コードとしてレコードメモリ8にセットする(ステップQ7)。その結果、図11の▲2▼に示すように所属名Bのレコードの所属コード欄には“11000”がセットされる。
【0042】
次いで、指定レコードに下位所属がセットされているか否かをチェックする(ステップQ8)。図9では、下位所属としてDがセットされているため、その下位所属Dを所属名とする同図の▲4▼のレコードを指定し(ステップQ9)、ステップQ3に戻り、指定レコードの階層数3を取得する。
【0043】
そして、その階層数3に対応する階層別コードメモリ9に“0”がセットされているか否かを判別する(ステップQ4)。現段階では、階層数3の階層別コードメモリ9は“0”であるため、そのメモリエリアに上位階層2の値をコピーし(ステップQ5)、この時、階層数2に先にセットされた値“11000”が階層数3のメモリエリアにコピーされる。
【0044】
次いで、その階層数3に対応する階層別コードメモリ9に、図4に示したルールテーブル10から階層数3に対応する間隔値“100”を加算し(100+11000)(ステップQ6)、その加算結果を指定レコードの所属コードとしてレコードメモリ8にセットする(ステップQ7)。その結果、図11の▲3▼に示すように所属名Bのレコードの所属コード欄には“11100”がセットされる。次いで、指定レコードに下位所属がセットされているか否かをチェックする(ステップQ8)。図9では、所属Dの下位所属にはデータがセットされていないため、ステップQ10で同位所属がセットされているか否かをチェックする。図9では、所属Dの同位所属にはデータがセットされていないため、その階層数3に対応する階層別コードメモリ9の内容“11100”をリセットする(ステップQ12)。
【0045】
次いで、未指定レコードの有無をチェックし(ステップQ13)、図9では▲3▼のレコードが未指定であるため、そのうち▲3▼のレコードを指定し(ステップQ14)、ステップQ3に戻り、その指定レコードの階層数2を取得する。
【0046】
そして、その階層数2に対応する階層別コードメモリ9に“0”がセットされているか否かを判別する(ステップQ4)。上記レコード▲2▼に対するコード設定処理により対応するメモリエリアには“11000”がセットされているため、ステップQ6で、その階層数2に対応する階層別コードメモリ9に、図4に示したルールテーブル10から階層数2に対応する間隔値“1000”を加算し(1000+11000)(ステップQ6)、その加算結果を指定レコードの所属コードとしてレコードメモリ8にセットする(ステップQ7)。その結果、図11の▲4▼に示すように所属名Cのレコードの所属コード欄には“12000”がセットされる。
【0047】
次いで、指定レコードに下位所属がセットされているか否かをチェックする(ステップQ8)。図9では、所属Cの下位所属にはEがセットされているため、その下位所属Eを所属名とする同図の▲5▼のレコードを指定し(ステップQ9)、ステップQ3に戻り、指定レコードの階層数3を取得する。
【0048】
そして、その階層数3に対応する階層別コードメモリ9に“0”がセットされているか否かを判別する(ステップQ4)。上記リセット処理により、対応するメモリエリアには“0”がセットされているため、上位階層の値“12000”を階層3のメモリエリアにコピーし(ステップQ5)、ステップQ6で、その階層数3に対応する階層別コードメモリ9に、図4に示したルールテーブル10から階層数3に対応する間隔値“100”を加算し(100+12000)(ステップQ6)、その加算結果を指定レコードの所属コードとしてレコードメモリ8にセットする(ステップQ7)。その結果、図11の▲5▼に示すように所属名Eのレコードの所属コード欄には“12100”がセットされる。
【0049】
次いで、指定レコードに下位所属がセットされているか否かをチェックする(ステップQ8)。図9では、所属Eの下位所属にはデータがセットされていないため、ステップQ10で同位所属がセットされているか否かをチェックする。図9では、所属Eの同位所属にはデータがセットされていないため、その階層数3に対応する階層別コードメモリ9の内容“12100”をリセットする(ステップQ12)。
【0050】
次いで、未指定レコードの有無をチェックし(ステップQ13)、全てのレコード指定が終了し、未指定レコードがないため、本所属コード指定処理を終了する。以上の所属コード設定処理の終了時点では、階層別コードメモリ9に格納されるデータは、図3に示すように、階層数1の“10000”と階層数2の“12000”となる。
【0051】
再び、図5のステップS5に戻り、レコードメモリ8にセットされた各レコードの上位、下位、同所属名称をコードデータへ置換し、所属レコードファイル11に格納して(ステップS6)、本所属ファイル作成処理を終了する。
【0052】
以上のように、本実施例のコンピュータシステム1では、階層図を描画するだけで、その階層図に含まれる個々の名称ブロック別の所属レコードを自動的に生成することができるとともに、その各所属レコードに対して、その名称ブロック毎の階層接続関係の解析結果に基づいた識別コードを自動的に付与することができる。
【0053】
その結果、階層構造を持つ組織図から組織の発足や変更をする際に、変更した組織図の各構成要素に対する階層レコードの生成と、各構成要素に対する識別コード値の付与とを自動化することができ、手入力によるデータの入力ミスを防止するとともに、利用者の作業負担を軽減することができる。
【0054】
【発明の効果】
本発明によれば、表示された階層図をもとに、階層図の構成要素と他の構成要素との階層の接続関係情報を解析し、各構成要素毎にレコードを作成すると共に、階層に基づいた所属コードを生成して、各レコードに付与することができるので、階層図に対応した所属コードを自動的に生成でき、複雑な組織図であっても、手入力で所属コードを入力するのに比較して、入力ミスを防止できるだけでなく、表示された階層図を利用した自動的な所属コードの生成が可能となる。
【図面の簡単な説明】
【図1】本発明を適用したコンピュータシステムの要部ブロック構成図。
【図2】図1の描画メモリのメモリ構成を示す図。
【図3】図1の階層別コードメモリ内のメモリ構成を示す図。
【図4】図1のルールテーブルに設定されるデータの一例を示す図。
【図5】図1のCPUにより実行される所属ファイル作成処理のフローチャート。
【図6】図1の描画メモリに描画された階層図の一例を示す図。
【図7】図1の所属レコード作成部7により実行される所属レコード設定処理のフローチャート。
【図8】図7の所属レコード設定処理により設定されるレコードデータのデータ構成を示す図。
【図9】図7の所属レコード設定処理により図6の名称描画エリア毎に設定されるレコードデータを示す図。
【図10】図1の所属レコード作成部7により実行される所属コード設定処理のフローチャート。
【図11】 図10の所属コード設定処理により図6の名称描画エリア毎に設定されるコードデータを示す図。
【符号の説明】
1 コンピュータシステム
2 CPU
3 入力部
4 階層図描画エディタ
5 描画メモリ
6 作成レコードバッファ
7 所属レコード作成部
8 レコードメモリ
9 階層別コードメモリ
10 ルールテーブル
11 所属レコードファイル
12 表示部
13 バス
[0001]
[Industrial application fields]
The present invention relates to a hierarchical diagram processing apparatus that processes a hierarchical diagram drawn by hierarchically connecting a plurality of components.
[0002]
[Prior art]
Conventionally, when drawing a diagram with a hierarchical structure such as an in-house organization chart, it is configured in units of blocks for each department based on the hierarchical relationship between the departments, members, etc., which are constituent elements of the in-house organization, and the department unit. Members are arranged hierarchically, and department blocks are arranged hierarchically so as to clarify the hierarchical relationship between the departments, and an organization chart is created.
[0003]
In addition, organizations are often started and changed based on the above organization chart, but these operations are performed on the paper on which the organization chart is printed. For the change data such as the assigned department code and employee code, another work is required to input data to the system that created the organization chart.
[0004]
[Problems to be solved by the invention]
However, in the start-up and change work of the organization by the simulation using such a conventional organization chart, the change data such as the department code or the employee code that is changed or newly given for each department block in the simulation work However, there was a problem as described below because it was necessary to perform another operation to input data to the system that created the organization chart.
[0005]
In other words, in the work of simulating the start and change of the organization based on the organization chart, since it is done on a paper with the organization chart printed on trial and error, the data (department code, employee code, etc.) on the determined organization is Data has to be manually input based on this new organization chart, and there has been a problem that a data input error or the like has occurred, and that a similar error is likely to occur when an affiliation code is assigned.
[0006]
An object of the present invention is to automate the generation of a record for each component of a changed hierarchy diagram and the assignment of an affiliation code to each component when an organization is created or changed using the displayed hierarchy diagram Thus, it is possible to prevent data input mistakes due to manual input and reduce the work load.
[0007]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided display means for displaying a hierarchical diagram in which a plurality of constituent elements are connected in a hierarchical connection structure, and hierarchical connection relationship information between the constituent elements of the displayed hierarchical diagram and other constituent elements. Analyzing and creating a record composed of the hierarchy in which the component is located for each component and the subordinate and affiliation information, a hierarchy storage means for preliminarily storing setting values corresponding to the hierarchy, and the record creation The records corresponding to the respective constituent elements created by the means are sequentially read out, and the set values corresponding to the hierarchies in the read records are read out from the hierarchical storage means, and for each record based on the set values Code generation means for generating different affiliation codes for lower affiliation information and peer affiliation information, and a record for assigning the affiliation code generated by the code generation means to the record Characterized by comprising a formation unit.
[0008]
According to a second aspect of the present invention, the code generation means includes code storage means for temporarily storing codes for each hierarchy, the read set value is written as a code in the code storage means, and the hierarchy of the read records Accordingly, the code in the code storage means is updated to generate different belonging codes.
[0009]
[Action]
According to the first aspect of the present invention, the display means displays a hierarchical diagram in which a plurality of constituent elements are connected in a hierarchical connection structure, and the record creation means includes the constituent elements of the displayed hierarchical diagram and other constituent elements. The connection relation information of the hierarchy is analyzed, and a record composed of the hierarchy where the component is located for each component and the subordinate and affiliation information is created and corresponds to each component created by the record creation means Sequentially read the recorded records. The code generation means sequentially reads records corresponding to the respective components created by the record creation means, and reads setting values corresponding to the hierarchy in the read record from the hierarchy storage means. In addition, different affiliation codes are generated for lower affiliation information and peer affiliation information based on the set values. The record generation means assigns the affiliation code generated by the code generation means to the record.
[0010]
According to a second aspect of the present invention, the code generation means includes code storage means for temporarily storing codes for each hierarchy, and writes the read setting values as codes to the code storage means, and the read records The code in the code storage means is updated in accordance with the hierarchy of each of the codes, and generated as different belonging codes.
[0011]
Therefore, based on the displayed hierarchy diagram, it analyzes the connection information of the hierarchy between the components of the hierarchy diagram and other components, creates a record for each component, and assigns the membership code based on the hierarchy Can be generated and assigned to each record, so the affiliation code corresponding to the hierarchy chart can be automatically generated, even if it is a complicated organization chart, compared to entering the affiliation code manually. In addition to preventing input mistakes, it is possible to automatically generate affiliation codes using the displayed hierarchy diagram.
[0012]
【Example】
Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS.
1 to 11 are diagrams showing an embodiment of a computer system to which the present invention is applied.
First, the configuration will be described.
FIG. 1 is a block diagram of a main part of a computer system 1 according to the present embodiment.
[0013]
In FIG. 1, a computer system 1 includes a CPU 2, an input unit 3, a hierarchy diagram drawing editor 4, a drawing memory 5, a creation record buffer 6, an affiliation record creation unit 7, a record memory 8, a hierarchy code memory 9, and a rule table 10. , The affiliation record file 11 and the display unit 12, and each unit is connected to the bus 13.
[0014]
A CPU (Central Processing Unit) 2 controls various parts in the computer system 1 according to various control programs stored in a built-in ROM, executes various information processes, and causes the display part 11 to display the processing process and processing results. . In addition, the CPU 2 draws an organization chart having a hierarchical structure in the drawing memory 5 by the hierarchy diagram drawing editor 4 in accordance with an instruction from the input unit 3 in the affiliation file creation process described later, and the affiliation record creation unit 7 describes the affiliation described later. The record setting process and the affiliation code setting process are executed, and an affiliation record including connection relation information is set for each component (affiliation name block) of the drawn organization chart, and is set corresponding to the number of layers. Set the affiliation code based on the interval value.
[0015]
The input unit 3 includes a cursor key, a numeric input key, various function keys, and the like. In the hierarchical diagram drawing process of the affiliated file creation process, items necessary for drawing the organization chart, development positions of each department block, connection Various instruction contents such as relationships are output to the hierarchical diagram drawing editor 4.
The hierarchy diagram drawing editor 4 performs various instructions such as items necessary for drawing the organization chart input from the input unit 3, the development position of each department block, and the connection relationship in the hierarchy diagram drawing process of the belonging file creation process. Based on the contents, the image data of the organization chart having a hierarchical structure is drawn in the drawing memory 5, and the organization chart is displayed on the display unit 12.
[0016]
As shown in FIG. 2, the drawing memory 5 forms a memory area (blocks 1 to 20) in which image data of an organization process chart developed by the hierarchical diagram drawing editor 4 is developed in units of blocks for each department. The created record buffer 6 forms a memory area for temporarily storing the affiliated record data being processed when the affiliated record creating unit 7 executes the affiliated record setting process.
[0017]
The affiliation record creation unit 7 executes an affiliation record setting process and an affiliation code setting process, which will be described later, according to instructions from the CPU 2. For each block of the hierarchy diagram drawn in the drawing memory 5 by the hierarchy diagram drawing editor 4, In addition to setting the affiliation record based on the connection relationship, the affiliation name, the number of hierarchies, etc., the connection relationship is analyzed for each affiliation block set in the hierarchy diagram based on the content of the affiliation record and the setting content of the rule table 10 When the affiliation code is set and the creation of the affiliation record for each block is completed, it is stored in the affiliation record file 11.
[0018]
The record memory 8 forms a memory area for storing the belonging record data set in the created record buffer 6 by the belonging record setting process of the belonging record creating unit 7.
[0019]
The hierarchical code memory 9 forms a memory area as shown in FIG. 3, and when adding the hierarchy interval value of the belonging record for each hierarchical diagram block created by the belonging record creating unit 7, the hierarchy of the target block This is a memory for temporarily storing the hierarchy interval value by number. As shown in FIG. 4, the rule table 10 is a table that sets interval values corresponding to the number of layers in the hierarchy diagram drawn in the drawing memory 5.
[0020]
The affiliation record file 11 stores affiliation record data that has been created by the affiliation record creation unit 7. The display unit 12 is configured by a CRT (Cathode Ray Tube) or the like, and displays display data input from the CPU 2.
[0021]
Next, the operation of this embodiment will be described.
First, the belonging file creation process executed in the computer system 1 of this embodiment will be described based on the flowchart shown in FIG.
When the affiliation file creation process is started by the CPU 2, it is based on the contents necessary for drawing the hierarchical organization chart input from the input unit 3, various instruction contents such as development positions of each department block, connection relations, and the like. The hierarchical chart drawing editor 4 draws the organization chart image data having a hierarchical structure in the drawing memory 5 by setting one affiliation name in one area shown in FIG. 2 (step S1). Then, a link line is drawn (step S2), and the organization chart is displayed on the display unit 12.
An example of an organization chart drawn in the drawing memory 5 by this hierarchical diagram drawing process is shown in FIG. In FIG. 6, “A to E” are affiliation names.
[0022]
Next, the affiliation record setting unit 7 executes affiliation record setting processing on the organization chart drawn in the drawing memory 5 (step S3). This affiliation record setting process will be described based on the flowchart shown in FIG.
First, the first area in the drawing memory 5 is designated (step P1), and it is checked whether or not a name is drawn in the first area (step P2). In the organization chart of FIG. 6, since the name is not drawn in the first area, the next second area is designated in step P13, and it is checked whether or not it is the final area (step P14). Since it is not the final area, the process returns to Step P2, and since the name A is drawn in the second area, the created record buffer 6 is cleared (Step P3), the belonging name A of the second area, the number of hierarchies 1 The display x and y coordinate data are set in the created record buffer 6 (step P4).
[0023]
Next, it is checked whether or not the lower link line is drawn from the second area to the lower area (step P5). In FIG. 6, since the lower link line is drawn from the second area to the lower sixth area, The affiliation name B of the link destination is set in the created record buffer 6 as lower affiliation information (step P6). Further, it is checked whether or not an upper link line is drawn from the second area to the upper area (step P7). Since there is no upper area from the second area in FIG. The record data set in is stored in the record memory 8.
[0024]
At this time, the structure of the record data stored in the record memory 8 is shown in FIG. As shown in FIG. 8, the record data sets the data of the affiliation code, affiliation name, number of layers, higher affiliation, peer affiliation, lower affiliation, x coordinate, and y coordinate set in the affiliation code setting process described later. It has a configuration. In the case of the name A block in the second area, as shown in (1) of FIG. 9, A is assigned as the affiliation name, 1 as the number of hierarchies, B as the lower affiliation, and display x and y coordinates (not shown) are set.
[0025]
When the next area of the drawing memory 5 is designated in step P13 and the process of returning to step P2 and checking for the presence of a name is repeatedly executed, the name B is drawn in the sixth area. Is cleared (step P3). Set the affiliation name B, number of hierarchies 2, display x and y coordinates of the sixth area in the created record buffer 6 (step P4), and check whether the lower link line is drawn from the sixth area to the lower area (Step P5). In FIG. 6, since the lower link line is drawn from the sixth area to the eleventh area, the affiliation name D of the link destination is set in the created record buffer 6 as lower affiliation information (step P6).
[0026]
Further, it is checked whether or not an upper link line is drawn from the sixth area to the upper area (step P7). In FIG. 6, since the upper link line is drawn from the sixth area to the upper second area, The name A of the link destination area is set in the created record buffer 6 as higher-level affiliation information (step P8). Then, a record having the same high-level affiliation and no record data set to the same affiliation yet is searched from the hierarchical memory of the drawing memory 5 (step P9), and the presence or absence of the record is determined (step P10).
[0027]
In FIG. 6, since the affiliation name C is drawn in the eighth area of the number of hierarchies 2 in which the affiliation name A and the upper affiliation are the same, the eighth area which is the current area as the name of the affiliation belonging to the search record. Is set in the created record buffer 6 (step P11). Next, the record data (affiliation name B, number of hierarchies 2, upper affiliation A, peer affiliation C, lower affiliation D, display x and y coordinates not shown) set in the created record buffer 6 are shown in (2) in FIG. In this way, the record memory 8 is set (step P12), and the next area is designated in step P13.
[0028]
When the process of returning to step P2 and checking the presence / absence of the name is repeatedly executed, since the name C is drawn in the eighth area, the created record buffer 6 is cleared (step P3). Set the affiliation name C, number of hierarchies 2, display x, y coordinates of the eighth area in the created record buffer 6 (step P4), and check whether a lower link line is drawn from the eighth area to the lower area. (Step P5). In FIG. 6, since the lower link line is drawn from the eighth area to the thirteenth area, the affiliation name E of the link destination is set in the created record buffer 6 as lower affiliation information (step P6).
[0029]
Further, it is checked whether or not the upper link line is drawn from the eighth area to the upper area (step P7). In FIG. 6, since the upper link line is drawn from the eighth area to the upper second area, The name A of the link destination area is set in the created record buffer 6 as higher-level affiliation information (step P8). Then, a record having the same high-level affiliation and no record data set to the same affiliation yet is searched from the hierarchical memory of the drawing memory 5 (step P9), and the presence or absence of the record is determined (step P10).
[0030]
In FIG. 6, since the affiliation name with the same affiliation name A and the affiliation name A in the area to the right of the eighth area is not drawn, the record data set in the created record buffer 6 in step P12 is not drawn. (Affiliation name C, number of hierarchies 2, upper affiliation A, lower affiliation E, display x, y coordinates not shown) are set in the record memory 8 as shown in (3) in FIG. Is specified.
[0031]
When the process of checking the presence / absence of the name is repeated by returning to step P2, the created record buffer 6 is cleared because the name D is drawn in the eleventh area (step P3). The affiliation name D, the number of hierarchies 3 and the display x and y coordinates of the eleventh area are set in the created record buffer 6 (step P4), and it is checked whether or not the lower link line is drawn from the eleventh area to the lower area. (Step P5). In FIG. 6, since the lower link line is not drawn from the 11th area to the lower area, it is checked in step P7 whether or not the upper link line is drawn from the 11th area to the upper area.
[0032]
In FIG. 6, since the upper link line is drawn from the eleventh area to the upper sixth area, the name B of the link destination area is set in the created record buffer 6 as upper affiliation information (step P8). Then, a record having the same high-level affiliation and no record data set to the same affiliation yet is searched from the hierarchical memory of the drawing memory 5 (step P9), and the presence or absence of the record is determined (step P10).
[0033]
In FIG. 6, since the data of the number of hierarchies 3 having the same affiliation name B and higher affiliation as the eleventh area is not drawn, the record data (affiliation name) set in the created record buffer 6 in step P12 (D, number of hierarchies 3, upper affiliation B, display x, y coordinates not shown) are set in the record memory 8 as indicated by (4) in FIG. 9, and the next area is designated in step P13.
[0034]
When the process of returning to step P2 and checking the presence / absence of the name is repeated, the created record buffer 6 is cleared because the name E is drawn in the thirteenth area (step P3). The affiliation name E, the number of hierarchies 3, the display x and y coordinates of the 13th area are set in the created record buffer 6 (step P4), and it is checked whether or not a lower link line is drawn from the 13th area to the lower area. (Step P5). In FIG. 6, since the lower link line is not drawn from the thirteenth area to the lower area, it is checked in step P7 whether the upper link line is drawn from the thirteenth area to the upper area.
[0035]
In FIG. 6, since the upper link line is drawn from the thirteenth area to the upper eighth area, the name C of the link destination area is set in the created record buffer 6 as upper affiliation information (step P8). Then, a record having the same high-level affiliation and no record data set to the same affiliation yet is searched from the hierarchical memory of the drawing memory 5 (step P9), and the presence or absence of the record is determined (step P10).
[0036]
In FIG. 6, since the affiliation name of the hierarchy number 3 having the same affiliation name C and higher affiliation as in the thirteenth area is not drawn, the record data (affiliation) set in the created record buffer 6 in step P12 Name E, number of hierarchies 3, upper affiliation C, display x, y coordinates (not shown) are set in the record memory 8 as indicated by (5) in FIG. 9, and the next area is designated in step P13.
[0037]
If the process of checking the presence / absence of the name is repeated by returning to step P2, the name is not drawn in the 13th area shift, so the end of the memory area of the drawing memory 5 is confirmed in step P14 and the main affiliation is confirmed. The record setting process ends. Next, the affiliation record setting unit 7 executes the affiliation code setting process for each record data stored in the record memory 8 in the affiliation record setting process (step S4). This affiliation code setting process will be described based on the flowchart shown in FIG.
[0038]
First, the hierarchical code memory 9 is reset (step Q1), and the first record among the record data stored in the record memory 8, that is, the record (1) shown in FIG. 9 is designated (step Q2). The number of hierarchies 1 of the designated record is acquired (step Q3), and it is determined whether or not “0” is set in the code memory 9 corresponding to the hierarchy number 1 (step Q4). At this stage, since the code memory 9 for each layer with the number of layers 1 is “0”, the value of the upper layer is copied to the memory area (step Q5), and there is no layer higher than the number of layers 1 at this time. It remains “0”.
[0039]
Next, the interval value “10000” corresponding to the layer number 1 is added from the rule table 10 shown in FIG. 4 to the layer-level code memory 9 corresponding to the layer number 1 (0 + 10000) (step Q6), and the addition result Is set in the record memory 8 as the affiliation code of the designated record (step Q7). As a result, “10000” is set in the affiliation code column of the record with affiliation name A as shown in (1) of FIG. Next, it is checked whether or not the lower order affiliation is set in the designated record (step Q8). In FIG. 9, since B is set as the subordinate affiliation, the record of (2) in the figure with the subordinate affiliation B as the affiliation name is designated (step Q9), and the process returns to step Q3, and the number of hierarchies of the designated record 2 is acquired.
[0040]
Then, it is determined whether or not “0” is set in the layer-specific code memory 9 corresponding to the number of layers 2 (step Q4). At this stage, since the code memory 9 with the number of hierarchies 2 is “0”, the value of the upper hierarchy 1 is copied to the memory area (step Q5). At this time, the number of hierarchies 1 is set first. The value “10000” is copied to the memory area with the hierarchy number 2.
[0041]
Next, the interval value “1000” corresponding to the number of layers 2 is added from the rule table 10 shown in FIG. 4 to the layer-specific code memory 9 corresponding to the number of layers 2 (1000 + 10000) (step Q6), and the addition result Is set in the record memory 8 as the affiliation code of the designated record (step Q7). As a result, as shown in (2) in FIG. 11, “11000” is set in the affiliation code column of the record of affiliation name B.
[0042]
Next, it is checked whether or not the lower order affiliation is set in the designated record (step Q8). In FIG. 9, since D is set as the subordinate affiliation, the record of (4) in the figure with the subordinate affiliation D as the affiliation name is designated (step Q9), and the process returns to step Q3, and the number of hierarchies of the designated record Get 3.
[0043]
Then, it is determined whether or not “0” is set in the layer-specific code memory 9 corresponding to the number of layers 3 (step Q4). At this stage, since the code memory 9 with the number of hierarchies 3 is “0”, the value of the upper hierarchy 2 is copied to the memory area (step Q5). At this time, the number of hierarchies 2 is set first. The value “11000” is copied to the memory area of the number of hierarchies 3.
[0044]
Next, the interval value “100” corresponding to the number of layers 3 is added from the rule table 10 shown in FIG. 4 to the layer-specific code memory 9 corresponding to the number of layers 3 (100 + 11000) (step Q6), and the addition result Is set in the record memory 8 as the affiliation code of the designated record (step Q7). As a result, as shown in (3) in FIG. 11, “11100” is set in the affiliation code column of the record of affiliation name B. Next, it is checked whether or not the lower order affiliation is set in the designated record (step Q8). In FIG. 9, since no data is set in the subordinate affiliation of affiliation D, it is checked in step Q10 whether the peer affiliation is set. In FIG. 9, since the data is not set in the affiliation D of the affiliation D, the content “11100” of the code memory 9 classified by hierarchy corresponding to the number of hierarchies 3 is reset (step Q12).
[0045]
Next, the presence or absence of an unspecified record is checked (step Q13). Since the record (3) is not specified in FIG. 9, the record (3) is specified (step Q14), and the process returns to step Q3. Get the number of hierarchies 2 of the specified record.
[0046]
Then, it is determined whether or not “0” is set in the layer-specific code memory 9 corresponding to the number of layers 2 (step Q4). Since “11000” is set in the corresponding memory area by the code setting process for the record {circle over (2)}, the rule shown in FIG. 4 is stored in the hierarchical code memory 9 corresponding to the number of hierarchies 2 in step Q6. The interval value “1000” corresponding to the number of hierarchies 2 is added from the table 10 (1000 + 11000) (step Q6), and the addition result is set in the record memory 8 as the belonging code of the designated record (step Q7). As a result, as shown in (4) in FIG. 11, “12000” is set in the affiliation code column of the record of affiliation name C.
[0047]
Next, it is checked whether or not the subordinate affiliation is set in the designated record (step Q8). In FIG. 9, since E is set as the subordinate affiliation of affiliation C, the record of (5) in the figure having the subordinate affiliation E as the affiliation name is designated (step Q9), and the process returns to step Q3 and designated. Acquires the record hierarchy number 3.
[0048]
Then, it is determined whether or not “0” is set in the layer-specific code memory 9 corresponding to the number of layers 3 (step Q4). Since “0” is set in the corresponding memory area by the reset process, the value “12000” of the upper hierarchy is copied to the memory area of hierarchy 3 (step Q5). The interval value “100” corresponding to the number of hierarchies 3 is added from the rule table 10 shown in FIG. 4 to the hierarchical code memory 9 corresponding to (100 + 12000) (step Q6), and the addition result is assigned to the belonging record of the designated record Is set in the record memory 8 (step Q7). As a result, “12100” is set in the affiliation code column of the record with the affiliation name E, as indicated by (5) in FIG.
[0049]
Next, it is checked whether or not the lower order affiliation is set in the designated record (step Q8). In FIG. 9, since no data is set in the subordinate affiliation of affiliation E, it is checked in step Q10 whether the peer affiliation is set. In FIG. 9, since no data is set for the affiliation E of the affiliation E, the content “12100” of the layer-specific code memory 9 corresponding to the number of layers 3 is reset (step Q12).
[0050]
Next, the presence / absence of unspecified records is checked (step Q13). Since all record designations are completed and there are no undesignated records, the affiliation code designation process is terminated. At the end of the above-mentioned affiliation code setting process, the data stored in the layer-specific code memory 9 is “10000” for the number of layers 1 and “12000” for the number of layers 2 as shown in FIG.
[0051]
Returning to step S5 in FIG. 5 again, the upper, lower, and belonging names of each record set in the record memory 8 are replaced with code data, and stored in the belonging record file 11 (step S6). Finish the creation process.
[0052]
As described above, in the computer system 1 of the present embodiment, it is possible to automatically generate affiliation records for each name block included in the hierarchy diagram simply by drawing the hierarchy diagram, and each affiliation thereof. An identification code based on the analysis result of the hierarchical connection relationship for each name block can be automatically assigned to the record.
[0053]
As a result, when an organization is established or changed from an organization chart with a hierarchical structure, generation of a hierarchy record for each component of the changed organization chart and assignment of an identification code value to each component can be automated. In addition, it is possible to prevent data input errors due to manual input and reduce the work burden on the user.
[0054]
【The invention's effect】
According to the present invention, based on the displayed hierarchical diagram, the hierarchical connection relation information between the constituent elements of the hierarchical diagram and other constituent elements is analyzed, and a record is created for each constituent element. Since the affiliation code can be generated and assigned to each record, the affiliation code corresponding to the hierarchy chart can be automatically generated, and even if it is a complex organization chart, the affiliation code is entered manually. Compared to the above, not only can an input error be prevented, but an automatic affiliation code can be generated using the displayed hierarchy diagram.
[Brief description of the drawings]
FIG. 1 is a block diagram of a main part of a computer system to which the present invention is applied.
FIG. 2 is a diagram showing a memory configuration of the drawing memory in FIG. 1;
3 is a diagram showing a memory configuration in the hierarchical code memory of FIG. 1; FIG.
4 is a diagram showing an example of data set in the rule table of FIG. 1. FIG.
FIG. 5 is a flowchart of belonging file creation processing executed by the CPU of FIG. 1;
6 is a diagram showing an example of a hierarchy diagram drawn in the drawing memory of FIG. 1. FIG.
7 is a flowchart of affiliation record setting processing executed by the affiliation record creation unit 7 of FIG.
8 is a diagram showing a data configuration of record data set by the belonging record setting process of FIG.
9 is a diagram showing record data set for each name drawing area in FIG. 6 by the belonging record setting process in FIG. 7;
10 is a flowchart of an affiliate code setting process executed by the affiliate record creation unit 7 in FIG. 1;
11 is a diagram showing code data set for each name drawing area in FIG. 6 by the belonging code setting process in FIG. 10;
[Explanation of symbols]
1 Computer system
2 CPU
3 Input section
4 Hierarchy drawing editor
5 Drawing memory
6 Created record buffer
7 Affiliation record creation department
8 Record memory
9 Hierarchical code memory
10 Rule table
11 Affiliated record files
12 Display section
13 Bus

Claims (2)

複数の構成要素を階層接続構造で接続した階層図を表示する表示手段と、
前記表示された階層図の構成要素と他の構成要素との階層の接続関係情報を解析し、各構成要素毎に構成要素が位置する階層及び下位、同位の所属情報からなるレコードを作成するレコード作成手段と、
階層に応じた設定値を予め記憶する階層記憶手段と、
前記レコード作成手段で作成された前記各構成要素に対応したレコードを順次読出すと共に、この読み出したレコード内の階層に応じた設定値を前記階層記憶手段より読み出し、各レコード毎に、前記設定値を基に下位の所属情報、同位の所属情報で夫々異なる所属コードを生成するコード生成手段と、
このコード生成手段により生成された所属コードを前記レコードに付与するレコード生成手段と
を具備したことを特徴とする階層図処理装置。
Display means for displaying a hierarchical diagram in which a plurality of components are connected in a hierarchical connection structure;
A record that analyzes the hierarchy connection relation information between the constituent elements of the displayed hierarchy diagram and other constituent elements, and creates a record composed of the hierarchy in which the constituent element is located, the subordinate, and the peer affiliation information for each constituent element Creating means;
Tier storage means for preliminarily storing setting values corresponding to tiers;
The records corresponding to the respective constituent elements created by the record creating means are sequentially read out, and the set values corresponding to the hierarchies in the read records are read from the hierarchical storage means, and the set values are set for each record. Code generation means for generating different affiliation codes for lower affiliation information and peer affiliation information based on
A hierarchy diagram processing apparatus comprising: record generation means for assigning the affiliation code generated by the code generation means to the record.
前記コード生成手段は、階層別にコードを一時的に記憶するコード記憶手段を備え、前記読み出した設定値を前記コード記憶手段へコードとして書き込み、前記読み出したレコードの階層に応じて前記コード記憶手段内のコードを更新して夫々異なる所属コードとして生成すること
を特徴とする請求項1に記載の階層図処理装置。
The code generation means includes code storage means for temporarily storing codes for each hierarchy, writes the read setting value as a code to the code storage means, and stores the code in the code storage means according to the read record hierarchy 2. The hierarchical diagram processing apparatus according to claim 1, wherein the codes are updated and generated as different affiliation codes.
JP18626895A 1995-06-28 1995-06-28 Hierarchical chart processing device Expired - Fee Related JP3671461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18626895A JP3671461B2 (en) 1995-06-28 1995-06-28 Hierarchical chart processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18626895A JP3671461B2 (en) 1995-06-28 1995-06-28 Hierarchical chart processing device

Publications (2)

Publication Number Publication Date
JPH0916684A JPH0916684A (en) 1997-01-17
JP3671461B2 true JP3671461B2 (en) 2005-07-13

Family

ID=16185324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18626895A Expired - Fee Related JP3671461B2 (en) 1995-06-28 1995-06-28 Hierarchical chart processing device

Country Status (1)

Country Link
JP (1) JP3671461B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668150A (en) * 1992-06-02 1994-03-11 Nec Corp Code system collecting value generated at end node of tree structure to its host node at high speed and algorithm
JPH0721269A (en) * 1993-06-18 1995-01-24 Hitachi Ltd Personnel change simulation system
JP2857968B2 (en) * 1993-07-12 1999-02-17 カシオ計算機株式会社 Organization chart creation apparatus and method
JPH07182411A (en) * 1993-12-24 1995-07-21 Seiko Epson Corp Department hierarchy editing method and device therefor

Also Published As

Publication number Publication date
JPH0916684A (en) 1997-01-17

Similar Documents

Publication Publication Date Title
US5287449A (en) Automatic program generation method with a visual data structure display
US4742467A (en) Automated programming system for machine creation of applications program source code from non-procedural terminal input
US6662237B1 (en) System for documenting application interfaces and their mapping relationship
US5956732A (en) Software system management device for maintaining revisions of a source code
US5781905A (en) Program generating method combining data item part with database manipulation part
JP3671461B2 (en) Hierarchical chart processing device
JPH05313969A (en) File list display method
JPH06335165A (en) Method and apparatus for constituting data base of power system monitoring control system, method and apparatus for managing data base of power system monitoring control system and power system monitoring control system
JPH0119170B2 (en)
JP2002259503A (en) System of production control, method thereof, manufacturing method for semiconductor device using the method, recording medium recorded information thereof, program thereof and computer readable recording medium recorded the program
EP0315172A2 (en) Automatic program generation method with a visual data structure display
JP3395347B2 (en) Document processing device
JP3736467B2 (en) Cable management system and management method
JP2001014197A (en) Method for registering data
JPH1153391A (en) Database access method
JPH0667871A (en) Automatic program updating system
JPH0588867A (en) Software constitution managing system
JPH08315066A (en) Processing system for preparing answer card defining object
JPS5858673A (en) Supporting system for generating hierarchical structure drawing
JPH05158670A (en) Screen type program editor
JPH0454635A (en) Screen specification defining method and business processing method
JPH08180084A (en) File managing device
JP4576872B2 (en) Information processing apparatus and program
JP2778118B2 (en) Hierarchical menu screen creation method
JP3722854B2 (en) Data editing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041020

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120428

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120428

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130428

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130428

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees