JP5747698B2 - Requirements management support device - Google Patents

Requirements management support device Download PDF

Info

Publication number
JP5747698B2
JP5747698B2 JP2011153060A JP2011153060A JP5747698B2 JP 5747698 B2 JP5747698 B2 JP 5747698B2 JP 2011153060 A JP2011153060 A JP 2011153060A JP 2011153060 A JP2011153060 A JP 2011153060A JP 5747698 B2 JP5747698 B2 JP 5747698B2
Authority
JP
Japan
Prior art keywords
document
requirement
chapter
documents
item
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.)
Active
Application number
JP2011153060A
Other languages
Japanese (ja)
Other versions
JP2013020437A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2011153060A priority Critical patent/JP5747698B2/en
Publication of JP2013020437A publication Critical patent/JP2013020437A/en
Application granted granted Critical
Publication of JP5747698B2 publication Critical patent/JP5747698B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、ソフトウェアの要件・仕様を効率的に管理し、文書を効率的に記述するための支援装置に関する。   The present invention relates to a support apparatus for efficiently managing requirements and specifications of software and describing a document efficiently.

高品質のソフトウェアを効率良く製作するための方法として、最初に、そのソフトウェアシステムに必要十分となる要件(要件項目)を定義し、各要件を段階的に詳細化していく方法がある。この方法では、例えば、詳細化の段階を3段階とし、要求仕様書、設計書、詳細設計書のように設計文書を展開する。   As a method for efficiently producing high-quality software, there is a method in which requirements (requirement items) necessary and sufficient for the software system are first defined and each requirement is refined step by step. In this method, for example, there are three stages of refinement, and a design document is developed such as a requirement specification, a design, and a detailed design.

この場合、要求仕様書には、そのソフトウェアシステムに必要十分となる要件を定義する。また、設計書には、要求仕様書に記述された内容をもとに、要求項目を実現するため機能の集まりに分割し、その仕組みを設計する。また、詳細設計書には、設計書に分割して記述された内容をもとに、プログラムの実装形態に対応したレベルまで設計を分割・詳細化し、実装レベルでの設計を記述する。   In this case, the requirement specifications define requirements that are necessary and sufficient for the software system. In the design document, based on the contents described in the requirement specification, it is divided into a set of functions to realize the required items, and the mechanism is designed. In the detailed design document, the design is divided and detailed to a level corresponding to the implementation form of the program based on the contents divided and described in the design document, and the design at the implementation level is described.

例えば、特許文献1には、その図6に示されるような図形式の管理手段により、段階的に要件を詳細化することや、それにTABと呼ばれる属性を関連付けて、仕様を管理する技術が開示されている。   For example, Patent Document 1 discloses a technique for managing specifications by refining requirements step by step using a diagram-type management unit as shown in FIG. 6 and by associating an attribute called TAB with the attribute. Has been.

ところで、ソフトウェアを正しく製作するためには、下位側の文書は、上位側の文書に記述された内容について、もれなく、且つ、不必要なものを含まないように、作成する必要がある。そのため、上位側の文書と下位側の文書を関連付けて管理する方法が考案されている。   By the way, in order to produce the software correctly, it is necessary to create the lower-level document so that the contents described in the higher-level document do not leak and do not include unnecessary ones. For this reason, a method has been devised in which an upper document and a lower document are associated and managed.

例えば特許文献2では、ソフトウェア成果物に設計情報のほかに設計情報識別IDを設け、ソフトウェア成果物内の設計情報識別ID間の関連を、設計情報解析部を介して格納することにより、対応関係を管理する技術が開示されている。   For example, in Patent Document 2, the design information identification ID is provided in addition to the design information in the software product, and the relationship between the design information identification IDs in the software product is stored via the design information analysis unit. A technique for managing the system is disclosed.

また、特許文献5でも、不具合報告書・ソースコード・修正報告書・内部設計書・単体試験書間・外部設計書・要求仕様書間の関連により管理する技術が開示されている。
また、これらの文書間に求められる関係は、設計文書と試験仕様書の間にも同様に必要となる。例えば、上記のように詳細化の段階を3段階としているような場合には、要求仕様書に記述された各項目についての仕様の確認、設計書に記述された各項目についての設計項目の確認、詳細設計書の各項目に対応する実装項目の確認などを、もれなく、かつ不必要なものを含まないように、実施する必要がある。
Also, Patent Document 5 discloses a technique for management based on the relationship among defect reports, source codes, correction reports, internal designs, unit test documents, external designs, and required specifications.
The relationship required between these documents is also required between the design document and the test specification. For example, if there are three levels of detail as described above, check the specifications for each item described in the requirement specification, and check the design items for each item described in the design document. Therefore, it is necessary to check the mounting items corresponding to each item of the detailed design document so that it does not contain any unnecessary items.

例えば特許文献3では、ソースファイル(ソースコード)を基準に、ソースファイルに含まれる関数から試験項目を抽出し、対応した単体試験規格書を自動生成することにより、対応付けを適切に行う技術が開示されている。   For example, Patent Document 3 discloses a technique for appropriately matching by extracting a test item from a function included in a source file and automatically generating a corresponding unit test standard based on the source file (source code). It is disclosed.

このように、設計書間や、設計書と試験仕様書間を対応付けて管理することにより、項目もれを防ぎ、かつ、不必要な項目の混入を避けることができるので、ソフトウェアを正しく製作することができるが、そのためには、設計書間や、設計書と試験仕様書間を対応付けて管理する関連情報(リンク情報)が適正であることを効率よく確認する必要がある。   In this way, by managing the correspondence between design documents and between design documents and test specifications, it is possible to prevent item leaks and avoid mixing unnecessary items, so software can be produced correctly. However, for that purpose, it is necessary to efficiently confirm that the related information (link information) managed between the design documents or between the design documents and the test specifications is appropriate.

例えば、特許文献1では、設計情報間の関連を管理し、上流工程の設計情報が下流工程の設計情報へ展開されているかを確実に確認するための技術が開示されている。
しかしながら、このような管理を行うためには、各文書間の関連情報を逐次入力していく必要があり、作業工数が大きくなったり、人為ミスの混入の元となるなどの問題点がある。このような問題点は、特許文献4でも指摘されており、この文献には、リンクを張る時に、候補をキーワードで抽出し、リンクの省力化を図る技術が開示されている。
For example, Patent Document 1 discloses a technique for managing the association between design information and reliably confirming whether upstream process design information is expanded into downstream process design information.
However, in order to perform such management, it is necessary to sequentially input related information between documents, and there are problems such as an increase in the number of work steps and a source of human error. Such a problem is also pointed out in Patent Document 4, and this document discloses a technique for extracting a candidate with a keyword when a link is established and saving the link.

また、従来より、“要件管理システム(ツール)”または“要求管理システム(ツール)”等と呼ばれるシステム(ツール)が知られている。この様な要求/要件管理システムは、各要求(要件)間のリンクの設定の支援を行ったり、トレーサビリティを確保する為に利用されている。また、所謂“トレーサビリティ・マトリックス”の管理等も行われる。この様なシステム(ツール)の具体例としては、例えば、IBM社(以前はテレロジック社)のDOORS(Rational DOORS)(登録商標)や、IBM社のRequisitePro(登録商標)等の製品が知られている。   Conventionally, a system (tool) called “requirement management system (tool)” or “requirement management system (tool)” is known. Such a requirement / requirement management system is used to support setting of links between requirements (requirements) and to ensure traceability. Also, so-called “traceability matrix” is managed. Specific examples of such a system (tool) include, for example, products such as IBM's (formerly Telelogic) 's DOORS (Rational DOORS) (registered trademark) and IBM's RequisitePro (registered trademark). ing.

上記製品化されている要件(要求)管理システムは、各仕様書の記述内容を1項目1レコードとしてデータベース化する機能、GUIからの操作により各要件(要求)間のリンクの設定を受け付ける機能、ある仕様書のある要件(要求)に対応する、他の仕様書の該当部分を検索・表示する機能等が備えられている。   The requirement (request) management system that has been commercialized has a function of creating a database of the description contents of each specification as one item and one record, a function of accepting setting of links between requirements (requests) by operation from the GUI, A function for searching and displaying a corresponding part of another specification corresponding to a requirement (request) of a specification is provided.

そして、上記特許文献4に記載の通り、上記「GUIからの操作により各要件(要求)間のリンクの設定を受け付ける機能」に関しては、各仕様書の関連項目のリンクを手動で行わなければならない為、ユーザの負担が掛かるうえ、リンクミスを招き易いという問題点があった。この問題を解決する為、特許文献4では、リンク元の仕様書の要件(要求)に含まれるキーワードに基づいてリンク先候補を自動抽出している。   And as described in the above-mentioned patent document 4, regarding the above-mentioned “function to accept setting of links between requirements (requests) by operation from GUI”, the related items of each specification must be linked manually. For this reason, there is a problem that the user is burdened and a link mistake is easily caused. In order to solve this problem, in Patent Document 4, link destination candidates are automatically extracted based on keywords included in the requirements (requests) of the link source specification.

尚、上記各仕様書の一例が、上述した要求仕様書、設計書、詳細設計書等であるが、この例に限らない。   An example of each of the above specifications is the above-described required specification, design, detailed design, etc., but is not limited to this example.

特開平6−202859号公報JP-A-6-202859 特開2007−199755号公報JP 2007-199755 A 特開2003−177942号公報JP 2003-177942 A 特開2008−192059号公報Japanese Patent Laid-Open No. 2008-192059 特開2002−182908号公報JP 2002-182908 A

このように、設計書間や、設計書と試験仕様書間を対応付けて管理することにより、項目もれを防ぎ、かつ、不必要な項目の混入を避ける技術により、ソフトウェアを正確に効率良く製作することができるが、これを効率よく実施することが必要となる。   In this way, software can be accurately and efficiently managed by using technology that prevents items from leaking and avoids mixing of unnecessary items by managing the correspondence between design documents and between design documents and test specifications. Although it can be manufactured, it is necessary to implement this efficiently.

例えば特許文献4で開示されている技術によると、既に、設計文書等が作成されていて、変更があったときには、この方法によって対応する箇所を効率よく発見し、関連情報の入力効率を向上させることが可能であったが、最初に文書を作成し、対応する文書がまだ作成されていない場合には、やはり、文書の入力後に、ひとつひとつキーワードにより検索して関連情報を入力していくという作業を免れることができない。   For example, according to the technique disclosed in Patent Document 4, when a design document or the like has already been created and there is a change, this method efficiently finds a corresponding portion and improves the input efficiency of related information. It was possible, but if the document was created first and the corresponding document has not been created yet, after entering the document, it is also possible to search for each keyword and enter related information Can not escape.

本発明の課題は、各々が章番号を有する文書であって相互に関連し得る複数の文書の生成、文書間の各項目間のリンク付けを、より効率的に行えると共に項目漏れの防止もできる要件管理支援装置等を提供することである。   An object of the present invention is to generate a plurality of documents each having a chapter number and can be related to each other, and to link items between documents more efficiently and to prevent item leakage. It is to provide a requirement management support device and the like.

本発明の要件管理支援装置は、各々が章番号を有する文書であって相互に関連し得る複数の文書の作成を支援する装置であって、任意の1以上の前記文書を任意に作成させる文書作成支援手段と、前記作成された文書の何れか1つを上位側文書とし、該上位側文書に基づいて、該上位側文書に関連する他の文書としての下位側文書のひな形を生成するひな形生成手段と、前記上位側文書の各項目と下位側文書のひな形の各項目との関連を示す関連情報を生成する関連情報生成手段とを有し、前記文書作成支援手段は、前記ひな形に基づく前記下位側文書の作成を支援する。   The requirement management support apparatus of the present invention is an apparatus that supports the creation of a plurality of documents that each have a chapter number and can be related to each other, and is a document that arbitrarily creates one or more of the documents. One of the created documents and the created document is set as a higher-level document, and a model of a lower-level document as another document related to the higher-level document is generated based on the higher-level document. A template generating unit; and a related information generating unit that generates related information indicating a relationship between each item of the higher-order document and each item of the lower-order document. The creation of the lower-level document based on the template is supported.

上記構成の要件管理支援装置において、例えば、前記ひな形生成手段は、前記上位側文書の章構成で規定される文書構成から前記下位側文書の章構成で規定される文書構成を導出することで、該下位側文書のひな形を生成する。   In the requirement management support apparatus having the above configuration, for example, the template generation unit derives a document configuration specified by the chapter configuration of the lower-order document from a document configuration specified by the chapter configuration of the higher-level document. , A template of the lower document is generated.

また、上記構成の要件管理支援装置において、例えば、前記ひな形生成手段は、任意に設定される基点となる章番号と前記上位側文書の章構成で規定される文書構成に基づいて、前記下位側文書の章番号、タイトル名を導出することで、該下位側文書のひな形を生成する。   In the requirement management support apparatus having the above-described configuration, for example, the template generation unit is configured to generate the subordinate based on a document configuration defined by a chapter number as a base point arbitrarily set and a chapter configuration of the higher-order document. A model of the subordinate document is generated by deriving the chapter number and title name of the side document.

上記要件管理支援装置によれば、各々が章番号を有する文書であって相互に関連し得る複数の文書のうち、少なくとも1つの文書を作成すれば、他の文書に関しては作成済みの文書に基づいてひな形が作成されると共に、文書間のリンク付け情報である関連情報が自動的に生成されるので、文書作成及びリンク付けに係るユーザの手間が、軽減できる。更に、項目漏れ、リンク付け漏れ等のミスも防止できる。   According to the requirement management support apparatus, if at least one document is created among a plurality of documents each having a chapter number and can be related to each other, the other documents are based on the created documents. Since a template is created and related information, which is information for linking between documents, is automatically generated, the user's labor for document creation and linking can be reduced. In addition, it is possible to prevent mistakes such as item leakage and link leakage.

本発明の要件管理支援装置等によれば、各々が章番号を有する文書であって相互に関連し得る複数の文書の生成、文書間の各項目間のリンク付けを、より効率的に行えると共に項目漏れの防止もできるようになる。文書に変更があった場合にも効率的に維持管理することができる。   According to the requirement management support apparatus and the like of the present invention, it is possible to generate a plurality of documents each having a chapter number, which can be related to each other, and to link each item between documents more efficiently. It will also be possible to prevent item leakage. Even when a document is changed, it can be efficiently maintained.

文書の新規作成時に、効率よく文書作成できると共に、文書間の対応付けデータを構築することができるようになり、より効率的に文書作成できると共に、項目もれの防止、不要な項目の排除を行うことができる。   When creating a new document, it is possible to efficiently create a document and to build correspondence data between documents. This makes it possible to create a document more efficiently, prevent item leakage, and eliminate unnecessary items. It can be carried out.

本例の要件管理支援装置の機能構成図である。It is a functional block diagram of the requirement management assistance apparatus of this example. 本例の端末装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the terminal device of this example. 文書格納部に格納される文書の構成例を示す図である。It is a figure which shows the structural example of the document stored in a document storage part. 上位側文書と下位側文書と関連情報の関係を示す概念図である。It is a conceptual diagram which shows the relationship between a high-order document, a low-order document, and related information. 上位側文書と下位側文書と関連情報の具体例を示す図である。It is a figure which shows the specific example of a high-order document, a low-order document, and related information. 関連情報(リンク情報)の具体例である。It is a specific example of related information (link information). 下位側文書雛形生成処理のフローチャート図である。It is a flowchart figure of a lower side document model production | generation process. 上位側文書が要求仕様書であり、下位側文書が型式試験仕様書である場合の具体的なデータ構造例を示すAn example of a specific data structure when the higher-level document is a requirement specification and the lower-level document is a type test specification 関連一覧表の具体例である。It is a specific example of a related list. アウトライン機能を使用して出力する場合の処理フローチャート図である。It is a process flowchart figure in the case of outputting using an outline function. 要件管理支援装置の画面の例である。It is an example of the screen of a requirement management assistance apparatus. ひな形作成画面の例である。It is an example of a template creation screen. 関連一覧表の生成処理フローチャート図である。It is a production | generation process flowchart figure of a related list.

以下、図面を参照して本発明の実施の形態について説明する。
図1に、本例の要件管理支援装置1の機能構成図を示す。
図示の例の要件管理支援装置1は、上位側文書解析部2、下位側文書生成部3、関連情報生成部4、文書格納部5、文書出力部6、文書入力部7、関連情報解析部8等の各種機能部を有する。文書格納部5は、例えば各種文書5aや関連情報5b等を記憶する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 shows a functional configuration diagram of the requirement management support apparatus 1 of this example.
The requirement management support apparatus 1 in the illustrated example includes an upper document analysis unit 2, a lower document generation unit 3, a related information generation unit 4, a document storage unit 5, a document output unit 6, a document input unit 7, and a related information analysis unit. It has various functional parts such as 8. The document storage unit 5 stores, for example, various documents 5a and related information 5b.

上記の要件管理支援装置1は、例えば、図2に示すような汎用的な電子計算機の端末(パソコン)10上に構築することができる。
図2に示すパソコン10は、主記憶装置11、ディスプレイ装置12、補助記憶装置13、入力装置14、演算装置16等を有し、これらが内部バス15に接続されて相互にデータ送受信等できるようになっている。
The requirement management support apparatus 1 can be constructed on, for example, a general-purpose electronic computer terminal (personal computer) 10 as shown in FIG.
A personal computer 10 shown in FIG. 2 includes a main storage device 11, a display device 12, an auxiliary storage device 13, an input device 14, an arithmetic device 16, and the like, which are connected to an internal bus 15 so that data can be transmitted and received between them. It has become.

主記憶装置11は例えばメモリ等である。補助記憶装置13は例えばハードディスク等であり、予め所定のアプリケーションプログラムが記憶されている。演算装置16は、例えばCPU/MPU等であり、上記アプリケーションプログラムを読出し・実行することにより、上記図1に示す各種機能部(上位側文書解析部2、下位側文書生成部3、関連情報生成部4、文書出力部6、文書入力部7、関連情報解析部8等)の機能を実現するものである。尚、上記文書格納部5が、補助記憶装置15に相当するものと考えても良い。つまり、例えば補助記憶装置15には上記各種文書5aや関連情報5bが記憶されるものであってよい。但し、この例に限らない。   The main storage device 11 is, for example, a memory. The auxiliary storage device 13 is a hard disk or the like, for example, and stores a predetermined application program in advance. The arithmetic device 16 is, for example, a CPU / MPU or the like, and by reading and executing the application program, the various functional units (upper side document analysis unit 2, lower side document generation unit 3, and related information generation shown in FIG. Unit 4, document output unit 6, document input unit 7, related information analysis unit 8, etc.). The document storage unit 5 may be considered to correspond to the auxiliary storage device 15. In other words, for example, the auxiliary storage device 15 may store the various documents 5a and the related information 5b. However, the present invention is not limited to this example.

ディスプレイ装置12は例えば液晶ディスプレイ等あり、入力装置14は例えばキーボード、マウス等であるが、これらの例に限らない。
文書格納部5に格納される各種文書5aは、例えば上記従来技術で説明した要求仕様書、設計書、詳細設計書のような各種設計文書である。これは、典型例としては、上記のように相対的に上位側の文書、下位側の文書の関係があるものであるが、この典型例に限るものではない。また、設計文書は一例であり、この例に限るものではない。また、本手法の適用対象となる各種文書5aは、章番号を有するものであることを前提とする。
The display device 12 is, for example, a liquid crystal display, and the input device 14 is, for example, a keyboard, a mouse, or the like, but is not limited to these examples.
The various documents 5a stored in the document storage unit 5 are various design documents such as requirement specifications, design documents, and detailed design documents described in the above prior art. As a typical example, as described above, there is a relationship between a relatively higher-order document and a lower-order document, but the present invention is not limited to this typical example. The design document is an example, and the design document is not limited to this example. Also, it is assumed that the various documents 5a to which the present technique is applied have chapter numbers.

上記のことから、各種文書5aは、例えば、各々が章番号を有する文書であって相互に関連し得る複数の文書であると言うことができる。尚、章番号とは、例えば章/節/項番号等を意味するものとするが、この例に限らない。ここでは、例えば、A,B,C,・・・等のように数字が含まれないものや、A1,A2,A3,・・・等のように記号と数字が混在するものであっても、“章番号”であるものとする(但し、章番号を自動的に生成・付与する為に、何らかの規則性を有することが必要である)。   From the above, it can be said that the various documents 5a are, for example, a plurality of documents that each have a chapter number and can be related to each other. The chapter number means, for example, a chapter / section / item number, but is not limited to this example. Here, for example, those that do not include numbers such as A, B, C,..., And those that include symbols and numbers such as A1, A2, A3,. , “Chapter number” (however, it is necessary to have some regularity in order to automatically generate and assign chapter numbers).

また、尚、本説明における上位側文書、下位側文書とは、上記各種設計文書における上記相対的に上位側の文書、下位側の文書を意味することが典型例となるが、この例に限らず、例えば“上位側文書に基づいて下位側文書のひな形が生成される”ものであれば何でもよいと考えても良い。   In addition, the upper document and the lower document in this description typically mean the relatively higher document and the lower document in the various design documents, but the present invention is not limited to this example. For example, it may be considered that anything is possible as long as “the template of the lower document is generated based on the upper document”.

上記各種文書5aのうち上記上位側文書が上位側文書解析部2で解析され、この解析結果に基づいて下位側文書生成部3により下位側文書のひな形を自動生成する。この下位側文書のひな形は、上位側文書に基づいて各タイトルと共に章番号が自動的に生成されて成るものである。更に、関連情報生成部4により、文書間の関連情報(任意の2つの文書の各項目間のリンク情報等)を自動生成する。生成された下位側文書は文書格納部5に格納される。生成された関連情報(リンク情報等)も文書格納部5に格納される。   Of the various documents 5a, the upper document is analyzed by the upper document analysis unit 2, and a template of the lower document is automatically generated by the lower document generation unit 3 based on the analysis result. The template of the lower document is formed by automatically generating a chapter number together with each title based on the upper document. Further, the related information generation unit 4 automatically generates related information between documents (link information between items of arbitrary two documents). The generated lower-order document is stored in the document storage unit 5. The generated related information (such as link information) is also stored in the document storage unit 5.

本例の要件管理支援装置1では、上位側の文書の章構成(章/節/項構成等)で規定される文書構成から、下位側の文書の章構成で規定される文書構成を導出し、下位側文書のひな形として提供する。文書作成者は、このひな形に例えば詳細な設計情報等を任意に入力することにより、文書として完成させる。   In the requirement management support apparatus 1 of this example, the document structure defined by the chapter structure of the lower document is derived from the document structure defined by the chapter structure (chapter / section / section structure, etc.) of the higher document. , Provided as a template for lower-level documents. A document creator completes a document by arbitrarily inputting detailed design information or the like in the template.

また、上記関連情報生成部4によって、任意の2つの文書間の(たとえば上位側文書と下位側文書との)関連情報5bが、生成されて登録される。関連情報5bの具体例は図6に示し後に説明する。   In addition, the related information generation unit 4 generates and registers related information 5b between any two documents (for example, a higher-order document and a lower-order document). A specific example of the related information 5b is shown in FIG. 6 and will be described later.

また、例えば文書に変更等があったときに対応関係を維持するために、この関連情報5bを一覧表の形で生成して出力することもできる。すなわち、関連情報解析部8は、文書格納部5に格納された文書5aや関連情報5b等に基づいて、各文書の(各項目毎の)関連を示す一覧表を自動的に生成し、この関連一覧表を文書格納部5に格納する。関連一覧表の具体例を図9に示し、後に説明する。   Further, for example, in order to maintain the correspondence when the document is changed, the related information 5b can be generated and output in the form of a list. That is, the related information analysis unit 8 automatically generates a list indicating the relationship (for each item) of each document based on the document 5a and the related information 5b stored in the document storage unit 5. The related list is stored in the document storage unit 5. A specific example of the related list is shown in FIG. 9 and will be described later.

また、文書出力部6は、上記の各種文書5aや関連一覧表等を、要件管理支援装置1の外部でワードプロセッサやエディタ、スプレッドシートなどで編集できる形式に変換して、外部出力する。尚、関連一覧表は、そのまま外部出力しても構わない。   Further, the document output unit 6 converts the various documents 5a, the related list, and the like into a format that can be edited by a word processor, an editor, a spreadsheet, or the like outside the requirement management support apparatus 1 and outputs the converted document. The related list may be externally output as it is.

ここで、要件管理支援装置1内の文書形式は、例えばDoors(IBM社製)等のような要件(要求)管理ツールによるものである。要件(要求)管理ツールで管理する文書は、例えば、各文書間のリンク(文書の各関連項目間のリンク)が設けられているものである。また、各文書の項目はセル単位で管理されているものである。   Here, the document format in the requirement management support apparatus 1 is based on a requirement (request) management tool such as Doors (manufactured by IBM). Documents managed by the requirement (request) management tool are provided with links between documents (links between related items of documents), for example. The items of each document are managed in cell units.

勿論、Doors(IBM社製)は要件(要求)管理ツールの一例であり、この例に限らない。一般に、要件(要求)管理ツールによって、相互に関連する複数の文書が管理されるものであり、特に上記各文書間のリンク(文書の各関連項目間のリンク)と章番号の管理(トレーサビリティを確保すること)が重要となる。   Of course, Doors (manufactured by IBM) is an example of a requirement (request) management tool, and is not limited to this example. Generally, multiple documents related to each other are managed by a requirement (request) management tool, and in particular, links between the above documents (links between related items of the document) and chapter numbers (traceability is controlled). Securing) is important.

また、外部のワードプロセッサは例えばWORD(ワード;マイクロソフト社製)であるが、この例に限らない。上記外部出力処理は、例えば文書出力部6が行ってよいが、この例に限らない。文書出力部6は、例えば単に各種文書5aを変換なしで外部出力するものであってもよい。   The external word processor is, for example, WORD (Word; manufactured by Microsoft Corporation), but is not limited to this example. The external output process may be performed by the document output unit 6, for example, but is not limited to this example. For example, the document output unit 6 may simply output the various documents 5a without conversion.

尚、出力した文書には、文書構成の情報(例えば階層/レベル、タイトルか本文か等)を付帯させるようにしてもよい。各文書の構成要素(項目)同士の関連は、関連一覧表で識別できるようにすればよい。   The output document may be accompanied by document structure information (for example, hierarchy / level, title or text). The relationship between the constituent elements (items) of each document may be identified in the relationship list.

また、上記外部のワードプロセッサやエディタ、スプレッドシートなどで編集後の各種文書や関連一覧表を、文書入力部7を介して要件管理支援装置1内に取り込むようにしてもよい。その際、関連一覧表の情報を元に、文書の間の関連情報(リンク情報)を自動的に生成する。   Further, various documents and related lists edited by the external word processor, editor, spreadsheet, etc. may be taken into the requirement management support apparatus 1 via the document input unit 7. At that time, related information (link information) between documents is automatically generated based on the information in the related list.

図3に、文書格納部5に格納される文書5aの構成例を示す。
図示の例では、文書5aは、章番号(章/節/項番号等)を持つタイトル部31と、章番号を持たず、その親になるタイトルの内容を説明する本文部32から成る。本文部32は、タイトル部31ひとつに対して、複数個あっても良い。また、タイトル部31の下位にタイトル部31があってよく、更にタイトル部31の下位に複数のタイトル部31があっても良い。すなわち、タイトル部31は、例えば“章/節/項”等の「見出し」に相当し、典型例としては、章の下位に節があり、節の下位に項がある(逆に言えば、項の上位に節があり、節の上位に章がある)。当然、任意の章の下に複数の節があってよく、同様に、任意の節の下に複数の項があってよい。
FIG. 3 shows a configuration example of the document 5 a stored in the document storage unit 5.
In the illustrated example, the document 5a is composed of a title part 31 having a chapter number (chapter / section / item number, etc.) and a body part 32 that does not have a chapter number and explains the contents of the parent title. There may be a plurality of body parts 32 for one title part 31. Further, there may be a title part 31 below the title part 31, and there may be a plurality of title parts 31 below the title part 31. That is, the title section 31 corresponds to a “heading” such as “chapter / section / section”, and typically has a section at the lower part of the chapter and a section at the lower part of the section (in other words, There is a section above the term, and a chapter above the section). Of course, there may be multiple sections under any chapter, as well as multiple sections under any section.

図示の例では、例えば「3 開発要件」が章に相当し、‘3’が章番号、“開発要件”が章の見出し(タイトル)に相当する。また、例えば、「3.1 要件A」や「3.2 要件B」が節に相当し、‘3.1’や‘3.2’が節番号、“要件A”や“要件B”が節の見出し(タイトル)に相当する。   In the illustrated example, for example, “3 development requirement” corresponds to a chapter, “3” corresponds to a chapter number, and “development requirement” corresponds to a chapter heading (title). For example, “3.1 requirement A” and “3.2 requirement B” correspond to clauses, “3.1” and “3.2” are node numbers, and “requirement A” and “requirement B” are Corresponds to the section heading (title).

但し、ここでは、節や項等を用いることなく、全てを章として説明する。よって、ここでは、‘3.1’や‘3.2’も章番号であるものとして説明する。従って“要件A”や“要件B”も章の見出し(タイトル)に相当するものとして説明する。但し、「3.1 要件A」や「3.2 要件B」は、「3 開発要件」とは階層が異なる。   However, here, everything is explained as a chapter without using sections and terms. Therefore, here, '3.1' and '3.2' are also assumed to be chapter numbers. Therefore, “requirement A” and “requirement B” will be described as equivalent to chapter headings (titles). However, “3.1 Requirement A” and “3.2 Requirement B” are different in hierarchy from “3 Development Requirements”.

すなわち、タイトル部31や本文部32は、階層構造(ツリー構造)で管理されており、図3に示す例では、「3 開発要件」が最上位階層(例えば階層1)であり、その下の階層(例えば階層2)に「3.1 要件A」や「3.2 要件B」があり、更にその下の階層に本文部32がある階層構造となっている。   That is, the title part 31 and the text part 32 are managed in a hierarchical structure (tree structure). In the example shown in FIG. 3, “3 development requirements” is the highest hierarchy (for example, hierarchy 1), There are “3.1 requirement A” and “3.2 requirement B” in the hierarchy (for example, hierarchy 2), and a hierarchical structure in which the text portion 32 is in the lower hierarchy.

図4は、関連情報生成部4により関連付けを行った上位側文書と下位側文書と関連情報の関係を示す概念図である。上位側文書21と下位側文書22の間は、それぞれの関連する項目(図3のタイトル部31や本文部32)が、関連情報23(5b)により対応付けられている。   FIG. 4 is a conceptual diagram showing the relationship between the high-order document and the low-order document related by the related information generation unit 4 and related information. Between the upper document 21 and the lower document 22, the related items (the title part 31 and the body part 32 in FIG. 3) are associated by the related information 23 (5b).

図5に、上位側文書と下位側文書と関連情報の具体例を示す。
図5に示す例では、上位側文書が要求仕様書であり、下位側文書が設計書である(それぞれ、その一部のみを示す)。また、図5では関連情報を矢印で示すが、実際のデータ例は例えば図6に示すようになる。
FIG. 5 shows a specific example of the upper side document, the lower side document, and related information.
In the example shown in FIG. 5, the higher-order document is a requirement specification, and the lower-order document is a design document (respectively, only a part thereof is shown). In FIG. 5, the related information is indicated by an arrow, but an actual data example is as shown in FIG.

図5の例の場合、要求仕様書に記述された内容が、より詳細化されて、設計書に記述されている。
図5では、上位側文書の構造が左側に示されている。また、下位側文書の構造が右側に示されている。また、図5や後述する図8等では矢印で示す、2つの文書の各項目間の対応付けを行っている情報が、関連情報5bである。
In the case of the example in FIG. 5, the contents described in the requirement specifications are further detailed and described in the design document.
In FIG. 5, the structure of the upper document is shown on the left side. Also, the structure of the lower document is shown on the right side. In addition, the information associated with each item of two documents indicated by arrows in FIG. 5 and FIG. 8 described later is related information 5b.

尚、各文書は、例えばセル単位で管理されている。図5等において各矩形が1つのセルを意味しているものとする。例えば図示の「3.開発要件」、「3.1 要件A」、「要件Aの構成1」、「4.1.1 要件A」、「要件Bの構成2の設計1」等を囲う各矩形が、それぞれ、1つのセルを意味している。各セルにそれぞれユニークな識別IDを割当てて管理するようにしてもよい。   Each document is managed in units of cells, for example. In FIG. 5 and the like, it is assumed that each rectangle means one cell. For example, the rectangles enclosing “3. Development requirement”, “3.1 Requirement A”, “Configuration 1 of requirement A”, “4.1.1 Requirement A”, “Design 1 of configuration 2 of requirement B”, etc. , Each means one cell. A unique identification ID may be assigned to each cell for management.

尚、本装置1では、例えば上位側文書(要求仕様書)に基づいて下位側文書(設計書)の雛形を自動生成するが、図5において図上右側に示す設計書の例は、この様な雛形に基づいてユーザが任意のデータを入力した状態を示している。例えば、図示の「要件Aの構成1の設計1」等の本文部32の記述は、ユーザが任意に入力したものである。   The apparatus 1 automatically generates a template of a lower document (design document) based on, for example, a higher document (required specification). An example of a design document shown on the right side of FIG. This shows a state in which the user has input arbitrary data based on a simple template. For example, the description of the text part 32 such as “design 1 of the configuration 1 of requirement A” shown in the figure is arbitrarily input by the user.

一方、「4.1.1 要件A」や「4.1.1.1 要件Aの構成1」等のタイトル部31の内容(章番号やタイトル名)は、要求仕様書に基づいて自動的に生成されたものである(上記雛形の段階で既に存在していた)。但し、タイトル部31に関しては(特にタイトル名に関しては)、上記自動生成されたものをそのまま用いる例に限るものではなく、例えば自動的に生成されたものをユーザが任意に修正/変更してもよいし、自動生成を行わずにユーザが任意に入力するようにしてもよい。   On the other hand, the contents (chapter number and title name) of the title part 31 such as “4.1.1 Requirement A” and “4.1.1.1 Configuration 1 of Requirement A” are automatically generated based on the required specifications. (It already existed at the above template stage). However, the title part 31 (especially with respect to the title name) is not limited to the example of using the automatically generated one as it is. For example, even if the user automatically modifies / changes the automatically generated one. Alternatively, the user may arbitrarily input without performing automatic generation.

尚、要求仕様書のデータ構造は図3で説明した通りであるが、設計書も略同様であると考えてよく、これより図示のようにタイトル部には符号31を付してあり、本文部には符号32を付してある。これは、後述する図8等に関しても同様である。   Although the data structure of the requirement specification is as described in FIG. 3, it may be considered that the design document is substantially the same. From this, the title portion is denoted by reference numeral 31 as shown in the figure. The part is denoted by reference numeral 32. The same applies to FIG. 8 described later.

上記雛形の自動生成処理については、後に図7等を参照して説明する。
図5の要求仕様書では、3章(開発要件の章)に、設計書にてより詳細に設計される開発要件が記述されている。すなわち、3章を基点として、設計書にてより詳細に設計される開発要件が記述されている。
The automatic template generation process will be described later with reference to FIG.
In the requirement specification shown in FIG. 5, development requirements designed in more detail in the design document are described in Chapter 3 (development requirements chapter). In other words, the development requirements designed in more detail in the design document are described starting from Chapter 3.

3章には、3.1章、3.2章の2つの要求項目が記述されている。また、3.1章の要求項目には、本文32として、3項目の説明が記述されている。また、3.2章の要求項目には、本文32として、2項目の説明が記述されている。   Chapter 3 describes the two required items of Chapters 3.1 and 3.2. In addition, the description of the three items is described as the text 32 in the request items of Chapter 3.1. In addition, the description of two items is described as the text 32 in the request item of Chapter 3.2.

要求仕様書には、3章の前後にも、3章以外の章が含まれる(たとえば、文書の概要や、参照している規格などを1章、2章に記述したりする。)が、図5では、割愛している。なお、設計書においても、4.1章の前後にも他の章が存在するが、図5では割愛している。   The requirement specifications include chapters other than Chapter 3 before and after Chapter 3 (for example, the outline of the document and the standards that are referred to are described in Chapters 1 and 2). In FIG. 5, it is omitted. In the design document, there are other chapters before and after chapter 4.1, but they are omitted in FIG.

一方、図5の設計書では、基点となる4.1章(設計の章)に、要求仕様書で記述された要求項目を受けて、より詳細に設計した内容(設計項目)が記述されているが、要求項目に記述された項目を過不足なく設計で実現するために、章構成を対応させている。   On the other hand, in the design document of FIG. 5, the content (design item) designed in more detail by receiving the requirement item described in the requirement specification is described in the chapter 4.1 (design chapter) as the base point. However, in order to realize the items described in the required items by design without excess or deficiency, the chapter structure is made to correspond.

すなわち、4.1.1章で要求仕様書の3.1章の内容を、4.1.2章で要求仕様書の3.2章の内容を受けている。さらに、4.1.1.1章では、要求仕様書の3.1章の本文部32の第1項目で記述された要件項目“要件Aの構成1”を受けて、設計項目のタイトルとして“要件Aの構成1”が記述されている。このような対応関係を図5では矢印で示しており、関連情報5bは、この対応関係を保持している。   That is, the contents of chapter 3.1 of the requirement specification are received in chapter 4.1.1, and the contents of chapter 3.2 of the requirement specification are received in chapter 4.1.2. Furthermore, in Section 4.1.1.1, the requirement item “Configuration 1 of requirement A” described in the first item of the body part 32 of Chapter 3.1 of the requirement specification is received and used as the title of the design item. “Configuration 1 of requirement A” is described. Such a correspondence relationship is indicated by an arrow in FIG. 5, and the related information 5b holds this correspondence relationship.

そして、例えば上記設計項目“要件Aの構成1”のより詳細な説明として、図示の例では2項目の本文部32(設計内容)が記述されている。つまり、基本的には、階層構造となっているタイトル部31において最下層のタイトル(章)について、1項目以上の本文部32が記述されている。   For example, as a more detailed description of the design item “Configuration 1 of requirement A”, in the illustrated example, two text sections 32 (design contents) are described. That is, basically, one or more text parts 32 are described for the title (chapter) in the lowest layer in the title part 31 having a hierarchical structure.

ここで、上記関連情報5bは、具体的には例えば図6に示すようなデータとして、図5では矢印で示す上記2つの文書の各項目間の対応関係を保持している。
図6に示す例では、タイトル部31に関しては章番号同士を対応付けている。図5の例では例えば要求仕様書の3.1章に対しては設計書の4.1.1章が対応するので、図6に示す例では「3.1,4.1.1」となっている。
Here, the related information 5b is, for example, data as shown in FIG. 6 and holds the correspondence between the items of the two documents indicated by arrows in FIG.
In the example shown in FIG. 6, chapter numbers are associated with each other with respect to the title portion 31. In the example of FIG. 5, for example, chapter 4.1 of the design document corresponds to chapter 3.1 of the requirement specification, so “3.1, 4.1.1” in the example shown in FIG.

また、図6に示す例では、上位側文書(要求仕様書)の本文部32と下位側文書(設計書)のタイトル部31とが対応付けられる場合には、本文部32に付与する識別番号と、下位側文書のタイトル部31の章番号とを、対応付けている。本文部32に付与する識別番号は、例えば一例としては、本文部32が属する上記最下層の章の章番号に、予め決められた所定のルールに従って記号、番号等を付与するものである。   In the example shown in FIG. 6, when the body part 32 of the higher-order document (required specification) and the title part 31 of the lower-order document (design document) are associated with each other, the identification number assigned to the body part 32 And the chapter number of the title part 31 of the lower-order document are associated with each other. As an example, the identification number assigned to the body part 32 is such that a symbol, a number, or the like is given to a chapter number of the lowermost chapter to which the body part 32 belongs according to a predetermined rule.

図示の例では、上記最下層の章の章番号に“−m”(m=1,2,3・・)を付与するルールとしている。よって、図示のように、例えば上位側文書(要求仕様書)の3.1章に属する3つの本文部32については、順に、識別番号3.1−1、3.1−2、3.1−3が割り当てられており、これら各識別番号に対して下位側文書(設計書)の各章番号(4.1.1.1、4.1.1.2、4.1.1.3)が対応付けられている。   In the example shown in the figure, the rule is that “−m” (m = 1, 2, 3,...) Is assigned to the chapter number of the lowermost chapter. Therefore, as shown in the figure, for example, the three body parts 32 belonging to Chapter 3.1 of the higher-order document (required specification) are sequentially identified by the identification numbers 3.1-1, 3.1-2, 3.1. -3 is assigned, and each chapter number (4.1.1.1, 4.1.1.2, 4.1.1.3) of the lower-level document (design document) is associated with each identification number.

本例の要件管理支援装置1では、既に述べたように上位側文書に基づいて下位側文書の雛形を生成する。ここでは、図5のデータ構造を例に、その処理動作を説明する。この処理動作(下位側文書雛形生成処理)は、上位側文書解析部2と下位側文書生成部3によって実行される。   In the requirement management support apparatus 1 of this example, as described above, a template of the lower document is generated based on the upper document. Here, the processing operation will be described by taking the data structure of FIG. 5 as an example. This processing operation (lower document template generation processing) is executed by the upper document analysis unit 2 and the lower document generation unit 3.

図7に、上記下位側文書雛形生成処理のフローチャート図を示す。
この処理は、上位側の文書の章構成で規定される文書構成から、下位側の文書の章構成で規定される文書構成を導出し、これを下位側文書のひな形とする処理であると言える。
更に言うならば、図7の処理は、(上位側と下位側の両方に関して)任意に設定される基点となる章番号と、上位側文書の章構成で規定される文書構成とに基づいて、下位側文書の章番号、タイトル名を導出することで、下位側文書のひな形を生成するものであるということも出来る。
FIG. 7 shows a flowchart of the lower-level document template generation process.
This process is a process of deriving the document structure defined by the chapter structure of the lower-order document from the document structure defined by the chapter structure of the higher-order document and using this as a template for the lower-order document. I can say that.
Further, the processing of FIG. 7 is based on the chapter number as a base point arbitrarily set (for both the upper side and the lower side) and the document configuration defined by the chapter configuration of the upper side document. By deriving the chapter number and title name of the lower document, it can be said that the template of the lower document is generated.

図7の処理では、まず最初にユーザに任意の指定を行わせる。例えば図12に示す例のように、ユーザに、生成元文書、生成先文書を任意に指定させると共に、各文書について基点となる章の章番号等を任意に指定させる(ステップS101)。図示の例では、生成元文書として要求仕様書が指定され、生成先文書として設計書が指定されている。更に、要求仕様書と設計書それぞれの基点となる章を指定させる。図12の例の場合、要求仕様書の基点は3章、設計書の基点は4.1章である。   In the process of FIG. 7, first, the user is caused to make an arbitrary designation. For example, as in the example shown in FIG. 12, the user is allowed to arbitrarily specify the generation source document and the generation destination document, and arbitrarily specify the chapter number of the chapter that is the base point for each document (step S101). In the illustrated example, a requirement specification is specified as a generation source document, and a design document is specified as a generation destination document. Furthermore, the chapter that becomes the base point of each of the requirement specification and the design document is specified. In the case of the example in FIG. 12, the base point of the requirement specification is Chapter 3, and the base point of the design document is Chapter 4.1.

尚、既に述べたが、上記のように上位側文書、下位側文書を、単に、生成元文書、生成先文書と見做しても構わない。
そして、ユーザが例えば図12に示す「生成」ボタンを操作することで、ステップS102以降の処理を開始する。すなわち、本例では要求仕様書の基点の直下の全ての章について、以下のループ処理を行う(ステップS102)。本例では、直下の全ての章とは、3.1章、3.2章を意味する。直下の各章を順次処理対象項目とし、処理対象とした項目について以下の処理を行う。
As described above, the higher-order document and the lower-order document may simply be regarded as the generation source document and the generation destination document as described above.
Then, when the user operates a “Generate” button shown in FIG. 12, for example, the processing after Step S102 is started. That is, in this example, the following loop processing is performed for all chapters immediately below the base point of the requirement specification (step S102). In this example, all chapters immediately below mean chapters 3.1 and 3.2. The chapters immediately below are set as items to be processed sequentially, and the following processing is performed on the items to be processed.

すなわち、まず、要求仕様書における処理対象の項目に対応する設計書の項目を生成する(ステップS103)。これは、本例では、要求仕様書の項目が、タイトル部31であっても、本文部32であっても、設計書側にはタイトル部31として生成する(章番号とタイトルを生成する)(但し、この例に限らない)。章番号に関しては、処理対象の章番号が3.1章であったならば、これは基点である3章+「.1」であるので、設計書における基点である4.1章+「.1」=4.1.1章を生成する。また、タイトルは、そのままコピーする。図示の例では、3.1章のタイトルは「要件A」であるので、4.1.1章のタイトルも「要件A」となっている。   That is, first, a design document item corresponding to a processing target item in the requirement specification is generated (step S103). In this example, even if the item of the requirement specification is the title part 31 or the body part 32, it is generated as the title part 31 on the design document side (chapter number and title are generated). (However, it is not limited to this example). With regard to the chapter number, if the chapter number to be processed is 3.1, this is the base point of chapter 3 + “. 1”, so that it is the base point of the design document, chapter 4.1+ “. 1 ”= Chapter 4.1.1 is generated. The title is copied as it is. In the illustrated example, since the title of Chapter 3.1 is “Requirement A”, the title of Chapter 4.1.1 is also “Requirement A”.

上記のように、設計書側にタイトル部31を生成した後、要求仕様書の各項目と、設計書の項目との間の対応関係(各項目間のリンク情報)を生成する(ステップS104)。これは、上記ステップS103で設計書の各項目(セル)を生成した際に、その生成元となった要求仕様書の項目(セル)は分かっているので、これを記憶しておく。そして、これら相互に対応するセル同士で、例えば各々の章番号同士を対応付ければよい。上記の例では、3.1章と4.1.1章とが対応付けられる。これより、図6に示す「3.1,4.1.1」の部分が生成されることになる。但し、これは、要求仕様書の項目がタイトル部31であった場合である。要求仕様書の項目が本文部32であった場合には、各本文部32に識別番号を付与したうえで設計書の章番号と対応付ける。既に述べた例のように、本文部32に例えば識別番号3.1−1等が割り当てられた場合には、図6に示すように例えば「3.1-1,4.1.1.1」などの対応付けが行われることになる。   As described above, after the title part 31 is generated on the design document side, a correspondence (link information between the items) between each item of the requirement specification and the item of the design document is generated (step S104). . This is because, when each item (cell) of the design document is generated in step S103, the item (cell) of the requirement specification that is the generation source is known, and this is stored. Then, for example, the chapter numbers may be associated with each other between the cells corresponding to each other. In the above example, chapters 3.1 and 4.1.1 are associated with each other. As a result, the parts “3.1, 4.1.1” shown in FIG. 6 are generated. However, this is a case where the item of the requirement specification is the title part 31. When the item of the requirement specification is the text part 32, an identification number is assigned to each text part 32 and then associated with the chapter number of the design document. As in the example described above, when the identification number 3.1-1 is assigned to the body part 32, for example, as shown in FIG. Will be done.

そして、処理対象の項目に子要素(直下の項目)があるか否かを判定する(ステップS105)。図5の例では、「3.1 要件A」に関しては3つの子要素(例えば“要件Aの構成1”等)があり、「3.2 要件B」に関しては2つの子要素がある。   Then, it is determined whether or not there is a child element (immediate item) in the processing target item (step S105). In the example of FIG. 5, “3.1 requirement A” has three child elements (for example, “configuration 1 of requirement A”), and “3.2 requirement B” has two child elements.

処理対象の項目に子要素がある場合には(ステップS105,YES)、本処理(図7の処理)を再帰的に呼び出す(ステップS106)。再帰的に呼び出されたときには、そのときの処理対象項目が、基点の項目となる。   If there is a child element in the item to be processed (step S105, YES), this process (the process of FIG. 7) is recursively called (step S106). When recursively called, the processing target item at that time becomes the base item.

従って、例えば処理対象項目が「3.1 要件A」であった場合には、上記直下の項目は“要件Aの構成1”、“要件Aの構成2”、“要件Aの構成3”の3つとなり、それぞれについて上記ステップS103、S104の処理が実行されることになる。   Therefore, for example, when the processing target item is “3.1 requirement A”, the items immediately below are three items, “configuration 1 of requirement A”, “configuration 2 of requirement A”, and “configuration 3 of requirement A”. Thus, the processes of steps S103 and S104 are executed for each.

まずステップS103に関しては、“要件Aの構成1”等は、タイトル部31ではなく本文部32であるので、章番号が無い。この為、例えば処理対象項目の章番号(ここでは3.1)を用いて例えば“−m”(m;1,2,3、・・・等)を付加することで識別番号“3.1−m”を生成する。これより、上記“要件Aの構成1”に対しては3.1−1、“要件Aの構成2”に対しては3.1−2、“要件Aの構成3”に対しては3.1−3が、それぞれ識別番号として割り当てられることになる。   First, regarding step S103, “Configuration 1 of requirement A” or the like is not the title part 31 but the text part 32, and thus has no chapter number. Therefore, for example, the identification number “3.1” is added by adding, for example, “−m” (m; 1, 2, 3,...) Using the chapter number of the processing target item (here, 3.1). -M "is generated. Thus, 3.1-1 for "Configuration 1 of Requirement A", 3.1-2 for "Configuration 2 of Requirement A", 3 for "Configuration 3 of Requirement A" .1-3 are assigned as identification numbers.

また、上記設計書側にタイトル部31を生成する処理では、上記の例では4.1.1章が生成済みであるので、その直下の章として4.1.1.m章((m;1,2,3、・・・等)を生成する。   Further, in the process of generating the title part 31 on the design document side, chapter 4.1.1 has already been generated in the above example, so 4.1.1. Generate chapter m ((m; 1, 2, 3,... etc.).

そして、上記ステップS104の処理を行うことで、例えば図5において矢印で示す対応関係が生成される。これは、関連情報(リンク情報)23(5b)としては図6に示す「3.1-1,4.1.1.1」、「3.1-2,4.1.1.2」「3.1-3,4.1.1.3」の部分が生成されることになる。尚、関連情報23(5b)の生成は、上記関連情報生成部4が実行するものであり、生成した関連情報23(5b)は上記文書格納部5に格納される。また尚、下位側文書のタイトル部31におけるタイトル名は、上記の通り、上位側文書の処理対象項目のタイトル名を、そのままコピーする。よって、図5に示す例では、例えば“要件Aの構成1”に対しては、“4.1.1.1 要件Aの構成1”が生成されることになる。   Then, by performing the processing in step S104, for example, a correspondence relationship indicated by an arrow in FIG. 5 is generated. This is because the related information (link information) 23 (5b) includes portions "3.1-1, 4.1.1.1", "3.1-2, 4.1.1.2", "3.1-3, 4.1.1.3" shown in FIG. Will be generated. The generation of the related information 23 (5b) is executed by the related information generation unit 4, and the generated related information 23 (5b) is stored in the document storage unit 5. Further, as described above, the title name of the processing target item of the higher-order document is copied as it is as the title name in the title portion 31 of the lower-order document. Therefore, in the example illustrated in FIG. 5, for example, “4.1.1.1 Requirement A Configuration 1” is generated for “Requirement A Configuration 1”.

尚、上記“要件Aの構成1”等には子要素はないので、ステップS105の判定はNOとなる。
上記“要件Aの構成1”等の各子要素に関する処理が完了したら、再帰的に呼び出した処理から復帰する。そして、上記基点の直下の項目のなかで未処理の項目が残っているならば、これを処理対象として上記ステップS103〜S106の処理を行う。未処理の項目が無いならば(要求仕様書の基点の直下の全ての章について上記処理が行われたならば)、ループを抜けて、本処理を終了する。
Note that since there is no child element in the “configuration 1 of requirement A” or the like, the determination in step S105 is NO.
When the process related to each child element such as “Configuration 1 of requirement A” is completed, the process returns from the recursively called process. Then, if an unprocessed item remains among the items immediately below the base point, the processing of steps S103 to S106 is performed on this as a processing target. If there is no unprocessed item (if the above processing has been performed for all chapters immediately below the base point of the requirement specification), the process exits the loop and ends this processing.

このように、ひな形を生成するが、上記処理例では上記の通り要求仕様書の項目がタイトル部31であるか本文部32であるかに係わらず、設計書側にはタイトル部31として生成する。従って、ひな形生成直後には、設計書には、本文部32が無いものが作成される。本文部32は、設計書の作成者が後に任意に作成・追加する。従って、図5に示す設計書における各本文部32(章番号が無い項目)は、ひな形生成後にユーザが任意に追加入力したものであり、ひな形には存在しなかったものである。   In this way, the template is generated, but in the above processing example, as described above, regardless of whether the item of the requirement specification is the title part 31 or the text part 32, it is generated as the title part 31 on the design document side. To do. Therefore, immediately after the generation of the template, a design document without the body part 32 is created. The text part 32 is arbitrarily created and added later by the creator of the design document. Accordingly, each body part 32 (item without a chapter number) in the design document shown in FIG. 5 is arbitrarily input by the user after generating the template, and does not exist in the template.

次に、図8に、上位側文書が要求仕様書であり、下位側文書が型式試験仕様書である場合の具体的なデータ構造例を示す。
この場合、要求仕様書に記述された内容に対応する試験項目が、型式試験仕様書に記述されている。図5の場合と異なり、図8の場合は、対応する要求仕様書などに記述された項目が過不足なく型式試験仕様書に記述されていることが重要であるため、図5のような階層の深化はおこらず、同じ階層での対応となっている。
Next, FIG. 8 shows a specific data structure example in the case where the upper document is a requirement specification and the lower document is a type test specification.
In this case, test items corresponding to the contents described in the requirement specifications are described in the model test specifications. Unlike the case of FIG. 5, in the case of FIG. 8, it is important that the items described in the corresponding requirement specifications and the like are described in the type test specification without excess or deficiency. Deepening is not performed, and it corresponds in the same hierarchy.

図8の例の場合も、上位側文書から下位側文書を生成する処理は、図7とほぼ同様であるが、図8の例の場合には階層が深化しないので、要求仕様書の処理対象項目がタイトル部31であった場合には型式試験仕様書側にはタイトル部31として生成するが(つまり、図7と同じである)、要求仕様書の処理対象項目が本文部32であった場合には、型式試験仕様書には本文部32を生成するものであり、この点で多少異なる。   In the case of the example of FIG. 8 as well, the process of generating the lower side document from the upper side document is almost the same as that of FIG. 7, but in the case of the example of FIG. If the item is the title part 31, it is generated as the title part 31 on the type test specification side (that is, the same as in FIG. 7), but the processing target item of the required specification is the body part 32 In this case, the body part 32 is generated in the type test specification, which is slightly different in this respect.

尚、階層を深化させるか否かは、例えば予めユーザが図7の処理開始前に指定するものであってよいが、この例に限らない。
図8の例では、例えば要求仕様書におけるタイトル部31の一例である「3.1 要件A」に対応して、設計書におけるタイトル部31「2.1 要件A」が生成される。但し、既に述べたように、タイトル部31に関しては(特にタイトル名に関しては)、上記自動生成されたものをそのまま用いる例に限るものではなく、例えば自動的に生成されたものをユーザが任意に修正/変更してもよいし、自動生成を行わずにユーザが任意に入力するようにしてもよい。
Note that whether or not to deepen the hierarchy may be specified in advance by the user before starting the processing of FIG. 7, for example, but is not limited to this example.
In the example of FIG. 8, for example, the title part 31 “2.1 requirement A” in the design document is generated corresponding to “3.1 requirement A” which is an example of the title part 31 in the requirement specification. However, as already described, the title part 31 (especially with respect to the title name) is not limited to the example of using the automatically generated one as it is. For example, the user can arbitrarily select the automatically generated one. It may be corrected / changed, or may be arbitrarily input by the user without automatic generation.

また、例えば要求仕様書における本文部32の一例である「要件Aの構成1」に対応して、設計書における本文部32「要件Aの構成1」が生成される。但し、図8には、更にユーザが任意の文章を追加入力した後の状態を示している。すなわち、上記「要件Aの構成1」にユーザが「について試験する。」を追加入力したことで、設計書における本文部32として図示のように「要件Aの構成1について試験する。」となっている。   Further, for example, a text part 32 “Configuration 1 of requirement A” in the design document is generated corresponding to “Configuration 1 of requirement A” which is an example of the text part 32 in the requirement specification. However, FIG. 8 shows a state after the user additionally inputs an arbitrary sentence. That is, when the user additionally inputs “testing about“ configuration 1 of requirement A ”,“ testing about configuration 1 of requirement A ”is performed as shown in the text part 32 in the design document. ing.

そして、図7で説明した図5の例の場合と同様に、生成元となった要求仕様書と生成先となった型式試験仕様書の各項目との対応関係を、関連情報(リンク情報)23(5b)として記憶しておく。   Then, as in the case of the example of FIG. 5 described in FIG. 7, the correspondence between each item of the requirement specification that is the generation source and the type test specification that is the generation destination is related information (link information). 23 (5b).

以上、上位側文書解析部2と下位側文書生成部3によって実行される、下位側文書雛形生成処理と、これに伴う関連情報生成部4による関連情報5bの生成・格納処理について説明した。   Heretofore, the lower-level document template generation processing executed by the higher-level document analysis unit 2 and the lower-level document generation unit 3 and the related information generation unit 4 generation / storage processing associated therewith have been described.

以下、他の機能部による処理について説明する。
関連情報解析部8では、文書格納部5に格納された文書5aや関連情報5b等に基づいて、上記各種文書(要求仕様書、設計書、詳細設計書、型式試験仕様書等)間の関連を示す一覧表を自動的に生成し、この関連一覧表を文書格納部5に格納する。
Hereinafter, processing by other functional units will be described.
In the related information analyzing unit 8, based on the document 5 a and related information 5 b stored in the document storing unit 5, the relationship among the various documents (required specification, design, detailed design, type test specification, etc.) Is automatically generated, and the related list is stored in the document storage unit 5.

図9に、文書格納部5に格納される関連一覧表の一例を示す。
図示の関連一覧表は、文書識別部41と章構成対応部42から成り、各種文書間の対応関係(その各項目間の対応関係)を章番号で示している。この例では、要求仕様書を詳細化したものが設計書であり、設計書を詳細化したものが詳細設計書である。また、要求仕様書に型式試験仕様書が対応しており、設計書に機能試験仕様書が対応しており、詳細設計書に単体試験仕様書が対応している。
FIG. 9 shows an example of a related list stored in the document storage unit 5.
The illustrated association list includes a document identification unit 41 and a chapter configuration correspondence unit 42, and indicates correspondences between various documents (correspondences between items) by chapter numbers. In this example, a detailed specification document is a detailed specification document and a detailed specification document is a detailed specification document. In addition, the type test specification corresponds to the required specification, the functional test specification corresponds to the design, and the unit test specification corresponds to the detailed design.

図9に示すような関連一覧表の生成処理は、例えば上記下位側文書雛形生成処理の際に生成された上記図6等の関連情報5bに基づいて、2つの文書間の対応関係(その各項目間の対応関係)を生成する処理を、繰り返し行うものである。図6の例を用いて説明するならば、この例の場合には図9に示す関連一覧表のうち要求仕様書と設計書との対応関係が生成されることになる。   The generation process of the related list as shown in FIG. 9 is based on, for example, the correspondence between two documents (each of them) based on the related information 5b of FIG. 6 and the like generated in the lower document template generation process. The process of generating the correspondence between items) is repeated. If described with reference to the example of FIG. 6, in this example, a correspondence relationship between the requirement specification and the design document in the relation list shown in FIG. 9 is generated.

この処理は、特に図示しないが、図6に示す例のような関連情報5bを参照して、各行毎に、カンマ(,)の左側が要求仕様書の章番号、右側が設計書の章番号と判断する。そして、カンマ(,)の左側のデータを図9の関連一覧表の文書識別部41が「要求仕様書」の列における章構成対応部42に格納する。同様に、カンマ(,)の右側のデータを図9の関連一覧表の文書識別部41が「設計書」の列における章構成対応部42に格納する。   Although this processing is not particularly illustrated, with reference to related information 5b as in the example shown in FIG. 6, for each row, the left side of the comma (,) is the chapter number of the required specification, and the right side is the chapter number of the design document. Judge. Then, the document identification unit 41 of the relation list in FIG. 9 stores the data on the left side of the comma (,) in the chapter configuration corresponding unit 42 in the column “Required Specifications”. Similarly, the document identification unit 41 of the relation list in FIG. 9 stores the data on the right side of the comma (,) in the chapter configuration corresponding unit 42 in the “design document” column.

但し、本例では、ハイフン(−)以降は章番号として認識しないものとする。従って、例えば、3.1−1や3.1−2等は全て3.1として扱うものとする。これより、図9に示す例では、設計書における4.1.1.1章〜4.1.1.3章に対応する要求仕様書の章番号は、全て3.1章となっている。   However, in this example, a hyphen (-) and later are not recognized as chapter numbers. Therefore, for example, 3.1-1 and 3.1-2 are all handled as 3.1. Thus, in the example shown in FIG. 9, the chapter numbers of the requirement specifications corresponding to chapters 4.1.1.1 to 4.1.1.3 in the design document are all 3.1.

他も同様にして、例えば設計書を上位側文書として下位側文書(例えば詳細設計書)の雛形が作成された場合には、設計書の各項目と詳細設計書の各項目との対応関係を示す関連情報5bが生成・格納されるので、これを参照して図9に示す例における設計書と詳細設計書の各章番号の対応関係部分が生成されることになる。この例では、例えば、設計書の4.1.1.1章に対して、詳細設計書の5.1.1.1章と5.1.1.2章が対応付けられている。   Similarly, for example, when a model of a lower-level document (for example, a detailed design document) is created using a design document as a higher-level document, the correspondence between each item of the design document and each item of the detailed design document is changed. Since the related information 5b to be shown is generated and stored, the corresponding part of each chapter number of the design document and the detailed design document in the example shown in FIG. 9 is generated with reference to this. In this example, for example, chapters 5.1.1.1 and 5.1.1.2 of the detailed design document are associated with chapter 4.1.1.1 of the design document.

次に、文書出力部6の処理について説明する。
文書出力部6では、文書格納部5に格納された文書5bや上記関連一覧表等を外部出力する。
Next, processing of the document output unit 6 will be described.
The document output unit 6 externally outputs the document 5b stored in the document storage unit 5 and the related list.

文書を出力するときには、出力先の文書形式(テキストやワードプロセッサ等)に応じた変換を行うが、図3のように文書が構成されているため、章番号を持つタイトル部31と、章番号を持たず内容を説明する本文部32とが、区別できるように出力する。更に、図3に示すような階層構造を保ちながら、外部出力する。換言すれば、文書出力部6は、上記章構成で規定される文書構成の各種文書5bを、その文書構成を保ちながら外部の任意の文書形式に応じて外部出力するものであると言える。   When outputting a document, conversion is performed according to the document format (text, word processor, etc.) of the output destination. Since the document is configured as shown in FIG. 3, the title part 31 having the chapter number and the chapter number are displayed. It is output so that it can be distinguished from the body portion 32 that explains the content without having it. Further, the data is output to the outside while maintaining the hierarchical structure as shown in FIG. In other words, it can be said that the document output unit 6 outputs the various documents 5b having the document structure defined by the chapter structure according to any external document format while maintaining the document structure.

「区別できるように出力する」とは、例えば、テキスト形式で出力する場合には、各行毎に、その先頭に“3.1.1”のように数字(章番号)が記載されている場合にタイトル部31と識別するというような方法を指す。   “Output so that it can be distinguished” means, for example, when outputting in text format, if each line is preceded by a number (chapter number) such as “3.1.1”, the title The method of identifying with the part 31 is pointed out.

上記のように要件管理支援装置1内の文書形式は例えばDoors(IBM社製)などによるものであるが、文書出力部6で外部出力する際には外部で編集等が行えるように形式変換して出力する。例えば、テキストエディタで編集できるようにするには、テキスト形式で出力する。   As described above, the document format in the requirement management support apparatus 1 is based on, for example, Doors (manufactured by IBM). However, when the document output unit 6 outputs the document, the format is converted so that the document can be edited externally. Output. For example, to be able to edit with a text editor, output in text format.

また、例えば、ワードプロセッサで編集できるようにする場合には、章のデータ構造を木構造データとして管理するアウトライン機能で管理できる場合には、章のタイトル部31はアウトライン機能上の章(見出し)、本文部32はアウトライン機能上の本文として出力しても良い。例えば、Microsoft社製の Microsoft Word はアウトライン機能を備えている。   Also, for example, when editing is possible with a word processor, when the chapter data structure can be managed with an outline function for managing the data structure as tree structure data, the chapter title section 31 includes a chapter (heading) on the outline function, The text part 32 may be output as a text on the outline function. For example, Microsoft's Microsoft Word has an outline function.

アウトライン機能に対応させて出力する例の場合の処理フローチャート図を、図10に示す。
尚、関連一覧表を出力する場合には、ワードプロセッサ、もしくは、スプレッドシートに表形式で出力する。これは、図9の形式のまま、そのまま出力すれば良い。
FIG. 10 shows a processing flowchart for an example of output corresponding to the outline function.
In the case of outputting the related list, it is output in a table format to a word processor or a spreadsheet. This may be output as it is in the format of FIG.

以下、図3の例を参照しながら図10の処理について説明する。
まず、ユーザが、基点となる章番号を任意に指定する(ステップS900)。本例では、例えば3章が指定されたものとする。但し、文書属性として基点となる章の番号を保持している場合には、この処理は不要である。
The process of FIG. 10 will be described below with reference to the example of FIG.
First, the user arbitrarily designates a chapter number as a base point (step S900). In this example, it is assumed that, for example, chapter 3 is designated. However, this processing is not necessary if the chapter number as the base point is held as the document attribute.

更に、出力先における階層を示す変数である「階層」を初期化する(ステップS901)。ここでは、例えば「階層」=0とする。例えば、出力先がワードであって且つアウトライン機能に対応させる場合には、この「階層」は所謂“アウトラインレベル”に相当することになる。   Further, the “hierarchy” that is a variable indicating the hierarchy at the output destination is initialized (step S901). Here, for example, “hierarchy” = 0. For example, when the output destination is a word and corresponds to the outline function, this “hierarchy” corresponds to a so-called “outline level”.

そして、処理対象となる文書5aを1項目(1セル;図3等で矩形枠で囲っている単位)ずつ参照して、ステップS903〜S907の処理を行う(ステップS902)。全ての項目についてステップS903〜S907の処理を実行したら、本処理を終了する。尚、本例では処理対象文書5aは設計仕様書であり、図3の内容であるものとする。   Then, the processing of steps S903 to S907 is performed by referring to the document 5a to be processed one item (one cell; a unit surrounded by a rectangular frame in FIG. 3 and the like) (step S902). When the processes in steps S903 to S907 are executed for all items, this process is terminated. In this example, it is assumed that the processing target document 5a is a design specification and has the contents shown in FIG.

まず最初は、上記基点となる項目(3章;3 開発要件)が処理対象項目となり、その階層は‘1’であるものとする。そして、処理対象項目がタイトル部31であるか否かを判定する(ステップS903)。上記例(3 開発要件)は当然タイトル部31であるので(ステップS903,YES)、ステップS904へ進む。尚、処理対象項目が例えば図3に示す「要件Aの構成1」等のような本文部32であった場合には、ステップS903の判定はNOとなり、ステップS907へ進む。   First of all, it is assumed that the item (Chapter 3; 3 development requirements) as the base point is a processing target item, and its hierarchy is “1”. Then, it is determined whether or not the processing target item is the title part 31 (step S903). Since the above example (3 development requirement) is naturally the title part 31 (step S903, YES), the process proceeds to step S904. If the processing target item is the body part 32 such as “Configuration 1 of requirement A” shown in FIG. 3, for example, the determination in step S903 is NO, and the process proceeds to step S907.

ステップS903がYESの場合には、まず、同じ階層か否かを判定する(ステップS904)。これは、現在の階層が上記変数としての「階層」と同じか否かを判定するものであり、ここではステップS901の処理により変数「階層」=0である一方で、上記の通り現在の階層は‘1’(1階層目)であるので、ステップS904の判定はNOとなり、階層の変更を行う(ステップS905)。すなわち、変数としての「階層」を、現在の階層とする。よって、ここでは変数「階層」=1とする。そして、現在の変数「階層」に応じたタイトルの出力を行う(ステップS906)(この場合は処理対象項目はタイトル部31であるのでタイトル名が出力される)。つまり、上記「3 開発要件」が上記アウトライン機能上の上記木構造(ツリー構造)における1階層目(レベル1)に出力される。換言すれば、“アウトラインレベル”=“レベル1”を付加して“見出し”として「3 開発要件」を出力する。   If step S903 is YES, it is first determined whether or not the hierarchy is the same (step S904). This is to determine whether or not the current hierarchy is the same as the “hierarchy” as the variable. Here, the variable “hierarchy” = 0 in the process of step S901, while the current hierarchy as described above. Is '1' (first layer), the determination in step S904 is NO, and the layer is changed (step S905). That is, the “hierarchy” as a variable is the current hierarchy. Therefore, here, the variable “hierarchy” = 1. Then, a title corresponding to the current variable “hierarchy” is output (step S906) (in this case, since the processing target item is the title part 31, the title name is output). That is, the “3 development requirement” is output to the first layer (level 1) in the tree structure (tree structure) on the outline function. In other words, “Outline Level” = “Level 1” is added and “3 Development Requirements” is output as “Heading”.

以上で最初の項目についての出力処理が完了し、以降、他の項目についても順次略同様の処理によって外部への出力(上記アウトライン機能上の上記木構造(ツリー構造)に対応する出力)を行う。   Thus, the output process for the first item is completed, and thereafter, the other items are sequentially output to the outside by the substantially similar process (output corresponding to the tree structure (tree structure) on the outline function). .

図3の例では、上記「3 開発要件」の次の項目は、2階層目にある「3.1 要件A」であるので、上記ステップS903がYES、ステップS904がNOとなり、ステップS905において変数「階層」=2となる。これより、ステップS906において「3.1 要件A」が上記アウトライン機能上の上記木構造(ツリー構造)における2階層目(レベル2)に出力される。換言すれば、“アウトラインレベル”=“レベル2”を付加して“見出し”として「3.1 要件A」を出力する。   In the example of FIG. 3, since the next item of “3 Development requirement” is “3.1 Requirement A” in the second layer, YES in step S903, NO in step S904, and variable in step S905 “Hierarchy” = 2. As a result, “3.1 Requirement A” is output to the second hierarchy (level 2) in the tree structure (tree structure) on the outline function in step S906. In other words, “3.1 requirement A” is output as “heading” by adding “outline level” = “level 2”.

続いて、次の項目が「要件Aの構成1」であり、これは本文部32であるので、ステップS903はNOとなり、ステップS907によって本文部32(要件Aの構成1)がアウトライン機能上の“本文”として出力される。次とその次の項目である「要件Aの構成2」、「要件Aの構成3」に関しても、略同様に、ステップS907によってアウトライン機能上の“本文”として出力される。   Subsequently, since the next item is “Configuration 1 of requirement A”, which is the text portion 32, step S903 is NO, and the text portion 32 (configuration 1 of requirement A) is on the outline function in step S907. Output as “text”. The next and subsequent items “Configuration 2 of Requirement A” and “Configuration 3 of Requirement A” are also output as “text” on the outline function in step S907.

そして、さらに次の項目が2階層目にある「3.1 要件B」であるので、上記ステップS903はYESとなり、更に現状では変数「階層」=2となっていることからステップS904はYESとなる。これより、階層を変更することなく、ステップS906の処理を行うことになる。よって、ステップS906において「3.1 要件B」が上記アウトライン機能上の上記木構造(ツリー構造)における2階層目(レベル2)に出力される。   Since the next item is “3.1 Requirement B” in the second hierarchy, step S903 is YES, and since the variable “hierarchy” = 2 at present, step S904 is YES. Become. Thus, the process of step S906 is performed without changing the hierarchy. Therefore, in step S906, “3.1 requirement B” is output to the second hierarchy (level 2) in the tree structure (tree structure) on the outline function.

以上、全ての項目について上記処理を実行したら、ユーザが文書5aの内容をワードプロセッサ(例えばMicrosoft Word)で編集できるようになり(換言すれば、支援装置1を使用しなくても編集できるようになり)、特に上記下位側文書として雛形が生成されている文書5aに対して、ユーザが任意の情報を入力することで、文書を完成させることができる。   As described above, when the above processing is executed for all items, the user can edit the contents of the document 5a with a word processor (for example, Microsoft Word) (in other words, the user can edit without using the support device 1). In particular, the user can complete the document by inputting arbitrary information to the document 5a in which the template is generated as the lower document.

そして、上記の様にワードプロセッサ(例えばMicrosoft Word)上で完成させた文書を、文書入力部7によって元の形式に戻して文書格納部5に格納することになる。
尚、この例に限らず、ユーザは、(外部出力せずに)支援装置1を使用して、文書5aの内容を編集して文書を完成させるようにしてもよい。
Then, the document completed on the word processor (for example, Microsoft Word) as described above is returned to the original format by the document input unit 7 and stored in the document storage unit 5.
The user is not limited to this example, and the user may use the support device 1 (without external output) to edit the content of the document 5a to complete the document.

尚、上記関連一覧表に関しても、上記のように外部出力した後、ユーザによる上記文書の編集内容(例えば章の追加/削除等)に合わせて、ユーザが適宜編集/修正等してもよい。   Note that the related list may also be appropriately edited / modified by the user according to the editing contents of the document by the user (for example, addition / deletion of chapters) after the external output as described above.

以下、文書入力部7による処理について説明する。
これについては、フローチャート図等を示すことなく説明するものとする。
文書入力部7では、上記外部出力された(または出力後に編集などされた)文書の取り込みを行う。主な用途としては、文書出力部6で出力した文書、一覧表等を外部で編集し、再び取り込むような場合が想定されるが、この例に限らない。
Hereinafter, processing by the document input unit 7 will be described.
This will be described without showing a flowchart or the like.
The document input unit 7 takes in the document output externally (or edited after output). As a main application, it is assumed that documents, lists, etc. output by the document output unit 6 are edited externally and imported again. However, the present invention is not limited to this example.

これは、例えば上記図10の処理において「階層」と「アウトラインレベル」とを逆にしたような処理と見做してよい。
すなわち、取り込み対象の文書が例えばワードのアウトライン機能による文書の場合には、各データ毎に“見出し”や“本文”等の種別が付与されると共に、“見出し”の場合には所謂“アウトラインレベル”によって階層管理されている。これより、“見出し”の場合には“アウトラインレベル”によって階層を認識しながらデータをタイトル部31として取り込み、“本文”の場合にはデータを本文部32として取り込むようにしてもよい。
This may be regarded as, for example, processing in which “hierarchy” and “outline level” are reversed in the processing of FIG.
That is, when the document to be imported is, for example, a document with a word outline function, a type such as “headline” or “body” is assigned to each data, and in the case of “headline”, the so-called “outline level” "Is hierarchically managed. Thus, in the case of “Heading”, the data may be taken in as the title part 31 while recognizing the hierarchy by the “outline level”, and in the case of “Body”, the data may be taken in as the body part 32.

但し、これだけでは不十分であり、リンク情報を生成する必要がある。すなわち、取り込みが完了した後に、関連一覧表の対応関係を参照して、取り込んだ文書とそれ以外の文書の対応関係を識別し、リンク情報を作り直す必要がある。   However, this is not sufficient, and link information needs to be generated. That is, after the import is completed, it is necessary to refer to the correspondence relationship in the related list, identify the correspondence relationship between the imported document and other documents, and regenerate the link information.

例えば、「設計書」において上記外部で編集作業が行われた為に新たに「4.1.1.4」章が追加された場合、図6に示す旧リンク情報の代わりに、新たなリンク情報を生成する必要がある。この新たなリンク情報は、特に図示しないが、図6のリンク情報における「3.1−3,4.1.1.3」と「3.2,4.1.2」との間の行に新たに「3.1−4,4.1.1.4」が追加された内容となる。   For example, when the chapter “4.1.1.4” is newly added due to the above-mentioned external editing work in the “design document”, a new link is used instead of the old link information shown in FIG. Information needs to be generated. Although this new link information is not particularly shown, the line between “3.1-3, 4.1.1.3” and “3.2, 4.1.2” in the link information of FIG. "3.1-4, 4.1.1.4" is newly added.

尚、この編集に伴って、上記外部出力された関連一覧表は、例えば編集作業者によって修正されているものとする。すなわち、図9の例においては「要求仕様書」における“3.1”に対しては、「設計書」における「4.1.1.1」、「4.1.1.2」、及び「4.1.1.3」が対応付けられていたが、更に、「4.1.1.4」も対応付けられるものとなる。   It is assumed that the externally output related list accompanying the editing is corrected by an editing operator, for example. In other words, in the example of FIG. 9, “3.1” in “Requirement specification”, “4.1.1.1”, “4.1.1.2” in “Design document”, and Although “4.1.1.3” is associated, “4.1.1.4” is also associated.

上記関連一覧表からリンク情報を生成する処理を、上記「要求仕様書」と「設計書」を例にして説明するならば、まず、対応関係が1対1であるか否かを判定する。上記の例では、“3.1”に対して、「4.1.1.1」、「4.1.1.2」・・・等が対応付けられているので、対応関係は1対1ではない(1対複数である)ことになる。よって、この場合には、複数側(「4.1.1.1」等)は全てそのまま出力する。一方、単数側(“3.1”)は、所定のルールに従って例えば「3.1−m」(m=1,2,3、・・・)を生成して、これらを上記複数側にそれぞれ対応付ける。これより、図6における「3.1−1,4.1.1.1」、「3.1−2,4.1.1.2」、「3.1−3,4.1.1.3」の部分が生成されると共に更に「3.1−4,4.1.1.4」が追加されることになる。   If the process of generating link information from the association list is described using the “required specification” and “design document” as an example, it is first determined whether or not the correspondence is one-to-one. In the above example, “3.1.1.1”, “4.1.1.2”, etc. are associated with “3.1”. It is not 1 (one to plural). Therefore, in this case, all the plural sides (“4.1.1.1”, etc.) are output as they are. On the other hand, the singular side (“3.1”) generates, for example, “3.1-m” (m = 1, 2, 3,...) According to a predetermined rule, Associate. Accordingly, “3.1-1, 4.1.1.1”, “3.1-2, 4.1.1.2”, “3.1-3, 4.1.1” in FIG. .3 "is generated and" 3.1-4, 4.1.1.4 "is added.

更に、“3.1”自身に対しては、「4.1.1.1」、「4.1.1.2」・・・等の1つ上の階層の章番号を対応付ける。章番号の規則性から考えて、当然、これら「4.1.1.1」等の1つ上の階層の章番号は「4.1.1」であるので、“3.1”に対しては「4.1.1」を対応付ける。これより、図6における「3.1,4.1.1」の部分が生成されることになる。   Further, “3.1” itself is associated with the chapter number of the next higher level such as “4.1.1.1”, “4.1.1.2”, and so on. Considering the regularity of chapter numbers, naturally, the chapter number of the layer one level higher than “4.1.1.1” is “4.1.1”, so “3.1” Is associated with “4.1.1”. As a result, “3.1, 4.1.1” in FIG. 6 is generated.

その後は、「要求仕様書」と「設計書」の両方で更に1つ上の階層の章番号を上記章番号の規則性に従って生成して、相互に対応付ける処理を行っていく。“3.1”の1つ上は‘3’であり、「4.1.1」の1つ上は「4.1」となるので、これより図6における「3,4.1」の部分が生成されることになる。これを例えば最上位階層の対応付けを行うまで繰り返す。   After that, the chapter numbers of the next higher hierarchy are generated according to the regularity of the chapter numbers in both the “required specification” and the “design document”, and the corresponding processing is performed. One above “3.1” is “3”, and one above “4.1.1” is “4.1”, so that “3, 4.1” in FIG. A part will be generated. This is repeated until, for example, the highest hierarchy is associated.

他も略同様にして生成できるので、上記関連一覧表から各リンク情報を生成できる。
尚、上記文書入力部7による処理は、上述した一例に限らない。例えば、取り込み対象の文書が、上記「アウトラインレベル」のような階層情報や、“見出し”や“本文”等の種別が付与されていない文書であった場合、例えば下記のようにして文書と取り込むようにしてもよい。
Others can be generated in substantially the same manner, so that each link information can be generated from the related list.
Note that the processing by the document input unit 7 is not limited to the above-described example. For example, if the document to be imported is a document to which hierarchical information such as “outline level” or a type such as “heading” or “body” is not assigned, the document is imported as follows, for example. You may do it.

すなわち、例えば、取り込み対象の文書を順次スキャンし、タイトル部として識別できるデータの場合には、タイトル部31として取り込み、それ以外の場合には、本文部32として取り込む。例えば、先頭部分が数字である場合にはタイトル部であると判定すればよい(但し、この場合、例えばユーザに対する本文部32の記述ルールとして「最初の文字は数字以外とする」等のルールを、予め設けておくことが望ましい)。そして、任意のデータをタイトル部31として取り込む場合には、その先頭部分の数字(3.1,3.1.1,3.1.1.1のような数字;章番号)に応じて、階層を判定し、判定した階層のデータとして当該データを取り込む。階層の判定方法は、例えば章番号における‘.’の数に応じて、例えば「階層=‘.’の数+1」等とすればよい。この場合、上記3.1は階層2,3.1.1は階層3,3.1.1.1は階層4と判定されることになり、また‘3’の場合には‘.’が1つもないので階層1と判定されることになる。   That is, for example, a document to be imported is sequentially scanned, and if it is data that can be identified as a title part, it is taken in as a title part 31, and in other cases, it is taken in as a body part 32. For example, if the first part is a number, it may be determined that it is a title part (however, in this case, for example, a rule such as “the first character is not a number” is used as a description rule of the body part 32 for the user) , Preferably in advance). And when taking in arbitrary data as a title part 31, a hierarchy is determined according to the number of the head part (numbers like 3.1, 3.1.1, 3.1.1.1; chapter number), and the determined hierarchy The data is taken in as data. The method of determining the hierarchy is, for example, '. Depending on the number of ', for example, "hierarchy = number of'. '+ 1" may be set. In this case, it is determined that the above-mentioned 3.1 is level 2, 3.1.1 is level 3, 3.1.1.1 is level 4, and in the case of '3', '. Since there is no ', the layer 1 is determined.

尚、章番号は、所定の規則性(1,2,3・・・というように1から順番の番号となる)があるので、例えば階層2を例にすると、3.1、3.2、3.3の後が3.5等となることはあり得ないことになる。これより、上記データをタイトル部31として取り込む際に、上記規則性に従ったチェックを行い、この規則性に違反するような章番号(上記3.3の後の3.5等)が現れたときは、エラーを出力し、処理を中止するようにしてもよい。   Note that chapter numbers have a predetermined regularity (numbers from 1, such as 1, 2, 3...). It will never be 3.5 mag. As a result, when the data is imported as the title part 31, a check is performed in accordance with the regularity, and a chapter number (3.5 after 3.3, etc.) that violates the regularity appears. In such a case, an error may be output and the process may be stopped.

図11は、本例の要件管理支援装置1のディスプレイ装置12に表示される画面の例である。
図示のように、画面50の上部には、主要な機能を実行するための命令ボタン群51が配置されている(「ひな形生成」、「文書出力」、「文書取込」、「一覧表生成」など)。また、これら命令ボタン群51の下の領域52は、各文書のデータを切替え表示できるように、タブにより画面が切り替えられるようになっている。図では「要求仕様書」を表示させている状態を示している。尚、当然、単に表示させるだけでなく、ユーザが任意のデータを入力して文書を編集することもできる。
FIG. 11 is an example of a screen displayed on the display device 12 of the requirement management support apparatus 1 of this example.
As shown in the figure, an instruction button group 51 for executing main functions is arranged on the upper part of the screen 50 (“model generation”, “document output”, “document capture”, “list”). Generation "). In the area 52 below the command button group 51, the screen can be switched by tabs so that the data of each document can be switched and displayed. In the figure, the “required specification” is displayed. Of course, not only the display but also the user can input arbitrary data to edit the document.

更に図示のようにタブのなかには仕様書等の文書名だけでなく「一覧表」も示されており、これを選択すると上記図9などに示す関連一覧表が表示される。尚、文書の数は階層の数に応じて変更できる。   Further, as shown in the figure, not only the names of documents such as specifications but also “list” is shown in the tab, and when this is selected, the related list shown in FIG. 9 and the like is displayed. The number of documents can be changed according to the number of layers.

図11に示す画面上でのユーザ操作例は、例えば下記の通りである。
ユーザは、例えば最初に要求仕様書を記述する。これは、元になる文書がないので、直接図11の画面上で記入するか、もしくは、章構成を記述した外部ファイルとして作成し、「文書取込」ボタンを押して取り込む。
Examples of user operations on the screen shown in FIG. 11 are as follows, for example.
For example, the user first describes a requirement specification. Since there is no original document, it is entered directly on the screen of FIG. 11 or created as an external file describing the chapter structure, and is imported by pressing the “document import” button.

上記のようにして要求仕様書を作成したら、次に、「ひな形生成」ボタンを押して、ひな形文書を自動生成させる。これは、「ひな形生成」ボタンを押すことで例えば図12に示すようなポップアップ画面が表示される。ユーザは、図12の画面上で、生成元文書、生成先文書や基点を任意に指定したうえで、「生成」ボタンを押すことで、生成先文書のひな形が自動的に生成されることになる。本例では、作成済みの文書は要求仕様書のみであるので、生成元文書は要求仕様書とする以外にないことになる。図示の例では、要求仕様書に基づいて設計書のひな形が自動的に生成されることになる。   Once the requirement specifications are created as described above, a “model generation” button is pressed to automatically generate a model document. For example, a pop-up screen as shown in FIG. The user can specify a generation source document, a generation destination document, and a base point on the screen of FIG. 12 and then press the “Generate” button to automatically generate a template of the generation destination document. become. In this example, since the created document is only the requirement specification, the generation source document is not limited to the requirement specification. In the illustrated example, a design document template is automatically generated based on the requirement specifications.

そして、設計書のひな形が自動生成された後、ユーザが上記図11の画面50において「設計書」タブを指定することで、上記領域52には設計書のひな形データが表示されることになる。ユーザは、このひな形に基づいて設計書を作成・完成させることになる。すなわち、例えば、ひな形において、タイトル部31に関しては、章番号が付与されており、タイトルの記述も行われている(生成元文書のコピー)ので、そのままで良ければそのままとし、そのままでは適当ではないと思うならば適宜修正を加えることになる。また、本文部32に関しては、上記の通り生成元文書のコピーが行われるが、これは特に必要なものではなく、基本的には必ずユーザによる記述が行われることになる。尚、本文部32の記述を行うときには、適宜、章の追加、削除を行いながら記述するものであってもよい。   Then, after the design document template is automatically generated, the user designates the “design document” tab on the screen 50 in FIG. 11, and the design document template data is displayed in the area 52. become. The user creates and completes a design document based on this template. That is, for example, in the template, a chapter number is assigned to the title portion 31 and the title is also described (copy of the original document). If you don't think so, you will need to make corrections accordingly. As for the body part 32, the generation source document is copied as described above. However, this is not particularly necessary, and basically the description by the user is always performed. In addition, when describing the text part 32, it may be described while adding and deleting chapters as appropriate.

また、編集の際には、章の追加・削除、文章の入力モードの切り替え(本文入力/タイトル入力)、タイトルの章の段を1つ上げる、1つ下げる、等といった命令群が、記述を行うためには必要であるが、これらは例えばキーボードからコマンド入力を行うことにより実現させればよい。あるいは、図11には示していないが、画面50上にこれらの命令に対応するボタンを配置しても良い。また、図11に示す画面50上では、3章のみ表示しているが、取り込み時には、3章以外の章も同時に取り込み、編集を行うことも可能である。   When editing, a group of commands such as adding / deleting chapters, switching the text input mode (text input / title input), raising the title chapter one level, lowering the level, etc. Although it is necessary to perform these, these may be realized by inputting a command from a keyboard, for example. Alternatively, although not shown in FIG. 11, buttons corresponding to these commands may be arranged on the screen 50. Further, although only three chapters are displayed on the screen 50 shown in FIG. 11, chapters other than chapter 3 can be simultaneously imported and edited at the time of importing.

図11の画面上では編集操作が煩雑な場合や、プリントアウトしたい場合には、文書を外部出力してから行う。外部で編集してから取り込みを行う場合には、一覧表を作成し、これも外部出力する。外部で章を追加・削除した場合には、一覧表も同様に編集することにより、再度取り込みを行う場合にも矛盾なく取り込むことが可能となる。   If the editing operation is complicated on the screen of FIG. 11 or if it is desired to print out, the document is output externally. When importing after editing externally, a list is created and also output externally. When chapters are added or deleted externally, the list can be edited in the same manner, so that it is possible to import without conflict even when importing again.

最後に、上記図9等に示した関連一覧表の生成処理について、図13のフローチャート図を参照して説明する。
尚、関連一覧表の生成処理の一例は、既に説明してあり、ここでは他の例について説明する。
Finally, the related list generation processing shown in FIG. 9 and the like will be described with reference to the flowchart of FIG.
Note that an example of the related list generation processing has already been described, and another example will be described here.

図13に示す処理は、全ての文書を対象にして(図9に示す例では6つの文書について)任意の2つの文書間の関連を抽出して記憶する処理となる(ステップS500a−500b間でループする処理)。これは、例えば、図6に示すような関連情報を参照して行うことになる。よって、この例でも図6に示すような関連情報(リンク情報)が存在する2つの文書が、処理対象となる。   The process shown in FIG. 13 is a process for extracting and storing the relationship between any two documents (for six documents in the example shown in FIG. 9) for all the documents (between steps S500a-500b). Looping process). This is performed with reference to related information as shown in FIG. 6, for example. Therefore, also in this example, two documents having related information (link information) as shown in FIG. 6 are processed.

例えば、一例としては、「要求仕様書」と「設計書」とが対応付けられ(図6に示す通り)、「要求仕様書」と「型式試験仕様書」とが対応付けられ、「設計書」と「詳細設計書」とが対応付けられ、「設計書」と「機能試験仕様書」とが対応付けられ、「詳細設計書」と「単体試験仕様書」とが対応付けられるが、これらの例に限らない。   For example, as an example, “required specification” and “design document” are associated (as shown in FIG. 6), “required specification” and “type test specification” are associated, and “design document” ”And“ detailed design document ”,“ design document ”and“ functional test specification ”, and“ detailed design document ”and“ unit test specification ”. It is not limited to the example.

まず、上記ステップS101と同様にユーザが任意の基点の指定を行う(ステップS501)。そして、入力された基点から順に、各項目(本例では章番号とするがこの例に限らない)を順次処理対象としてステップS503〜S505の処理(ステップS502a−s502b間のループ処理)を行うことになる。   First, as in step S101, the user designates an arbitrary base point (step S501). Then, in order from the input base point, the processing of steps S503 to S505 (loop processing between steps S502a to s502b) is performed for each item (in this example, the chapter number is not limited to this example) but is sequentially processed. become.

まず、処理対象項目が“本文”であるか否かを判定する(ステップS503)。これは例えば、章番号が存在しない項目は“本文”であると判定する。あるいは図6に示すような関連情報を参照する場合、末尾が“−番号”となっている場合には、“本文”であると判定する。   First, it is determined whether or not the processing target item is “text” (step S503). For example, an item having no chapter number is determined to be “text”. Alternatively, when referring to related information as shown in FIG. 6, if the end is “−number”, it is determined to be “text”.

もし、処理対象項目が“本文”ではない場合には(ステップS503,NO)、この処理対象項目(その章番号等)を例えばメモリの所定領域に上書き記憶する(ステップS504)。そして、ステップS502bにおいて全項目について処理済みか否かを判定して、未だであればステップS502aに戻り、次の項目を処理対象とする。   If the processing target item is not “text” (step S503, NO), the processing target item (its chapter number and the like) is overwritten and stored in a predetermined area of the memory, for example (step S504). In step S502b, it is determined whether all items have been processed. If not, the process returns to step S502a to set the next item as a processing target.

一方、処理対象項目が“本文”である場合には(ステップS503,YES)、上記メモリの所定領域に記憶してある項目(章番号等)を読み出して、これを例えば上記図9等に示した関連一覧表の該当箇所に登録する。更に、この読み出した項目に対応する項目を、この該当箇所に対応付けて登録する(ステップS505)。そして、上記ステップS502bへ移行する。   On the other hand, when the processing target item is “text” (step S503, YES), the item (chapter number, etc.) stored in the predetermined area of the memory is read out, and this is shown, for example, in FIG. Registered in the relevant section of the related list. Further, an item corresponding to the read item is registered in association with the corresponding portion (step S505). Then, the process proceeds to step S502b.

ここで、例えば一例として「要求仕様書」と「設計書」を例にし(「要求仕様書」と対応付け元、「設計書」を対応付け先とする)、「要求仕様書」の‘3’(3章)が基点に指定されたものとする。この例では、最初の処理対象項目は‘3’であるので、ステップS503はNOとなり‘3’が上記所定領域に記憶される。次の処理対象項目は‘3.1’であるので、今度もステップS503はNOとなり‘3.1’が上記所定領域に記憶される。   Here, for example, “requirement specification” and “design document” are taken as an example (“requirement specification” is associated with source and “design document” is associated with), and “requirement specification” is “3”. '(Chapter 3) is designated as the base point. In this example, since the first processing target item is “3”, step S503 is NO and “3” is stored in the predetermined area. Since the next processing target item is “3.1”, step S503 is NO again, and “3.1” is stored in the predetermined area.

次の処理対象項目は‘3.1−1’であるので、今度はステップS503はYESとなり、ステップS505の処理が実行される。これは本例では上記所定領域に記憶されている‘3.1’が、関連一覧表の該当箇所(本例では「要求仕様書」のフィールド)に格納されると共に、現在の処理対象項目である‘3.1−1’に対応する「設計書」の項目は、図6の例から‘4.1.1.1’であることが分かるので、これを上記該当箇所に対応付けて(本例では「設計書」のフィールド)に格納される。これより、図9に示すように、「要求仕様書」の‘3.1’に「設計書」の‘4.1.1.1’が対応付けられて登録される。   Since the next process target item is '3.1-1', step S503 is now YES, and the process of step S505 is executed. In this example, “3.1” stored in the predetermined area is stored in the relevant part of the related list (in this example, the field “required specification”), and the current processing target item is The item “design document” corresponding to a certain “3.1-1” is found to be “4.1.1.1” from the example of FIG. In this example, it is stored in the “design document” field). As a result, as shown in FIG. 9, “3.1.1.1” of “design document” is registered in association with “3.1” of “required specification”.

更に、次の処理対象項目は‘3.1−2’であるので、今度もステップS503はYESとなり、ステップS505の処理が実行されるが、上記所定領域の記憶内容に変化はないので(‘3.1’が記憶されたままである)、関連一覧表には図9に示すように、「要求仕様書」の‘3.1’に「設計書」の‘4.1.1.2’が対応付けられて登録されることになる。   Further, since the next processing target item is' 3.1-2 ', step S503 is again YES, and the processing of step S505 is executed. However, the stored content of the predetermined area has not changed (' 3.1 'is still stored), as shown in FIG. 9, in the related list, “3.1” of “Required Specification” is replaced with “4.1.1.2” of “Design Document”. Are registered in association with each other.

同様に、次の処理対象項目は‘3.1−3’であるので、今度もステップS503はYESとなり、ステップS505の処理が実行されるが、上記所定領域の記憶内容に変化はないので(‘3.1’が記憶されたままである)、関連一覧表には図9に示すように、「要求仕様書」の‘3.1’に「設計書」の‘4.1.1.3’が対応付けられて登録されることになる。   Similarly, since the next processing target item is '3.1-3', step S503 is again YES, and the processing of step S505 is executed, but the stored content of the predetermined area is not changed ( As shown in FIG. 9, “3.1” of “Requirements” is added to “4.1.1.3” of “Design”. 'Is associated and registered.

次の処理対象項目は‘3.2’であるので、今度はステップS503がNOとなり、上記所定領域には‘3.2’が上書きされる。
そして、次の処理対象項目は‘3.2−1’であるので、ステップS503はYESとなり、ステップS505の処理が実行される。このとき、上記所定領域には‘3.2’が記憶されているので、これより、関連一覧表には図9に示すように、「要求仕様書」の‘3.2’に「設計書」の‘4.1.2.1’が対応付けられて登録されることになる。
Since the next processing target item is “3.2”, step S503 is now NO, and “3.2” is overwritten in the predetermined area.
Since the next process target item is “3.2-1”, step S503 is YES, and the process of step S505 is executed. At this time, since “3.2” is stored in the predetermined area, as shown in FIG. 9, “design document” is added to “3.2” of “required specification”. "4.1.2.1" is registered in association with each other.

更に、次の処理対象項目は‘3.2−2’であるので、今度もステップS503はYESとなり、ステップS505の処理が実行されるが、上記所定領域の記憶内容に変化はないので(‘3.2’が記憶されたままである)、関連一覧表には図9に示すように、「要求仕様書」の‘3.2’に「設計書」の‘4.1.2.2’が対応付けられて登録されることになる。   Further, since the next processing target item is “3.2-2”, step S503 is again YES, and the processing of step S505 is executed. However, the stored content of the predetermined area is not changed (“ 3.2 'is still stored), as shown in FIG. 9, in the related list, “3.2” of “Required Specification” is changed to “4.1.2.2” of “Design Document”. Are registered in association with each other.

尚、後に、関連一覧表において同一項目は1つにまとめるようにしてもよい。これより、図9に示すように、上記3つの‘3.1’は1つにまとめられて、この‘3.1’に対して「設計書」の‘4.1.1.1’、‘4.1.1.2’、‘4.1.1.3’が対応付けられて登録された状態となる。同様に、上記2つの‘3.2’は1つにまとめられて、この‘3.2’に対して「設計書」の‘4.1.2.1’、‘4.1.2.2’が対応付けられて登録された状態となる。   Note that, later, the same items may be combined into one in the related list. Accordingly, as shown in FIG. 9, the above three '3.1' are combined into one, and '4.1.1.1' “4.1.1.2” and “4.1.1.3” are associated and registered. Similarly, the above two '3.2' are combined into one, and '3.1.2.1' and '4.1.2. 2 'is associated and registered.

尚、ユーザが処理開始前に処理対象の2つの文書の関係に応じたタイプ指定を行うことで、処理アルゴリズムが切り換わるようにしてもよい。例えば一例としては、処理対象の2つの文書の関係として、図5に示すようなタイプ(タイプAとする)と、図8に示すようなタイプ(タイプBとする)とがあるとした場合、ユーザがタイプAを指定すると上述した図13の処理が実行される。   Note that the processing algorithm may be switched by the user specifying the type according to the relationship between the two documents to be processed before starting the processing. For example, as an example, if there are two types of documents to be processed, the type shown in FIG. 5 (type A) and the type shown in FIG. 8 (type B), When the user designates type A, the above-described processing of FIG. 13 is executed.

一方、ユーザがタイプBを指定した場合にも、基本的には上述した図13の処理が実行されるが、一部、アルゴリズムが異なる部分がある。
すなわち、タイプBの場合、上記ステップS505において、もし対応付け先(本例では「設計書」)に登録すべき項目(本例では章番号)が無かった場合には、例えば直前の項目を出力するようにしてもよい。例えば図8に示す「要求仕様書」と「型式試験仕様書」の例の場合、「要求仕様書」の‘3.1−1’(すなわち本文)に対して「型式試験仕様書」側も本文となっているので、上記処理では関連一覧表において「要求仕様書」に関しては‘3.1’が登録されるが、「型式試験仕様書」にはこれに対応付けて登録すべき項目(本例では章番号)が無いことになる。この為、この場合には、直前の項目である‘2.1’を登録する。これより、図9に示すように、「要求仕様書」の‘3.1’に対して、「型式試験仕様書」は‘2.1’が登録されることになる。
On the other hand, even when the user designates type B, the processing of FIG. 13 described above is basically executed, but there are portions where the algorithm is different.
That is, in the case of type B, if there is no item (chapter number in this example) to be registered in the association destination (“design document” in this example) in step S505, for example, the previous item is output. You may make it do. For example, in the case of the “requirement specification” and “model test specification” shown in FIG. 8, the “model test specification” side is also the “3.1-1” (that is, the main text) of the “requirement specification”. In the above processing, “3.1” is registered for “required specification” in the related list in the above processing, but “model test specification” is an item to be registered in association with this ( In this example, there is no chapter number). Therefore, in this case, “2.1” which is the immediately preceding item is registered. As a result, as shown in FIG. 9, “2.1” is registered in the “type test specification” for “3.1” in the “required specification”.

以上説明したように、本例の要件管理支援装置1では、上位側の文書の章構成で規定される文書構成から、下位側の文書の章構成で規定される文書構成を導出し、これを下位側文書のひな形として提供する。その際、関連情報が生成されて登録するようにしてもよい。文書作成者は、このひな形に詳細な設計情報を入力することにより、文書として完成させる。   As described above, the requirement management support apparatus 1 of the present example derives the document structure defined by the chapter structure of the lower-order document from the document structure defined by the chapter structure of the higher-order document, Provided as a template for lower-level documents. At this time, related information may be generated and registered. The document creator completes the document by inputting detailed design information into the template.

また、変更等があったときに対応関係を維持するために、上記関連情報を一覧表の形で自動的に生成して、記憶/出力するようにしてもよい。
また、上記の文書や関連一覧表を、要件管理支援装置1の外部で、ワードプロセッサやエディタ、スプレッドシートなどで編集できるように、外部出力することもできる。その際、出力した文書には、文書構成の情報を付帯させ、文書の構成要素同士の関連は、関連一覧表で識別できるようにする。
Further, in order to maintain the correspondence when there is a change or the like, the related information may be automatically generated in the form of a list and stored / output.
In addition, the above-described documents and related lists can be externally output so that they can be edited outside the requirement management support apparatus 1 using a word processor, editor, spreadsheet, or the like. At that time, document configuration information is attached to the output document, and the relationship between the components of the document can be identified in the relationship list.

また、外部のワードプロセッサやエディタ、スプレッドシートなどで編集した、これらの文書や関連一覧表を要件管理支援装置に取り込み、データを維持するために、関連一覧表の情報を元に、文書の間の関連情報を自動的に生成するようにしてもよい。   In addition, these documents and related lists edited with an external word processor, editor, spreadsheet, etc. are imported into the requirement management support device, and in order to maintain the data, The related information may be automatically generated.

以上説明したように、本例の要件管理支援装置1によれば、上位側の文書の章構成で規定される文書構成から、下位側の文書の章構成で規定される文書構成を導出し、下位側文書のひな形として提供する。その際、上位側の文書の各項目と下位側の文書の各項目との関連情報(文書間の対応関係を示す情報;リンク情報)も、自動的に生成・付与される。文書作成者は、このひな形に詳細な設計情報を入力することにより、文書として完成させる。   As described above, according to the requirement management support apparatus 1 of the present example, the document structure defined by the chapter structure of the lower-order document is derived from the document structure defined by the chapter structure of the higher-order document, Provided as a template for lower-level documents. At this time, related information (information indicating the correspondence between documents; link information) between each item of the higher-order document and each item of the lower-order document is automatically generated and assigned. The document creator completes the document by inputting detailed design information into the template.

また、文書内容に変更等があった場合でも文書間の対応関係を維持できるようにするために、上記関連情報を一覧表の形で、自動的に生成・出力する。
また、これらの文書や一覧表を、要件管理支援装置1の外部で、ワードプロセッサやエディタ、スプレッドシートなどで編集できるように、外部出力する。その際、出力した文書には、文書構成の情報(階層等)を付帯させる。更に、上記一覧表も一緒に出力して、文書の構成要素同士の関連は、一覧表で識別できるようにする。
In addition, the related information is automatically generated and output in the form of a list so that the correspondence between documents can be maintained even when the document content is changed.
Also, these documents and lists are output externally so that they can be edited by a word processor, editor, spreadsheet, etc. outside the requirement management support apparatus 1. At that time, document structure information (hierarchy, etc.) is attached to the output document. Further, the list is output together so that the relationship between the document components can be identified in the list.

また、上記のように要件管理支援装置1の外部へ出力した文書を、ユーザがワードプロセッサやエディタ、スプレッドシートなどで任意に自由に編集した場合、編集後の文書に応じて一覧表も編集した後、これらの編集後の文書や一覧表を、再び要件管理支援装置1に取り込むようにしてもよい。その際、一覧表の情報を元に、文書の間の関連情報(リンク情報)を自動的に生成する。   In addition, when a user arbitrarily edits a document output to the outside of the requirement management support apparatus 1 as described above using a word processor, editor, spreadsheet, or the like, after editing a list according to the edited document These edited documents and lists may be taken into the requirement management support apparatus 1 again. At this time, related information (link information) between documents is automatically generated based on the information in the list.

本例の要件管理支援装置1によれば、章番号が付与され相互に関連し得る複数の文書の生成、文書間の各項目間のリンク付けを、より効率的に行えると共に項目漏れの防止もできる。上記複数の文書を作成する際に、例えば1つの文書を作成すれば、他の文書に関しては、当該作成済みの文書に基づいてひな形を作成すると共にリンク付けも自動的に行われる。よって、他の文書に関しては、特に文書の新規作成時に、効率よく文書作成を行えると共に、他の文書との関連情報(リンク情報)により管理された文書が自動的に作成されることになる。   According to the requirement management support apparatus 1 of the present example, generation of a plurality of documents that can be associated with each other with chapter numbers and links between items between documents can be performed more efficiently and item leakage can be prevented. it can. When creating the plurality of documents, for example, if one document is created, for other documents, a template is created based on the created document and linking is automatically performed. Therefore, with respect to other documents, particularly when a new document is created, the document can be efficiently created, and a document managed based on related information (link information) with the other document is automatically created.

特に章番号が付与される複数の文書であって相互に関連する複数の文書に関して、上位側の文書に基づいて下位側の文書の章番号やタイトル名等を自動的に付与することができ、また関連する章同士をリンク付けでき、以って変更があった場合にも効率的に維持管理することができる。更に、項目漏れ、リンク付け漏れ等のミスも防止できる。   Especially for multiple documents that are assigned chapter numbers and are related to each other, chapter numbers and title names of lower-level documents can be automatically assigned based on higher-level documents. In addition, related chapters can be linked to each other, so that even if there is a change, it can be efficiently maintained. In addition, it is possible to prevent mistakes such as item leakage and link leakage.

上記複数の文書がソフトウェアの設計に係る各種文書である場合には、正しいソフトウェアを効率良く製作することができるようになる。   When the plurality of documents are various documents related to software design, correct software can be produced efficiently.

1 要件管理支援装置
2 上位側文書解析部
3 下位側文書生成部
4 関連情報生成部
5 文書格納部
5a 文書
5b 関連情報
6 文書出力部
7 文書入力部
8 関連情報解析部
10 端末(パソコン)
11 主記憶装置
12 ディスプレイ装置
13 補助記憶装置
14 入力装置
15 バス
16 演算装置
21 上位側文書
22 下位側文書
23 関連情報
31 タイトル部
32 本文部
41 文書識別部
42 章構成対応部
50 画面
51 命令ボタン群
52 領域
DESCRIPTION OF SYMBOLS 1 Requirements management support apparatus 2 Upper document analysis part 3 Lower document generation part 4 Related information generation part 5 Document storage part 5a Document 5b Related information 6 Document output part 7 Document input part 8 Related information analysis part 10 Terminal (personal computer)
11 Main storage device 12 Display device 13 Auxiliary storage device 14 Input device 15 Bus 16 Computing device 21 Upper document 22 Lower document 23 Related information 31 Title portion 32 Body portion 41 Document identification portion 42 Chapter configuration corresponding portion 50 Screen 51 Command button Group 52 area

Claims (5)

各々が章番号を有する文書であって相互に関連し得る複数の文書の作成を支援する装置であって、
任意の1以上の前記文書を任意に作成させる文書作成支援手段と、
前記作成された文書の何れか1つを上位側文書とし、該上位側文書に基づいて、該上位側文書に関連する他の文書としての下位側文書のひな形を生成するひな形生成手段と、
前記上位側文書の各項目と下位側文書のひな形の各項目との関連を示す関連情報を生成する関連情報生成手段とを有し、
前記ひな形生成手段は、任意に設定される基点となる章番号と前記上位側文書の章構成で規定される文書構成に基づいて、前記下位側文書の章構成で規定される文書構成として該下位側文書の章番号、タイトル名を導出することで、該下位側文書のひな形を生成し、
前記文書作成支援手段は、前記ひな形に基づく前記下位側文書の作成を支援することを特徴とする要件管理支援装置。
A device that supports creation of a plurality of documents, each of which has a chapter number and can be related to each other,
Document creation support means for arbitrarily creating any one or more of the documents;
One of the created documents is set as a high-order document, and based on the high-order document, a template generation means for generating a model of a low-order document as another document related to the high-order document; ,
Related information generating means for generating related information indicating the relationship between each item of the higher-order document and each item of the model of the lower-order document;
The template generation unit is configured to generate a document structure defined by the chapter structure of the lower-order document based on a chapter number as an arbitrarily set base point and a document structure defined by the chapter structure of the higher-order document. By deriving the chapter number and title name of the lower document, a template of the lower document is generated,
The requirement creation support apparatus, wherein the document creation support means supports creation of the lower-order document based on the template.
前記上位側文書−下位側文書間の関連情報に基づいて、前記各文書間の各項目間の関連を示す関連一覧表を生成する関連一覧表生成手段を更に有することを特徴とする請求項1記載の要件管理支援装置。   2. A related list generating unit that generates a related list that indicates a relationship between items of each document based on the related information between the upper document and the lower document. The requirement management support apparatus described. 前記文書作成支援手段で生成された文書を、その文書構成を保ちながら外部出力する文書出力手段を更に有することを特徴とする請求項1に記載の要件管理支援装置。   The requirement management support apparatus according to claim 1, further comprising a document output unit that outputs the document generated by the document creation support unit to the outside while maintaining the document configuration. 外部の任意の文書形式で生成された任意の文書を、前記章構成で規定される文書構成の文書に変換して入力すると共に、該入力文書の各項目と前記生成されている他の文書の各項目との関連を示す関連情報を生成する文書入力手段を更に有することを特徴とする請求項1に記載の要件管理支援装置。   An arbitrary document generated in an external arbitrary document format is converted and input to a document having a document structure defined by the chapter structure, and each item of the input document and other generated documents are The requirement management support apparatus according to claim 1, further comprising a document input unit that generates related information indicating a relationship with each item. 前記文書は設計文書であることを特徴とする請求項1〜4の何れかに記載の要件管理支援装置。 Requirements management support apparatus according to claim 1, wherein the document is a design document.
JP2011153060A 2011-07-11 2011-07-11 Requirements management support device Active JP5747698B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011153060A JP5747698B2 (en) 2011-07-11 2011-07-11 Requirements management support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011153060A JP5747698B2 (en) 2011-07-11 2011-07-11 Requirements management support device

Publications (2)

Publication Number Publication Date
JP2013020437A JP2013020437A (en) 2013-01-31
JP5747698B2 true JP5747698B2 (en) 2015-07-15

Family

ID=47691812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011153060A Active JP5747698B2 (en) 2011-07-11 2011-07-11 Requirements management support device

Country Status (1)

Country Link
JP (1) JP5747698B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015005163A (en) * 2013-06-21 2015-01-08 三菱電機株式会社 Specification creation device, and program
JP6052801B2 (en) 2013-07-31 2016-12-27 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation System, method and program for associating description items between documents
JP6292190B2 (en) 2015-08-04 2018-03-14 コニカミノルタ株式会社 Document association apparatus, document association system, and program
JP6869055B2 (en) * 2017-03-03 2021-05-12 三菱電機株式会社 Evaluation support device and evaluation support program
WO2021234798A1 (en) * 2020-05-18 2021-11-25 日本電信電話株式会社 Generation device, generation method, and generation program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096604A (en) * 1995-06-14 1997-01-10 Mitsubishi Electric Corp Test specification generation support device
JPH10105390A (en) * 1996-09-26 1998-04-24 Nec Corp Inter-specifications cross-reference table
JP5125347B2 (en) * 2007-09-20 2013-01-23 富士電機株式会社 Software development support device

Also Published As

Publication number Publication date
JP2013020437A (en) 2013-01-31

Similar Documents

Publication Publication Date Title
CN108762743B (en) Data table operation code generation method and device
US20100005049A1 (en) Information extraction rule making support system, information extraction rule making support method, and information extraction rule making support program
US7720814B2 (en) Repopulating a database with document content
JP5747698B2 (en) Requirements management support device
Gómez et al. An approach to the co-creation of models and metamodels in Enterprise Architecture Projects.
JP2014197278A (en) Operation work flow creation support method and operation work flow creation support system
JP2013182410A (en) Business analysis design support device, business analysis design support method, and business analysis design support program
TWM543395U (en) Translation assistance system
JP2004094487A (en) Support system for preparing document
JP2006277127A (en) Method for comparing correction program
CN104484156A (en) Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula
US20080270985A1 (en) Database application assembly and preparation
US20070220439A1 (en) Information Management Device
JP5504212B2 (en) Test case automatic generation system, test case automatic generation method, and test case automatic generation program
JP6993573B2 (en) Program analysis method, program analysis device and program analysis program
JP3345522B2 (en) Program development support device using data item parts
JP2998674B2 (en) Document creation support device for design work
JP2008015879A (en) Method, program and system for supporting description of specification including natural sentence
JP2010134725A (en) Automatic creation device for control model
JP2008009678A (en) Logic diagram display method, program, and device
JP6475288B2 (en) Program comparison method, program comparison device, and program comparison program
JP2007047971A (en) Individual program generation device and method
JP2006293891A (en) Property conversion apparatus
JP2007115071A (en) Test support system
JP3824468B2 (en) Data management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150313

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: 20150414

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150427

R150 Certificate of patent or registration of utility model

Ref document number: 5747698

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250