JPH04107628A - Back-up system for reuse of software - Google Patents
Back-up system for reuse of softwareInfo
- Publication number
- JPH04107628A JPH04107628A JP2225897A JP22589790A JPH04107628A JP H04107628 A JPH04107628 A JP H04107628A JP 2225897 A JP2225897 A JP 2225897A JP 22589790 A JP22589790 A JP 22589790A JP H04107628 A JPH04107628 A JP H04107628A
- Authority
- JP
- Japan
- Prior art keywords
- software
- similar
- parts
- functions
- search
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 6
- 239000000470 constituent Substances 0.000 description 2
- 206010011732 Cyst Diseases 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 208000031513 cyst Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、ソフトウェアの流用設計をコンピュータによ
って支援するソフトウェア再利用支援システムに関し、
特にソフトウェア開発工程におけるソフトウェア部品の
検索、流用ソフトウェアの選択、流用ソフトウェアの変
更といったソフトウェア開発者の作業の支援を行なうソ
フトウェア再利用支援システムに関するものである。Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a software reuse support system that uses a computer to support software reuse design.
In particular, the present invention relates to a software reuse support system that supports software developers in their work such as searching for software parts, selecting reused software, and changing reused software in the software development process.
(従来の技術)
従来、ソフトウェアの再利用を支援するソフトウェア再
利用支援システムとしては、キーワードによる部品検索
とシソーラスを用いた部品検索とがある。(Prior Art) Conventionally, software reuse support systems that support software reuse include parts search using keywords and parts search using a thesaurus.
前者は、個々の部品に部品名、部品の持つ機能名等を予
めキーワードとして与えておき、このキーワードをi/
II!索要求として指定することにより、目的の部品を
検索するものである。後者は、検索要求として指定する
キーワードと部品に与えたキーワードとの間に、両者の
キーワードを関連づけるための関連語や類義語を記述し
たキーワードの変換テーブルを持たせ、これを利用して
目的の部品を検索するものである。In the former method, each part is given a part name, a function name, etc. as a keyword in advance, and this keyword is used as an i/
II! By specifying it as a search request, the desired part is searched. The latter has a keyword conversion table that describes related words and synonyms to associate the keywords specified as a search request and the keyword given to the part, and uses this to search for the target part. This is what you search for.
(発明が解決しようとする課題)
上述した従来のソフトウェア再利用支援システムのうち
、キーワードによる部品検索では、検索者か、部品名、
部品の機能名等のキーワードを知っていることか前提と
なっているから、これらのキーワードを知らない検索者
は、検索することができない。また、シソーラスを用い
た部品検索では、関連語や類義語のテーブルを使って、
類似したソフトウェア部品を検索することか可能となる
か、類似した複数のソフトウェア部品を判別することは
不可能である。(Problems to be Solved by the Invention) Among the conventional software reuse support systems described above, when searching for parts using keywords, it is difficult to search for parts using keywords.
Since it is assumed that the searcher knows the keywords such as the function name of the part, a searcher who does not know these keywords cannot perform a search. In addition, when searching for parts using a thesaurus, tables of related words and synonyms are used to search for parts.
It is possible to search for similar software components, but it is impossible to distinguish among multiple similar software components.
一方、ソフトウェア部品の変更事例の検索については、
ソフトウェア部品の流用過程で実施した変更内容を文書
で残しても、それが、ソフトウェア部品の変更と、どう
関わっているかが不明確であから、変更事例を有効に利
用することが困離でり)る。On the other hand, regarding searching for examples of software component changes,
Even if the changes made during the process of reusing software components are documented, it is unclear how they are related to the changes to the software components, making it difficult to effectively utilize the change examples. ).
(課題を解決するための手段)
前述の課題を解決するために本発明が提供する手段は、
過去に開発したソフトウェアを流用して新たなソフトウ
ェアを開発する時に、その開発時におけるソフトウェア
の再利用を支援するソフトウェア再利用支援システムで
あって、過去に開発した複数のソフトウェアを複数のソ
フトウェア部品として蓄えておく部品蓄積手段と、前記
ソフトウェア部品を流用したソフトウェア開発時の当該
ソフトウェア部品の変更内容を変更事例として蓄えてお
く変更事例蓄積手段と、検索対象となるソフトウェア部
品め要求仕様を設定する要求仕様設定手段と、前記要求
仕様を構成する機能と前記複数のソフトウェア部品の持
つ機能とめ要領性を定量化することによって前記要求仕
様に一致または類似したソフトウェア部品を検索する類
似部品検索手段と、前記要求仕様のI!能と流用するソ
フトウェア部品の機能との差分を基に過去の流用過程で
蓄積したソフトウェア部品の変更事例を検索する類似事
例検索手段とを具備したことを特徴とする。(Means for Solving the Problems) Means provided by the present invention to solve the above-mentioned problems are as follows:
A software reuse support system that supports the reuse of software during development when developing new software by reusing software developed in the past, and converts multiple software developed in the past into multiple software components. A component storage means for storing, a change example storage means for storing changes to the software component as a change example when developing software that utilizes the software component, and a request for setting required specifications for the software component to be searched. a specification setting means; a similar parts search means for searching for software components that match or are similar to the required specifications by quantifying the functions constituting the required specifications and the functions and requirements of the plurality of software components; Required specification I! The present invention is characterized by comprising a similar case search means for searching for examples of changes to software components accumulated in past appropriation processes based on the difference between the functions of the software components and the functions of the software components to be diverted.
(作用)
本発明では、要求仕様の機能とソフトウェア部品の機能
との類似性を定量化し、その結果に基づいて要求するソ
フトウェア部品を検索して、類似した複数のソフトウェ
ア部品を判別する。ここで、機能の類似性を定量化する
ために、要求仕様を構成する機能とソフトウェア部品を
構成する機能とをそれぞれ要素機能として予め定義して
おく。要素機能は、要素機能名と複数の変数からなるリ
スト形式で表わし、各変数にはそれぞれ重み(変数の重
要度)を指定する。ソフトウェア部品を検索するときに
は、要求仕様の機能となる各要素機能の変数に要求値を
設定する。要素機能単位に要求値の組を検索キーとし、
蓄積されているソフトウェア部品の該当する要素機能と
照合する。照合の結果 一致した要求値かあれば、要求
値に対応する変数の重みを加算する。こめようにして要
素機能の類似性を定量化し、これらの値をソフトウェア
部品ごとにまとめて類似の度合を算出する2この類似の
度合いにより、要求に近いか否かを検索者が判別する。(Operation) In the present invention, the similarity between the function of the required specification and the function of the software component is quantified, the requested software component is searched based on the result, and a plurality of similar software components are determined. Here, in order to quantify the similarity of functions, the functions that constitute the required specifications and the functions that constitute the software components are each defined in advance as elemental functions. An element function is expressed in a list format consisting of an element function name and a plurality of variables, and a weight (importance of the variable) is specified for each variable. When searching for a software component, required values are set in the variables of each element function that is a function of the required specifications. Use a set of required values for each element function as a search key,
Compare with the corresponding element function of the stored software components. As a result of matching, if there is a matching request value, the weight of the variable corresponding to the request value is added. The similarity of the element functions is quantified in this way, and the degree of similarity is calculated by summarizing these values for each software component.2 Based on this degree of similarity, the searcher determines whether or not it is close to the request.
次に、要求仕様の機能と、要求仕様の機能に類似したソ
フトウェア部品のv1能との差分を求め、この差分と同
一または類似した差分を過去の流用過程から検索する。Next, the difference between the function of the required specification and the v1 function of a software component similar to the function of the required specification is determined, and a difference that is the same as or similar to this difference is searched from the past appropriation process.
検索に成功した場合、その流用過程で実施した変更の変
更事例を掲示するにこで、変更事例を検索するために、
ソフトウェア部品 流用関係 変更事例を、検索要求の
前に予め登録シ、ておく。検索要求を行なった要求仕様
の機能は ソフトウェア部品を流用して作った新たなソ
フトウェア部品の機能として保存される。その際に、流
用光としたソフトウェア部品から、ここで検索要求した
要求仕様め機能に対し、”流用関係”を示すポインター
をはる。また、この流用に伴うソフトウェア部品の変更
内容を、利用者が記述することにより変更事例として要
素機能単位に保存する7
要求仕様の機能とソフトウェア部品の機能との差分の求
め方は、要素機能名と要求値とを岨にして扱い 要求仕
様の機能とソフトウェア部品の機能との該当する要素機
能どうしの差分をとる。この差分を検索へ−として、過
去のソフトウェア部品の流用回稈の中から、一致または
類似したものを法木する。検索に成功した場合、その流
用過程で実施した変更事例を提示する。この類似事例の
検索は、次のように行なう。すなわち、差分と一致する
ものがなかった場合、検索キーの中の各要求値をそれに
対応する変数の重み(変数の重要度)の小さいものかち
順にマスクすることにより、検索条件の緩和を行なって
検索を行なう。If the search is successful, we will post the change examples of the changes made during the reuse process.
Software component diversion-related change cases are registered in advance before a search request. The functionality of the requirements specification for which the search request was made is saved as the functionality of a new software component created by reusing the software component. At that time, a pointer is placed indicating the ``diversion relationship'' from the software component that was the diversion light to the required specification function that was searched for here. In addition, the content of changes to the software component due to this diversion is written by the user and saved for each element function as a change example. and the required value, and calculate the difference between the corresponding element functions of the required specification function and the software component function. This difference is used for retrieval, and a matching or similar one is searched from among the reuse of past software components. If the search is successful, examples of changes made during the reuse process will be presented. This search for similar cases is performed as follows. In other words, if there is no match with the difference, the search conditions are relaxed by masking each request value in the search key in descending order of the weight of the corresponding variable (variable importance). Perform a search.
(実施例) 以−ト、実施例を挙げて本発明について説明する。(Example) The present invention will now be described with reference to Examples.
第1図は、本発明の一実施例の構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.
本実施例は、検索要求として検索対象となるソフトウェ
ア部品の機能を入力する要求仕様(1)、予め蓄積され
ているソフトウェア部品の構成機能を示す部品仕様(2
)、流用に伴うソフトウェア部品の変更内容を記述した
変更事例(3)、ソフトウェア部品の検索を実行する撃
似部品検索部(4)、変更事例の検索を実行する類似事
例検索部(5)からなる。In this embodiment, a request specification (1) for inputting the function of a software component to be searched as a search request, and a component specification (2) for indicating the configuration functions of software components stored in advance.
), a change case (3) that describes changes to software components due to diversion, a copy parts search section (4) that searches for software components, and a similar case search section (5) that searches for change cases. Become.
第2図は、本実施例の類似部品検索を説明する図である
。検索要求は、要求仕様(1)として与える。この中に
は、要求仕様の構成機能である要素機能(6)が定義し
である。尚、これらの要素機能は、要素機能名と変数と
によって定義可能である。また、検索対象のソフトウェ
ア部品は部品仕様(2)として予め蓄積しておく。この
中には、ソフトウェア部品の構成機能である要素機能(
6)か定#[7である。尚、これらの要素機能も、要素
機能名と変数とによって定義可能である。FIG. 2 is a diagram illustrating similar parts search in this embodiment. The search request is given as a requirement specification (1). Elemental functions (6), which are constituent functions of the requirement specifications, are defined here. Note that these element functions can be defined by element function names and variables. Further, the software components to be searched are stored in advance as component specifications (2). This includes elemental functions (which are the constituent functions of software components).
6) or constant #[7. Note that these element functions can also be defined using element function names and variables.
今、要求仕様(1)の各要素機能(6)の変数に、具体
的要求値を設定すると、類似部品検索部(4)が各要素
機能の類似性を定量化し、蓄積しであるソフトウェア部
品単位に類似の度合いを算出してこれを提示する。これ
により、どのソフトウェア部品が検索要求に一致してい
るか、または近いのかを検索者が判別する。Now, when specific required values are set for the variables of each element function (6) of the requirement specification (1), the similar parts search unit (4) quantifies the similarity of each element function and stores the software parts. Calculate and present the degree of similarity to the units. This allows the searcher to determine which software components match or are close to the search request.
第3図は、本実施例の類似事例検索を説明する図である
。要求仕様(1)と流用元部品候補(7)との間におい
て、同一要素機能名の変数どうしの差分(8)求め、こ
れと一致する差分を流用過程の中から検索する。一致す
る差分の検索に失敗した場合、各変数に割り振っである
重みの低い変数をマスクして、これと一致する差分を再
び検索する。すべての変数を緩和して、差分の検索に失
敗した場合は、類似変更事例は存在しないということに
なるが、検索に成功した場合、その流用過程で実施した
変更事例(3)を提示する。FIG. 3 is a diagram illustrating similar case search in this embodiment. Differences (8) between variables with the same element function name are calculated between the required specification (1) and the diversion source component candidate (7), and a matching difference is searched from the diversion process. If the search for a matching difference fails, a variable with a low weight assigned to each variable is masked, and a matching difference is searched again. If all variables are relaxed and the search for the difference fails, it means that no similar change example exists, but if the search is successful, the change example (3) implemented in the process of reuse is presented.
これにより、現在の要求仕様(1)と流用元部品候補(
7)との間で必要になる変更部位に関連し類似した変更
事例(3)を過去の流用過程から検索することができる
。As a result, the current required specifications (1) and the diversion source part candidates (
7), it is possible to search for a similar change example (3) related to the change part that is required from the past appropriation process.
(発明の効果)
以上に説明したように本発明によれば、検索対象となる
ソフトウェア部品の名称を知らなくても検嚢が可能とな
るばかりでなく、要求仕様のV&能とソフトウェア部品
の機能とか一致していなくても、類似の度合を定量的に
判断することが可能となる。(Effects of the Invention) As explained above, according to the present invention, not only is it possible to perform a cyst inspection without knowing the name of the software component to be searched for, but also the V&N function of the required specification and the function of the software component can be performed. Even if they do not match, it is possible to quantitatively judge the degree of similarity.
訣k、ソフトウェア部品の流用に痒う変更に対し、讐似
した過去の変更事例を参照できるから、ソフトウェアの
変更作業を支援することか可能となる。Additionally, when it comes to changes that require diversion of software components, it is possible to refer to similar past change cases, which makes it possible to support software change work.
第1図は本発明の一実施例の構成図、第2図は本実締P
1め類似部品検索を説明する図、第3図は本実施例の類
似変更事例検索を説明する図である。
1・・要求仕様 2・・・部品仕様、3・・・変更事例
、4・・・類似部品検索部、5・・・類似事例検索部、
6・・・要素機能、7・・・流用元部品候補、8・・・
差分。Figure 1 is a configuration diagram of one embodiment of the present invention, Figure 2 is the actual implementation page.
FIG. 3 is a diagram explaining the first similar parts search, and FIG. 3 is a diagram explaining the similar change case search of this embodiment. 1...Required specifications 2...Parts specifications, 3...Change examples, 4...Similar parts search section, 5...Similar case search section,
6...Element function, 7...Diversion source part candidate, 8...
Difference.
Claims (1)
ウェアを開発する時に、その開発時におけるソフトウェ
アの再利用を支援するソフトウェア再利用支援システム
において、過去に開発した複数のソフトウェアを複数の
ソフトウェア部品として蓄えておく部品蓄積手段と、前
記ソフトウェア部品を流用したソフトウェア開発時の当
該ソフトウェア部品の変更内容を変更事例として蓄えて
おく変更事例蓄積手段と、検索対象となるソフトウェア
部品の要求仕様を設定する要求仕様、設定手段と、前記
要求仕様を構成する機能と前記複数のソフトウェア部品
の持つ機能との類似性を定量化することによって前記要
求仕様に一致または類似したソフトウェア部品を検索す
る類似部品検索手段と、前記要求仕様の機能と流用する
ソフトウェア部品の機能との差分を基に過去の流用過程
で蓄積したソフトウェア部品の変更事例を検索する類似
事例検索手段とを具備したことを特徴とするソフトウェ
ア再利用支援システム。When developing new software by reusing software developed in the past, a software reuse support system that supports reuse of software at the time of development stores multiple pieces of software developed in the past as multiple software components. a change case storage means for storing changes to the software component as a change example when developing software using the software component; and a requirement specification for setting the required specifications of the software component to be searched. a setting means; a similar component search means for searching for a software component that matches or is similar to the requirement specification by quantifying the similarity between the functions constituting the requirement specification and the functions of the plurality of software components; A software reuse support system characterized by comprising a similar case search means for searching for examples of changes to software components accumulated in past reuse processes based on the difference between the function of a required specification and the function of a software component to be reused. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2225897A JPH04107628A (en) | 1990-08-28 | 1990-08-28 | Back-up system for reuse of software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2225897A JPH04107628A (en) | 1990-08-28 | 1990-08-28 | Back-up system for reuse of software |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04107628A true JPH04107628A (en) | 1992-04-09 |
Family
ID=16836598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2225897A Pending JPH04107628A (en) | 1990-08-28 | 1990-08-28 | Back-up system for reuse of software |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04107628A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04137038A (en) * | 1990-09-27 | 1992-05-12 | Business Syst Kenkyusho:Kk | Application software generation device |
US6983262B1 (en) | 1999-07-22 | 2006-01-03 | Fujitsu Limited | Server having an automatic management mechanism |
JP2007193482A (en) * | 2006-01-18 | 2007-08-02 | Fujitsu Fip Corp | Screen pattern classification device, screen pattern classification method and screen pattern classification program |
JP2008242613A (en) * | 2007-03-26 | 2008-10-09 | Toshiba Corp | Program development support system, method and program |
WO2014136210A1 (en) * | 2013-03-05 | 2014-09-12 | 富士通株式会社 | Execution-flow creation support program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02255914A (en) * | 1988-04-20 | 1990-10-16 | Toshiba Corp | Automatic program producing device |
-
1990
- 1990-08-28 JP JP2225897A patent/JPH04107628A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02255914A (en) * | 1988-04-20 | 1990-10-16 | Toshiba Corp | Automatic program producing device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04137038A (en) * | 1990-09-27 | 1992-05-12 | Business Syst Kenkyusho:Kk | Application software generation device |
US6983262B1 (en) | 1999-07-22 | 2006-01-03 | Fujitsu Limited | Server having an automatic management mechanism |
JP2007193482A (en) * | 2006-01-18 | 2007-08-02 | Fujitsu Fip Corp | Screen pattern classification device, screen pattern classification method and screen pattern classification program |
JP2008242613A (en) * | 2007-03-26 | 2008-10-09 | Toshiba Corp | Program development support system, method and program |
JP4693807B2 (en) * | 2007-03-26 | 2011-06-01 | 株式会社東芝 | Program development support system, method and program |
WO2014136210A1 (en) * | 2013-03-05 | 2014-09-12 | 富士通株式会社 | Execution-flow creation support program |
JP5971399B2 (en) * | 2013-03-05 | 2016-08-17 | 富士通株式会社 | Execution flow creation support program |
US9858113B2 (en) | 2013-03-05 | 2018-01-02 | Fujitsu Limited | Creating execution flow by associating execution component information with task name |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070294235A1 (en) | Hashed indexing | |
RU2001102589A (en) | DATA SEARCH METHOD AND DEVICE ALLOWING TO WORK WITH MANY SOURCES | |
JPH04107628A (en) | Back-up system for reuse of software | |
US20050102276A1 (en) | Method and apparatus for case insensitive searching of ralational databases | |
JP3007375B2 (en) | Document information retrieval device | |
JPH09198396A (en) | Document retrieval device | |
US7774347B2 (en) | Vortex searching | |
JP2021005163A (en) | DML search device and DML search method | |
JPH0644309A (en) | Data base managing system | |
JP2636720B2 (en) | Input character string correction device for coding | |
JPH07210565A (en) | Method and device for retrieving information | |
JPH03129570A (en) | Data base retrieving system | |
JP2988304B2 (en) | String management device | |
CN111353022A (en) | Information processing method and device for automatically expanding keywords to perform patent database retrieval | |
JPS6380325A (en) | Information retrieval method and index used therefor | |
JPH02116972A (en) | Retrieval system for program data base | |
JPH05313971A (en) | Key word managing system in relational data base | |
JPH0934897A (en) | Book management system | |
JPH06180718A (en) | Retrieving system | |
Zheng et al. | Specialized search in linguistics and languages | |
KR0123248B1 (en) | Translation method of dbms | |
Choi et al. | A Clone Detection Approach for a Collection of Similar Large-Scale Software Products | |
JPH03225558A (en) | Data retrieving system | |
JPH07244667A (en) | Information retrieval method | |
KR20010056171A (en) | Apparatus and method for searching pattern matching information in information searching system |