JP2000112734A - Method and device for generating software - Google Patents

Method and device for generating software

Info

Publication number
JP2000112734A
JP2000112734A JP10283087A JP28308798A JP2000112734A JP 2000112734 A JP2000112734 A JP 2000112734A JP 10283087 A JP10283087 A JP 10283087A JP 28308798 A JP28308798 A JP 28308798A JP 2000112734 A JP2000112734 A JP 2000112734A
Authority
JP
Japan
Prior art keywords
data
software
processing unit
basic fixed
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
JP10283087A
Other languages
Japanese (ja)
Inventor
Hiroyuki Takane
宏之 高根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10283087A priority Critical patent/JP2000112734A/en
Publication of JP2000112734A publication Critical patent/JP2000112734A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the need for correcting the entire software even if a data structure is changed by dividing the software between basic fixed software whose data structure is not changed and separately changeable software whose data structure can be changed according to a user. SOLUTION: A data storage managing device 3 is provided with a basic fixed data part 31 and a separately changeable data part 32. When a data structure used in the part 32 is changed, for instance, when a table column is added in a table structure in a relational database, it is necessary to change a separately changeable processing part 24 about the reference and updation of the table. When a column is added to the table, a specific unit is added to the data handling part of a part that handles the data reference and updation of the part 24. The basic fixed data part 31 and a basic fixed processing part 22 are not effected by them because they do not use the changed part, and the part 22 can operate in the same manner as before correction.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、C言語における構
造体、あるいはオブジェクト指向におけるクラスリレー
ショナルデータベースのテーブルのように分類あるいは
一定の形式に整えられたようなデータ構造の変更が可能
なソフトウェア作成方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of creating software capable of changing a data structure which is classified or arranged in a certain format like a structure in a C language or a table of an object-oriented class relational database. And an apparatus.

【0002】[0002]

【従来の技術】従来のソフトウェア作成は、データ構造
が変更された場合にソフトウェアも変更するようにして
いる。
2. Description of the Related Art In the conventional software creation, when a data structure is changed, the software is also changed.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述した従
来のソフトウェア作成方法にあっては、データ構造が変
更された場合にソフトウェア全体を修正しなければなら
ず、ソフトウェアの信頼性低下を引き起こす問題点があ
った。ソフトウェアにはデータ構造がソフトウェア利用
者ごとに変更されないソフトウェア(これを基本固定ソ
フトウェアという)と、ソフトウェア利用者ごとに使用
するデータ構造が変更され得るソフトウェア(これを個
別変更可能ソフトウェアという)とがあるが、従来はデ
ータ構造が変更された場合に基本固定ソフトウェアも修
正するようにしている。また、従来のソフトウェア作成
方法にあっては、図3に示すように、個別に修正された
ソフトウェアが複数個できてしまうと、それらを共通し
て修正することはできず、個別に修正を行なう必要があ
るので、このことからもソフトウエアの信頼性低下の原
因となっていた。
However, in the above-described conventional software creation method, when the data structure is changed, the entire software must be corrected, which causes a reduction in software reliability. was there. The software includes software whose data structure does not change for each software user (this is referred to as basic fixed software) and software whose data structure used for each software user can be changed (this is referred to as individually changeable software). However, conventionally, when the data structure is changed, the basic fixed software is also modified. In addition, in the conventional software creation method, as shown in FIG. 3, if a plurality of individually modified software are created, they cannot be modified in common, and are individually modified. Because of the necessity, this also caused a decrease in the reliability of the software.

【0004】そこで本発明は、データ構造が変更された
場合にソフトウェア全体を修正する必要のないソフトウ
ェア作成方法及び装置を提供することを目的としてい
る。
Accordingly, an object of the present invention is to provide a software creating method and apparatus which do not require modification of the entire software when the data structure is changed.

【0005】[0005]

【課題を解決するための手段】請求項1記載の発明のソ
フトウェア作成方法は、C言語における構造体あるいは
オブジェクト指向におけるリレーショナルデータベース
のテーブルのように分類あるいは一定の形式に整えられ
たようなデータ構造のソフトウェアを作成するソフトウ
ェア作成方法において、ソフトウエア処理で使用される
データを、ソフトウェア利用者によってデータ構造が変
更されない基本固定ソフトウェアとソフトウェア利用者
ごとにデータ構造が変更され得る個別変更可能ソフトウ
ェアとに分けることで、新規追加などでデータ構造が変
更された場合でも個別変更可能ソフトウェアのみ修正可
能とすることを特徴とする。
According to a first aspect of the present invention, there is provided a software creating method, wherein a data structure is classified or arranged in a fixed format like a structure in C language or a table of a relational database in object orientation. In the software creation method of creating software, the data used in the software processing is divided into basic fixed software whose data structure is not changed by the software user and individually changeable software whose data structure can be changed for each software user By dividing the data structure, only the individually changeable software can be modified even when the data structure is changed due to new addition or the like.

【0006】この方法によれば、ソフトウエア処理で使
用されるデータを、データ構造が変更されない基本固定
ソフトウェアとソフトウェア利用者ごとに使用するデー
タ構造が変更され得る個別変更可能ソフトウェアとを分
けることにより、データ構造が新規追加など変更された
場合でもソフトウェアを全面的に修正する必要はなく、
個別変更可能ソフトウェアのみ修正することで済ますこ
とができ、ソフトウェアをデータ構造変更に対して柔軟
に対応できる。また、基本固定ソフトウェアに手を加え
ないことにより、修正の影響がソフトウェア全体に及ば
ず、基本固定ソフトウェアはデータ構造が変更された後
も、これまで通りの動作が可能となる。同時に修正作業
を行うことで発生するソフトウェアの機能障害を個別変
更可能ソフトウェアのみに抑え、局所化することで機能
障害の解決を容易にして、ソフトウェア全体の信頼性を
保つことができる。
According to this method, data used in software processing is divided into basic fixed software whose data structure is not changed and individually changeable software whose data structure used for each software user can be changed. , There is no need to completely modify the software even if the data structure is changed such as new addition,
Only the individually changeable software can be corrected, and the software can flexibly respond to the data structure change. Further, by not modifying the basic fixed software, the modification does not affect the entire software, and the basic fixed software can operate as before even after the data structure is changed. Simultaneously, the software malfunctions caused by the correction work are reduced to individually changeable software, and the localization makes it easy to solve the malfunctions, thereby maintaining the reliability of the entire software.

【0007】請求項2記載のソフトウェア作成装置は、
C言語における構造体あるいはオブジェクト指向におけ
るリレーショナルデータベースのテーブルのように分類
あるいは一定の形式に整えられたようなデータ構造のソ
フトウェアを作成するソフトウェア作成装置において、
基本固定処理部が使用するデータ構造及び内容の情報を
記憶する基本固定データ部と、個別変更可能処理部が使
用するデータ構造及び内容の情報を記憶する個別変更可
能データ部と、キーボード等の入力装置から入力される
入力情報を前記基本固定処理部と前記個別変更可能処理
部のうちのどれが処理をするかを調べ、処理する方が分
るとその処理部へ前記入力情報を出力する入力処理部
と、前記個別変更可能処理部が前記基本固定データ部の
データを参照・更新するための仲介を行う基本固定デー
タ部参照更新処理部とを備え、前記基本固定処理部は、
前記入力処理部からの入力情報を受けると、基本固定デ
ータ部の参照・更新を行い、参照データや更新データを
用いた処理を行い、前記個別変更可能処理部は、前記入
力処理部からの入力情報を受けると、前記基本固定デー
タ部に属するデータか前記個別変更可能データ部に属す
るデータかにより前記基本固定データ部参照更新処理部
を使うか、あるいは直接自分で前記個別変更可能データ
部を使うかを判断し、前記個別変更可能データ部を使う
場合には、当該個別変更可能データ部に対してデータの
参照・更新を行って、これらのデータを用いた処理を行
い、前記基本固定データ部参照更新処理部を使う場合に
は、当該基本固定データ部参照更新処理部を用いて前記
基本固定データ部に対してデータの参照・更新を行っ
て、これらのデータを用いた処理を行うことを特徴とす
る。
[0007] According to a second aspect of the present invention, there is provided a software creating apparatus.
In a software creation apparatus for creating software having a data structure classified or arranged in a certain format like a structure in a C language or a table of a relational database in an object-oriented manner,
Basic fixed data section for storing information on data structure and contents used by the basic fixed processing section, individually changeable data section for storing information on data structure and contents used by the individually changeable processing section, and input from a keyboard or the like Which of the basic fixed processing unit and the individually changeable processing unit processes the input information input from the apparatus, and an input for outputting the input information to the processing unit if it is known that the processing is to be performed A processing unit, comprising a basic fixed data unit reference update processing unit that mediates for referencing and updating the data of the basic fixed data unit, wherein the individually changeable processing unit, the basic fixed processing unit,
Upon receiving the input information from the input processing unit, the reference / update of the basic fixed data unit is performed, the process using the reference data and the update data is performed, and the individually changeable processing unit receives the input from the input processing unit. When the information is received, the basic fixed data section reference update processing section is used depending on whether the data belongs to the basic fixed data section or the data belonging to the individually changeable data section, or the individual changeable data section is directly used by itself. In the case where the individual changeable data section is used, reference / update of data is performed on the individually changeable data section, processing using these data is performed, and the basic fixed data section is used. When the reference update processing unit is used, the basic fixed data unit is referred to and updated by using the basic fixed data unit reference update processing unit, and these data are updated. And performing processing using.

【0008】請求項3記載のソフトウェア作成装置は、
前記基本固定処理部の処理結果と前記個別変更可能処理
部の処理結果の出力を行う出力装置を更に備えたことを
特徴とする。
According to a third aspect of the present invention, there is provided a software creating apparatus comprising:
An output device for outputting a processing result of the basic fixed processing unit and a processing result of the individually changeable processing unit is further provided.

【0009】[0009]

【発明の実施の形態】次に、本発明の実施の形態につい
て図を参照して詳細に説明する。図1は本発明の実施の
形態のソフトウェア作成装置の構成を示すブロック図で
ある。この実施の形態のソフトウェア作成装置は、キー
ボード等の入力装置1と、プログラム制御により動作す
るソフトウェア処理装置2と、データを記憶するデータ
記憶管理装置3と、ソフトウェア処理装置2における処
理結果を出力するための出力装置(例えば、プリンタや
モニタ)4とを備えている。
Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a software creation device according to an embodiment of the present invention. The software creation device according to this embodiment outputs an input device 1 such as a keyboard, a software processing device 2 that operates under program control, a data storage management device 3 that stores data, and a processing result in the software processing device 2. (For example, a printer or a monitor) 4.

【0010】ソフトウェア処理装置2は、入力処理部2
1と、基本固定処理部22と、他のプログラムからの利
用を可能とする基本固定データ部参照更新処理部23
と、個別変更可能処理部24とを備えている。入力処理
部21は、入力装置1からの入力情報を基本固定処理部
22と個別変更可能処理部24のうちのどれが処理をす
るかを調べる。そして、処理する方が決まると、その処
理部に入力情報を出力する。基本固定処理部22は、デ
ータ記憶装置3の基本固定データ部31の参照・更新を
行い、参照データや更新データを用いた処理を行う。基
本固定データ部参照更新処理部23は、主に個別変更可
能処理部24がデータ記憶装置3の基本固定データ部3
1のデータを参照・更新するためものである。個別変更
可能処理部24はデータ記憶装置3の個別変更可能デー
タ部32の参照・更新を行い、参照データや更新データ
を用いた処理を行う。また、個別変更可能処理部24は
基本固定データ部参照更新処理部23を通して基本固定
データ部31のデータを使用する。ソフトウェア処理装
置2は、実際はCPUと、このCPUを動作させるため
のプログラムを記憶したROMとの読み出し専用のメモ
リと、CPUの動作において使用される書き込み可能な
RAM等のメモリとを備えており、入力処理部21、基
本固定処理部22、基本固定データ部参照更新処理部2
3及び個別変更可能処理部24の機能を有する。
The software processing device 2 includes an input processing unit 2
1, a basic fixed processing unit 22, and a basic fixed data unit reference update processing unit 23 that can be used by other programs.
And an individual changeable processing unit 24. The input processing unit 21 checks which of the basic fixed processing unit 22 and the individually changeable processing unit 24 processes the input information from the input device 1. Then, when it is determined that the processing is to be performed, the input information is output to the processing unit. The basic fixed processing unit 22 refers to and updates the basic fixed data unit 31 of the data storage device 3, and performs processing using reference data and updated data. The basic fixed data section reference update processing section 23 mainly includes an individual changeable processing section 24 in which the basic fixed data section 3 of the data storage device 3 is used.
This is for referencing / updating one data. The individually changeable processing unit 24 refers to and updates the individually changeable data unit 32 of the data storage device 3, and performs processing using reference data and update data. The individually changeable processing unit 24 uses the data of the basic fixed data unit 31 through the basic fixed data unit reference update processing unit 23. The software processing device 2 actually includes a CPU, a read-only memory of a ROM storing a program for operating the CPU, and a memory such as a writable RAM used in the operation of the CPU. Input processing unit 21, basic fixed processing unit 22, basic fixed data unit reference update processing unit 2
3 and the function of the individually changeable processing unit 24.

【0011】データ記憶管理装置3は、上述した基本固
定データ部31と個別変更可能データ部32とを備えて
いる。このデータ記憶管理装置3のデータ管理として
は、例えばリレーショナルデータベース管理システム、
オブジェクト指向データベース管理システム等がある。
基本固定データ部31はソフトウェア処理装置2の基本
固定処理部22が使用するデータ構造および内容の情報
を記憶している。個別変更可能データ部32はソフトウ
ェア処理装置2の個別変更可能処理部24が使用するデ
ータ構造および内容の情報を記憶している。
The data storage management device 3 includes the basic fixed data section 31 and the individually changeable data section 32 described above. As data management of the data storage management device 3, for example, a relational database management system,
There is an object-oriented database management system and the like.
The basic fixed data unit 31 stores information on the data structure and contents used by the basic fixed processing unit 22 of the software processing device 2. The individually changeable data section 32 stores information on the data structure and contents used by the individually changeable processing section 24 of the software processing device 2.

【0012】次に、本実施の形態の動作について説明す
る。まず、ソフトウェア処理装置2において、入力装置
1よりデータ処理を開始する情報が入力されると、入力
処理部21はその入力情報を基本固定処理部22と個別
変更可能処理部24のどちらで処理を行なうものかを調
べ、基本固定処理部22が処理するものであると判断す
ると、当該入力情報を基本固定処理部22に出力する。
基本固定処理部22は当該入力情報を受けると、データ
記憶装置3の基本固定データ部31に対してデータの参
照・更新を行い、基本固定データ部31のデータ、個別
変更可能データ部32のデータを用いて処理を行う。
Next, the operation of this embodiment will be described. First, in the software processing device 2, when information for starting data processing is input from the input device 1, the input processing unit 21 processes the input information by either the basic fixed processing unit 22 or the individually changeable processing unit 24. It is checked whether the processing is to be performed, and when it is determined that the processing is to be processed by the basic fixed processing unit 22, the input information is output to the basic fixed processing unit 22.
Upon receiving the input information, the basic fixed processing unit 22 refers to and updates the data in the basic fixed data unit 31 of the data storage device 3, and stores the data in the basic fixed data unit 31 and the data in the individually changeable data unit 32. The processing is performed using.

【0013】これに対して、個別変更可能処理部24が
処理するものであると判断すると、当該入力情報を個別
変更可能処理部24に出力する。個別変更可能処理部2
4は当該入力情報を受けると、データの種類により(即
ち基本固定データ部31に属するデータか個別変更可能
データ部32に属するデータかにより)基本固定データ
部参照更新処理部23を使うか、あるいは直接自分で個
別変更可能データ部32を使うかを判断し、個別変更可
能データ部32を使う場合には、当該個別変更可能デー
タ部32に対してデータの参照・更新を行って、これら
のデータを用いた処理を行い、基本固定データ部参照更
新処理部23を使う場合には、当該基本固定データ部参
照更新処理部23を用いて基本固定データ部31に対し
てデータの参照・更新を行って、これらのデータを用い
た処理を行う。基本固定処理部22または個別変更可能
処理部24で処理された結果は出力装置4から出力され
る。
On the other hand, when it is determined that the individual changeable processing section 24 performs the processing, the input information is output to the individually changeable processing section 24. Individually changeable processing unit 2
4 receives the input information, uses the basic fixed data section reference update processing section 23 depending on the type of data (that is, depending on whether the data belongs to the basic fixed data section 31 or the data belonging to the individually changeable data section 32), or It is determined whether or not to use the individually changeable data section 32 directly. If the individually changeable data section 32 is to be used, the data is referred to / updated with respect to the individually changeable data section 32 and these data are updated. When the basic fixed data part reference update processing unit 23 is used, the basic fixed data part reference update processing unit 23 is used to refer to and update data in the basic fixed data part 31. Then, processing using these data is performed. The result processed by the basic fixed processing unit 22 or the individually changeable processing unit 24 is output from the output device 4.

【0014】以上が基本的なソフトウェアの構造である
が、データ構造を変更した場合について説明する。ま
ず、個別変更可能データ部32において使用されている
データ構造に変更がある場合について説明する。例とし
てリレーショナルデータベースにおけるテーブル構造に
おいて、テーブルに列を追加した場合について考える。
この場合、そのテーブルの参照・更新に関する個別変更
可能処理部24を変更することが必要となる。通常、テ
ーブル構造が図2(イ)のような場合、それに対応する
処理部の中でテーブルの列構造に対応したデータ取扱単
位を持っている。なお、データ取扱単位はプログラムの
中で処理するときのデータの単位である。この場合、例
えばデータをリレーショナルデータベースのテーブルの
レコードとして持っていてもそのレコードがそのままプ
ログラムの中で処理できるとは限らないので、レコード
に対応した構造体あるいはクラスあるいは変数の集まり
等のプログラムで使える処理単位に変換することが必要
である。C言語あるいはBASIC等のプログラミング
言語においてはデータ構造体等がこれらのデータ取扱単
位を表現したものに該当する。
The above is the basic software structure. The case where the data structure is changed will be described. First, a case where the data structure used in the individually changeable data unit 32 is changed will be described. As an example, consider a case where a column is added to a table in a table structure in a relational database.
In this case, it is necessary to change the individually changeable processing unit 24 for referring to and updating the table. Usually, when the table structure is as shown in FIG. 2A, the corresponding processing unit has a data handling unit corresponding to the column structure of the table. The data handling unit is a unit of data when processing in a program. In this case, for example, even if data is held as a record in a relational database table, it is not always possible to process the record as it is in a program, so it can be used in a program such as a structure or a class or a collection of variables corresponding to the record It is necessary to convert to processing units. In a programming language such as C language or BASIC, a data structure or the like corresponds to a representation of these data handling units.

【0015】さて、図2(ロ)に示すように、テーブル
に列Fを追加した場合に個別変更可能処理部24中のデ
ータ参照・更新を扱う部分のデータ取扱単位にfを追加
すれば対応可能である。この際、基本固定データ部31
及び基本固定処理部22は変更した部分を使用していな
いためにこれらの影響を受けない。したがって、基本固
定部分処理部22は修正前と同様に動作可能である。
As shown in FIG. 2B, when the column F is added to the table, it is possible to add f to the data handling unit of the data handling / updating unit in the individually changeable processing unit 24. It is possible. At this time, the basic fixed data part 31
The basic fixed processing unit 22 does not use the changed part, and thus is not affected by the above. Therefore, the basic fixed partial processing unit 22 can operate in the same manner as before the correction.

【0016】次に、最初は同じソフトウェアだったが、
それぞれ別々に個別変更可能データ部32(及び個別変
更可能処理部24)が修正された二つのソフトウェアに
ついて考える。この場合、入力処理部21、基本固定処
理部22、基本固定データ部参照更新処理部23、個別
変更可能処理部24を併せて一つのソフトウェアと考え
る。このうち、個別変更可能データ部32が32→32
Aに変更に応じた変更として、24→24Aと変更され
たソフトウェアを一つのソフトウェア(21,22,2
3,24A)とし、また個別変更可能データ部32が3
2→32Bに変更に応じた変更として、24→24Bと
変更されたソフトウェアを一つのソフトウェア(21,
22,23,24B)と考え、両方合わせて二つのソフ
トウェアとしている。
Next, the same software was used at first,
Consider two pieces of software in which the individually changeable data section 32 (and the individually changeable processing section 24) are individually corrected. In this case, the input processing unit 21, the basic fixed processing unit 22, the basic fixed data unit reference update processing unit 23, and the individually changeable processing unit 24 are considered as one piece of software. Of these, the individually changeable data section 32 is 32 → 32
A, the software changed from 24 to 24A is changed to one software (21, 22, 2).
3, 24A), and the individually changeable data section 32
As a change corresponding to the change from 2 to 32B, the software changed from 24 to 24B is replaced with one software (21,
22, 23, 24B), and both are combined into two software.

【0017】また、このとき基本固定処理部22につい
ては個別変更が入っていないので同じ処理部のままであ
る。この基本固定処理部22に新規機能を追加した新し
い版に置き換えるものとする。すなわち、最初のソフト
ウェアではできなかった処理をできるようにした、つま
り新規機能を付け加えたソフトウェアを代わりに使う
(使えるように)する。通常、バーションアップという
言葉が使われる。どちらのソフトウェアに関しても基本
固定処理部22は個別変更可能処理部24や個別変更可
能データ部32を使用していないため、片方で動作可能
ならばもう一方でも動作可能である。すなわち、通常、
一つのソフトウェアに複数個の変更が加えられ、異なる
複数の版ができた場合(A→A1、A→A2)、一つの
作業で両方に(A1、A2の双方に)適用できるような
変更を加えることはできず、それぞれに加えられた変更
に対応するような(共通ではなく)、別個の作業を行う
必要がある。即ちある版で変更後に動作可能であって
も、それがまた別の版で動作可能とは限らない。しか
し、この実施の形態では別個の作業を行う必要はなく、
基本固定処理部22に加えられた1回の作業で変更され
て動作可能な部分は、個別変更可能処理部24に別々の
変更が加えられたとしても動作可能である。したがっ
て、修正作業は1回で済み、個別のソフトウェアごとに
行う必要はない。
At this time, since the basic fixed processing section 22 has not been individually changed, it remains the same processing section. It is assumed that the basic fixed processing unit 22 is replaced with a new version in which a new function is added. That is, processing that could not be done with the first software can be performed, that is, software with new functions added is used instead (to be usable). Usually, the word version up is used. Regarding either software, the basic fixed processing unit 22 does not use the individually changeable processing unit 24 or the individually changeable data unit 32, so that if one can operate, the other can operate. That is,
If multiple changes are made to one software and different versions are made (A → A1, A → A2), change that can be applied to both (both A1 and A2) in one operation They cannot be added and require separate (not common) work to respond to each change. That is, even if it is operable after a change in one version, it is not necessarily operable in another version. However, there is no need to perform a separate task in this embodiment,
The part that can be changed and operated in one operation added to the basic fixed processing part 22 can be operated even if the individual changeable processing part 24 is separately changed. Therefore, the correction work is performed only once, and need not be performed for each piece of software.

【0018】一方、基本データ部参照更新処理部23の
出力に関しては変更しないことが必要である。これは出
力に関してはそれぞれ別個に変更される個別変更可能処
理部24が使用しているからである。したがって、基本
データ部参照更新処理部23が参照・更新する基本固定
データ部31に関してはデータ構造に追加することはで
きるが、削除はできない。追加に関してはそれらのデー
タは個別変更可能処理部24は入力として受け取ってい
ないので、基本固定データ部31の修正後も基本データ
部参照更新処理部23において出力しないような対応で
良いが、削除した場合は入力として受け取るデータが無
くなってしまうためである。
On the other hand, it is necessary to keep the output of the basic data section reference update processing section 23 unchanged. This is because the output is used by the individually changeable processing unit 24 which is individually changed. Therefore, the basic fixed data section 31 referred to and updated by the basic data section reference update processing section 23 can be added to the data structure, but cannot be deleted. Regarding addition, since the individual changeable processing unit 24 does not receive such data as an input, it is sufficient that the basic fixed data unit 31 does not output the data even after the modification of the basic fixed data unit 31. In this case, data received as input is lost.

【0019】このように、ソフトウェアにおいては修正
を行った場合の信頼性低下が大きな問題であるが、基本
固定処理部22を変更しないこと及び基本固定処理部2
2は個別変更可能処理部24の変更による影響を受けな
いことにより、基本固定処理部22の動作安定性を修正
前と同じレベルに保つことができる。また、個別変更可
能処理部24をそれぞれ別個に修正した後に基本固定処
理部22に新規機能が加わる等、基本固定処理部22の
修正を行いたい場合、(個別の変更を行ったため)全体
としてはそれぞれ違うソフトウェアに対しても基本固定
処理部22の入れ替えによる共通のソフトウェアの修正
として行うことができる。従来技術では一度別々の変更
が加えられたソフトウェアを共通に修正することができ
なかったが、本発明では、個々の利用者によりプログラ
ムに変更が加えられる変更可能部分と変更されない基本
固定部分とに分けているため、個々に変更されない基本
固定部分に着目して、機能追加のような共通的な修正を
行うことができる。
As described above, in the software, a serious problem is that the reliability is reduced when the correction is performed. However, the basic fixed processing unit 22 is not changed and the basic fixed processing unit 2 is not changed.
2 is not affected by the change of the individually changeable processing unit 24, so that the operation stability of the basic fixed processing unit 22 can be maintained at the same level as before the correction. Further, when it is desired to modify the basic fixed processing unit 22 such that a new function is added to the basic fixed processing unit 22 after individually modifying the individually changeable processing units 24 individually (because the individual change is performed), The modification of the common software by replacing the basic fixed processing unit 22 can be performed on different software. In the prior art, software that had been once changed separately could not be modified in common.However, in the present invention, a changeable portion in which a program is changed by an individual user and a basic fixed portion in which no change is made. Since they are divided, common corrections such as addition of functions can be performed by focusing on basic fixed portions that are not individually changed.

【0020】なお、上記実施の形態では、データ構造の
変更例としてリレーショナルデータベースの列追加を挙
げたが、列追加に限らず、列削除あるいは列の属性変更
など何らかのテーブル構造の変更に対しても同様に実施
の形態中の個別変更可能処理部24の個別変更可能デー
タ部参照更新機能における修正により対応するることが
できる。またテーブル構造を用いるリレーショナルデー
タベースに限らず何らかの別の形式のデータあるいはデ
ータベース管理システムに対しても同様に対応可能であ
る。また、上記実施の形態において、出力装置4はプリ
ンタやモニタに限定されず、データベースでも構わな
い。
In the above embodiment, an example of changing the data structure is the addition of a column in a relational database. However, the present invention is not limited to the addition of a column, and may be applied to any change in a table structure such as a column deletion or a column attribute change. Similarly, it is possible to cope with this by modifying the individually changeable data section reference update function of the individually changeable processing section 24 in the embodiment. Further, the present invention is not limited to a relational database using a table structure, but can be applied to data of any other format or a database management system. In the above embodiment, the output device 4 is not limited to a printer or a monitor, but may be a database.

【0021】[0021]

【発明の効果】本発明によれば、ソフトウエア処理で使
用されるデータを、データ構造が変更されない基本固定
ソフトウェアとソフトウェア利用者ごとに使用するデー
タ構造が変更され得る個別変更可能ソフトウェアとを分
けたので、データ構造が新規追加など変更された場合で
もソフトウェアを全面的に修正する必要はなく、個別変
更可能ソフトウェアのみ修正することで済ますことがで
き、ソフトウェアをデータ構造変更に対して柔軟に対応
できる。また、基本固定ソフトウェアに手を加えないこ
とにより、修正の影響がソフトウェア全体に及ばず、基
本固定ソフトウェアはデータ構造が変更された後も、こ
れまで通りの動作が可能となる。同時に修正作業を行う
ことで発生するソフトウェアの機能障害を個別変更可能
ソフトウェアのみに抑え、局所化することで機能障害の
解決を容易にして、ソフトウェア全体の信頼性を保つこ
とができる。
According to the present invention, data used in software processing is divided into basic fixed software whose data structure is not changed and individually changeable software whose data structure used for each software user can be changed. Therefore, even when the data structure is changed such as new addition, it is not necessary to completely modify the software, only the individually changeable software can be modified, and the software can flexibly respond to the data structure change it can. Further, by not modifying the basic fixed software, the modification does not affect the entire software, and the basic fixed software can operate as before even after the data structure is changed. Simultaneously, the software malfunctions caused by the correction work are reduced to individually changeable software, and the localization makes it easy to solve the malfunctions, thereby maintaining the reliability of the entire software.

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

【図1】 実施の形態のソフトウェア作成装置の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a software creation device according to an embodiment.

【図2】 同実施の形態のソフトウェア作成装置の動作
説明図である。
FIG. 2 is an explanatory diagram of an operation of the software creation device of the embodiment.

【図3】 従来のソフトウェア作成方法の問題点を説明
するための図である。
FIG. 3 is a diagram for explaining a problem of a conventional software creation method.

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

1 入力装置 2 ソフトウェア処理装置 3 データ記憶管理装置 4 出力装置 21 入力処理部 22 基本固定処理部 23 基本固定データ部参照更新処理部 24 個別変更可能処理部 31 基本固定データ部 32 個別変更可能データ部 DESCRIPTION OF SYMBOLS 1 Input device 2 Software processing device 3 Data storage management device 4 Output device 21 Input processing part 22 Basic fixed processing part 23 Basic fixed data part reference update processing part 24 Individual changeable processing part 31 Basic fixed data part 32 Individual changeable data part

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 C言語における構造体あるいはオブジェ
クト指向におけるリレーショナルデータベースのテーブ
ルのように分類あるいは一定の形式に整えられたような
データ構造のソフトウェアを作成するソフトウェア作成
方法において、 ソフトウエア処理で使用されるデータを、ソフトウェア
利用者によってデータ構造が変更されない基本固定ソフ
トウェアとソフトウェア利用者ごとにデータ構造が変更
され得る個別変更可能ソフトウェアとに分けることで、
新規追加などでデータ構造が変更された場合でも個別変
更可能ソフトウェアのみ修正可能とすることを特徴とす
るソフトウェア作成方法。
1. A software creation method for creating software having a data structure that is classified or arranged in a fixed format like a structure in the C language or a table of an object-oriented relational database, is used in software processing. By dividing the data into basic fixed software whose data structure is not changed by the software user and individually changeable software whose data structure can be changed for each software user,
A software creation method characterized in that only individually changeable software can be modified even when the data structure is changed due to new addition or the like.
【請求項2】 C言語における構造体あるいはオブジェ
クト指向におけるリレーショナルデータベースのテーブ
ルのように分類あるいは一定の形式に整えられたような
データ構造のソフトウェアを作成するソフトウェア作成
装置において、 基本固定処理部が使用するデータ構造及び内容の情報を
記憶する基本固定データ部と、 個別変更可能処理部が使用するデータ構造及び内容の情
報を記憶する個別変更可能データ部と、 キーボード等の入力装置から入力される入力情報を前記
基本固定処理部と前記個別変更可能処理部のうちのどれ
が処理をするかを調べ、処理する方が分るとその処理部
へ前記入力情報を出力する入力処理部と、 前記個別変更可能処理部が前記基本固定データ部のデー
タを参照・更新するための仲介を行う基本固定データ部
参照更新処理部と、を備え、 前記基本固定処理部は、前記入力処理部からの入力情報
を受けると、基本固定データ部の参照・更新を行い、参
照データや更新データを用いた処理を行い、 前記個別変更可能処理部は、前記入力処理部からの入力
情報を受けると、前記基本固定データ部に属するデータ
か前記個別変更可能データ部に属するデータかにより前
記基本固定データ部参照更新処理部を使うか、あるいは
直接自分で前記個別変更可能データ部を使うかを判断
し、前記個別変更可能データ部を使う場合には、当該個
別変更可能データ部に対してデータの参照・更新を行っ
て、これらのデータを用いた処理を行い、前記基本固定
データ部参照更新処理部を使う場合には、当該基本固定
データ部参照更新処理部を用いて前記基本固定データ部
に対してデータの参照・更新を行って、これらのデータ
を用いた処理を行うことを特徴とするソフトウェア作成
装置。
2. A basic fixed processing unit is used in a software creation device for creating software having a data structure classified or arranged in a fixed format like a structure in a C language or a table of a relational database in an object orientation. Fixed data section for storing data structure and contents information to be stored, individually changeable data section for storing data structure and contents information used by the individually changeable processing section, and input from an input device such as a keyboard. An input processing unit that checks which of the basic fixed processing unit and the individually changeable processing unit processes the information, and outputs the input information to the processing unit when it is determined that the processing is to be performed; Basic fixed data that mediates for the changeable processing unit to refer to and update the data of the basic fixed data unit A reference update processing unit, wherein the basic fixed processing unit, upon receiving input information from the input processing unit, performs reference / update of the basic fixed data unit, and performs processing using reference data and updated data. Receiving the input information from the input processing unit, the individual changeable processing unit determines whether the data belongs to the basic fixed data unit or the individually changeable data unit. To determine whether to use the individually modifiable data section directly or to use the individually modifiable data section, and when using the individually modifiable data section, refer to and update the data for the individually modifiable data section. When performing the processing using these data and using the basic fixed data section reference update processing section, the basic fixed data section reference update processing section is used to execute the basic fixed data section reference update processing section. Against and performs reference and update the data, the software creation device and performs the processing using these data.
【請求項3】 前記基本固定処理部の処理結果と前記個
別変更可能処理部の処理結果の出力を行う出力装置を更
に備えたことを特徴とする請求項2記載のソフトウェア
作成装置。
3. The software creating apparatus according to claim 2, further comprising an output device that outputs a processing result of the basic fixed processing unit and a processing result of the individually changeable processing unit.
JP10283087A 1998-10-05 1998-10-05 Method and device for generating software Pending JP2000112734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10283087A JP2000112734A (en) 1998-10-05 1998-10-05 Method and device for generating software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10283087A JP2000112734A (en) 1998-10-05 1998-10-05 Method and device for generating software

Publications (1)

Publication Number Publication Date
JP2000112734A true JP2000112734A (en) 2000-04-21

Family

ID=17661057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10283087A Pending JP2000112734A (en) 1998-10-05 1998-10-05 Method and device for generating software

Country Status (1)

Country Link
JP (1) JP2000112734A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012108907A (en) * 2010-11-18 2012-06-07 Korea Electronics Telecommun User feedback-based dynamic economical system reconfiguration method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012108907A (en) * 2010-11-18 2012-06-07 Korea Electronics Telecommun User feedback-based dynamic economical system reconfiguration method

Similar Documents

Publication Publication Date Title
US6754848B1 (en) Method, system and program products for operationally migrating a cluster through emulation
JP2007102625A (en) Method and device for updating control program of nc machine tool
JP4102137B2 (en) Control program creation support system and support method thereof
JP2000112734A (en) Method and device for generating software
JP3704374B2 (en) Document management system
JPH0394377A (en) Map file updating system
JP3999477B2 (en) Control program creation system, apparatus, method, recording medium, and program
JP4735155B2 (en) Display device and character string database redefinition method
JP2555877B2 (en) Program specialization method
JP2641995B2 (en) Screen control method and screen control device
JPH05165615A (en) Patch revision management system for load module
JPH05120067A (en) Program patching system
JP2002342392A (en) Method and device for managing drawing, and control program
JP2695525B2 (en) Program module management device
JP2000082000A (en) Schema data control system in information resource management system
JPH0561657A (en) Program editing system
JPH11224326A (en) Electronic filing device
JPS6345603A (en) Program storing system for programmable controller
JPH03142628A (en) Preparing device for latest source file
JPH1031513A (en) User interface system for monitor control system
JPH05274122A (en) Method for mutual conversion of information and device therefor
JP2005190178A (en) Data maintenance apparatus, data maintenance method and data maintenance program
JPH05289887A (en) Data management device
JPH04367029A (en) Programming device for programmable controller
JPH01288922A (en) Revision matching system for computer system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020813