JP2005190178A - Data maintenance apparatus, data maintenance method and data maintenance program - Google Patents

Data maintenance apparatus, data maintenance method and data maintenance program Download PDF

Info

Publication number
JP2005190178A
JP2005190178A JP2003430835A JP2003430835A JP2005190178A JP 2005190178 A JP2005190178 A JP 2005190178A JP 2003430835 A JP2003430835 A JP 2003430835A JP 2003430835 A JP2003430835 A JP 2003430835A JP 2005190178 A JP2005190178 A JP 2005190178A
Authority
JP
Japan
Prior art keywords
maintenance
data
screen
database
creation processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003430835A
Other languages
Japanese (ja)
Other versions
JP2005190178A5 (en
Inventor
Naonori Sakata
直典 佐方
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.)
ARKSTAR CORP
Original Assignee
ARKSTAR CORP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ARKSTAR CORP filed Critical ARKSTAR CORP
Priority to JP2003430835A priority Critical patent/JP2005190178A/en
Publication of JP2005190178A publication Critical patent/JP2005190178A/en
Publication of JP2005190178A5 publication Critical patent/JP2005190178A5/ja
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To automatically create a maintenance screen capable of displaying arbitrary substitute information easy for an operator to understand, without independent programming for every system. <P>SOLUTION: A data maintenance apparatus comprises an input operation part 11 with which an operator makes an input operation to a database 10 to be maintained, a screen creation processing part 12 for creating a maintenance screen for data operation during maintenance according to information input via the input operation part 11, and a display part 13 for displaying various information including the maintenance screen created by the screen creation processing part 12. The screen creation processing part 12 creates, according to data stored in the database 10, the maintenance screen on which the value of each item constituting the data is not a code but arbitrary substitute information easy for the operator to understand, and displays it on the display part 13. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、リレーショナルデータベースに格納されている各種データのメンテナンスを行うデータメンテナンス装置、データメンテナンス方法、及びデータメンテナンスプログラムに関する。   The present invention relates to a data maintenance apparatus, a data maintenance method, and a data maintenance program that perform maintenance of various data stored in a relational database.

近年、コンピュータ装置等の情報処理装置の普及及び高度化にともない、情報処理装置を利用した各種情報処理システムが開発されている。このような各種情報処理システムの1つとしては、例えばいわゆるRDBMS(Relational DataBase Management System)等のリレーショナルデータモデルによって管理されるテーブル形式で表現された階層構造を有するデータに対して、各種演算等の所定の加工処理を施し、出力データを得るものがある。特に、リレーショナルデータベースは、情報処理装置内で処理されるデータの管理のために多岐にわたって用いられている。   2. Description of the Related Art In recent years, various information processing systems using information processing apparatuses have been developed with the spread and advancement of information processing apparatuses such as computer devices. As one of such various information processing systems, for example, various operations are performed on data having a hierarchical structure expressed in a table format managed by a relational data model such as a so-called RDBMS (Relational DataBase Management System). Some perform predetermined processing to obtain output data. In particular, relational databases are widely used for managing data processed in an information processing apparatus.

かかるリレーショナルデータベースにおいては、各データが関係を記述した2次元のテーブルを形成する。これらテーブルは、例えば所定の管理対象と当該管理対象に対して一義的に割り当てられるデータとに関連し、当該管理対象の項目を列方向に列挙し、これら各項目の値を行方向に記述することによって形成される。このようなテーブルは、リレーショナルデータベースにおけるユーザ・インターフェースとして用いられる。さらに、リレーショナルデータベースにおいては、各テーブルが管理対象そのもののみならず、他の管理対象へのポインタを記述することにより、複数の管理対象間の関係も定義することができる。   In such a relational database, each data forms a two-dimensional table describing the relationship. These tables relate to, for example, a predetermined management target and data uniquely assigned to the management target, list the items of the management target in the column direction, and describe the values of these items in the row direction. Formed by. Such a table is used as a user interface in a relational database. Further, in a relational database, each table can define not only a management target itself but also a pointer to another management target, thereby defining a relationship between a plurality of management targets.

ところで、この種のデータベースシステムにおいては、システム開発上、必然的に新たなデータの登録、更新、及び/又は削除といった各種メンテナンスを行う必要が発生する。このようなメンテナンス作業に関する技術としては、例えば特許文献1乃至特許文献5等が提案されている。   By the way, in this type of database system, it is inevitably necessary to perform various maintenance such as registration, update, and / or deletion of new data in system development. For example, Patent Documents 1 to 5 have been proposed as techniques related to such maintenance work.

特開平10−214211号公報JP-A-10-214111 特開平10−214212号公報JP-A-10-214212 特開平11−232158号公報Japanese Patent Laid-Open No. 11-232158 特開2000−66932号公報JP 2000-66932 A 特表2003−520363号公報Japanese translation of PCT publication No. 2003-520363

具体的には、特許文献1には、種々のデータテーブルを記憶してなるデータベースを搭載したデータベースシステムが開示されている。特に、このデータベースシステムは、データベース上のデータテーブル別に作成した複数のメンテナンススクリプトを記憶するメンテナンススクリプトファイルと、このメンテナンススクリプトファイルに記憶した各メンテナンススクリプト毎に最終実行時データを記憶するスクリプト管理ファイルと、データベース上のデータテーブルを再編成する処理の制限時間を設定する制限時間設定手段と、スクリプト管理ファイルに記憶した最終実行時データが古い順にメンテナンススクリプトの実行順序を決定する実行順序決定手段と、この実行順序決定手段によって決定した順序にしたがって制限時間設定手段によって設定された制限時間の範囲内でメンテナンススクリプトファイルの該当するメンテナンススクリプトを実行してデータテーブルの再編成を行う再編成処理手段と、この再編成処理手段によって実行し終えたメンテナンススクリプトのスクリプト管理ファイルにおける最終実行時データを更新する最終実行時更新手段とを備えたものである。これにより、このデータベースシステムにおいては、再編成実行対象のデータテーブルに関して順次自動的に再編成を行うことができるとともに、制限時間内に全ての再編成実行対象のデータテーブルの再編成を完了しなかった場合には、自動的に次回はその続きから再編成を行うことができ、その結果、再編成に要する手間の削減及び処理効率の向上を図ることができるとしている。   Specifically, Patent Document 1 discloses a database system equipped with a database that stores various data tables. In particular, this database system includes a maintenance script file that stores a plurality of maintenance scripts created for each data table on the database, and a script management file that stores final runtime data for each maintenance script stored in the maintenance script file. A time limit setting means for setting a time limit for processing to reorganize the data table on the database; an execution order determining means for determining the execution order of the maintenance scripts in order of the last execution time data stored in the script management file; In accordance with the order determined by the execution order determining means, the corresponding maintenance script of the maintenance script file is executed within the time limit set by the time limit setting means to execute the data table. A reorganization processing means for reorganization, in which a final runtime updating means for updating the final runtime data in the script management file maintenance script has finished running This reorganization means. As a result, in this database system, reorganization can be automatically and sequentially performed on the data tables to be reorganized, and all the data tables to be reorganized cannot be reorganized within the time limit. If this happens, it is possible to automatically perform reorganization from the next time onward, and as a result, it is possible to reduce the effort required for reorganization and improve the processing efficiency.

また、特許文献2には、オンライン運用するコンピュータシステムの設備データを格納し、このデータをシステム運用に供するとともに設備の新設/変更/撤去に応じてデータメンテナンスを行うデータベースシステムが開示されている。特に、このデータベースシステムは、データを格納するデータレコードと、当該レコードの使用状態を管理するレコード使用フラグと、メンテナンス種別を管理するメンテナンス種別と、変更内容を格納する別レコードの位置を管理する変更ポインタとで構成するテーブルをデータ格納の単位要素とするデータベースと、データベースアクセスルーチンとを備えるものである。そして、データベースアクセスルーチンは、設備新設のデータメンテナンス時には、レコード使用フラグで空きレコードを探して当該レコードを「使用」にし、メンテナンス種別を「新設」にして新設内容をデータレコードに格納する。また、データベースアクセスルーチンは、設備撤去のデータメンテナンス時には、メンテナンス種別を「撤去」とする。さらに、データベースアクセスルーチンは、設備変更のデータメンテナンス時には、レコード使用フラグで空きレコードを探して当該空きレコードを「使用」にし、当該空きレコードに変更内容を書き込み、元のレコードの変更ポインタに空きレコードの位置を書き込み、メンテナンス種別を「変更」にする。そして、データベースアクセスルーチンは、データメンテナンス中には、設備新設箇所のデータレコードに対する運用プロセスからのアクセスを拒否し、設備撤去箇所と設備変更箇所のデータレコードに対する運用プロセスからのアクセスを要求どおりアクセスする。これにより、このデータベースシステムにおいては、招来の像分を見越した空きエリアを利用してデータメンテナンスを行うため、データメンテナンス用の余分なデータエリアが不要となり、使用効率を高めることができるとしている。   Further, Patent Document 2 discloses a database system that stores facility data of a computer system that is operated online, uses this data for system operation, and performs data maintenance in response to the establishment / change / removal of the facility. In particular, this database system includes a data record for storing data, a record use flag for managing the use state of the record, a maintenance type for managing the maintenance type, and a change for managing the position of another record for storing the change contents. A database having a table constituted by pointers as a data storage unit element and a database access routine are provided. Then, the database access routine searches for an empty record with the record use flag at the time of data maintenance of the new equipment, sets the record to “use”, sets the maintenance type to “new”, and stores the new contents in the data record. The database access routine sets the maintenance type to “removal” at the time of data maintenance for facility removal. Furthermore, the database access routine searches for an empty record with the record use flag at the time of data maintenance for equipment change, sets the empty record to “use”, writes the change contents into the empty record, and uses the empty record in the change pointer of the original record. Is written and the maintenance type is changed. During the data maintenance, the database access routine rejects access from the operation process to the data record of the facility newly installed location, and accesses from the operation process to the data record of the facility removal location and the facility change location as requested. . As a result, in this database system, since data maintenance is performed using an empty area in anticipation of the invited image, an extra data area for data maintenance becomes unnecessary, and usage efficiency can be improved.

さらに、特許文献3には、データベースを使用した通常業務処理が24時間連続して行われるシステムに搭載され、その通常業務処理を停止することなくデータベースの保守管理を行うデータベース保守管理システムが開示されている。特に、このデータベース保守管理システムは、他のシステムから送られてきた更新用のマスタデータを受信するマスタデータ受信手段と、このマスタデータ受信手段がマスタデータを受信した時点でそのマスタデータをマスタデータベースに自動的に反映させるマスタ管理手段とを有し、マスタメンテナンス機能処理を自動的に行うものである。これにより、このデータベース保守管理システムにおいては、更新用マスタデータの内容を人手を介することなくマスタデータベースに自動的に反映することができるとしている。   Further, Patent Document 3 discloses a database maintenance management system that is installed in a system in which normal business processing using a database is continuously performed for 24 hours, and performs maintenance management of the database without stopping the normal business processing. ing. In particular, the database maintenance management system includes a master data receiving unit that receives master data for update sent from another system, and the master data is received by the master database when the master data receiving unit receives the master data. And a master management means for automatically reflecting the master maintenance function processing. Thus, in this database maintenance management system, the contents of the update master data can be automatically reflected in the master database without manual intervention.

さらにまた、特許文献4には、マスタ情報のメンテナンス方法が開示されている。特に、このマスタ情報のメンテナンス方法は、所定のマスタ情報をテキスト形式のデータに変換する工程と、マスタ情報に付加する付加情報とこの付加情報を特定するキー情報とをスプレッドシートに入力する工程と、テキスト形式のデータとスプレッドシートに入力された付加情報とを結合し、新たなデータベースを生成する工程とを有するものである。これにより、このマスタ情報のメンテナンス方法は、正のマスタ情報に存在しない個別項目を効率的且つ確実にバッチ的に反映することができるとしている。   Furthermore, Patent Document 4 discloses a maintenance method for master information. In particular, the master information maintenance method includes a step of converting predetermined master information into text data, a step of inputting additional information to be added to the master information, and key information for specifying the additional information into a spreadsheet. And combining the text data and the additional information input to the spreadsheet to generate a new database. Thereby, the maintenance method of this master information can reflect the individual item which does not exist in positive master information efficiently and reliably in batch.

また、特許文献5には、中央データベースを備えた中央システムとローカルデータベースを備えた複数のノードシステムとを有するオフライン分散型データベースネットワークシステムにおけるデータメンテナンス方法が開示されている。特に、このデータメンテナンス方法において、ローカルデータベースは、少なくとも部分的に異なる中央データベースのデータの部分集合を含んでおり、データベースネットワークシステムのデータベースに記憶されているデータに対する変更情報を複数のノードシステムで登録し、この変更情報を、オンラインコネクションが形成されている場合には、複数の異なるタイプで構造化されたIDキーを含むリプリケーションオブジェクトとしてノードシステムから中央システムへ伝送するか、又は中央システムからノードシステムへ伝送し、オンラインコネクションが存在しない場合には、リプリケーションオブジェクトを後の伝送のために出力列内で調整し、変更情報をともなうリプリケーションオブジェクト中央システム内でリプリケーションアルゴリズムによって少なくとも1つのルックアップテーブルを介して伝達相手先のノードシステムに宛先として割り当て、少なくとも1つのルックアップテーブルを、変更情報を考慮してリアライメントアルゴリズムによって更新するものである。   Patent Document 5 discloses a data maintenance method in an offline distributed database network system having a central system having a central database and a plurality of node systems having a local database. In particular, in this data maintenance method, the local database contains at least partly different subsets of central database data, and the change information for the data stored in the database of the database network system is registered in multiple node systems. When the online connection is formed, the change information is transmitted from the node system to the central system as a replication object including ID keys structured in a plurality of different types, or from the central system to the node system. If there is no online connection, the replication object is adjusted in the output queue for later transmission and replicated in the central system of the replication object with the change information. Assigned to node system transmission destination via at least one look-up table as a destination by tio down algorithm, at least one look-up table, it is to update the realignment algorithm taking into account the modification information.

ところで、データベースシステムにおいては、メンテナンスを行う際には、データを操作するために所定のメンテナンス画面を表示させることが必要となる。しかしながら、かかるメンテナンス画面は、個々のシステムによってデータが異なることから、当該システムに応じた独自のプログラミングによって作成する必要がある。具体的には、1つのメンテナンス画面を作成するだけで1か月以上かかるものもあり、そのテスト等を行うために、さらにこれ以上の時間を要することになり、非常にコストと手間を要するものであった。   By the way, in the database system, when performing maintenance, it is necessary to display a predetermined maintenance screen in order to operate data. However, since the data differs depending on the individual system, it is necessary to create such a maintenance screen by unique programming corresponding to the system. Specifically, there are things that take more than a month just by creating one maintenance screen, and it takes more time to perform the test, etc., which is very costly and troublesome Met.

また、データベースシステムにおいては、通常、各テーブルを構成する項目の値が便宜的につけた一連の数字や記号等からなるコードで表現されることが多い。ここで、例えばマイクロソフト(登録商標)社が提供するアクセス(Access)等の汎用データベースソフトウェアには、データを表示させる機能が付加されていることから、メンテナンスを行う際のメンテナンス画面を作成することもできる。しかしながら、この種の汎用ソフトウェアは、単純にデータをそのまま表示させるものであることから、値がコードで表現されていることに応じて、メンテナンス画面にもコードをそのまま表示することになる。したがって、この種の汎用ソフトウェアは、コードと実際の名称とを別途対応付ける必要があり、現実には使用に耐え得るものではなかった。   Further, in a database system, the values of items constituting each table are usually expressed by codes consisting of a series of numbers, symbols, etc. for convenience. Here, for example, a general-purpose database software such as Access provided by Microsoft (registered trademark) has a function to display data, so a maintenance screen for maintenance can be created. it can. However, since this type of general-purpose software simply displays data as it is, the code is also displayed as it is on the maintenance screen in response to the value being expressed by the code. Therefore, this type of general-purpose software needs to associate a code with an actual name separately, and in reality, it cannot be used.

このように、従来のデータベースにおいては、メンテナンスを行うためのメンテナンス画面を個々に作成する必要があることから、システム設計者やシステム管理者、及びシステムを操作するオペレータの負荷が著しく増大していた。そして、データベースシステムにおいては、このような問題を要因として、開発コスト及び保守コストの増加、並びに品質の低下が顕著になりつつあることが懸念されているのが現状である。   As described above, in the conventional database, since it is necessary to individually create maintenance screens for performing maintenance, the load on the system designer, the system administrator, and the operator who operates the system has increased remarkably. . In the database system, due to such a problem, there is a concern that an increase in development cost and maintenance cost and a decrease in quality are becoming remarkable.

本発明は、このような実情に鑑みてなされたものであり、コードではなくオペレータが理解容易な任意の情報に置換させて表示させることができるメンテナンス画面を、システム毎に個々にプログラミングすることなく自動的に作成することができるデータメンテナンス装置、データメンテナンス方法、及びデータメンテナンスプログラムを提供することを目的とする。   The present invention has been made in view of such a situation, and it is possible to replace a maintenance screen that can be displayed with any information that is easy for the operator to understand instead of a code without programming each system individually. An object of the present invention is to provide a data maintenance device, a data maintenance method, and a data maintenance program that can be automatically created.

上述した目的を達成する本発明にかかるデータメンテナンス装置は、リレーショナルデータベースに格納されている各種データのメンテナンスを行うデータメンテナンス装置であって、メンテナンスの対象となるデータベースに対してオペレータが入力操作する入力操作手段と、上記入力操作手段を介して入力された情報に基づいて、メンテナンスの際にデータを操作するためのメンテナンス画面を作成する画面作成処理手段と、上記画面作成処理手段によって作成されたメンテナンス画面を含む各種情報を表示する表示手段とを備え、上記画面作成処理手段は、上記データベースに格納されているデータに基づいて、データを構成する各項目の値として、コードではなく上記オペレータが理解容易な任意の情報に置換した上記メンテナンス画面を作成し、上記表示手段に表示させることを特徴としている。   A data maintenance device according to the present invention that achieves the above-described object is a data maintenance device that performs maintenance of various data stored in a relational database, and is an input that is input by an operator to a database to be maintained. Operation means, screen creation processing means for creating a maintenance screen for operating data during maintenance based on information input via the input operation means, and maintenance created by the screen creation processing means Display means for displaying various information including a screen, and the screen creation processing means understands the value of each item constituting the data as the value of each item constituting the data, not the code, based on the data stored in the database. The above maintenance replaced with easy arbitrary information Create a face, it is characterized by displaying on the display means.

このような本発明にかかるデータメンテナンス装置は、メンテナンスの際にデータを操作するために表示する所定のメンテナンス画面を、システムの違いにかかわらず、データに基づいて自動的に画面作成処理手段によって作成するとともに、各項目の値として、コードではなくオペレータが理解容易な任意の情報に置換させて表示手段に表示させる。   In such a data maintenance device according to the present invention, a predetermined maintenance screen displayed for operating data during maintenance is automatically created by screen creation processing means based on the data regardless of the difference in the system. At the same time, the value of each item is replaced with arbitrary information that is easy for the operator to understand instead of the code, and is displayed on the display means.

具体的には、上記画面作成処理手段は、少なくとも上記データベースに格納されているテーブルを構成する各項目の書式に関する情報を記述したシステムカタログに基づいて、上記メンテナンス画面を作成する。   Specifically, the screen creation processing means creates the maintenance screen based on at least a system catalog describing information regarding the format of each item constituting the table stored in the database.

また、本発明にかかるデータメンテナンス装置は、システムカタログを用いない場合であっても上記メンテナンス画面を作成することができる。この場合、上記画面作成処理手段は、少なくとも上記データベースに格納されているテーブルを構成する各項目の書式に関する情報を記述したユーザテーブルに基づいて、上記メンテナンス画面を作成する。このユーザテーブルは、予め作成されたものである。これにより、本発明にかかるデータメンテナンス装置は、システムカタログを備えないデータベースであっても、適切にメンテナンス画面を作成することができる。   The data maintenance apparatus according to the present invention can create the maintenance screen even when the system catalog is not used. In this case, the screen creation processing means creates the maintenance screen based on at least a user table describing information on the format of each item constituting the table stored in the database. This user table is created in advance. Thereby, even if the data maintenance apparatus concerning this invention is a database which is not provided with a system catalog, it can produce a maintenance screen appropriately.

また、本発明にかかるデータメンテナンス装置は、メンテナンスを行うのに先だって、メンテナンスの内容を定義する環境設定を行う。   In addition, the data maintenance apparatus according to the present invention performs environment setting that defines the content of maintenance prior to performing maintenance.

具体的には、上記画面作成処理手段は、上記オペレータが接続可能な全てのデータベースをリストアップし、上記表示手段に選択可能に表示させ、上記入力操作手段を介して選択されたメンテナンスを行うべく接続したいデータベースに格納されている全てのテーブルの一覧を読み出し、上記表示手段に選択可能に表示させる。このとき、上記画面作成処理手段は、選択されたデータベースのシステムカタログ又はユーザテーブルを参照し、これに基づいて、テーブルに関する情報を取得する。   Specifically, the screen creation processing means lists all databases connectable to the operator, displays them in a selectable manner on the display means, and performs maintenance selected via the input operation means. A list of all tables stored in the database to be connected is read and displayed on the display means so as to be selectable. At this time, the screen creation processing means refers to the system catalog or user table of the selected database, and acquires information about the table based on this.

続いて、上記画面作成処理手段は、上記入力操作手段を介して選択されたテーブルを構成する全ての項目の一覧を読み出し、上記表示手段に表示させる。このとき、上記画面作成処理手段は、選択されたデータベースのシステムカタログ又はユーザテーブルを参照し、これに基づいて、選択されたテーブルを構成する全ての項目に関する情報を取得する。   Subsequently, the screen creation processing means reads a list of all items constituting the table selected via the input operation means, and displays the list on the display means. At this time, the screen creation processing unit refers to the system catalog or user table of the selected database, and acquires information on all items constituting the selected table based on the system catalog or user table.

そして、上記画面作成処理手段は、上記入力操作手段を介して入力選択された、少なくとも、現在設定しているメンテナンスの内容を定義したメンテナンスデータの名称、最終的に作成すべき上記メンテナンス画面における項目の表示順序、表示させるべき項目である表示項目、コードではなく任意の情報に置換させて表示させる項目である置換項目、項目の抽出条件、及び抽出条件を表す演算子に基づいて、当該メンテナンス画面を作成する。このとき、上記画面作成処理手段は、上記置換項目の設定にあたって、置換したい項目を有する対象テーブルと、置換先の候補としての全てのテーブルの一覧とを上記表示手段に表示させ、当該対象テーブルと選択された置換先のテーブルとの結合条件を、上記入力操作手段を介して入力させる。   Then, the screen creation processing means is input through the input operation means, at least the name of maintenance data defining the content of the maintenance currently set, and the items on the maintenance screen to be finally created The maintenance screen based on the display order of the items, the display items that are the items to be displayed, the replacement items that are the items to be displayed instead of the code instead of the code, the item extraction conditions, and the operator representing the extraction conditions Create At this time, in setting the replacement item, the screen creation processing unit causes the display unit to display a target table having an item to be replaced and a list of all the tables as replacement destination candidates. The join condition with the selected replacement destination table is input via the input operation means.

また、本発明にかかるデータメンテナンス装置は、親子関係を有するテーブルにも対応することができ、上記画面作成処理手段は、上記入力操作手段を介して入力選択された親子関係の定義に基づいて、当該メンテナンス画面を作成する。   Further, the data maintenance apparatus according to the present invention can also deal with a table having a parent-child relationship, and the screen creation processing means is based on the definition of the parent-child relationship selected through the input operation means. Create the maintenance screen.

さらに、上記画面作成処理手段は、メンテナンス対象として、全てのデータを表示させるか、任意の条件に合致したもののみを表示させるかを選択可能とする上記メンテナンス画面を作成することもできる。   Furthermore, the screen creation processing means can create the maintenance screen that allows selection of whether to display all data or only those that meet an arbitrary condition as a maintenance target.

また、上述した目的を達成する本発明にかかるデータメンテナンス方法は、リレーショナルデータベースに格納されている各種データのメンテナンスを行うデータメンテナンス方法であって、メンテナンスの対象となるデータベースに対して入力操作するオペレータによって入力された情報に基づいて、メンテナンスの際にデータを操作するためのメンテナンス画面を作成する画面作成処理工程と、上記画面作成処理工程にて作成されたメンテナンス画面を含む各種情報を表示手段に表示する表示工程とを備え、上記画面作成処理工程では、上記データベースに格納されているデータに基づいて、データを構成する各項目の値として、コードではなく上記オペレータが理解容易な任意の情報に置換した上記メンテナンス画面が作成されることを特徴としている。   A data maintenance method according to the present invention that achieves the above-described object is a data maintenance method for maintaining various data stored in a relational database, and is an operator who performs an input operation on a database to be maintained. Based on the information input by the screen, various information including a screen creation processing step for creating a maintenance screen for operating data during maintenance and the maintenance screen created in the screen creation processing step is displayed on the display means. In the screen creation processing step, based on the data stored in the database, the value of each item constituting the data is not a code but arbitrary information that is easily understood by the operator. The replaced maintenance screen is created It is characterized.

さらに、上述した目的を達成する本発明にかかるデータメンテナンスプログラムは、リレーショナルデータベースに格納されている各種データのメンテナンスを行うコンピュータ実行可能なデータメンテナンスプログラムであって、メンテナンスの対象となるデータベースに対して入力操作するオペレータによって入力された情報に基づいて、メンテナンスの際にデータを操作するためのメンテナンス画面を作成する画面作成処理と、上記画面作成処理にて作成されたメンテナンス画面を含む各種情報を表示手段に表示する表示処理とを備え、上記画面作成処理では、上記データベースに格納されているデータに基づいて、データを構成する各項目の値として、コードではなく上記オペレータが理解容易な任意の情報に置換した上記メンテナンス画面が作成されることを特徴としている。   Furthermore, a data maintenance program according to the present invention that achieves the above-described object is a computer-executable data maintenance program that performs maintenance of various data stored in a relational database, and is for a database to be maintained. Based on the information input by the operator who performs the input operation, a screen creation process for creating a maintenance screen for operating data during maintenance and various information including the maintenance screen created by the screen creation process are displayed. Display processing to be displayed on the means, and in the screen creation processing, based on the data stored in the database, as the value of each item constituting the data, not the code but any information that the operator can easily understand The above maintainer replaced with It is characterized in that the scan screen is created.

このような本発明にかかるデータメンテナンス方法、及びデータメンテナンスプログラムは、それぞれ、メンテナンスの際にデータを操作するために表示する所定のメンテナンス画面を、システムの違いにかかわらず、データに基づいて自動的に作成するとともに、各項目の値として、コードではなくオペレータが理解容易な任意の情報に置換させて表示手段に表示させる。   Each of the data maintenance method and the data maintenance program according to the present invention automatically displays a predetermined maintenance screen displayed for operating data during maintenance based on the data regardless of the system. In addition, the value of each item is replaced with arbitrary information that is easy for the operator to understand instead of the code, and is displayed on the display means.

本発明は、オペレータの嗜好に応じてカスタマイズされたメンテナンス画面を容易に作成することができることから、従来のように、システム毎に個々にプログラミングする必要性を一掃することができ、システム設計者やシステム管理者、及びシステムを操作するオペレータの負荷を著しく軽減するとともに、開発コスト及び保守コストも低減し、品質の向上を図ることも可能となる。   Since the present invention can easily create a maintenance screen customized according to the preference of the operator, the need for individual programming for each system can be eliminated as in the prior art. In addition to significantly reducing the load on the system administrator and the operator operating the system, it is also possible to reduce development and maintenance costs and improve quality.

以下、本発明を適用した具体的な実施の形態について図面を参照しながら詳細に説明する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings.

この実施の形態は、リレーショナルデータベースに格納されている各種データのメンテナンスを行うデータメンテナンス装置である。このデータメンテナンス装置は、メンテナンスの際にデータを操作するために表示する所定のメンテナンス画面を、システムの違いにかかわらず、データに基づいて自動的に作成するとともに、各項目の値として、コードではなくオペレータが理解容易な任意の情報に置換させて表示させることができるものである。   This embodiment is a data maintenance apparatus that performs maintenance of various data stored in a relational database. This data maintenance device automatically creates a predetermined maintenance screen to be displayed for operating data during maintenance based on the data regardless of the difference in the system. The information can be replaced with arbitrary information that can be easily understood by the operator.

なお、以下では、説明の便宜上、リレーショナルデータベースにおけるマスタデータのメンテナンス、すなわち、マスタメンテナンスに主眼をおいた説明を行うものとする。また、以下では、説明の便宜上、いわゆるシステムカタログを備えるデータベースについて説明を行うものとする。   In the following, for the convenience of explanation, it is assumed that the main data maintenance in the relational database, that is, the master maintenance will be described. Hereinafter, for convenience of explanation, a database including a so-called system catalog will be described.

データメンテナンス装置は、例えば図1に示すように、メンテナンスの対象となるデータベース10に対してオペレータが入力操作する入力操作手段である入力操作部11と、この入力操作部11を介して入力された情報に基づいて所定のメンテナンス画面を作成する画面作成処理手段である画面作成処理部12と、この画面作成処理部12によって作成されたメンテナンス画面を含む各種情報を表示する表示手段である表示部13とを備える。   For example, as shown in FIG. 1, the data maintenance device includes an input operation unit 11 that is an input operation unit for an operator to perform an input operation on a database 10 to be maintained, and an input operation unit 11 that is used to input the data maintenance device. A screen creation processing unit 12 that is a screen creation processing unit that creates a predetermined maintenance screen based on the information, and a display unit 13 that is a display unit that displays various types of information including the maintenance screen created by the screen creation processing unit 12. With.

入力操作部11は、キーボード及びマウスといった各種操作デバイスからなるユーザ・インターフェースとして構成される。データメンテナンス装置においては、メンテナンスを行うオペレータが、この入力操作部11を介して各種情報の入力操作を行う。この入力操作部11を介して入力された情報は、画面作成処理部12に供給される。   The input operation unit 11 is configured as a user interface including various operation devices such as a keyboard and a mouse. In the data maintenance apparatus, an operator who performs maintenance performs various information input operations via the input operation unit 11. Information input via the input operation unit 11 is supplied to the screen creation processing unit 12.

画面作成処理部12は、入力操作部11を介して行われた指示に応じて、データベース10にアクセスし、当該データベース10のシステムカタログに基づいて、メンテナンス画面を作成する。なお、システムカタログとは、リレーショナルデータベースの管理システムによって記述されたテーブルに関する管理情報であり、少なくともテーブルを構成する各項目の書式に関する情報を記述したものである。通常、システムカタログは、一部を除き、データベースを作成する際にテンプレートデータベースから複製されることから、データベースに固有のものとなる。画面作成処理部12は、入力操作部11を介して行われた指示に応じて、データベース10からこのようなシステムカタログを取得し、このシステムカタログに基づいて、テーブルを構成する各項目を読み出し、メンテナンス画面を作成する。そして、画面作成処理部12は、作成したメンテナンス画面を表示部13に表示させる。   The screen creation processing unit 12 accesses the database 10 in response to an instruction given via the input operation unit 11 and creates a maintenance screen based on the system catalog of the database 10. The system catalog is management information related to a table described by a relational database management system, and describes at least information related to the format of each item constituting the table. Normally, the system catalog is unique to a database because it is copied from a template database when a database is created except for a part. The screen creation processing unit 12 acquires such a system catalog from the database 10 in accordance with an instruction made via the input operation unit 11, reads out each item constituting the table based on the system catalog, Create a maintenance screen. The screen creation processing unit 12 displays the created maintenance screen on the display unit 13.

表示部13は、例えばLCD(Liquid Crystal Display)といった各種表示デバイスからなるユーザ・インターフェースとして構成される。表示部13は、画面作成処理部12によって作成されたメンテナンスを行う際にデータを操作するためのメンテナンス画面の他、メンテナンスを行うために必要となる後述する環境設定を行うための所定の画面や、その他各種情報を表示する。   The display unit 13 is configured as a user interface including various display devices such as an LCD (Liquid Crystal Display). The display unit 13 includes a maintenance screen for manipulating data when performing maintenance created by the screen creation processing unit 12, a predetermined screen for performing environment settings described later necessary for performing maintenance, Display various other information.

このようなデータメンテナンス装置は、ハードウェア的には、画面作成処理部12の機能を、所定のメモリ上で展開されるプログラムにしたがって制御されるCPU(Central Processing Unit)によって実現することができる。   In terms of hardware, such a data maintenance apparatus can realize the function of the screen creation processing unit 12 by a CPU (Central Processing Unit) controlled according to a program developed on a predetermined memory.

さて、このようなデータメンテナンス装置は、メンテナンスを行うのに先だって、例えば図2に示すような一連の工程を経ることにより、当該メンテナンスの内容を定義する環境設定を行う。   Now, such a data maintenance device performs an environment setting that defines the content of the maintenance by performing a series of steps as shown in FIG. 2, for example, before performing the maintenance.

まず、データメンテナンス装置においては、同図に示すように、ステップS1において、オペレータが環境設定用のプログラムを起動してシステムにログオンする。具体的には、データメンテナンス装置は、画面作成処理部12の制御のもとに、例えば図3に示すようなログオン画面を表示部13に表示させる。   First, in the data maintenance apparatus, as shown in the figure, in step S1, the operator starts an environment setting program and logs on to the system. Specifically, the data maintenance apparatus displays a logon screen as shown in FIG. 3 on the display unit 13 under the control of the screen creation processing unit 12, for example.

このログオン画面には、システムが備える少なくとも1つ以上のデータベースのリストが接続先リストとして記述されている。オペレータは、入力操作部11を介して、このログオン画面に対してユーザ名、パスワード、ホスト文字列等を入力する。これに応じて、データメンテナンス装置は、当該オペレータの正当性を認証した上で、当該オペレータが接続可能な全てのデータベースをリストアップし、ログオン画面に表示させる。そして、オペレータは、入力操作部11を介して、メンテナンスを行うべく接続したいデータベースをハイライトさせて選択する。   In this logon screen, a list of at least one database provided in the system is described as a connection destination list. The operator inputs a user name, password, host character string, and the like on the logon screen via the input operation unit 11. In response to this, the data maintenance apparatus authenticates the legitimacy of the operator, lists all databases connectable to the operator, and displays them on the logon screen. The operator highlights and selects a database to be connected via the input operation unit 11 for maintenance.

データメンテナンス装置は、オペレータによってデータベースが選択されると、画面作成処理部12の制御のもとに、例えば図4に示すような環境設定メニュー画面を表示部13に表示させる。   When the database is selected by the operator, the data maintenance device displays an environment setting menu screen as shown in FIG. 4 on the display unit 13 under the control of the screen creation processing unit 12, for example.

この環境設定メニュー画面は、メンテナンスの内容を定義したメンテナンスデータの一覧を記述したものであり、未だメンテナンスデータを定義していない初期状態では、同図に示すように、何らリストアップされていない状態とされる。オペレータは、新たなメンテナンスデータを定義する場合には、入力操作部11を介して、この環境設定メニュー画面に設けられた新規登録ボタンを選択することにより、環境設定を行うことができる。   This configuration menu screen describes a list of maintenance data that defines the contents of maintenance. In the initial state where maintenance data has not yet been defined, no state is listed as shown in the figure. It is said. When defining new maintenance data, the operator can set the environment by selecting a new registration button provided on the environment setting menu screen via the input operation unit 11.

データメンテナンス装置は、環境設定に移行すると、図2中ステップS2において、画面作成処理部12の制御のもとに、選択されたデータベースに格納されている全てのテーブルの一覧を読み出す。具体的には、画面作成処理部12は、選択されたデータベースのシステムカタログを参照し、これに基づいて、テーブルに関する情報を取得する。そして、データメンテナンス装置は、画面作成処理部12の制御のもとに、例えば図5に示すようなテーブル選択画面を表示部13に表示させる。   When shifting to the environment setting, the data maintenance apparatus reads a list of all tables stored in the selected database under the control of the screen creation processing unit 12 in step S2 in FIG. Specifically, the screen creation processing unit 12 refers to the system catalog of the selected database, and acquires information about the table based on this. Then, the data maintenance device displays a table selection screen as shown in FIG. 5 on the display unit 13 under the control of the screen creation processing unit 12, for example.

このテーブル選択画面は、選択されたデータベースに格納されている全てのテーブルの一覧を記述したものである。オペレータは、図2中ステップS3において、入力操作部11を介して、この一覧の中から操作したいテーブルをハイライトさせて選択する。このとき、データメンテナンス装置は、親子関係を有するテーブルにも対応することができ、オペレータは、入力操作部11を介して、単独のテーブルによるメンテナンスを行うか、子テーブルを含むメンテナンスを行うかを選択するためのラジオボタン等が付された項目のいずれかを選択する。   This table selection screen describes a list of all tables stored in the selected database. In step S3 in FIG. 2, the operator highlights and selects a table to be operated from the list via the input operation unit 11. At this time, the data maintenance apparatus can also deal with a table having a parent-child relationship, and the operator determines whether to perform maintenance using a single table or maintenance including a child table via the input operation unit 11. Select one of the items with radio buttons for selection.

続いて、データメンテナンス装置は、ステップS4において、画面作成処理部12の制御のもとに、システムカタログに基づいて、選択されたテーブルを構成する全ての項目の一覧を取得して読み出し、これを例えば図6に示すような項目設定画面として表示部13に表示させる。   Subsequently, in step S4, the data maintenance device acquires and reads a list of all items constituting the selected table based on the system catalog under the control of the screen creation processing unit 12. For example, it is displayed on the display unit 13 as an item setting screen as shown in FIG.

この項目設定画面は、選択されたテーブルの全ての項目の一覧を記述したものであり、システムカタログに基づいて、少なくとも各項目の型(書式)を記述したものである。オペレータは、図2中ステップS5において、入力操作部11を介して、現在設定しているメンテナンスデータの名称を入力するとともに、最終的に作成すべきメンテナンス画面における項目の表示順序、表示させるべき項目(表示項目)、コードではなく任意の情報に置換させて表示させる項目(置換項目)、項目の抽出条件、及び抽出条件を表す演算子等を入力選択する。このとき、オペレータは、置換項目の設定を行う際には、入力操作部11を介して、この項目設定画面に設けられた置換項目設定ボタンを選択する。   This item setting screen describes a list of all items of the selected table, and describes at least the type (format) of each item based on the system catalog. In step S5 in FIG. 2, the operator inputs the name of the currently set maintenance data via the input operation unit 11, and finally displays the order of items on the maintenance screen to be created and the items to be displayed. (Display item), an item to be displayed by being replaced with arbitrary information instead of a code (replacement item), an item extraction condition, an operator representing the extraction condition, and the like are selected. At this time, the operator selects a replacement item setting button provided on the item setting screen via the input operation unit 11 when setting the replacement item.

これに応じて、データメンテナンス装置は、ステップS6において、画面作成処理部12の制御のもとに、システムカタログに基づいて、選択されたデータベースに格納されている全てのテーブルの一覧を読み出し、これを例えば図7に示すような置換項目設定画面として表示部13に表示させる。   In response to this, in step S6, the data maintenance device reads a list of all tables stored in the selected database based on the system catalog under the control of the screen creation processing unit 12. Is displayed on the display unit 13 as a replacement item setting screen as shown in FIG.

この置換項目設定画面は、置換したい項目を有する対象テーブルと、置換先の候補としての全てのテーブルの一覧とを記述したものである。オペレータは、入力操作部11を介して、置換先の候補としての全てのテーブルの一覧の中から該当する候補に付されたチェックボタンをチェックすると、データメンテナンス装置は、画面作成処理部12の制御のもとに、システムカタログに基づいて、チェックされたテーブルの全ての項目を読み出し、当該テーブルの内容を表示部13に表示させる。オペレータは、図2中ステップS7において、入力操作部11を介して、内部結合や外部結合といった結合条件を入力する。   This replacement item setting screen describes a target table having an item to be replaced and a list of all tables as replacement destination candidates. When the operator checks the check button attached to the corresponding candidate from the list of all the tables as replacement destination candidates via the input operation unit 11, the data maintenance device controls the screen creation processing unit 12. Based on the system catalog, all items in the checked table are read out based on the system catalog, and the contents of the table are displayed on the display unit 13. In step S7 in FIG. 2, the operator inputs a coupling condition such as an internal coupling or an external coupling through the input operation unit 11.

そして、データメンテナンス装置は、ステップS8において、オペレータによって入力された情報をメンテナンスデータとして登録し、一連の環境設定を終了する。データメンテナンス装置においては、このような処理を繰り返し行うことにより、複数のメンテナンスデータを作成することができる。データメンテナンス装置は、同じオペレータが次回ログオンした場合には、例えば図8に示すように、過去に作成したメンテナンスデータの一覧を環境設定メニュー画面に表示することになる。なお、メンテナンスデータを識別するために表示される名称は、先に図6に示した項目設定画面に対して入力された名称である。また、データメンテナンス装置は、過去に作成したメンテナンスデータの設定を修正することもでき、最後に修正された設定内容を自動的にメンテナンスデータに反映することになる。   In step S8, the data maintenance device registers information input by the operator as maintenance data, and ends a series of environment settings. In the data maintenance device, a plurality of maintenance data can be created by repeatedly performing such processing. When the same operator logs on next time, the data maintenance device displays a list of maintenance data created in the past on the environment setting menu screen, for example, as shown in FIG. Note that the name displayed to identify the maintenance data is the name input on the item setting screen shown in FIG. Further, the data maintenance device can also correct the setting of maintenance data created in the past, and the setting content corrected last is automatically reflected in the maintenance data.

さて、データメンテナンス装置は、実際にメンテナンスを行う際には、オペレータがメンテナンス用のプログラムを起動してシステムにログオンすると、画面作成処理部12の制御のもとに、先に図8に示した環境設定メニューと同様に、メンテナンスデータの一覧が記述された所定の画面を表示部13に表示させる。そして、データメンテナンス装置は、オペレータが入力操作部11を介して一覧の中からメンテナンスを行いたい内容が定義されたメンテナンスデータを選択すると、当該メンテナンスデータによって定義された内容からなるメンテナンス画面を画面作成処理部12によって作成し、これを表示部13に表示させる。   When the data maintenance apparatus actually performs maintenance, when the operator starts the maintenance program and logs on to the system, the data maintenance apparatus previously shown in FIG. Similar to the environment setting menu, a predetermined screen on which a list of maintenance data is described is displayed on the display unit 13. Then, when the operator selects maintenance data in which the contents to be maintained are defined from the list via the input operation unit 11, the data maintenance device creates a maintenance screen having the contents defined by the maintenance data. Created by the processing unit 12 and displayed on the display unit 13.

例えば、図9に示すように、在庫ナンバー、商品コード、数量といった項目からなる複数のレコードから構成されるテーブルである在庫データをメンテナンスする場合を考える。ここで、メンテナンス画面に、一連の数字や記号等からなる商品コードをそのまま表示させるのではなく、具体的な商品名に置換して表示させるものとする。この場合、データメンテナンス装置は、上述した環境設定において、キーとなる商品コードの置換先として、商品マスタの項目である商品名を設定し、メンテナンスデータとして登録すればよい。   For example, as shown in FIG. 9, a case is considered in which inventory data, which is a table composed of a plurality of records including items such as inventory numbers, product codes, and quantities, is maintained. Here, the product code consisting of a series of numbers, symbols, and the like is not displayed as it is on the maintenance screen, but is displayed by replacing it with a specific product name. In this case, the data maintenance device may set the product name as the item of the product master as the replacement destination of the product code serving as a key in the environment setting described above, and register it as maintenance data.

これにより、データメンテナンス装置は、画面作成処理部12の制御のもとに、例えば図10に示すようなメンテナンス画面を表示部13に表示させることができる。すなわち、データメンテナンス装置においては、通常であれば、商品コードがそのまま表示される項目が、商品マスタに定義されている具体的な商品名に置換された形態で表示されることになる。   Thereby, the data maintenance apparatus can display the maintenance screen as shown in FIG. 10 on the display unit 13 under the control of the screen creation processing unit 12, for example. That is, in the data maintenance apparatus, normally, the item in which the product code is displayed as it is is displayed in a form in which it is replaced with a specific product name defined in the product master.

また、メンテナンス画面には、メンテナンス対象として、全てのデータを表示させるための全件検索ボタンと、任意の条件に合致したもののみを表示させるための条件検索ボタンとが設けられる。データメンテナンス装置は、オペレータによって条件検索ボタンが選択された場合には、画面作成処理部12の制御のもとに、所定の別画面を表示部13に表示させ、例えば「入庫日が○月○日以降の在庫」といった任意の条件をオペレータに入力させると、在庫データのうち、この条件に合致したレコードのみを表示部13に表示させる。データメンテナンス装置は、このような検索機能を設けることにより、大量のレコードからなるデータであっても、少ない負荷で高速に画面表示を行うことが可能となる。   In addition, the maintenance screen is provided with an all item search button for displaying all data and a condition search button for displaying only items that match an arbitrary condition as maintenance targets. When the condition search button is selected by the operator, the data maintenance device displays a predetermined separate screen on the display unit 13 under the control of the screen creation processing unit 12. When the operator inputs an arbitrary condition such as “stock after date”, only records that meet the condition in the inventory data are displayed on the display unit 13. By providing such a search function, the data maintenance device can display a screen at a high speed with a small load even for data consisting of a large number of records.

さらに、データメンテナンス装置は、上述したように、親子関係を有するテーブルにも対応することができる。例えば、図11に示すように、親データとしての在庫データに対する子データとして、商品コード、ロットナンバーといった項目からなる複数のレコードから構成されるテーブルである在庫ロットデータが存在し、これら在庫データ及び在庫ロットデータをメンテナンスする場合を考える。ここでも、メンテナンス画面に、商品コードをそのまま表示させるのではなく、具体的な商品名に置換して表示させるものとする。この場合、データメンテナンス装置は、先に図5に示したテーブル選択画面において、子テーブルを含むメンテナンスを行う旨を選択し、親子関係の定義の入力選択をともなう環境設定を行えばよい。   Furthermore, as described above, the data maintenance device can also handle tables having a parent-child relationship. For example, as shown in FIG. 11, there is inventory lot data which is a table composed of a plurality of records including items such as product codes and lot numbers as child data for inventory data as parent data. Consider a case where inventory lot data is maintained. Also here, the product code is not displayed on the maintenance screen as it is, but is replaced with a specific product name. In this case, the data maintenance apparatus may select environment maintenance including child table selection on the table selection screen shown in FIG. 5 and perform environment setting with input selection of definition of parent-child relationship.

これにより、データメンテナンス装置は、画面作成処理部12の制御のもとに、例えば図12に示すように、親データとしての在庫データと、子データとしての在庫ロットデータとに分割された2画面構成からなるメンテナンス画面を表示部13に表示させる。この場合、データメンテナンス装置においては、親データとしての在庫データにおける任意のレコードが選択されるのに応じて、子データとしての在庫ロットデータに関する内容が、対応する内容に切り替わるように、画面表示がなされることになる。この場合においても、データメンテナンス装置においては、在庫データ及び在庫ロットデータともに、商品コードが具体的な商品名に置換された形態で表示されることになる。   Thereby, the data maintenance device, under the control of the screen creation processing unit 12, for example, as shown in FIG. 12, is divided into two screens divided into inventory data as parent data and inventory lot data as child data. A maintenance screen having the configuration is displayed on the display unit 13. In this case, in the data maintenance device, the screen display is performed so that the content related to the inventory lot data as the child data is switched to the corresponding content in response to the selection of an arbitrary record in the inventory data as the parent data. Will be made. Even in this case, in the data maintenance device, both the inventory data and the inventory lot data are displayed in a form in which the product code is replaced with a specific product name.

データメンテナンス装置においては、このようなメンテナンス画面を介して、オペレータが新たなデータの登録、更新、及び/又は削除といった任意のメンテナンスを行うことができる。そして、データメンテナンス装置においては、メンテナンスされた内容が自動的にデータベースの内容に反映されることになる。また、データメンテナンス装置においては、親子関係を有するテーブルについてのメンテナンスを行う場合に、親データを削除するメンテナンスを行った場合には、対応する子データを自動的に削除することができる。   In the data maintenance apparatus, the operator can perform arbitrary maintenance such as registration, update, and / or deletion of new data via such a maintenance screen. In the data maintenance apparatus, the maintained contents are automatically reflected in the contents of the database. Further, in the data maintenance device, when maintenance is performed on a table having a parent-child relationship, the corresponding child data can be automatically deleted when maintenance is performed to delete the parent data.

以上説明したように、本発明の実施の形態として示すデータメンテナンス装置は、画面作成処理部12の制御のもとに、データベース10のシステムカタログに基づいて、メンテナンス画面を自動的に作成することができる。すなわち、データメンテナンス装置は、画面作成処理部12の制御のもとに、データベース10に実際に格納されているデータに基づいて、メンテナンス画面を自動的に作成することから、システムの違いにかかわらず、メンテナンス画面を作成することができる。このとき、データメンテナンス装置は、各項目の値として、コードではなくオペレータが理解容易な任意の情報に置換させて表示させることができる。   As described above, the data maintenance apparatus shown as the embodiment of the present invention can automatically create a maintenance screen based on the system catalog of the database 10 under the control of the screen creation processing unit 12. it can. That is, the data maintenance device automatically creates the maintenance screen based on the data actually stored in the database 10 under the control of the screen creation processing unit 12, regardless of the difference in the system. A maintenance screen can be created. At this time, the data maintenance apparatus can display the value of each item by replacing it with arbitrary information that is easy for the operator to understand instead of the code.

したがって、データメンテナンス装置においては、単純な入力選択作業をともなう環境設定を行うのみで、オペレータの嗜好に応じてカスタマイズされたメンテナンス画面を容易に作成することができることから、従来のように、システム毎に個々にプログラミングする必要性を一掃することができ、システム設計者やシステム管理者、及びシステムを操作するオペレータの負荷を著しく軽減するとともに、開発コスト及び保守コストも低減し、品質の向上を図ることも可能となる。   Therefore, in a data maintenance device, a maintenance screen customized according to the operator's preference can be easily created only by performing environment setting with simple input selection work. The need for individual programming can be eliminated, and the load on system designers, system administrators, and operators operating the system can be significantly reduced, and development and maintenance costs can be reduced to improve quality. It is also possible.

このように、データメンテナンス装置は、システム設計者やシステム管理者及びオペレータに対して極めて優れた利便を提供することができるものである。   As described above, the data maintenance device can provide extremely excellent convenience to the system designer, the system administrator, and the operator.

なお、本発明は、上述した実施の形態に限定されるものではなく、例えば、上述した実施の形態では、マスタメンテナンスに主眼をおいた説明を行ったが、本発明は、トランザクション系のデータをはじめとし、全てのデータのメンテナンスに容易に適用することができるものである。   Note that the present invention is not limited to the above-described embodiment. For example, in the above-described embodiment, the description has been made with a focus on master maintenance. However, the present invention includes transaction data and the like. And can be easily applied to the maintenance of all data.

また、上述した実施の形態では、データベース10がシステムカタログを備え、このシステムカタログに基づいて、画面作成処理部12によってメンテナンス画面を作成するものとして説明したが、本発明は、システムカタログを用いない場合であっても適用可能である。この場合、データメンテナンス装置は、少なくともデータベースに格納されているテーブルを構成する各項目の書式に関する情報を記述したシステムカタログに相当する情報をユーザテーブルとして予め作成しておき、画面作成処理部12によってこのユーザテーブルを参照することによってメンテナンス画面を作成することができる。したがって、本発明は、システムカタログを備えないデータベースについても適用することができるものである。   In the above-described embodiment, the database 10 includes the system catalog, and the screen creation processing unit 12 creates the maintenance screen based on the system catalog. However, the present invention does not use the system catalog. Even if applicable. In this case, the data maintenance device previously creates information corresponding to the system catalog describing at least information on the format of each item constituting the table stored in the database as a user table, and the screen creation processing unit 12 A maintenance screen can be created by referring to this user table. Therefore, the present invention can also be applied to a database that does not have a system catalog.

さらに、上述した実施の形態では、環境設定用のプログラムとメンテナンス用のプログラムとが別個に存在するものとして説明したが、本発明は、これら2つのプログラムをセットとしたパッケージソフトウェアとして頒布する場合のみならず、環境設定用及びメンテナンス用の機能を1つのプログラムとして作成し、これを1つのパッケージソフトウェアとして頒布する場合にも適用することができる。   Furthermore, in the above-described embodiment, it has been described that the environment setting program and the maintenance program exist separately. However, the present invention only applies when packaged as a set of these two programs. In addition, the present invention can be applied to a case where functions for environment setting and maintenance are created as one program and distributed as one package software.

このように、本発明は、その趣旨を逸脱しない範囲で適宜変更が可能であることはいうまでもない。   Thus, it goes without saying that the present invention can be modified as appropriate without departing from the spirit of the present invention.

本発明の実施の形態として示すデータメンテナンス装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the data maintenance apparatus shown as embodiment of this invention. 同データメンテナンス装置において、メンテナンスの内容を定義する環境設定を行う際の一連の工程を説明するフローチャートである。It is a flowchart explaining a series of processes at the time of performing environment setting which defines the content of maintenance in the data maintenance apparatus. 環境設定にて表示部に表示されるログオン画面の一例を説明する図である。It is a figure explaining an example of the logon screen displayed on a display part by environmental setting. 環境設定にて表示部に表示される環境設定メニュー画面の一例を説明する図である。It is a figure explaining an example of the environment setting menu screen displayed on a display part by environment setting. 環境設定にて表示部に表示されるテーブル選択画面の一例を説明する図である。It is a figure explaining an example of the table selection screen displayed on a display part by environmental setting. 環境設定にて表示部に表示される項目設定画面の一例を説明する図である。It is a figure explaining an example of the item setting screen displayed on a display part by environmental setting. 環境設定にて表示部に表示される置換項目設定画面の一例を説明する図である。It is a figure explaining an example of the replacement item setting screen displayed on a display part by environmental setting. 環境設定にて表示部に表示される環境設定メニュー画面の一例を説明する図であって、過去に作成したメンテナンスデータの一覧が表示されている様子を説明するための図である。It is a figure explaining an example of the environment setting menu screen displayed on a display part by environment setting, Comprising: It is a figure for demonstrating a mode that the list of the maintenance data produced in the past is displayed. 在庫データをメンテナンスする様子を説明するための図であって、在庫データの1項目である商品コードを、商品マスタの項目である商品名に置換する様子を説明するための図である。It is a figure for demonstrating a mode that inventory data is maintained, Comprising: It is a figure for demonstrating a mode that the merchandise code which is 1 item of inventory data is substituted to the merchandise name which is an item of a merchandise master. 表示部に表示されるメンテナンス画面の一例を説明する図であって、図9に示すデータに関するメンテナンス画面の一例を説明する図である。It is a figure explaining an example of the maintenance screen displayed on a display part, Comprising: It is a figure explaining an example of the maintenance screen regarding the data shown in FIG. 親子関係にある在庫データ及び在庫ロットデータをメンテナンスする様子を説明するための図であって、在庫データ及び在庫ロットデータの1項目である商品コードを、商品マスタの項目である商品名に置換する様子を説明するための図である。It is a figure for demonstrating a mode that the inventory data and inventory lot data in a parent-child relationship are maintained, Comprising: The product code which is one item of inventory data and inventory lot data is replaced with the product name which is an item of a product master It is a figure for demonstrating a mode. 表示部に表示されるメンテナンス画面の一例を説明する図であって、図11に示すデータに関するメンテナンス画面の一例を説明する図である。It is a figure explaining an example of the maintenance screen displayed on a display part, Comprising: It is a figure explaining an example of the maintenance screen regarding the data shown in FIG.

符号の説明Explanation of symbols

10 データベース
11 入力操作部
12 画面作成処理部
13 表示部
10 Database 11 Input operation unit 12 Screen creation processing unit 13 Display unit

Claims (15)

リレーショナルデータベースに格納されている各種データのメンテナンスを行うデータメンテナンス装置であって、
メンテナンスの対象となるデータベースに対してオペレータが入力操作する入力操作手段と、
上記入力操作手段を介して入力された情報に基づいて、メンテナンスの際にデータを操作するためのメンテナンス画面を作成する画面作成処理手段と、
上記画面作成処理手段によって作成されたメンテナンス画面を含む各種情報を表示する表示手段とを備え、
上記画面作成処理手段は、上記データベースに格納されているデータに基づいて、データを構成する各項目の値として、コードではなく上記オペレータが理解容易な任意の情報に置換した上記メンテナンス画面を作成し、上記表示手段に表示させること
を特徴とするデータメンテナンス装置。
A data maintenance device for maintaining various data stored in a relational database,
An input operation means for an operator to perform an input operation on a database to be maintained;
Screen creation processing means for creating a maintenance screen for manipulating data at the time of maintenance based on information input via the input operation means;
Display means for displaying various information including the maintenance screen created by the screen creation processing means,
Based on the data stored in the database, the screen creation processing means creates the maintenance screen replaced with arbitrary information that is easy for the operator to understand instead of a code as the value of each item constituting the data. A data maintenance apparatus characterized by displaying on the display means.
上記画面作成処理手段は、少なくとも上記データベースに格納されているテーブルを構成する各項目の書式に関する情報を記述したシステムカタログに基づいて、上記メンテナンス画面を作成すること
を特徴とする請求項1記載のデータメンテナンス装置。
The said screen creation processing means creates the said maintenance screen based on the system catalog which described the information regarding the format of each item which comprises the table stored in the said database at least. Data maintenance device.
上記画面作成処理手段は、少なくとも上記データベースに格納されているテーブルを構成する各項目の書式に関する情報を記述したユーザテーブルに基づいて、上記メンテナンス画面を作成すること
を特徴とする請求項1記載のデータメンテナンス装置。
The said screen creation processing means creates the said maintenance screen based on the user table which described the information regarding the format of each item which comprises the table stored in the said database at least. Data maintenance device.
上記ユーザテーブルは、予め作成されたものであること
を特徴とする請求項3記載のデータメンテナンス装置。
The data maintenance device according to claim 3, wherein the user table is created in advance.
上記画面作成処理手段は、上記オペレータが接続可能な全てのデータベースをリストアップし、上記表示手段に選択可能に表示させること
を特徴とする請求項2又は請求項3記載のデータメンテナンス装置。
4. The data maintenance apparatus according to claim 2, wherein the screen creation processing means lists all databases connectable to the operator and displays them in a selectable manner on the display means.
上記画面作成処理手段は、上記入力操作手段を介して選択されたメンテナンスを行うべく接続したいデータベースに格納されている全てのテーブルの一覧を読み出し、上記表示手段に選択可能に表示させること
を特徴とする請求項5記載のデータメンテナンス装置。
The screen creation processing means reads a list of all tables stored in a database to be connected to perform maintenance selected via the input operation means, and displays the list in a selectable manner on the display means. The data maintenance device according to claim 5.
上記画面作成処理手段は、選択されたデータベースのシステムカタログ又はユーザテーブルを参照し、これに基づいて、テーブルに関する情報を取得すること
を特徴とする請求項6記載のデータメンテナンス装置。
The data maintenance apparatus according to claim 6, wherein the screen creation processing unit refers to a system catalog or a user table of the selected database and acquires information on the table based on the system catalog or the user table.
上記画面作成処理手段は、上記入力操作手段を介して選択されたテーブルを構成する全ての項目の一覧を読み出し、上記表示手段に表示させること
を特徴とする請求項6又は請求項7記載のデータメンテナンス装置。
The data according to claim 6 or 7, wherein the screen creation processing means reads a list of all items constituting the table selected via the input operation means and displays the list on the display means. Maintenance device.
上記画面作成処理手段は、選択されたデータベースのシステムカタログ又はユーザテーブルを参照し、これに基づいて、選択されたテーブルを構成する全ての項目に関する情報を取得すること
を特徴とする請求項8記載のデータメンテナンス装置。
9. The screen creation processing means refers to a system catalog or user table of a selected database, and acquires information on all items constituting the selected table based on the system catalog or user table. Data maintenance equipment.
上記画面作成処理手段は、上記入力操作手段を介して入力選択された、少なくとも、現在設定しているメンテナンスの内容を定義したメンテナンスデータの名称、最終的に作成すべき上記メンテナンス画面における項目の表示順序、表示させるべき項目である表示項目、コードではなく任意の情報に置換させて表示させる項目である置換項目、項目の抽出条件、及び抽出条件を表す演算子に基づいて、当該メンテナンス画面を作成すること
を特徴とする請求項8又は請求項9記載のデータメンテナンス装置。
The screen creation processing means displays at least the name of maintenance data that defines the content of the maintenance that is currently set and is selected through the input operation means, and displays the items on the maintenance screen to be finally created Create the maintenance screen based on the order, the display item that should be displayed, the replacement item that is replaced with arbitrary information instead of the code, the item extraction condition, and the operator that represents the extraction condition The data maintenance device according to claim 8 or 9, wherein:
上記画面作成処理手段は、上記置換項目の設定にあたって、置換したい項目を有する対象テーブルと、置換先の候補としての全てのテーブルの一覧とを上記表示手段に表示させ、当該対象テーブルと選択された置換先のテーブルとの結合条件を、上記入力操作手段を介して入力させること
を特徴とする請求項10記載のデータメンテナンス装置。
In the setting of the replacement item, the screen creation processing unit causes the display unit to display a target table having an item to be replaced and a list of all tables as replacement destination candidates, and the target table is selected. The data maintenance apparatus according to claim 10, wherein a join condition with a replacement destination table is input via the input operation means.
上記画面作成処理手段は、上記入力操作手段を介して入力選択された親子関係の定義に基づいて、当該メンテナンス画面を作成すること
を特徴とする請求項6乃至又は請求項11のうちいずれか1項記載のデータメンテナンス装置。
The screen creation processing means creates the maintenance screen based on the definition of the parent-child relationship that is input and selected via the input operation means. Data maintenance device described in the section.
上記画面作成処理手段は、メンテナンス対象として、全てのデータを表示させるか、任意の条件に合致したもののみを表示させるかを選択可能とする上記メンテナンス画面を作成すること
を特徴とする請求項1乃至又は請求項12のうちいずれか1項記載のデータメンテナンス装置。
The screen creation processing means creates the maintenance screen that enables selection of whether to display all data or only those that meet an arbitrary condition as a maintenance target. The data maintenance apparatus according to any one of claims 12 to 12.
リレーショナルデータベースに格納されている各種データのメンテナンスを行うデータメンテナンス方法であって、
メンテナンスの対象となるデータベースに対して入力操作するオペレータによって入力された情報に基づいて、メンテナンスの際にデータを操作するためのメンテナンス画面を作成する画面作成処理工程と、
上記画面作成処理工程にて作成されたメンテナンス画面を含む各種情報を表示手段に表示する表示工程とを備え、
上記画面作成処理工程では、上記データベースに格納されているデータに基づいて、データを構成する各項目の値として、コードではなく上記オペレータが理解容易な任意の情報に置換した上記メンテナンス画面が作成されること
を特徴とするデータメンテナンス方法。
A data maintenance method for maintaining various data stored in a relational database,
A screen creation processing step for creating a maintenance screen for manipulating data based on information input by an operator who performs an input operation on a database subject to maintenance;
A display step for displaying various information including the maintenance screen created in the screen creation processing step on the display means
In the screen creation processing step, based on the data stored in the database, the maintenance screen is created as the value of each item constituting the data, instead of the code and any information that is easy for the operator to understand. A data maintenance method characterized by that.
リレーショナルデータベースに格納されている各種データのメンテナンスを行うコンピュータ実行可能なデータメンテナンスプログラムであって、
メンテナンスの対象となるデータベースに対して入力操作するオペレータによって入力された情報に基づいて、メンテナンスの際にデータを操作するためのメンテナンス画面を作成する画面作成処理と、
上記画面作成処理にて作成されたメンテナンス画面を含む各種情報を表示手段に表示する表示処理とを備え、
上記画面作成処理では、上記データベースに格納されているデータに基づいて、データを構成する各項目の値として、コードではなく上記オペレータが理解容易な任意の情報に置換した上記メンテナンス画面が作成されること
を特徴とするデータメンテナンスプログラム。
A computer-executable data maintenance program for maintaining various data stored in a relational database,
Screen creation processing for creating a maintenance screen for manipulating data based on information input by an operator who performs an input operation on the database to be maintained;
Display processing for displaying various information including the maintenance screen created in the screen creation processing on the display means,
In the screen creation process, based on the data stored in the database, the maintenance screen is created as the value of each item constituting the data, instead of the code with arbitrary information that can be easily understood by the operator. A data maintenance program characterized by
JP2003430835A 2003-12-25 2003-12-25 Data maintenance apparatus, data maintenance method and data maintenance program Pending JP2005190178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003430835A JP2005190178A (en) 2003-12-25 2003-12-25 Data maintenance apparatus, data maintenance method and data maintenance program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003430835A JP2005190178A (en) 2003-12-25 2003-12-25 Data maintenance apparatus, data maintenance method and data maintenance program

Publications (2)

Publication Number Publication Date
JP2005190178A true JP2005190178A (en) 2005-07-14
JP2005190178A5 JP2005190178A5 (en) 2007-05-31

Family

ID=34789092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003430835A Pending JP2005190178A (en) 2003-12-25 2003-12-25 Data maintenance apparatus, data maintenance method and data maintenance program

Country Status (1)

Country Link
JP (1) JP2005190178A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007140612A (en) * 2005-11-14 2007-06-07 Fuji Electric Systems Co Ltd Data integrated management system
WO2007077626A1 (en) * 2006-01-05 2007-07-12 Arkstar Coporation Data maintenance device, data maintenance method, and data maintenance program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007140612A (en) * 2005-11-14 2007-06-07 Fuji Electric Systems Co Ltd Data integrated management system
JP4655897B2 (en) * 2005-11-14 2011-03-23 富士電機システムズ株式会社 Integrated data management system
WO2007077626A1 (en) * 2006-01-05 2007-07-12 Arkstar Coporation Data maintenance device, data maintenance method, and data maintenance program

Similar Documents

Publication Publication Date Title
US6092048A (en) Task execution support system
US20020147725A1 (en) Method and apparatus for database table definition
US20080263142A1 (en) Meta Data Driven User Interface System and Method
JP4884685B2 (en) Computer, program and method for adding items to database
JP3776133B2 (en) Screen creation editor device
JPH08185349A (en) Data security device
JP3704374B2 (en) Document management system
JP2005190178A (en) Data maintenance apparatus, data maintenance method and data maintenance program
JP2010039751A (en) Software development system
JP2010045423A (en) Image-forming device, and help image generation method, and program
JP2008203965A (en) Method and program for creating web page
JP4854632B2 (en) I / O screen generation system
JP2007164503A (en) System production method, system and program, and data structure of definition information used in system production
JP2009163566A (en) Job analysis support apparatus
JPH1166059A (en) Information processor, dictionary management device, network system, method for managing dictionary of information processor and recording medium
JP2021174316A (en) Software development environment providing system, software development environment providing method, and software development environment providing program
US20070100895A1 (en) Data maintenance apparatus, data maintenance method, and data maintenance system
JP2009205353A (en) User interface providing method, and device and program therefor
JP2007026389A (en) Data input device
JP5820324B2 (en) Design support system, design support method and program
US20230305691A1 (en) Cloud system, aggregated result display method, and information storage medium
JP2009037477A (en) Program generation device, program generation method, and program generation program
JP2001350883A (en) Organization chart processor
KR20210026389A (en) Integrated support system for software development andmethod thereof
WO2017141785A1 (en) Design document input/output device, design document input/output system, and design document input/output method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090818