JP2017182675A - Information processing device, processing method thereof, and program - Google Patents

Information processing device, processing method thereof, and program Download PDF

Info

Publication number
JP2017182675A
JP2017182675A JP2016072616A JP2016072616A JP2017182675A JP 2017182675 A JP2017182675 A JP 2017182675A JP 2016072616 A JP2016072616 A JP 2016072616A JP 2016072616 A JP2016072616 A JP 2016072616A JP 2017182675 A JP2017182675 A JP 2017182675A
Authority
JP
Japan
Prior art keywords
graph
screen
character string
acquired
selection
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
JP2016072616A
Other languages
Japanese (ja)
Inventor
崇 小中谷
Takashi Konakadani
崇 小中谷
好彦 留野
Yoshihiko Tomeno
好彦 留野
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 JP2016072616A priority Critical patent/JP2017182675A/en
Publication of JP2017182675A publication Critical patent/JP2017182675A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a mechanism for easily generating a screen for displaying a graph in an application development tool.SOLUTION: An information processing device generates an application including a screen for displaying a graph, receives an instruction of the screen for displaying the graph and obtains a character string included in screen information of the screen; determines, when having obtained the character string, a table for obtaining data used for displaying the graph, on the basis of the obtained character string; determines, when having not obtained the character string, a table for obtaining data used for displaying the graph according to selection; generates screen information for drawing the graph by using data obtained from the determined table; and associates the generated screen information for drawing the graph with the screen information of the screen for which the instruction has been received.SELECTED DRAWING: Figure 9

Description

本発明は、グラフを表示する画面を含むアプリケーションを生成するための情報処理装置、情報処理装置の処理方法、およびプログラムに関する。   The present invention relates to an information processing apparatus for generating an application including a screen for displaying a graph, a processing method for the information processing apparatus, and a program.

従来から、設定された入出力定義やデータモデル定義などからアプリケーションを生成するアプリケーション開発ツールが存在する。
そのアプリケーション開発ツールにおいて、データベースに記憶されているデータを用いて描画したグラフを表示する画面を生成したいという要望があった。
特許文献1には、電子文書に含まれる表示対象の文字列を解析して、作成するグラフの種別を決定する仕組みが示されている。
Conventionally, there is an application development tool that generates an application from a set input / output definition or data model definition.
In the application development tool, there has been a demand for generating a screen for displaying a graph drawn using data stored in a database.
Patent Document 1 discloses a mechanism for analyzing a character string to be displayed included in an electronic document and determining a type of a graph to be created.

特開2014−130408号公報JP, 2014-130408, A

しかし、特許文献1の仕組みは、電子文書に含まれる表示対象の文字列からグラフの種類を決定するのみである。よって、データベースに存在するテーブルの中からグラフの表示に用いるデータを取得するテーブルを決定することができないため、アプリケーション開発ツールのユーザ(つまり、アプリケーション開発者)がテーブルを選択しなければならないという問題がある。   However, the mechanism of Patent Document 1 only determines the type of graph from a display target character string included in an electronic document. Therefore, it is not possible to determine a table for acquiring data to be used for displaying a graph from among tables existing in the database, so that the user of the application development tool (that is, the application developer) has to select a table. There is.

そこで、本発明の目的は、アプリケーション開発ツールにおいて、グラフを表示する画面を容易に生成する仕組みを提供することである。   Accordingly, an object of the present invention is to provide a mechanism for easily generating a screen for displaying a graph in an application development tool.

グラフを表示する画面を含むアプリケーションを生成する情報処理装置であって、前記グラフを表示する画面の指示を受け付ける画面指示受付手段と、前記画面指示受付手段により指示を受け付けた画面の画面情報に含まれる文字列を取得する文字列取得手段と、前記グラフの表示に用いるデータを取得するテーブルの選択を受け付けるテーブル選択受付手段と、前記文字列取得手段により文字列を取得できた場合は、当該取得できた文字列に基づいて、前記グラフの表示に用いるデータを取得するテーブルを決定し、前記文字列取得手段により文字列を取得できなかった場合は、前記テーブル選択受付手段により受け付けた選択に従って、前記グラフの表示に用いるデータを取得するテーブルを決定するグラフ用データ決定手段と、前記グラフ用データ決定手段により決定したテーブルから取得したデータを用いて前記グラフを描画する画面情報を生成するグラフ描画画面情報生成手段と、前記画面指示受付手段により指示を受け付けた画面の画面情報と、前記グラフ描画画面情報生成手段により生成されたグラフを描画する画面情報とを対応付ける対応付手段とを備えることを特徴とする情報処理装置。   An information processing apparatus for generating an application including a screen for displaying a graph, the screen instruction receiving unit receiving an instruction for the screen for displaying the graph, and the screen information of the screen receiving the instruction by the screen instruction receiving unit If the character string can be obtained by the character string obtaining means for obtaining the character string to be obtained, the table selection accepting means for accepting selection of the table for obtaining the data used for displaying the graph, and the character string obtaining means, the character string obtaining means Based on the character string that has been determined, to determine the table for acquiring the data used to display the graph, and if the character string acquisition means could not acquire the character string, according to the selection received by the table selection reception means, Graph data determining means for determining a table for acquiring data used for displaying the graph; Graph drawing screen information generating means for generating screen information for drawing the graph using the data obtained from the table determined by the data determining means, screen information of the screen for which the instruction is received by the screen instruction receiving means, An information processing apparatus comprising: association means for associating screen information for drawing a graph generated by the graph drawing screen information generation means.

本発明によれば、アプリケーション開発ツールにおいて、グラフを表示する画面を容易に生成する仕組みを提供することができる。   According to the present invention, it is possible to provide a mechanism for easily generating a screen for displaying a graph in an application development tool.

本発明のシステム構成図の一例を示す図The figure which shows an example of the system block diagram of this invention プログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバのハードウエア構成の一例を示す図The figure which shows an example of the hardware constitutions of a program development apparatus, a program development server, a database server, an application client, and an application server プログラム開発装置101の機能構成の一例を示すブロック図The block diagram which shows an example of a function structure of the program development apparatus 101 プログラム開発装置101の構成図の一例を示すブロック図The block diagram which shows an example of the block diagram of the program development apparatus 101 リポジトリ定義の一例を示す図Diagram showing an example of repository definition ER図の一例を示す図Diagram showing an example of ER diagram データモデル定義403の一例を示す図The figure which shows an example of the data model definition 403 レイアウトエディタ画面の一例を示す図Diagram showing an example of the layout editor screen グラフサジェストダイアログの一例を示す図Diagram showing an example of the graph suggest dialog 画面レイアウト編集処理のフローチャートの一例を示す図The figure which shows an example of the flowchart of a screen layout edit process グラフ描画部品生成処理のフローチャートの一例を示す図The figure which shows an example of the flowchart of a graph drawing component production | generation process アプリケーション生成処理のフローチャートの一例を示す図The figure which shows an example of the flowchart of an application production | generation process 生成されたアプリケーションを実行した画面の一例を示す図The figure which shows an example of the screen which executed the generated application

以下、本発明の実施の形態を、図面を参照して詳細に説明する。
図1は、本発明のシステム構成図の一例を示す図である。
本発明のシステムは、プログラム開発装置(開発者がアプリケーション生成のために使用する情報処理装置)、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント(クライアント装置)、アプリケーションサーバを含む情報処理システムである。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing an example of a system configuration diagram of the present invention.
The system of the present invention is an information processing system including a program development device (information processing device used by a developer for generating an application), a program development server, a database server, an application client (client device), and an application server.

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

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

プログラム開発サーバ102a〜102b(情報処理装置)は、プログラム開発装置101により入力された開発者の指示に従って、プログラムを開発する。プログラム開発サーバ102aはLANなどのネットワーク106内に配置されてもよいし、プログラム開発サーバ102bはインターネット上やクラウド上に配置されてもよい。   The program development servers 102a to 102b (information processing apparatuses) develop a program in accordance with a developer instruction input by the program development apparatus 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 apparatuses) are databases used by the developed application. In the present invention, the database servers 103a to 103b (information processing apparatuses) may be used for operation confirmation during development. For example, the database server 103 may be configured by the same device as the program development device 101 for use by a developer, or may be arranged in a network 106 such as a LAN (database server 103a). Moreover, you may arrange | position on the internet or a cloud (database server 103b). When the program development apparatus 101 cooperates with the program development server 102, the program development server 102 and the database server 103 may be configured in the same apparatus.

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

アプリケーションクライアント104a〜104b(情報処理装置)は、アプリケーションサーバ105と協調してプログラム開発装置101で開発したアプリケーションプログラムを動作させる、ユーザの入力端末である。LANなどのネットワーク106内に配置されてもよい(アプリケーションクライアント104a)し、またインターネット上やクラウド上に配置されてもよい(アプリケーションクライアント104b)。携帯端末などの情報処理装置であってもよい。   The application clients 104a to 104b (information processing apparatuses) are user input terminals that operate application programs developed by the program development apparatus 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 in the cloud (application client 104b). An information processing apparatus such as a portable terminal may be used.

図2は、プログラム開発装置、プログラム開発サーバ、データベースサーバ、アプリケーションクライアント、アプリケーションサーバのハードウエア構成の一例を示す図である。
図2において、CPU201は、システムバス204に接続される各デバイスを統括的に制御する。
FIG. 2 is a diagram illustrating an example of a hardware configuration of a program development device, a program development server, a database server, an application client, and an application server.
In FIG. 2, the CPU 201 comprehensively controls each device connected to the system bus 204.

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

入力コントローラ205は、入力部209からの入力を制御する。この入力部209としては、情報処理装置では、キーボード、マウス等のポインティングデバイスが挙げられる。
出力コントローラ206は、出力部210の表示を制御する。この出力部210としては、例えば、CRTや液晶ディスプレイ等が挙げられる。
The input controller 205 controls 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 apparatus.
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.

外部メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザーファイル、編集ファイル、プリンタドライバ等を記憶する外部メモリ211へのアクセスを制御する。加えて、各サーバ、クライアント、装置等の各種機能を実現するための各種テーブル、パラメータが記憶されている。この外部メモリ211としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)、スマートメディア等が挙げられる。
通信I/Fコントローラ208は、ネットワークを介して外部機器との通信制御処理を実行する。
本発明を実現するためのプログラム212は外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
The external memory controller 207 controls access to the external memory 211 that stores a boot program, various applications, font data, user files, edit files, printer drivers, and the like. In addition, various tables and parameters for realizing various functions of each server, client, and device 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, and smart media.
The communication I / F controller 208 executes communication control processing with an external device via a network.
A program 212 for realizing the present invention is recorded in the external memory 211 and is executed by the CPU 201 by being loaded into the RAM 202 as necessary.

図3は、プログラム開発装置101の機能構成の一例を示すブロック図の一例である。
プログラム開発装置101は、以下の機能部を備える。
画面指示受付部301は、グラフを表示する画面の指示を受け付ける機能部である。
文字列取得部302は、画面指示受付部301により指示を受け付けた画面の画面情報に含まれる文字列を取得する機能部である。
テーブル選択受付部303は、グラフの表示に用いるデータを取得するテーブルの選択を受け付ける機能部である。
FIG. 3 is an example of a block diagram illustrating an example of a functional configuration of the program development apparatus 101.
The program development apparatus 101 includes the following functional units.
The screen instruction receiving unit 301 is a functional unit that receives an instruction of a screen for displaying a graph.
The character string acquisition unit 302 is a functional unit that acquires a character string included in the screen information of a screen that has received an instruction from the screen instruction reception unit 301.
The table selection receiving unit 303 is a functional unit that receives selection of a table for acquiring data used for displaying a graph.

グラフ用データ決定部304は、文字列取得部302により文字列を取得できた場合は、当該取得できた文字列に基づいて、グラフの表示に用いるデータを取得するテーブルを決定し、文字列取得部302により文字列を取得できなかった場合は、テーブル選択受付部303により受け付けた選択に従って、グラフの表示に用いるデータを取得するテーブルを決定する機能部である。   When the character string acquisition unit 302 can acquire a character string, the graph data determination unit 304 determines a table for acquiring data used for displaying the graph based on the acquired character string, and acquires the character string. When the character string cannot be acquired by the unit 302, the function unit determines a table for acquiring data used for displaying the graph according to the selection received by the table selection receiving unit 303.

グラフ描画画面情報生成部305は、グラフ用データ決定部304により決定したテーブルから取得したデータを用いてグラフを描画する画面情報を生成する機能部である。   The graph drawing screen information generation unit 305 is a functional unit that generates screen information for drawing a graph using data acquired from the table determined by the graph data determination unit 304.

対応付部306は、画面指示受付部301により指示を受け付けた画面の画面情報と、グラフ描画画面情報生成部305により生成されたグラフを描画する画面情報とを対応付ける機能部である。   The association unit 306 is a functional unit that associates the screen information of the screen for which the instruction is received by the screen instruction reception unit 301 with the screen information for drawing the graph generated by the graph drawing screen information generation unit 305.

カラム選択受付部307は、テーブル選択受付部303により選択を受け付けたテーブルのカラムから、グラフの表示に用いるデータを取得するカラムの選択を受け付ける機能部である。   The column selection receiving unit 307 is a functional unit that receives selection of a column for acquiring data used for displaying a graph from the column of the table that has been selected by the table selection receiving unit 303.

グラフ用データ決定部304は、文字列取得部302により文字列を取得できた場合は、当該取得できた文字列に基づいて、グラフの表示に用いるデータを取得すると決定したテーブルのカラムからグラフの表示に用いるデータを取得するカラムを決定し、文字列取得部302により文字列を取得できなかった場合は、カラム選択受付部307により受け付けた選択に従って、グラフの表示に用いるデータを取得するカラムを決定する機能部である。   If the character string acquisition unit 302 can acquire the character string, the graph data determination unit 304 determines the graph data from the table column determined to acquire the data to be used for displaying the graph based on the acquired character string. A column for acquiring data used for display is determined, and if a character string cannot be acquired by the character string acquiring unit 302, a column for acquiring data used for displaying a graph is selected according to the selection received by the column selection receiving unit 307. It is a functional part to be determined.

グラフ種類選択受付部308は、グラフの種類の選択を受け付ける機能部である。
グラフ種類決定部309は、文字列取得部302により文字列を取得できた場合は、当該取得できた文字列に基づいて、グラフの種類を決定し、文字列取得部302により文字列を取得できなかった場合は、グラフ種類選択受付部308により受け付けた選択に従って、グラフの種類を決定する機能部である。
グラフ描画画面情報生成部305は、グラフ種類決定部309により決定した種類のグラフを描画する画面情報を生成する機能部である。
The graph type selection accepting unit 308 is a functional unit that accepts selection of a graph type.
If the character string acquisition unit 302 can acquire the character string, the graph type determination unit 309 can determine the graph type based on the acquired character string, and the character string acquisition unit 302 can acquire the character string. If not, the function unit determines the graph type according to the selection received by the graph type selection receiving unit 308.
The graph drawing screen information generation unit 305 is a functional unit that generates screen information for drawing the type of graph determined by the graph type determination unit 309.

対応付部306は、画面指示受付部301により指示を受け付けた画面の画面情報に、グラフ描画画面情報生成部305により生成されたグラフを描画する画面情報を挿入する機能部である。   The association unit 306 is a functional unit that inserts screen information for drawing the graph generated by the graph drawing screen information generation unit 305 into the screen information of the screen for which the instruction has been received by the screen instruction reception unit 301.

図4は、プログラム開発装置101の構成図の一例を示すブロック図である。
プログラム開発装置101は、アプリケーションを開発するユーザが定義した定義ファイルをもとにアプリケーションを自動生成することを目的とした装置である。リポジトリ定義部400、グラフ描画部410、レイアウトエディタ部420、アプリケーション生成部430により構成される。リポジトリ定義部400は、データベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405、グラフ定義406を備える。これらのファイルはユーザによって作られ、後述する図7に示すツリー構造で表示される。
FIG. 4 is a block diagram illustrating an example of a configuration diagram of the program development apparatus 101.
The program development apparatus 101 is an apparatus for automatically generating an application based on a definition file defined by a user who develops the application. The repository defining unit 400, the graph drawing unit 410, the layout editor unit 420, and the application generation unit 430 are configured. The repository definition unit 400 includes a database definition 401, an application definition 402, a data model definition 403, an input / output definition 404, a business process definition 405, and a graph definition 406. These files are created by the user and displayed in a tree structure shown in FIG.

グラフ描画部410は、グラフ描画部品411、グラフ部品412を備える。グラフ描画部品411は、アプリケーション開発者によって定義されたグラフ定義406に含まれるクエリと指定されたデータモデル定義403を用いて、グラフ描画部品生成部432によって生成される。生成されたグラフ描画部品411は、アプリケーションの実行時にデータベース450からデータを取得し、グラフ定義406に指定されたグラフ部品412を用いてグラフを描画する。グラフ部品412には、アプリケーションの実行時の画面に表示されるグラフの種類(例えば、棒グラフ・折れ線グラフ・円グラフ等)を描画する部品が用意されている。
レイアウトエディタ部420は、レイアウト描画部421、レイアウト部品422を備える。
アプリケーション生成部430は生成処理部431、グラフ描画部品生成部432を備える。
The graph drawing unit 410 includes a graph drawing component 411 and a graph component 412. The graph drawing component 411 is generated by the graph drawing component generation unit 432 using the query included in the graph definition 406 defined by the application developer and the specified data model definition 403. The generated graph drawing component 411 acquires data from the database 450 when the application is executed, and draws a graph using the graph component 412 specified in the graph definition 406. In the graph component 412, a component for drawing the type of graph (for example, bar graph, line graph, pie graph, etc.) displayed on the screen when the application is executed is prepared.
The layout editor unit 420 includes a layout drawing unit 421 and a layout component 422.
The application generation unit 430 includes a generation processing unit 431 and a graph drawing component generation unit 432.

次に、レイアウトエディタ部420が備えるレイアウト描画部421について説明する。レイアウト描画部421には、ユーザが作成した入出力定義の内容をグラフィカルな画面として表示する。   Next, the layout drawing unit 421 included in the layout editor unit 420 will be described. The layout drawing unit 421 displays the contents of the input / output definition created by the user as a graphical screen.

次に、アプリケーション生成部430について説明する。生成処理部431はリポジトリ定義部400からデータベース定義401、アプリケーション定義402、データモデル定義403、入出力定義404、ビジネスプロセス定義405を読み込む。生成処理部431は読み込んだ定義ファイルからソースコード441、HTML/JSP/JavaScript(登録商標)442/スタイルシート443を生成する。なお、ソースコード441は生成処理部によって、生成後にコンパイルが行われる。   Next, the application generation unit 430 will be described. The generation processing unit 431 reads the database definition 401, application definition 402, data model definition 403, input / output definition 404, and business process definition 405 from the repository definition unit 400. The generation processing unit 431 generates a source code 441, HTML / JSP / JavaScript (registered trademark) 442 / style sheet 443 from the read definition file. The source code 441 is compiled after being generated by the generation processing unit.

図5は、アプリケーションを生成するためのリポジトリ定義のツリー構造の一例を示す図である。
図6は、アプリケーションで利用するデータベースのER図である。
この実施形態においては、例として、商品データモデル601と受注データモデル602を用意する。これらのデータモデルはデータベースのテーブルに該当する。なお、商品と受注の多重度は1:nである。
FIG. 5 is a diagram illustrating an example of a tree structure of a repository definition for generating an application.
FIG. 6 is an ER diagram of a database used in an application.
In this embodiment, as an example, a product data model 601 and an order data model 602 are prepared. These data models correspond to database tables. The multiplicity of merchandise and orders is 1: n.

商品データモデル601のデータ構造は表603、受注データモデル602のデータ構造は表604であるとする。また、受注テーブルには、サンプルデータとして、表605のようなデータが記憶されているとする。   Assume that the data structure of the product data model 601 is a table 603, and the data structure of the order data model 602 is a table 604. Further, it is assumed that data as shown in Table 605 is stored as sample data in the order reception table.

図7は、データモデル定義403の一例を示す図である。図7のデータモデル定義画面700は、アプリケーション開発ツールにおける受注データモデル602の定義画面である。   FIG. 7 is a diagram illustrating an example of the data model definition 403. A data model definition screen 700 in FIG. 7 is a definition screen for an order data model 602 in the application development tool.

図8は、レイアウトエディタ画面の一例を示す図である。アプリケーション開発者は、この画面を利用して、生成するアプリケーションの画面レイアウトを編集する。
図9は、グラフサジェストダイアログの一例を示す図である。
FIG. 8 is a diagram illustrating an example of a layout editor screen. The application developer uses this screen to edit the screen layout of the application to be generated.
FIG. 9 is a diagram illustrating an example of the graph suggestion dialog.

図10は、画面レイアウト編集処理のフローチャートの一例を示す図である。なお、以下のフローチャートの各ステップは、プログラム開発装置101のCPU201が実行する。   FIG. 10 is a diagram illustrating an example of a flowchart of the screen layout editing process. Note that each step of the following flowchart is executed by the CPU 201 of the program development apparatus 101.

ステップS1001において、レイアウトを編集する対象画面の選択を受け付ける。すなわち、ステップS1001は、グラフを表示する画面の指示を受け付ける処理の一例を示すステップである。具体的には、図8のリボジトリ定義ツリー801(図8)から、画面レイアウトを編集したい入出力定義404の選択を受け付ける。ここでは、ユーザによって入出力定義404「JUCHU_DAILY(受注数量日次推移)」(図8の802)がクリックされたとする。   In step S1001, selection of a target screen whose layout is to be edited is accepted. That is, step S1001 is a step showing an example of processing for receiving an instruction of a screen for displaying a graph. Specifically, the selection of the input / output definition 404 whose screen layout is to be edited is received from the repository definition tree 801 (FIG. 8) in FIG. Here, it is assumed that the user clicks on the input / output definition 404 “JUCHU_DAILY (order quantity daily transition)” (802 in FIG. 8).

ステップS1002において、ステップS1001にて選択を受け付けた入出力定義404の画面情報を取得する。ここでは、入出力定義404「JUCHU_DAILY(受注数量日次推移)」の画面情報を取得する。   In step S1002, the screen information of the input / output definition 404 that has been selected in step S1001 is acquired. Here, the screen information of the input / output definition 404 “JUCHU_DAILY (order quantity daily transition)” is acquired.

ステップS1003において、ステップS1002にて取得した画面情報を用いて、レイアウト編集画面を表示する。ここでは、入出力定義404「JUCHU_DAILY(受注数量日次推移)」の画面情報を用いて、「受注数量日次推移」画面のレイアウト編集画面803(図8)を表示する。「受注数量日次推移」画面には、出力部品のキャプション804(図8)として“受注数量日次推移”という文字列が配置されていることがわかる。   In step S1003, the layout editing screen is displayed using the screen information acquired in step S1002. Here, the layout editing screen 803 (FIG. 8) of the “order quantity daily transition” screen is displayed using the screen information of the input / output definition 404 “JUCHU_DAILY (order quantity daily transition)”. In the “Order Quantity Daily Transition” screen, it can be seen that the character string “Order Quantity Daily Transition” is arranged as the caption 804 (FIG. 8) of the output part.

ステップS1004において、画面部品の編集を受け付ける。具体的には、入出力項目パレット805(図8)の入力用部品や出力用部品から任意の部品のドラッグ操作、レイアウト編集画面803の任意の場所へのドロップ操作を受け付ける。これにより、ユーザが所望するアプリケーションの画面レイアウトを作成することができる。   In step S1004, editing of the screen component is accepted. Specifically, a drag operation of an arbitrary part from the input part or output part of the input / output item palette 805 (FIG. 8) and a drop operation to an arbitrary place on the layout editing screen 803 are accepted. Thereby, the screen layout of the application desired by the user can be created.

ステップS1005において、グラフ配置指示を受け付ける。具体的には、入出力項目パレット805からグラフ描画部品のアイコン806のドラッグ操作、レイアウト編集画面803の任意の場所へのドロップ操作を受け付ける。これにより、ユーザが所望する位置にグラフを配置することができる。
ステップS1006において、グラフ描画部品を生成する。この処理の詳細は、図11にて説明する。
In step S1005, a graph layout instruction is accepted. Specifically, a drag operation of the graph drawing component icon 806 and a drop operation to an arbitrary place on the layout editing screen 803 are accepted from the input / output item palette 805. Thereby, a graph can be arrange | positioned in the position which a user desires.
In step S1006, a graph drawing component is generated. Details of this processing will be described with reference to FIG.

ステップS1007において、ステップS1006にて生成したグラフ描画部品を配置する。つまり、レイアウト編集画面にて編集中の画面に生成したグラフ描画部品を配置することにより、編集中の画面情報とグラフ描画部品とを対応付ける。すなわち、ステップS1107は、指示を受け付けた画面の画面情報と、生成されたグラフを描画する画面情報とを対応付ける処理の一例を示すステップである。また、ステップS1107は、指示を受け付けた画面の画面情報に、生成されたグラフを描画する画面情報を挿入する処理の一例を示すステップである。
ステップS1008において、レイアウト編集画面にて編集した画面情報を外部メモリ211に記憶する。
以上で、図10の説明を終了する。
In step S1007, the graph drawing component generated in step S1006 is placed. That is, by arranging the graph drawing component generated on the screen being edited on the layout editing screen, the screen information being edited is associated with the graph drawing component. That is, step S1107 is a step showing an example of processing for associating the screen information of the screen for which the instruction has been received with the screen information for drawing the generated graph. Step S1107 is a step showing an example of processing for inserting screen information for drawing the generated graph into the screen information of the screen that has received the instruction.
In step S1008, the screen information edited on the layout editing screen is stored in the external memory 211.
Above, description of FIG. 10 is complete | finished.

図11は、グラフ描画部品生成処理のフローチャートの一例を示す図である。
ステップS1101において、画面情報に含まれる文字列を取得し、取得できた場合はステップS1102に進み、取得できなかった場合はステップS1112に進む。すなわち、ステップS1001は、グラフを表示する画面の指示を受け付ける処理の一例を示すステップである。具体的には、レイアウト編集を行っている画面情報から、出力部品情報を取得し、含まれる文字列を取得する。例えば、図8の「受注数量日次推移」画面のレイアウト編集画面803には、出力部品のキャプション804として“受注数量日次推移”という文字列が配置されているため、文字列“受注数量日次推移”を取得し、判定する。
FIG. 11 is a diagram illustrating an example of a flowchart of the graph drawing component generation process.
In step S1101, the character string included in the screen information is acquired. If it can be acquired, the process proceeds to step S1102, and if it cannot be acquired, the process proceeds to step S1112. That is, step S1001 is a step showing an example of processing for receiving an instruction of a screen for displaying a graph. Specifically, output component information is acquired from screen information on which layout editing is performed, and an included character string is acquired. For example, in the layout edit screen 803 of the “Order Quantity Daily Transition” screen of FIG. 8, the character string “Order Quantity Daily Transition” is arranged as the caption 804 of the output part. "Next transition" is acquired and determined.

なお、本実施形態においては、出力部品情報に含まれる文字列を取得するとしたが、この方法に限定するものではなく、例えば、画面情報のファイル名やタイトル名などから文字列を取得する方法であってもよい。   In this embodiment, the character string included in the output component information is acquired. However, the present invention is not limited to this method. For example, the character string is acquired from the file name or title name of the screen information. There may be.

ステップS1102において、ステップS1101にて取得した文字列を解析する。具体的には、取得した文字列を単語ごとに分割する。例えば、取得した文字列が“受注数量日次推移”の場合、「受注」「数量」「日次」「推移」という単語に分割する。   In step S1102, the character string acquired in step S1101 is analyzed. Specifically, the acquired character string is divided into words. For example, if the acquired character string is “order quantity daily transition”, it is divided into the words “order received”, “quantity”, “daily”, and “transition”.

ステップS1103において、ステップS1101にて取得した解析結果に従って、グラフの基となる対象テーブル(データモデル)を特定し、特定できた場合はステップS1104に進み、特定できなかった場合はステップS1105に進む。具体的には、解析により取得された単語を含むテーブルを特定する。例えば、解析結果である「受注」「数量」「日次」「推移」という単語は、商品データモデル601のデータ構造603のカラム名には含まれていないが、受注データモデル602のデータ構造604のカラム名には「受注」「数量」が含まれている。よって、解析により取得された単語を最も多く含むデータモデル(受注データモデル602)をグラフの基となる対象テーブルとして特定する。   In step S1103, the target table (data model) that is the basis of the graph is specified according to the analysis result acquired in step S1101, and if it can be specified, the process proceeds to step S1104, and if it cannot be specified, the process proceeds to step S1105. Specifically, a table including words acquired by analysis is specified. For example, the words “order received”, “quantity”, “daily”, and “transition”, which are analysis results, are not included in the column names of the data structure 603 of the product data model 601, but the data structure 604 of the order data model 602. The column name includes “order” and “quantity”. Therefore, the data model (order data model 602) including the most words obtained by analysis is specified as the target table that is the basis of the graph.

なお、本実施形態においては、解析により取得された単語を最も多く含むデータモデルをグラフの基となる対象テーブルとしたが、この方法に限定するものではなく、外部メモリ211に類似語の辞書を備えておき、解析により取得された単語の類似語を最も多く含むデータモデルを対象デーブルとする方法等であってもよい。   In the present embodiment, the data model including the most words obtained by analysis is the target table on which the graph is based. However, the present invention is not limited to this method, and a dictionary of similar words is stored in the external memory 211. A method may be used in which a data model including the largest number of similar words obtained by analysis is used as the target table.

ステップS1104において、ステップS1103にて特定したテーブルを表示する(図9の910)。例えば、受注データモデル602を表示する。これにより、アプリケーション開発ツールにおいて、アプリケーション開発者がデータベースに存在するテーブルの中からグラフの表示に用いるデータを取得する「対象テーブル」を選択しなければならないという問題を解決することができる。   In step S1104, the table specified in step S1103 is displayed (910 in FIG. 9). For example, the order data model 602 is displayed. Thereby, in the application development tool, it is possible to solve the problem that the application developer must select a “target table” for acquiring data used for displaying the graph from the tables existing in the database.

ステップS1105において、グラフの基となる対象テーブルの選択を受け付ける。すなわち、ステップS1105は、グラフの表示に用いるデータを取得するテーブルの選択を受け付ける処理の一例を示すステップである。つまり、ステップS1103にて特定できた場合であっても、ユーザの操作に従って、グラフの基となる対象テーブルを変更することができる。例えば、図9の910にて「キャンセル」ボタンの押下を受け付けた場合、このステップS1105を実行し、「OK」ボタンの押下を受け付けた場合、このステップS1105を実行しないとする。   In step S1105, selection of a target table on which a graph is based is accepted. That is, step S1105 is a step showing an example of processing for accepting selection of a table for acquiring data used for displaying a graph. That is, even if it can be specified in step S1103, the target table on which the graph is based can be changed according to the user's operation. For example, if a “cancel” button is pressed in 910 of FIG. 9, this step S1105 is executed. If a “OK” button is pressed, this step S1105 is not executed.

すなわち、ステップS1103〜ステップS1105は、文字列を取得できた場合は、当該取得できた文字列に基づいて、グラフの表示に用いるデータを取得するテーブルを決定し、文字列を取得できなかった場合は、受け付けた選択に従って、グラフの表示に用いるデータを取得するテーブルを決定する処理の一例を示すステップである。   That is, when the character string can be acquired in steps S1103 to S1105, a table for acquiring data used for displaying the graph is determined based on the acquired character string, and the character string cannot be acquired. These are steps showing an example of processing for determining a table for acquiring data used for displaying a graph according to the accepted selection.

ステップS1106において、ステップS1101にて取得した解析結果に従って、グラフの基となる対象テーブルの対象カラムを特定し、特定できた場合はステップS1107に進み、特定できなかった場合はステップS1108に進む。具体的には、解析により取得された単語を含むカラムを特定する。例えば、解析結果である「受注」「数量」「日次」「推移」という単語は、受注データモデル602のデータ構造604から、「受注ID」「数量」にそれぞれ含まれている。よって、解析により取得された単語を含むカラムをグラフの基となる対象カラムとして特定する。   In step S1106, the target column of the target table that is the basis of the graph is specified according to the analysis result acquired in step S1101, and if it can be specified, the process proceeds to step S1107, and if it cannot be specified, the process proceeds to step S1108. Specifically, a column including a word acquired by analysis is specified. For example, the words “order received”, “quantity”, “daily”, and “transition”, which are analysis results, are included in “order ID” and “quantity” from the data structure 604 of the order data model 602, respectively. Therefore, the column including the word acquired by the analysis is specified as the target column that is the basis of the graph.

なお、本実施形態においては、解析により取得された単語を含むカラムをグラフの基となる対象カラムとしたが、この方法に限定するものではなく、外部メモリ211に類似語の辞書を備えておき、解析により取得された単語の類似語を最も多く含むカラムを対象カラムとする方法等であってもよい。   In this embodiment, the column including the word acquired by the analysis is the target column that is the basis of the graph. However, the present invention is not limited to this method, and the external memory 211 includes a dictionary of similar words. Alternatively, a method may be used in which a column including the most similar words of the word acquired by analysis is the target column.

ステップS1107において、ステップS1106にて特定したカラムを表示する(図9の920)。例えば、受注データモデル602のカラム「受注ID」「数量」を表示する。これにより、アプリケーション開発ツールにおいて、アプリケーション開発者がデータベースに存在するテーブルの中からグラフの表示に用いるデータを取得する対象テーブルの「対象カラム」を選択しなければならないという問題を解決することができる。   In step S1107, the column specified in step S1106 is displayed (920 in FIG. 9). For example, the columns “order ID” and “quantity” in the order data model 602 are displayed. As a result, in the application development tool, it is possible to solve the problem that the application developer must select the “target column” of the target table for acquiring data used for displaying the graph from the tables existing in the database. .

ステップS1108において、グラフの基となる対象カラムの選択を受け付ける。すなわち、ステップS1108は、選択を受け付けたテーブルのカラムから、グラフの表示に用いるデータを取得するカラムの選択を受け付ける処理の一例を示すステップである。つまり、ステップS1106にて特定できた場合であっても、ユーザの操作に従って、グラフの基となる対象カラムを変更することができる。例えば、図9の920にて「キャンセル」ボタンの押下を受け付けた場合、このステップS1108を実行し、「OK」ボタンの押下を受け付けた場合、このステップS1108を実行しないとする。   In step S1108, selection of a target column that is the basis of the graph is accepted. That is, step S1108 is a step showing an example of processing for accepting selection of a column for acquiring data used for displaying a graph from a column of a table that accepts selection. That is, even if it can be specified in step S1106, the target column that is the basis of the graph can be changed according to the user's operation. For example, if a “cancel” button is pressed in 920 in FIG. 9, this step S1108 is executed. If a “OK” button is pressed, this step S1108 is not executed.

すなわち、ステップS1106〜ステップS1108は、文字列を取得できた場合は、当該取得できた文字列に基づいて、グラフの表示に用いるデータを取得すると決定したテーブルのカラムからグラフの表示に用いるデータを取得するカラムを決定し、文字列を取得できなかった場合は、受け付けた選択に従って、グラフの表示に用いるデータを取得するカラムを決定する処理の一例を示すステップである。   That is, in steps S1106 to S1108, if a character string can be acquired, data used for displaying the graph is determined from the table column determined to acquire data used for displaying the graph based on the acquired character string. This is a step showing an example of a process for determining a column to be acquired and determining a column for acquiring data used for displaying a graph in accordance with an accepted selection when a character string cannot be acquired.

ステップS1109において、ステップS1101にて取得した解析結果に従って、グラフの種類(例えば、棒グラフ・折れ線グラフ・円グラフ等)を特定し、特定できた場合はステップS1110に進み、特定できなかった場合はステップS1111に進む。具体的には、解析により取得された単語から、描画するグラフの種類を特定する。   In step S1109, according to the analysis result acquired in step S1101, the type of graph (eg, bar graph, line graph, pie chart, etc.) is specified. If it can be specified, the process proceeds to step S1110. The process proceeds to S1111. Specifically, the type of graph to be drawn is specified from the words acquired by analysis.

例えば、解析結果である「日次」「推移」という単語から、月毎の推移をグラフとして描画したいと捉え、「折れ線グラフ」と特定する。一方、「割合」「シェア」などの単語があれば「円グラフ」と特定する。   For example, from the words “daily” and “transition” as analysis results, it is assumed that the monthly transition is drawn as a graph, and is specified as a “line graph”. On the other hand, if there is a word such as “ratio” or “share”, it is specified as “pie graph”.

なお、本実施形態においては、解析により取得された単語に従って、グラフの種類を決定するとしたが、この方法に限定するものではなく、ステップS1106にて特定したカラムのカラム名に従って、グラフの種類を決定する方法等であってもよい。例えば、「数量」というカラム名から「棒グラフ」というように特定してもよい。   In the present embodiment, the graph type is determined according to the word acquired by the analysis. However, the present invention is not limited to this method, and the graph type is determined according to the column name of the column specified in step S1106. The method of determining etc. may be used. For example, the column name “quantity” may be specified as “bar graph”.

ステップS1110において、ステップS1109にて特定したグラフの種類を表示する(図9の930)。例えば、「折れ線グラフ」を表示する。これにより、アプリケーション開発ツールにおいて、アプリケーション開発者が表示する「グラフの種類」を選択しなければならないという問題を解決することができる。   In step S1110, the type of graph specified in step S1109 is displayed (930 in FIG. 9). For example, a “line graph” is displayed. Thereby, in the application development tool, it is possible to solve the problem that the “type of graph” to be displayed by the application developer must be selected.

ステップS1111において、グラフの種類の選択を受け付ける。すなわち、ステップS1111は、グラフの種類の選択を受け付ける処理の一例を示すステップである。つまり、ステップS1109にて特定できた場合であっても、ユーザの操作に従って、グラフの種類を変更することができる。例えば、図9の930にて「キャンセル」ボタンの押下を受け付けた場合、このステップS1111を実行し、「OK」ボタンの押下を受け付けた場合、このステップS1111を実行しないとする。   In step S1111, selection of a graph type is accepted. That is, step S1111 is a step showing an example of processing for accepting selection of a graph type. That is, even if it can be specified in step S1109, the type of graph can be changed according to the user's operation. For example, when the depression of the “cancel” button is accepted at 930 in FIG. 9, this step S1111 is executed, and when the depression of the “OK” button is accepted, this step S1111 is not executed.

すなわち、ステップS1109〜ステップS1111は、文字列を取得できた場合は、当該取得できた文字列に基づいて、グラフの種類を決定し、文字列を取得できなかった場合は、受け付けた選択に従って、グラフの種類を決定する処理の一例を示すステップである。   That is, step S1109 to step S1111 determine the type of graph based on the acquired character string when the character string can be acquired, and according to the received selection when the character string cannot be acquired. It is a step which shows an example of the process which determines the kind of graph.

なお、本実施形態においては、ステップS1101にて取得した解析結果に従って、「対象テーブル」「対象カラム」「グラフの種類」を特定し、それぞれをステップS1104、ステップS1107、ステップS1110にて表示するとしたが、これに限定するものではなく、特定した「対象テーブル」「対象カラム」「グラフの種類」をまとめて表示する方法や、特定した「対象テーブル」「対象カラム」「グラフの種類」を用いてグラフのプレビューを表示する方法等であってもよい。   In the present embodiment, “target table”, “target column”, and “graph type” are specified according to the analysis result acquired in step S1101, and they are displayed in step S1104, step S1107, and step S1110, respectively. However, the method is not limited to this, and the specified “target table”, “target column”, and “graph type” are displayed together, or the specified “target table”, “target column”, and “graph type” are used. Or a method of displaying a preview of the graph.

以上により、アプリケーション開発ツールにおいて、アプリケーション開発者がデータベースに存在するテーブルの中からグラフの表示に用いるデータを取得する「対象テーブル」「対象カラム」「グラフの種類」を選択しなければならないという問題を解決することができる。
ステップS1112において、グラフの基となる対象テーブルの選択を受け付ける。
ステップS1113において、グラフの基となる対象カラムの選択を受け付ける。
ステップS1114において、グラフの種類の選択を受け付ける。
As described above, in the application development tool, the problem that the application developer must select the “target table”, “target column”, and “graph type” from which the data used for displaying the graph is obtained from the tables existing in the database Can be solved.
In step S1112, selection of a target table that is a basis of the graph is accepted.
In step S1113, selection of the target column that is the basis of the graph is accepted.
In step S1114, selection of a graph type is accepted.

ステップS1115において、決定したグラフの基となるテーブル、カラム、グラフ種類に従って、グラフを描画する部品を生成する。すなわち、ステップS1115は、決定したテーブルから取得したデータを用いてグラフを描画する画面情報を生成する処理の一例を示すステップである。具他的には、アプリケーションの実行により、現在編集している画面の表示が要求された場合、グラフを描画するプログラムを生成する。つまり、対象テーブルの対象カラムからデータを取得するクエリを生成する部品、およびクエリによって取得したデータを用いてグラフとして描画するグラフ描画プログラムを生成する部品をそれぞれ生成する。
以上で、図11の説明を終了する。
In step S1115, a part for drawing a graph is generated according to the table, column, and graph type that are the basis of the determined graph. That is, step S1115 is a step showing an example of processing for generating screen information for drawing a graph using data acquired from the determined table. Specifically, a program for drawing a graph is generated when display of the currently edited screen is requested by executing the application. That is, a part for generating a query for acquiring data from the target column of the target table and a part for generating a graph drawing program for drawing as a graph using the data acquired by the query are generated.
This is the end of the description of FIG.

図12は、アプリケーション生成のフローチャートの一例を示す図である。
ステップS1201において、ユーザによるアプリケーション生成指示を受け付けると、外部メモリ211に記憶されているリポジトリ定義部400のアプリケーション定義402をRAM202に読み込む。
ステップS1202において、外部メモリ211に記憶されているリポジトリ定義部400のデータモデル定義403をRAM202に読み込む。
ステップS1203において、外部メモリ211に記憶されているリポジトリ定義部400の入出力定義404をRAM202に読み込む。
ステップS1204において、外部メモリ211に記憶されているリポジトリ定義部400のビジネスプロセス定義405をRAM202に読み込む。
ステップS1205において、外部メモリ211に記憶されているリポジトリ定義部400のデータベース定義401をRAM202に読み込む。
ステップS1206において、RAM202に読み込んだリポジトリ定義部400の各定義・各ファイルから情報を取得し、ソースコードを生成する。
FIG. 12 is a diagram illustrating an example of a flowchart of application generation.
In step S <b> 1201, when an application generation instruction is received from the user, the application definition 402 of the repository definition unit 400 stored in the external memory 211 is read into the RAM 202.
In step S 1202, the data model definition 403 of the repository definition unit 400 stored in the external memory 211 is read into the RAM 202.
In step S 1203, the input / output definition 404 of the repository definition unit 400 stored in the external memory 211 is read into the RAM 202.
In step S 1204, the business process definition 405 of the repository definition unit 400 stored in the external memory 211 is read into the RAM 202.
In step S 1205, the database definition 401 of the repository definition unit 400 stored in the external memory 211 is read into the RAM 202.
In step S1206, information is acquired from each definition / file of the repository definition unit 400 read into the RAM 202, and a source code is generated.

なお、生成されたソースコードにはプログラミング言語が記載されたファイルに加え、HTML、JSP、JavaScript(登録商標)等のWebアプリケーションの提供に利用されるファイルも含まれる。   The generated source code includes a file used for providing a Web application such as HTML, JSP, Javascript (registered trademark) in addition to a file describing a programming language.

ステップS1207において、ステップS1206にて生成したソースコードをアプリケーションサーバ105に配置(デプロイ)する。これにより、アプリケーションサーバ105上でアプリケーションが動作するようになる。
以上で、図12の説明を終了する。
In step S1207, the source code generated in step S1206 is arranged (deployed) in the application server 105. As a result, the application operates on the application server 105.
Above, description of FIG. 12 is complete | finished.

次に、図12のアプリケーション生成フローチャートにて生成したアプリケーションの実行画面について説明する。
図13は、生成されたアプリケーションを実行した画面の一例を示す図である。このアプリケーションの実行画面1300は、図8および図9のレイアウト編集画面で編集した「受注数量日次推移」画面の画面情報が、このアプリケーションを実行するアプリケーションクライアント104から要求されることにより、アプリケーションサーバ105にて「受注数量日次推移」画面の画面情報に対応付けられたグラフ描画部品が実行され、描画されたグラフがアプリケーションクライアント104に送信され、アプリケーションクライアント104にてグラフ1301が表示される。
Next, the application execution screen generated in the application generation flowchart of FIG. 12 will be described.
FIG. 13 is a diagram illustrating an example of a screen on which the generated application is executed. The application execution screen 1300 is displayed on the application server 104 when screen information of the “order quantity daily transition” screen edited on the layout editing screen of FIGS. 8 and 9 is requested from the application client 104 executing this application. At 105, the graph drawing component associated with the screen information of the “order quantity daily transition” screen is executed, the drawn graph is transmitted to the application client 104, and the graph 1301 is displayed on the application client 104.

具体的には、アプリケーションサーバ105にてグラフ描画部品が実行されると、グラフ描画部品に対応付けられたクエリが実行され、クエリによって取得したデータを用いてグラフ1301を描画する。
以上により、アプリケーション開発ツールにおいて、グラフを表示する画面を容易に生成する仕組みを提供することができる。
Specifically, when a graph drawing component is executed in the application server 105, a query associated with the graph drawing component is executed, and the graph 1301 is drawn using data acquired by the query.
As described above, the application development tool can provide a mechanism for easily generating a screen for displaying a graph.

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

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

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

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

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

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

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

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

101 プログラム開発装置
102 プログラム開発サーバ
103 データベースサーバ
104 アプリケーションクライアント
105 アプリケーションサーバ
106 ネットワーク
101 Program Development Device 102 Program Development Server 103 Database Server 104 Application Client 105 Application Server 106 Network

Claims (6)

グラフを表示する画面を含むアプリケーションを生成する情報処理装置であって、
前記グラフを表示する画面の指示を受け付ける画面指示受付手段と、
前記画面指示受付手段により指示を受け付けた画面の画面情報に含まれる文字列を取得する文字列取得手段と、
前記グラフの表示に用いるデータを取得するテーブルの選択を受け付けるテーブル選択受付手段と、
前記文字列取得手段により文字列を取得できた場合は、当該取得できた文字列に基づいて、前記グラフの表示に用いるデータを取得するテーブルを決定し、
前記文字列取得手段により文字列を取得できなかった場合は、前記テーブル選択受付手段により受け付けた選択に従って、前記グラフの表示に用いるデータを取得するテーブルを決定するグラフ用データ決定手段と、
前記グラフ用データ決定手段により決定したテーブルから取得したデータを用いて前記グラフを描画する画面情報を生成するグラフ描画画面情報生成手段と、
前記画面指示受付手段により指示を受け付けた画面の画面情報と、前記グラフ描画画面情報生成手段により生成されたグラフを描画する画面情報とを対応付ける対応付手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus for generating an application including a screen for displaying a graph,
Screen instruction receiving means for receiving an instruction of a screen for displaying the graph;
A character string acquisition means for acquiring a character string included in the screen information of the screen whose instruction is received by the screen instruction reception means;
Table selection receiving means for receiving selection of a table for acquiring data used for displaying the graph;
When the character string can be acquired by the character string acquisition means, based on the acquired character string, determine a table for acquiring data used for display of the graph,
If the character string cannot be acquired by the character string acquisition unit, a graph data determination unit that determines a table for acquiring data used to display the graph according to the selection received by the table selection reception unit;
Graph drawing screen information generating means for generating screen information for drawing the graph using data acquired from the table determined by the graph data determining means;
An information processing apparatus comprising: association means for associating screen information of a screen for which an instruction has been received by the screen instruction reception means with screen information for drawing a graph generated by the graph drawing screen information generation means .
前記テーブル選択受付手段により選択を受け付けたテーブルのカラムから、前記グラフの表示に用いるデータを取得するカラムの選択を受け付けるカラム選択受付手段を更に備え、
前記グラフ用データ決定手段は、
前記文字列取得手段により文字列を取得できた場合は、当該取得できた文字列に基づいて、前記グラフの表示に用いるデータを取得すると決定したテーブルのカラムから前記グラフの表示に用いるデータを取得するカラムを決定し、
前記文字列取得手段により文字列を取得できなかった場合は、前記カラム選択受付手段により受け付けた選択に従って、前記グラフの表示に用いるデータを取得するカラムを決定すること
を特徴とする請求項1に記載の情報処理装置。
Column selection receiving means for receiving selection of a column for acquiring data used for display of the graph from the column of the table received by the table selection receiving means,
The graph data determining means includes:
When the character string can be acquired by the character string acquisition means, the data used for displaying the graph is acquired from the column of the table determined to acquire the data used for displaying the graph based on the acquired character string. Determine the column to be
The column for acquiring data used for display of the graph is determined according to the selection received by the column selection receiving unit when the character string acquisition unit cannot acquire the character string. The information processing apparatus described.
前記グラフの種類の選択を受け付けるグラフ種類選択受付手段と、
前記文字列取得手段により文字列を取得できた場合は、当該取得できた文字列に基づいて、前記グラフの種類を決定し、
前記文字列取得手段により文字列を取得できなかった場合は、前記グラフ種類選択受付手段により受け付けた選択に従って、前記グラフの種類を決定するグラフ種類決定手段と
を更に備え、
前記グラフ描画画面情報生成手段は、
前記グラフ種類決定手段により決定した種類のグラフを描画する画面情報を生成すること
を特徴とする請求項1または2に記載の情報処理装置。
Graph type selection accepting means for accepting selection of the graph type;
If the character string can be acquired by the character string acquisition means, based on the acquired character string, determine the type of the graph,
If the character string cannot be acquired by the character string acquisition means, further comprising a graph type determination means for determining the type of the graph according to the selection received by the graph type selection reception means,
The graph drawing screen information generating means includes:
The information processing apparatus according to claim 1, wherein screen information for drawing a graph of a type determined by the graph type determination unit is generated.
前記対応付手段は、
前記画面指示受付手段により指示を受け付けた画面の画面情報に、前記グラフ描画画面情報生成手段により生成されたグラフを描画する画面情報を挿入すること
を特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
The correspondence means is
4. The screen information for drawing the graph generated by the graph drawing screen information generating unit is inserted into the screen information of the screen whose instruction is received by the screen instruction receiving unit. The information processing apparatus according to item.
グラフを表示する画面を含むアプリケーションを生成する情報処理装置における処理方法であって、
前記情報処理装置が、
前記グラフを表示する画面の指示を受け付ける画面指示受付ステップと、
前記画面指示受付ステップにより指示を受け付けた画面の画面情報に含まれる文字列を取得する文字列取得ステップと、
前記グラフの表示に用いるデータを取得するテーブルの選択を受け付けるテーブル選択受付ステップと、
前記文字列取得ステップにより文字列を取得できた場合は、当該取得できた文字列に基づいて、前記グラフの表示に用いるデータを取得するテーブルを決定し、
前記文字列取得ステップにより文字列を取得できなかった場合は、前記テーブル選択受付ステップにより受け付けた選択に従って、前記グラフの表示に用いるデータを取得するテーブルを決定するグラフ用データ決定ステップと、
前記グラフ用データ決定ステップにより決定したテーブルから取得したデータを用いて前記グラフを描画する画面情報を生成するグラフ描画画面情報生成ステップと、
前記画面指示受付ステップにより指示を受け付けた画面の画面情報と、前記グラフ描画画面情報生成ステップにより生成されたグラフを描画する画面情報とを対応付ける対応付ステップと
を実行することを特徴とする処理方法。
A processing method in an information processing apparatus for generating an application including a screen for displaying a graph,
The information processing apparatus is
A screen instruction receiving step for receiving an instruction of a screen for displaying the graph;
A character string acquisition step of acquiring a character string included in the screen information of the screen that has received the instruction in the screen instruction reception step;
A table selection receiving step for receiving selection of a table for acquiring data used for displaying the graph;
If the character string can be acquired by the character string acquisition step, based on the acquired character string, determine a table for acquiring data used for display of the graph,
If the character string could not be acquired by the character string acquisition step, according to the selection received by the table selection reception step, a graph data determination step for determining a table for acquiring data used for displaying the graph;
A graph drawing screen information generation step for generating screen information for drawing the graph using data acquired from the table determined by the graph data determination step;
A processing method comprising: associating the screen information of the screen for which the instruction has been received by the screen instruction receiving step with the screen information for drawing the graph generated by the graph drawing screen information generating step. .
グラフを表示する画面を含むアプリケーションを生成する情報処理装置で実行可能なプログラムであって、
前記情報処理装置を、
前記グラフを表示する画面の指示を受け付ける画面指示受付手段と、
前記画面指示受付手段により指示を受け付けた画面の画面情報に含まれる文字列を取得する文字列取得手段と、
前記グラフの表示に用いるデータを取得するテーブルの選択を受け付けるテーブル選択受付手段と、
前記文字列取得手段により文字列を取得できた場合は、当該取得できた文字列に基づいて、前記グラフの表示に用いるデータを取得するテーブルを決定し、
前記文字列取得手段により文字列を取得できなかった場合は、前記テーブル選択受付手段により受け付けた選択に従って、前記グラフの表示に用いるデータを取得するテーブルを決定するグラフ用データ決定手段と、
前記グラフ用データ決定手段により決定したテーブルから取得したデータを用いて前記グラフを描画する画面情報を生成するグラフ描画画面情報生成手段と、
前記画面指示受付手段により指示を受け付けた画面の画面情報と、前記グラフ描画画面情報生成手段により生成されたグラフを描画する画面情報とを対応付ける対応付手段
として機能させることを特徴とするプログラム。
A program that can be executed by an information processing apparatus that generates an application including a screen for displaying a graph,
The information processing apparatus;
Screen instruction receiving means for receiving an instruction of a screen for displaying the graph;
A character string acquisition means for acquiring a character string included in the screen information of the screen whose instruction is received by the screen instruction reception means;
Table selection receiving means for receiving selection of a table for acquiring data used for displaying the graph;
When the character string can be acquired by the character string acquisition means, based on the acquired character string, determine a table for acquiring data used for display of the graph,
If the character string cannot be acquired by the character string acquisition unit, a graph data determination unit that determines a table for acquiring data used to display the graph according to the selection received by the table selection reception unit;
Graph drawing screen information generating means for generating screen information for drawing the graph using data acquired from the table determined by the graph data determining means;
A program that causes screen information of a screen for which an instruction has been received by the screen instruction receiving means to function as an association means for associating screen information for drawing a graph generated by the graph drawing screen information generating means.
JP2016072616A 2016-03-31 2016-03-31 Information processing device, processing method thereof, and program Pending JP2017182675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016072616A JP2017182675A (en) 2016-03-31 2016-03-31 Information processing device, processing method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016072616A JP2017182675A (en) 2016-03-31 2016-03-31 Information processing device, processing method thereof, and program

Publications (1)

Publication Number Publication Date
JP2017182675A true JP2017182675A (en) 2017-10-05

Family

ID=60007074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016072616A Pending JP2017182675A (en) 2016-03-31 2016-03-31 Information processing device, processing method thereof, and program

Country Status (1)

Country Link
JP (1) JP2017182675A (en)

Similar Documents

Publication Publication Date Title
CN101278252B (en) Method for providing function for user interface for a database application and the interface deployment method
CN113849156B (en) Codeless intelligent development system applied to OpenHarmony operating system and application method thereof
JP7014960B2 (en) Information processing equipment, servers, their processing methods and programs
JP6423933B2 (en) Information processing apparatus, form management system, form management server, information processing method, and program thereof
KR20100049235A (en) System and method for providing user feedback in association with content in a network
JP6056944B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2018181073A (en) Information processing apparatus, processing method thereof, and program
JP2017182675A (en) Information processing device, processing method thereof, and program
JP2004326626A (en) Structured document file management system and structured document file management method
JP2018036855A (en) Information processing system, control method of information processing system, and program
JP2009157797A (en) Data input support system, data input support method and program
JP4976783B2 (en) PROGRAM GENERATION DEVICE, PROGRAM GENERATION METHOD, PROGRAM, AND RECORDING MEDIUM
JP7421137B2 (en) Information processing device, information processing method and program
JP2018101237A (en) Program generation device, processing method thereof and program
KR102427213B1 (en) Method, system, and computer readable record medium to manage together text conversion record and memo for audio file
JP6361770B2 (en) Information processing apparatus, processing method thereof, and program
JP5418539B2 (en) Information processing system, information processing method thereof, program thereof, information processing apparatus, information processing method thereof, program thereof, developer terminal, information processing method thereof, program thereof
JP7485894B2 (en) Information processing device, information processing method, and program
JP7315817B2 (en) Information processing device, its control method, and program
JP2010157166A (en) Device, system and method for lot tracing, and program
JP2021103432A (en) Information processing apparatus, information processing method, and program
JP6203613B2 (en) Information processing apparatus, form management system, form management apparatus, information processing method, and program thereof
JP2023138304A (en) Information processing system, information processor, method and program
JP6056689B2 (en) Information processing apparatus, processing method thereof, and program
JP2021103431A (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180703

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20181031

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190111