JP2000181695A - Device and method for managing software part updating and recording medium - Google Patents

Device and method for managing software part updating and recording medium

Info

Publication number
JP2000181695A
JP2000181695A JP10361651A JP36165198A JP2000181695A JP 2000181695 A JP2000181695 A JP 2000181695A JP 10361651 A JP10361651 A JP 10361651A JP 36165198 A JP36165198 A JP 36165198A JP 2000181695 A JP2000181695 A JP 2000181695A
Authority
JP
Japan
Prior art keywords
input data
software component
information
version
data conversion
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
JP10361651A
Other languages
Japanese (ja)
Inventor
Jun Miyajima
純 宮嶋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10361651A priority Critical patent/JP2000181695A/en
Publication of JP2000181695A publication Critical patent/JP2000181695A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To cope with the change of input data with small work quantity even if in put data is changed in accordance with the specification change of a software part. SOLUTION: A main body part 102 reads a file 107 consisting of input data of a software part A and its version information 112, and when the file 107 is transferred to a software part 103, the part 102 makes an input data converting part 104 perform the work to convert the input data of the software part A into the input data of a software part A". An input data converting part 104 refers to version information 113 and input data conversion information 105 included in the part A", and converts data into input data 111 of the part A", and the part A" reads the input data 111.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ソフトウェア部
品の入力データの形式と、それに与えるファイル内の入
力データの形式が異なる場合のバージョンアップの管理
に特徴を有するソフトウェア部品のバージョンアップ管
理装置及び方法並びに記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software component version upgrade management apparatus and method which is characterized in version upgrade management when the format of input data of a software component and the format of input data in a file given to the software component are different. And a recording medium.

【0002】[0002]

【従来の技術】ソフトウェア部品は、データを入力し、
そのデータを計算し、それら計算から何らかの計算結果
を出力するものであって、例えばパーソナルコンピュー
タ等の計算機にインストールされた(アプリケーショ
ン)ソフトウェアプログラムを実行することによって実
現される。そして、その入力のデータの形式は、その部
品に対応したものでなければならない。そのため、ソフ
トウェア部品が変更され、入力するデータの仕様も変更
されれば、古い入力データ形式のままでは新しいソフト
ウェア部品では使えない。
2. Description of the Related Art Software components input data,
The data is calculated, and some calculation result is output from the calculation, and is realized by executing an (application) software program installed in a computer such as a personal computer. Then, the format of the input data must be compatible with the component. Therefore, if the software component is changed and the specification of the input data is also changed, the old input data format cannot be used with the new software component.

【0003】このような、入力データの形式の変更を伴
うソフトウェア部品の仕様の変更は決して少なくはな
い。
[0003] Such changes in the specifications of software components accompanying changes in the format of input data are not small.

【0004】このような仕様変更をしたソフトウェア部
品で過去の形式の入力データを扱おうとした場合、図1
1のように過去の形式の入力データを現在のソフトウェ
ア部品の仕様に合うように変換をし、その上でソフトウ
ェア部品に入力データとして渡すのが一般的である。
[0004] When an attempt is made to handle input data in the past format with a software component having such a specification change, FIG.
Generally, input data in the past format is converted so as to conform to the specifications of the current software component, as in 1, and then passed to the software component as input data.

【0005】このように古いバージョンのソフトウェア
の入力データを現在のバージョンのソフトウェアの入力
データに合わせるという方法は、現在のワープロソフト
や表計算ソフトなどの一般的なアプリケーションで用い
られており、既成の事実である。
The method of matching the input data of the old version of the software with the input data of the current version of the software is used in general applications such as current word processing software and spreadsheet software. It is a fact.

【0006】ここで、図2のようなソフトウェアの構造
を考えてみる。装置全体は本体部とソフトウェア部品か
ら構成されており、ファイル上にはソフトウェア部品の
入力データが含まれている。そしてソフトウェア部品自
身にはファイルから読み込むという機能は持っておら
ず、必ず本体部を介してからデータを受け取るという構
造になっている。
Here, consider the software structure as shown in FIG. The entire apparatus is composed of a main unit and software components, and the file contains input data of the software components. The software component itself does not have a function of reading from a file, but has a structure in which data is always received via the main body.

【0007】このようなソフトウェアの構造はグラフィ
カルユーザインターフェースの編集を行なう装置、(特
開平5−224904)やCADなどのソフトウェア部
品を必要とする装置では良く用いられる。
[0007] Such a software structure is often used in an apparatus for editing a graphical user interface, an apparatus requiring software components such as Japanese Patent Laid-Open No. 5-224904, and CAD.

【0008】[0008]

【発明が解決しようとする課題】このようなモデルにお
いて、本体部に付属しているソフトウェア部品の仕様が
変更され、過去のソフトウェア部品の入力データの形式
と現在のソフトウェア部品の入力データの形式が異なっ
ている場合、いくつかの対応策が考えられる。
In such a model, the specification of the software component attached to the main body is changed, and the format of the input data of the past software component and the format of the input data of the current software component are changed. If they are different, several countermeasures are possible.

【0009】第一の方法は図3のように本体部、ソフト
ウェア部品とは別に、変換プログラムを用意し、ファイ
ル内の過去のソフトウェア部品の入力データを現在のソ
フトウェア部品の入力データに変換するという方法であ
る。
In the first method, as shown in FIG. 3, a conversion program is prepared separately from the main unit and software components, and input data of past software components in a file is converted into input data of current software components. Is the way.

【0010】この方法はプログラムおよび装置開発者に
とって、ソフトウェア部品のバージョンアップと同時
に、新しい入力データに対応した変換プログラムも開発
する負担が生じる。また、プログラムおよび装置使用者
にとってソフトウェア部品のバージョンアップのたびに
変換プログラムを起動するという負担を課すことにな
る。
This method places a burden on program and device developers to develop a conversion program corresponding to new input data at the same time as upgrading software components. In addition, a burden is imposed on the user of the program and the apparatus to activate the conversion program each time the software component is upgraded.

【0011】このため、この方法は開発者、使用者の両
方に負担をかける。
Therefore, this method places a burden on both the developer and the user.

【0012】第二の方法は図4のように、ファイル内の
古いソフトウェアの入力データを新しいソフトウェア部
品の入力データに変換するプログラムを本体部に内蔵す
るという方法である。この方法を用いると、プログラム
および装置使用者にとってはソフトウェア部品のバージ
ョンを気にすることなく利用することができるというメ
リットがある。しかし、プログラムおよび装置開発者に
とっては、ソフトウェア部品をバージョンアップすると
同時に、本体部にも手を加える必要がある。
In the second method, as shown in FIG. 4, a program for converting input data of old software into input data of new software components in a file is built in the main body. The use of this method has an advantage that the user of the program and the apparatus can use the software component without worrying about the version. However, it is necessary for the program and device developer to upgrade the software component and to modify the main body at the same time.

【0013】第三の方法は図5のように、今までのソフ
トウェア部品から新しい形式の入力データを必要とする
ソフトウェア部品にバージョンアップを行なう場合、今
までのソフトウェア部品を残し、新たなソフトウェア部
品と追加するという方法が考えられる。この方法でも第
二の方法と同様に使用者側はファイル内の入力データの
形式を気にすることはない。またプログラムおよび装置
開発者にとっても、新たに追加したソフトウェア部品の
ほかには、本体部に入力データをどちらのソフトウェア
部品に渡すかという判断ルーチンを付け加えるだけで良
いので、さほど大きな作業量にはならない。
In the third method, as shown in FIG. 5, when performing a version upgrade from a conventional software component to a software component requiring input data of a new format, the existing software component is left and a new software component is left. The method of adding is considered. In this method, similarly to the second method, the user does not care about the format of the input data in the file. Also, for program and equipment developers, in addition to the newly added software components, it is only necessary to add a routine for determining which software component to pass the input data to the main unit, so it does not require a large amount of work .

【0014】しかし、この方法では過去のソフトウェア
部品と新しいソフトウェア部品の違いがさほどないにし
ても、次々に追加するため、プログラムおよび装置が大
きくなりやすいというデメリットがある。
[0014] However, in this method, even if there is not much difference between the past software component and the new software component, since they are added one after another, there is a demerit that the program and the device tend to be large.

【0015】このように従来の技術では、ソフトウェア
部品の仕様変更に伴う開発者および使用者の作業量が大
きくなりやすい、あるいは装置を大きくしなければなら
ないという問題があった。このため、新しいプログラム
および装置、方法の存在が望まれていた。
As described above, according to the conventional technique, there is a problem that the workload of a developer and a user tends to increase due to a change in the specification of a software component, or the size of the apparatus must be increased. Therefore, the existence of a new program, device, and method has been desired.

【0016】このように従来の方法では、ソフトウェア
部品のバージョンアップにより入力データの形式が異な
った場合、過去の入力データとの互換性を持たせるため
に多くの作業量が生じていた。
As described above, in the conventional method, when the format of the input data is different due to the version upgrade of the software component, a large amount of work is required to make the input data compatible with the past input data.

【0017】またソフトウェア部品のバージョンアップ
は1度ではなく、複数回行われる可能性があるため、ど
のバージョンのソフトウェア部品の入力データが含まれ
るファイルを本体部が読み込んでも、現在のソフトウェ
ア部品が対応できるようになっていなければならなかっ
た。
Since the software component version upgrade may be performed not once but a plurality of times, even if the main unit reads a file containing input data of any version of the software component, the current software component is compatible. I had to be able to do it.

【0018】本発明の目的は、以上のような問題を解消
したソフトウェア部品のバージョンアップ管理装置及び
方法並びに記録媒体を提供することにある。
An object of the present invention is to provide a software component version upgrade management apparatus and method, and a recording medium that solve the above problems.

【0019】[0019]

【課題を解決するための手段】本発明は上記課題を解消
するため、上記のソフトウェアのモデルに付いて、図1
2のような構造を提案する。
According to the present invention, in order to solve the above-mentioned problem, the software model shown in FIG.
A structure like 2 is proposed.

【0020】すなわち、請求項1の発明は、バージョン
情報と入力データ変換情報を有するソフトウェア部品
と、前記ソフトウェア部品にファイル内の入力データを
入力する際に、当該ファイル内のバージョン情報と前記
ソフトウェア部品内のバージョン情報とが異なる場合
は、前記入力データ変換情報に基づいて、前記入力デー
タの形式を変換する入力データ変換部とを具えたことを
特徴とする。
That is, according to the present invention, a software component having version information and input data conversion information, and, when input data in a file is input to the software component, the version information in the file and the software component When the version information is different from the version information, an input data conversion unit for converting the format of the input data based on the input data conversion information is provided.

【0021】また請求項2の発明は、請求項1におい
て、前記入力データ変換情報の構造が配列状になってい
ることを特徴とする。
According to a second aspect of the present invention, in the first aspect, the structure of the input data conversion information is an array.

【0022】さらに請求項3の発明は、請求項1または
2において、前記入力データ変換部は、前記入力データ
変換情報の要素の型が前記ソフトウェア部品と前記入力
データに係るソフトウェア部品とで異なっていた場合、
その型変換を行なうことを特徴とする。
According to a third aspect of the present invention, in the first or second aspect, the input data conversion section differs in the type of the element of the input data conversion information between the software component and the software component related to the input data. If
The type conversion is performed.

【0023】さらに請求項4の発明は、請求項1〜3の
いずれかにおいて、前記入力データ変換部が前記入力デ
ータの形式を前記ソフトウェア部品の入力データの形式
に変換する際に、外部にデータ変換を行なうか否かを通
知するインターフェースを更に有することを特徴とす
る。
According to a fourth aspect of the present invention, in any one of the first to third aspects, when the input data conversion unit converts the format of the input data into the input data format of the software component, An interface for notifying whether or not to perform conversion is further provided.

【0024】さらに請求項5の発明は、バージョン情報
と入力データ変換情報を有するソフトウェア部品にファ
イル内の入力データを入力する際に、当該ファイル内の
バージョン情報と前記ソフトウェア部品内のバージョン
情報とが異なる場合は、前記入力データ変換情報に基づ
いて、前記入力データの形式を変換することを特徴とす
る。
According to a fifth aspect of the present invention, when input data in a file is input to a software component having version information and input data conversion information, the version information in the file and the version information in the software component are changed. If different, the format of the input data is converted based on the input data conversion information.

【0025】さらに請求項6の発明は、請求項5におい
て、前記入力データ変換情報の構造が配列状になってい
ることを特徴とする。
Further, the invention of claim 6 is characterized in that, in claim 5, the structure of the input data conversion information is arrayed.

【0026】さらに請求項7の発明は、請求項5または
6において、前記入力データ変換に際して、前記入力デ
ータ変換情報の要素の型が前記ソフトウェア部品と前記
入力データに係るソフトウェア部品とで異なっていた場
合、その型変換を行なうことを特徴とする。
According to a seventh aspect of the present invention, in the fifth or sixth aspect, at the time of the input data conversion, the type of the element of the input data conversion information is different between the software component and the software component related to the input data. In this case, the type conversion is performed.

【0027】さらに請求項8の発明は、請求項5〜7の
いずれかにおいて、前記入力データの形式を前記ソフト
ウェア部品の入力データの形式に変換する際に、外部に
データ変換を行なうか否かを通知することを特徴とす
る。
According to an eighth aspect of the present invention, in any one of the fifth to seventh aspects, when converting the format of the input data into the format of the input data of the software component, whether or not to perform external data conversion Is notified.

【0028】さらに請求項9の発明は、請求項5〜8の
いずれかの方法をコンピュータ上で動作させるためのプ
ログラムを記録した記録媒体を特徴とする。
A ninth aspect of the present invention is a recording medium storing a program for causing a computer to execute the method according to any one of the fifth to eighth aspects.

【0029】なお、請求項1の発明では、ソフトウェア
部品のバージョンアップにより過去のソフトウェア部品
が必要とする入力データの形式と現在のソフトウェア部
品が必要とする入力データの形式が異なり、過去のソフ
トウェア部品の入力データが保存されているファイルを
現在のソフトウェア部品に読み込んでも自動的に現在の
ソフトウェア部品の入力データの形式に過去のソフトウ
ェア部品の入力データを変換できる。
According to the first aspect of the present invention, the format of the input data required by the past software component differs from the format of the input data required by the current software component due to the version upgrade of the software component, and Even if a file in which the input data is stored is read into the current software component, the input data of the past software component can be automatically converted into the format of the input data of the current software component.

【0030】また、請求項2では、ソフトウェア部品の
入力データ変換情報の構造を配列状にしたため、どのバ
ージョンのソフトウェア部品の入力データが含まれるフ
ァイルを読み込んでも、現在のソフトウェア部品の入力
データ形式に変換できるバージョンアップ管理が行なえ
るようにできる。すなわち、例えば、ソフトウェア部品
のバージョンアップを2回以上繰り返したことにより、
ソフトウェア部品の入力データの形式が3つ以上存在す
る場合、どのバージョンのソフトウェア部品の入力デー
タが含まれるファイルを本体部が読み込んでも、現在の
ソフトウェア部品の入力データ形式に変換できる。
According to the second aspect, the structure of the input data conversion information of the software component is arranged in an array, so that even if a file containing the input data of any version of the software component is read, the input data format of the current software component is changed. Version upgrade management that can be converted can be performed. That is, for example, by repeating the software component version upgrade twice or more,
When there are three or more input data formats of software components, the input data format of the current software components can be converted even if the main body reads a file containing input data of any version of the software components.

【0031】すなわち、本発明はソフトウェア部品の入
力データの形式が、仕様変更に伴い変わっても、上記構
成のように、入力データ変換部と、入力データを変換す
るための情報を含むソフトウェア部品とに分離したたた
め、ソフトウェア部品の修正を加えるだけで、過去のソ
フトウェア部品の入力データが記述されているファイル
を、現在のソフトウェア部品に読みこむことが可能とな
っている。
That is, the present invention provides an input data conversion unit and a software component including information for converting input data, as described above, even if the format of the input data of the software component changes according to the specification change. Therefore, a file in which input data of a past software component is described can be read into a current software component only by modifying the software component.

【0032】また、バージョン変換するための情報の構
造を図7のように配列上にすることにより、どのバージ
ョンのソフトウェア部品の入力データが含まれるファイ
ルを本体部が読み込んでも、現在のソフトウェア部品の
入力データ形式に変換できるようにバージョンアップ管
理が行なえる。
Also, by arranging the structure of the information for version conversion in an array as shown in FIG. 7, even if the main unit reads a file containing input data of any version of the software component, Version upgrade management can be performed so that it can be converted to the input data format.

【0033】[0033]

【発明の実施の形態】以下に本発明の装置の実施形態を
示す。図1は本発明のバージョンアップ管理を含む装置
(ここでは例えば、パーソナルコンピュータを想定して
いる)の全体図である。装置は109の入出力制御部を
介して、106の入力装置(例えばキーボード等の入力
手段、外部記憶手段としてのフロッピーディスクドライ
ブ、光磁気ディスクドライブ等を含むことができる)、
108の出力装置(例えば表示手段、プリンタ等を含む
ことができる)とデータのやり取りを行なっている。1
01の装置は102の本体部(プログラム)、103の
ソフトウェア部品Aから成り立っている。装置101
は、CPUと、CPUの制御プログラムを格納したRO
Mと、CPUの作業領域、データ等の一時記憶領域、ア
プリケーションプログラムのロードされる領域等を有す
るRAMと、OS(オペレーションシステム)、アプリ
ケーションプログラム等を格納したハードディスク(H
D)やフロッピーディスクなどの二次記憶装置等を有
し、図9に示す制御手順を含む本体部101、ソフトウ
ェア部品103の機能を実行する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the apparatus according to the present invention will be described below. FIG. 1 is an overall view of an apparatus (for example, a personal computer is assumed here) including version upgrade management of the present invention. The apparatus can include an input device 106 (for example, input means such as a keyboard, a floppy disk drive as an external storage means, a magneto-optical disk drive, etc.) via an input / output control unit 109,
Data is exchanged with an output device 108 (which may include, for example, a display means, a printer, etc.). 1
The apparatus 01 includes a main body (program) 102 and a software component A 103. Device 101
Is an RO that stores a CPU and a control program for the CPU.
M, a RAM having a work area for a CPU, a temporary storage area for data, an area for loading an application program, and a hard disk (H) storing an OS (operation system), an application program, and the like.
D) and a secondary storage device such as a floppy disk, and executes the functions of the main unit 101 and the software component 103 including the control procedure shown in FIG.

【0034】そして106の入力装置には、103のソ
フトウェア部品(AまたはA´またはA″)の入力デー
タと、その入力データのバージョン情報112から成り
立つファイル107が保存されている。このファイル1
07を本体部102は読み込み、ソフトウェア部品10
3に渡す。その際に本体部102は110のソフトウェ
ア部品Aの入力データを103のソフトウェア部品A″
の入力データに変換するために、入力データ変換部10
4でその作業を行なう。その作業を行なう際に、入力デ
ータ変換部104はソフトウェア部品A″に含まれるバ
ージョン情報113と入力データ変換情報105を参照
し、ソフトウェア部品A″の入力データ111に変換
し、その入力データ111をソフトウェア部品A″が読
み込みを行なう。
The input device 106 stores a file 107 including input data of the software component 103 (A or A 'or A ") and version information 112 of the input data.
07 is read by the main unit 102 and the software component 10
Pass to 3. At that time, the main unit 102 converts the input data of the software component A 110 into the software component A ″ 103.
The input data conversion unit 10 converts the
Perform the work in step 4. When performing the work, the input data conversion unit 104 refers to the version information 113 and the input data conversion information 105 included in the software component A ″, converts the input data 111 into the input data 111 of the software component A ″, and converts the input data 111. The software component A ″ performs reading.

【0035】次にソフトウェア部品A、ソフトウェア部
品A′、ソフトウェア部品A″というようにソフトウェ
ア部品がバージョンアップした際にどのようなデータが
必要になるのかを図6で示す。ソフトウェア部品A60
1は入力データとして一番目に「イ」二番目に「ロ」と
いう構造のデータ602を利用する。ソフトウェア部品
A′603は一番目に「イ」二番目に「ロ」、そして新
たな情報として三番目に「ハ」という情報が含まれる構
造の入力データ604を必要とする。更にソフトウェア
部品A″605は一番目に「イ」二番目に「ハ」という
構造の入力データ606を必要とする。
Next, what kind of data is required when the software component is upgraded, such as software component A, software component A ′, and software component A ″, is shown in FIG.
1 uses data 602 having a structure of "a" first and "b" second as input data. The software part A ′ 603 requires input data 604 having a structure including “a” first, “b” second, and “c” third as new information. Further, the software component A ″ 605 requires input data 606 having a structure of “A” first and “C” second.

【0036】次に図1のソフトウェア部品A″に含まれ
る入力データ変換情報105の構造について図7で説明
する。入力データ変換情報709は701,705の要
素を持つ配列構造でできている。それぞれの要素70
1,705は変換前のバージョン、変換後のバージョ
ン、変換情報の3つの要素を持っている。
Next, the structure of the input data conversion information 105 included in the software component A "shown in Fig. 1 will be described with reference to Fig. 7. The input data conversion information 709 has an array structure having elements 701 and 705, respectively. Element 70 of
Reference numeral 1705 has three elements: a version before conversion, a version after conversion, and conversion information.

【0037】次に図7で説明した入力データ変換情報7
04と708の構造を図8に示す。ソフトウェア部品A
の入力データの構造は「イ、ロ」となっている。そして
ソフトウェア部品A′の入力データの構造は「イ、ロ、
ハ」になっている。つまりソフトウェア部品A′の入力
データの一番目の情報はソフトウェア部品Aの一番目の
情報と同じで、ソフトウェア部品A′の入力データの二
番目の情報はソフトウェア部品Aの二番目の情報であ
る。そして、ソフトウェア部品A′の入力データの三番
目の情報はソフトウェア部品Aには対応するものがな
い。以上のことからソフトウェア部品AからA′への変
換情報は「1,2,存在せず」と表すことができる。こ
れらの変換情報801は図7の704に対応している。
同様にソフトウェアA′からソフトウェア部品A″への
入力データ変換情報708は変換情報802の「1,
3」と表すことができる。
Next, the input data conversion information 7 described in FIG.
FIG. 8 shows the structures of 04 and 708. Software part A
Of the input data is "i, ro". Then, the structure of the input data of the software part A ′ is “A, B,
C ”. That is, the first information of the input data of the software component A 'is the same as the first information of the software component A, and the second information of the input data of the software component A' is the second information of the software component A. The third information of the input data of the software component A ′ does not correspond to the software component A. From the above, the conversion information from the software component A to A ′ can be represented as “1, 2, not present”. These pieces of conversion information 801 correspond to 704 in FIG.
Similarly, the input data conversion information 708 from the software A ′ to the software component A ″ is “1,
3 ".

【0038】これらの情報を使って、図1のソフトウェ
ア部品Aの入力データ110をソフトウェア部品A″の
入力データ111に変換する手順を図9のフローチャー
トを用いて説明する。901で本体部102はファイル
107を読み込む。そして902において107内のバ
ージョン情報112とソフトウェア部品103内のバー
ジョン情報113を比較する。一致した場合はそのまま
ファイル内のソフトウェア部品の入力データ110をソ
フトウェア部品103に渡すことができる。一致してい
ない場合には入力データの構造が変わっているため変換
する必要がある。入力データの変換を行なう際に907
において装置101の表示手段上に図13の1301の
ようなダイアログなどを表示し、ユーザーに入力データ
の変換を行なうか(バージョンアップを行なうか)否か
の通知を行なう。ユーザーは表示されたダイアログ上で
OK(行う)またはCANCEL(行わない)のいずれ
かの選択を行なう。もしバージョンアップを行なわない
場合には装置は何も行なわずに終了する。そしてバージ
ョンアップを行なう際には903にフローは行く。まず
903ではソフトウェア部品103の入力データ変換情
報105を取得する。904においては、取得した入力
データ変換情報105からバージョンに対応する変換情
報を生成する。これらの様子を図10で説明する。
A procedure for converting the input data 110 of the software component A of FIG. 1 into the input data 111 of the software component A ″ using these pieces of information will be described with reference to the flowchart of FIG. The file 107 is read, and the version information 112 in the file 107 is compared with the version information 113 in the software component 103 in 902. If they match, the input data 110 of the software component in the file can be passed to the software component 103 as it is. If they do not match, the structure of the input data has changed and conversion is necessary.
A dialog such as 1301 in FIG. 13 is displayed on the display means of the apparatus 101 to notify the user whether or not to convert the input data (to upgrade the version). The user selects either OK (do) or CANCEL (do not do) on the displayed dialog. If the version is not updated, the apparatus ends without performing any operation. When the version is upgraded, the flow goes to 903. First, in 903, the input data conversion information 105 of the software component 103 is acquired. In step 904, conversion information corresponding to the version is generated from the obtained input data conversion information 105. These situations will be described with reference to FIG.

【0039】入力変換情報105内の構造は図7で示し
たように、AからA′、A′からA″のような一つ一つ
のバージョンアップでの入力データの変換情報704,
708が用意されている。このためAからA″と間を飛
ばすようなバージョンアップを行なった場合には入力デ
ータの変換情報704,708からAからA″への変換
情報を作成する必要がある。
As shown in FIG. 7, the structure of the input conversion information 105 includes conversion information 704 of input data in each version upgrade such as A to A 'and A' to A ".
708 are prepared. For this reason, when a version upgrade that skips from A to A ″ is performed, it is necessary to create conversion information from A to A ″ from the conversion information 704 and 708 of the input data.

【0040】図8で示したように、変換情報704の構
造は801,708の構造は802になっている。これ
ら801と802より、変換情報1001を生成するこ
とができる。
As shown in FIG. 8, the structure of the conversion information 704 is 801 and the structure of 708 is 802. From these 801 and 802, conversion information 1001 can be generated.

【0041】802よりソフトウェア部品A″の入力デ
ータの一番目の要素はソフトウェア部品A′の1番目の
要素であることがわかる。さらにソフトウェア部品A′
の入力データの一番目の要素はソフトウェア部品Aの入
力データの1番目の要素であることも801によってわ
かる。
It is understood from 802 that the first element of the input data of the software component A ″ is the first element of the software component A ′.
801 indicates that the first element of the input data of the software component A is the first element of the input data of the software component A.

【0042】これらによってソフトウェア部品A″の入
力データの一番目の要素は、ソフトウェア部品Aの入力
データの一番目の要素が対応することがわかる。
Thus, it can be understood that the first element of the input data of the software component A ″ corresponds to the first element of the input data of the software component A.

【0043】同様にA″の2番目の要素はA′の3番目
の要素である。A′の3番目の要素はAには存在しな
い。このことからA″の2番目の要素はAには存在しな
いということが分かる。
Similarly, the second element of A ″ is the third element of A ′. The third element of A ′ does not exist in A. Therefore, the second element of A ″ becomes A It turns out that does not exist.

【0044】以上よりソフトウェア部品Aからソフトウ
ェア部品A″の入力データ変換情報1001は「1,存
在せず」という構造となる。
As described above, the input data conversion information 1001 from the software component A to the software component A ″ has a structure of “1, not existing”.

【0045】以上より作成された変換情報を元に図1の
ソフトウェア部品A″の入力データ111を作成し(9
05)、906によってソフトウェア部品103にデー
タを渡す。その際にソフトウェア部品103の入力デー
タの型と変換された入力データの型が異なっていた場
合、この段階で型変換を行なう。
The input data 111 of the software component A ″ in FIG. 1 is created based on the conversion information created as described above (9).
05), the data is passed to the software component 103 by 906. At this time, if the type of the input data of the software component 103 is different from the type of the converted input data, type conversion is performed at this stage.

【0046】[0046]

【発明の効果】以上説明したように本発明によれば、ソ
フトウェア部品の入力データを変換するための情報とバ
ージョン情報とをソフトウェア部品内部に持ち、ソフト
ウェア部品とは別に、入力データ変換部を設けたので、
ソフトウェア部品の仕様変更に伴う入力データの変更を
行なっても、変更するのはソフトウェア部品のみで良い
ことになり、少ない作業量で対応することが可能とな
る。
As described above, according to the present invention, information for converting input data of a software component and version information are stored in the software component, and an input data conversion unit is provided separately from the software component. So
Even if the input data is changed due to a change in the specification of the software component, only the software component needs to be changed, and it is possible to cope with a small amount of work.

【0047】また、本発明によれば、ソフトウェア部品
のバージョンアップを複数回行ない、入力データの形式
が複数回変更されても、ソフトウェア部品内の入力デー
タ変換情報を配列上にしたため、同様に速やかに対応す
ることができる。
According to the present invention, the software component is upgraded a plurality of times, and even if the format of the input data is changed a plurality of times, the input data conversion information in the software component is arranged on the array. Can be handled.

【0048】さらに本発明によれば、ソフトウェア部品
のデータ構造を型変換を行なうことを可能としたため、
より柔軟なバージョンアップを行なうことができる。
Further, according to the present invention, since the data structure of the software component can be subjected to type conversion,
A more flexible version upgrade can be performed.

【0049】さらに本発明によれば、ソフトウェア部品
の入力データの変換を行なうかどうかの選択を例えばユ
ーザーに問い合わせることができるインターフェースを
設けることによって、ユーザーの意図しないデータ変換
を行なわないようにすることが可能となる。
Further, according to the present invention, data conversion not intended by the user is prevented by providing an interface for inquiring of the user whether or not to convert the input data of the software component. Becomes possible.

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

【図1】本発明のソフトウェア部品のバージョンアップ
管理方法を用いた装置の全体図である。
FIG. 1 is an overall view of an apparatus using a software component version upgrade management method of the present invention.

【図2】ソフトウェア部品と本体部からなる装置のモデ
ル図である。
FIG. 2 is a model diagram of an apparatus including a software component and a main body.

【図3】ソフトウェア部品の入力データとファイルのデ
ータが異なる場合の対処法を示す図である。
FIG. 3 is a diagram showing a countermeasure when input data of a software component and data of a file are different.

【図4】ソフトウェア部品の入力データとファイルのデ
ータが異なる場合の別の対処法を示す図である。
FIG. 4 is a diagram showing another countermeasure when input data of a software component and data of a file are different.

【図5】ソフトウェア部品の入力データとファイルのデ
ータが異なる場合のさらに別の対処法を示す図である。
FIG. 5 is a diagram showing still another countermeasure when input data of a software component and data of a file are different.

【図6】ソフトウェア部品と入力データの対応図であ
る。
FIG. 6 is a correspondence diagram between software components and input data.

【図7】入力データ変更情報の詳細図である。FIG. 7 is a detailed diagram of input data change information.

【図8】変換情報の構造を示す図である。FIG. 8 is a diagram showing a structure of conversion information.

【図9】バージョンアップ管理のフローチャートであ
る。
FIG. 9 is a flowchart of version upgrade management.

【図10】変換情報の配列から変換情報を生成する方法
を示す図である。
FIG. 10 is a diagram illustrating a method of generating conversion information from an array of conversion information.

【図11】ソフトウェア部品と入力データの関係図であ
る。
FIG. 11 is a relationship diagram between software components and input data.

【図12】本発明で提案する装置の構造図である。FIG. 12 is a structural diagram of an apparatus proposed in the present invention.

【図13】ユーザーにバージョンアップを行なう際に通
知するユーザーインターフェースを示す図である。
FIG. 13 is a diagram showing a user interface for notifying a user when a version is upgraded.

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

101 装置 102 本体部 103 ソフトウェア部品 104 入力データ変換部 105 入力データ変換情報 106 入力装置 107 ファイル 108 出力装置 109 入出力制御部 110 ソフトウェア部品Aの入力データ 111 ソフトウェア部品A″の入力データ 112,113 バージョン情報 Reference Signs List 101 device 102 main body 103 software component 104 input data conversion unit 105 input data conversion information 106 input device 107 file 108 output device 109 input / output control unit 110 input data of software component A 111 input data of software component A ″ 112, 113 version information

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 バージョン情報と入力データ変換情報を
有するソフトウェア部品と、 前記ソフトウェア部品にファイル内の入力データを入力
する際に、当該ファイル内のバージョン情報と前記ソフ
トウェア部品内のバージョン情報とが異なる場合は、前
記入力データ変換情報に基づいて、前記入力データの形
式を変換する入力データ変換部とを具えたことを特徴と
するバージョンアップ管理装置。
1. A software component having version information and input data conversion information, wherein, when input data in a file is input to the software component, the version information in the file differs from the version information in the software component. A version upgrade management device, comprising: an input data conversion unit configured to convert the format of the input data based on the input data conversion information.
【請求項2】 請求項1において、 前記入力データ変換情報の構造が配列状になっているこ
とを特徴とするバージョンアップ管理装置。
2. The upgrade management apparatus according to claim 1, wherein the structure of the input data conversion information is an array.
【請求項3】 請求項1または2において、 前記入力データ変換部は、前記入力データ変換情報の要
素の型が前記ソフトウェア部品と前記入力データに係る
ソフトウェア部品とで異なっていた場合、その型変換を
行なうことを特徴とするバージョンアップ管理装置。
3. The input data conversion unit according to claim 1, wherein the input data conversion unit converts the type of the element of the input data conversion information between the software component and the software component related to the input data. A version upgrade management device characterized by performing:
【請求項4】 請求項1〜3のいずれかにおいて、 前記入力データ変換部が前記入力データの形式を前記ソ
フトウェア部品の入力データの形式に変換する際に、外
部にデータ変換を行なうか否かを通知するインターフェ
ースを更に有することを特徴とするバージョンアップ管
理装置。
4. The method according to claim 1, wherein when the input data conversion unit converts the format of the input data into the format of the input data of the software component, whether to perform external data conversion. Version upgrade management device, further comprising an interface for notifying the user of the version upgrade.
【請求項5】 バージョン情報と入力データ変換情報を
有するソフトウェア部品にファイル内の入力データを入
力する際に、当該ファイル内のバージョン情報と前記ソ
フトウェア部品内のバージョン情報とが異なる場合は、
前記入力データ変換情報に基づいて、前記入力データの
形式を変換することを特徴とするバージョンアップ管理
方法。
5. When input data in a file is input to a software component having version information and input data conversion information, if the version information in the file and the version information in the software component are different,
A version upgrade management method, wherein the format of the input data is converted based on the input data conversion information.
【請求項6】 請求項5において、 前記入力データ変換情報の構造が配列状になっているこ
とを特徴とするバージョンアップ管理方法。
6. The upgrade management method according to claim 5, wherein the structure of the input data conversion information is arranged.
【請求項7】 請求項5または6において、 前記入力データ変換に際して、前記入力データ変換情報
の要素の型が前記ソフトウェア部品と前記入力データに
係るソフトウェア部品とで異なっていた場合、その型変
換を行なうことを特徴とするバージョンアップ管理方
法。
7. The input data conversion according to claim 5, wherein, in the input data conversion, if the type of the element of the input data conversion information is different between the software component and the software component related to the input data, the type conversion is performed. Version upgrade management method characterized by performing.
【請求項8】 請求項5〜7のいずれかにおいて、 前記入力データの形式を前記ソフトウェア部品の入力デ
ータの形式に変換する際に、外部にデータ変換を行なう
か否かを通知することを特徴とするバージョンアップ管
理方法。
8. The method according to claim 5, wherein when the format of the input data is converted into the format of the input data of the software component, whether or not to perform data conversion is notified to the outside. And version upgrade management method.
【請求項9】 請求項5〜8のいずれかの方法をコンピ
ュータ上で動作させるためのプログラムを記録した記録
媒体。
9. A recording medium on which a program for causing a computer to execute the method according to claim 5 is recorded.
JP10361651A 1998-12-18 1998-12-18 Device and method for managing software part updating and recording medium Pending JP2000181695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10361651A JP2000181695A (en) 1998-12-18 1998-12-18 Device and method for managing software part updating and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10361651A JP2000181695A (en) 1998-12-18 1998-12-18 Device and method for managing software part updating and recording medium

Publications (1)

Publication Number Publication Date
JP2000181695A true JP2000181695A (en) 2000-06-30

Family

ID=18474423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10361651A Pending JP2000181695A (en) 1998-12-18 1998-12-18 Device and method for managing software part updating and recording medium

Country Status (1)

Country Link
JP (1) JP2000181695A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003780A (en) * 2007-06-22 2009-01-08 Nippon Digital Kenkyusho:Kk Module management method, module management device, module management system, and module management program
JP2009140337A (en) * 2007-12-07 2009-06-25 Canon Inc Information processor and information processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003780A (en) * 2007-06-22 2009-01-08 Nippon Digital Kenkyusho:Kk Module management method, module management device, module management system, and module management program
JP2009140337A (en) * 2007-12-07 2009-06-25 Canon Inc Information processor and information processing method

Similar Documents

Publication Publication Date Title
Rose et al. Model migration with epsilon flock
CN103718155B (en) runtime system
US8495100B2 (en) Semantic version control system for source code
US8255790B2 (en) XML based form modification with import/export capability
Nunes et al. Wisdom: a software engineering method for small software development companies
US9411798B1 (en) Methods and apparatus for reusing report design components and templates
EP1999557B1 (en) Printing controller,gui display method, printer driver, and recording medium
JP2010521726A (en) Method, system, and computer program for distributing customized software products
JPH10254689A (en) Application constitution design supporting system for client/server system
US20080127136A1 (en) Software build system, software build method, and recording medium storing software build program
Kramer et al. Extending the Palladio component model using profiles and stereotypes
JP3186117B2 (en) Automatic program generation system using data-centric software components
JP2000181695A (en) Device and method for managing software part updating and recording medium
JP4686117B2 (en) Source code conversion apparatus, source code conversion method, and program
JP2004070810A (en) Visual programming system, visual programming method, program for visual programming, and storage medium containing the program
Butler et al. A reuse case perspective on documenting frameworks
JP2659264B2 (en) Command option specification processor
JP2012146023A (en) Image processing apparatus and program
US7827522B2 (en) Computer method and apparatus for implementing redefinition of model features
JP4363598B2 (en) Logic synthesis server and programmable logic device manufactured thereby
JP3310308B2 (en) Program group management system
JP2019046001A (en) Application porting support device, application porting support program, and application porting method
TWI233034B (en) Hierarchical software application system
JP2006171913A (en) Information processor, information processing method, program and storage medium
JP4120879B2 (en) Program generation system and method and program thereof