JP2021152978A - Program generation device, control method and computer program - Google Patents

Program generation device, control method and computer program Download PDF

Info

Publication number
JP2021152978A
JP2021152978A JP2021109993A JP2021109993A JP2021152978A JP 2021152978 A JP2021152978 A JP 2021152978A JP 2021109993 A JP2021109993 A JP 2021109993A JP 2021109993 A JP2021109993 A JP 2021109993A JP 2021152978 A JP2021152978 A JP 2021152978A
Authority
JP
Japan
Prior art keywords
item
definition
display
display area
dictionary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021109993A
Other languages
Japanese (ja)
Inventor
剛 高塚
Takeshi Takatsuka
剛 高塚
文洋 柴本
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 JP2021109993A priority Critical patent/JP2021152978A/en
Publication of JP2021152978A publication Critical patent/JP2021152978A/en
Priority to JP2022126475A priority patent/JP7453577B2/en
Priority to JP2024033437A priority patent/JP2024055993A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To provide a system of easily setting a definition file when generating a program to be used in a Web application.SOLUTION: An information processing unit generates a program to be used as a Web application and includes: definition management means configured to manage a definition file; item dictionary management means configured to manage a correspondence between one or more items and predetermined definition information corresponding to the item; and display control means configured to display, in a display part, a first display region for displaying a display item showing a definition file managed in the definition management means and a second display region different from the first display region. The item dictionary management means is configured to set a definition file corresponding to the display item as a management object in response to a drag-and-drop operation of a display item displayed in the first display region to the second display region.SELECTED DRAWING: Figure 11

Description

本発明は、プログラム生成装置、制御方法、およびコンピュータプログラムに関する。 The present invention relates to a program generator, a control method, and a computer program.

近年、Webアプリケーションの開発は、プログラミングを行わずに、プログラム生成装置により自動生成されている。プログラム生成装置上で実行される自動生成ツールは、プログラミングの代わりに、所定のルールに基づいた定義を用いて、Webアプリケーションの構築を行う。ここで、Webアプリケーションを構築するための各定義は、アプリケーション内で利用するデータベースのスキーマ情報や画面情報ごとに設定される。 In recent years, the development of Web applications has been automatically generated by a program generator without programming. The automatic generation tool executed on the program generation device constructs the Web application by using the definition based on a predetermined rule instead of programming. Here, each definition for constructing the Web application is set for each of the schema information and screen information of the database used in the application.

特許文献1には、上流設計ツールで定義情報を用いてプログラムを生成するシステム設計支援プログラムが開示されている。 Patent Document 1 discloses a system design support program that generates a program using definition information with an upstream design tool.

特開2007−41707号公報Japanese Unexamined Patent Publication No. 2007-41707

ところで、Webアプリケーションの規模が大きくなるに従い、多くの定義ファイルが用いられることとなる。この場合、自動生成ツールは、同一のキーワードを複数の定義ファイルに対して設定することとなり、ユーザの操作が煩雑になり得る。そのため、定義ファイルは、一元管理されることが望ましい。しかしながら、特許文献1に記載の技術では、既存の定義ファイルを管理する場合におけるユーザの操作性について、何ら考慮されていない。 By the way, as the scale of the Web application increases, many definition files will be used. In this case, the automatic generation tool sets the same keyword for a plurality of definition files, which can complicate the user's operation. Therefore, it is desirable that the definition files are centrally managed. However, in the technique described in Patent Document 1, no consideration is given to the operability of the user when managing the existing definition file.

そこで本発明は、Webアプリケーションに用いられるプログラムを生成する際に、定義ファイルを容易に設定する仕組みを提供することを目的とする Therefore, an object of the present invention is to provide a mechanism for easily setting a definition file when generating a program used for a Web application.

Webアプリケーションとして用いられるプログラムを生成する情報処理装置であって、データモデルを定義するデータモデル定義ファイルまたはWebアプリケーションの画面への入力される項目とWebアプリケーションの画面に出力する項目とを定義する入出力定義ファイルを含む定義ファイルを管理する定義管理手段と、1または複数の項目と、該項目に対応する所定の定義情報との対応関係を管理する項目辞書管理手段と、前記定義管理手段で管理する定義ファイルを示す表示アイテムが表示される第一の表示領域と、前記第一の表示領域とは異なる第二の表示領域とを表示部に表示する表示制御手段と、を有し、前記項目辞書管理手段は、前記第一の表示領域に表示される表示アイテムが前記第二の表示領域に対してドラッグアンドドロップ操作されることに応じて、該表示アイテムに対応する定義ファイルを管理対象に設定することを特徴とする。 An input / output device that generates a program used as a Web application and defines the data model definition file that defines the data model or the items that are input to the screen of the Web application and the items that are output to the screen of the Web application. It is managed by the definition management means that manages the definition file including the output definition file, the item dictionary management means that manages the correspondence between one or more items and the predetermined definition information corresponding to the item, and the definition management means. The item includes a first display area in which a display item indicating a definition file to be displayed is displayed, and a display control means for displaying a second display area different from the first display area on the display unit. The dictionary management means manages the definition file corresponding to the display item in response to the drag-and-drop operation of the display item displayed in the first display area with respect to the second display area. It is characterized by setting.

Webアプリケーションに用いられるプログラムを生成する際に、定義ファイルを容易に設定する仕組みを提供することが可能となる。 It is possible to provide a mechanism for easily setting a definition file when generating a program used for a Web application.

本実施形態における情報処理システムの一例を示す図である。It is a figure which shows an example of the information processing system in this embodiment. 本実施形態における情報処理システムの各構成に適用可能なハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware configuration applicable to each configuration of the information processing system in this embodiment. 本実施形態におけるプログラム開発装置の機能構成を示す図である。It is a figure which shows the functional structure of the program development apparatus in this embodiment. 本実施形態におけるプログラム開発装置の機能構成を示す図である。It is a figure which shows the functional structure of the program development apparatus in this embodiment. 項目辞書が新規作成される場合の処理を示すフローチャートである。It is a flowchart which shows the process when the item dictionary is newly created. 項目辞書を新規作成するための操作画面の一例を示す図である。It is a figure which shows an example of the operation screen for creating a new item dictionary. 項目辞書ファイルを表示する画面の一例を示す図である。It is a figure which shows an example of the screen which displays the item dictionary file. 項目辞書に対して項目を追加する場合の処理を示すフローチャートである。It is a flowchart which shows the process when the item is added to the item dictionary. 項目辞書ファイルにエントリを追加する場合の表示画面の一例を示す図である。It is a figure which shows an example of the display screen at the time of adding an entry to an item dictionary file. エントリに1つの定義項目を追加する場合の表示画面の一例を示す図である。It is a figure which shows an example of the display screen at the time of adding one definition item to an entry. エントリに複数の定義項目を追加する場合の表示画面の一例を示す図である。It is a figure which shows an example of the display screen at the time of adding a plurality of definition items to an entry. 項目辞書をリポジトリ定義に反映させる場合の処理を示すフローチャートである。It is a flowchart which shows the process when the item dictionary is reflected in the repository definition. 項目辞書をリポジトリ定義に反映させる場合の表示画面の一例を示す図である。It is a figure which shows an example of the display screen when the item dictionary is reflected in the repository definition. 項目辞書をリポジトリ定義に反映させる場合の表示画面の一例を示す図である。It is a figure which shows an example of the display screen when the item dictionary is reflected in the repository definition. 辞書エントリ及び辞書項目の内容を更新する場合の処理を示すフローチャートである。It is a flowchart which shows the process at the time of updating the contents of a dictionary entry and a dictionary item. Webアプリケーション生成する処理を示すフローチャートである。It is a flowchart which shows the process of generating a Web application.

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

図1は、本実施形態に係わるプログラム開発装置(開発者がWebアプリケーション生成のために使用する情報処理装置)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバの構成の一例を示すシステム(情報処理システム)構成図である。 FIG. 1 shows an example of the configuration of a program development device (information processing device used by a developer to generate a Web application), a program development server, a database server, an application client (client device), and an application server according to the present embodiment. It is a block diagram of the system (information processing system) shown.

プログラム開発装置101は、開発者の操作に従って画面レイアウト及びデータベース検索指示などを定義する。プログラム開発装置101単体では、開発者の入力受付を行い、後述するプログラム開発サーバ102に実際のプログラム生成処理、アプリケーション生成処理をさせてもよいし、プログラム開発装置101単体でプログラム生成、アプリケーション生成まで処理してもよい。 The program development device 101 defines a screen layout, a database search instruction, and the like according to the operation of the developer. The program development device 101 alone may accept input from the developer and cause the program development server 102, which will be described later, to perform actual program generation processing and application generation processing, or the program development device 101 alone may perform program generation and application generation. It may be processed.

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

プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。 The program development server 102a to 102b (information processing device) develops a program according to the developer's instruction input by the program development device 101. The program development server 102a may be arranged in a network 106 such as a LAN, and the program development server 102b may be arranged on the Internet or the cloud.

データベースサーバ103a〜103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。 The database servers 103a to 103b (information processing apparatus) are databases used by the developed application, and in the present invention, they may be used for operation confirmation and the like at the time of development. For example, the database server 103 may be configured by the same device as the program development device 101 for use by the developer, or may be arranged in a network 106 such as a LAN (database server 103a). It may also be located on the Internet or in the cloud (database server 103b). When the program development device 101 cooperates with the program development server 102, the program development server 102 and the database server 103 may be configured in the same device.

アプリケーションサーバ105a〜105b(情報処理装置)は、プログラム開発装置101で開発されたアプリケーションを実行する。LANなどのネットワーク106内に配置されてもよい(アプリケーションサーバ105a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションサーバ105b)。また、ネットワーク106、インターネット、クラウド上のデータベースサーバ103と接続して動作する可能である。 The application servers 105a to 105b (information processing device) execute the application developed by the program development device 101. It may be arranged in a network 106 such as a LAN (application server 105a), or may be arranged on the Internet or the cloud (application server 105b). Further, it can operate by connecting to the network 106, the Internet, and the database server 103 on the cloud.

アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。また、情報処理装置は、携帯端末やタブレット型の端末であってもよい。 The application clients 104a to 104b (information processing devices) are user input terminals that operate the application program developed by the program development device 101 in cooperation with the application server 105. It may be arranged in a network 106 such as a LAN (application client 104a), or may be arranged on the Internet or the cloud (application client 104b). Further, the information processing device may be a mobile terminal or a tablet type terminal.

図2は、本実施形態に係わるプログラム開発装置101、プログラム開発サーバ102、データベースサーバ103、アプリケーションクライアント104、アプリケーションサーバ105として適用可能な各ハードウェア構成の一例を示すブロック図である。 FIG. 2 is a block diagram showing an example of each hardware configuration applicable as the program development device 101, the program development server 102, the database server 103, the application client 104, and the application server 105 according to the present embodiment.

図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。 In FIG. 2, the CPU 201 comprehensively 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 a program for realizing various functions described later of the information processing device such as each server, client, and device.

RAM202は、CPU201の主メモリ、ワークエリア、一時待避領域等として機能する。 The RAM 202 functions as a main memory, a work area, a temporary save area, and the like 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 pointing devices such as a keyboard and a mouse in the information processing device.

出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。つまり、出力部210は、画面を表示する表示部としての機能を備える。この場合、CPU201は、出力コントローラ206を介して表示部の表示を制御することが可能である。換言すると、CPU201は、表示制御手段の一態様である。 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. That is, the output unit 210 has a function as a display unit for displaying the screen. In this case, the CPU 201 can control the display of the display unit via the output controller 206. In other words, the CPU 201 is one aspect of the display control means.

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

通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。 The communication I / F controller 208 executes a communication control process with an external device via the network.

図3および図4を用いて、プログラム開発装置101の機能構成を説明する。なお、プログラム開発装置101における各機能は、プログラム装置101のCPU201により実行されるものである。また、CPU201によって実行されるプログラム212は、外部メモリ211に記録されており、必要に応じてRAM202にロードされる。つまり、各機能は、CPU201とメモリ(RAM202)とが協業することにより実現される。 The functional configuration of the program development apparatus 101 will be described with reference to FIGS. 3 and 4. Each function in the program development device 101 is executed by the CPU 201 of the program device 101. Further, the program 212 executed by the CPU 201 is recorded in the external memory 211, and is loaded into the RAM 202 as needed. That is, each function is realized by the cooperation of the CPU 201 and the memory (RAM 202).

プログラム開発装置101は、リポジトリ定義部300と、項目辞書管理部320と、リポジトリ定義編集部310と、項目辞書参照命令部330と、Webアプリケーション生成部340を含む。 The program development device 101 includes a repository definition unit 300, an item dictionary management unit 320, a repository definition editing unit 310, an item dictionary reference command unit 330, and a Web application generation unit 340.

リポジトリ定義部300は、データベース定義406と、アプリケーション定義401と、データモデル定義403と、入出力定義402と、ビジネスプロセス定義404とを含む。 The repository definition unit 300 includes a database definition 406, an application definition 401, a data model definition 403, an input / output definition 402, and a business process definition 404.

データモデル定義403および入出力定義402は、複数の項目定義が設定される。そして、各項目定義は、項目辞書参照情報405と対応づけられて記憶される。このため、データモデル定義403および入出力定義402は、後述する項目辞書管理部320により管理される情報を参照し定義として用いることが可能となる。 A plurality of item definitions are set in the data model definition 403 and the input / output definition 402. Then, each item definition is stored in association with the item dictionary reference information 405. Therefore, the data model definition 403 and the input / output definition 402 can be used as definitions by referring to the information managed by the item dictionary management unit 320, which will be described later.

リポジトリ定義部300は、入出力定義402として、プログラムへ引数として入力される項目を定義する入力定義情報と、プログラムから処理結果として出力する項目を定義する出力定義情報とを入出力定義情報として管理する。ここで、入力定義情報は、生成されたWebアプリケーションの画面を介して当該Webアプリケーションのユーザが入力する入力項目を定義した情報である。また、出力定義情報は、生成されたWebアプリケーションの画面として出力する出力項目を定義した情報である。 As the input / output definition 402, the repository definition unit 300 manages the input definition information that defines the items input as arguments to the program and the output definition information that defines the items to be output as the processing result from the program as input / output definition information. do. Here, the input definition information is information that defines input items that are input by the user of the Web application via the screen of the generated Web application. The output definition information is information that defines output items to be output as a screen of the generated Web application.

ユーザ(例えば、Webアプリケーション開発者)は、リポジトリ定義部300が管理する各種定義に基づいて、Webアプリケーション画面の入出力項目を直感的に追加・変更・削除することが可能となる。このことにより、ユーザは、Webアプリケーションとして用いられるプログラムを容易に生成することができる。なお、上述した「追加・変更・削除」は、レイアウトエディタ等のGUIを用いて行われる。 A user (for example, a Web application developer) can intuitively add / change / delete input / output items on the Web application screen based on various definitions managed by the repository definition unit 300. As a result, the user can easily generate a program used as a Web application. The above-mentioned "addition / change / deletion" is performed using a GUI such as a layout editor.

データモデル定義403は、データベースのスキーマ情報(すなわち、項目の属性や名称、桁数)を管理する情報である。 The data model definition 403 is information for managing the schema information of the database (that is, the attribute, name, and number of digits of the item).

ビジネスプロセス定義404は、業務フローを管理する情報である。 The business process definition 404 is information for managing the business flow.

項目辞書参照情報405は、データモデル定義403および入出力定義402に対して、項目辞書管理部320が管理する項目辞書における所定の定義情報を参照するか否かを示す参照情報を管理する。 The item dictionary reference information 405 manages the data model definition 403 and the input / output definition 402 with reference information indicating whether or not to refer to the predetermined definition information in the item dictionary managed by the item dictionary management unit 320.

項目辞書管理部320は、定義すべき項目の項目辞書へ登録、編集および削除を行う機能および項目辞書の情報を管理する機能を備える。登録、変種および削除が行われた各項目は、項目辞書記憶部421によって管理される。 The item dictionary management unit 320 includes a function of registering, editing, and deleting an item to be defined in the item dictionary and a function of managing information in the item dictionary. Each item registered, modified and deleted is managed by the item dictionary storage unit 421.

項目辞書の新規作成は、項目辞書ファイル作成表示部424で表示される画面への操作により行うことが可能である。項目辞書の新規作成の処理は、図5を用いて後述する。 The item dictionary can be newly created by operating the screen displayed on the item dictionary file creation display unit 424. The process of creating a new item dictionary will be described later with reference to FIG.

項目辞書への項目の登録・編集・削除は、項目辞書編集表示部423で表示される画面への操作により行うことが可能である。項目辞書へ登録された項目は、定義種別と定義対象の組合せで一つの単位として管理される。以下、当該一つ単位のデータセットを「エントリ」と称する。登録された項目は、値データ、データモデル項目用のデータ、入出力項目用のデータとして、それぞれ管理される。登録された項目の各データは、リポジトリ定義編集部310により編集が可能である。具体的には、リポジトリ定義編集部310が、項目辞書参照命令部330を介して制御する項目辞書選択表示部422から利用可能である。なお、辞書への参照を示す情報は項目辞書参照情報405として記憶される。 Items can be registered / edited / deleted in the item dictionary by operating the screen displayed on the item dictionary edit display unit 423. The items registered in the item dictionary are managed as one unit by the combination of the definition type and the definition target. Hereinafter, the one-unit data set will be referred to as an "entry". The registered items are managed as value data, data for data model items, and data for input / output items. Each data of the registered items can be edited by the repository definition editing unit 310. Specifically, the repository definition editing unit 310 can be used from the item dictionary selection display unit 422 controlled via the item dictionary reference command unit 330. The information indicating the reference to the dictionary is stored as the item dictionary reference information 405.

Webアプリケーション生成部340は、Webアプリケーションを生成する機能を備える。リポジトリ定義解析部441は、項目辞書参照情報405に基いて項目辞書に登録されているリポジトリ情報を解析する。すなわち、リポジトリ定義解析部421は、項目辞書参照情報405に基いて、リポジトリ定義部400からデータベース定義406、データモデル定義403、入出力定義402、ビジネスプロセス定義404を読み込み解析する。Webアプリケーション生成部442は、ソースコードコンパイル部445を介し、Webアプリケーションとしてプログラムを生成することができる。 The Web application generation unit 340 has a function of generating a Web application. The repository definition analysis unit 441 analyzes the repository information registered in the item dictionary based on the item dictionary reference information 405. That is, the repository definition analysis unit 421 reads and analyzes the database definition 406, the data model definition 403, the input / output definition 402, and the business process definition 404 from the repository definition unit 400 based on the item dictionary reference information 405. The Web application generation unit 442 can generate a program as a Web application via the source code compilation unit 445.

図5は、項目辞書を新規作成する場合のフローチャートの一例である。なお、当該各フローは、プログラム開発装置101の各機能により実行される。 FIG. 5 is an example of a flowchart when a new item dictionary is created. Each of the flows is executed by each function of the program development device 101.

S500において、項目辞書管理部320は、表示部に表示される操作画面(不図示)より、新規辞書ファイルの生成を示す表示アイテムが選択された場合に、新規辞書の作成イベントを受信する。 In S500, the item dictionary management unit 320 receives a new dictionary creation event when a display item indicating the generation of a new dictionary file is selected from the operation screen (not shown) displayed on the display unit.

S510において、上述のイベントの受信に応じて、項目辞書管理部320の項目辞書ファイル作成表示部424は、新規辞書ファイル作成画面600を表示する。図6に新規辞書ファイル作成画面600の詳細を示す。図6は、項目辞書を新規作成するための操作画面の一例を示す図である。新規項目辞書作成画面600は、入力受付部601を備える。ユーザは、入力受付部601からコードおよび名前の入力が可能となる。つまり、新規作成される項目辞書のコードおよび名前は、新規辞書ファイル作成画面600において入力されたコードおよび名前に基づいて決定される。本実施例では、新規辞書ファイル作成画面600において、コードに「customer」が、名前に「顧客辞書」が、それぞれ入力された例を示す。 In S510, in response to the reception of the above-mentioned event, the item dictionary file creation display unit 424 of the item dictionary management unit 320 displays the new dictionary file creation screen 600. FIG. 6 shows the details of the new dictionary file creation screen 600. FIG. 6 is a diagram showing an example of an operation screen for newly creating an item dictionary. The new item dictionary creation screen 600 includes an input reception unit 601. The user can input the code and the name from the input reception unit 601. That is, the code and name of the newly created item dictionary are determined based on the code and name input on the new dictionary file creation screen 600. In this embodiment, an example in which "customer" is input as a code and "customer dictionary" is input as a name on the new dictionary file creation screen 600 is shown.

S520において、項目辞書管理部320は、Finishボタン620が押下されたことに応じて、新規に項目辞書ファイルを作成する。 In S520, the item dictionary management unit 320 creates a new item dictionary file in response to the pressing of the Finish button 620.

次に、図7を用いて、図5のフローにより作成された項目辞書ファイルについて説明する。 Next, the item dictionary file created by the flow of FIG. 5 will be described with reference to FIG. 7.

図7に項目辞書ファイルを表示する画面の一例を示す図である。。図7(a)は、項目辞書ファイルを編集可能な編集画面である。編集画面700は、項目辞書編集表示部423により表示される画面である。図7(b)は、XML形式で表示したXML表示画面である。項目辞書ファイルは、XMLの言語で記述されたテキストデータ700(以下、XMLデータと称する。)により作成される。ステップ520で入力されたコードおよび名前は、XML700において、コード701と、名前702で示すようにテキストデータの一部として設定される。なお、図7(a)の編集画面700において、「ファイル情報」および「XML」のタブを選択された場合に、項目辞書編集表示部423は、対応する情報に表示を変更する。 FIG. 7 is a diagram showing an example of a screen for displaying an item dictionary file. .. FIG. 7A is an editing screen on which the item dictionary file can be edited. The edit screen 700 is a screen displayed by the item dictionary edit display unit 423. FIG. 7B is an XML display screen displayed in XML format. The item dictionary file is created by text data 700 (hereinafter, referred to as XML data) described in the XML language. The code and name entered in step 520 are set in the XML 700 as part of the code 701 and the text data as indicated by the name 702. When the "file information" and "XML" tabs are selected on the edit screen 700 of FIG. 7A, the item dictionary edit display unit 423 changes the display to the corresponding information.

次に、図8を用いて、生成された項目辞書に対して項目を追加する場合の制御フローを説明する。なお、当該制御は、プログラム開発装置101の各機能により実行される。 Next, the control flow when adding an item to the generated item dictionary will be described with reference to FIG. The control is executed by each function of the program development device 101.

S800において、項目辞書管理部320は、項目辞書編集画面を開くイベントを取得する。例えば、項目辞書管理部320は、作成された項目辞書のファイル名を示す表示の中からユーザによる操作に応じて、イベントを取得する。 In S800, the item dictionary management unit 320 acquires an event to open the item dictionary edit screen. For example, the item dictionary management unit 320 acquires an event from the display indicating the file name of the created item dictionary in response to an operation by the user.

S801において、項目辞書編集表示部423は、編集画面700を表示する。 In S801, the item dictionary edit display unit 423 displays the edit screen 700.

S802において、項目辞書管理部320は、項目辞書編集表示部423が表示するコンテキストメニュー画面900から追加ボタン901が選択されたことに応じて、エントリの追加イベントを受け取る。コンテキストメニュー画面900は、一例として編集画面700において、項目辞書のファイル名に対するクリック操作を受け付けることにより表示される。 In S802, the item dictionary management unit 320 receives an additional event for the entry in response to the selection of the add button 901 from the context menu screen 900 displayed by the item dictionary edit display unit 423. The context menu screen 900 is displayed by accepting a click operation on the file name of the item dictionary on the edit screen 700 as an example.

S803において、項目辞書管理部320は、追加されたエントリに対して辞書キーと名称とふりがなを設定する。本実施例では、図9に示すように、エントリに対して、辞書キーに「ORDER」の文字列が、名称に「注文」の文字列が、ふりがなに「ちゅうもん」の文字列がそれぞれ設定される。当該設定により、XMLデータ710は、XMLデータ920に更新される。更新されたエントリは、図9における編集画面910で示すように表示される。言い換えると、更新されたエントリは、追加(あるいは更新)された編集画面910におけるエントリ一覧表示部911において、他のエントリと識別可能な態様で表示される。 In S803, the item dictionary management unit 320 sets a dictionary key, a name, and furigana for the added entry. In this embodiment, as shown in FIG. 9, the character string "ORDER" is set in the dictionary key, the character string "order" is set in the name, and the character string "chumon" is set in the furigana for the entry. Will be done. With this setting, the XML data 710 is updated to the XML data 920. The updated entry is displayed as shown on the edit screen 910 in FIG. In other words, the updated entry is displayed in the entry list display unit 911 on the added (or updated) edit screen 910 in a manner that can be distinguished from other entries.

S804において、項目辞書管理部320は、項目辞書に登録される項目が単項目か否かを判定する。ここで、項目辞書管理部320は、項目辞書編集表示部423が表示するコンテキストメニュー画面900から追加ボタン901が選択されたことに応じて追加イベントを受け取った場合は、単項目の追加であると判断する。 In S804, the item dictionary management unit 320 determines whether or not the item registered in the item dictionary is a single item. Here, when the item dictionary management unit 320 receives an additional event in response to the selection of the add button 901 from the context menu screen 900 displayed by the item dictionary edit display unit 423, it is said that a single item is added. to decide.

S805およびS806において、ユーザの操作により、編集画面940上の選択されたエントリに対して、定義情報に値データ、データモデル項目データ、入出力項目データの少なくともいずれか1つのデータが入力されるとともに保存される。当該保存処理が行われることにより、XML920は、XML950に更新される。更新された辞書は、図10で示す編集画面940における定義情報表示部941のように一覧表示される。ここで、定義情報表示部941は、編集画面940におけるエントリ一覧表示部942で選択されたエントリのエントリの定義情報を表示する機能を備える。 In S805 and S806, at least one of value data, data model item data, and input / output item data is input to the definition information for the selected entry on the edit screen 940 by the user's operation. It will be saved. By performing the storage process, the XML 920 is updated to the XML 950. The updated dictionaries are listed as shown in the definition information display unit 941 on the edit screen 940 shown in FIG. Here, the definition information display unit 941 has a function of displaying the definition information of the entry of the entry selected by the entry list display unit 942 on the edit screen 940.

S804の判定処理において、項目辞書に登録される項目が単項目でないと判定される場合のフローについて説明する。一例として、S804において、図11における定義構造表示部412が表示する定義ツリー970におけるデータモデル項目定義および入力項目定義からドラッグアンドドロップ操作により登録処理がされた場合には、単項目の登録ではないと判定される。また、項目辞書編集表示部423が表示するコンテキストメニュー画面960における961または962が選択されたことに基づく追加イベントを受け取った場合には、単項目の登録ではないと判定する。 The flow when it is determined that the item registered in the item dictionary is not a single item in the determination process of S804 will be described. As an example, in S804, when the registration process is performed by the drag-and-drop operation from the data model item definition and the input item definition in the definition tree 970 displayed by the definition structure display unit 412 in FIG. 11, it is not a single item registration. Is determined. Further, when an additional event based on the selection of 961 or 962 on the context menu screen 960 displayed by the item dictionary edit display unit 423 is received, it is determined that the registration is not a single item.

このように、すでに設定されている定義を簡易な操作により1または複数の定義を一括で項目辞書に登録できることで、ユーザは簡便な操作で設定が可能となる。 In this way, one or a plurality of definitions that have already been set can be registered in the item dictionary at once by a simple operation, so that the user can set the definitions by a simple operation.

S807において、項目辞書管理部320は、辞書に登録するキーの全てを登録するか否かを判定する。項目辞書管理部320は、部分的な登録メニュー962が選択されたことに基づくイベントを受け取った場合は、全てが登録対象ではないと判定しS809に進む。 In S807, the item dictionary management unit 320 determines whether or not to register all the keys to be registered in the dictionary. When the item dictionary management unit 320 receives an event based on the selection of the partial registration menu 962, the item dictionary management unit 320 determines that all of them are not registration targets and proceeds to S809.

S808において、項目辞書管理部320は、トリガーとなったリポジトリ定義で定義されているキー全てを登録対象に設定する。S809において、項目辞書管理部320は、登録設定ファイル990に設定されている項目を登録対象に設定する。 In S808, the item dictionary management unit 320 sets all the keys defined in the trigger repository definition as registration targets. In S809, the item dictionary management unit 320 sets the items set in the registration setting file 990 as the registration target.

S810において、項目辞書管理部320は、トリガーとなったリポジトリ定義がデータモデル項目定義かどうか判定する。項目辞書管理部320は、データモデル項目定義であると判定したに場合は、S811の処理に進む。S811において、項目辞書管理部320は、データモデル項目に定義されている値を辞書として登録する。S810の判定処理により、トリガーとなったリポジトリ定義が入出力項目定義と判定された場合は、S812の処理に進む。S812において、項目辞書管理部320は、入出力項目定義に定義されている値を項目辞書として登録する。 In S810, the item dictionary management unit 320 determines whether the trigger repository definition is a data model item definition. If the item dictionary management unit 320 determines that the data model item is defined, the item dictionary management unit 320 proceeds to the process of S811. In S811, the item dictionary management unit 320 registers the values defined in the data model items as a dictionary. If the trigger repository definition is determined to be an input / output item definition by the determination process of S810, the process proceeds to S812. In S812, the item dictionary management unit 320 registers the value defined in the input / output item definition as the item dictionary.

S813において、項目辞書管理部320は、項目が項目辞書登録された場合に、該登録された項目を項目辞書の参照を行うか否かを判定する。項目辞書管理部320は、図11に示す環境設定画面990における入力受付部991への入力がされているか否かに応じて判定を実施する。 In S813, when an item is registered in the item dictionary, the item dictionary management unit 320 determines whether or not to refer to the item dictionary for the registered item. The item dictionary management unit 320 makes a determination according to whether or not input has been made to the input reception unit 991 on the environment setting screen 990 shown in FIG.

S814において、項目辞書管理部320は、トリガーとなったリポジトリ定義を辞書参照状態にする。より具体的には、項目辞書管理部320は、定義編集画面1420において、項目辞書が参照状態であることを示す表示アイテム1421を表示させる。 In S814, the item dictionary management unit 320 puts the trigger repository definition in the dictionary reference state. More specifically, the item dictionary management unit 320 displays the display item 1421 indicating that the item dictionary is in the reference state on the definition edit screen 1420.

図9は、項目辞書ファイルにエントリを追加する場合の表示画面の一例である。 FIG. 9 is an example of a display screen when an entry is added to the item dictionary file.

コンテキストメニュー画面900は、辞書へエントリを追加するための画面である。901は、追加ボタンである。エントリの追加は、追加項目辞書編集表示部423により表示されるコンテキストメニュー画面900から追加ボタン901が選択されたことに応じて行われる。なお、エントリが追加された後の項目辞書のXMLは920の状態になる。編集画面910は、エントリと、エントリに対応する定義を表示するととものこれらの編集を行う操作画面である。エントリ一覧表示部911において、エントリのそれぞれは識別可能な態様で表示される。 The context menu screen 900 is a screen for adding an entry to the dictionary. 901 is an add button. The entry is added in response to the selection of the add button 901 from the context menu screen 900 displayed by the additional item dictionary edit display unit 423. The XML of the item dictionary after the entry is added is in the state of 920. The edit screen 910 is an operation screen for displaying an entry and a definition corresponding to the entry and for editing the entry. In the entry list display unit 911, each of the entries is displayed in an identifiable manner.

図10は、辞書エントリへ単体で項目を追加する際の画面の一例である。辞書エントリへの単体での項目追加は、項目辞書編集表示部423が表示する編集画面940への操作により行われる。XMLデータ950は、追加した後のXMLデータである。なお、図9におけるXMLデータ920は、当該追加がされる前のXMLデータである。辞書項目は、値データ、データモデル項目データ、入出力項目データして、項目辞書記憶部421で管理され、且つ定義種別と定義対象で一意になるように管理される。 FIG. 10 is an example of a screen when adding an item to a dictionary entry by itself. The item can be added to the dictionary entry by itself by operating the edit screen 940 displayed by the item dictionary edit display unit 423. The XML data 950 is the XML data after the addition. The XML data 920 in FIG. 9 is the XML data before the addition. The dictionary items are value data, data model item data, and input / output item data, and are managed by the item dictionary storage unit 421, and are managed so as to be unique by the definition type and the definition target.

図11は、辞書エントリへ複数の項目を一括で追加する際の画面の一例である。当該追加の操作は、すでにリポジトリに定義ファイルがある場合に、該定義ファイルの定義を一括で項目辞書に登録する場合に好適に行われる。項目辞書管理部320は、コンテキストメニュー画面960における961あるいは962が選択されたことに応じて、編集画面980を表示する。なお、環境設定画面990により、登録と同時に参照状態にすることも可能である。定義構造表示部412は、定義ツリー970を表示する。 FIG. 11 is an example of a screen when adding a plurality of items to the dictionary entry at once. The additional operation is preferably performed when the definition file is already in the repository and the definitions of the definition file are collectively registered in the item dictionary. The item dictionary management unit 320 displays the edit screen 980 in response to the selection of 961 or 962 on the context menu screen 960. It is also possible to set the reference state at the same time as registration on the environment setting screen 990. The definition structure display unit 412 displays the definition tree 970.

ここで、定義構造表示部412により表示される定義ツリー970の表示される領域は、第一の表示領域とする。また、編集画面980が表示される領域を第二の表示領域とする。 Here, the area where the definition tree 970 displayed by the definition structure display unit 412 is displayed is the first display area. Further, the area where the edit screen 980 is displayed is set as the second display area.

編集画面980は、第二の表示領域として複数の受付領域(981、982、983)を含む。受付領域981は、受付領域982で選択されたカテゴリに対応するエントリ一覧を表示する表示領域である(エントリ一覧受付部)。受付領域982は、カテゴリ一覧を表示する表示領域である(カテゴリ一覧受付部)。受付領域983は、選択されたエントリに対する定義情報を表示する表示領域である(定義情報部)。 The edit screen 980 includes a plurality of reception areas (981, 982, 983) as a second display area. The reception area 981 is a display area for displaying a list of entries corresponding to the categories selected in the reception area 982 (entry list reception unit). The reception area 982 is a display area for displaying the category list (category list reception unit). The reception area 983 is a display area for displaying the definition information for the selected entry (definition information unit).

ここで、図11を用いて、定義ファイルの定義を一括で項目辞書に登録する操作について説明する。ユーザは、定義ツリー970に表示されるデータモデル項目定義または入力項目定義を示す表示アイテムを、編集画面980のエントリ一覧表示部981に対して、ドラッグアンドドロップ操作することができる。当該ドラッグアンドドロップ操作により、定義情報ファイルを項目辞書に一括で登録することができる。言い換えると、項目辞書管理部320は、ドラッグアンドドロップ操作されることに応じて、表示アイテムに対応する定義ファイルを管理対象としているといえる。項目辞書管理部320は、複数の受付領域におけるいずれの領域にドラックアンドドロップ操作がされたか否かに応じて、定義ファイルを異なる方法で管理する。具体的には、定義ツリー970から受付領域982にドラッグアンドドロップ操作された場合には、定義ファイルは、ドロップ先のカテゴリに対してエントリを追加する。定義ツリー970から受付領域983にドラッグアンドドロップ操作された場合には、ドロップ先のエントリに対し定義情報を追加する。 Here, the operation of collectively registering the definitions of the definition files in the item dictionary will be described with reference to FIG. The user can perform a drag-and-drop operation on the entry list display unit 981 of the edit screen 980 by dragging and dropping the display item indicating the data model item definition or the input item definition displayed in the definition tree 970. By the drag-and-drop operation, the definition information file can be collectively registered in the item dictionary. In other words, it can be said that the item dictionary management unit 320 manages the definition file corresponding to the display item in response to the drag-and-drop operation. The item dictionary management unit 320 manages the definition file by a different method depending on which area in the plurality of reception areas the drag-and-drop operation is performed. Specifically, when a drag-and-drop operation is performed from the definition tree 970 to the reception area 982, the definition file adds an entry to the drop destination category. When a drag-and-drop operation is performed from the definition tree 970 to the reception area 983, definition information is added to the entry at the drop destination.

このように、ドラックアンドドロップ操作に応じて、定義ファイルの内容を項目辞書に対して容易に設定することができる。また、ドラックアンドドロップ操作のドロップ先に応じて、設定内容を切り替えることができることでユーザビリティを向上させることができる。 In this way, the contents of the definition file can be easily set in the item dictionary according to the drag-and-drop operation. In addition, usability can be improved by being able to switch the setting contents according to the drop destination of the drag and drop operation.

図12は、登録されている項目辞書をリポジトリ定義に反映させる場合のフローである。 FIG. 12 is a flow when the registered item dictionary is reflected in the repository definition.

S1200において、項目辞書参照命令部330は、項目辞書編集表示部423が表示するコンテキストメニュー画面1300の項目の一つである辞書参照アイテム1301が選択されたことに応じて辞書参照イベントを受け取る。他の方法として、項目辞書参照命令部330は、項目辞書一覧画面1320から、辞書参照アイテム1321が選択されたことに応じて辞書参照イベントを受け取る。 In S1200, the item dictionary reference command unit 330 receives a dictionary reference event in response to the selection of the dictionary reference item 1301 which is one of the items of the context menu screen 1300 displayed by the item dictionary edit display unit 423. As another method, the item dictionary reference command unit 330 receives a dictionary reference event from the item dictionary list screen 1320 in response to the selection of the dictionary reference item 1321.

S1210において、項目辞書参照命令部330の発信部431は編集画面1401の呼び出しを行うとともに、項目辞書選択表示部422は、編集画面1401を表示する。 In S1210, the transmission unit 431 of the item dictionary reference command unit 330 calls the edit screen 1401, and the item dictionary selection display unit 422 displays the edit screen 1401.

S1220において、項目辞書管理部320は、編集画面1400のエントリ一覧表示部1401に表示されたエントリのうち選択されたエントリを、ボタン1402を押下された場合に反映対象とする。ユーザは、反映対象とすべきエントリをエントリ一覧表示部1401から選択することができる。 In S1220, the item dictionary management unit 320 targets the selected entry among the entries displayed on the entry list display unit 1401 of the edit screen 1400 when the button 1402 is pressed. The user can select an entry to be reflected from the entry list display unit 1401.

S1221において、項目辞書参照命令部330は、単体への反映か否かの判断を行う。S1230において、項目辞書参照命令部330は、辞書参照アイテム1321による辞書参照イベントである場合は単体への反映と判断し、トリガーとなった項目を辞書参照状態に設定する。この場合、辞書参照アイテム1321は、辞書参照アイテム1421で示す表示態様に変更される。本実施形態においては、辞書参照アイテムの色が変更するものとしているが、これに限られるものでなく、大きさ、形状、模様等の識別可能な表示態様を含みうる。 In S1221, the item dictionary reference command unit 330 determines whether or not the reflection is reflected in a single unit. In S1230, the item dictionary reference command unit 330 determines that the dictionary reference event by the dictionary reference item 1321 is reflected in a single unit, and sets the triggered item in the dictionary reference state. In this case, the dictionary reference item 1321 is changed to the display mode shown by the dictionary reference item 1421. In the present embodiment, the color of the dictionary reference item is changed, but the present invention is not limited to this, and may include identifiable display modes such as size, shape, and pattern.

リポジトリ定義情報のXMLデータは、1310から1410へと変更される。また、リポジトリ定義情報は、辞書項目キーの状態で管理しており辞書項目の値では管理していない。これにより辞書の値を変更すると同じ辞書項目キーを参照している項目全てに変更が伝搬される。 The XML data of the repository definition information is changed from 1310 to 1410. In addition, the repository definition information is managed in the state of the dictionary item key, not in the value of the dictionary item. As a result, when a dictionary value is changed, the change is propagated to all items that refer to the same dictionary item key.

以下、S1221において、単体への反映ではないと判断された場合の項目辞書参照命令部330のフローを説明する。具体的には、コンテキストメニュー1301から辞書参照イベントを受け取った場合は、S1240に進み、エントリに登録されている複数の辞書項目キーに対して一括で参照処理を行う。 Hereinafter, in S1221, the flow of the item dictionary reference command unit 330 when it is determined that the reflection is not reflected in a single unit will be described. Specifically, when a dictionary reference event is received from the context menu 1301, the process proceeds to S1240, and reference processing is performed collectively for a plurality of dictionary item keys registered in the entry.

図13は、登録されている項目辞書をリポジトリ定義に反映させる際の画面である。項目辞書編集表示部423が表示するコンテキストメニュー画面1300である。コンテキストメニュー画面1300は、辞書参照アイテム1301を含む。 FIG. 13 is a screen when the registered item dictionary is reflected in the repository definition. This is the context menu screen 1300 displayed by the item dictionary edit display unit 423. The context menu screen 1300 includes a dictionary reference item 1301.

XMLデータ1310は、リポジトリ定義を反映させる前のXMLデータである。 The XML data 1310 is the XML data before reflecting the repository definition.

項目辞書一覧画面1320は、項目辞書を一覧する画面である。項目辞書一覧画面1320は、項目辞書の内容がリポジトリ定義に反映されているか否かを示す辞書参照アイテム1321を含む。辞書参照アイテム1321は、リポジトリ定義に反映されていないことを示す表示アイテムである。 The item dictionary list screen 1320 is a screen for listing item dictionaries. The item dictionary list screen 1320 includes a dictionary reference item 1321 indicating whether or not the contents of the item dictionary are reflected in the repository definition. The dictionary reference item 1321 is a display item indicating that the dictionary reference item 1321 is not reflected in the repository definition.

図14は、登録されている項目辞書をリポジトリ定義に反映させる際の画面である。編集画面1400は、エントリ一覧表示部1401。ボタン1402を含む。エントリ一覧表示部1401に表示されたエントリを選択することができる。ボタン1402が押下された場合に選択されているエントリを反映対象とする。ユーザは、反映対象とすべきエントリをエントリ一覧表示部1401から選択することができる。 FIG. 14 is a screen when the registered item dictionary is reflected in the repository definition. The edit screen 1400 is an entry list display unit 1401. Includes button 1402. The entry displayed on the entry list display unit 1401 can be selected. The entry selected when the button 1402 is pressed is reflected. The user can select an entry to be reflected from the entry list display unit 1401.

XMLデータ1410は、リポジトリ定義を反映させた後のXMLデータである。 The XML data 1410 is the XML data after reflecting the repository definition.

項目辞書一覧画面1420は、項目辞書を一覧する画面である。項目辞書一覧画面1420は、項目辞書の内容がリポジトリ定義に反映されているか否かを示す辞書参照アイテム1421を含む。辞書参照アイテム1421は、リポジトリ定義に反映されていることを示す表示アイテムである。 The item dictionary list screen 1420 is a screen for listing item dictionaries. The item dictionary list screen 1420 includes a dictionary reference item 1421 indicating whether or not the contents of the item dictionary are reflected in the repository definition. The dictionary reference item 1421 is a display item indicating that it is reflected in the repository definition.

図15は、辞書エントリ及び辞書項目の内容を更新する際の制御フローである。 FIG. 15 is a control flow for updating the contents of the dictionary entry and the dictionary item.

S1500において、項目辞書管理部320は、ユーザの操作に応じて編集画面を開くイベントを受け取る。 In S1500, the item dictionary management unit 320 receives an event that opens an edit screen in response to a user operation.

S1510において、項目辞書編集表示部423は、編集画面940を表示する。S1520において、項目辞書編集表示部423は、エントリ一覧表示部911に表示されたエントリへのエントリ選択イベントを受け取る。 In S1510, the item dictionary edit display unit 423 displays the edit screen 940. In S1520, the item dictionary edit display unit 423 receives an entry selection event for the entry displayed in the entry list display unit 911.

S1530において、項目辞書管理部320は、選択されたエントリが編集された場合には、編集イベントを受け取る。 In S1530, the item dictionary management unit 320 receives an edit event when the selected entry is edited.

S1540において、項目辞書管理部320は、辞書項目キーの値を編集する場合には辞書項目キーの選択イベントを受け取る。 In S1540, the item dictionary management unit 320 receives a dictionary item key selection event when editing the value of the dictionary item key.

S1550において、項目辞書管理部320は、値を編集する場合には、編集イベントを受け取る。 S1560において、項目辞書管理部320は、項目辞書記憶部421により、編集された項目辞書を保存し変更を確定させる。 In S1550, the item dictionary management unit 320 receives an edit event when editing a value. In S1560, the item dictionary management unit 320 saves the edited item dictionary by the item dictionary storage unit 421 and confirms the change.

図16は、Webアプリケーション生成のフローである。 FIG. 16 is a flow of Web application generation.

S1600において、リポジトリ定義解析部441は、アプリケーション定義401を取得する。 In S1600, the repository definition analysis unit 441 acquires the application definition 401.

S1610において、リポジトリ定義解析部441は、S1600において取得したアプリケーションに含まれるデータモデル定義403を取得する。 In S1610, the repository definition analysis unit 441 acquires the data model definition 403 included in the application acquired in S1600.

S1620において、リポジトリ定義解析部441は、データモデル定義403の項目を取得する。 In S1620, the repository definition analysis unit 441 acquires the item of the data model definition 403.

S1630において、リポジトリ定義解析部441は、取得した項目定義に辞書参照があるか否かの判定を行う。リポジトリ定義解析部441は、取得した項目定義に辞書参照があると判定した場合は、S1640の処理を実行する。 In S1630, the repository definition analysis unit 441 determines whether or not the acquired item definition has a dictionary reference. When the repository definition analysis unit 441 determines that the acquired item definition has a dictionary reference, the repository definition analysis unit 441 executes the process of S1640.

S1640において、リポジトリ定義解析部441は、項目辞書参照情報405に基づいて辞書の値を取得する。リポジトリ定義解析部441は、当該処理をデータモデル定義403の項目数だけ繰り返し行った後に、S1650に進む。 In S1640, the repository definition analysis unit 441 acquires the value of the dictionary based on the item dictionary reference information 405. The repository definition analysis unit 441 repeats the process for the number of items in the data model definition 403, and then proceeds to S1650.

S1650において、リポジトリ定義解析部441は、S1600において取得したアプリケーションに所属する入出力定義402を取得する。 In S1650, the repository definition analysis unit 441 acquires the input / output definition 402 belonging to the application acquired in S1600.

S1660において、リポジトリ定義解析部441は、入出力定義402の項目を取得する。 In S1660, the repository definition analysis unit 441 acquires the items of the input / output definition 402.

S1670において、S1660において取得した項目定義に辞書参照があるか否かの判定を行う。リポジトリ定義解析部441は、取得した項目定義に辞書参照があると判定した場合は、S1680の処理を実行する。 In S1670, it is determined whether or not there is a dictionary reference in the item definition acquired in S1660. When the repository definition analysis unit 441 determines that the acquired item definition has a dictionary reference, the repository definition analysis unit 441 executes the process of S1680.

S1680において、リポジトリ定義解析部441は、項目辞書参照情報405に基づいて辞書の値を取得する。この処理を入出力定義403の項目数分繰り返し行った後に、S1690に進む。次に、S1690において、リポジトリ定義解析部441は、S1600において取得したアプリケーションに所属するビジネスプロセス定義404およびデータベース定義406を取得する。 In S1680, the repository definition analysis unit 441 acquires the value of the dictionary based on the item dictionary reference information 405. After repeating this process for the number of items in the input / output definition 403, the process proceeds to S1690. Next, in S1690, the repository definition analysis unit 441 acquires the business process definition 404 and the database definition 406 that belong to the application acquired in S1600.

S1700において、リポジトリ定義解析部441の結果を受けてWebアプリケーションコード生成部442はプログラムコードを生成する。 In S1700, the Web application code generation unit 442 generates the program code in response to the result of the repository definition analysis unit 441.

S1710においてソースコードコンパイル部445はコンパイルを行い、アプリケーションを生成する。 In S1710, the source code compilation unit 445 compiles and generates an application.

上述の実施形態において、プログラミング開発装置(情報処理装置)は、リポジトリ定義部300により、Webアプリケーションの画面への入力される項目とWebアプリケーションの画面に出力する項目とを定義する入出力定義情報を管理している(入出力定義管理手段)。そして、プログラミング開発装置は、項目辞書管理部320により、1または複数の項目(エントリ)と、該項目に対応する所定の定義情報との対応関係を管理している(項目辞書管理手段)さらに、プログラミング開発装置は、Webアプリケーション生成部340により、入出力定義管理手段で管理する入出力定義情報と、項目辞書管理手段で管理する対応関係とを用いてプログラムを生成する(プログラム生成手段)。 In the above-described embodiment, the programming development device (information processing device) uses the repository definition unit 300 to provide input / output definition information that defines items to be input to the screen of the Web application and items to be output to the screen of the Web application. It is managed (input / output definition management means). Then, the programming development device manages the correspondence relationship between one or a plurality of items (entries) and predetermined definition information corresponding to the items by the item dictionary management unit 320 (item dictionary management means). The programming development device generates a program by the Web application generation unit 340 using the input / output definition information managed by the input / output definition management means and the correspondence managed by the item dictionary management means (program generation means).

このことにより、Webアプリケーションに用いられるプログラムを、複数の定義ファイル間で共通の項目を適用して生成することが可能となる。 This makes it possible to generate a program used for a Web application by applying common items among a plurality of definition files.

さらに、項目辞書管理手段でエントリと所定の定義情報を管理することにより、同じキーワードの間で異なる定義をすること、あるいは、同じ意味で異なるキーワードを設定することを抑制することができる。これば、複数のユーザからなるグループにより、共通のアプリケーションを開発する場合には、より有効である。 Further, by managing the entry and the predetermined definition information by the item dictionary management means, it is possible to suppress the definition between the same keywords or the setting of different keywords with the same meaning. This is more effective when developing a common application by a group consisting of a plurality of users.

さらに、項目辞書管理手段で管理する内容は、一覧表示され、編集、確認、削除等を容易に行うことができる。このため、定義に変更が発生した場合には、その変更箇所を容易に変更するが可能となるため、プログラムの開発工数の削減に寄与する。 Further, the contents managed by the item dictionary management means are displayed in a list, and can be easily edited, confirmed, deleted, and the like. Therefore, when a change occurs in the definition, the changed part can be easily changed, which contributes to the reduction of the man-hours for developing the program.

以上、本発明について、上述した実施の形態を用いて説明したが、本発明は上述した実施の形態に限定されるものではない。特に、プログラム開発装置101の各機能は、本実施の形態に限定されるものでなく、複数のプログラム開発装置で協業して処理されるものであってもよい。更に、プログラム開発装置は、オンプレミス環境で用いられるサーバであってもよいし、クラウドサービスにおける仮想的なサーバであってもよい。 Although the present invention has been described above with reference to the above-described embodiments, the present invention is not limited to the above-described embodiments. In particular, each function of the program development device 101 is not limited to the present embodiment, and may be processed in cooperation with a plurality of program development devices. Further, the program development device may be a server used in an on-premises environment or a virtual server in a cloud service.

本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、1つの機器からなる装置に適用してもよい。 The present invention can be, for example, an embodiment as a system, an apparatus, a method, a program, a storage medium, or the like, and specifically, may be applied to a system composed of a plurality of devices, or 1 It may be applied to a device consisting of two devices.

なお、本実施形態は、コンピュータや制御コンピュータがプログラム(コンピュータプログラム)を実行することによって実現することもできる。また、プログラムをコンピュータに供給するための手段、例えばかかるプログラムを記録したCD−ROM等のコンピュータが読み取り可能な記録媒体又はかかるプログラムを伝送するインターネット等の伝送媒体も実施例として適用することができる。また、上記のプログラムも実施形態として適用することができる。上記のプログラム、記録媒体、伝送媒体およびプログラムプロダクトは、本発明の範疇に含まれる。 The present embodiment can also be realized by executing a program (computer program) by a computer or a control computer. Further, a means for supplying the program to the computer, for example, a computer-readable recording medium such as a CD-ROM recording the program or a transmission medium such as the Internet for transmitting the program can also be applied as an embodiment. .. The above program can also be applied as an embodiment. The above programs, recording media, transmission media and program products are included in the scope of the present invention.

以上、実施形態に基づいて詳述してきたが、特定の実施形態に限られるものではなく、発明の要旨を逸脱しない範囲の様々な形態も本発明の範疇に含まれる。さらに、上述した実施形態は一実施の形態を示すものにすぎず、上述した実施形態から容易に想像可能な発明も本発明の範疇に含まれる。 Although the details have been described above based on the embodiments, the present invention is not limited to the specific embodiments, and various embodiments within the scope of the gist of the invention are also included in the scope of the present invention. Furthermore, the above-described embodiment is merely an embodiment, and inventions that can be easily imagined from the above-mentioned embodiments are also included in the scope of the present invention.

101 プログラム開発装置
300 リポジトリ定義部
310 リポジトリ定義編集部
320 項目辞書管理部
340 Webアプリケーション生成部
101 Program development device 300 Repository definition unit 310 Repository definition editorial department 320 Item dictionary management unit 340 Web application generation unit

Claims (6)

Webアプリケーションとして用いられるプログラムを生成する情報処理装置であって、
データモデルを定義するデータモデル定義ファイルまたはWebアプリケーションの画面への入力される項目とWebアプリケーションの画面に出力する項目とを定義する入出力定義ファイルを含む定義ファイルを管理する定義管理手段と、
1または複数の項目と、該項目に対応する所定の定義情報との対応関係を管理する項目辞書管理手段と、
前記定義管理手段で管理する定義ファイルを示す表示アイテムが表示される第一の表示領域と、前記第一の表示領域とは異なる第二の表示領域とを表示部に表示する表示制御手段と、を有し、
前記項目辞書管理手段は、前記第一の表示領域に表示される表示アイテムが前記第二の表示領域に対してドラッグアンドドロップ操作されることに応じて、該表示アイテムに対応する定義ファイルを管理対象に設定する
ことを特徴とする情報処理装置。
An information processing device that generates programs used as Web applications.
A definition management means that manages a definition file including an input / output definition file that defines a data model definition file that defines a data model or an item that is input to the screen of a Web application and an item that is output to the screen of a Web application.
An item dictionary management means for managing the correspondence between one or a plurality of items and predetermined definition information corresponding to the item, and
A display control means for displaying a first display area on which display items indicating a definition file managed by the definition management means are displayed, and a second display area different from the first display area on the display unit. Have,
The item dictionary management means manages the definition file corresponding to the display item in response to the drag-and-drop operation of the display item displayed in the first display area with respect to the second display area. An information processing device characterized by being set as a target.
前記表示制御手段は、前記第二の表示領域において複数の受付領域を表示し、
前記項目辞書管理手段は、前記表示制御手段により表示された複数の受付領域におけるいずれの領域に前記ドラックアンドドロップ操作がされたか否かに応じて、前記定義ファイルを異なる方法で管理する
ことを特徴とする請求項1に記載の情報処理装置。
The display control means displays a plurality of reception areas in the second display area, and displays the plurality of reception areas.
The item dictionary management means manages the definition file by a different method depending on which area of the plurality of reception areas displayed by the display control means the drag-and-drop operation is performed. The information processing apparatus according to claim 1.
前記表示制御手段により表示される前記複数の受付領域のうち少なくとも1つの表示領域は、カテゴリ一覧を表示するカテゴリ表示領域を含み、
前記項目辞書管理手段は、前記第一の表示領域から前記カテゴリ表示領域に対して前記ドラッグアンドドロップ操作がされた場合に、該ドロップ先のカテゴリと前記表示アイテムに対応する定義ファイルを管理対象に設定することを特徴とする請求項2に記載の情報処理装置。
At least one display area among the plurality of reception areas displayed by the display control means includes a category display area for displaying a category list.
When the drag-and-drop operation is performed from the first display area to the category display area, the item dictionary management means manages the definition file corresponding to the drop destination category and the display item. The information processing apparatus according to claim 2, wherein the information processing device is set.
前記表示制御手段により表示される前記複数の受付領域のうち少なくとも1つの表示領域は、カテゴリ一覧を表示するカテゴリ表示領域を含み、
前記項目辞書管理手段は、前記第一の表示領域から前記カテゴリ表示領域に対して前記ドラッグアンドドロップ操作がされた場合に、該ドロップ先のカテゴリと前記表示アイテムに対応する定義ファイルとを対応づけて管理することを特徴とする請求項2または3のいずれか1項に記載の情報処理装置。
At least one display area among the plurality of reception areas displayed by the display control means includes a category display area for displaying a category list.
When the drag-and-drop operation is performed from the first display area to the category display area, the item dictionary management means associates the drop destination category with the definition file corresponding to the display item. The information processing apparatus according to any one of claims 2 or 3, wherein the information processing apparatus is managed.
Webアプリケーションとして用いられるプログラムを生成する情報処理装置の制御方法であって、
データモデルを定義するデータモデル定義ファイルまたはWebアプリケーションの画面への入力される項目とWebアプリケーションの画面に出力する項目とを定義する入出力定義ファイルを含む定義ファイルを管理する定義管理工程と、
1または複数の項目と、該項目に対応する所定の定義情報との対応関係を管理する項目辞書管理工程と、
前記定義管理工程で管理する定義ファイルを示す表示アイテムが表示される第一の表示領域と、前記第一の表示領域とは異なる第二の表示領域とを表示部に表示する表示制御工程と、を有し、
前記項目辞書管理工程は、前記第一の表示領域に表示される表示アイテムが前記第二の表示領域に対してドラッグアンドドロップ操作されることに応じて、該表示アイテムに対応する定義ファイルを管理対象に設定する
ことを特徴とする情報処理装置の制御方法
A control method for an information processing device that generates a program used as a Web application.
A definition management process that manages a definition file including an input / output definition file that defines the data model definition file that defines the data model or the items that are input to the screen of the Web application and the items that are output to the screen of the Web application.
An item dictionary management process that manages the correspondence between one or more items and predetermined definition information corresponding to the items, and
A display control process for displaying a first display area on which display items indicating definition files managed in the definition management process are displayed and a second display area different from the first display area on the display unit. Have,
The item dictionary management step manages the definition file corresponding to the display item in response to the drag-and-drop operation of the display item displayed in the first display area with respect to the second display area. Control method of information processing device characterized by setting to target
Webアプリケーションとして用いられるプログラムを生成するコンピュータプログラムであって、
コンピュータを、
データモデルを定義するデータモデル定義ファイルまたはWebアプリケーションの画面への入力される項目とWebアプリケーションの画面に出力する項目とを定義する入出力定義ファイルを含む定義ファイルを管理する定義管理手段と、
1または複数の項目と、該項目に対応する所定の定義情報との対応関係を管理する項目辞書管理手段と、
前記定義管理手段で管理する定義ファイルを示す表示アイテムが表示される第一の表示領域と、前記第一の表示領域とは異なる第二の表示領域とを表示部に表示する表示制御手段と、して機能させ、
前記項目辞書管理手段は、前記第一の表示領域に表示される表示アイテムが前記第二の表示領域に対してドラッグアンドドロップ操作されることに応じて、該表示アイテムに対応する定義ファイルを管理対象に設定する
ことを特徴とするコンピュータプログラム。
A computer program that generates a program used as a Web application.
Computer,
A definition management means that manages a definition file including an input / output definition file that defines a data model definition file that defines a data model or an item that is input to the screen of a Web application and an item that is output to the screen of a Web application.
An item dictionary management means for managing the correspondence between one or a plurality of items and predetermined definition information corresponding to the item, and
A display control means for displaying a first display area on which display items indicating a definition file managed by the definition management means are displayed, and a second display area different from the first display area on the display unit. To make it work
The item dictionary management means manages the definition file corresponding to the display item in response to the drag-and-drop operation of the display item displayed in the first display area with respect to the second display area. A computer program characterized by being targeted.
JP2021109993A 2017-04-17 2021-07-01 Program generation device, control method and computer program Pending JP2021152978A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2021109993A JP2021152978A (en) 2017-04-17 2021-07-01 Program generation device, control method and computer program
JP2022126475A JP7453577B2 (en) 2017-04-17 2022-08-08 Information processing system, its control method, and computer program
JP2024033437A JP2024055993A (en) 2017-04-17 2024-03-06 Program generation device, control method and computer program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017081688A JP6908828B2 (en) 2017-04-17 2017-04-17 Program generator, control method, and computer program
JP2021109993A JP2021152978A (en) 2017-04-17 2021-07-01 Program generation device, control method and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017081688A Division JP6908828B2 (en) 2017-04-17 2017-04-17 Program generator, control method, and computer program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022126475A Division JP7453577B2 (en) 2017-04-17 2022-08-08 Information processing system, its control method, and computer program

Publications (1)

Publication Number Publication Date
JP2021152978A true JP2021152978A (en) 2021-09-30

Family

ID=64275682

Family Applications (4)

Application Number Title Priority Date Filing Date
JP2017081688A Active JP6908828B2 (en) 2017-04-17 2017-04-17 Program generator, control method, and computer program
JP2021109993A Pending JP2021152978A (en) 2017-04-17 2021-07-01 Program generation device, control method and computer program
JP2022126475A Active JP7453577B2 (en) 2017-04-17 2022-08-08 Information processing system, its control method, and computer program
JP2024033437A Pending JP2024055993A (en) 2017-04-17 2024-03-06 Program generation device, control method and computer program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2017081688A Active JP6908828B2 (en) 2017-04-17 2017-04-17 Program generator, control method, and computer program

Family Applications After (2)

Application Number Title Priority Date Filing Date
JP2022126475A Active JP7453577B2 (en) 2017-04-17 2022-08-08 Information processing system, its control method, and computer program
JP2024033437A Pending JP2024055993A (en) 2017-04-17 2024-03-06 Program generation device, control method and computer program

Country Status (1)

Country Link
JP (4) JP6908828B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873471A (en) * 2023-12-25 2024-04-12 曙光云计算集团股份有限公司 Page construction method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05134856A (en) * 1991-11-13 1993-06-01 Hitachi Ltd Automatically programming system
JPH0816370A (en) * 1994-06-24 1996-01-19 Nec Corp Managing list preparing device
JPH10254691A (en) * 1997-03-07 1998-09-25 Hitachi Software Eng Co Ltd Support method for developing program and storage medium having program for implementing the same
JP2006285666A (en) * 2005-03-31 2006-10-19 Nec Corp Information providing system, information generation method, server, and information providing program
JP2014059700A (en) * 2012-09-18 2014-04-03 Nomura Research Institute Ltd Screen control display system and screen control display program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007034690A (en) 2005-07-27 2007-02-08 Nec System Technologies Ltd Program development method and development program
JP6600953B2 (en) 2015-03-17 2019-11-06 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing apparatus control method, information processing system, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05134856A (en) * 1991-11-13 1993-06-01 Hitachi Ltd Automatically programming system
JPH0816370A (en) * 1994-06-24 1996-01-19 Nec Corp Managing list preparing device
JPH10254691A (en) * 1997-03-07 1998-09-25 Hitachi Software Eng Co Ltd Support method for developing program and storage medium having program for implementing the same
JP2006285666A (en) * 2005-03-31 2006-10-19 Nec Corp Information providing system, information generation method, server, and information providing program
JP2014059700A (en) * 2012-09-18 2014-04-03 Nomura Research Institute Ltd Screen control display system and screen control display program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117873471A (en) * 2023-12-25 2024-04-12 曙光云计算集团股份有限公司 Page construction method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
JP6908828B2 (en) 2021-07-28
JP2022145818A (en) 2022-10-04
JP7453577B2 (en) 2024-03-21
JP2018181076A (en) 2018-11-15
JP2024055993A (en) 2024-04-19

Similar Documents

Publication Publication Date Title
JP5911594B2 (en) Providing translation support for application localization
CN109076107B (en) Providing automatic detection and optimization of user experience upgrades based on detection customization
CN101535934A (en) Methods and systems for providing a customized user interface for viewing and editing meta-data
JP2024055993A (en) Program generation device, control method and computer program
US20220334809A1 (en) Process flow builder for extensible web component sequences
US20220269738A1 (en) Aggregate component for parallel browser-initiated actions
JPH0683603A (en) Method and system for registering batch of object class
US20220245206A1 (en) Process flow builder for user-configurable web component sequences
US20230385534A1 (en) Electronic document management system with a content status designation interface
US20160313958A1 (en) Cross-platform command extensibility
JP6712059B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
US20230014590A1 (en) Method and system for providing static and dynamic inputs and advanced logging capabilities in application development systems
US20190278570A1 (en) Annotating Features of a Resource to Facilitate Consumption in Different Computing Environments
CN113179183B (en) Service switch state control device and method
JP2018181073A (en) Information processing apparatus, processing method thereof, 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
JP2008191993A (en) Gui component display device and gui component display method
JP2018205869A (en) Information processing apparatus and processing method and program thereof
KR20210004638A (en) Business asset management system
CN112988139A (en) Method and device for developing event processing file
JP7477773B2 (en) Information processing device, control method, and program
WO2023207232A1 (en) Quick startup key setting method, electronic device and control method therefor, and storage medium
JP7485894B2 (en) Information processing device, information processing method, and program
JP7541227B2 (en) Information processing device, information processing system, control method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210729

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220621

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20221220