JP2020119053A - Program, information processing apparatus and processing method - Google Patents

Program, information processing apparatus and processing method Download PDF

Info

Publication number
JP2020119053A
JP2020119053A JP2019007439A JP2019007439A JP2020119053A JP 2020119053 A JP2020119053 A JP 2020119053A JP 2019007439 A JP2019007439 A JP 2019007439A JP 2019007439 A JP2019007439 A JP 2019007439A JP 2020119053 A JP2020119053 A JP 2020119053A
Authority
JP
Japan
Prior art keywords
template
value
unit
information processing
business process
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.)
Granted
Application number
JP2019007439A
Other languages
Japanese (ja)
Other versions
JP7280475B2 (en
JP2020119053A5 (en
Inventor
尚己 岩永
Naomi Iwanaga
尚己 岩永
文洋 柴本
Fumihiro Shibamoto
文洋 柴本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2019007439A priority Critical patent/JP7280475B2/en
Publication of JP2020119053A publication Critical patent/JP2020119053A/en
Publication of JP2020119053A5 publication Critical patent/JP2020119053A5/en
Application granted granted Critical
Publication of JP7280475B2 publication Critical patent/JP7280475B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To provide a mechanism for efficiently developing software using a template.SOLUTION: There is provided a program executable by an information processing apparatus that develops software using a template. The program causes the information processing apparatus to function as: template acquisition means for acquiring the template; value reception means for receiving input of a value that replaces a variable included in the template acquired by the template acquisition means; and template insertion means for inserting the template obtained by replacing the variable included in the template acquired by the template acquisition means with the value received by the value reception means into a predetermined position of the software.SELECTED DRAWING: Figure 8

Description

本発明は、アプリケーションを構築するためのプログラム、情報処理装置及び処理方法に関する。 The present invention relates to a program for building an application, an information processing device, and a processing method.

従来、ソフトウェア(例:OS(オペレーティングシステム)、アプリケーション等)の開発を支援するツール(例:統合開発環境(IDE))が存在する。 Conventionally, there are tools (eg, integrated development environment (IDE)) that support the development of software (eg, OS (operating system), applications, etc.).

ソフトウェア開発者は、ソフトウェア開発支援ツールを用いて、ソフトウェアプログラムのコーディングを行う。 A software developer uses a software development support tool to code a software program.

特許文献1には、開発中のソフトウェアにテンプレート(雛型)を挿入して開発を行う仕組みが記載されている。 Patent Document 1 describes a mechanism for performing development by inserting a template (template) into software under development.

特開平11−327886号公報JP, 11-327886, A

しかし、特許文献1では、テンプレートを変更し、その変更をテンプレートに反映することはできるが、テンプレートの変更及びソフトウェアへの反映という手間がかかってしまうため、テンプレートを用いた効率的なソフトウェア開発ができているとは言い難い。 However, in Patent Document 1, although it is possible to change the template and reflect the change in the template, it takes time and effort to change the template and reflect it in the software, so that efficient software development using the template is possible. It's hard to say that it's done.

そこで、本発明の目的は、テンプレートを用いてソフトウェア開発を効率的に行う仕組みを提供することである。 Therefore, an object of the present invention is to provide a mechanism for efficiently developing software using a template.

テンプレートを用いてソフトウェアの開発を行う情報処理装置で実行可能なプログラムであって、前記情報処理装置を、前記テンプレートを取得するテンプレート取得手段と、前記テンプレート取得手段により取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける値受付手段と、前記テンプレート取得手段により取得されたテンプレートに含まれる変数を前記値受付手段により受け付けた値に置換した当該テンプレートを前記ソフトウェアの所定の位置に挿入するテンプレート挿入手段として機能させるためのプログラム。 A program executable by an information processing device that develops software using a template, the information processing device including a template acquisition unit that acquires the template, and a variable included in the template acquired by the template acquisition unit. And a value accepting means for accepting an input of a value for replacing the variable, and a variable included in the template acquired by the template acquiring means is replaced with the value accepted by the value accepting means, and the template is inserted at a predetermined position of the software. A program that functions as a template insertion means.

本発明によれば、テンプレートを用いてソフトウェア開発を効率的に行う仕組みを提供することができる。 According to the present invention, it is possible to provide a mechanism for efficiently performing software development using a template.

本発明に係る情報処理装置、アプリケーションサーバ、データベースサーバ、アプリケーションクライアントの構成の一例を示すシステム構成図である。1 is a system configuration diagram showing an example of configurations of an information processing device, an application server, a database server, and an application client according to the present invention. 本発明に係る情報処理装置、アプリケーションサーバ、データベースサーバ、アプリケーションクライアントとして適用可能な各ハードウェア構成の一例を示すブロック図である。It is a block diagram showing an example of each hardware composition applicable as an information processor, an application server, a database server, and an application client concerning the present invention. 本発明の実施形態のソフトウェア構成を示すブロック図の一例である。It is an example of a block diagram showing a software configuration of an embodiment of the present invention. 本発明に係る情報処理装置101及びアプリケーションサーバ102の構成図である。It is a block diagram of the information processing apparatus 101 and the application server 102 which concern on this invention. ビジネスプロセス定義生成処理のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a business process definition generation process. ビジネスプロセステンプレート挿入処理のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a business process template insertion process. ビジネスプロセス定義入力画面の一例を示す図である。It is a figure which shows an example of a business process definition input screen. プレースホルダーへの値入力を受け付ける画面の一例を示す図である。It is a figure which shows an example of the screen which receives the value input to a placeholder. テンプレートを挿入したビジネスプロセス定義入力画面の一例を示す図である。It is a figure which shows an example of the business process definition input screen which inserted the template. 新規ビジネスプロセステンプレートを作成するフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which produces a new business process template. 新規ビジネスプロセステンプレート作成受付画面の一例を示す図である。It is a figure which shows an example of the new business process template creation reception screen. 新規ビジネスプロセステンプレート作成画面の一例を示す図である。It is a figure which shows an example of a new business process template creation screen. 新規ビジネスプロセステンプレート作成画面で作成した新規ビジネスプロセステンプレートの一例を示す図である。It is a figure which shows an example of the new business process template created on the new business process template creation screen. アプリケーション構築のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of application construction.

以下、図面を参照して本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明に係る情報処理装置(ソフトウェア開発者がソフトウェア開発のために操作するソフトウェア開発装置)、アプリケーションサーバ、データベースサーバ、アプリケーションクライアントの構成の一例を示すシステム(情報処理システム)構成図である。なお、本実施形態においては、情報処理装置にて開発されたソフトウェアをアプリケーションと呼ぶが、アプリケーションに限定するものではなく、アプリケーション以外のソフトウェア(例:OS)であってもよい。 FIG. 1 is a system (information processing system) configuration diagram showing an example of configurations of an information processing apparatus (a software development apparatus operated by a software developer for software development), an application server, a database server, and an application client according to the present invention. Is. In the present embodiment, the software developed by the information processing device is called an application, but it is not limited to the application and may be software other than the application (eg, OS).

情報処理装置101は、ソフトウェア開発者の操作に従って画面レイアウト及びデータベース検索指示などを定義する。情報処理装置101は、プログラム生成、アプリケーション生成を行う。 The information processing apparatus 101 defines a screen layout, a database search instruction, and the like according to the operation of the software developer. The information processing apparatus 101 performs program generation and application generation.

なお、本実施形態においては、情報処理装置101で生成するアプリケーションはWebアプリケーションとしたが、これに限定するものではなく、携帯電話・スマートフォン・タブレットなどの情報処理装置で動作するアプリケーションや組込みソフトウェアなど、Web技術による通信を利用するアプリケーション以外のアプリケーションであってもよい。 In the present embodiment, the application generated by the information processing apparatus 101 is a Web application, but the application is not limited to this, and an application or embedded software that operates on an information processing apparatus such as a mobile phone, a smartphone, or a tablet. It may be an application other than an application that uses communication by Web technology.

また、本実施形態においては、情報処理装置101はアプリケーションのプログラムを生成するとしたが、この方法に限定するものではなく、プログラムを生成することなく、アプリケーションサーバ102やクラウド環境等でアプリケーションが動作する様にデータやファイル等を生成することにより、アプリケーション(の動作環境)を構築する等であってもよい。 Further, in the present embodiment, the information processing apparatus 101 generates the program of the application, but the present invention is not limited to this method, and the application operates in the application server 102 or the cloud environment without generating the program. Similarly, an application (operating environment of the application) may be constructed by generating data, files, and the like.

アプリケーションサーバ102は、情報処理装置101で開発されたアプリケーションを実行する。また、データベースサーバ103と接続して動作することが可能である。 The application server 102 executes an application developed by the information processing device 101. It is also possible to operate by connecting to the database server 103.

データベースサーバ103は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、ソフトウェア開発者が利用するためにデータベースサーバ103は、情報処理装置101や、アプリケーションサーバ102と同一の装置で構成されていてもよいし、LANなどのネットワーク105内に配置されてもよい。 The database server 103 is a database used by the developed application, and in the present invention, it may be used for confirming the operation even during the development. For example, the database server 103 may be composed of the same device as the information processing device 101 and the application server 102 for use by a software developer, or may be arranged in a network 105 such as a LAN.

アプリケーションクライアント104(情報処理装置)は、アプリケーションサーバ102と協調して情報処理装置101で開発したアプリケーションプログラムを動作させる、エンドユーザの入力端末である。この、アプリケーションクライアント104は、携帯端末などの情報処理装置であってもよいこととする。 The application client 104 (information processing apparatus) is an input terminal of an end user that operates an application program developed by the information processing apparatus 101 in cooperation with the application server 102. The application client 104 may be an information processing device such as a mobile terminal.

なお、情報処理装置101、アプリケーションサーバ102、データベースサーバ103、および、アプリケーションクライアント104の何れかを、クラウドなどのインターネット上に配置してもよい。 Note that any of the information processing device 101, the application server 102, the database server 103, and the application client 104 may be arranged on the Internet such as a cloud.

以上で、図1の説明を終了する。
This is the end of the description of FIG.

図2は、本発明に係る情報処理装置101、アプリケーションサーバ102、データベースサーバ103、アプリケーションクライアント104として適用可能な各ハードウェア構成の一例を示すブロック図である。 FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the information processing apparatus 101, the application server 102, the database server 103, and the application client 104 according to the present invention.

図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。 In FIG. 2, the CPU 201 centrally controls each device connected to the system bus 204.

また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるオペレーティングシステム(OS)や、各サーバ、クライアント、装置など情報処理装置の後述する各種機能を実現するためのプログラムが記憶されている。 Further, the ROM 203 or the external memory 211 stores an operating system (OS) which is a control program of the CPU 201, and programs for realizing various functions of the information processing apparatus such as each server, client, and apparatus described later.

RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。 The RAM 202 functions as a main memory, a work area, a temporary save area, etc. of the CPU 201.

入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイス、タッチパネルが挙げられる。 The input controller 205 controls the input from the input unit 209. Examples of the input unit 209 include a keyboard, a pointing device such as a mouse, and a touch panel in the information processing apparatus.

なお、入力部209がタッチパネルの場合、ユーザがタッチパネルに表示されたアイコンやカーソルやボタンに合わせて押下(指等でタッチ)することにより、各種の指示を行うことができることとする。 When the input unit 209 is a touch panel, the user can give various instructions by pressing (touching with a finger or the like) in accordance with an icon, a cursor, or a button displayed on the touch panel.

また、タッチパネルは、マルチタッチスクリーン等の、複数の指でタッチされた位置を検出することが可能なタッチパネルであってもよい。 Further, the touch panel may be a touch panel such as a multi-touch screen capable of detecting a position touched by a plurality of fingers.

出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。尚、本体と一体になったノート型パソコンのディスプレイも含まれるものとする。また、プロジェクタであってもよいこととする。 The output controller 206 controls the display of the output unit 210. Examples of the output unit 210 include a CRT and a liquid crystal display. Note that the display of a notebook computer integrated with the main body is also included. Further, it may be a projector.

外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。外部メモリ211には、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。 The external memory controller 207 controls access to the external memory 211 that stores a boot program, various applications, font data, user files, edit files, printer drivers, and the like. The external memory 211 stores various tables and parameters for realizing various functions of each server, client, device, and the like. Examples of the external memory 211 include a hard disk (HD), a flexible disk (FD), a compact flash (registered trademark) connected to a PCMCIA card slot via an adapter, smart media, and the like.

なお、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォント展開(ラスタライズ)処理を実行することにより、出力部210上での表示を可能としている。また、CPU201は、出力部210上の不図示のマウスカーソル等でのユーザ指示を可能とする。 It should be noted that the CPU 201 enables display on the output unit 210, for example, by executing outline font expansion (rasterization) processing to the display information area in the RAM 202. Further, the CPU 201 enables a user instruction with a mouse cursor or the like (not shown) on the output unit 210.

通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。 The communication I/F controller 208 executes communication control processing with an external device via a network. For example, communication using TCP/IP is possible.

本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。 The program 212 for implementing the present invention is recorded in the external memory 211, and is loaded into the RAM 202 as needed to be executed by the CPU 201.

以上で、図2の説明を終了する。
This is the end of the description of FIG.

図3は、本発明の実施形態のソフトウェア構成を示すブロック図の一例である。 FIG. 3 is an example of a block diagram showing a software configuration of the embodiment of the present invention.

情報処理装置101は、以下の機能部を備える。 The information processing device 101 includes the following functional units.

テンプレート取得部301は、テンプレートを取得する機能部である。 The template acquisition unit 301 is a functional unit that acquires a template.

値受付部302は、テンプレート取得部301により取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける機能部である。 The value receiving unit 302 is a functional unit that receives an input of a value that replaces a variable included in the template acquired by the template acquiring unit 301.

テンプレート挿入部303は、テンプレート取得部301により取得されたテンプレートに含まれる変数を値受付部302により受け付けた値に置換した当該テンプレートをソフトウェアの所定の位置に挿入する機能部である。 The template inserting unit 303 is a functional unit that inserts the template, which is obtained by replacing the variable included in the template acquired by the template acquiring unit 301 with the value received by the value receiving unit 302, into a predetermined position of the software.

テンプレート表示部304は、テンプレート取得手段により取得されたテンプレートを、変数を含めた形式で表示する機能部である。 The template display unit 304 is a functional unit that displays the template acquired by the template acquisition unit in a format including variables.

値受付部302は、変数毎に当該変数を置換する値の入力を受け付ける機能部である。 The value accepting unit 302 is a functional unit that accepts an input of a value that replaces the variable for each variable.

テンプレート作成受付部305は、変数を含むテンプレートの作成を受け付ける機能部である。 The template creation receiving unit 305 is a functional unit that receives creation of a template including variables.

テンプレート作成部306は、テンプレート作成受付部305により受け付けたテンプレートを作成する機能部である。 The template creation unit 306 is a functional unit that creates the template accepted by the template creation acceptance unit 305.

データモデル取得部307は、ソフトウェアで用いるデータモデルを取得する機能部である。 The data model acquisition unit 307 is a functional unit that acquires a data model used in software.

値受付部302は、データモデル変数を置換する値として、データモデル取得部307により取得されたデータモデルから選択を受け付ける機能部である。 The value acceptance unit 302 is a functional unit that accepts a selection from the data model acquired by the data model acquisition unit 307 as a value for replacing the data model variable.

テンプレート挿入部303は、テンプレート取得部301により取得されたテンプレートに含まれる変数を値受付部302により受け付けた値に置換した当該テンプレートを、アプリケーションを構築するための定義情報の所定の位置に挿入する機能部である。 The template inserting unit 303 inserts the template, in which the variable included in the template acquired by the template acquiring unit 301 is replaced with the value received by the value receiving unit 302, at a predetermined position in the definition information for building the application. It is a functional part.

アプリケーション構築部308は、テンプレート挿入部303により挿入されたテンプレートを含む定義情報に基づき、アプリケーションを構築する機能部である。 The application constructing unit 308 is a functional unit that constructs an application based on the definition information including the template inserted by the template inserting unit 303.

以上で、図3の説明を終了する。
This is the end of the description of FIG.

図4は、情報処理装置101及びアプリケーションサーバ102の構成図である。 FIG. 4 is a configuration diagram of the information processing apparatus 101 and the application server 102.

情報処理装置101は、リポジトリ定義部401及びアプリケーション生成部410を備える。 The information processing apparatus 101 includes a repository definition unit 401 and an application generation unit 410.

情報処理装置101は、アプリケーションを開発するソフトウェア開発者により設定されたリポジトリ定義部401の各定義を用いて、アプリケーション生成部410によりアプリケーションを生成する。 The information processing apparatus 101 uses the definitions of the repository definition unit 401 set by the software developer who develops the application to generate the application by the application generation unit 410.

リポジトリ定義部401には、アプリケーション定義402、入出力定義403、データモデル定義404、ビジネスプロセス定義405、データベース定義406が記憶されている。これら402〜406の定義は、アプリケーション構築ツールを介して、ソフトウェア開発者によって入力設定または配置される。 The repository definition unit 401 stores an application definition 402, an input/output definition 403, a data model definition 404, a business process definition 405, and a database definition 406. The definitions of these 402 to 406 are input and set by a software developer via an application construction tool.

入出力定義403は、アプリケーション画面に配置される各種項目のレイアウトの定義情報を保持する。入出力定義403は、入力項目定義情報及び出力項目定義情報を含む。入力項目定義情報は、生成されたアプリケーションの画面を介して当該アプリケーションのエンドユーザが入力する入力項目を定義した情報である。出力項目定義情報は、生成されたアプリケーションの画面に出力する出力項目を定義した情報である。以降、「入力項目定義情報」及び「出力項目定義情報」をまとめて「入出力項目定義情報」と呼ぶ。 The input/output definition 403 holds layout definition information of various items arranged on the application screen. The input/output definition 403 includes input item definition information and output item definition information. The input item definition information is information that defines the input items input by the end user of the application via the screen of the generated application. The output item definition information is information that defines output items to be output to the screen of the generated application. Hereinafter, the “input item definition information” and the “output item definition information” are collectively called “input/output item definition information”.

なお、本実施形態においては、「入力項目定義情報は、生成されたアプリケーションの画面を介して当該アプリケーションのエンドユーザが入力する入力項目を定義した情報」「出力項目定義情報は、生成されたアプリケーションの画面に出力する出力項目を定義した情報」としたが、これらに限定するものではなく、例えば、画面を有さないバッチやWebサービス等のように、「入力項目定義情報は、生成されたアプリケーションに入力される入力項目を定義した情報」「出力項目定義情報は、生成されたアプリケーションが出力する出力項目を定義した情報」であってもよい。 In the present embodiment, “input item definition information is information that defines an input item that the end user of the application inputs via the screen of the generated application” “output item definition information is the generated application The information that defines the output items to be output to the screen of "is not limited to these, for example, "input item definition information has been generated, such as batch without a screen or Web service. The information defining the input item input to the application may be “the output item definition information is information defining the output item output by the generated application”.

データモデル定義404は、データベースのテーブルの項目の定義情報を保持する。入出力定義403の各項目には、データモデル定義404の項目を対応づけることができる。生成されたアプリケーションは、データモデル定義404を用いてテーブルのレコード操作(例:登録、検索、更新、削除等)を行う。 The data model definition 404 holds definition information of items in the database table. Items of the data model definition 404 can be associated with each item of the input/output definition 403. The generated application uses the data model definition 404 to perform a record operation on the table (eg, registration, search, update, delete, etc.).

ビジネスプロセス定義405は、アプリケーションにおけるデータを処理するためのロジックの定義情報を保持する。 The business process definition 405 holds definition information of logic for processing data in the application.

データベース定義406は、アプリケーションが接続するデータベースに係る情報(データベースサーバ103のIPアドレス、接続ユーザ、接続パスワード等)を定義する。 The database definition 406 defines information related to the database to which the application connects (IP address of the database server 103, connection user, connection password, etc.).

ビジネスプロセステンプレート<ユーザ定義>407は、ソフトウェア開発者が独自に作成したビジネスプロセステンプレートである。 The business process template <user definition> 407 is a business process template originally created by the software developer.

ビジネスプロセステンプレートとは、ビジネスプロセス定義405の一部として利用可能なテンプレートである。 The business process template is a template that can be used as a part of the business process definition 405.

ビジネスプロセステンプレートは、プレースホルダー(ビジネスプロセス定義405に必要な各項目の値を抽象化し、再利用可能にするための変数)を含み、ソフトウェア開発者がプレースホルダーに対して値を入力することによって、プレースホルダーを当該値に置換した状態でビジネスプロセス定義405の一部として利用することができる。 The business process template includes placeholders (variables for abstracting the values of each item required for the business process definition 405 and making them reusable), and the software developer inputs values to the placeholders. , Can be used as a part of the business process definition 405 with the placeholder replaced with the value.

ビジネスプロセステンプレート管理部420は、外部メモリ211に記憶されたビジネスプロセステンプレート<組み込み>421を管理する。 The business process template management unit 420 manages the business process template <embedded> 421 stored in the external memory 211.

ビジネスプロセステンプレート<組み込み>421は、ソフトウェア開発支援ツールに組み込まれたビジネスプロセステンプレートである。なお、ビジネスプロセステンプレート<組み込み>421は、ソフトウェア開発支援ツール導入時から組み込まれたテンプレートに限定するものではなく、ソフトウェア開発支援ツール導入後にソフトウェア開発支援ツール開発元や第三者(ビジネスプロセステンプレート提供者等)から取得したテンプレート等であってもよい。 The business process template <embedded> 421 is a business process template incorporated in the software development support tool. It should be noted that the business process template <embedded> 421 is not limited to the template that has been installed since the software development support tool was introduced, but after the software development support tool is installed, the software development support tool developer or a third party (provides a business process template). It may be a template or the like acquired from a person (such as a person).

以下では、「ビジネスプロセステンプレート<ユーザ定義>407」及び「ビジネスプロセステンプレート<組み込み>421」を総称して、「ビジネスプロセステンプレート」又は単に「テンプレート」と呼ぶ。「ビジネスプロセステンプレート」は、ソフトウェア開発支援ツールの画面(例:ビジネスプロセスエディタ部430)において、「スニペット」と呼ばれる部品として、ビジネスプロセス定義405の作成及び編集に用いることができる。 Hereinafter, the “business process template <user definition> 407” and the “business process template <embedded> 421” are collectively referred to as “business process template” or simply “template”. The “business process template” can be used for creating and editing the business process definition 405 as a component called “snippet” on the screen of the software development support tool (eg, the business process editor unit 430).

ビジネスプロセスエディタ部430は、ビジネスプロセステンプレート要求受信部431及びビジネスプロセス定義入力部432を用いて、ビジネスプロセス定義405の作成、編集及び参照をする。 The business process editor unit 430 uses the business process template request receiving unit 431 and the business process definition input unit 432 to create, edit, and refer to the business process definition 405.

ビジネスプロセステンプレート編集ダイアログ450は、ビジネスプロセステンプレート表示部451、プレースホルダー値入力部452を用いて、ユーザからのプレースホルダーに対する値入力を受け付け、ビジネスプロセスデータ作成部453を用いて、ビジネスプロセスデータを作成する。 The business process template edit dialog 450 uses the business process template display unit 451 and the placeholder value input unit 452 to accept a value input to the placeholder from the user, and uses the business process data creation unit 453 to store the business process data. create.

ビジネスプロセスデータ作成部453は、作成したビジネスプロセスデータをビジネスプロセスエディタ部に渡す。 The business process data creation unit 453 passes the created business process data to the business process editor unit.

アプリケーション生成部410は、アプリケーション生成用のリポジトリ定義解析部411を用いてリポジトリ定義部401に記憶されている各定義を解析し、アプリケーションコード生成部412及びソースコードコンパイル部413を介し、コンパイル済Java(登録商標)コード441及びHTML/JSP/JavaScript(登録商標)442を含むアプリケーションコード440を生成する。すなわち、アプリケーション生成部410は、設定された定義を用いて、アプリケーションとして用いられるソフトウェアを生成する手段の一例である。 The application generation unit 410 analyzes each definition stored in the repository definition unit 401 by using the repository generation analysis unit 411 for application generation, and the compiled Java is executed via the application code generation unit 412 and the source code compilation unit 413. The application code 440 including the (registered trademark) code 441 and the HTML/JSP/Javascript (registered trademark) 442 is generated. That is, the application generation unit 410 is an example of a unit that generates software used as an application using the set definition.

以上で、図4の説明を終了する。
This is the end of the description of FIG.

図5は、ビジネスプロセス定義生成処理のフローチャートの一例を示す図である。なお、以下のフローチャートの各ステップは、各装置のCPU201が実行する。 FIG. 5 is a diagram showing an example of a flowchart of the business process definition generation processing. The CPU 201 of each device executes each step of the following flowcharts.

ステップS501において、情報処理装置101は、ビジネスプロセス定義入力画面700(図7)を用いて、ビジネスプロセス定義405に含まれる各項目(「制御コード」「データモデルコード」「機能コード」「パラメータ」及び「作業コード」)の入力を受け付ける。ビジネスプロセス定義入力画面700は、ビジネスプロセス定義入力部432の一例である。 In step S501, the information processing apparatus 101 uses the business process definition input screen 700 (FIG. 7) to include each item (“control code”, “data model code”, “function code”, “parameter”) included in the business process definition 405. And "work code") are accepted. The business process definition input screen 700 is an example of the business process definition input unit 432.

ここで、ビジネスプロセス定義405に含まれる各項目について、簡単に説明をしておく。 Here, each item included in the business process definition 405 will be briefly described.

「制御コード」は、ビジネスプロセスにおける命令を表すコードである。具体的には、制御コード“IN”は、画面からバインドされたデータモデルのレコード集合を変数に代入する命令である。また、制御コード“CALL”は、データモデル操作(例:レコードの登録、検索、更新、削除等)を行う命令である。また、制御コード“IF/ELSEIF/ELSE/END”は、ビジネスプロセスにおける処理の分岐を行う命令である。また、制御コード“EXEC”は、定義済のビジネスプロセスを実行する命令である。なお、本実施形態においては、上記の「制御コード」を挙げたが、これらの制御コードに限定するものではなく、その他の命令を表す「制御コード」であってもよい。 The “control code” is a code that represents an instruction in a business process. Specifically, the control code “IN” is an instruction for substituting the record set of the data model bound from the screen into a variable. The control code “CALL” is a command for performing a data model operation (eg, record registration, search, update, deletion, etc.). Further, the control code "IF/ELSEIF/ELSE/END" is an instruction for branching the processing in the business process. The control code "EXEC" is an instruction for executing a defined business process. In the present embodiment, the above-mentioned "control code" has been described, but the present invention is not limited to these control codes, and may be a "control code" representing another command.

「機能コード」は、実行する処理を示すコードである。具体的には、データモデル操作コード、定義済のビジネスプロセスのコード、拡張的に定義されたコード等が該当する。 The “function code” is a code indicating a process to be executed. Specifically, the data model operation code, the code of the defined business process, the code defined in an expanded manner, and the like are applicable.

「パラメータ」は、「機能コード」で指定した処理に渡す引数である。次に説明する「作業コード」の変数を指定することで、変数に格納された値を「機能コード」で指定した処理に渡すことができる。 The “parameter” is an argument passed to the process specified by the “function code”. By specifying the variable of the "work code" described below, the value stored in the variable can be passed to the process specified by the "function code".

「作業コード」には、呼出元の入出力定義403から受け取る値、「機能コード」で指定した処理が返す戻り値を格納するための変数を指定する。 In the "work code", a variable for storing the value received from the input/output definition 403 of the calling source and the return value returned by the process specified by the "function code" is specified.

なお、本実施形態においては、ビジネスプロセス定義405に含まれる項目として、「制御コード」「データモデルコード」「機能コード」「パラメータ」及び「作業コード」を挙げたが、これらの項目に限定するものではなく、その他の項目があってもよい。 In the present embodiment, the items included in the business process definition 405 include “control code”, “data model code”, “function code”, “parameter”, and “work code”, but the items are limited to these items. There may be other items other than the items.

ステップS502において、情報処理装置101は、ビジネスプロセステンプレート要求受信部431を用いて、ビジネスプロセステンプレート701の挿入操作を受け付けたか否かを判定し、受け付けた場合はステップS503に進み、受け付けなかった場合はステップS504に進む。 In step S502, the information processing apparatus 101 uses the business process template request receiving unit 431 to determine whether or not an insertion operation of the business process template 701 has been received. If it has received, the process proceeds to step S503, and if it has not received Advances to step S504.

ビジネスプロセステンプレート701の挿入操作とは、例えば、ビジネスプロセステンプレート701をドラッグし、ビジネスプロセスエディタ部430内の挿入したい位置にドロップする(図7の702)操作である。なお、本実施形態においては、挿入操作をドラッグ&ドロップ操作としたが、この操作方法に限定するものではなく、挿入するビジネスプロセステンプレート701及び挿入する位置が特定できる操作であれば、キーボードによる操作、画面のタッチ操作、その他の操作等であってもよい。 The inserting operation of the business process template 701 is, for example, an operation of dragging the business process template 701 and dropping it in the business process editor unit 430 at a position to be inserted (702 in FIG. 7). Note that in the present embodiment, the insertion operation is a drag and drop operation, but the operation method is not limited to this, and if the operation can specify the business process template 701 to be inserted and the insertion position, the operation using the keyboard is performed. It may be a touch operation on the screen, another operation, or the like.

なお、本実施形態においては、挿入するビジネスプロセステンプレート701及び挿入する位置は、ソフトウェアの開発者が操作により指示するとしたが、この方法に限定するものではなく、情報処理装置101が、ビジネスプロセス定義405の定義内容に基づき、挿入するビジネスプロセステンプレート701又は挿入する位置を自動的に(例えば、別途定義されたルール、過去に開発したソフトウェアの解析結果、及び/又は、人工知能等を用いて)特定するとしてもよい。 In the present embodiment, the business process template 701 to be inserted and the position to be inserted are instructed by the software developer through an operation, but the present invention is not limited to this method, and the information processing apparatus 101 can define the business process definition. Based on the definition content of 405, the business process template 701 to be inserted or the position to be inserted is automatically (for example, using separately defined rules, analysis results of software developed in the past, and/or artificial intelligence). You may specify.

なお、本実施形態においては、挿入するテンプレートをビジネスプロセステンプレート701としたが、これに限定するものではなく、入出力定義403、データモデル定義404等、その他の種類のテンプレート(例:レイアウトやデザインのテンプレート、メッセージのテンプレート、汎用的なデータやロジックのテンプレート等)であってもよい。 In the present embodiment, the template to be inserted is the business process template 701. However, the template is not limited to this, and other types of templates such as the input/output definition 403 and the data model definition 404 (for example, layout or design). Template, message template, general-purpose data or logic template, etc.).

ステップS503において、情報処理装置101は、ビジネスプロセステンプレートの挿入処理を行う。この処理については、図6にて後述する。 In step S503, the information processing apparatus 101 performs business process template insertion processing. This processing will be described later with reference to FIG.

ステップS504において、情報処理装置101は、ソフトウェア開発者からのビジネスプロセス定義405の保存要求を受け付ける。 In step S504, the information processing apparatus 101 receives a request for saving the business process definition 405 from the software developer.

ステップS505において、情報処理装置101は、ソフトウェア開発者からのビジネスプロセス定義405の保存要求の有無を判定する。 In step S505, the information processing apparatus 101 determines whether there is a storage request for the business process definition 405 from the software developer.

ステップS505において、情報処理装置101は、ステップS501〜S503にて作成されたビジネスプロセスに基づき、ビジネスプロセス定義405を生成し、外部メモリ211に記憶する。 In step S505, the information processing apparatus 101 generates the business process definition 405 based on the business process created in steps S501 to S503 and stores it in the external memory 211.

以上で、図6の説明を終了する。
This is the end of the description of FIG. 6.

図6は、ステップS503にて実行されるビジネスプロセステンプレート挿入処理のフローチャートの一例を示す図である。 FIG. 6 is a diagram showing an example of a flowchart of the business process template insertion process executed in step S503.

ステップS601において、情報処理装置101は、ビジネスプロセス定義に挿入するビジネスプロセステンプレート701の情報を取得し、RAM202へ記憶する。すなわち、ステップS601は、テンプレートを取得する処理の一例を示すステップである。挿入するビジネスプロセステンプレート701とは、ステップS502にて特定された(例:ソフトウェア開発者がドラッグ&ドロップした)ビジネスプロセステンプレート701である。 In step S601, the information processing apparatus 101 acquires information of the business process template 701 to be inserted into the business process definition and stores it in the RAM 202. That is, step S601 is a step showing an example of a process of acquiring a template. The business process template 701 to be inserted is the business process template 701 specified in step S502 (eg, dragged and dropped by the software developer).

ステップS602において、情報処理装置101は、ステップS601にて取得したビジネスプロセステンプレート内のプレースホルダーの情報を取得する。 In step S602, the information processing apparatus 101 acquires the placeholder information in the business process template acquired in step S601.

ステップS603において、情報処理装置101は、ステップS602にて取得したプレースホルダーの数を判定し、0個の場合はステップS607に進み、1個以上の場合はステップS604に進む。 In step S603, the information processing apparatus 101 determines the number of placeholders acquired in step S602. If the number is 0, the process proceeds to step S607. If the number is 1 or more, the process proceeds to step S604.

ステップS604において、情報処理装置101は、ステップS601にて取得したビジネスプロセステンプレート及びステップS602にて取得したプレースホルダーを表示する。すなわち、ステップS604は、取得されたテンプレートを、変数を含めた形式で表示する処理の一例を示すステップである。具体的には、ビジネスプロセステンプレート編集ダイアログ450(図8の800)を表示する。 In step S604, the information processing apparatus 101 displays the business process template acquired in step S601 and the placeholder acquired in step S602. That is, step S604 is a step showing an example of processing for displaying the acquired template in a format including variables. Specifically, the business process template edit dialog 450 (800 in FIG. 8) is displayed.

ステップS605において、情報処理装置101は、プレースホルダー値入力部452を用いて、プレースホルダーを置換する値の入力を受け付ける。すなわち、ステップS605は、取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける処理の一例を示すステップである。具体的には、プレースホルダー一覧をプレースホルダー値エディタ801に表示し、ソフトウェア開発者による入力を受け付ける。 In step S605, the information processing apparatus 101 uses the placeholder value input unit 452 to accept the input of the value for replacing the placeholder. That is, step S605 is a step showing an example of a process of receiving an input of a value for replacing a variable included in the acquired template. Specifically, the placeholder list is displayed on the placeholder value editor 801, and the input by the software developer is accepted.

図8の802は、プレースホルダー値エディタ801にてプレースホルダーを置換する値の入力を受け付けた例である。ここでは、プレースホルダー{DM_CODE}に“EMP_MST”(顧客マスタ)を、プレースホルダー{WK_CODE}に値「WK_ID」の入力を受け付けたとする。 Reference numeral 802 in FIG. 8 is an example in which the placeholder value editor 801 receives an input of a value for replacing a placeholder. Here, it is assumed that “EMP_MST” (customer master) is input to the placeholder {DM_CODE} and the value “WK_ID” is input to the placeholder {WK_CODE}.

なお、「データモデルコード」のプレースホルダーに対して値の入力をする場合は、既存のデータモデル(データモデル定義404)から選択することができるとしてもよい(不図示)。また、「パラメータ」等のプレースホルダーに対して値の入力をする場合は、呼出元の入出力定義403から受け取ると予想される値、「機能コード」で指定した処理が返すと予想される戻り値等から選択ができるとしてもよい(不図示)。これにより、プレースホルダーを置換する値の入力を効率化することができるようになる。 Note that when a value is input to the “data model code” placeholder, it may be possible to select from an existing data model (data model definition 404) (not shown). In addition, when inputting a value to a placeholder such as "parameter", the value expected to be received from the input/output definition 403 of the calling source, the return expected to be returned by the process specified by the "function code" The value may be selectable (not shown). As a result, it becomes possible to efficiently input the value that replaces the placeholder.

すなわち、ステップS605は、ソフトウェアで用いるデータモデルを取得する処理の一例を示すステップであり、データモデル変数を置換する値として、取得されたデータモデルから選択を受け付ける処理の一例を示すステップである。 That is, step S605 is a step showing an example of a process of acquiring a data model used in software, and is a step showing an example of a process of accepting a selection from the acquired data model as a value for replacing a data model variable.

ステップS606において、情報処理装置101は、OKボタン803の押下を受け付けると、ステップS601にてRAM202に記憶したビジネスプロセステンプレート701の各プレースホルダーをステップS605にて受け付けた値に置換する。 When the information processing apparatus 101 receives the press of the OK button 803 in step S606, it replaces each placeholder of the business process template 701 stored in the RAM 202 in step S601 with the value received in step S605.

ステップS607において、情報処理装置101は、RAM202内のビジネスプロセステンプレート701を、ステップS502にて特定された挿入位置に挿入する。すなわち、ステップS607は、テンプレートに含まれる変数を受け付けた値に置換した当該テンプレートをソフトウェアの所定の位置に挿入する処理の一例を示すステップである。すなわち、ステップS607は、取得されたテンプレートに含まれる変数を受け付けた値に置換した当該テンプレートを、アプリケーションを構築するための定義情報の所定の位置に挿入する処理の一例を示すステップである。 In step S607, the information processing apparatus 101 inserts the business process template 701 in the RAM 202 into the insertion position specified in step S502. That is, step S607 is a step showing an example of a process of inserting the template in which the variable included in the template is replaced with the received value, into the predetermined position of the software. That is, step S607 is a step showing an example of a process of inserting the template, in which the variable included in the acquired template is replaced with the received value, into the predetermined position of the definition information for building the application.

具体的には、ステップS604にて表示されていたビジネスプロセステンプレートのプレースホルダー{DM_CODE}が“EMP_MST”(顧客マスタ)に、プレースホルダー{WK_CODE}が値「WK_ID」に置換した状態で、ステップS502にて特定された挿入位置に挿入する(図9の901)。 Specifically, with the placeholder {DM_CODE} of the business process template displayed in step S604 replaced by "EMP_MST" (customer master) and the placeholder {WK_CODE} replaced by the value "WK_ID", step S502. It inserts in the insertion position specified by (901 of FIG. 9).

以上で、図6の説明を終了する。
This is the end of the description of FIG. 6.

図10は、新規のビジネスプロセステンプレートを作成するフローチャートの一例を示す図である。 FIG. 10 is a diagram showing an example of a flowchart for creating a new business process template.

ステップS1001において、情報処理装置101は、新規のビジネスプロセステンプレートを作成する要求を受け付ける(図11)。図11では、ビジネスプロセステンプレートを識別するためのコード1101及びその名前1102の入力、並びに、Finishボタン1103の押下を受け付け、それらの値をRAM202に記憶しておく。ここでは、コード1101に“TEMPLATE_SAMPLE”、名前1102に“サンプルテンプレート”の値がそれぞれ入力されたとする。 In step S1001, the information processing apparatus 101 receives a request to create a new business process template (FIG. 11). In FIG. 11, the input of the code 1101 for identifying the business process template and its name 1102 and the pressing of the Finish button 1103 are accepted, and their values are stored in the RAM 202. Here, it is assumed that “TEMPLATE_SAMPLE” is input to the code 1101 and the value of “Sample template” is input to the name 1102.

ステップS1002において、情報処理装置101は、新規ビジネスプロセステンプレート作成画面(図12)を表示し、ロジック一覧部1201(図12)にて、新たなビジネスプロセステンプレート<ユーザ定義>407を構成する「制御コード」「データモデルコード」「機能コード」「パラメータ」「作業コード」の入力を受け付ける。すなわち、ステップS1002は、変数を含むテンプレートの作成を受け付ける処理の一例を示すステップである。 In step S1002, the information processing apparatus 101 displays the new business process template creation screen (FIG. 12), and the logic control unit 1201 (FIG. 12) configures a new business process template <user definition> 407, “control”. Input of "code" "data model code" "function code" "parameter" "work code" is accepted. That is, step S1002 is a step showing an example of processing for accepting the creation of a template including variables.

図13は、新規ビジネスプロセステンプレート作成画面で作成した新規ビジネスプロセステンプレートの一例を示す図である。1301〜1303のように、「制御コード」「データモデルコード」「機能コード」「パラメータ」「作業コード」に中括弧{}を用いることで、新規ビジネスプロセステンプレート内にプレースホルダーを作成することができる。 FIG. 13 is a diagram showing an example of a new business process template created on the new business process template creation screen. As in 1301 to 1303, it is possible to create a placeholder in a new business process template by using curly braces {} in "control code", "data model code", "function code", "parameter", and "work code". it can.

また、中括弧に囲まれた文字列を同じ文字列(例:1301及び1302)にすることにより、同一のプレースホルダーとして扱うことができる。つまり、この画面を用いて生成された新規ビジネスプロセステンプレートをビジネスプロセス定義に挿入する場合、プレースホルダー{DM_CODE}に対して設定した値を、プレースホルダー{DM_CODE}が定義されているすべての箇所に置換することができる。 Also, by making the character strings enclosed in braces the same character strings (eg 1301 and 1302), they can be treated as the same placeholder. In other words, when inserting a new business process template generated using this screen into the business process definition, the value set for the placeholder {DM_CODE} is added to all places where the placeholder {DM_CODE} is defined. Can be replaced.

これにより、ソフトウェア開発者が独自に作成する新規ビジネスプロセステンプレートにおいても、プレースホルダーを用いることができる。つまり、ソフトウェア開発者自身がプレースホルダーを含むテンプレートを自由に作成することができるようになるため、そのソフトウェア開発に適した柔軟なテンプレートを用いてソフトウェア開発を効率的に行う仕組みを提供することができるようになる。 As a result, the placeholder can be used even in the new business process template created independently by the software developer. In other words, software developers themselves will be able to freely create templates that include placeholders, so it is possible to provide a mechanism for efficient software development using flexible templates suitable for the software development. become able to.

ステップS1003において、情報処理装置101は、新たなビジネスプロセステンプレート<ユーザ定義>407に既存のビジネスプロセステンプレートを挿入する操作を受け付けたか否かを判定する。挿入操作を受け付けた場合はステップS1004に進み、受け付けなかった場合はステップS1005に進む。ビジネスプロセス部品1202(図12)には、「スニペット」と呼ばれる部品としてビジネスプロセステンプレート(421及び既存の407)が表示されており、既存のビジネスプロセステンプレートの挿入操作とは、ビジネスプロセス部品1202のビジネスプロセステンプレートをロジック一覧部1201にドラッグ&ドロップすることで、ビジネスプロセステンプレートを利用して新たなビジネスプロセステンプレート<ユーザ定義>407を作成することができる。 In step S1003, the information processing apparatus 101 determines whether an operation of inserting an existing business process template into the new business process template <user definition> 407 has been accepted. If the insertion operation is accepted, the process proceeds to step S1004, and if not, the process proceeds to step S1005. A business process template (421 and existing 407) is displayed in the business process component 1202 (FIG. 12) as a component called “snippet”, and the insertion operation of the existing business process template refers to the business process component 1202. By dragging and dropping the business process template onto the logic list portion 1201, a new business process template <user definition> 407 can be created using the business process template.

なお、本実施形態においては、図10のフローチャートにより作成された新たな「ビジネスプロセステンプレート<ユーザ定義>407は、ビジネスプロセス部品1202(図12)の「スニペット」に表示され選択できるようになるとしたが、この方法に限定するものではなく、ビジネスプロセステンプレート<組み込み>421とビジネスプロセステンプレート<ユーザ定義>407とを分けて表示するとしてもよいし、ビジネスプロセステンプレートが持つ設定に基づき、新たなビジネスプロセステンプレート<組み込み>421を作成するときにスニペットとして用いることができないビジネスプロセステンプレートがあってもよい。 In the present embodiment, the new “business process template <user definition> 407 created by the flowchart of FIG. 10 is displayed in the “snippet” of the business process component 1202 (FIG. 12) and can be selected. However, the method is not limited to this method, and the business process template <embedded> 421 and the business process template <user defined> 407 may be displayed separately, or a new business may be displayed based on the settings of the business process template. There may be business process templates that cannot be used as snippets when creating the process template <embedded> 421.

ステップS1004において、情報処理装置101は、新たなビジネスプロセステンプレート<ユーザ定義>407に既存のビジネスプロセステンプレートを挿入する。 In step S1004, the information processing apparatus 101 inserts an existing business process template into the new business process template <user definition> 407.

これにより、「制御コード」「データモデルコード」「機能コード」「パラメータ」「作業コード」の入力を容易にすることができる。また、ビジネスプロセステンプレートの部品(スニペット)を組み合わせて、複雑かつ高品質なビジネスプロセステンプレートを容易に作成することができるようになる。 This makes it easy to input the “control code”, “data model code”, “function code”, “parameter”, and “work code”. Further, it becomes possible to easily create a complicated and high-quality business process template by combining parts (snippets) of the business process template.

既存のビジネスプロセステンプレートを挿入した後は、ステップS1002と同様に新たなビジネスプロセステンプレート<ユーザ定義>407の「制御コード」「データモデルコード」「機能コード」「パラメータ」「作業コード」の入力及び修正を受け付けることができる。 After inserting the existing business process template, input the “control code”, “data model code”, “function code”, “parameter”, and “work code” of the new business process template <user definition> 407 as in step S1002. Corrections can be accepted.

ステップS1005において、情報処理装置101は、ステップS1001〜S1004にて作成した新たなビジネスプロセステンプレート<ユーザ定義>407を外部メモリ211に記憶する。すなわち、ステップS1005は、受け付けたテンプレートを作成する処理の一例を示すステップである。 In step S1005, the information processing apparatus 101 stores the new business process template <user definition> 407 created in steps S1001 to S1004 in the external memory 211. That is, step S1005 is a step showing an example of processing for creating the accepted template.

以上により、ソフトウェア開発者自身がテンプレートを自由に作成することができるようになるため、そのソフトウェア開発に適した柔軟なテンプレートを用いてソフトウェア開発を効率的に行う仕組みを提供することができるようになる。
As described above, since the software developer can freely create the template, it is possible to provide a mechanism for efficiently performing the software development by using the flexible template suitable for the software development. Become.

図14は、アプリケーション構築のフローチャートの一例を示す図である。 FIG. 14 is a diagram showing an example of a flowchart for building an application.

ステップS1401において、情報処理装置101は、ユーザによるアプリケーション構築の指示(不図示)を受け付けると、外部メモリ211に記憶されているリポジトリ定義のアプリケーション定義をRAM202に読み込む。なお、リポジトリ定義には、アプリケーションの構築に用いる、データベース定義、データモデル定義、入出力(画面)定義、ビジネスプロセス定義等が含まれる。これらの詳細については、既知の技術であるため、その説明は省略する。 In step S1401, when the information processing apparatus 101 receives an application construction instruction (not shown) from the user, the application definition of the repository definition stored in the external memory 211 is read into the RAM 202. It should be noted that the repository definition includes a database definition, a data model definition, an input/output (screen) definition, a business process definition, etc. used for building an application. Since these details are known techniques, the description thereof will be omitted.

すなわち、ステップS1401は、アプリケーションの構築指示を受け付ける処理の一例を示すステップである。また、リポジトリ定義は、アプリケーションの定義を記憶する手段の一例である。 That is, step S1401 is a step showing an example of processing for receiving an application construction instruction. The repository definition is an example of a means for storing the definition of the application.

ステップS1402において、情報処理装置101は、外部メモリ211に記憶されているリポジトリ定義部のデータモデル定義をRAM202に読み込む。 In step S1402, the information processing apparatus 101 reads the data model definition of the repository definition unit stored in the external memory 211 into the RAM 202.

ステップS1403において、情報処理装置101は、外部メモリ211に記憶されているリポジトリ定義部の入出力(画面)定義をRAM202に読み込む。 In step S1403, the information processing apparatus 101 reads the input/output (screen) definition of the repository definition unit stored in the external memory 211 into the RAM 202.

ステップS1404において、情報処理装置101は、外部メモリ211に記憶されているリポジトリ定義部のビジネスプロセス定義をRAM202に読み込む。 In step S1404, the information processing apparatus 101 reads the business process definition of the repository definition unit stored in the external memory 211 into the RAM 202.

ステップS1405において、情報処理装置101は、外部メモリ211に記憶されているリポジトリ定義部のデータベース定義をRAM202に読み込む。 In step S1405, the information processing apparatus 101 reads the database definition of the repository definition unit stored in the external memory 211 into the RAM 202.

ステップS1406において、情報処理装置101は、RAM202に読み込んだリポジトリ定義部の各定義に基づき、アプリケーションのソースコードを生成する。 In step S1406, the information processing apparatus 101 generates a source code of the application based on each definition of the repository definition unit read in the RAM 202.

なお、生成されたソースコードにはプログラミング言語で記載されたファイルに加え、HTML、JSP、JavaScript(登録商標)等のアプリケーションやサービスの提供に利用されるファイルも含まれる。なお、本実施形態においては、プログラミング言語をJava(登録商標)としたが、これに限定に限定するものではなく、その他のプログラミング言語を用いるとしてもよい。なお、本実施形態においては、HTML、JSP、JavaScript(登録商標)等のファイルを生成するとしたが、当然ながら、そのアプリケーションやサービスの提供に利用するファイルであれば、その他の形式のファイルであってもよい。 The generated source code includes files used in providing applications and services such as HTML, JSP, and Java Script (registered trademark) in addition to files described in a programming language. Although the programming language is Java (registered trademark) in the present embodiment, the programming language is not limited to this, and other programming languages may be used. In the present embodiment, files such as HTML, JSP, JavaScript (registered trademark) are generated, but it goes without saying that files of other formats can be used as long as they are files used to provide the application or service. May be.

ステップS1407において、情報処理装置101は、ステップS1406にて生成したソースコードをアプリケーションサーバ102に配置(デプロイ)する。すなわち、ステップS1407は、挿入されたテンプレートを含む定義情報に基づき、アプリケーションを構築する処理の一例を示すステップである。これにより、アプリケーションサーバ102上でアプリケーションが動作するようになる。 In step S1407, the information processing apparatus 101 arranges (deploys) the source code generated in step S1406 on the application server 102. That is, step S1407 is a step showing an example of a process of constructing an application based on the definition information including the inserted template. As a result, the application runs on the application server 102.

以上により、テンプレートを用いて効率的にアプリケーションを構築することができるようになる。
以上で、図14の説明を終了する。
As described above, the application can be efficiently constructed using the template.
This is the end of the description of FIG.

以上により、テンプレートを用いてソフトウェア開発を効率的に行うことができるようになる。
As described above, it becomes possible to efficiently perform software development using the template.

なお、本実施形態においては、テンプレートを用いてソフトウェアの開発を行うとしたが、ソフトウェアの開発に限定するものではなく、入出力定義403、データモデル定義404等、その他の種類のテンプレート(例:レイアウトやデザインのテンプレート、メッセージのテンプレート、汎用的なデータやロジックのテンプレート等)にも本願発明を適用すれば、デザイン、メッセージ、文書、データ、ロジック等に係る開発や作業を効率的にすることができるようになる。
In this embodiment, the software is developed using the template, but the invention is not limited to the software development, and other types of templates such as the input/output definition 403 and the data model definition 404 (eg: Applying the present invention to layout and design templates, message templates, general-purpose data and logic templates, etc.) will make development and work related to design, messages, documents, data, logic, etc. efficient. Will be able to.

以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読み出し、実行することによっても本発明の目的が達成されることは言うまでもない。 As described above, the recording medium recording the program that realizes the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus executes the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing.

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記録した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium recording the program constitutes the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク等を用いることが出来る。 As a recording medium for supplying the program, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a DVD-ROM, a magnetic tape, a non-volatile memory card, a ROM, an EEPROM, and a silicon. A disk or the like can be used.

また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, not only the functions of the above-described embodiments are realized by executing the program read by the computer, but also the OS (operating system) running on the computer is actually executed based on the instructions of the program. It goes without saying that a case where a part or all of the processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program read from the recording medium is written in the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer, the function expansion board is instructed based on the instruction of the program code. Needless to say, this also includes the case where the CPU or the like included in the function expansion unit performs some or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、ひとつの機器から成る装置に適用しても良い。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Further, the present invention may be applied to a system including a plurality of devices or an apparatus including a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus. In this case, by reading the recording medium storing the program for achieving the present invention into the system or device, the system or device can enjoy the effects of the present invention.

上記プログラムの形態は、オブジェクトコード、インタプリタにより実行されるプログラムコード、OS(オペレーティングシステム)に供給されるスクリプトデータ等の形態から成ってもよい。 The form of the program may be an object code, a program code executed by an interpreter, script data supplied to an OS (operating system), or the like.

さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。
Furthermore, by downloading and reading a program for achieving the present invention from a server, a database or the like on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. It should be noted that the present invention also includes all configurations that combine the above-described embodiments and modifications thereof.

101 情報処理装置
102 プログラム生成サーバ
103 データベースサーバ
104 アプリケーションクライアント
105 アプリケーションサーバ
106 ネットワーク
101 Information Processing Device 102 Program Generation Server 103 Database Server 104 Application Client 105 Application Server 106 Network

Claims (7)

テンプレートを用いてソフトウェアの開発を行う情報処理装置で実行可能なプログラムであって、
前記情報処理装置を、
前記テンプレートを取得するテンプレート取得手段と、
前記テンプレート取得手段により取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける値受付手段と、
前記テンプレート取得手段により取得されたテンプレートに含まれる変数を前記値受付手段により受け付けた値に置換した当該テンプレートを前記ソフトウェアの所定の位置に挿入するテンプレート挿入手段
として機能させるためのプログラム。
A program that can be executed by an information processing device that develops software using a template,
The information processing device,
Template acquisition means for acquiring the template,
A value receiving unit that receives an input of a value that replaces a variable included in the template acquired by the template acquiring unit;
A program for functioning as template insertion means for inserting the template obtained by replacing the variable included in the template acquired by the template acquisition means with the value accepted by the value acceptance means at a predetermined position of the software.
前記テンプレート取得手段により取得されたテンプレートを、前記変数を含めた形式で表示するテンプレート表示手段として更に機能させ、
前記値受付手段は、前記変数毎に当該変数を置換する値の入力を受け付けること
を特徴とする請求項1に記載のプログラム。
Causing the template acquired by the template acquisition means to further function as template display means for displaying in a format including the variables,
The program according to claim 1, wherein the value receiving unit receives an input of a value that replaces the variable for each variable.
前記変数を含む前記テンプレートの作成を受け付けるテンプレート作成受付手段と、
前記テンプレート作成受付手段により受け付けたテンプレートを作成するテンプレート作成手段として更に機能させること
を特徴とする請求項1又は2に記載のプログラム。
Template creation accepting means for accepting creation of the template including the variable,
The program according to claim 1 or 2, further functioning as a template creating unit that creates a template accepted by the template creation accepting unit.
前記ソフトウェアで用いるデータモデルを取得するデータモデル取得手段として更に機能させ、
前記変数は、データモデルを表すデータモデル変数を含み、
前記値受付手段は、
前記データモデル変数を置換する値として、前記データモデル取得手段により取得されたデータモデルから選択を受け付けること
を特徴とする請求項1乃至3のいずれか1項に記載のプログラム。
Further functioning as a data model acquisition means for acquiring a data model used in the software,
The variables include data model variables that represent a data model,
The value receiving means,
4. The program according to claim 1, wherein a selection from the data model acquired by the data model acquisition unit is accepted as a value for replacing the data model variable.
テンプレートを用いてアプリケーションを構築する情報処理装置で実行可能なプログラムであって、
前記情報処理装置を、
前記テンプレートを取得するテンプレート取得手段と、
前記テンプレート取得手段により取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける値受付手段と、
前記テンプレート取得手段により取得されたテンプレートに含まれる変数を前記値受付手段により受け付けた値に置換した当該テンプレートを、前記アプリケーションを構築するための定義情報の所定の位置に挿入するテンプレート挿入手段と、
前記テンプレート挿入手段により挿入されたテンプレートを含む前記定義情報に基づき、前記アプリケーションを構築するアプリケーション構築手段
として機能させるためのプログラム。
A program that can be executed by an information processing device that builds an application using a template,
The information processing device,
Template acquisition means for acquiring the template,
A value receiving unit that receives an input of a value that replaces a variable included in the template acquired by the template acquiring unit;
Template inserting means for inserting the template obtained by replacing the variable contained in the template acquired by the template acquiring means with the value accepted by the value accepting means, into a predetermined position of the definition information for building the application,
A program for functioning as an application construction means for constructing the application based on the definition information including the template inserted by the template insertion means.
テンプレートを用いてソフトウェアの開発を行う情報処理装置であって、
前記テンプレートを取得するテンプレート取得手段と、
前記テンプレート取得手段により取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける値受付手段と、
前記テンプレート取得手段により取得されたテンプレートに含まれる変数を前記値受付手段により受け付けた値に置換した当該テンプレートを前記ソフトウェアの所定の位置に挿入するテンプレート挿入手段と
を備えることを特徴とする情報処理装置。
An information processing device that develops software using a template,
Template acquisition means for acquiring the template,
A value receiving unit that receives an input of a value that replaces a variable included in the template acquired by the template acquiring unit;
And a template insertion unit that inserts the template obtained by replacing the variable included in the template acquired by the template acquisition unit with the value received by the value reception unit at a predetermined position of the software. apparatus.
テンプレートを用いてソフトウェアの開発を行う情報処理装置における処理方法であって、
前記情報処理装置が、
前記テンプレートを取得するテンプレート取得ステップと、
前記テンプレート取得ステップにより取得されたテンプレートに含まれる変数を置換する値の入力を受け付ける値受付ステップと、
前記テンプレート取得ステップにより取得されたテンプレートに含まれる変数を前記値受付ステップにより受け付けた値に置換した当該テンプレートを前記ソフトウェアの所定の位置に挿入するテンプレート挿入ステップと
を実行することを特徴とする処理方法。
A processing method in an information processing device for developing software using a template,
The information processing device is
A template acquisition step of acquiring the template,
A value receiving step of receiving an input of a value for replacing a variable included in the template acquired by the template acquiring step,
A template inserting step of inserting the template obtained by replacing the variable included in the template obtained by the template obtaining step with the value received by the value receiving step at a predetermined position of the software. Method.
JP2019007439A 2019-01-21 2019-01-21 Information processing device, its control method, and program Active JP7280475B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019007439A JP7280475B2 (en) 2019-01-21 2019-01-21 Information processing device, its control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019007439A JP7280475B2 (en) 2019-01-21 2019-01-21 Information processing device, its control method, and program

Publications (3)

Publication Number Publication Date
JP2020119053A true JP2020119053A (en) 2020-08-06
JP2020119053A5 JP2020119053A5 (en) 2022-01-25
JP7280475B2 JP7280475B2 (en) 2023-05-24

Family

ID=71890758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019007439A Active JP7280475B2 (en) 2019-01-21 2019-01-21 Information processing device, its control method, and program

Country Status (1)

Country Link
JP (1) JP7280475B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010020680A (en) * 2008-07-14 2010-01-28 Mitsubishi Electric Corp Information processing apparatus and program
US20140223408A1 (en) * 2013-02-07 2014-08-07 Oracle International Corporation Integration project center

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010020680A (en) * 2008-07-14 2010-01-28 Mitsubishi Electric Corp Information processing apparatus and program
US20140223408A1 (en) * 2013-02-07 2014-08-07 Oracle International Corporation Integration project center

Also Published As

Publication number Publication date
JP7280475B2 (en) 2023-05-24

Similar Documents

Publication Publication Date Title
JPH10254689A (en) Application constitution design supporting system for client/server system
JP5626333B2 (en) Program creation support apparatus, program, and information system
CN113760266B (en) Method and device for creating function module file and electronic equipment
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
CN113010168B (en) User interface generation method based on scene tree
JP7014960B2 (en) Information processing equipment, servers, their processing methods and programs
JP6795767B2 (en) Information processing device and its processing method and program
JP7280475B2 (en) Information processing device, its control method, and program
CN114090002A (en) Front-end interface construction method and device, electronic equipment and storage medium
JP6836077B2 (en) Information processing device and its processing method and program
JP7421137B2 (en) Information processing device, information processing method and program
JP7477773B2 (en) Information processing device, control method, and program
JP7315817B2 (en) Information processing device, its control method, and program
JP2020119409A (en) Program, information processing apparatus, and processing method
JP2019082896A (en) Information processing device, processing method and program of the same
JP7060788B2 (en) Information processing equipment, information processing equipment control methods, and computer programs
JP7210093B2 (en) Information processing device, its processing method and program
JP7381900B2 (en) Information processing system, its control method and program
JP7048912B2 (en) Information processing equipment and its processing method and program
KR102382703B1 (en) Multi-Channel Integration Platform Authoring Device and Method Thereby
JP6652724B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2022178985A (en) Information processing device, control method, and program
JP2020119170A (en) Program, information processing apparatus, and processing method
JP2019109732A (en) Information processing system, control method thereof and program, and information processing apparatus, control method thereof and program
CN116737144A (en) Mobile terminal application release method, device and medium based on low codes

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230330

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230424

R151 Written notification of patent or utility model registration

Ref document number: 7280475

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151