JP6705993B2 - Information processing apparatus, information processing apparatus control method, and program - Google Patents
Information processing apparatus, information processing apparatus control method, and program Download PDFInfo
- Publication number
- JP6705993B2 JP6705993B2 JP2018089472A JP2018089472A JP6705993B2 JP 6705993 B2 JP6705993 B2 JP 6705993B2 JP 2018089472 A JP2018089472 A JP 2018089472A JP 2018089472 A JP2018089472 A JP 2018089472A JP 6705993 B2 JP6705993 B2 JP 6705993B2
- Authority
- JP
- Japan
- Prior art keywords
- definition
- information
- document
- data model
- information processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、情報処理装置、情報処理装置の制御方法、及びプログラムに関し、特に、アプリケーションの構築に用いられる定義情報にかかるドキュメントの参照を容易にすることが可能な仕組みに関する。 The present invention relates to an information processing apparatus, a method for controlling the information processing apparatus, and a program, and more particularly to a mechanism capable of facilitating reference to a document relating to definition information used for building an application.
従来から、入出力定義やデータモデル定義などを設定し、Webアプリケーションのプログラムを動的に生成するWebアプリケーション技術が存在する。 2. Description of the Related Art Conventionally, there has been a web application technology that dynamically sets a web application program by setting input/output definitions, data model definitions, and the like.
例えば、特許文献1には、Webアプリケーションのプログラムを動的に生成する技術において、GUIレイアウト画面と呼ばれるレイアウトエディタを用いて、Webアプリケーションの画面の入力項目(検索条件テキストボックスや検索ボタン等)及び出力項目(検索結果等)の配置レイアウト及び属性を定義し、その入出力定義情報に基づいてWebアプリケーションのプログラムを生成する仕組みが示されている。
For example, in
ところで、Webアプリケーションの設計書は、一般的に扱うデータに関するもの(データモデル定義)、データを処理するロジックに関するもの(ビジネスプロセス定義)、データを入力・出力する画面に関するもの(入出力定義)の3つに大別されるが、データ、ロジック、画面は互いに連携していることが一般的で、読み手はそれらの情報を都度確認しながら読み進めることが多い。 By the way, design documents for Web applications are generally related to data to be handled (data model definition), logic to process data (business process definition), and data input/output screen (input/output definition). Although roughly divided into three, data, logic, and screens are generally linked to each other, and the reader often reads them while checking the information each time.
例えば、ロジックに関する設計書を読んでいる場合には、ロジックが処理しようとしているデータ構造に含まれる情報について調べたいとき、関連するドキュメントを参照する必要がある。 For example, if you are reading a design book about logic and want to find out about the information contained in the data structure that the logic is trying to process, you need to refer to the relevant documentation.
その場合に、従来は、「XXドキュメントのXXを参照」といった内容を備考欄に注釈で記述するといった対応がされているのみであり、参照すべきドキュメントの内容を確認する場合、Webアプリケーションのプログラム生成するツールにて対応する画面を探し、その画面で設定した定義等を確認しなければならず困難な作業を伴うことが発生する。 In that case, conventionally, the content of “refer to XX of XX document” is only described in the remarks column by a comment, and when confirming the content of the document to be referred, the program of the Web application is used. It is necessary to find the corresponding screen with the tool to be created and confirm the definition etc. set on the screen, which may cause difficult work.
また、参照先の変更が発生した場合に、注釈の内容(参照先)が正しいかをチェックしなおす手間が発生していた。 Further, when the reference destination is changed, it is necessary to recheck whether the content of the annotation (reference destination) is correct.
本発明は、アプリケーションの構築に用いられる定義情報にかかるドキュメントの参照を容易にする仕組みを提供することを目的とする。 An object of the present invention is to provide a mechanism for facilitating the reference of a document related to definition information used for building an application.
本発明は、アプリケーションを構築する情報処理装置であって、前記アプリケーションの構築に用いられる定義情報に従ってドキュメントを生成するドキュメント生成手段と、前記定義情報に含まれる識別情報に基づき、前記ドキュメント生成手段により生成されるドキュメントに対応する他のドキュメントを特定する特定手段と、前記ドキュメント生成手段により生成されるドキュメントを、前記特定手段で特定された前記他のドキュメントにリンクさせるためのリンク情報を生成するリンク情報生成手段とを備えることを特徴とする。 The present invention is an information processing apparatus for building an application, the document creating means for creating a document according to definition information used for building the application, and the document creating means based on identification information included in the definition information. Specifying means for specifying another document corresponding to the generated document, and a link for generating link information for linking the document generated by the document generating means to the other document specified by the specifying means. And an information generating unit.
また、本発明は、アプリケーションを構築する情報処理装置の制御方法であって、前記情報処理装置のドキュメント生成手段が、前記アプリケーションの構築に用いられる定義情報に従ってドキュメントを生成するドキュメント生成工程と、前記情報処理装置の特定手段が、前記定義情報に含まれる識別情報に基づき、前記ドキュメント生成工程で生成するドキュメントに対応する他のドキュメントを特定する特定工程と、前記情報処理装置のリンク情報生成手段が、前記ドキュメント生成工程で生成するドキュメントを、前記特定工程で特定した前記他のドキュメントにリンクさせるためのリンク情報を生成するリンク情報生成工程とを備えることを特徴とする。 Further, the present invention is a method of controlling an information processing apparatus for building an application, wherein the document creating means of the information processing apparatus creates a document according to definition information used for building the application, and The specifying means of the information processing device specifies the other document corresponding to the document generated in the document generating step based on the identification information included in the definition information, and the link information generating means of the information processing device. A link information generating step of generating link information for linking the document generated in the document generating step to the other document specified in the specifying step.
本発明によると、アプリケーションの構築に用いられる定義情報にかかるドキュメントの参照を容易にすることができる。
According to the present invention, it is possible to easily refer to a document related to definition information used for building an application.
以下、図面を参照して、本発明の実施形態を詳細に説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載した構成の具体的な実施形態の1つである。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, the embodiment described below shows an example of a case where the present invention is specifically implemented, and is one of the specific embodiments of the configuration described in the claims.
図1は、本発明に係る情報処理装置(開発者がWebアプリケーション構築のために操作する情報処理装置)、アプリケーションサーバ、データベースサーバ、アプリケーションクライアントの構成の一例を示すシステム(情報処理システム)構成図である。 FIG. 1 is a system (information processing system) configuration diagram showing an example of configurations of an information processing apparatus (an information processing apparatus operated by a developer for building a Web application), an application server, a database server, and an application client according to the present invention. Is.
情報処理装置101は、開発者の操作に従って画面レイアウト及びデータベース操作指示などを定義する。情報処理装置101は、プログラム生成、アプリケーション生成(構築)を行う。
The
なお、本実施形態においては、情報処理装置101で構築するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションやその他の装置に組み込まれるソフトウェア等、Webアプリケーション以外の形式のアプリケーションであってもよい。
In addition, in the present embodiment, the application constructed by the
また、本実施形態においては、情報処理装置101はアプリケーションのプログラムを生成するとしたが、この方法に限定するものではなく、プログラムを生成することなく、アプリケーションサーバ102やクラウド環境等でアプリケーションが動作する様にアプリケーション環境を構築する等であってもよい。
Further, in this embodiment, the
アプリケーションサーバ102は、情報処理装置101によって構築されたアプリケーションを実行する。また、データベースサーバ103と接続して動作することが可能である。
The
データベースサーバ103は、構築されたアプリケーションが利用するデータベースであり、また本発明ではアプリケーション構築時やアプリケーションのテスト実行時に動作確認等のために利用するとしてもよい。例えば、開発者が利用するためにデータベースサーバ103は、情報処理装置101やアプリケーションサーバ102と同一の装置として構成されていてもよいし、LANなどのネットワーク105内に配置されてもよい。
The
アプリケーションクライアント104(アプリケーションのエンドユーザが使用する情報処理装置)は、アプリケーションサーバ102にアクセスし、アプリケーションを動作させる。なお、このアプリケーションクライアント104は、ノートPC・携帯電話・スマートフォン・タブレットなどの携帯端末であってもよい。
The application client 104 (information processing device used by the end user of the application) accesses the
また、情報処理装置101、アプリケーションサーバ102、データベースサーバ103及びアプリケーションクライアント104の何れかを、クラウドなどのインターネット環境に配置するとしてもよい。
Further, any one of the
図2は、本発明に係わる情報処理装置101、アプリケーションサーバ102、データベースサーバ103、アプリケーションクライアント104、アプリケーションサーバ102、Webサーバ106として適用可能な各ハードウェア構成の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
In FIG. 2, the
また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。
Further, the
RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。
The
入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
The
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The
外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
The
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
The communication I/
本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
The
図3は、本発明の実施形態における情報処理装置101の機能構成を示すブロック図の一例である。
FIG. 3 is an example of a block diagram showing a functional configuration of the
情報処理装置101は、以下の機能部を備える。なお情報処理装置101は、Webシステムで用いるアプリケーションクライアント(クライアント装置)で表示する画面に対応する入出力定義に従って、Webシステムで実行するプログラムを生成する情報処理装置と言い換えることが可能である。
The
ドキュメント生成部301は、アプリケーションの構築に用いられる定義情報に従ってドキュメントを生成する。
The
特定部302は、アプリケーションの構築に用いられる定義情報に含まれる識別情報に基づき、ドキュメント生成部301により生成されるドキュメントに対応する他のドキュメントを特定する。
The
リンク情報生成部303は、ドキュメント生成部301により生成されるドキュメントを、特定部302で特定された他のドキュメントにリンクさせるためのリンク情報を生成する。
The link
出力部304は、ドキュメント生成部301により生成され、リンク情報生成部303によりリンク情報が生成されたドキュメントを出力する。
The
以上で、図3の説明を終了し、次に図4について説明する。 Above, the description of FIG. 3 is completed, and then FIG. 4 will be described.
図4は、情報処理装置101の構成図である。
FIG. 4 is a configuration diagram of the
情報処理装置101は、Webアプリケーションを開発する開発者が定義した定義ファイルをもとにWebアプリケーションを生成するWebアプリケーション生成部409と仕様ドキュメントを生成する仕様ドキュメント生成部413により構成される。
The
情報処理装置101は、Webアプリケーションを開発する開発者により設定されたリポジトリ定義部401の各定義を用いて、Webアプリケーション生成部409によりWebアプリケーション423を生成する。また、情報処理装置101は、リポジトリ定義部401の各定義を用いて、仕様ドキュメント生成部413により各種仕様ドキュメントを生成する。
The
リポジトリ定義部401には、アプリケーション定義402、入出力定義403、データモデル定義404、ビジネスプロセス定義405、データベース定義406、ドキュメントフィルタ定義408が記憶されている。
The
これら402〜408の定義は、Webアプリケーション開発ツールを介して開発者によって入力され、作成される。 The definitions of these 402 to 408 are input and created by the developer via the Web application development tool.
なお、入出力定義403は、入力項目定義情報及び出力項目定義情報を含む。入力項目定義情報は、生成されたWebアプリケーションの画面を介して当該Webアプリケーションのユーザが入力する入力項目を定義した情報である。出力項目定義情報は、生成されたWebアプリケーションの画面に出力する出力項目を定義した情報である。以降、「入力項目定義情報」及び「出力項目定義情報」をまとめて「入出力項目定義情報」と呼ぶ。
The input/
次に、Webアプリケーション生成部409について説明する。Webアプリケーション生成用のリポジトリ定義解析部414を用いてリポジトリ定義部401に記憶されている各定義を解析し、Webアプリケーションコード生成部411及びソースコードコンパイル部412を介し、コンパイル済Java(登録商標)コード424及びHTML/JSP/JavaScript(登録商標)425を含むWebアプリケーション423を生成する。
Next, the web
次に、仕様ドキュメント生成部413について説明する。
Next, the specification
仕様ドキュメント生成部413は、リポジトリ定義解析部414によってリポジトリ定義部401を解析し、仕様ドキュメント生成部413は、ビジネスプロセス仕様生成部415、データモデル仕様生成部417、データモデル仕様参照リンク生成部420、リンク可否判定部421、画面仕様生成部416を介し、ビジネスプロセス仕様参照リンク生成部419やデータモデル仕様参照リンク生成部420は、リンク可否判定部421を介し、そして画面仕様参照リンク418は、リンク可否判定部421を介し、HTML/CSS/JavaScript429からなる仕様ドキュメント428を生成する。
The specification
次に、図5を用いて、Webアプリケーション及び各種ドキュメント生成のフローチャートについて説明する。 Next, a flowchart of the Web application and various document generation will be described with reference to FIG.
ステップS500において、情報処理装置101は、開発者からのアプリケーション生成の実行指示を受け付けると、アプリケーション設定のダイアログを表示する。ここで、ビジネスプロセス仕様ドキュメントに関する設定の入力を受け付ける。アプリケーション設定のダイアログの一例を示す図が、図16の1600である。1601で「ドキュメントを生成する」にチェックがされると各種ドキュメント(後述するステップS509〜ステップS511で生成されるドキュメント)が生成され、ドキュメントへのリンクがアプリケーションの画面に埋め込まれる。
In step S500, when the
ステップS501において、情報処理装置101は、リポジトリ定義部401からアプリケーション定義402を取得する。
In step S501, the
ステップS502において、情報処理装置101は、リポジトリ定義部401からデータモデル定義404を取得する。データモデル定義404は、リポジトリ定義部401として登録されている。データモデル定義404は、データモデル定義画面1001でデータベース上の項目をマッピングして登録されるものである。一般的には、1テーブル1データモデルが作成される。データモデル定義404の作成はWebアプリケーションの開発において既知の技術である。
In step S502, the
ここで、図10を用いて、データモデル定義404について説明しておく。上述したようにデータモデル定義404の設定自体は、アプリケーションの生成を実行する前に、開発者などにより事前に行われる。
Here, the
データモデル定義画面1001(図10)は、Webアプリケーションの開発者によるデータモデル定義404の設定操作を受け付ける画面である。また、データモデル定義画面1001を用いて設定されるデータモデル定義404は、データモデル仕様ドキュメント1300の基となる情報である。
The data model definition screen 1001 (FIG. 10) is a screen for accepting the setting operation of the
データモデル定義画面1001の「有効/無効」のラジオボタンの選択により、データモデル定義404を、生成するアプリケーションにおいて有効とするか、無効とするかの設定が可能となる。
By selecting the “valid/invalid” radio button on the data
データモデル定義画面1001の「仕様」の欄に、「@NODOC」を設定すると、設定されたデータモデル定義404を、データモデル仕様ドキュメント1300として出力しないようにすることができる(具体的には、図9のステップS912で「N(No)」に移行する)。
By setting “@NODOC” in the “Specification” field of the data
これにより、Webアプリケーションのユーザにとっては不要なデータモデルは、データモデル仕様ドキュメント1300に出力しないようにすることができるため、ユーザにとってわかりやすいドキュメントが生成することができる。 As a result, a data model unnecessary for the user of the Web application can be prevented from being output to the data model specification document 1300, so that a user-friendly document can be generated.
データモデル項目一覧1002は、Webアプリケーションの開発者がデータベースのテーブルのカラム(列)の基となる定義を設定する場合に用いられるものである。
The data
データモデル定義404は、本発明における、アプリケーションで用いられるデータベースのデータの操作に用いるデータモデル定義の一例である。
The
以上で、図10の説明を終了し、図5の説明に戻る。 This is the end of the description of FIG. 10 and returns to the description of FIG.
ステップS503において、情報処理装置101は、リポジトリ定義部401から入出力定義403を取得する。入出力定義についても、Webアプリケーションの開発において既知の技術である。
In step S503, the
ここで、図11を用いて、入出力定義403を設定する画面について説明しておく。上述したように入出力定義403の設定自体は、アプリケーションの生成を実行する前に、開発者などにより事前に行われる。
Here, the screen for setting the input/
入出力定義画面1101(図11)は、Webアプリケーションの開発者による入出力定義403の入力設定操作を受け付ける画面である。また、入出力定義画面1101を用いて設定される入出力定義403は、画面仕様ドキュメント1400の基となる情報である。「名前」は、Webアプリケーションの画面名である。「入出力タイプ」は、入出力定義画面1101にて設定された入出力定義403を用いて、どのようなプログラムを生成するかを決定する項目である。
The input/output definition screen 1101 (FIG. 11) is a screen for accepting the input setting operation of the input/
例えば、Webアプリケーションの画面を表示するプログラムを生成する場合は“IO”、メニューを表示するプログラムを生成する場合は“MENU”、ダイアログを表示するプログラムを生成する場合は“DIALOG”、ファイルを出力するプログラムを生成する場合は“EXPORT”、ファイルを入力するためのプログラムを生成する場合は“IMPORT”、マトリクス画面を表示するプログラムを生成する場合は“MATRIX”、帳票を印刷するプログラムを生成する場合は“PRINT_FILE”、モバイル用の画面を表示するプログラムを生成する場合は“MOBILE”、バッチ用の画面を表示するプログラムを生成する場合は“BATCH”、Webサービス用のプログラムを生成する場合は“WEBSERVICE”を選択する。つまり、入出力タイプ1402に“EXPORT”、“IMPORT”、“PRINT_FILE”、“BATCH”又は“WEBSERVICE”を選択することにより、画面表示を伴わないアプリケーション又はサービスのプログラムを生成することもできる。 For example, "IO" is generated to generate a program for displaying the screen of the Web application, "MENU" is generated to generate a program to display the menu, "DIALOG" is generated to generate a program to display the dialog, and the file is output. "EXPORT" to generate a program for inputting, "IMPORT" to generate a program for inputting a file, "MATRIX" to generate a program for displaying a matrix screen, and a program for printing a form. "PRINT_FILE" in case of generating, "MOBILE" in case of generating program for displaying mobile screen, "BATCH" in case of generating program for displaying screen for batch, and "WEBC" in case of generating program for Web service. Select "WEBSERVICE". That is, by selecting "EXPORT", "IMPORT", "PRINT_FILE", "BATCH", or "WEBSERVICE" as the input/output type 1402, it is possible to generate a program for an application or service that does not involve screen display.
入出力定義画面1101の「仕様」の欄に、「@NODOC」を設定すると、その画面に対する画面仕様ドキュメント1400として出力しないようにすることができる。(具体的には、図9のステップS912で「N(No)」に移行する)。
By setting “@NODOC” in the “Specification” field of the input/
これにより、Webアプリケーションのユーザにとっては不要な画面・画面項目は、個別に画面仕様ドキュメント1400に出力しないようにすることができるため、ユーザにとってわかりやすいドキュメントが生成することができる。以上で、図11の説明を終了し、図5の説明に戻る。 As a result, screens/screen items that are unnecessary for the user of the Web application can be prevented from being individually output to the screen specification document 1400, and thus a user-friendly document can be generated. With the above, the description of FIG. 11 is completed, and the description returns to FIG.
ステップS504において、情報処理装置101は、リポジトリ定義部401からビジネスプロセス定義405を取得する。ビジネスプロセス定義405は、リポジトリ定義部401として登録されている。ビジネスプロセス定義405についても事前に設定されているものである。また、ビジネスプロセス定義405は、受け付けたデータの処理の流れを定義したものである。例えば、入力したデータの重複をチェックして、登録するといったロジックを定義したものである。
In step S504, the
ここで、図12を用いて、ビジネスプロセス定義405を設定する画面について説明しておく。上述したようにビジネスプロセス定義405の設定自体は、アプリケーションの生成を実行する前に、開発者などにより事前に行われる。
Here, the screen for setting the
ビジネスプロセス定義画面1201(図12)は、Webアプリケーションの開発者によるビジネスプロセス定義405の設定操作を受け付ける画面である。また、ビジネスプロセス定義画面1201を用いて設定されるビジネスプロセス定義405は、ビジネスプロセス仕様ドキュメント1500の基となる情報である。
The business process definition screen 1201 (FIG. 12) is a screen for accepting the setting operation of the
ビジネスプロセス定義画面1201の「有効/無効」のラジオボタンの選択により、ビジネスプロセス定義405を、生成するアプリケーションにおいて有効とするか、無効とするかの設定が可能となる。
By selecting the “valid/invalid” radio button on the business
ビジネスプロセス定義画面1201の「仕様」の欄に、「@NODOC」を設定すると、設定されたビジネスプロセス定義405を、ビジネスプロセス仕様ドキュメント1500として出力しないようにすることができる(具体的には、図9のステップS912で「N(No)」に移行する)。
By setting "@NODOC" in the "Specification" field of the business
ビジネスプロセスロジック一覧1202は、Webアプリケーションの開発者が情報処理装置101により自動で生成されるロジックとは別にロジックを定義する場合に用いられるものである。
The business
また、ビジネスプロセスロジック一覧1202のロジックをマウスの右クリック等により選択することで表示されるメニューから、当該ロジックの有効/無効を切り替え可能である。
Further, the logic of the business
@NODOCの設定は、ビジネスプロセスロジック一覧1202中のロジックに対しても設定でき、「@NODOC」という指定をすることにより、ビジネスプロセスロジック一覧1202中のロジック、および当該ロジックに対応するフローチャートを、ビジネスプロセス仕様ドキュメント1500として出力しないようにすることができる。
The setting of @NODOC can be set also for the logic in the business
ビジネスプロセスロジック一覧1202中のロジックに「@NODOC」の指定をするためには、当該ロジックを選択することにより呼び出させれる画面の「仕様」の欄に「@NODOC」の入力をすることで指定可能である。
To specify "@NODOC" for the logic in the business
これにより、Webアプリケーションのユーザにとっては不要なロジックは、個別にビジネスプロセス仕様ドキュメント1500に出力しないようにすることができるため、ユーザにとってわかりやすいドキュメントが生成することができる。 Accordingly, logic unnecessary for the user of the Web application can be prevented from being individually output to the business process specification document 1500, so that a user-friendly document can be generated.
ビジネスプロセス定義405は、本発明における、アプリケーションの動作ロジックを定義したロジック定義の一例である。
The
以上で、図12の説明を終了し、図5の説明に戻る。 With the above, the description of FIG. 12 is finished, and the description returns to FIG.
ステップS505において、情報処理装置101は、リポジトリ定義部401からデータベース定義406を取得する。データベース定義406も予め生成されているものとする。
In step S505, the
ステップS506において、図16のドキュメントを生成する設定1601がされているか否かを判定する。設定がされている場合には、Webアプリケーションから各種ドキュメントを呼び出せるようにするため、ステップS507へ処理を移す。設定がされていない場合には、各種ドキュメント自体を生成しない設定であるため、ステップS513へ処理を移す。 In step S506, it is determined whether or not the setting 1601 for generating the document in FIG. 16 has been made. If the settings are made, the process moves to step S507 so that various documents can be called from the Web application. If no setting has been made, it means that various documents themselves are not generated, and therefore the process proceeds to step S513.
ステップS507では、ステップS509〜ステップS511で生成する各種ドキュメントをWebアプリケーション(Webアプリケーションの画面)から呼び出すためのリンクURL(リンク情報)を、ステップS503で取得した入出力定義のコードを用いて作成する。また、リンク情報を設定するための指定がされた場合に、リンク情報を生成するものである。 In step S507, a link URL (link information) for calling various documents generated in steps S509 to S511 from the web application (screen of the web application) is created by using the input/output definition code acquired in step S503. . In addition, the link information is generated when a designation for setting the link information is made.
ステップS508において、情報処理装置101は、Webアプリケーション生成部409を用いて、Webアプリケーション423に用いるプログラムを生成する。情報処理装置101のWebアプリケーション生成部409が、取得した定義を用いて、Webアプリケーションのソースコードを生成する(例えば、Webアプリケーション423)。具体的には、「入出力定義」「データモデル定義」「ビジネスプロセス定義」に基づき生成する。
In step S508, the
ステップS509において、情報処理装置101は、仕様ドキュメント生成部413を用いて、データモデル仕様ドキュメントを生成する。ステップS509の詳細処理については、図6を用いて説明する。
In step S509, the
ステップS509〜ステップS511までの各処理は、本発明における、アプリケーションの構築に用いられる定義情報に従ってドキュメントを生成するドキュメント生成手段の一例である。 Each of the processes from step S509 to step S511 is an example of a document generation unit that generates a document according to the definition information used for building an application in the present invention.
ステップS510において、情報処理装置101は、仕様ドキュメント生成部413を用いて、画面仕様ドキュメントを生成する。ステップS510の詳細処理については、図7を用いて説明する。
In step S510, the
ステップS511において、情報処理装置101は、仕様ドキュメント生成部413を用いて、ビジネスプロセス仕様ドキュメントを生成する。ステップS511の詳細処理については、図8を用いて説明する。
In step S511, the
ステップS512において、情報処理装置101は、ステップS508、または後述するステップS513にて生成したプログラムをアプリケーションサーバ102に配置(デプロイ)し、ステップS509〜ステップS511で生成した各種ドキュメントをWebサーバ106に配置する(本発明における、出力手段の一例)。
In step S512, the
これにより、アプリケーションサーバ102上でWebアプリケーションが動作し、アプリケーションサーバ102から各種ドキュメントを配信することができるようになる。
As a result, the Web application operates on the
ステップS513において、情報処理装置101は、Webアプリケーション生成部409を用いて、Webアプリケーション423に用いるプログラムを生成する。プログラムの生成方法は、ステップS508と同様であるが、各種ドキュメントが生成されないため、リンク情報が付与されない画面が生成される。
In step S513, the
なお、本実施形態においては、アプリケーション生成時にドキュメントの生成する/しないを選択できるとしたが、この方法に限定するものではなく、アプリケーションを生成することなくドキュメントのみを生成する方法であってもよい。 In the present embodiment, the generation/non-generation of the document can be selected when the application is generated. However, the method is not limited to this, and only the document may be generated without generating the application. ..
以上で、図5の説明を終了する。 This is the end of the description of FIG.
次に、図6を用いて、ステップS509の処理の詳細について説明する。 Next, details of the processing in step S509 will be described with reference to FIG.
図6は、参照リンクを含むデータモデル仕様ドキュメント生成の一例を示す図である。 FIG. 6 is a diagram showing an example of data model specification document generation including a reference link.
ステップS601において、情報処理装置101は、ドキュメントフィルタ定義408を読み込む。
In step S601, the
ドキュメントフィルタ定義408には、データモデル属性フィルタ、データモデル項目属性フィルタ、データモデル操作属性フィルタ、データモデル操作ロジック属性フィルタ、入出力タイプフィルタ、入出力属性フィルタ、入出力項目タイプフィルタ、入出力項目属性フィルタ、ビジネスプロセス属性フィルタ、ロジック属性フィルタ、エリアフィルタ等があり、これらの定義の設定値に従って仕様ドキュメント428として出力する情報をフィルタリング(選別)する。ここで、各フィルタについて説明する。
The
データモデル属性フィルタは、データモデル定義404をデータモデル(定義)の属性(「コード」「名前」「仕様」等)に従ってフィルタリングする。すなわちデータモデル仕様ドキュメント1300の「データモデル仕様」の欄に出力する属性をフィルタリングする。
The data model attribute filter filters the
データモデル項目属性フィルタは、データモデル定義404をデータモデル(定義)の属性の値(「コード」、「名前」、「NULL 可」、「キーグループ」、「桁数」、「少数桁」、「バイト数」「加工式」、「データタイプ」、「データモデルコード」、「データモデル項目、「コード」、「仕様」等)に従ってフィルタリングする。すなわちデータモデル仕様ドキュメント1300の「データモデル項目一覧」の欄に出力するデータモデル項目属性をフィルタリングする。
The data model item attribute filter uses the
データモデル操作属性フィルタは、データモデル定義404をデータモデル(定義)の操作属性の値(「操作コード」、「名前」、「操作タイプ」、「対象条件」、「独立コミット」、「仕様」等)に従ってフィルタリングする。すなわちデータモデル仕様ドキュメント1300の「データモデル操作一覧」の欄に出力する入出力項目属性をフィルタリングする。
The data model operation attribute filter uses the
データモデル操作ロジック属性フィルタは、データモデル定義404をデータモデル(定義)の操作ロジック属性の値(「項目コード」、「加工式」、「事前条件」、「メッセージコードNG」、「メッセージパラメータNG」、「仕様」等)に従ってフィルタリングする。すなわちデータモデル仕様ドキュメント1300の「データモデル操作一覧」の欄に出力する操作ロジック属性をフィルタリングする。
The data model operation logic attribute filter sets the
入出力タイプフィルタは、入出力定義403を入出力タイプの値(「IO」、「DIALOG」、「MATRIX」、「MENU」、「MOBILE」等)に従ってフィルタリングする。すなわち、画面仕様ドキュメント1400の「画面仕様」の欄に出力する入出力タイプをフィルタリングする。
The input/output type filter filters the input/
入出力属性フィルタは、入出力定義403を入出力(定義)の属性(「コード」、「名前」、「対象データモデル」、「仕様」等)に従ってフィルタリングする。すなわち、画面仕様ドキュメント1400の「画面仕様」の欄に出力する入出力属性をフィルタリングする。
The input/output attribute filter filters the input/
入出力項目タイプフィルタは、入出力定義403を入出力項目タイプの値(「入力」、「入出力」、「出力」、「アクション」、「グループ」等)に従ってフィルタリングする。
The input/output item type filter filters the input/
入出力項目属性フィルタは、入出力定義403を入出力項目の属性の値(「項目コード」、「名前」、「必須」、「桁数」、「仕様」等)に従ってフィルタリングする。
The input/output item attribute filter filters the input/
ビジネスプロセス属性フィルタは、ビジネスプロセス定義405をビジネスプロセス(定義)の属性(「コード」、「名前」、「独立コミット」、「仕様」等)に従ってフィルタリングする。すなわち、ビジネスプロセス仕様ドキュメント1500の「ビジネスプロセス仕様」の欄に出力する入出力項目タイプをフィルタリングする。
The business process attribute filter filters the
ロジック属性フィルタは、ビジネスプロセス定義405をビジネスプロセス(定義)のロジック属性(「制御コード」、「データモデルコード」、「機能コード」、「パラメータ」、「作業コード」「仕様」等)に従ってフィルタリングする。すなわち、ビジネスプロセス仕様ドキュメント1500の「ビジネスプロセスロジック一覧」の欄に出力する要素をフィルタリングする。
The logic attribute filter filters the
エリアフィルタは、仕様ドキュメント428として出力する情報の出力可否の値に従ってフィルタリングする。すなわち、データモデル仕様ドキュメント1300、画面仕様ドキュメント1400、ビジネスプロセス仕様ドキュメント1500のそれぞれについて、それぞれ出力するかをフィルタリングする。
The area filter filters according to the output permission value of the information output as the
ドキュメントフィルタ定義408の設定値は、情報処理装置101のRAM202に記憶・管理され、これらの設定値は、各生成部(415〜420)により適宜参照される。
The setting values of the
以上で、ドキュメントフィルタ定義408の説明を終了し、図6の説明に戻る。
This is the end of the description of the
ステップS602において、情報処理装置101は、データモデル仕様ドキュメントを出力するか判断する。ステップS601で読み込んだドキュメントフィルタ定義408のエリアフィルタにおいてデータモデル仕様ドキュメントを出力するよう設定されている場合は、ステップS603に進み、出力しないよう設定されている場合は本処理を終了する。
In step S602, the
そして、データモデル定義数分、ステップS603からステップS605までの処理を繰り返す。 Then, the processes from step S603 to step S605 are repeated for the number of data model definitions.
ステップS604において、情報処理装置101は、データモデルリンク生成処理(処理B)を行う。ステップS604の処理の詳細は、図17を用いて後ほど説明する。以上で、図6の説明を終了する。
In step S604, the
次に、図7を用いて、ステップS510の処理の詳細について説明する。 Next, details of the processing in step S510 will be described with reference to FIG.
図7は、参照リンクを含む画面仕様ドキュメント生成の一例を示す図である。 FIG. 7 is a diagram showing an example of screen specification document generation including a reference link.
ステップS701において、情報処理装置101は、ドキュメントフィルタ定義408を読み込む。
In step S701, the
ステップS702において、情報処理装置101は、画面仕様ドキュメントを出力するか判断する。ステップS701で読み込んだドキュメントフィルタ定義408のエリアフィルタにおいて画面仕様ドキュメントを出力するよう設定されている場合はステップS703に進み、出力しないよう設定されている場合は本処理を終了する。そして、入出力定義数分、ステップS703からステップS717までの処理を繰り返す。
In step S702, the
ステップS704において、情報処理装置101は、画面仕様エリアの対象データモデルが出力対象であるか判断する。ステップS701で読み込んだドキュメントフィルタ定義408の入出力属性フィルタにおいて、入出力定義画面1101の「対象データモデル」を、画面仕様ドキュメント1400の「画面仕様」の欄の「対象データモデル」に出力するよう設定されている場合はステップS705に進み、出力しないよう設定されている場合はステップS706に進む。
In step S704, the
ステップS705において、情報処理装置101は、データモデルリンク生成処理(処理B)を行う。ステップS705の処理の詳細は、図17を用いて後ほど説明する。
In step S705, the
ステップS706において、情報処理装置101は、画面項目一覧のデータモデル列が出力対象であるか判断する。ステップS701で読み込んだドキュメントフィルタ定義408の入出力項目属性フィルタにおいて、入出力項目一覧1102の「データモデルコード」を、画面仕様ドキュメント1400の「画面項目一覧」の欄の「データモデルコード」列に出力するよう設定されている場合はステップS707に進み、出力しないよう設定されている場合はステップS708に進む。
In step S706, the
ステップS707において、情報処理装置101は、データモデルリンク生成処理(処理B)を行う。ステップS707の処理の詳細は、図17を用いて後ほど説明する。
In step S707, the
ステップS708において、情報処理装置101は、画面項目一覧の加工式列が出力対象であるか判断する。S701で読み込んだドキュメントフィルタ定義408の入出力項目属性フィルタにおいて、図11の入出力項目一覧1102の処理対象の画面項目を選択することで表示される画面(不図示)において設定されている、処理対象の画面項目の「加工式」を、画面仕様ドキュメント1400の「画面項目一覧」の欄の「加工式」列に出力するよう設定されている場合はステップS709に進み、出力しないよう設定されている場合はステップS715に進む。
In step S708, the
ステップS709において、情報処理装置101は、処理対象の画面項目がアクション項目であるか判断する。より具体的には、図11の入出力項目一覧1102を参照し、処理対象の画面項目の「項目タイプ」の列が、「Aアクション」と設定されているかを判断する。
In step S709, the
入出力定義403において処理対象の項目がアクション項目と設定されている場合はS710に進み、処理対象の項目がアクション項目と設定されていない場合はステップS712に進む。
If the item to be processed is set as the action item in the input/
ステップS710において、情報処理装置101は、処理対象の画面項目が組込式であるか判断する。処理対象の画面項目が組込式でない場合はS711に進み、組込式である場合はステップS712に進む。より具体的には、図11の入出力項目一覧1102の処理対象の画面項目を選択することで表示される画面(不図示)において設定されている、処理対象の画面項目のコードが@で始まる場合は組込式であると判定する。組込式は、他のドキュメントへのリンクを行わないことを特定可能な情報の一例である。
In step S710, the
ステップS711において、情報処理装置101は、ビジネスプロセスリンク生成処理(処理A)を行う。ステップS711の処理の詳細は、図9を用いて後ほど説明する。
In step S711, the
ステップS712において、情報処理装置101は、処理対象の画面項目がフィールド項目であるか判断する。入出力定義403において当該項目がフィールド項目に設定されている場合はS713に進み、出力しないよう設定されている場合はステップS715に進む。より具体的には、図11の入出力項目一覧1102を参照し、処理対象の画面項目の「項目タイプ」の列に、「Aアクション」、「G グループ」以外が設定されている場合に、フィールド項目であると判断する。
In step S712, the
ステップS713において、情報処理装置101は、処理対象の画面項目の加工式がデータモデル参照式であるか判断する。入出力定義403において処理対象の画面項目がデータモデル定義404を参照している場合はS714に進み、参照していない場合はステップS715に進む。より具体的には、図11の入出力項目一覧1102の処理対象の画面項目を選択することで表示される画面(不図示)において、加工式にデータモデル参照式が設定されている場合に、処理対象の画面項目の加工式がデータモデル参照式であると判定する。
In step S713, the
ステップS714において、情報処理装置101は、データモデルリンク生成処理(処理B)を行う。ステップS714の処理の詳細は、図17を用いて後ほど説明する。
In step S714, the
ステップS715において、情報処理装置101は、「画面項目一覧」の欄の「選択リストDMコード」列が出力対象であるか判断する。具体的には、図11の入出力項目一覧1102の処理対象の画面項目を選択することで表示される画面(不図示)において設定されている、処理対象の画面項目の「選択リストDMコード」を、画面仕様ドキュメント1400の「画面項目一覧」の欄の「選択リストDMコード」列に出力するよう設定されている場合はステップS716に進み、出力しないよう設定されている場合はステップS717に進む。
In step S715, the
ステップS716において、情報処理装置101は、データモデルリンク生成処理(処理B)を行う。ステップS716の処理の詳細は、図17を用いて後ほど説明する。
In step S716, the
以上で、図7の説明を終了し、次に、図8を用いて、ステップS511の処理の詳細について説明する。 Above, the description of FIG. 7 is completed, and next, the details of the processing of step S511 will be described using FIG.
図8は、参照リンクを含むビジネスプロセス仕様ドキュメント生成の一例を示す図である。 FIG. 8 is a diagram showing an example of business process specification document generation including a reference link.
ステップS801において、情報処理装置101は、ドキュメントフィルタ定義408を読み込む。
In step S801, the
ステップS802において、情報処理装置101は、ビジネスプロセス仕様を出力するか判断する。ステップS801で読み込んだドキュメントフィルタ定義408のエリアフィルタにおいてビジネスプロセス仕様ドキュメントを出力するよう設定されている場合はステップS803に進み、出力しない場合は本処理を終了する。
In step S802, the
データモデル定義数分、ステップS803からS809までの処理を繰り返す。 The processing from steps S803 to S809 is repeated for the number of data model definitions.
ステップS804において、S801で読み込んだドキュメントフィルタ定義408のロジック属性フィルタにおいて、ビジネスプロセスロジック一覧1202の「機能コード」をビジネスプロセス仕様ドキュメント1500に出力するよう設定されている場合はステップS805に進み、ステップS807に進む。
In step S804, when the logic attribute filter of the
ステップS805において、ビジネスプロセスロジック一覧1202の処理対象のビジネスプロセスロジックの「制御コード」の列が「EXEC」である場合はステップS806に進み、「EXEC」でない場合はステップS807に進む。「EXEC」は本発明における、所定のロジック定義を示す情報の一例である。
In step S805, if the “control code” column of the business process logic to be processed in the business
ステップS806において、情報処理装置101は、ビジネスプロセスリンク生成処理(処理A)を行う。ステップS806の処理の詳細は、図9を用いて後ほど説明する。
In step S806, the
ステップS807において、S801で読み込んだドキュメントフィルタ定義408のロジック属性フィルタにおいて、ビジネスプロセスロジック一覧1202の「データモデルコード」をビジネスプロセス仕様ドキュメント1500に出力するよう設定されている場合はステップS808に進み、出力しない場合はステップS809に進む。
In step S807, if the logic attribute filter of the
ステップS808において、情報処理装置101は、データモデルリンク生成処理(処理B)を行う。ステップS808の処理の詳細は、図17を用いて後ほど説明する。
In step S808, the
以上で、図8の説明を終了し、次に図9について説明する。 Above, the description of FIG. 8 is completed, and then FIG. 9 will be described.
図9は、ビジネスプロセス仕様ドキュメントへのリンク生成の一例を示す図である。 FIG. 9 is a diagram showing an example of link generation to a business process specification document.
ステップS911において、情報処理装置101は、対象ビジネスプロセスが有効であるか判断し、対象ビジネスプロセスが有効である場合はステップS912に進み、対象ビジネスプロセスが有効でない場合は処理を終了する。対象ビジネスプロセスが有効であるか否かは、ビジネスプロセス定義画面1201(図12)の「有効/無効」のラジオボタンの有効のボタンが選択されているか、無効のボタンが選択されているかにより判断することができる。
In step S911, the
ステップS912において、情報処理装置101は、図12のビジネスプロセス定義画面1201や、ビジネスプロセスロジック一覧1202において、対象ビジネスプロセスに@NODOCが設定されていないか判断し、@NODOCが設定されていない場合はステップS913に進み、@NODOCが設定されている場合は処理を終了する。
In step S912, the
ステップS913において、画面仕様ドキュメント1400の画面項目一覧エリア「加工式」列とビジネスプロセス仕様ドキュメント1500の「ビジネスプロセスロジック一覧」エリアの「機能コード」列に、当該加工式と機能コードのビジネスプロセス仕様ドキュメント参照リンクを生成する。 In step S913, in the screen item list area "machining formula" column of the screen specification document 1400 and in the "function code" column of the "business process logic list" area of the business process specification document 1500, the business process specifications of the machining formula and function code. Generate a document reference link.
以上で、図9の説明を終了し、次に図17について説明する。 Above, the description of FIG. 9 is completed, and then FIG. 17 will be described.
図17は、データモデル仕様ドキュメントへのリンク生成の一例を示す図である。 FIG. 17 is a diagram showing an example of link generation to the data model specification document.
ステップS1701において、情報処理装置101は、対象データモデルのデータモデルコードが組込データモデルでないか判断し、組込データモデルでない場合はステップS1702に進み、組込データモデルである場合は処理を終了する。より具体的には、本処理に移行する直前の処理(判定ステップ)で、処理の対象となった項目のコードが@で始まる場合は組込データモデルであると判定する。
In step S1701, the
組込データモデルは、本発明における、他のドキュメントへのリンクを行わないことを特定可能な情報の一例である。 The embedded data model is an example of information according to the present invention that can specify that a link to another document is not performed.
ステップS1702において、情報処理装置101は、対象データモデルが有効であるか判断し、対象ビジネスプロセスが有効である場合はステップS925に進み、対象データモデルが有効でない場合は処理を終了する。対象データモデルが有効であるか否かは、データモデル定義画面1001(図10)の「有効/無効」のラジオボタンの有効のボタンが選択されているか、無効のボタンが選択されているかにより判断することができる。
In step S1702, the
ステップS1703において、情報処理装置101は、データモデル定義画面1001(図10)において、対象データモデルに@NODOCが設定されていないか判断し、@NODOCが設定されていない場合はステップS1704に進み、@NODOCが設定されている場合(@NODOC指定があるデータモデル定義画面1001参照)は処理を終了する。
In step S1703, the
ステップS1704において、データモデル仕様ドキュメント1300の「データモデル項目一覧」エリアの「データモデルコード」列と、画面仕様ドキュメント1400の「画面仕様」エリアの「対象データモデル」と、画面仕様ドキュメントの「画面項目一覧」の「データモデル」列と、ビジネスプロセス仕様ドキュメント1500の「ビジネスプロセスロジック一覧」の「データモデルコード」列に、当該データモデルコードと対象データモデルとデータモデルのデータモデル参照リンクを生成する。 In step S1704, the “data model code” column of the “data model item list” area of the data model specification document 1300, the “target data model” of the “screen specification” area of the screen specification document 1400, and the “screen of the screen specification document” Generate a data model reference link for the data model code, target data model, and data model in the "Data model" column of "Item list" and the "Data model code" column of "Business process logic list" of business process specification document 1500 To do.
ステップS913と、ステップS1704は、本発明における、前記ドキュメント生成手段により生成されるドキュメントを、前記特定手段で特定された前記他のドキュメントにリンクさせるためのリンク情報を生成するリンク情報生成手段の一例である。 Steps S913 and S1704 are an example of link information generating means for generating link information for linking the document generated by the document generating means to the other document specified by the specifying means in the present invention. Is.
以上で、図17の説明を終了する。 This is the end of the description of FIG.
図10のデータモデル項目一覧1002の「データモデルコード」の列に設定される値(文字列)、図11の入出力定義画面1101の「対象データモデル」に設定される値(文字列)、図11の入出力項目一覧1102の「データモデルコード」に設定される値(文字列)、図11の入出力項目一覧1102の「項目タイプ」の列の「Aアクション」、図11の入出力項目一覧1102の処理対象の画面項目を選択することで表示される画面(不図示)の、加工式に設定される「データモデル参照式」、図11の入出力項目一覧1102の処理対象の画面項目を選択することで表示される画面(不図示)において設定されている「選択リストDMコード」、ビジネスプロセスロジック一覧1202のビジネスプロセスロジックの「制御コード」の列の「EXEC」および「EXEC」と同じ行の「機能コード」に設定されている値(文字列)、ビジネスプロセスロジック一覧1202の「データモデルコード」の列に設定される値(文字列)は、本発明における識別情報の一例である。
A value (character string) set in the “data model code” column of the data
また、ステップS604、ステップS705、ステップS707、ステップS711、ステップS714、ステップS716、ステップS808、ステップS806は、本発明における、前記定義情報に含まれる識別情報に基づき、前記ドキュメント生成手段により生成されるドキュメントに対応する他のドキュメントを特定する特定手段の一例である。 Further, step S604, step S705, step S707, step S711, step S714, step S716, step S808, and step S806 are generated by the document generation means based on the identification information included in the definition information in the present invention. It is an example of a specifying unit that specifies another document corresponding to the document.
ここで、図13〜15を用いて、各仕様ドキュメント428について説明する。なお、説明の都合上、一部図面を省略している。
Here, each
まず、図13を用いて、データモデル仕様ドキュメント1300について説明しておく。図13は、生成されたデータモデル仕様ドキュメント1300の一例を示す図である。 First, the data model specification document 1300 will be described with reference to FIG. FIG. 13 is a diagram showing an example of the generated data model specification document 1300.
データモデル仕様ドキュメント1300は、データモデル定義画面1001で設定された内容に基づいて生成される「データモデル仕様」エリア、データモデル項目一覧1002に設定された内容に基づいて生成される「データモデル項目一覧」エリアを含んでいる。
The data model specification document 1300 is a “data model specification” area generated based on the contents set on the data
データモデル仕様ドキュメント1300の1301はリンクが設定されており、ステップS604の処理を実行する場合に、「データモデル項目一覧」エリアの「データモデルコード」列に設定されているデータモデルコードにリンクを設定する。なお、リンク先の決定は、「データモデルコード」列に設定されている値と一致するデータモデル定義404を検索して、一致したデータモデル定義404のデータモデル仕様ドキュメント1300に対してリンクするように決定する。
A link is set in 1301 of the data model specification document 1300, and a link is set to the data model code set in the “data model code” column of the “data model item list” area when executing the process of step S604. Set. Note that the link destination is determined by searching the
以上で、図13の説明を終了し、次に、図14を用いて、画面仕様ドキュメント1400について説明しておく。 Above, the description of FIG. 13 is completed, and then the screen specification document 1400 will be described using FIG. 14.
図14は、生成された画面仕様ドキュメント1400の一例を示す図である。 FIG. 14 is a diagram showing an example of the generated screen specification document 1400.
画面仕様ドキュメント1400は、入出力定義403の属性及びその設定値を表示する「画面仕様」エリア、画面HTMLデータを用いて、入出力定義403の画面イメージを表示する「画面HTML」エリア、入出力項目一覧1102に設定された内容に基づいて生成される入出力項目一覧を含んでいる。
The screen specification document 1400 uses a “screen specification” area for displaying the attributes of the input/
画面仕様ドキュメント1400の1401〜1403、1405〜1406はリンクが設定されている。なお、リンク先の決定は、リンク先を決定する対象となっている項目に設定されている値と一致するデータモデル定義404、またはビジネスプロセス定義405を検索して、一致したデータモデル定義404のデータモデル仕様ドキュメント1300、またはビジネスプロセス定義405のビジネスプロセス仕様ドキュメント1500に対してリンクするように決定する。
Links are set to 1401-1403 and 1405-1406 of the screen specification document 1400. Note that the link destination is determined by searching the
1401のリンクは、ステップS705の処理を実行する場合に設定されるリンクである。 The link 1401 is a link set when the process of step S705 is executed.
1402のリンクは、ステップS707の処理を実行する場合に設定されるリンクであり、「データモデルコード」列に設定されているすべての値に対してリンクが設定される。 The link 1402 is a link that is set when the process of step S707 is executed, and links are set for all values set in the “data model code” column.
1403のリンクは、ステップS711の処理を実行する場合に設定されるリンクであり、「加工式」列に設定されている値がアクション項目である場合に設定されるリンクである。 The link 1403 is a link that is set when the process of step S711 is executed, and is a link that is set when the value set in the “processing formula” column is an action item.
また1404に示す通り、ステップS710で組込式であると判定された値(画面項目)にはリンクの設定を行わない。 Further, as indicated by 1404, no link is set for the value (screen item) determined to be the built-in type in step S710.
1406のリンクは、ステップS714の処理を実行する場合に設定されるリンクであり、「加工式」列に設定されている値(画面項目)がフィールド項目であり、かつデータモデルコードが設定されている場合に設定されるリンクである。
The
1405のリンクは、ステップS716の処理を実行する場合に設定されるリンクであり、「選択リストDMコード」列に設定されているすべての値に対してリンクが設定される。 The link 1405 is a link set when the process of step S716 is executed, and links are set for all values set in the “selection list DM code” column.
以上で、図14の説明を終了し、次に、図15を用いて、ビジネスプロセス仕様ドキュメント1500について説明する。 With the above, the description of FIG. 14 is completed, and then the business process specification document 1500 will be described with reference to FIG. 15.
図15は、生成されたビジネスプロセス仕様ドキュメント1500の一例を示す図である。 FIG. 15 is a diagram showing an example of the generated business process specification document 1500.
ビジネスプロセス仕様ドキュメント1500は、ビジネスプロセス定義画面1201で設定された内容に基づいて生成される「ビジネスプロセス仕様」エリア、ビジネスプロセスロジック一覧1202に設定された内容に基づいて生成される「ビジネスプロセスロジック一覧」エリア、ビジネスプロセスロジック一覧1202に設定された内容に基づいて生成される「フローチャート」エリアを含んでいる。
The business process specification document 1500 is a “business process specification” area generated based on the contents set on the business
ビジネスプロセス仕様ドキュメント1500の1501、1503〜1504はリンクが設定されている。なお、リンク先の決定は、リンク先を決定する対象となっている項目に設定されている値と一致するデータモデル定義404、またはビジネスプロセス定義405を検索して、一致したデータモデル定義404のデータモデル仕様ドキュメント1300、またはビジネスプロセス定義405のビジネスプロセス仕様ドキュメント1500に対してリンクするように決定する。
Links are set to 1501 and 1503 to 1504 of the business process specification document 1500. Note that the link destination is determined by searching the
1501のリンクは、ステップS808の処理を実行する場合に設定されるリンクであり、「データモデルコード」列に設定されているすべての値に対してリンクが設定される。ただし、1502に示す通り、ステップS1701で組込データモデルであると判定された値(データモデルコード)にはリンクの設定を行わない。 The link 1501 is a link set when the process of step S808 is executed, and the links are set for all the values set in the “data model code” column. However, as indicated by 1502, no link is set for the value (data model code) determined to be the embedded data model in step S1701.
1503、1504のリンクは、ステップS806の処理を実行する場合に設定されるリンクである。すなわちビジネスプロセスロジック一覧1202の「制御コード」の列が「EXEC」である行の「機能コード」に設定されている値に対してリンクを設定する。
The links 1503 and 1504 are links set when the process of step S806 is executed. That is, a link is set to the value set in the “function code” of the row in which the “control code” column of the business
なお、他の実施形態として、「フローチャート」エリアの各ステップに対して、ビジネスプロセスロジック一覧1202の該当する項目へのリンクを設定することも可能である。以上で、図15の説明を終了する。
As another embodiment, a link to a corresponding item in the business
データモデル仕様ドキュメント1300の1301、画面仕様ドキュメント1400の1401〜1403、1405〜1406、ビジネスプロセス仕様ドキュメント1500の1501、1503〜1504のリンクを自動で設定することにより、例えば、ロジックに関する設計書を読んでいるときに、ロジックが処理しようとしているデータ構造に含まれる情報について調べたいとき、ユーザは、リンクを選択するだけで、関連するドキュメントを容易に確認することが可能となる。 By automatically setting the links 1301 of the data model specification document 1300, 1401 to 1403 and 1405 to 1406 of the screen specification document 1400, and 1501 and 1503 to 1504 of the business process specification document 1500, for example, a design document related to logic is read. When the user wants to find out about the information contained in the data structure that the logic is trying to process, the user can easily check the related document by selecting the link.
以上、本発明によると、アプリケーションの構築に用いられる定義情報にかかるドキュメントの参照を容易にすることができる。また、本発明によると、画面仕様、ビジネスプロセス仕様、データモデル仕様を含む仕様ドキュメントを生成するシステムにおいて、各ドキュメント間の連携を自動的に生成することができる。 As described above, according to the present invention, it is possible to easily refer to the document related to the definition information used for building the application. Further, according to the present invention, in a system for generating a specification document including a screen specification, a business process specification, and a data model specification, it is possible to automatically generate linkage between the respective documents.
本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、1つの機器からなる装置に適用してもよい。 The present invention can be embodied as, for example, a system, an apparatus, a method, a program, a storage medium, or the like. Specifically, the present invention may be applied to a system including a plurality of devices. It may be applied to a device consisting of one device.
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に直接、或いは遠隔から供給するものを含む。そして、そのシステム或いは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。 It should be noted that the present invention includes a software program that realizes the functions of the above-described embodiments, which directly or remotely supplies the system or device with the software program. The present invention also includes a case in which the computer of the system or the device reads and executes the supplied program code.
したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Therefore, the program code itself installed in the computer to implement the functional processing of the present invention by the computer also implements the present invention. That is, the present invention includes the computer program itself for realizing the functional processing of the present invention.
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。 In that case, the program may take any form such as an object code, a program executed by an interpreter, or script data supplied to an OS as long as it has the function of the program.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。 Examples of the recording medium for supplying the program include a flexible disk, a hard disk, an optical disk, a magneto-optical disk, MO, a CD-ROM, a CD-R, a CD-RW, and the like. There are also magnetic tapes, non-volatile memory cards, ROMs, DVDs (DVD-ROMs, DVD-Rs), and the like.
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、前記ホームページから本発明のコンピュータプログラムそのもの、若しくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。 In addition, as a method of supplying the program, a browser of a client computer is used to connect to a home page on the Internet. The computer program itself of the present invention or a compressed file containing an automatic installation function can be supplied from the home page by downloading it to a recording medium such as a hard disk.
また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 It can also be realized by dividing the program code forming the program of the present invention into a plurality of files and downloading each file from different homepages. That is, a WWW server that allows a plurality of users to download a program file for implementing the functional processing of the present invention on a computer is also included in the present invention.
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、ダウンロードした鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 Further, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and the key information for decrypting the encryption is downloaded from the home page via the Internet to users who have satisfied predetermined conditions. Let Then, it is also possible to execute the encrypted program by using the downloaded key information and install the program in a computer for implementation.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 Moreover, the functions of the above-described embodiments are realized by the computer executing the read program. In addition, the OS or the like running on the computer performs a part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments can also be realized by the processing.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現される。 Further, the program read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer. After that, based on the instructions of the program, a CPU or the like included in the function expansion board or the function expansion unit performs a part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
なお、前述した実施形態は、本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 Note that the above-described embodiments are merely examples of specific embodiments for carrying out the present invention, and the technical scope of the present invention should not be limitedly interpreted by these. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
101 情報処理装置
102 アプリケーションサーバ
103 データベースサーバ
104 アプリケーションクライアント
101
Claims (7)
前記アプリケーションの構築に用いられる定義情報に対応する、前記アプリケーションで用いられるデータベースのデータの操作に用いるデータモデル定義を示す情報、または前記アプリケーションの動作ロジックを定義したロジック定義を示す情報に基づき、前記定義情報にかかるドキュメントに対応する他のドキュメントを特定する特定手段と、
前記定義情報にかかるドキュメントを、前記特定手段で特定された前記他のドキュメントにリンクさせるためのリンク情報を生成するリンク情報生成手段と
を備えることを特徴とする情報処理装置。 An information processing device for building an application,
Corresponding to the definition information used to build the application, based on the information indicating the data model definition used for operating the data of the database used in the application, or the information indicating the logic definition that defines the operation logic of the application, Identification means for identifying other documents corresponding to the document related to the definition information,
A link information generating unit that generates link information for linking the document related to the definition information to the other document specified by the specifying unit.
前記特定手段は、前記定義情報に当該他のドキュメントへのリンクを行わないことを特定可能な情報が含まれる場合には、前記他のドキュメントの特定を行わないことを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 The definition information includes information that can be specified not to link to other documents,
The identifying unit does not identify the other document when the definition information includes information that can identify that the link to the other document is not performed. The information processing apparatus according to any one of 3 above.
前記情報処理装置のドキュメント生成手段が、前記アプリケーションの構築に用いられる定義情報に対応する、前記アプリケーションで用いられるデータベースのデータの操作に用いるデータモデル定義を示す情報、または前記アプリケーションの動作ロジックを定義したロジック定義を示す情報に基づき、前記定義情報にかかるドキュメントに対応する他のドキュメントを特定する特定工程と、
前記情報処理装置のリンク情報生成手段が、前記定義情報にかかるドキュメントを、前記特定工程で特定した前記他のドキュメントにリンクさせるためのリンク情報を生成するリンク情報生成工程と
を備えることを特徴とする情報処理装置の制御方法。 A method of controlling an information processing device for building an application, comprising:
Document generation means of the information processing device defines information indicating a data model definition used for operating data in a database used by the application, which corresponds to definition information used for building the application, or defines operation logic of the application. Based on the information indicating the logic definition, a specifying step of specifying another document corresponding to the document related to the definition information,
A link information generating unit of the information processing apparatus, which includes a link information generating step of generating link information for linking the document related to the definition information to the other document specified in the specifying step. Control method of an information processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018089472A JP6705993B2 (en) | 2018-05-07 | 2018-05-07 | Information processing apparatus, information processing apparatus control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018089472A JP6705993B2 (en) | 2018-05-07 | 2018-05-07 | Information processing apparatus, information processing apparatus control method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019197280A JP2019197280A (en) | 2019-11-14 |
| JP6705993B2 true JP6705993B2 (en) | 2020-06-03 |
Family
ID=68538420
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018089472A Active JP6705993B2 (en) | 2018-05-07 | 2018-05-07 | Information processing apparatus, information processing apparatus control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6705993B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115794771A (en) * | 2022-11-01 | 2023-03-14 | 中国农业银行股份有限公司 | Method, device, equipment and storage medium for generating document information |
-
2018
- 2018-05-07 JP JP2018089472A patent/JP6705993B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019197280A (en) | 2019-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20200326914A1 (en) | Creating an app method and system | |
| JP7014960B2 (en) | Information processing equipment, servers, their processing methods and programs | |
| JP6002302B2 (en) | Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program | |
| JP6705993B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP7763022B2 (en) | Information processing device, information processing system, control method, program, and recording medium | |
| JP2020091766A (en) | Electronic computer, method and program | |
| JP5526991B2 (en) | Information processing apparatus, information processing method, program, information processing system | |
| JP6836077B2 (en) | Information processing device and its processing method and program | |
| JP6795767B2 (en) | Information processing device and its processing method and program | |
| JP6231260B2 (en) | Screen control system, screen control program, screen creation support program, and screen control method | |
| JP6813782B2 (en) | Information processing equipment, information processing system, its control method and program | |
| JP6635104B2 (en) | Information processing apparatus, its processing method and program | |
| JP2019091415A (en) | Program, information processing apparatus, and processing method thereof | |
| JP2015148925A (en) | Program generation device and method | |
| JP7048912B2 (en) | Information processing equipment and its processing method and program | |
| US20240118861A1 (en) | Operation support apparatus, system, method, and computer readable medium | |
| JP6361770B2 (en) | Information processing apparatus, processing method thereof, and program | |
| JP7421137B2 (en) | Information processing device, information processing method and program | |
| JP7691026B2 (en) | Environment construction support device, system, method and program | |
| JP6652724B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP7397368B2 (en) | Information processing device and its processing method and program | |
| JP7053983B2 (en) | Information processing equipment and its processing method and program | |
| JP2019109732A (en) | Information processing system, control method thereof and program, and information processing apparatus, control method thereof and program | |
| JP2018181072A (en) | INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM | |
| JP2005025416A (en) | Program generation device, program generation method, program, and recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180703 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20181031 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181226 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20190115 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191017 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20191119 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200204 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200330 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200331 |
|
| 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: 20200414 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200427 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6705993 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| 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 |