JP6178537B2 - Business specification reproduction device and business specification reproduction method - Google Patents

Business specification reproduction device and business specification reproduction method Download PDF

Info

Publication number
JP6178537B2
JP6178537B2 JP2017504339A JP2017504339A JP6178537B2 JP 6178537 B2 JP6178537 B2 JP 6178537B2 JP 2017504339 A JP2017504339 A JP 2017504339A JP 2017504339 A JP2017504339 A JP 2017504339A JP 6178537 B2 JP6178537 B2 JP 6178537B2
Authority
JP
Japan
Prior art keywords
code
business
processing
extracted
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2017504339A
Other languages
Japanese (ja)
Other versions
JPWO2016143019A1 (en
Inventor
結 渡邊
結 渡邊
敬志 大島
敬志 大島
三部 良太
良太 三部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Publication of JPWO2016143019A1 publication Critical patent/JPWO2016143019A1/en
Application granted granted Critical
Publication of JP6178537B2 publication Critical patent/JP6178537B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Description

本発明は、業務仕様再生装置および業務仕様再生方法に関する。   The present invention relates to a business specification reproduction device and a business specification reproduction method.

業務システムのリプレイスや保守開発に際し、該当業務システムを利用する業務のうち追加、変更が生じる業務に関しては、その要件がユーザから具体的に提示されることが一般的である。一方、そうした追加、変更が生じないその他の業務については、現行システム仕様に準ずるといった形で通知される程度で、明示的に仕様が提示されないことがある。そのため、現行システムの振る舞いから、現行の各業務に対するシステム仕様を再生する必要がある。   When replacing or maintaining a business system, the requirements for a business that requires addition or change among the business that uses the business system are generally presented by the user. On the other hand, for other operations that do not add or change, specifications may not be explicitly presented to the extent that they are notified in the form of conforming to the current system specifications. Therefore, it is necessary to reproduce the system specifications for each current business from the behavior of the current system.

ところが、長年利用されてきた業務システムでは、開発時に作成された要件や仕様に関するドキュメントが保管、保守されていないケースが頻発する。その結果、要件定義担当者は、既存システムの利用部門や運用部門に対するヒアリングやシステムの振る舞いを調査するなどし、システム仕様の再生を行うこととなる。他方、そうしたヒアリングの対象となる運用部門は、既存システムの利用者である業務部門の業務には精通していない場合が多い。そのため、業務仕様の把握漏れや調査遅延が生じ、要件定義工程の長期化、高コスト化が起こりやすくなってしまうという問題がある。   However, in business systems that have been used for many years, there are frequent cases where documents relating to requirements and specifications created during development are not stored or maintained. As a result, the person in charge of requirement definition reproduces the system specifications by hearing the usage department and operation department of the existing system and investigating the behavior of the system. On the other hand, the operation departments that are subject to such interviews are often not familiar with the work of the business departments who are users of existing systems. For this reason, there is a problem that business specification is not grasped and survey delay occurs, and the requirement definition process is likely to be prolonged and costly.

こうした業務システムのシステム仕様を再生する従来技術として、以下の技術が提案されている。すなわち、ソースプログラムから、従来に比較して、細かく、かつ一定の粒度により、業務モデル及び物理モデルを対応させて抽出するとの目的の下、ソースプログラムのソースコードから、コード種類、コード組合せ及びコード配置と、処理機能を示す単位プログラムとの対応関係が予め設定された第1ルールに従い、ソースコードから、処理機能に対応する単位プログラムを抽出する処理機能抽出部と、単位プログラムの処理機能の種類、組合せ及び配置順番と、単位プログラムの配置順番の変更、統廃合処理との対応関係を予め設定した第2ルールに従い、単位プログラムの配置順の変更、統合及び廃棄の統廃合処理を行い、物理モデルとして出力する処理機能統廃合部とを有するリバースエンジニアリング支援装置(特許文献1参照)などが提案されている。   The following techniques have been proposed as conventional techniques for reproducing the system specifications of such business systems. In other words, code types, code combinations, and codes are extracted from the source program source code for the purpose of extracting a business model and a physical model correspondingly from the source program with a finer and fixed granularity than in the past. A processing function extracting unit that extracts a unit program corresponding to the processing function from the source code in accordance with a first rule in which a correspondence relationship between the arrangement and the unit program indicating the processing function is set in advance, and a type of the processing function of the unit program In accordance with the second rule in which the correspondence relationship between the combination and arrangement order, the unit program arrangement order, and the consolidation process is set in advance, the unit program layout order is changed, and the integration and discarding process is performed as a physical model. A reverse engineering support device having a processing function integration unit for outputting (see Patent Document 1) Such as has been proposed.

特許第4820924号公報Japanese Patent No. 4820924

従来技術によれば、ソースコードから各業務に対応したシステム仕様情報を得ることができる。しかし、業務とシステム仕様との対応関係を定めたルールを予め用意することが前提であり、そうした対応関係に精通する人物やドキュメントの存在は必須条件となってしまう。上述のように、開発時に作成される要件や仕様に関するドキュメントが保管、保守されていない状況にあれば、従来技術により仕様再生は実行出来ない。また同様に、システム運用部門が該当業務に精通していない場合も、従来技術による仕様再生は実行出来ない。   According to the prior art, system specification information corresponding to each business can be obtained from the source code. However, it is premised that a rule that defines the correspondence between business and system specifications is prepared in advance, and the existence of a person or document that is familiar with such correspondence is an essential condition. As described above, if a document relating to requirements and specifications created at the time of development is not stored and maintained, specification reproduction cannot be performed by the conventional technology. Similarly, even if the system operation department is not familiar with the relevant business, the specification regeneration by the conventional technology cannot be executed.

そこで本発明の目的は、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生を可能とする技術を提供することにある。   Therefore, an object of the present invention is to provide a technology that enables efficient and reliable reproduction of specifications from an existing business system even in the absence of documents such as requirements and knowledgeable personnel. .

上記課題を解決する本発明の業務仕様再生装置は、仕様再生対象である業務システムのソースコードと、業務単位の画面遷移リストと、業務データを所定処理に利用する前記ソースコード中の各コード片と該当業務データの所属ソースの関係を規定したアクセス基点リストと、を格納した記憶装置と、前記アクセス基点リストが示す該当処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行する演算装置とを備えることを特徴とする。   The business specification reproducing device of the present invention that solves the above problems includes a source code of a business system that is a specification reproduction target, a screen transition list of business units, and each code fragment in the source code that uses business data for predetermined processing. And a storage device that stores the access base list that defines the relationship between the business data and the source to which the business data belongs, a series of processing of business data executed by the business system, A code fragment group corresponding to each execution determination process of the processing process is extracted from the source code based on the code fragment and the belonging source indicated by the access base point list, and each code fragment group of the processing process and the execution determination process is extracted. A correspondence relationship is identified, and a business unit decision table is generated and output based on the identified correspondence relationship and the screen transition list. Characterized in that it comprises an arithmetic unit that executes processing for displaying the location.

また、本発明の業務仕様再生方法は、仕様再生対象である業務システムのソースコードと、業務単位の画面遷移リストと、業務データを所定処理に利用する前記ソースコード中の各コード片と該当業務データの所属ソースの関係を規定したアクセス基点リストと、を格納した記憶装置を備えた情報処理装置が、前記アクセス基点リストが示す該当処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行することを特徴とする。   The business specification reproduction method of the present invention includes a business system source code to be reproduced, a screen transition list of business units, each code fragment in the source code that uses business data for predetermined processing, and a corresponding business. A series of processing of business data executed by the business system in relation to the corresponding processing indicated by the access base point list by an information processing device having a storage device storing the access base point list defining the relationship of the data source Code pieces corresponding to the processing and the execution determination process of the processing process are extracted from the source code based on the code piece and the belonging source indicated by the access base list, and each code of the processing process and the execution determination process A correspondence relationship of one group is specified, and a decision table for a business unit is generated based on the specified correspondence relationship and the screen transition list. Characterized in that to execute a process of displaying on the output device.

本発明によれば、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生が可能となる。   According to the present invention, it is possible to efficiently and reliably reproduce specifications from an existing business system even in a situation where there is no document such as requirements or a person in charge of knowledge.

本実施形態における業務仕様再生装置の構成例を示す図である。It is a figure which shows the structural example of the work specification reproduction | regeneration apparatus in this embodiment. 本実施形態の業務仕様再生方法の処理手順例1を示すフロー図である。It is a flowchart which shows the process procedure example 1 of the work specification reproduction | regeneration method of this embodiment. 本実施形態における対象業務システムのソースコードの例を示す図である。It is a figure which shows the example of the source code of the object business system in this embodiment. 本実施形態における対象業務システムの業務データアクセス基点リストの例を示す図である。It is a figure which shows the example of the business data access base point list | wrist of the target business system in this embodiment. 本実施形態における対象業務システムの業務に対応する画面遷移リストの例を示す図である。It is a figure which shows the example of the screen transition list corresponding to the operation | work of the object business system in this embodiment. 本実施形態における業務処理コードテーブルの例を示す図である。It is a figure which shows the example of the business process code table in this embodiment. 本実施形態の業務仕様再生方法の処理手順例2を示すフロー図である。It is a flowchart which shows process sequence example 2 of the work specification reproduction | regeneration method of this embodiment. 本実施形態における画面別業務処理コードの依存関係テーブルの例を示す図であるIt is a figure which shows the example of the dependence relationship table of the business processing code according to screen in this embodiment. 本実施形態の業務仕様再生方法の処理手順例3を示すフロー図である。It is a flowchart which shows process sequence example 3 of the work specification reproduction | regeneration method of this embodiment. 本実施形態における画面別業務データ出力処理の抽出結果の例を示す図である。It is a figure which shows the example of the extraction result of the business data output process according to screen in this embodiment. 本実施形態の業務仕様再生方法の処理手順例4を示すフロー図である。It is a flowchart which shows process sequence example 4 of the work specification reproduction | regeneration method of this embodiment. 本実施形態における業務データ出力処理ごとの加工処理の抽出結果の例を示す図である。It is a figure which shows the example of the extraction result of the process for every work data output process in this embodiment. 本実施形態における業務データ加工処理テーブルの例を示す図である。It is a figure which shows the example of the business data processing process table in this embodiment. 本実施形態における業務データ加工処理ごとの実行条件候補の抽出結果の例を示す図である。It is a figure which shows the example of the extraction result of the execution condition candidate for every business data processing process in this embodiment. 本実施形態における実行判定処理テーブルの例を示す図である。It is a figure which shows the example of the execution determination process table in this embodiment. 本実施形態における業務データ加工処理の実行条件の例を示す図である。It is a figure which shows the example of the execution conditions of the business data processing process in this embodiment. 本実施形態における画面単位決定表の例を示す図である。It is a figure which shows the example of the screen unit determination table in this embodiment. 本実施形態における業務単位決定表の例を示す図である。It is a figure which shows the example of the business unit determination table in this embodiment.

−−−システム構成の例−−− --- System configuration example ---

以下に本発明の実施形態について図面を用いて詳細に説明する。図1は本実施形態の業務仕様再生装置100の構成例を示す図である。図1に示す業務仕様再生装置100は、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生を可能とする情報処理装置である。換言すると、要件定義担当者が容易に参照できる情報から、既存の業務システムが、ユーザの行うどの業務に対応して、どのような条件下でどの業務データをどのように加工してどの業務データを生成するのかを示すシステム仕様を再生するための情報処理装置である。   Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a business specification reproducing apparatus 100 according to the present embodiment. 1 is an information processing apparatus that enables efficient and reliable reproduction of specifications from an existing business system even in the absence of documents such as requirements and knowledgeable personnel. It is. In other words, from the information that the person in charge of requirement definition can easily refer to, the existing business system corresponds to which business the user performs, which business data is processed under what conditions, and which business data It is the information processing apparatus for reproducing | regenerating the system specification which shows whether it produces | generates.

こうした業務仕様再生装置100のハードウェア構成は以下の如くとなる。業務仕様再生装置100は、SSD(Solid State Drive)やハードディスクドライブなど適宜な不揮発性記憶素子で構成される記憶装置101、RAMなど揮発性記憶素子で構成されるメモリ103、メモリ103に保持されるプログラム110〜115を実行し装置自体の統括制御を行なうとともに各種判定、演算及び制御処理を行なうCPU104(演算装置)、担当者等からのデータ入力や指示を受け付けるキーボードやマウス等の入力装置105、処理結果を出力するディスプレイ等の出力装置106を備える。   The hardware configuration of the business specification reproducing apparatus 100 is as follows. The business specification reproducing device 100 is held in a memory device 103 composed of an appropriate nonvolatile memory element such as an SSD (Solid State Drive) or a hard disk drive, a memory 103 composed of a volatile memory element such as a RAM, and the memory 103. CPU 104 (arithmetic unit) that executes programs 110 to 115 to perform overall control of the device itself and performs various determinations, computations, and control processes; input device 105 such as a keyboard and mouse that accepts data input and instructions from a person in charge; An output device 106 such as a display for outputting the processing result is provided.

なお、メモリ103内には、本実施形態の業務仕様再生装置100として必要な機能を実装する為のプログラム110〜115が記憶されている。また、記憶装置101内には、各種処理に必要なデータ類121〜128が記憶されている。これらデータ類121〜128の詳細については後述する。
−−−機能の例−−−
In the memory 103, programs 110 to 115 for implementing functions necessary as the business specification reproducing apparatus 100 of the present embodiment are stored. The storage device 101 stores data 121 to 128 necessary for various processes. Details of these data classes 121 to 128 will be described later.
--- Examples of functions ---

続いて、本実施形態の業務仕様再生装置100が備える機能について説明する。上述したように、以下に説明する機能は、例えば業務仕様再生装置100がメモリ103で備えるプログラム110〜115をそれぞれ実行することで実装される機能と言える。   Next, functions provided in the business specification reproduction apparatus 100 of this embodiment will be described. As described above, the functions described below can be said to be functions that are implemented by, for example, executing the programs 110 to 115 provided in the memory 103 in the business specification reproducing apparatus 100, for example.

こうした業務仕様再生装置100は、業務仕様再生対象となる業務システムのソースコードを、記憶装置101上のソースコード120として保存する機能を備えている。このソースコード120は、業務仕様再生装置100を用いて仕様再生を行う担当者が、業務仕様再生対象の業務システムのソースコードを入力装置105から適宜に入力したものである。   Such a business specification reproduction device 100 has a function of saving the source code of a business system that is a business specification reproduction target as the source code 120 on the storage device 101. This source code 120 is obtained by appropriately inputting from the input device 105 the source code of the business system subject to business specification reproduction by a person in charge of performing specification reproduction using the business specification reproduction device 100.

また、業務仕様再生装置100は、上述の担当者が入力装置105から入力する業務データアクセス基点リストを、記憶装置101上の業務データアクセス基点リスト121として保存する機能を備えている。業務データアクセス基点とは、上述の業務システムのソースコード120に含まれるコード片のうち業務システムの画面上のデータ項目または業務システムのDBシステム上のデータ項目に対するアクセス処理を記述している1つのコード片と、そのコード片のアクセス先データ項目と、このコード片のアクセス先データ項目を持つ画面またはDBテーブルの名前と、このコード片で行われるアクセス処理の種別との組み合わせで構成されたものである。上述のアクセス処理の種別は、「参照」または「出力」である。この業務データアクセス基点リストは、上述の担当者が、ソースコード上の設定ファイル等を参照して作成して入力装置105から入力したものとである。   In addition, the business specification reproducing apparatus 100 has a function of storing a business data access base point list input from the input device 105 by the above-mentioned person in charge as a business data access base point list 121 on the storage device 101. The business data access base point is one that describes an access process for a data item on the screen of the business system or a data item on the DB system of the business system among the code fragments included in the source code 120 of the business system. Composed of a combination of a code fragment, the access destination data item of the code fragment, the name of the screen or DB table having the access destination data item of the code fragment, and the type of access processing performed by this code fragment It is. The type of access processing described above is “reference” or “output”. This business data access base point list is created by the person in charge described above with reference to the setting file on the source code and the like and input from the input device 105.

また、業務仕様再生装置100は、上述の担当者が入力装置105から入力する、業務単位の画面遷移リストを、記憶装置101上の業務単位の画面遷移リスト122として保存する機能を備えている。業務単位の画面遷移とは、業務システムの利用者が1つの業務を実施する際に発生する業務システム上の画面遷移の情報であり、利用者が行う業務名と、利用者が業務データを入力する遷移元画面名と、利用者が業務システムからの出力を受け取る遷移先画面名との組み合わせで構成されている。この画面遷移リストは、上述の担当者が、ユーザマニュアル等を参照して作成して入力装置105から入力したものである。   Further, the business specification reproduction device 100 has a function of saving a business unit screen transition list input from the input device 105 by the above-mentioned person in charge as a business unit screen transition list 122 on the storage device 101. Business unit screen transitions are information on screen transitions on the business system that occur when a business system user performs one business, and the business name entered by the user and the business data entered by the user This is composed of a combination of a transition source screen name and a transition destination screen name from which the user receives output from the business system. This screen transition list is created by the person in charge described above with reference to the user manual or the like and input from the input device 105.

また、業務仕様再生装置100は、上述の業務データアクセス基点リスト121の各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と、そのアクセス基点からの実行パスに含まれるコード片を、ソースコード120から抽出して、業務処理コードテーブル123に格納する機能を備えている。上述の業務処理コードは、画面名と、その画面上のデータを参照するアクセス基点と、そのコード片が実行される際に同時に実行される可能性があるコード片の集合との組み合わせで構成されている。この機能は、上述の実行パス抽出プログラム110を実行することで業務仕様再生システム100に実装される機能である。   Further, the business specification reproducing device 100 extracts a record including a reference process for a data item on a common screen from each record of the business data access base list 121 described above, and applies to each screen included in the extracted record. The access base point included in the record and the code fragment included in the execution path from the access base point are extracted from the source code 120 and stored in the business process code table 123. The business process code described above is composed of a combination of a screen name, an access base point for referring to data on the screen, and a set of code pieces that may be executed simultaneously when the code piece is executed. ing. This function is a function implemented in the business specification reproduction system 100 by executing the execution path extraction program 110 described above.

また、業務仕様再生装置100は、業務処理コードテーブル123の所定のレコードを、ソースコード120に照合し、所定のレコードのコード片の集合に含まれるコード片それぞれのデータ依存先と制御依存先にあたるコード片を特定し、業務処理コード依存関係テーブル124に格納する機能を備えている。この業務処理コード依存関係テーブルは、1つの業務処理コードに含まれるコード片それぞれについて1つのレコードをもち、当該業務処理コード依存関係レコードは、1つのコード片と、そのコード片のデータ依存先のコード片と、制御依存先のコード片との組み合わせで構成されている。この機能は、上述の依存関係解析プログラム111を実行することで業務仕様再生システム100に実装される機能である。   Further, the business specification reproducing apparatus 100 collates a predetermined record in the business process code table 123 with the source code 120, and corresponds to the data dependency destination and the control dependency destination of each code fragment included in the set of code fragments of the predetermined record. A function of specifying a code fragment and storing it in the business process code dependency relationship table 124 is provided. The business process code dependency relationship table has one record for each code fragment included in one business process code. The business process code dependency relationship record includes one code fragment and the data dependency destination of the code fragment. It is composed of a combination of a code piece and a control-dependent code piece. This function is a function implemented in the business specification reproduction system 100 by executing the dependency relationship analysis program 111 described above.

また、業務仕様再生装置100は、業務処理コード依存関係テーブル124の所定のレコードを、業務データアクセス基点リスト121と照合して、画面またはDBのデータ項目への出力処理を行うコード片の業務処理コード依存関係レコードと、そのコード片で出力されるデータの値を生成する処理を行うコード片を持つレコードを抽出して、抽出したレコードと加工処理種別とアクセスする業務データの情報を組み合わせたレコードを業務データ加工処理テーブル125に格納する機能を備えている。   Further, the business specification reproducing apparatus 100 collates a predetermined record of the business process code dependency relationship table 124 with the business data access base list 121 and performs a process of outputting a code piece to a screen or DB data item. A record that combines a code dependency record and a record with a code fragment that performs processing to generate the value of the data output by that code fragment, and a record that combines the extracted record, the processing type, and the business data information to be accessed Is stored in the business data processing table 125.

上述の加工処理種別は、業務データへの「参照」または「出力」または演算である。この機能は、上述の業務データ加工処理抽出プログラム112を実行することで業務仕様再生システム100に実装される機能である。   The above-described processing type is “reference” or “output” or calculation for business data. This function is a function implemented in the business specification reproduction system 100 by executing the business data processing extraction program 112 described above.

また、業務仕様再生装置100は、業務データ加工処理テーブル125の所定のレコードを、業務処理コード依存関係テーブル124と照合して、各レコードの実行条件を特定し、各レコードと実行条件の組み合わせを業務データ加工処理テーブル126の各レコード上に更新し、特定した実行条件を、実行判定処理テーブル126に格納する機能を備えている。実行条件は、実行条件の識別子と、実行条件種別と、実行条件を判定する判定コード片と、実行条件に影響する業務データと、実行条件に影響する演算を行うコード片の組み合わせである。この機能は、上述の実行判定処理抽出プログラム113を実行することで業務仕様再生システム100に実装される機能である。   Further, the business specification reproducing device 100 collates a predetermined record of the business data processing table 125 with the business process code dependency table 124, specifies an execution condition of each record, and sets a combination of each record and the execution condition. It has a function of updating on each record of the business data processing table 126 and storing the specified execution condition in the execution determination processing table 126. The execution condition is a combination of an execution condition identifier, an execution condition type, a determination code piece for determining the execution condition, business data that affects the execution condition, and a code piece that performs an operation that affects the execution condition. This function is a function implemented in the business specification reproduction system 100 by executing the execution determination process extraction program 113 described above.

また、業務仕様再生装置100は、業務データ加工処理テーブル125と、実行判定処理テーブル126から、画面単位決定表を作成し、画面単位決定表127に格納する機能を備えている。この機能は、上述の決定表作成プログラム114を実行することで業務仕様再生システム100に実装される機能である。   Further, the business specification reproducing apparatus 100 has a function of creating a screen unit determination table from the business data processing table 125 and the execution determination processing table 126 and storing the screen unit determination table 127 in the screen unit determination table 127. This function is a function implemented in the business specification reproduction system 100 by executing the above-described decision table creation program 114.

また、業務仕様再生装置100は、画面単位決定表127を、業務単位の画面遷移リスト122に照合し、1つの業務に対応する1つ以上の画面遷移に対応する画面単位決定表を1つの決定表の形式に合成し、業務単位決定表128へ格納する機能を備えている。この機能は、上述の決定表合成プログラム115を実行することで業務仕様再生システム100に実装される機能である。   Further, the business specification reproducing apparatus 100 compares the screen unit determination table 127 with the screen transition list 122 of business units, and determines one screen unit determination table corresponding to one or more screen transitions corresponding to one business. A function of synthesizing the data into a table format and storing it in the business unit determination table 128 is provided. This function is a function implemented in the business specification reproduction system 100 by executing the decision table synthesis program 115 described above.

また、業務仕様再生装置100は、記憶装置101上のデータ120〜131を、業務仕様再生装置100を用いて仕様再生を行う担当者に開示する機能を備えている。この機能は、記憶装置101上のデータ120〜131を出力装置106に出力することで、業務仕様再生システム100で実現される機能である。
−−−処理フローの例−−−
Further, the business specification reproduction apparatus 100 has a function of disclosing data 120 to 131 on the storage device 101 to a person in charge of performing specification reproduction using the business specification reproduction apparatus 100. This function is realized by the business specification reproduction system 100 by outputting the data 120 to 131 on the storage device 101 to the output device 106.
--- Example of processing flow ---

以下、本実施形態における業務仕様再生装置を用いた業務仕様再生方法の実際手順について図に基づき説明する。以下で説明する業務仕様再生方法に対応する各種動作は、業務仕様再生装置100がメモリ103における各プログラム110〜115実行することで実現される。そして、これらのプログラム110〜115、以下に説明される各種の動作を行うためのコードから構成されている。   Hereinafter, the actual procedure of the business specification reproduction method using the business specification reproduction device according to the present embodiment will be described with reference to the drawings. Various operations corresponding to the business specification reproduction method described below are realized by the business specification reproduction device 100 executing the programs 110 to 115 in the memory 103. And these programs 110-115 are comprised from the code | cord | chord for performing the various operation | movement demonstrated below.

図2は、本実施形態における業務仕様再生方法の処理手順例1を示すフロー図である。ここでまず、業務仕様再生装置100を利用する担当者は、業務仕様再生対象となる業務システムのソースコード120と、業務データアクセス基点リスト121と、業務単位の画面遷移リスト122とを、入力装置105を介して業務仕様再生装置100へ入力する。一方、業務仕様再生装置100は、入力装置105を介して上述のソースコード120、業務データアクセス基点リスト121、および業務単位の画面遷移リスト122を読み込む(S1010)。   FIG. 2 is a flowchart showing a processing procedure example 1 of the business specification reproduction method according to the present embodiment. Here, the person in charge who uses the business specification reproduction device 100 first inputs the business system source code 120, the business data access base list 121, and the business unit screen transition list 122 to be the business specification reproduction target. The information is input to the business specification reproducing apparatus 100 via the user interface 105. On the other hand, the business specification reproducing device 100 reads the above-described source code 120, business data access base list 121, and business unit screen transition list 122 via the input device 105 (S1010).

上述のソースコード120は、図3に例示すように、既存システム(業務仕様再生対象である業務システム)の現在の実装プログラムに対応した、ソースコードファイルである。図3で例示するソースコードはJava(登録商標)言語で記述されたプログラムの一部を示している。既存システムにおけるソースコードは、要件や仕様に関する開発当初のドキュメント等とは異なり、現行のものが保守されている可能性が高いため、担当者は比較的容易に入手することができる。なお、業務仕様再生装置100は、ソースコード120を記述したプログラム言語やコンパイル状態に対応したソースコード解析機能を持つ必要がある。   The above-described source code 120 is a source code file corresponding to the current implementation program of the existing system (the business system that is the business specification reproduction target) as shown in FIG. The source code illustrated in FIG. 3 shows a part of a program written in Java (registered trademark) language. The source code in the existing system can be obtained relatively easily because the current source code is likely to be maintained, unlike the original documentation regarding requirements and specifications. The business specification reproducing apparatus 100 needs to have a source language analysis function corresponding to a program language describing the source code 120 and a compiled state.

また、上述の業務単位の画面遷移リスト120は、図5に例示するように、当該業務単位の画面遷移リスト120上のレコード番号(図中では「#」)をキーとして、1つの画面遷移における遷移元画面名および遷移先画面名と、その画面遷移が発生する業務名が対応付けられたレコードの集合体となっている。担当者は、業務単位の画面遷移リスト120の各レコードを、業務システムの利用マニュアルを参照して作成することができる。利用マニュアルはソースコードと同じく運用中に継続的に利用されるため、開発時のドキュメントと比較して保守されている可能性が高い。加えて、利用マニュアルは利用者に読解されることを前提として作成されるため、担当者がこれを読解して業務単位の画面遷移情報を取得することは比較的容易である。また、業務システムの運用保守担当者が利用者の業務にアクセスできない場合は、業務システム自体の実行ログから画面と業務の対応関係を抽出しても良い。   Further, as shown in FIG. 5, the screen transition list 120 for the business unit described above is a single screen transition using the record number (“#” in the figure) on the screen transition list 120 for the business unit as a key. It is a set of records in which the transition source screen name and the transition destination screen name are associated with the business name in which the screen transition occurs. The person in charge can create each record of the screen transition list 120 for each business unit with reference to the usage manual for the business system. Like the source code, the user manual is used continuously during operation, so there is a high possibility that it is maintained compared to the documentation at the time of development. In addition, since the usage manual is created on the assumption that the user will read it, it is relatively easy for the person in charge to read it and acquire screen transition information for each business unit. If the person in charge of operation and maintenance of the business system cannot access the user's business, the correspondence between the screen and the business may be extracted from the execution log of the business system itself.

また、上述の業務データアクセス基点リスト121は、図4に例示するように、当該業務データアクセス基点リスト121上のレコード番号(図中では「#」)をキーとして、ソースコード120上のコード片の1つを示すアクセス基点と、そのアクセス基点で行われるデータアクセス処理の種別(図中では「処理」)と、アクセスされる業務データ名と、その業務データが所属している画面やDBテーブルの名称(図中では「業務データ所属))が対応付けられたレコードの集合体となっている。この業務データアクセス基点リスト121のレコードは、業務単位の画面遷移リスト122の情報に基づいて、一般的なリバース解析アルゴリズム等でソースコードを解析することで作成できる。   Further, as illustrated in FIG. 4, the business data access base point list 121 described above is a code fragment on the source code 120 using the record number (“#” in the figure) on the business data access base point list 121 as a key. Access base point indicating one of the above, the type of data access processing ("Processing" in the figure) performed at the access base point, the name of the business data to be accessed, the screen or DB table to which the business data belongs The records of the business data access base list 121 are based on the information in the screen transition list 122 for each business unit. It can be created by analyzing the source code using a general reverse analysis algorithm.

ここで図2のフローの説明に戻る。続いて業務仕様再生装置100は、ステップS10110で読み込んだソースコード120から画面毎の実行パスを抽出する(S1020)。この場合、業務仕様再生装置100は、実行パス抽出プログラム110を実行することにより、下記の処理を実行する。   Returning to the description of the flow in FIG. Subsequently, the business specification reproducing apparatus 100 extracts an execution path for each screen from the source code 120 read in step S10110 (S1020). In this case, the business specification reproducing apparatus 100 executes the following process by executing the execution path extraction program 110.

まず、業務仕様再生装置100は、ソースコード120を構成するモジュール間の呼び出し関係を特定しておく。図3に示したJava(登録商標)言語で記述されたソースコード120の場合、業務仕様再生装置100は、クラスごとのフィールドおよびメソッドを1モジュールとして、モジュール毎に呼び出し元モジュールと呼び出し先モジュールを特定する。   First, the business specification reproducing apparatus 100 specifies a calling relationship between modules constituting the source code 120. In the case of the source code 120 described in the Java (registered trademark) language shown in FIG. 3, the business specification reproducing device 100 sets a field and a method for each class as one module, and sets a caller module and a callee module for each module. Identify.

加えて業務仕様再生装置100は、業務データアクセス基点リスト121から、データアクセス処理の種別が「参照」であり、かつ、業務データの所属元が何れかの画面であるレコードを抽出する。さらに業務仕様再生装置100は、ここで抽出したレコードから、業務データの所属元の画面名が共通のレコードのアクセス基点を、業務データの所属元の画面ごとに抽出する。その結果、業務仕様再生装置100は、業務データの所属元の画面ごとに、その画面のデータを参照するアクセス基点の集合が得られる。   In addition, the business specification reproduction apparatus 100 extracts a record whose data access processing type is “reference” and whose business data belongs to any screen from the business data access base list 121. Further, the business specification reproducing apparatus 100 extracts the access base point of the record having the common screen name of the business data belonging to each screen of the business data belonging from the extracted record. As a result, the business specification reproducing apparatus 100 can obtain a set of access base points for referring to the screen data for each screen from which business data belongs.

続いて、業務仕様再生装置100は、業務データの所属元の画面ごとに、その画面のデータを参照するアクセス基点をコード片として含むモジュールを、ソースコード120から特定する。業務仕様再生装置100は、ここで特定したモジュールからの呼び出し先モジュールを再帰的に辿ることで、そのモジュールを起点とした実行パスを抽出する。その結果、業務仕様再生装置100は、業務データの所属元の画面ごとに、業務データを参照した結果を利用して処理している可能性のあるモジュールの集合が得られる。   Subsequently, the business specification reproduction apparatus 100 specifies, from the source code 120, a module that includes, as a code fragment, an access base point that refers to the data on the screen for each screen from which business data belongs. The business specification reproducing apparatus 100 extracts an execution path starting from the module by recursively tracing the callee module from the module specified here. As a result, the business specification reproducing apparatus 100 can obtain a set of modules that may be processed using the result of referring to the business data for each screen from which the business data belongs.

最後に業務仕様再生装置100は、業務処理コードテーブル123として、図6に例示するように、業務データの所属元の画面(図中では「画面」)をキーとして、その画面上のデータを参照するコード片を含むモジュールの集合(図中では「参照モジュール」)と、そこから呼び出されるモジュールの集合(図中では「実行モジュール」)とが対応付けられたレコードの集合を、記憶装置101に格納する。   Finally, the business specification reproducing device 100 refers to the data on the business process code table 123 by using the screen of the business data belonging (“screen” in the figure) as a key, as illustrated in FIG. A set of records in which a set of modules including code pieces to be executed (“reference module” in the figure) and a set of modules called from the code piece (“execution module” in the figure) are associated is stored in the storage device 101. Store.

ここで再び図2のフローの説明に戻る。次に業務仕様再生装置100は、ソースコード120と業務処理コードテーブル123から、コード片間の依存関係を抽出する(S1030)。この場合、業務仕様再生装置100は、依存関係解析プログラム111を実行することにより、業務処理コードテーブル123の各レコードに対して、図7に示すステップS1031〜S1039の各処理を、以下のフローに沿って実行する。   Here, the description returns to the flow of FIG. Next, the business specification reproducing apparatus 100 extracts the dependency relationship between the code pieces from the source code 120 and the business process code table 123 (S1030). In this case, the business specification reproducing apparatus 100 executes the dependency analysis program 111 to perform the processing of steps S1031 to S1039 shown in FIG. 7 for each record of the business processing code table 123 according to the following flow. Run along.

まず業務仕様再生装置100は、業務処理コードテーブル123のレコードを1つ選択し、そのレコードの「参照モジュール」および「実行モジュール」をソースコード120と照合し、ソースコード120からこれらのモジュールとそのモジュールを構成するコード片の集合を抽出する(S1031)。   First, the business specification reproducing apparatus 100 selects one record of the business process code table 123, collates the “reference module” and “execution module” of the record with the source code 120, and from the source code 120, these modules and their A set of code pieces constituting the module is extracted (S1031).

次に業務仕様再生装置100は、上述のステップS1031で抽出したモジュールのうち未処理の1つを選択する(S1032)。また業務仕様再生装置100は、ここで選択したモジュールに対して、モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定する(S1033〜S1037)。   Next, the business specification reproduction apparatus 100 selects an unprocessed module from the modules extracted in step S1031 (S1032). In addition, the business specification reproducing apparatus 100 specifies the data dependence destination code piece and the control dependence destination code piece for each code piece from the data flow and control flow in the module for the selected module (S1033 to S1037). .

この場合の業務仕様再生装置100は、コード片のデータ依存先を特定するに際し、モジュール内の変数間のデータフローを作成し(S1033)、各コード片からデータフローを遡った先のコード片の集合を特定し取得する(S1034)。ただし、該当コード片で他のモジュールを呼び出してその帰り値を格納している場合は、呼び出しているモジュールの返り値をデータ依存先の集合に加える。また業務仕様再生装置100は、コード片の制御依存先を特定するに際し、モジュール内のコード片間の制御フローを生成し(S1035)、各コード片から制御フローを遡った先のコード片の集合を特定し取得する(S1036)。   In this case, when specifying the data dependency destination of the code fragment, the business specification reproducing apparatus 100 creates a data flow between the variables in the module (S1033), and the code fragment of the previous code fragment traced back from each code fragment. A set is specified and acquired (S1034). However, if the corresponding code fragment calls another module and stores the return value, the return value of the calling module is added to the set of data dependence destinations. In addition, when specifying the control dependence destination of the code fragment, the business specification reproducing device 100 generates a control flow between the code fragments in the module (S1035), and a set of code fragments ahead of the control flow from each code fragment. Is identified and acquired (S1036).

図3に例示したJava(登録商標)ソースコードの場合、各コード片の制御依存先コード片はIF文を表すコード片やメソッド定義を表すコード片が該当する。また、IF文のような条件を判定するコード片に制御依存している場合は、その条件判定結果がどのような場合に該当コード片が実行されるのかを含めた情報も含む。   In the case of the Java (registered trademark) source code illustrated in FIG. 3, the control dependent destination code fragment of each code fragment corresponds to a code fragment representing an IF statement or a code fragment representing a method definition. In addition, when the control piece depends on a code piece for determining a condition such as an IF statement, the condition determination result includes information including when the corresponding code piece is executed.

ただし、モジュール内のコード片のうち、メソッド定義のようなモジュールの先頭を表すコード片の制御依存先は、上述のステップS1020で特定したモジュール間の呼び出し関係に基づき、呼び出し元モジュール内で呼出し命令が記述されているコード片とする。ただしこのとき、ステップS1031で選択したレコードの「参照モジュール」に含まれるモジュールの先頭を表すコード片の制御依存先は、コード片ではなくこのレコードの「画面」とする。   However, among the code fragments in the module, the control dependence destination of the code fragment representing the beginning of the module, such as the method definition, is the call instruction in the caller module based on the call relationship between the modules specified in step S1020 described above. Is a code fragment in which is described. However, at this time, the control dependence destination of the code fragment representing the top of the module included in the “reference module” of the record selected in step S1031 is not the code fragment but the “screen” of this record.

最後に業務仕様再生装置100は、図8に例示するように、画面名(図8では省略)と抽出したコード片の組をキーとして、そのコード片のデータ依存先コード片の集合(図8では「データ依存先コード片」)と、そのコード片の制御依存先コード片の集合(図8では「制御依存先コード片」)を対応付けたレコードの集合を、業務処理コード依存関係テーブル124に格納する(S1037)。   Finally, as illustrated in FIG. 8, the business specification reproducing apparatus 100 uses a set of a screen name (omitted in FIG. 8) and the extracted code fragment as a key, and a set of data dependence destination code fragments of the code fragment (FIG. 8). In this case, a set of records in which “data dependency destination code fragment”) and a set of control dependency destination code fragments of the code fragment (“control dependency destination code fragment” in FIG. (S1037).

次に業務仕様再生装置100は、上述のステップS1031で抽出したモジュールのうちステップS1032でまだ選択していないモジュールが残っていれば(S1038:YES)、ステップS1032へ戻って続く処理を繰り返す。   Next, if there is a module that has not been selected in step S1032 among the modules extracted in step S1031 described above (S1038: YES), the business specification reproducing apparatus 100 returns to step S1032 and repeats the subsequent processing.

さらに業務仕様再生装置100は、上述のステップS1031でまだ選択していない業務処理コードテーブル123のレコードが残っていれば(S1039:YES)、上述のステップS1031へ戻って続く処理を繰り返す。他方、そうでなければ(S1039:NO)、業務仕様再生装置100は、次のステップS1040へ処理を移行する。   Furthermore, if there is still a record in the business process code table 123 that has not been selected in step S1031 described above (S1039: YES), the business specification reproducing apparatus 100 returns to step S1031 and repeats the subsequent processing. On the other hand, if not (S1039: NO), the business specification reproducing apparatus 100 proceeds to the next step S1040.

ここで再び図2のフローの説明において戻る。次に業務仕様再生装置100は、業務処理コード依存関係テーブル124から、業務データの加工処理を抽出する(S1040)。この場合、業務仕様再生装置100は、業務データ加工処理抽出プログラム112を実行することにより、業務処理コード依存関係テーブル124のレコードのうち、画面が共通のレコード集合ごとに、図9に示すステップS1041〜S1048の各処理をフローに従って実行する。   Here, it returns to the description of the flow of FIG. Next, the business specification reproducing apparatus 100 extracts a business data processing process from the business process code dependency table 124 (S1040). In this case, the business specification reproducing device 100 executes the business data processing process extraction program 112 to perform step S1041 shown in FIG. 9 for each record set having a common screen among the records of the business process code dependency relationship table 124. ˜S1048 are executed according to the flow.

ここまず、業務仕様再生装置100は、1つの画面を選択し、その画面を起点とした実行パスに含まれるコード片の依存関係を業務処理コード依存関係テーブル124から抽出する。ここで業務仕様再生装置100は、業務処理コードテーブル123のレコードを1つ選択し、そのレコードの「参照モジュール」および「実行モジュール」を業務処理コード依存関係テーブル124と照合し、業務処理コード依存関係テーブル124からこれらのモジュールを構成するコード片に合致するレコードを抽出する(S1041)。   First, the business specification reproducing apparatus 100 selects one screen, and extracts the dependency of code fragments included in the execution path starting from that screen from the business process code dependency relationship table 124. Here, the business specification reproduction apparatus 100 selects one record of the business process code table 123, collates the “reference module” and “execution module” of the record with the business process code dependency table 124, and depends on the business process code dependency. Records that match the code pieces constituting these modules are extracted from the relationship table 124 (S1041).

次に業務仕様再生装置100は、上述のステップS1041で抽出したレコードと、業務データアクセス基点リスト121を照合し、業務データアクセス基点リスト121のレコードのうち、処理が「出力」であるレコードのコード片と一致するコード片を持つレコードを1つ選択する(S1042)。   Next, the business specification reproducing device 100 collates the record extracted in step S1041 described above with the business data access base list 121, and among the records of the business data access base list 121, the code of the record whose processing is “output” One record having a code piece that matches the piece is selected (S1042).

ここで選択されるコード片は、業務データに対する出力処理を行うアクセス基点に対応するコード片である。例として、図8に示した「旅費精算申請画面」の業務処理コード依存関係テーブル124のレコード集合に対して、図4に示した業務データアクセス基点リスト121を照合して、処理が出力であるコード片について業務データアクセス基点リスト121と業務処理コード依存関係テーブル124それぞれの該当レコードの情報を抽出した例を図10に示す。図10では簡単のため業務データ項目と業務データの所属を1つのカラム(図10では「業務データ」)にまとめている。   The code piece selected here is a code piece corresponding to an access base point that performs output processing on business data. As an example, the business data access base list 121 shown in FIG. 4 is collated against the record set of the business process code dependency relationship table 124 of the “travel expense settlement application screen” shown in FIG. FIG. 10 shows an example in which information of corresponding records in the business data access base list 121 and the business process code dependency relationship table 124 is extracted for the code pieces. In FIG. 10, business data items and business data affiliations are grouped into one column (“business data” in FIG. 10) for simplicity.

次に業務仕様再生装置100は、上述のステップS1042で選択した、その「出力」処理までのデータフローに含まれるコード片を、ステップS1041で業務処理コード依存関係テーブル124から抽出したコード片の中から抽出する(S1043)。   Next, the business specification reproducing apparatus 100 extracts the code fragment included in the data flow until the “output” process selected in step S1042 described above from the business process code dependency relationship table 124 in step S1041. (S1043).

例として、図10で示した出力処理を行うコード片である「PlaceMastaerDAO」モジュールの127行目(図4では“PlaceMastaerDAO#127”)を起点として、図8に示した「旅費精算申請画面」の業務処理コード依存関係テーブル124のレコード集合に対して、データ依存先のコード片のレコードを再帰的に抽出した結果の一部を図12に示す。ここでは、旅費精算申請画面から「MainPGM」モジュールが呼び出されてから、「PlaceMastaerDAO」モジュールでDBの「PlaceMasterSub」テーブルに値が格納されるまでの間に、その値の加工に関わる可能性のあるコード片が抽出されている。   As an example, starting from the 127th line (“PlaceMasterDAO # 127” in FIG. 4) of the “PlaceMasterDAO” module, which is a code fragment for performing the output processing shown in FIG. 10, the “travel expense adjustment application screen” shown in FIG. FIG. 12 shows a part of the result of recursively extracting the code dependency record of the data dependency destination for the record set of the business process code dependency relationship table 124. Here, there is a possibility that it will be related to the processing of the value after the “MainPGM” module is called from the travel expense adjustment application screen until the value is stored in the “PlaceMasterSub” table of the DB by the “PlaceMasterDAO” module. A piece of code has been extracted.

最後に業務仕様再生装置100は、これらのコード片のうち、業務データの加工に関連するコードデータのみを抽出し、業務データ加工処理テーブル125に格納する(S1044〜1046)。   Finally, the business specification reproducing apparatus 100 extracts only code data related to the processing of business data from these code pieces, and stores it in the business data processing table 125 (S1044 to 1046).

この場合まず、業務仕様再生装置100は、図12に示したようなレコード集合(ステップS1043で抽出したレコード集合)に対して、業務データアクセス基点リスト121を照合して、業務データの参照を行うコード片を持つレコードを特定し、参照している業務データを対応付ける(S1044)。図12の例では、「MainPGM#348」、「MainPGM#347」、および「MainPGM#335」の3つのコード片が、「旅費精算申請画面」の「添付領収書」、「交通費」、および「行き先」の業務データを参照するアクセス基点に対応している。   In this case, the business specification reproducing apparatus 100 first refers to the business data by collating the business data access base list 121 against the record set as shown in FIG. 12 (the record set extracted in step S1043). A record having a code fragment is identified and the business data being referred to is associated (S1044). In the example of FIG. 12, three code fragments “MainPGM # 348”, “MainPGM # 347”, and “MainPGM # 335” are “attached receipt”, “transportation cost”, and “travel expense payment application screen”. It corresponds to the access base point that refers to the business data of "Destination".

そして業務仕様再生装置100は、出力処理を行うコード片に対して抽出したレコード集合に対して、業務データを参照しているコード片から、業務データを出力しているコード片までのデータフロー上に登場するコード片のみを抽出する(S1045)。これらのコード片の集合は、該当業務システムがある業務データをDBまたは画面へ出力する際の、既存業務データの値の取得から、その値を用いた演算を経て、演算結果を出力するまでの一連の業務データ加工処理を行うコード片である。業務データ加工処理テーブル125は、ここで抽出されたコード片と、出力処理を行うコード片と、呼び出し元の画面名とをキーとして、コード片のデータ依存先と制御依存先、およびそのコード片で行われる処理の種別と、加工する業務データを対応付けたものである。処理の種別と加工する業務データは、業務データアクセス基点に一致するコード片の場合はその処理及び業務データが対応し、それ以外のコード片の処理は演算とし業務データは対応しない。   Then, the business specification reproducing device 100 performs a data flow from the code piece referring to the business data to the code piece outputting the business data with respect to the record set extracted for the code piece to be output. Only code fragments appearing in are extracted (S1045). The set of these code pieces is from the acquisition of the value of the existing business data to the output of the operation result when the business data with the corresponding business system is output to the DB or the screen. It is a code piece that performs a series of business data processing. The business data processing table 125 includes the code piece extracted here, the code piece to be output, and the screen name of the caller as keys, and the data dependence destination and control dependence destination of the code piece, and the code piece. Are associated with the type of processing to be performed in FIG. The processing type and the business data to be processed correspond to the processing and business data in the case of a code piece that matches the business data access base point, and the processing of other code pieces is an operation and the business data does not correspond.

最後に業務仕様再生装置100は、上述のステップS1041で選択した業務処理コードレコードの「画面」と、ステップS1042で選択した出力コード片に対応するアクセス基点をキーとして、ステップS1045で抽出したコード片に対応する業務処理コード依存関係テーブルのレコードと、ステップS1045で特定した業務データに対する処理種別および対象業務データの情報を、業務データ加工処理テーブル125に格納する(S1046)。   Finally, the business specification reproducing device 100 uses the “screen” of the business process code record selected in step S1041 and the access base point corresponding to the output code piece selected in step S1042 as keys, and the code piece extracted in step S1045. The business process code dependency relationship table record corresponding to, and the process type and target business data information for the business data specified in step S1045 are stored in the business data processing table 125 (S1046).

図12のレコードとして示した例の場合は、「PlaceMastaerDAO#127」を起点として「MainPGM#348」、「MainPGM#347」、「MainPGM#335」の3つのコード片いずれかにたどり着くデータ依存パス上のコード片のみを抽出した結果、図13に示す12レコードが業務データ加工処理テーブル125に格納される(図13では、レコードのキーである画面名と出力アクセス基点を省略している)。   In the case of the example shown in the record of FIG. 12, on the data dependency path starting from “PlaceMasterDAO # 127” and reaching one of the three code pieces “MainPGM # 348”, “MainPGM # 347”, and “MainPGM # 335”. As a result of extracting only the code fragment, 12 records shown in FIG. 13 are stored in the business data processing table 125 (in FIG. 13, the screen name and the output access base point which are the keys of the records are omitted).

その後、業務仕様再生装置100は、上述のステップS1042で照合した出力コード片のうち選択していないコード片が残っている場合(S1047:YES)、処理をS1042に戻して続く処理を繰り返す。   Thereafter, when there is an unselected code piece among the output code pieces collated in step S1042 described above (S1047: YES), the business specification reproducing apparatus 100 returns the process to S1042 and repeats the subsequent processes.

また業務仕様再生装置100は、業務処理コードテーブルのレコードのうちまだステップS1041で選択していないレコードが残っている場合(S1048:YES)、上述のステップS1041へ処理を戻し、続く処理を繰り返す。他方、そうでなければ(S1048:NO)、業務仕様再生装置100は、次のステップS1050へ処理を移行する。   If there is still a record that has not been selected in step S1041 among the records in the business process code table (S1048: YES), the business specification reproducing apparatus 100 returns the process to step S1041 described above and repeats the subsequent processes. On the other hand, if not (S1048: NO), the business specification reproducing apparatus 100 proceeds to the next step S1050.

ここで再び図2のフローの説明に戻る。次に業務仕様再生装置100は、業務処理コード依存関係テーブル124から、実行判定処理を抽出する(S1050)。   Here, the description returns to the flow of FIG. Next, the business specification reproduction device 100 extracts an execution determination process from the business process code dependency relationship table 124 (S1050).

この場合、業務仕様再生装置100は、実行判定処理抽出プログラム113を実行することにより、業務データ加工処理テーブル125のレコードのうち画面が共通のレコード集合ごとに、図11のステップS1051〜S1059に示す下記の各処理を実行する。   In this case, the business specification reproducing apparatus 100 executes the execution determination process extraction program 113 to show the records in the business data processing table 125 for each record set having a common screen in steps S1051 to S1059 in FIG. The following processes are executed.

この場合まず、業務仕様再生装置100は、業務処理コードテーブル123から未処理のレコードを1つ選択し、業務データ加工処理テーブル125から該当画面に対応するレコード集合を抽出する(S1051)。   In this case, first, the business specification reproducing apparatus 100 selects one unprocessed record from the business process code table 123, and extracts a record set corresponding to the corresponding screen from the business data processing table 125 (S1051).

続いて業務仕様再生装置100は、上述のステップS1051で業務データ加工処理テーブル125から抽出したレコードの「制御依存先」に含まれるコード片の和集合について、業務処理コード依存関係テーブル124に照合し、合致するコード片を持つレコードを上述のステップS1051で選択した画面からのデータ加工処理に対応する実行条件候補として抽出する(S1052)。   Subsequently, the business specification reproducing apparatus 100 collates the business code encoding relation table 124 with respect to the union of code pieces included in the “control dependence destination” of the record extracted from the business data processing table 125 in step S1051 described above. Then, a record having a matching code piece is extracted as an execution condition candidate corresponding to the data processing process from the screen selected in step S1051 described above (S1052).

続いて業務仕様再生装置100は、実行条件候補のレコードのうち1つを選択し(S1053)、その種別に応じて以下の処理(S1054〜S1058)を行い、実行条件と、条件判定のために参照する業務データと、条件判定のための業務データ参照および演算処理を行うコード片集合とを対応付ける(S1059)。   Subsequently, the business specification reproducing apparatus 100 selects one of the execution condition candidate records (S1053), performs the following processing (S1054 to S1058) according to the type, and executes the execution condition and condition determination. The business data to be referred to is associated with a code piece set for performing business data reference and calculation processing for condition determination (S1059).

図14は、図13で示した「旅費精算申請画面」で画面上の3つの業務データの値を参照して「PlaceMasterSub」テーブルへ格納するまでの加工処理を表す業務データ加工処理テーブル125のレコードから、実行条件候補を抽出した例である。図13で示したレコードには、図14で示す「#c1」から「#c7」までの7つのコード片が制御依存先として含まれているため、これらが実行条件候補として抽出される。そして図15は、図14で示した実行条件候補それぞれに対して、実行条件と、条件判定のために参照する業務データと、条件判定のための演算コード片を対応付けた実行判定処理テーブルのレコードの例である。   FIG. 14 is a record of the business data processing table 125 that represents the processing until the “PlaceMasterSub” table is stored with reference to the values of the three business data on the screen in the “travel expense payment application screen” shown in FIG. This is an example in which execution condition candidates are extracted. Since the record shown in FIG. 13 includes seven code pieces “# c1” to “# c7” shown in FIG. 14 as control dependence destinations, these are extracted as execution condition candidates. FIG. 15 shows an execution determination processing table in which execution conditions, business data referred to for condition determination, and operation code fragments for condition determination are associated with the execution condition candidates shown in FIG. It is an example of a record.

上述の実行条件候補のレコードのコード片が実行モジュールの冒頭にあたるコード片である場合は、該当画面からの呼び出しで無条件に実行されるとみなすため、業務仕様再生装置100は、実行条件を画面名とし、参照業務データと演算コード片は無しとする(S1054)。図14に示す実行条件候補のうち、「#c7」のコード片「MainPGM#333」はこれらのコード片を呼び出す画面である「旅費精算申請画面」から呼び出される実行モジュールの冒頭の定義文にあたるため、ステップS1054の処理により実行条件が画面呼び出しとなり、参照する業務データやその演算コード片はない(図15#7)。   When the code fragment of the execution condition candidate record described above is the code fragment corresponding to the beginning of the execution module, it is considered that the code is executed unconditionally by calling from the corresponding screen. It is assumed that there is no reference business data and operation code fragment (S1054). Among the execution condition candidates shown in FIG. 14, the code fragment “MainPGM # 333” of “# c7” corresponds to the definition sentence at the beginning of the execution module called from the “travel expense payment application screen” which is a screen for calling these code fragments. As a result of the processing in step S1054, the execution condition becomes a screen call, and there is no business data to be referred to or its operation code fragment (FIG. 15 # 7).

一方、実行条件候補のレコードのコード片が参照モジュールの冒頭である場合、業務仕様再生装置100は、業務処理コード依存関係テーブル124からモジュールの呼び出し元コード片を特定し、そのコード片の制御フローをさかのぼることで、上述の条件判定文または画面から呼び出されるモジュールのうち1つ以上の実行条件候補のコード片に到達する(S1055)。このとき業務仕様再生装置100は、この実行条件候補を、到達した実行条件候補のコード片の分岐条件の積として表す(S1056)。   On the other hand, when the code fragment of the execution condition candidate record is the beginning of the reference module, the business specification reproducing apparatus 100 identifies the caller code fragment of the module from the business process code dependency relationship table 124, and the control flow of the code fragment As a result, the code pieces of one or more execution condition candidates among the above-described condition determination statements or modules called from the screen are reached (S1055). At this time, the business specification reproducing apparatus 100 represents the execution condition candidate as a product of the branch conditions of the code pieces of the reached execution condition candidate (S1056).

図14に示す実行条件候補のうち、「#c1」から「#c4」までのコード片は参照メソッドの冒頭を表す定義文である。そのため、ステップS1055〜S1056で、呼び出し元メソッドの制御フローを遡り、いずれも条件候補の「#c6」と「#c5」が「False」の場合に実行されることが分かる。   Of the execution condition candidates shown in FIG. 14, the code pieces from “# c1” to “# c4” are definition sentences representing the beginning of the reference method. Therefore, in steps S1055 to S1056, the control flow of the caller method is traced back, and it is understood that both are executed when the condition candidates “# c6” and “# c5” are “False”.

実行条件候補のレコードのコード片が上記いずれにも当てはまらない場合、業務仕様再生装置100は、そのコード片で行われている条件判定処理をステップS1042で選択する業務データ出力処理とみなした場合のステップS1042〜S1045の処理を行うことで業務処理コード依存関係テーブル124からデータフローをさかのぼって業務データ加工処理にあたる業務データの参照を行うコード片とその値を加工する演算コード片を抽出する(S1057)。ここで抽出したコード片は、実行条件候補となるコード片の判定に影響を与える業務データと、その業務データを用いた判定のための演算処理であるため、業務仕様再生装置100は、これらをこの実行条件候補の参照および演算処理コード片とする(S1058)。   When the code piece of the record of the execution condition candidate does not correspond to any of the above, the business specification reproducing device 100 regards the condition determination process performed with the code piece as the business data output process selected in step S1042 By performing the processing of steps S1042 to S1045, a code fragment for referencing the business data corresponding to the business data processing process and an operation code fragment for processing the value are extracted from the business process code dependency relationship table 124 (S1057). ). The code pieces extracted here are business data that influences the determination of the code pieces that are execution condition candidates, and arithmetic processing for the determination using the business data. The execution condition candidate is referred to and an operation processing code fragment (S1058).

図14に示す実行条件候補のうち、残る「#c6」と「#c5」はそれぞれIF文の条件判定を行っているため、業務仕様再生装置100は、ステップS1057でそれぞれのデータフローを遡り、業務データを参照しているコード片から関連する業務データを特定する。   Of the execution condition candidates shown in FIG. 14, the remaining “# c6” and “# c5” are performing IF statement condition determination, so the business specification reproducing device 100 goes back to the respective data flows in step S1057. Identify the relevant business data from the code fragment referring to the business data.

実行条件候補「#c5」は、データ依存先のコード片「MainPGM#347」および「MainPGM#348」がそれぞれ業務データの参照を行っているアクセス基点であるため、これら2つのコード片が参照している業務データが参照業務データとなり、演算コード片は無しとなる。一方、実行条件候補「#c6」はデータ依存先が「MainPGM#341」であるが、これは業務データアクセス基点に対応するコード片ではないため、このコード片「MainPGM#341」がデータ依存している業務データアクセス基点が参照している業務データを参照業務データとして持ち、「MainPGM#341」は演算コード片として持つ。   The execution condition candidate “# c5” is an access point from which the data dependency destination code fragments “MainPGM # 347” and “MainPGM # 348” refer to the business data, respectively. The business data is the reference business data, and there is no operation code fragment. On the other hand, the execution condition candidate “# c6” has the data dependency destination “MainPGM # 341”, but since this is not a code fragment corresponding to the business data access base point, the code fragment “MainPGM # 341” has data dependency. The business data referred to by the current business data access base point is stored as reference business data, and “MainPGM # 341” is stored as an operation code fragment.

図15に示す実行条件により、図13で示した出力の加工処理は、「旅費精算申請画面」からの呼び出しで無条件に実行される処理と、業務データ「交通費」「添付領収書」の値で実行可否が定まる「MainPGM#349」と、業務データ「行先」の値で実行可否が定まる「MainPGM#344」の2つの条件と、その結果の組み合わせによって実行可否が定まる処理から成ることがわかる。   According to the execution conditions shown in FIG. 15, the output processing shown in FIG. 13 includes processing that is unconditionally executed by a call from the “travel expense settlement application screen” and business data “transportation expenses” and “attached receipt”. It consists of two conditions, “MainPGM # 349” that determines whether or not execution is possible depending on the value, and “MainPGM # 344” that determines whether or not execution is possible depending on the value of the business data “destination”, and processing that determines whether execution is possible depending on the combination of the results. Recognize.

業務仕様再生装置100は、ステップS1053〜S1059までの処理を、ステップS1053で選択する実行条件候補がなくなるまで繰り返す。その後、業務仕様再生装置100は、ステップS1051で選択できるレコードがなくなるまでステップS1050の処理を繰り返す。   The business specification reproducing apparatus 100 repeats the processing from step S1053 to S1059 until there is no execution condition candidate to be selected in step S1053. Thereafter, the business specification reproducing apparatus 100 repeats the process of step S1050 until there is no record that can be selected in step S1051.

ここで再び図2のフローの説明に戻る。次に業務仕様再生装置100は、業務データの加工処理とその実行判定処理の情報に基づき、画面単位決定表を作成する(S1060)。この場合、業務仕様再生装置100は、決定表生成プログラム114を実行することにより、業務データ加工処理テーブル125と実行判定処理テーブル126を照合して、下記の処理を実行する。   Here, the description returns to the flow of FIG. Next, the business specification reproduction apparatus 100 creates a screen unit determination table based on the business data processing process and its execution determination process information (S1060). In this case, the business specification reproducing apparatus 100 executes the decision table generation program 114 to collate the business data processing table 125 with the execution determination processing table 126 and execute the following processing.

まず業務仕様再生装置100は、業務データ加工処理テーブル125のレコードごとに、実行判定処理テーブル126を照合して、制御依存先と実行判定処理のコード片の一致から、業務データ加工処理ごとの実行条件を特定する。図16は、図13で示した出力の加工処理ごとに実行条件を特定した例である。「旅費精算申請画面」の「行先」を参照するコード片は画面呼び出しの際に必ず実行され、「旅費精算申請画面」の「交通費」を参照する処理はコード片「MainPGM#344」の判定が「False」の場合のみ実行され、以降出力までの演算処理及び出力は、コード片「MainPGM#344」および「MainPGM#349」の判定がいずれも「False」の場合のみ実行されるという対応関係が分かる。   First, the business specification reproduction device 100 collates the execution determination processing table 126 for each record of the business data processing table 125, and executes the execution for each business data processing process based on the match between the control dependence destination and the code piece of the execution determination processing. Identify the conditions. FIG. 16 is an example in which execution conditions are specified for each output processing shown in FIG. The code fragment that refers to the “destination” on the “travel expense payment application screen” is always executed when the screen is called, and the process that refers to “transportation expense” on the “travel expense payment application screen” is determined by the code fragment “MainPGM # 344”. Is executed only when “False” is set, and the calculation processing and output until the subsequent output are executed only when the determinations of the code pieces “MainPGM # 344” and “MainPGM # 349” are both “False”. I understand.

次に業務仕様再生装置100は、業務データ加工処理ごとの実行条件の対応関係から、決定表を作成する。まず業務仕様再生装置100は、実行判定処理テーブル126のレコードのうち、コード片が条件判定文であるレコードを抽出し、条件判定のために参照している業務データによって分類して、決定表の「Configure」行とする。次に業務仕様再生装置100は、業務データ加工処理テーブル125のレコードから業務データの出力処理を行っているレコードを抽出し、出力先の業務データによって分類して、決定表の「Action」行のうち出力行とする。業務データ加工処理テーブル125の残りの参照および演算のコード片を持つレコードは、「Action」行の参照および演算行とする。   Next, the business specification reproduction device 100 creates a decision table from the correspondence of execution conditions for each business data processing process. First, the business specification reproducing device 100 extracts records whose code fragments are condition judgment statements from the records of the execution judgment processing table 126, classifies them according to business data referred to for condition judgment, and determines the decision table. The line is “Configure”. Next, the business specification reproduction device 100 extracts the records for which the business data is output from the records in the business data processing table 125, classifies the records according to the business data of the output destination, and displays the “Action” row of the decision table. Out of these lines. The records having the remaining reference and calculation code pieces in the business data processing table 125 are referred to as reference and calculation lines in the “Action” line.

最後に業務仕様再生装置100は、業務データ加工処理ごとの実行条件の対応関係から、決定表上のケース列を作成する。この場合の業務仕様再生装置100は、「Action」行にあたる業務データ加工処理テーブル125のレコード毎に、その実行条件を「Configure」行の正否の組み合わせで表す。   Finally, the business specification reproduction device 100 creates a case sequence on the decision table from the correspondence of execution conditions for each business data processing process. In this case, the business specification reproducing apparatus 100 represents the execution condition for each record in the business data processing table 125 corresponding to the “Action” line by a combination of right and wrong in the “Configure” line.

図17は図16で特定した対応関係に基づいて業務仕様再生装置100が作成した決定表である。「PlaceMasterSub」テーブルへの出力は、「旅費精算申請画面」上の「行先」、「交通費」、および「添付領収書」の3種類の業務データの値によって定まる2つの条件で実行可否が定まり、出力される業務データの値も「行先」、「交通費」、および「添付領収書」の3種類の業務データの値から加工されることが分かる。   FIG. 17 is a decision table created by the business specification reproducing apparatus 100 based on the correspondence specified in FIG. Whether or not the output to the “PlaceMasterSub” table can be executed is determined by two conditions determined by the values of the three types of business data “Destination”, “Transport”, and “Attached Receipt” on the “Travel Expense Application Screen” It can be seen that the value of the business data to be output is processed from the values of the three types of business data of “destination”, “transportation cost”, and “attached receipt”.

続いて業務仕様再生装置100は、同じ業務に属する画面遷移に対応する画面単位決定表を合成した業務単位の決定表を作成する(S1070)。この場合、業務仕様再生装置100は、決定表合成プログラム114を実行することにより、画面決定表127に含まれる画面ごとの決定表から、業務単位の画面遷移リスト122と照合して、1つの業務の遷移元画面と合致する画面の画面単位決定表を、1つの決定表として合成する。   Subsequently, the business specification reproduction apparatus 100 creates a business unit determination table by combining the screen unit determination tables corresponding to the screen transitions belonging to the same business (S1070). In this case, the job specification reproducing apparatus 100 executes the decision table synthesis program 114 to check one job from the decision table for each screen included in the screen decision table 127 against the screen transition list 122 for each job. The screen unit determination table of the screen that matches the transition source screen is synthesized as one determination table.

この決定表の合成に際し、業務仕様再生装置100は、まず合成元の決定表それぞれに含まれる「Configure」行と「Action」行の行、および「Case」列をそれぞれ独立のまま合成したのち、まず「Configure」行で同一条件を表す列を1つの列にまとめる。次に業務仕様再生装置100は、「Case」列それぞれについて、「Configure」行の値のうち未定義のもの(他の決定表から合成された条件)については未定義すなわちその条件判定結果に影響されないものとし、その結果、条件の組み合わせとして等価な「Case」を1つの行にまとめる。   In synthesizing this decision table, the business specification reproducing apparatus 100 first synthesizes the “Configure” row and the “Action” row included in each of the synthesis source decision tables and the “Case” column independently, First, the columns representing the same condition in the “Configure” row are combined into one column. Next, for each “Case” column, the business specification reproducing apparatus 100 undefined (ie, a condition synthesized from another decision table) among the values in the “Configure” row is undefined, that is, affects the condition determination result. As a result, “Case” equivalent as a combination of conditions is grouped into one line.

図5に示した業務単位の画面遷移リスト122から「交通費申請」業務の決定表を合成する場合、遷移元画面は「旅費申請画面」のみであるため、図18に例示するような「旅費申請画面」に対応する画面単位決定表が出力されることとなる。   When synthesizing the “transportation application” business decision table from the business unit screen transition list 122 shown in FIG. 5, since the transition source screen is only the “travel expense application screen”, the “travel expense” as illustrated in FIG. The screen unit determination table corresponding to the “application screen” will be output.

最後に業務仕様再生装置100は、業務単位決定表126を出力装置106に出力し(S1080)、処理を終了する。   Finally, the business specification reproduction device 100 outputs the business unit determination table 126 to the output device 106 (S1080), and ends the process.

以上、本発明を実施するための最良の形態などについて具体的に説明したが、本発明はこれに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。   Although the best mode for carrying out the present invention has been specifically described above, the present invention is not limited to this, and various modifications can be made without departing from the scope of the invention.

こうした本実施形態によれば、既存の業務システムのソースコードから、ユーザの行うどの業務に対応して、どのような条件下でどの業務データをどのように加工してどの業務データを生成するのかを示すシステム仕様情報を再生できる。そのため、要件定義担当者において、業務仕様の把握漏れを防ぐことができる上に、現行システムの仕様を踏襲すべき部分とそうでない部分の識別作業に注力することが可能となる。ひいては、要件定義工程の短期化、省コスト化が可能となる。   According to the present embodiment, from the existing business system source code, which business data is to be processed and which business data is processed under what conditions, corresponding to which business performed by the user. Can be reproduced. Therefore, it is possible for the person in charge of requirement definition to prevent omission of grasping the business specification and to focus on the identification work of the part that should follow the specification of the current system and the part that does not. As a result, the requirement definition process can be shortened and costs can be reduced.

従って、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生が可能となる。   Therefore, it is possible to efficiently and reliably reproduce the specifications from the existing business system even in a situation where there is no document such as requirements or a person in charge with knowledge.

本明細書の記載により、少なくとも次のことが明らかにされる。すなわち、本実施形態の仕様再生装置において、前記演算装置は、前記アクセス基点リストが示す出力処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行するものである、としてもよい。   At least the following will be clarified by the description of the present specification. That is, in the specification reproduction device of the present embodiment, the arithmetic device performs a series of processing processing of business data executed in the business system and execution determination processing of the processing processing with respect to the output processing indicated by the access base point list. The corresponding code fragment group is extracted from the source code based on the code fragment and the belonging source indicated by the access base point list, the correspondence relationship between the code fragment group of the processing process and the execution determination process is specified, and the identification Based on the correspondence relationship and the screen transition list, a process for generating a business unit determination table and displaying it on the output device may be executed.

これによれば、業務システムの仕様においてユーザ理解が容易な出力処理に関して、加工処理および実行判定処理を双方踏まえた決定表を生成し、提示することが可能となる。   According to this, it is possible to generate and present a decision table based on both the processing process and the execution determination process for the output process that is easily understood by the user in the business system specification.

また、本実施形態の仕様再生装置において、前記演算装置は、前記業務単位の決定表を生成する処理に際し、前記ソースコードから前記画面遷移リストにおける画面毎の実行パスを抽出して、前記抽出した該当実行パス中のコード片間の依存関係を特定し、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成するものであるとしてもよい。   Further, in the specification reproducing apparatus according to the present embodiment, the arithmetic unit extracts the execution path for each screen in the screen transition list from the source code and performs the extraction in the process of generating the business unit determination table. Identify the dependency relationship between code fragments in the relevant execution path, extract the code piece execution judgment process included in the business data processing process, and based on the relevant business data processing process and its execution judgment process information A screen unit determination table may be created, and a screen unit determination table corresponding to screen transitions belonging to the same business may be synthesized to generate a business unit determination table.

これによれば、業務単位の決定表をより効率的に生成し、ひいては、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生が可能となる。   According to this, a decision table for business units can be generated more efficiently, and as a result, efficient and reliable specifications can be obtained from existing business systems even in the absence of requirements documents and knowledgeable personnel. Can be played.

また、本実施形態の仕様再生装置において、前記演算装置は、前記業務単位の決定表を生成する処理に際し、前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成するものであるとしてもよい。   Further, in the specification reproducing apparatus of the present embodiment, the arithmetic unit, in the process of generating the business unit determination table, records from the respective records of the access base point list including a reference process for a data item on a common screen. For each screen included in the extracted record, the access base point included in the corresponding record and the code fragment included in the execution path from the access base point are extracted from the source code and stored in the business process code table. For each record of the business process code table, the reference module and execution module of the corresponding record are collated with the source code, and a set of code pieces constituting the module and the corresponding module is extracted from the source code, For the extracted module, data flow and control in the module From the flow, specify the data dependence destination code piece and the control dependence destination code piece for each code piece, and use the set of the corresponding screen name and the extracted code piece as a key, A set of records in which a set of control dependent destination code fragments of the corresponding code fragment is associated is stored in a business process code dependency relationship table, and the code fragment included in the process processing of the business data is stored in the business process code dependency relationship table. The execution determination process is extracted, a screen unit determination table is created based on the processing processing of the corresponding business data and the information of the execution determination process, and the screen unit determination table corresponding to the screen transitions belonging to the same job is synthesized. A unit determination table may be generated.

これによれば、実行パス中のコード片間の依存関係をより効率的に特定し、ひいては業務単位の決定表をより効率的に生成して、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生が可能となる。   According to this, the dependency relationship between code pieces in the execution path is identified more efficiently, and as a result, the decision table of the business unit is generated more efficiently, and the documents such as requirements and knowledge of responsible personnel are generated. Even in the absence of an existing system, it is possible to efficiently and reliably reproduce specifications from existing business systems.

また、本実施形態の仕様再生装置において、前記演算装置は、前記業務単位の決定表を生成する処理に際し、前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、前記業務処理コードテーブルにおける所定レコードの所定モジュールを業務処理コード依存関係テーブルと照合し、該当モジュールを構成するコード片に合致するレコードを抽出し、前記抽出したレコードと前記アクセス基点リストを照合し、前記アクセス基点リストのレコードのうち、処理が出力であるレコードのコード片と一致するコード片を持つレコードを選択し、前記選択した、前記出力の処理までのデータフローに含まれるコード片を、前記抽出したコード片の中から抽出し、前記コード片のうち業務データの加工処理に含まれるものを抽出し、前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれる前記コード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成するものである、としてもよい。   Further, in the specification reproducing apparatus of the present embodiment, the arithmetic unit, in the process of generating the business unit determination table, records from the respective records of the access base point list including a reference process for a data item on a common screen. For each screen included in the extracted record, the access base point included in the corresponding record and the code fragment included in the execution path from the access base point are extracted from the source code and stored in the business process code table. For each record of the business process code table, the reference module and execution module of the corresponding record are collated with the source code, and a set of code pieces constituting the module and the corresponding module is extracted from the source code, For the extracted module, data flow and control in the module From the flow, specify the data dependence destination code piece and the control dependence destination code piece for each code piece, and use the set of the corresponding screen name and the extracted code piece as a key, A set of records in which a set of control dependent destination code pieces of the corresponding code piece is associated is stored in a business process code dependency relationship table, and a predetermined module of a predetermined record in the business process code table is collated with the business process code dependency table. Then, a record that matches the code fragment constituting the corresponding module is extracted, the extracted record and the access base point list are collated, and the record of the access base point record that matches the code piece of the process is output. Select a record with a code fragment to be included in the data flow until the selected, output process A code fragment is extracted from the extracted code fragments, a code fragment included in the business data processing is extracted, and included in the business data processing from the business processing code dependency table The code piece execution determination process is extracted, a screen unit determination table is created based on the information on the processing process of the corresponding business data and the execution determination process, and the screen unit determination table corresponding to the screen transition belonging to the same job is created. It is also possible to generate a decision table for business units by synthesis.

これによれば、出力処理コード片ごとに、その業務データの加工処理を抽出して、前記実行判定処理の抽出等を効率化し、ひいては業務単位の決定表をより効率的に生成して、要件等のドキュメント類や知見豊富な担当者の存在が無い状況下でも、既存の業務システムから効率的かつ確実な仕様の再生が可能となる。   According to this, for each output processing code piece, the processing process of the business data is extracted, the extraction of the execution determination process is made more efficient, and the determination table of the business unit is generated more efficiently. Even in the absence of documents and knowledgeable personnel, etc., it is possible to efficiently and reliably reproduce specifications from existing business systems.

また、本実施形態の業務仕様再生方法において、前記情報処理装置が、前記アクセス基点リストが示す出力処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行する、としてもよい。   Further, in the business specification reproduction method of the present embodiment, the information processing apparatus performs a series of processing processing of business data executed in the business system and execution determination processing of the processing processing with respect to the output processing indicated by the access base point list Are extracted from the source code based on the code piece and the belonging source indicated by the access base list, and the correspondence between the code piece groups of the processing process and the execution determination process is specified, Based on the identified correspondence and the screen transition list, a process unit determination table may be generated and displayed on the output device.

また、本実施形態の業務仕様再生方法において、前記情報処理装置が、前記業務単位の決定表を生成する処理に際し、前記ソースコードから前記画面遷移リストにおける画面毎の実行パスを抽出して、前記抽出した該当実行パス中のコード片間の依存関係を特定し、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成する、としてもよい。   Further, in the business specification reproduction method according to the present embodiment, the information processing apparatus extracts an execution path for each screen in the screen transition list from the source code in the process of generating the business unit decision table, and Identify the dependency relationship between the code pieces in the extracted corresponding execution path, extract the code piece execution determination process included in the processing process of the business data, and process the processing data of the corresponding business data and the information of the execution determination process A screen unit determination table may be created based on the above, and a screen unit determination table corresponding to screen transitions belonging to the same business may be synthesized to generate a business unit determination table.

また、本実施形態の業務仕様再生方法において、前記情報処理装置が、前記業務単位の決定表を生成する処理に際し、前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成する、としてもよい。   Further, in the business specification reproduction method of the present embodiment, the information processing apparatus includes a reference process for a common screen data item from each record of the access base point list when the business unit determination table is generated. A record is extracted, and for each screen included in the extracted record, an access base point included in the corresponding record and a code fragment included in an execution path from the access base point are extracted from the source code and stored in the business processing code table. Store and collate the reference module and execution module of the corresponding record with the source code for each record of the business process code table, and extract the set of code pieces constituting the module and the corresponding module from the source code For the extracted module, the data flow in the module is -From the control flow, specify the data dependency destination code fragment and the control dependency destination code fragment for each code fragment, and use the combination of the corresponding screen name and the extracted code fragment as a key to determine the data dependency destination code fragment of the corresponding code fragment. A set of records in which a set is associated with a set of control dependent destination code pieces of the corresponding code piece is stored in a business process code dependency relation table, and is included in the process processing of the business data from the business process code dependency relation table Code generation execution determination processing is extracted, and a screen unit determination table is created based on the information on the processing processing and execution determination processing of the corresponding business data, and a screen unit determination table corresponding to screen transitions belonging to the same job is synthesized Then, a business unit decision table may be generated.

また、本実施形態の業務仕様再生方法において、前記情報処理装置が、前記業務単位の決定表を生成する処理に際し、前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、前記業務処理コードテーブルにおける所定レコードの所定モジュールを業務処理コード依存関係テーブルと照合し、該当モジュールを構成するコード片に合致するレコードを抽出し、前記抽出したレコードと前記アクセス基点リストを照合し、前記アクセス基点リストのレコードのうち、処理が出力であるレコードのコード片と一致するコード片を持つレコードを選択し、前記選択した、前記出力の処理までのデータフローに含まれるコード片を、前記抽出したコード片の中から抽出し、前記コード片のうち業務データの加工処理に含まれるものを抽出し、前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれる前記コード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成する、としてもよい。   Further, in the business specification reproduction method of the present embodiment, the information processing apparatus includes a reference process for a common screen data item from each record of the access base point list when the business unit determination table is generated. A record is extracted, and for each screen included in the extracted record, an access base point included in the corresponding record and a code fragment included in an execution path from the access base point are extracted from the source code and stored in the business processing code table. Store and collate the reference module and execution module of the corresponding record with the source code for each record of the business process code table, and extract the set of code pieces constituting the module and the corresponding module from the source code For the extracted module, the data flow in the module is -From the control flow, specify the data dependency destination code fragment and the control dependency destination code fragment for each code fragment, and use the combination of the corresponding screen name and the extracted code fragment as a key to determine the data dependency destination code fragment of the corresponding code fragment. A set of records in which a set is associated with a set of control dependent destination code pieces of the corresponding code piece is stored in a business process code dependency relationship table, and a predetermined module of the predetermined record in the business process code table is stored in a business process code dependency relationship Collate with the table, extract the record that matches the code fragment that constitutes the module, collate the extracted record with the access base list, and among the records of the access base list, the code of the record whose processing is output Select a record with a code fragment that matches the fragment, and the data flow from the selected processing to the output Extracting the included code pieces from the extracted code pieces, extracting the code pieces included in the business data processing, and processing the business data from the business process code dependency table The code piece execution determination process included in the process is extracted, and a screen unit determination table is created based on the processing processing of the corresponding business data and the information of the execution determination process, and the screen unit determination corresponding to the screen transition belonging to the same job The table may be combined to generate a business unit decision table.

100 業務仕様再生装置
101 記憶装置
103 メモリ
104 演算装置
105 入力装置
106 出力装置
110 実行パス抽出プログラム
111 依存関係解析プログラム
112 業務データ加工処理抽出プログラム
113 実行判定処理抽出プログラム
114 決定表生成プログラム
115 決定表合成プログラム
120 ソースコード
121 業務データアクセス基点リスト
122 業務単位の画面遷移リスト
123 業務処理コード依存関係テーブル
124 業務処理コード依存関係テーブル
125 業務データ加工処理テーブル
126 実行判定処理テーブル
127 画面単位決定表
128 業務単位決定表
100 business specification reproduction device 101 storage device 103 memory 104 arithmetic device 105 input device 106 output device 110 execution path extraction program 111 dependency relationship analysis program 112 business data processing extraction program 113 execution determination processing extraction program 114 decision table generation program 115 decision table Composition program 120 Source code 121 Business data access base list 122 Business unit screen transition list 123 Business process code dependency table 124 Business process code dependency table 125 Business data processing table 126 Execution judgment processing table 127 Screen unit determination table 128 Business Unit determination table

Claims (10)

仕様再生対象である業務システムのソースコードと、業務単位の画面遷移リストと、業務データを所定処理に利用する前記ソースコード中の各コード片と該当業務データの所属ソースの関係を規定したアクセス基点リストと、を格納した記憶装置と、
前記アクセス基点リストが示す該当処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行する演算装置と、
を備えることを特徴とする業務仕様再生装置。
Access base that defines the relationship between the source code of the business system that is the target of specification reproduction, the screen transition list for each business unit, and each code fragment in the source code that uses business data for predetermined processing and the source to which the business data belongs A storage device storing a list;
Regarding the corresponding process indicated by the access base point list, the code piece indicated by the access base point list includes a code piece group respectively corresponding to a series of processing processes of business data executed in the business system and execution determination processing of the processing process. And extracting from the source code based on the affiliation source, specifying the correspondence between the code fragments of the processing process and the execution determination process, and determining the business unit based on the specified correspondence and the screen transition list An arithmetic unit that executes a process of generating a table and displaying it on an output device;
A business specification reproducing apparatus comprising:
前記演算装置は、
前記アクセス基点リストが示す出力処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行するものである、
ことを特徴とする請求項1に記載の業務仕様再生装置。
The arithmetic unit is:
Regarding the output process indicated by the access base point list, the code piece group indicated by the access base point list includes a code piece group respectively corresponding to a series of processing processes of business data executed in the business system and execution determination processing of the processing process. And extracting from the source code based on the affiliation source, specifying the correspondence between the code fragments of the processing process and the execution determination process, and determining the business unit based on the specified correspondence and the screen transition list A process for generating a table and displaying it on an output device is executed.
The business specification reproducing apparatus according to claim 1, wherein:
前記演算装置は、
前記業務単位の決定表を生成する処理に際し、
前記ソースコードから前記画面遷移リストにおける画面毎の実行パスを抽出して、前記抽出した該当実行パス中のコード片間の依存関係を特定し、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成するものである、
ことを特徴とする請求項1に記載の業務仕様再生装置。
The arithmetic unit is:
In the process of generating the business unit decision table,
The execution path for each screen in the screen transition list is extracted from the source code, the dependency relationship between the code fragments in the extracted execution path is specified, and the code fragment included in the processing process of the business data is executed Extract the judgment process, create a screen unit decision table based on the information on the processing of the relevant business data and its execution judgment process, synthesize the screen unit decision table corresponding to the screen transition belonging to the same business, and Is to generate a decision table,
The business specification reproducing apparatus according to claim 1, wherein:
前記演算装置は、
前記業務単位の決定表を生成する処理に際し、
前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、
前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、
前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成するものである、
するものである、
ことを特徴とする請求項1に記載の業務仕様再生装置。
The arithmetic unit is:
In the process of generating the business unit decision table,
A record including a reference process for a data item on a common screen is extracted from each record of the access base list, and for each screen included in the extracted record, an access base point included in the corresponding record and an execution from the access base point The code fragment included in the path is extracted from the source code and stored in the business process code table,
For each record of the business process code table, the reference module and execution module of the corresponding record are collated with the source code, and a set of code pieces constituting the module and the corresponding module is extracted from the source code, For the extracted module, specify the data dependency destination code fragment and the control dependency destination code fragment for each code fragment from the data flow and control flow in the corresponding module, and use the combination of the corresponding screen name and the extracted code fragment as a key , Storing a set of records in which a set of data dependence destination code pieces of the corresponding code piece and a set of control dependence destination code pieces of the relevant code piece are associated with each other in the business process code dependency table,
Extract the execution judgment processing of the code fragment included in the processing processing of the business data from the business processing code dependency relationship table, and create a screen unit determination table based on the processing processing of the relevant business data and the information of the execution determination processing Then, a screen unit decision table corresponding to screen transitions belonging to the same business is synthesized to generate a business unit decision table.
To do,
The business specification reproducing apparatus according to claim 1, wherein:
前記演算装置は、
前記業務単位の決定表を生成する処理に際し、
前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、
前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、
前記業務処理コードテーブルにおける所定レコードの所定モジュールを業務処理コード依存関係テーブルと照合し、該当モジュールを構成するコード片に合致するレコードを抽出し、
前記抽出したレコードと前記アクセス基点リストを照合し、前記アクセス基点リストのレコードのうち、処理が出力であるレコードのコード片と一致するコード片を持つレコードを選択し、
前記選択した、前記出力の処理までのデータフローに含まれるコード片を、前記抽出したコード片の中から抽出し、前記コード片のうち業務データの加工処理に含まれるものを抽出し、
前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれる前記コード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成するものである、
ことを特徴とする請求項1に記載の業務仕様再生装置。
The arithmetic unit is:
In the process of generating the business unit decision table,
A record including a reference process for a data item on a common screen is extracted from each record of the access base list, and for each screen included in the extracted record, an access base point included in the corresponding record and an execution from the access base point The code fragment included in the path is extracted from the source code and stored in the business process code table,
For each record of the business process code table, the reference module and execution module of the corresponding record are collated with the source code, and a set of code pieces constituting the module and the corresponding module is extracted from the source code, For the extracted module, specify the data dependency destination code fragment and the control dependency destination code fragment for each code fragment from the data flow and control flow in the corresponding module, and use the combination of the corresponding screen name and the extracted code fragment as a key , Storing a set of records in which a set of data dependence destination code pieces of the corresponding code piece and a set of control dependence destination code pieces of the relevant code piece are associated with each other in the business process code dependency table,
The predetermined module of the predetermined record in the business process code table is collated with the business process code dependency relationship table, and a record that matches the code fragment constituting the module is extracted,
The extracted record and the access base point list are collated, and among the records of the access base point list, a record having a code piece that matches the code piece of the record that is output is selected,
The selected code fragment included in the data flow until the output processing is extracted from the extracted code fragment, and the code fragment included in the processing process of business data is extracted,
The execution determination process of the code fragment included in the processing process of the business data is extracted from the business process code dependency relationship table, and the screen unit determination table is obtained based on the information of the processing process of the corresponding business data and the execution determination process. Create a business unit decision table by creating and combining screen unit decision tables corresponding to screen transitions belonging to the same business.
The business specification reproducing apparatus according to claim 1, wherein:
仕様再生対象である業務システムのソースコードと、業務単位の画面遷移リストと、業務データを所定処理に利用する前記ソースコード中の各コード片と該当業務データの所属ソースの関係を規定したアクセス基点リストと、を格納した記憶装置を備えた情報処理装置が、
前記アクセス基点リストが示す該当処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行する、
ことを特徴とする業務仕様再生方法。
Access base that defines the relationship between the source code of the business system that is the target of specification reproduction, the screen transition list for each business unit, and each code fragment in the source code that uses business data for predetermined processing and the source to which the business data belongs An information processing device including a storage device that stores a list,
Regarding the corresponding process indicated by the access base point list, the code piece indicated by the access base point list includes a code piece group respectively corresponding to a series of processing processes of business data executed in the business system and execution determination processing of the processing process. And extracting from the source code based on the affiliation source, specifying the correspondence between the code fragments of the processing process and the execution determination process, and determining the business unit based on the specified correspondence and the screen transition list Execute the process of generating a table and displaying it on the output device,
A business specification reproduction method characterized by the above.
前記情報処理装置が、
前記アクセス基点リストが示す出力処理に関して、前記業務システムで実行される業務データの一連の加工処理および当該加工処理の実行判定処理に各々対応したコード片群を、前記アクセス基点リストが示す前記コード片および所属ソースに基づき前記ソースコードから抽出し、前記加工処理と前記実行判定処理の各コード片群の対応関係を特定し、当該特定した対応関係と前記画面遷移リストとに基づいて業務単位の決定表を生成し出力装置に表示する処理を実行する、
ことを特徴とする請求項6に記載の業務仕様再生方法。
The information processing apparatus is
Regarding the output process indicated by the access base point list, the code piece group indicated by the access base point list includes a code piece group respectively corresponding to a series of processing processes of business data executed in the business system and execution determination processing of the processing process. And extracting from the source code based on the affiliation source, specifying the correspondence between the code fragments of the processing process and the execution determination process, and determining the business unit based on the specified correspondence and the screen transition list Execute the process of generating a table and displaying it on the output device,
The business specification reproduction method according to claim 6.
前記情報処理装置が、
前記業務単位の決定表を生成する処理に際し、
前記ソースコードから前記画面遷移リストにおける画面毎の実行パスを抽出して、前記抽出した該当実行パス中のコード片間の依存関係を特定し、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成する、
ことを特徴とする請求項6に記載の業務仕様再生方法。
The information processing apparatus is
In the process of generating the business unit decision table,
The execution path for each screen in the screen transition list is extracted from the source code, the dependency relationship between the code fragments in the extracted execution path is specified, and the code fragment included in the processing process of the business data is executed Extract the judgment process, create a screen unit decision table based on the information on the processing of the relevant business data and its execution judgment process, synthesize the screen unit decision table corresponding to the screen transition belonging to the same business, and Generate a decision table,
The business specification reproduction method according to claim 6.
前記情報処理装置が、
前記業務単位の決定表を生成する処理に際し、
前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、
前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、
前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれるコード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成する、
ことを特徴とする請求項6に記載の業務仕様再生方法。
The information processing apparatus is
In the process of generating the business unit decision table,
A record including a reference process for a data item on a common screen is extracted from each record of the access base list, and for each screen included in the extracted record, an access base point included in the corresponding record and an execution from the access base point The code fragment included in the path is extracted from the source code and stored in the business process code table,
For each record of the business process code table, the reference module and execution module of the corresponding record are collated with the source code, and a set of code pieces constituting the module and the corresponding module is extracted from the source code, For the extracted module, specify the data dependency destination code fragment and the control dependency destination code fragment for each code fragment from the data flow and control flow in the corresponding module, and use the combination of the corresponding screen name and the extracted code fragment as a key , Storing a set of records in which a set of data dependence destination code pieces of the corresponding code piece and a set of control dependence destination code pieces of the relevant code piece are associated with each other in the business process code dependency table,
Extract the execution judgment processing of the code fragment included in the processing processing of the business data from the business processing code dependency relationship table, and create a screen unit determination table based on the processing processing of the relevant business data and the information of the execution determination processing Then, a screen unit decision table corresponding to screen transitions belonging to the same business is synthesized to generate a business unit decision table.
The business specification reproduction method according to claim 6.
前記情報処理装置が、
前記業務単位の決定表を生成する処理に際し、
前記アクセス基点リストの各レコードから、共通の画面のデータ項目に対する参照処理を含むレコードを抽出し、この抽出したレコードに含まれる画面ごとに、該当レコードに含まれるアクセス基点と前記アクセス基点からの実行パスに含まれるコード片を、前記ソースコードから抽出して業務処理コードテーブルに格納し、
前記業務処理コードテーブルの各レコードに対して、 該当レコードの参照モジュールおよび実行モジュールを前記ソースコードと照合し、前記ソースコードから前記各モジュールと該当モジュールを構成するコード片の集合を抽出し、前記抽出したモジュールに対し、該当モジュール内のデータフローと制御フローから、コード片ごとのデータ依存先コード片と制御依存先コード片を特定し、該当画面名と前記抽出したコード片の組をキーとして、該当コード片のデータ依存先コード片の集合と、該当コード片の制御依存先コード片の集合を対応付けたレコードの集合を、業務処理コード依存関係テーブルに格納し、
前記業務処理コードテーブルにおける所定レコードの所定モジュールを業務処理コード依存関係テーブルと照合し、該当モジュールを構成するコード片に合致するレコードを抽出し、
前記抽出したレコードと前記アクセス基点リストを照合し、前記アクセス基点リストのレコードのうち、処理が出力であるレコードのコード片と一致するコード片を持つレコードを選択し、
前記選択した、前記出力の処理までのデータフローに含まれるコード片を、前記抽出したコード片の中から抽出し、前記コード片のうち業務データの加工処理に含まれるものを抽出し、
前記業務処理コード依存関係テーブルから、前記業務データの加工処理に含まれる前記コード片の実行判定処理を抽出して、該当業務データの加工処理およびその実行判定処理の情報に基づき画面単位決定表を作成し、同じ業務に属する画面遷移に対応する画面単位決定表を合成して業務単位の決定表を生成する、
ことを特徴とする請求項6に記載の業務仕様再生方法。
The information processing apparatus is
In the process of generating the business unit decision table,
A record including a reference process for a data item on a common screen is extracted from each record of the access base list, and for each screen included in the extracted record, an access base point included in the corresponding record and an execution from the access base point The code fragment included in the path is extracted from the source code and stored in the business process code table,
For each record of the business process code table, the reference module and execution module of the corresponding record are collated with the source code, and a set of code pieces constituting the module and the corresponding module is extracted from the source code, For the extracted module, specify the data dependency destination code fragment and the control dependency destination code fragment for each code fragment from the data flow and control flow in the corresponding module, and use the combination of the corresponding screen name and the extracted code fragment as a key , Storing a set of records in which a set of data dependence destination code pieces of the corresponding code piece and a set of control dependence destination code pieces of the relevant code piece are associated with each other in the business process code dependency table,
The predetermined module of the predetermined record in the business process code table is collated with the business process code dependency relationship table, and a record that matches the code fragment constituting the module is extracted,
The extracted record and the access base point list are collated, and among the records of the access base point list, a record having a code piece that matches the code piece of the record that is output is selected,
The selected code fragment included in the data flow until the output processing is extracted from the extracted code fragment, and the code fragment included in the processing process of business data is extracted,
The execution determination process of the code fragment included in the processing process of the business data is extracted from the business process code dependency relationship table, and the screen unit determination table is obtained based on the information of the processing process of the corresponding business data and the execution determination process. Create and generate a business unit decision table by combining screen unit decision tables corresponding to screen transitions belonging to the same business,
The business specification reproduction method according to claim 6.
JP2017504339A 2015-03-09 2015-03-09 Business specification reproduction device and business specification reproduction method Expired - Fee Related JP6178537B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/056781 WO2016143019A1 (en) 2015-03-09 2015-03-09 Business specification reproduction device and business specification reproduction method

Publications (2)

Publication Number Publication Date
JPWO2016143019A1 JPWO2016143019A1 (en) 2017-04-27
JP6178537B2 true JP6178537B2 (en) 2017-08-09

Family

ID=56878857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017504339A Expired - Fee Related JP6178537B2 (en) 2015-03-09 2015-03-09 Business specification reproduction device and business specification reproduction method

Country Status (2)

Country Link
JP (1) JP6178537B2 (en)
WO (1) WO2016143019A1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012108607A (en) * 2010-11-15 2012-06-07 Nippon Telegr & Teleph Corp <Ntt> System analysis method, system analysis apparatus and system analysis program
DE112012004300T5 (en) * 2011-10-12 2014-07-24 International Business Machines Corporation Method, program and system for creating a workflow from a work specification

Also Published As

Publication number Publication date
JPWO2016143019A1 (en) 2017-04-27
WO2016143019A1 (en) 2016-09-15

Similar Documents

Publication Publication Date Title
CN106020950B (en) The identification of function call graph key node and identification method based on Complex Networks Analysis
AU2018272840B2 (en) Automated dependency analyzer for heterogeneously programmed data processing system
US11055497B2 (en) Natural language generation of sentence sequences from textual data with paragraph generation model
US9880834B2 (en) Source program analysis system, source program analysis method, and recording medium on which program is recorded
JP6542612B2 (en) Test scenario generation support apparatus and test scenario generation support method
JP6008693B2 (en) Information processing apparatus, control method therefor, and program
CN113297251A (en) Multi-source data retrieval method, device, equipment and storage medium
JP6178537B2 (en) Business specification reproduction device and business specification reproduction method
JP2008112363A (en) Document processor and document processing program
JP2008117066A (en) Software development support method, software development support device, software development support program, and computer system
JP2015102878A (en) Program relation analysis method
JP2023107143A (en) Anonymization device and program
JP4982819B2 (en) Information management apparatus and method, and recording medium
WO2017072872A1 (en) Business program generation assistance system and business program generation assistance method
CN112883343A (en) Program code obfuscation method and device
JP4405571B1 (en) program
JP2015200978A (en) Database access control program, database access control method, and information processing device
JP6680218B2 (en) Metadata processing method, metadata processing device, and metadata processing program
JP7073431B2 (en) Source code analysis system and source code analysis method
JP2019144873A (en) Block diagram analyzer
CN116860227B (en) Data development system and method based on big data ETL script arrangement
JP5605233B2 (en) Analysis apparatus, analysis program, and analysis method
JPH09292986A (en) Part extraction method
JP2018120381A (en) Software material selection assisting device and software material selection assisting program
JP2018055504A (en) Information processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161212

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170704

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170713

R150 Certificate of patent or registration of utility model

Ref document number: 6178537

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees