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

Program generation device, control method, and computer program Download PDF

Info

Publication number
JP2024055993A
JP2024055993A JP2024033437A JP2024033437A JP2024055993A JP 2024055993 A JP2024055993 A JP 2024055993A JP 2024033437 A JP2024033437 A JP 2024033437A JP 2024033437 A JP2024033437 A JP 2024033437A JP 2024055993 A JP2024055993 A JP 2024055993A
Authority
JP
Japan
Prior art keywords
item
definition
display
display area
items
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
JP2024033437A
Other languages
Japanese (ja)
Inventor
剛 高塚
文洋 柴本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2024033437A priority Critical patent/JP2024055993A/en
Publication of JP2024055993A publication Critical patent/JP2024055993A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】Webアプリケーションに用いられるプログラムを生成する際に、定義ファイルを容易に設定する仕組みを提供すること。【解決手段】Webアプリケーションとして用いられるプログラムを生成する情報処理装置は、定義ファイルを管理する定義管理手段と、1または複数の項目と、該項目に対応する所定の定義情報との対応関係を管理する項目辞書管理手段と、前記定義管理手段で管理する定義ファイルを示す表示アイテムが表示される第一の表示領域と、前記第一の表示領域とは異なる第二の表示領域とを表示部に表示する表示制御手段と、を有し、前記項目辞書管理手段は、前記第一の表示領域に表示される表示アイテムが前記第二の表示領域に対してドラッグアンドドロップ操作されることに応じて、該表示アイテムに対応する定義ファイルを管理対象に設定する。【選択図】図11[Problem] To provide a mechanism for easily setting a definition file when generating a program used in a Web application. [Solution] An information processing device for generating a program used as a Web application has a definition management means for managing definition files, an item dictionary management means for managing the correspondence between one or more items and predetermined definition information corresponding to the items, and a display control means for displaying on a display unit a first display area in which display items indicating definition files managed by the definition management means are displayed, and a second display area different from the first display area, and the item dictionary management means sets the definition file corresponding to the display item as a management target in response to a drag-and-drop operation of a display item displayed in the first display area onto the second display area. [Selected Figure] Figure 11

Description

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

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

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

特開2007-41707号公報JP 2007-41707 A

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

そこで本発明は、Webアプリケーションに用いられるプログラムを生成する際に、定義ファイルを容易に設定する仕組みを提供することを目的とする The present invention aims to provide a mechanism for easily setting definition files when generating programs used in web applications.

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

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

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

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

図1は、本実施形態に係わるプログラム開発装置(開発者がWebアプリケーション生成のために使用する情報処理装置)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバの構成の一例を示すシステム(情報処理システム)構成図である。 Figure 1 is a system (information processing system) configuration diagram showing 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 this embodiment.

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

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

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

データベースサーバ103a~103b(情報処理装置)は、開発されたアプリケーションが使用するデータベースであり、また本発明では開発時にも動作確認などのために利用してもよい。例えば、開発者が利用するためにデータベースサーバ103は、プログラム開発装置101と同一の装置で構成されていてもよいし、LANなどのネットワーク106内に配置されてもよい(データベースサーバ103a)。またインターネット上やクラウド上に配置されてもよい(データベースサーバ103b)。また、プログラム開発装置101が、プログラム開発サーバ102と協調する場合には、プログラム開発サーバ102とデータベースサーバ103が同一の装置内に構成されていてもよい。 Database servers 103a-103b (information processing devices) are databases used by the developed application, and in the present invention may also be used during development for operational checks and the like. For example, the database server 103 for use by the developer may be configured as the same device as the program development device 101, or may be located within 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). Furthermore, 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 devices) execute applications developed by the program development device 101. They may be located within a network 106 such as a LAN (application server 105a), or may be located on the Internet or in the cloud (application server 105b). They can also operate by connecting to a database server 103 on the network 106, the Internet, or in 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 application programs developed by the program development device 101 in cooperation with the application server 105. They may be located within a network 106 such as a LAN (application client 104a), or may be located on the Internet or on the cloud (application client 104b). The information processing devices may also be mobile terminals or tablet terminals.

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

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

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

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

入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。 The input controller 205 controls input from the input unit 209. In an information processing device, this input unit 209 includes a keyboard, a mouse, and other pointing devices.

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

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

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

図3および図4を用いて、プログラム開発装置101の機能構成を説明する。なお、プログラム開発装置101における各機能は、プログラム装置101のCPU201により実行されるものである。また、CPU201によって実行されるプログラム212は、外部メモリ211に記録されており、必要に応じてRAM202にロードされる。つまり、各機能は、CPU201とメモリ(RAM202)とが協業することにより実現される。 The functional configuration of the program development device 101 will be described using Figures 3 and 4. Note that each function in the program development device 101 is executed by the CPU 201 of the program device 101. Also, the program 212 executed by the CPU 201 is recorded in the external memory 211, and is loaded into the RAM 202 as required. In other words, each function is realized by cooperation between 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 section 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 number of item definitions are set in the data model definition 403 and the input/output definition 402. Each item definition is stored in association with item dictionary reference information 405. For this reason, the data model definition 403 and the input/output definition 402 can refer to information managed by the item dictionary management unit 320 (described later) and use it as a definition.

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

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

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

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

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

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

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

項目辞書への項目の登録・編集・削除は、項目辞書編集表示部423で表示される画面への操作により行うことが可能である。項目辞書へ登録された項目は、定義種別と定義対象の組合せで一つの単位として管理される。以下、当該一つ単位のデータセットを「エントリ」と称する。登録された項目は、値データ、データモデル項目用のデータ、入出力項目用のデータとして、それぞれ管理される。登録された項目の各データは、リポジトリ定義編集部310により編集が可能である。具体的には、リポジトリ定義編集部310が、項目辞書参照命令部330を介して制御する項目辞書選択表示部422から利用可能である。なお、辞書への参照を示す情報は項目辞書参照情報405として記憶される。 Items can be registered, edited, and deleted from the item dictionary by operating the screen displayed in the item dictionary editing display unit 423. Items registered in the item dictionary are managed as a single unit, consisting of a combination of definition type and definition target. Hereinafter, this single unit of data set is referred to as an "entry." Registered items are managed as value data, data for data model items, and data for input/output items. Each piece of data for registered items can be edited by the repository definition editing unit 310. Specifically, it is available from the item dictionary selection display unit 422, which the repository definition editing unit 310 controls via the item dictionary reference command unit 330. Information indicating a reference to a dictionary is stored as 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, data model definition 403, input/output definition 402, and 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の各機能により実行される。 Figure 5 is an example of a flowchart for creating a new item dictionary. Each flow is executed by each function of the program development device 101.

S500において、項目辞書管理部320は、表示部に表示される操作画面(不図示)より、新規辞書ファイルの生成を示す表示アイテムが選択された場合に、新規辞書の作成イベントを受信する。 At S500, the item dictionary management unit 320 receives a new dictionary creation event when a display item indicating the creation of a new dictionary file is selected on 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 receiving the above-mentioned event, the item dictionary file creation display unit 424 of the item dictionary management unit 320 displays a new dictionary file creation screen 600. FIG. 6 shows details of the new dictionary file creation screen 600. FIG. 6 shows an example of an operation screen for creating a new item dictionary. The new item dictionary creation screen 600 has an input acceptance unit 601. The user can input a code and a name from the input acceptance unit 601. In other words, the code and name of the newly created item dictionary are determined based on the code and name entered on the new dictionary file creation screen 600. In this embodiment, an example is shown in which "customer" is entered as the code and "customer dictionary" is entered as the name on the new dictionary file creation screen 600.

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

次に、図7を用いて、図5のフローにより作成された項目辞書ファイルについて説明する。 Next, we will use Figure 7 to explain the item dictionary file created using the flow in Figure 5.

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

次に、図8を用いて、生成された項目辞書に対して項目を追加する場合の制御フローを説明する。なお、当該制御は、プログラム開発装置101の各機能により実行される。 Next, the control flow for adding an item to the generated item dictionary will be described with reference to FIG. 8. Note that this 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 editing screen. For example, the item dictionary management unit 320 acquires the event in response to a user operation from within a display showing the file name of the created item dictionary.

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

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

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 a reading for the added entry. In this embodiment, as shown in FIG. 9, the character string "ORDER" is set for the dictionary key, the character string "Kyuuyu" for the name, and the character string "Chuumon" for the reading for the entry. With these settings, the XML data 710 is updated to XML data 920. The updated entry is displayed as shown in the editing screen 910 in FIG. 9. In other words, the updated entry is displayed in a manner that allows it to be distinguished from other entries in the entry list display portion 911 of the added (or updated) editing screen 910.

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

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 editing screen 940 by user operation and saved. By performing this saving process, XML 920 is updated to XML 950. The updated dictionary is displayed as a list as in the definition information display section 941 on the editing screen 940 shown in FIG. 10. Here, the definition information display section 941 has a function of displaying the definition information of the entry selected in the entry list display section 942 on the editing screen 940.

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

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

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

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

S810において、項目辞書管理部320は、トリガーとなったリポジトリ定義がデータモデル項目定義かどうか判定する。項目辞書管理部320は、データモデル項目定義であると判定したに場合は、S811の処理に進む。S811において、項目辞書管理部320は、データモデル項目に定義されている値を辞書として登録する。S810の判定処理により、トリガーとなったリポジトリ定義が入出力項目定義と判定された場合は、S812の処理に進む。S812において、項目辞書管理部320は、入出力項目定義に定義されている値を項目辞書として登録する。 In S810, the item dictionary management unit 320 determines whether the triggered repository definition is a data model item definition. If the item dictionary management unit 320 determines that it is a data model item definition, the process proceeds to S811. In S811, the item dictionary management unit 320 registers the value defined in the data model item as a dictionary. If the determination process in S810 determines that the triggered repository definition is an input/output item definition, the process proceeds to S812. In S812, the item dictionary management unit 320 registers the value defined in the input/output item definition as an 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 this determination depending on whether or not an input has been made to the input reception unit 991 in the environment setting screen 990 shown in FIG. 11.

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

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

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

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

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

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

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

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

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

図12は、登録されている項目辞書をリポジトリ定義に反映させる場合のフローである。 Figure 12 shows the flow for reflecting a registered item dictionary in a 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 a dictionary reference item 1301, which is one of the items on 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 in response to the selection of a dictionary reference item 1321 from the item dictionary list screen 1320.

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

S1220において、項目辞書管理部320は、編集画面1400のエントリ一覧表示部1401に表示されたエントリのうち選択されたエントリを、ボタン1402を押下された場合に反映対象とする。ユーザは、反映対象とすべきエントリをエントリ一覧表示部1401から選択することができる。 In S1220, the item dictionary management unit 320 sets a selected entry from among the entries displayed in the entry list display unit 1401 of the editing screen 1400 as the entry to be reflected when button 1402 is pressed. The user can select the 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 judges whether or not the event is to be reflected to a single item. In S1230, if the event is a dictionary reference event caused by the dictionary reference item 1321, the item dictionary reference command unit 330 judges that the event is to be reflected to a single item, and sets the triggered item to a 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 this embodiment, the color of the dictionary reference item is changed, but this is not limited to this, and may include identifiable display modes such as size, shape, pattern, etc.

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

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

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

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

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

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

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

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

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

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

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

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

S1540において、項目辞書管理部320は、辞書項目キーの値を編集する場合には辞書項目キーの選択イベントを受け取る。 At 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 stores the edited item dictionary in the item dictionary storage unit 421 and confirms the changes.

図16は、Webアプリケーション生成のフローである。 Figure 16 shows the flow of creating a web application.

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

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

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

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

S1640において、リポジトリ定義解析部441は、項目辞書参照情報405に基づいて辞書の値を取得する。リポジトリ定義解析部441は、当該処理をデータモデル定義403の項目数だけ繰り返し行った後に、S1650に進む。 In S1640, the repository definition analysis unit 441 obtains the dictionary value based on the item dictionary reference information 405. The repository definition analysis unit 441 repeats this 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 obtains the input/output definition 402 belonging to the application obtained in S1600.

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

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

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

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

上述の実施形態において、プログラミング開発装置(情報処理装置)は、リポジトリ定義部300により、Webアプリケーションの画面への入力される項目とWebアプリケーションの画面に出力する項目とを定義する入出力定義情報を管理している(入出力定義管理手段)。そして、プログラミング開発装置は、項目辞書管理部320により、1または複数の項目(エントリ)と、該項目に対応する所定の定義情報との対応関係を管理している(項目辞書管理手段)さらに、プログラミング開発装置は、Webアプリケーション生成部340により、入出力定義管理手段で管理する入出力定義情報と、項目辞書管理手段で管理する対応関係とを用いてプログラムを生成する(プログラム生成手段)。 In the above embodiment, the programming development device (information processing device) uses the repository definition unit 300 to manage input/output definition information that defines the items to be input to the screen of the web application and the items to be output to the screen of the web application (input/output definition management means). The programming development device uses the item dictionary management unit 320 to manage the correspondence between one or more items (entries) and the specified definition information corresponding to the items (item dictionary management means). Furthermore, the programming development device uses the web application generation unit 340 to generate a program 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 programs used in web applications by applying items that are common across multiple definition files.

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

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

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

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

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

以上、実施形態に基づいて詳述してきたが、特定の実施形態に限られるものではなく、発明の要旨を逸脱しない範囲の様々な形態も本発明の範疇に含まれる。さらに、上述した実施形態は一実施の形態を示すものにすぎず、上述した実施形態から容易に想像可能な発明も本発明の範疇に含まれる。 Although the above has been described in detail based on the embodiments, the present invention is not limited to specific embodiments, and various forms within the scope of the invention that do not deviate from the gist of the invention are also included in the scope of the present invention. Furthermore, the above-mentioned embodiment is merely one embodiment, and inventions that can be easily imagined from the above-mentioned embodiment 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 editing unit 320 Item dictionary management unit 340 Web application generation unit

Claims (6)

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

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024033437A JP2024055993A (en) 2017-04-17 2024-03-06 Program generation device, control method, and computer program

Applications Claiming Priority (4)

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

Related Parent 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
JP2024055993A true JP2024055993A (en) 2024-04-19

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 (3)

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

Country Status (1)

Country Link
JP (4) JP6908828B2 (en)

Family Cites Families (7)

* 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
JP2629604B2 (en) * 1994-06-24 1997-07-09 日本電気株式会社 Management book making device
JP3373129B2 (en) * 1997-03-07 2003-02-04 日立ソフトウエアエンジニアリング株式会社 Program development support method
JP4529766B2 (en) * 2005-03-31 2010-08-25 日本電気株式会社 Information providing system, information providing method, server, and information providing program
JP2007034690A (en) 2005-07-27 2007-02-08 Nec System Technologies Ltd Program development method and development program
JP6113983B2 (en) * 2012-09-18 2017-04-12 株式会社野村総合研究所 Screen control display system and screen control display program
JP6600953B2 (en) 2015-03-17 2019-11-06 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing apparatus control method, information processing system, and program

Also Published As

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

Similar Documents

Publication Publication Date Title
US9792264B2 (en) Inheritance of rules across hierarchical levels
US10365914B2 (en) Providing automatic detection and optimization of user experience upgrades based on detected customization
US20070240100A1 (en) Computer software adaptation method and system
US11321422B1 (en) User-configurable aggregate web components
KR20130084659A (en) System and method for managing resources of a portable computing device
US20220334809A1 (en) Process flow builder for extensible web component sequences
JPH0683603A (en) Method and system for registering batch of object class
JP2019008546A (en) Information processing device, driver customization method and driver installation method
US20170337094A1 (en) Systems, methods, and devices for integrated program interfaces and operation
JP2017522639A (en) Semantic content access in development systems
WO2017128964A1 (en) Method and device for application fusion
JP7453577B2 (en) Information processing system, its control method, and computer program
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
US20220245206A1 (en) Process flow builder for user-configurable web component sequences
CN115390720A (en) Robotic Process Automation (RPA) including automatic document scrolling
Stein Unix survival guide
US11797638B2 (en) Aggregate component for parallel browser-initiated actions
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
US11669340B2 (en) Syncing settings across incompatible operating systems
JP5430550B2 (en) Display character string changing method and apparatus for image forming apparatus
KR101555870B1 (en) A layered launcher and the method for configuring the same
McGeer et al. Galyleo: A General-Purpose Extensible Visualization Solution.

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240404