JP6422346B2 - Program generation apparatus and program generation method - Google Patents

Program generation apparatus and program generation method Download PDF

Info

Publication number
JP6422346B2
JP6422346B2 JP2015002474A JP2015002474A JP6422346B2 JP 6422346 B2 JP6422346 B2 JP 6422346B2 JP 2015002474 A JP2015002474 A JP 2015002474A JP 2015002474 A JP2015002474 A JP 2015002474A JP 6422346 B2 JP6422346 B2 JP 6422346B2
Authority
JP
Japan
Prior art keywords
template
program
input
item
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015002474A
Other languages
Japanese (ja)
Other versions
JP2016126721A (en
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2015002474A priority Critical patent/JP6422346B2/en
Publication of JP2016126721A publication Critical patent/JP2016126721A/en
Application granted granted Critical
Publication of JP6422346B2 publication Critical patent/JP6422346B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、プログラム生成装置に関する。   The present invention relates to a program generation device.

通信事業者は、LTE通信又はWiMAX通信などの通信回線の利用を可能にするサービス(通信サービス)を顧客に提供する際に、通信サービスの新規申込業務及び解約業務などの様々な業務を行っている。このような通信事業者が行う業務には、一定の業務の流れが存在するため、通信業者は、同様な内容の業務を定型化された処理によって実現することができる。   When providing a customer with a service (communication service) that enables the use of a communication line such as LTE communication or WiMAX communication, the communication carrier performs various operations such as a new application service for a communication service and a cancellation service. There is. A certain flow of work exists in the work performed by such a communication carrier, and therefore, the communication trader can realize the work of the same content by the standardized processing.

このため、通信事業者は、定型化された処理によって実現する業務を、定型処理を行うプログラムによってシステム化することが可能である。一般的に、定型処理を行うプログラムを開発する者は、定型処理を実現するプログラムを、自動的に生成する計算機システムを用いることが可能であり、その結果として定型処理を実現する計算機システムの開発効率を高めることができる。   For this reason, it is possible for the telecommunications carrier to systemize the work realized by the standardized processing by the program for performing the standard processing. Generally, a person who develops a program that performs fixed processing can use a computer system that automatically generates a program that realizes fixed processing, and as a result, develops a computer system that realizes fixed processing. Efficiency can be improved.

以下において、計算機システムが、プログラムを実行することによって新たなプログラムを生成することをプログラムの自動生成と記載する。   In the following, generating a new program by executing a program is referred to as automatic generation of a program.

計算機システムは、プログラムを生成するため、プログラムを特徴付ける入力情報を読み込み、読み込んだ入力情報を反映したプログラムを生成する。さらに、プログラム生成装置が、入力情報に応じて自動的に生成するプログラムが持つ処理ロジックを柔軟に変化させる技術が提案されている(例えば、特許文献1参照)。   In order to generate a program, the computer system reads input information characterizing the program, and generates a program reflecting the read input information. Furthermore, a technology has been proposed in which the program generation apparatus flexibly changes the processing logic of a program that is automatically generated according to input information (see, for example, Patent Document 1).

特許文献1には、プログラムの自動生成において、入力情報の複数の項目にまたがる項目関連チェックを行うプログラムを生成する技術が開示されている。特許文献1に記載された技術は、入力項目に応じて追加生成するチェックロジックを動的に変化させることができる。   Patent Document 1 discloses a technique for generating a program that performs item relation check across plural items of input information in automatic generation of a program. The technology described in Patent Document 1 can dynamically change the check logic to be additionally generated according to the input item.

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

特許文献1に記載された技術は、入力項目に応じたバリエーションを有したプログラムとして追加生成できる処理の対象が、入力項目の関連をチェックする処理に限られる。   The technology described in Patent Document 1 is limited to the process of checking the relationship of input items, which can be additionally generated as a program having a variation corresponding to the input item.

しかし、例えば、通信事業者が行う業務をプログラムによって実行するためには、通信サービスの新規加入及び解約などの様々な処理を実装する必要がある。そして、入力項目をチェックする行為は業務における一行為に過ぎないため、特許文献1に記載された技術を用いても、多くの業務がプログラムによって実装できない。   However, for example, in order to programmatically execute a task performed by a communication carrier, it is necessary to implement various processes such as new subscription and cancellation of communication service. And since the act of checking the input items is only one act in business, even if the technology described in Patent Document 1 is used, many business can not be implemented by the program.

そのため、特許文献1に記載された技術では、入力項目の特徴を反映し、かつ、様々な処理を含む業務を実現するプログラムを自動的に生成することが困難である。   Therefore, in the technique described in Patent Document 1, it is difficult to automatically generate a program that reflects the features of the input item and realizes a task including various processes.

上記課題を解決するために、本発明は、業務処理を実現するためのプログラムを生成するプログラム生成装置であって、プロセッサ、メモリ及び入出力インタフェースを有し、前記メモリは、第1の処理が実行処理を呼び出す順序を示す第1のテンプレートと、前記実行処理を具体化する第2のテンプレートと、前記第1のテンプレート及び前記第2のテンプレートにおける第1の設定箇所に設定される複数の第1の入力項目を示す入力項目情報と、を保持し、前記第1の処理が呼び出す実行処理に新たな処理を追加する指示と、前記第1の処理が前記新たな処理を呼び出す順序と、入力項目の指示とを、前記入出力インタフェースを介して受け付け、前記新たな処理が実行する処理を示すテンプレートとして、前記第2のテンプレートを読み出し、前記受け付けた指示が示す入力項目が前記複数の第1の入力項目に含まれる場合、前記複数の第1の入力項目に含まれる前記受け付けた指示が示す入力項目の数だけ、前記読み出した第2のテンプレートを複製し、前記複製した第2のテンプレートにおける前記第1の設定箇所に、前記受け付けた指示が示す入力項目を設定した結果を、前記第2のプログラムとして出力し、前記複数の第1の入力項目の数だけ、前記第1のテンプレートを複製し、前記複製した第1のテンプレートにおける前記第1の設定箇所に、前記第1の入力項目の各々を設定し、前記受け付けた新たな処理を呼び出す順序に従って、前記受け付けた指示が示す入力項目を設定した第1のテンプレートが前記第2のプログラムを呼び出すように、前記受け付けた指示が示す入力項目を設定した第1のテンプレートが示す順序を更新し、前記更新した後、前記第1の入力項目を設定した第1のテンプレートを、前記第1のプログラムとして出力する。   In order to solve the above problems, the present invention is a program generating device for generating a program for realizing business processing, comprising a processor, a memory, and an input / output interface, wherein the memory has a first process. A first template indicating an order of calling an execution process, a second template embodying the execution process, and a plurality of first setting points set in the first template and the first setting location in the second template An instruction to hold input item information indicating an input item 1 and to add a new process to the execution process called by the first process, an order in which the first process calls the new process, and an input Receive an instruction of an item via the input / output interface, and read the second template as a template indicating processing to be executed by the new processing. If the input item indicated by the received instruction is included in the plurality of first input items, the number of input items indicated by the received instruction included in the plurality of first input items is read out. A second template is copied, and a result of setting an input item indicated by the received instruction at the first setting location in the copied second template is output as the second program, and the plurality of the plurality of The first template is copied by the number of first input items, and each of the first input items is set in the first setting location in the copied first template, and the received new input item The first template in which the input item indicated by the received instruction is set in accordance with the order of calling the proper process, the first template calls the second program, Update the order indicated by the first of the template that has been set the input items shown are shown, after the update, the first template sets the first input field, and outputs it as the first program.

本発明によれば、入力項目の特徴を反映し、かつ、様々な処理を含む業務を実現するプログラムを自動的に生成することができる。   According to the present invention, it is possible to automatically generate a program that reflects the characteristics of the input item and realizes the task including various processes.

上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。   Problems, configurations, and effects other than those described above will be apparent from the description of the embodiments below.

本実施例のプログラム生成装置の物理的な構成の一つ目の例を示すブロック図である。It is a block diagram which shows the 1st example of a physical structure of the program production | generation apparatus of a present Example. 本実施例のプログラム生成装置が受け付ける顧客情報xmlの例を示す説明図である。It is explanatory drawing which shows the example of the customer information xml which the program production | generation apparatus of a present Example receives. 本実施例のプログラム生成装置が受け付ける商品情報xmlの例を示す説明図である。It is explanatory drawing which shows the example of goods information xml which the program production | generation apparatus of a present Example receives. 本実施例の顧客情報を示す説明図である。It is an explanatory view showing customer information of this example. 本実施例の商品情報を示す説明図である。It is explanatory drawing which shows the goods information of a present Example. 本実施例の業務プログラムの雛型となるプログラム生成テンプレートを示す説明図である。It is explanatory drawing which shows the program production | generation template used as the template of the work program of a present Example. 本実施例の業務プログラムにおけるコンポーネントの呼出し順序を示す説明図である。It is explanatory drawing which shows the call order of the component in the work program of a present Example. 本実施例のプロセステンプレートに基づいて生成されるコンポーネントを示す説明図である。It is explanatory drawing which shows the component produced | generated based on the process template of a present Example. 本実施例のプログラム生成処理を示すフローチャートである。It is a flowchart which shows the program production | generation process of a present Example. 本実施例のプログラム生成装置の物理的な構成の二つ目の例を示すブロック図である。It is a block diagram which shows the 2nd example of the physical structure of the program production | generation apparatus of a present Example. 本実施例の追加処理情報を示す説明図である。It is explanatory drawing which shows the additional process information of a present Example. 本実施例の業務種別を示す説明図である。It is explanatory drawing which shows the work classification of a present Example. 本実施例の呼出し処理を挿入可能な箇所の識別子を示す説明図である。It is explanatory drawing which shows the identifier of the location which can insert the calling process of a present Example. 本実施例のプロセス挿入箇所を示す説明図である。It is explanatory drawing which shows the process insertion part of a present Example. 本実施例のファンクション挿入箇所を示す説明図である。It is explanatory drawing which shows the function insertion part of a present Example. 本実施例の追加設計情報を示す説明図である。It is explanatory drawing which shows the additional design information of a present Example. 本実施例の追加する処理の設計を入力するための追加処理設計GUIの例を示す説明図である。It is explanatory drawing which shows the example of the additional process design GUI for inputting the design of the process to add of a present Example. 本実施例の追加生成テンプレートに基づいて生成されるコンポーネントを示す説明図である。It is explanatory drawing which shows the component produced | generated based on the additional production | generation template of a present Example. 本実施例のファンクションの呼出し処理が挿入されたプロセスを示す説明図である。It is explanatory drawing which shows the process in which the call process of the function of a present Example was inserted. 本実施例の追加された処理を含む業務プログラムにおけるコンポーネントの呼出し順序を示す説明図である。It is explanatory drawing which shows the call order of the component in a business program including the added process of a present Example. 本実施例の入力項目を受け付ける処理を示すフローチャートである。It is a flowchart which shows the process which receives the input item of a present Example. 本実施例の追加処理を実行するプログラムを生成する処理を示すフローチャートである。It is a flowchart which shows the process which produces | generates the program which performs the addition process of a present Example. 本実施例の業務プログラムに追加処理を挿入する処理を示すフローチャートである。It is a flowchart which shows the process which inserts additional processing into the work program of a present Example. 本実施例の追加処理設計GUIに入力された項目を示す説明図である。It is explanatory drawing which shows the item input into the additional process design GUI of a present Example.

まず、定型処理を行うプログラムの生成技術について説明する。以下に示す実施例では、通信事業者の主業務の一つである新規申込業務を実現するプログラムを自動生成する例について述べる。   First, a technique for generating a program that performs fixed processing will be described. In the embodiment shown below, an example will be described in which a program for realizing a new application job, which is one of the main tasks of a telecommunications carrier, is automatically generated.

新規申込業務とは、顧客が通信サービスの利用を新規で申し込んだ際に、申込時に入力される顧客情報及び商品情報に基づいて、通信事業者が通信サービスの利用開始手続きを行い、顧客が通信サービスを利用できるようにする業務処理を指す。ここで、顧客情報とは、例えば、「氏名」、「住所」及び「生年月日」など、顧客を特定するための情報である。また、商品情報とは、例えば、「LTE通信サービス」及び「WiMAX通信サービス」など、通信事業者が提供する商品又はサービスなどを特定するための情報である。   In the new application business, when a customer newly applies for the use of the communication service, the communication carrier performs the use start procedure of the communication service based on the customer information and the product information input at the time of application, and the customer communicates Refers to the business process that makes the service available. Here, the customer information is, for example, information for specifying a customer, such as “name”, “address”, and “birth date”. Further, the product information is, for example, information for specifying a product or service provided by the communication carrier, such as “LTE communication service” and “WiMAX communication service”.

具体的には、新規申込業務には、以下で示す定型化されたサブ業務1〜4が存在する。   Specifically, there are stylized sub-tasks 1 to 4 shown below in the new application task.

サブ業務1は、顧客からの通信サービスの利用の申込みを受け付ける業務(申込受付業務)である。   The sub task 1 is a task (application receiving task) for receiving an application for use of the communication service from the customer.

サブ業務2は、申込対象の通信サービスを顧客が利用できるように通信設備を設定し、通信サービスを開通させる業務(開通業務)である。   The sub-task 2 is a task (opening service) for setting the communication facility so that the customer can use the communication service of the application target and opening the communication service.

サブ業務3は、通信サービスの利用に関する契約情報を、通信サービスを提供する通信システムに登録する業務(契約完了業務)である。   The sub-task 3 is a task (contract completion task) of registering contract information on the use of the communication service in the communication system providing the communication service.

サブ業務4は、顧客が利用した通信量に応じた顧客の課金額の計算を開始する業務(課金開始業務)である。   The sub-task 4 is a task (charging start task) for starting the calculation of the charge amount of the customer according to the communication amount used by the customer.

通信事業者が顧客に提供する通信サービスには複数の種類のサービスが存在し、通信システムは、サービスに従った処理を行う。新規申込業務において複数のサービスを同時に申し込まれた場合、通信システムは、申し込まれたすべてのサービスに対応する処理を行う。   There are multiple types of communication services provided by a communication carrier to a customer, and the communication system performs processing in accordance with the service. When a plurality of services are subscribed simultaneously in a new application job, the communication system performs processing corresponding to all subscribed services.

以下、このような新規申込業務を実現するプログラムを自動生成するプログラム生成装置について説明する。   Hereinafter, a program generation apparatus for automatically generating a program for realizing such a new application task will be described.

図1は、本実施例のプログラム生成装置100の物理的な構成の一つ目の例を示すブロック図である。   FIG. 1 is a block diagram showing a first example of the physical configuration of the program generation apparatus 100 of the present embodiment.

プログラム生成装置100は、入力I/F(インタフェース)101、出力I/F102、CPU103、HDD(ハードディスクドライブ)104及びメモリ105を有し、これらの装置はデータバス106によって接続される。データバス106は、各々の装置間の通信を中継する。   The program generation device 100 includes an input I / F (interface) 101, an output I / F 102, a CPU 103, an HDD (hard disk drive) 104, and a memory 105, and these devices are connected by a data bus. The data bus 106 relays communication between each device.

入力I/F101は、入力装置107と接続するためのインタフェースである。入力装置107は、例えばマウス又はキーボードなど、ユーザによるプログラム生成装置100への指示を受け付けるための装置である。   The input I / F 101 is an interface for connecting to the input device 107. The input device 107 is a device such as a mouse or a keyboard for receiving an instruction from the user to the program generation device 100.

また、出力I/F102は、表示装置108と接続するインタフェースである。表示装置108は、例えばディスプレイなど、ユーザにプログラム生成装置100による処理結果を提示するための装置である。入力装置107及び表示装置108は、例えばタブレット端末のように、一つの装置に実装されてもよい。   The output I / F 102 is an interface connected to the display device 108. The display device 108 is a device, such as a display, for presenting the processing result by the program generation device 100 to the user. The input device 107 and the display device 108 may be implemented in one device, for example, as a tablet terminal.

CPU103は、少なくとも一つのプロセッサを有する演算装置であれば、いかなる装置であってもよい。CPU103は、メモリ105のプログラムを実行することによって、プログラム生成装置100の機能を実装する。   The CPU 103 may be any device as long as it is an arithmetic device having at least one processor. The CPU 103 implements the functions of the program generation apparatus 100 by executing the program of the memory 105.

メモリ105は、不揮発性の記憶素子であるROM及び揮発性の記憶素子であるRAMを含む。ROMは、不変のプログラム(例えば、BIOS)などを格納する。RAMは、DRAM(Dynamic Random Access Memory)のような高速かつ揮発性の記憶素子であり、補助記憶装置に格納されたプログラム及びプログラムの実行時に使用されるデータを一時的に格納する。   The memory 105 includes a ROM, which is a non-volatile storage element, and a RAM, which is a volatile storage element. The ROM stores an immutable program (for example, BIOS). The RAM is a high-speed and volatile storage element such as a dynamic random access memory (DRAM), and temporarily stores the program stored in the auxiliary storage device and data used when the program is executed.

メモリ105は、プログラムとして、生成プログラム109を有する。また、メモリ105は、データとして、顧客情報111、商品情報112、オーダーテンプレート113、プロセステンプレート114、及び、ファンクションテンプレート115を有する。   The memory 105 has a generation program 109 as a program. Further, the memory 105 includes, as data, customer information 111, product information 112, an order template 113, a process template 114, and a function template 115.

生成プログラム109は、本実施例の業務を実行するための業務プログラムを生成するプログラムである。また、生成プログラム109は、プログラムを生成する処理を行うためのアプリケーションロジック110を有する。アプリケーションロジック110は、生成プログラム109を実装するためのサブプログラム、及び、変数等を含む。   The generation program 109 is a program for generating a business program for executing the business of the present embodiment. In addition, the generation program 109 has application logic 110 for performing processing of generating a program. The application logic 110 includes a subprogram for implementing the generation program 109, variables, and the like.

顧客情報111は、顧客情報を格納する。商品情報112は、商品情報を格納する。オーダーテンプレート113、プロセステンプレート114及びファンクションテンプレート115は、業務プログラムを構成するコンポーネント(オーダー、プロセス、及びファンクションの総称)の雛型である。以下において、オーダーテンプレート113、プロセステンプレート114及びファンクションテンプレート115を総称して、プログラム生成テンプレートと記載する。   The customer information 111 stores customer information. The item information 112 stores item information. The order template 113, the process template 114, and the function template 115 are templates of components (a generic name of an order, a process, and a function) constituting a business program. Hereinafter, the order template 113, the process template 114, and the function template 115 will be collectively referred to as a program generation template.

オーダー、プロセス及びファンクションの詳細については、後述する。   Details of the order, process and function will be described later.

なお、メモリ105が有するデータは、データ容量が多い場合など、HDD104に格納されてもよい。そして、CPU103は、必要に応じてHDD104からデータをメモリ105に読み出してもよい。   Data included in the memory 105 may be stored in the HDD 104, for example, when the data capacity is large. Then, the CPU 103 may read data from the HDD 104 to the memory 105 as needed.

HDD104は、補助記憶装置であれば、いかなる装置であってもよく、例えば、フラッシュメモリ(SSD)などの大容量かつ不揮発性の記憶装置であってもよい。また、HDD104は、CPU103が実行するプログラム及びプログラムの実行時に使用されるデータを格納してもよい。   The HDD 104 may be any device as long as it is an auxiliary storage device. For example, the HDD 104 may be a large-capacity non-volatile storage device such as a flash memory (SSD). The HDD 104 may also store a program executed by the CPU 103 and data used when executing the program.

メモリ105が有するプログラム及びデータは、リムーバブルメディア(CD−ROM、又は、フラッュメモリなど)又はネットワークを介してプログラム生成装置100に提供され、非一時的記憶媒体であるHDD104に格納されてもよい。このため、プログラム生成装置100は、リムーバブルメディアからデータを取得するインタフェースを有してもよい。   Programs and data of the memory 105 may be provided to the program generation apparatus 100 via removable media (CD-ROM or flash memory or the like) or a network, and may be stored in the HDD 104 as a non-transitory storage medium. For this reason, the program generation device 100 may have an interface for acquiring data from removable media.

プログラム生成装置100は、物理的に一つの計算機上で、又は、論理的又は物理的に複数の計算機上で構成される計算機システムであり、前述したプログラムが、同一の計算機上で別個のスレッドで動作してもよく、複数の物理的計算機資源上に構築された仮想計算機上で動作してもよい。   The program generation apparatus 100 is a computer system that is physically configured on one computer, or logically or physically on a plurality of computers, and the program described above is a separate thread on the same computer. It may operate, and may operate on a virtual computer built on a plurality of physical computer resources.

本実施例において、業務プログラムに入力される入力値には、入力値の性質、目的及び特徴に従って、入力項目が割り当てられる。顧客は、入力項目に従い、自らの契約に関する入力値を業務プログラムに入力する。例えば、入力項目が「名前」である場合、顧客は、入力値として「山田太郎」を業務プログラムに入力する。   In the present embodiment, input items are assigned to input values input to the business program according to the nature, purpose, and features of the input values. The customer inputs the input value regarding his contract into the business program according to the input items. For example, when the input item is "name", the customer inputs "Taro Yamada" as an input value into the business program.

業務プログラムは、入力項目に対応する変数、クラス名、及びサブプログラムの呼出し処理等を含む。このため、生成プログラム109は、入力項目を設定された業務プログラムを生成する必要がある。   The business program includes variables corresponding to input items, class names, and call processing of subprograms. For this reason, the generation program 109 needs to generate a business program in which input items are set.

図2Aは、本実施例のプログラム生成装置100が受け付ける顧客情報xml201の例を示す説明図である。   FIG. 2A is an explanatory view showing an example of the customer information xml 201 received by the program generation apparatus 100 of the present embodiment.

顧客情報xml201は、プログラム生成装置100が顧客情報を保持するための項目を定義する。また、顧客情報xml201は、業務プログラムに入力される顧客情報の入力項目を定義するための情報である。   The customer information xml 201 defines an item for the program generation apparatus 100 to hold customer information. The customer information xml 201 is information for defining an input item of customer information input to the business program.

顧客情報xml201は、タグ202、203及び204を含む。タグ202は、顧客の氏名の入力項目を定義する。タグ203は、顧客の住所の入力項目を定義する。タグ204は、顧客の生年月日の入力項目を定義する。   The customer information xml 201 includes tags 202, 203 and 204. The tag 202 defines an input item of the customer's name. The tag 203 defines an input item of a customer's address. The tag 204 defines an input item of the customer's date of birth.

タグ202、203及び204は、各々customerタグによって表現される。そして、customerタグは、入力項目の識別子、名称、英名、及び、その入力項目に割り当てられる属性の名称を示す。customerタグとは、「<customer>」と「</customer>」とが囲む範囲である。   The tags 202, 203 and 204 are each represented by a customer tag. The customer tag indicates the identifier of the input item, the name, the English name, and the name of the attribute assigned to the input item. The customer tag is a range surrounded by “<customer>” and “</ customer>”.

入力項目の識別子とは、入力項目を一意に特定するために使用される識別子である。入力項目の識別子は、idタグを用いて「<id>識別子</id>」のように表現される。   The identifier of the input item is an identifier used to uniquely identify the input item. The identifier of the input item is expressed as “<id> identifier </ id>” using an id tag.

入力項目の名称は、nameタグを用いて「<name>名称</name>」のように表現される。入力項目の英名は、生成される業務プログラム内でクラス名などに入力項目を設定するために使用される。入力項目の英名は、nameEnタグを用いて「<nameEn>名称</nameEn>」のように表現される。   The name of the input item is expressed as "<name> name </ name>" using a name tag. The English name of the input item is used to set an input item such as a class name in the generated business program. The English name of the input item is expressed as "<nameEn> name </ nameEn>" using the nameEn tag.

入力項目が持つ属性名は、生成される業務プログラムにおいて属性値を格納する変数名などに使用される。入力項目が持つ属性名は、attrNameタグを用いて「<attrName>属性名</attrName>」のように表現される。attrNameタグは、「<attrNames>」と「</attrNames>」とが囲む範囲である。   The attribute name of the input item is used as a variable name or the like for storing the attribute value in the generated business program. The attribute name of the input item is expressed as "<attrName> attribute name </ attrName>" using the attrName tag. The attrName tag is a range enclosed by “<attrNames>” and “</ attrNames>”.

入力項目が持つ属性が複数存在する場合、attrNamesタグ内に複数のattrNameタグが設定される。   If there are multiple attributes that the input item has, multiple attrName tags are set in the attrNames tag.

図2Bは、本実施例のプログラム生成装置100が受け付ける商品情報xml211の例を示す説明図である。   FIG. 2B is an explanatory view showing an example of the product information xml 211 received by the program generation device 100 of the present embodiment.

商品情報xml211は、プログラム生成装置100が商品情報を保持するための項目を定義する。また、商品情報xml211は、業務プログラムに入力される商品情報の入力項目を定義するための情報である。   The product information xml 211 defines an item for the program generation apparatus 100 to hold product information. The product information xml 211 is information for defining an input item of the product information input to the business program.

商品情報xml211は、タグ212、及び213を含む。タグ212は、LTE通信サービスに関する入力項目を定義し、タグ213は、WiMAX通信サービスに関する入力項目を定義する。   The product information xml 211 includes tags 212 and 213. The tag 212 defines an input item for LTE communication service, and the tag 213 defines an input item for WiMAX communication service.

タグ212、及び213は、各々productタグによって表現される。そして、productタグは、入力項目の識別子、名称、英名、及び、その入力項目が持つ属性名を示す。商品情報xml211における定義方法は、顧客情報xml201と同じである。   Tags 212 and 213 are each represented by a product tag. The product tag indicates an identifier of an input item, a name, an English name, and an attribute name of the input item. The definition method in the product information xml 211 is the same as the customer information xml 201.

プログラム生成装置100の生成プログラム109は、顧客情報xml201及び商品情報xml211を、入力I/F101を介して受け付けた場合、受け付けた顧客情報xml201及び商品情報xml211に基づいて顧客情報111及び商品情報112を更新する。そして、生成プログラム109は、顧客情報111及び商品情報112において定義された入力項目を、生成する業務プログラムに設定する。   When the generation program 109 of the program generation apparatus 100 receives the customer information xml201 and the product information xml211 through the input I / F 101, the generation program 109 of the customer information 111 and the product information 112 is based on the received customer information xml201 and the product information xml211. Update. Then, the generation program 109 sets an input item defined in the customer information 111 and the product information 112 in the business program to be generated.

プログラム生成装置100の管理者又は運用者(以下、運用者等)は、顧客情報xml201及び商品情報xml211の内容を変更することによって、業務プログラムに反映する入力項目を変更する。   The manager or the operator (hereinafter, the operator or the like) of the program generation apparatus 100 changes the contents of the customer information xml201 and the product information xml211 to change the input items to be reflected in the business program.

図3Aは、本実施例の顧客情報111を示す説明図である。   FIG. 3A is an explanatory view showing the customer information 111 of the present embodiment.

顧客情報111は、項目ID301、顧客項目名302、顧客項目英名303、及び顧客属性リスト304を含む。生成プログラム109は、顧客情報xml201を受け付けた場合、顧客情報xml201のidタグの設定値を項目ID301に格納し、顧客情報xml201のnameタグの設定値を顧客項目名302に格納する。   The customer information 111 includes an item ID 301, a customer item name 302, a customer item English name 303, and a customer attribute list 304. When receiving the customer information xml201, the generation program 109 stores the setting value of the id tag of the customer information xml201 in the item ID 301, and stores the setting value of the name tag of the customer information xml201 in the customer item name 302.

また、生成プログラム109は、顧客情報xml201のnameEnタグの設定値を顧客項目英名303に格納し、顧客情報xml201のattrNamesタグにおけるattrNameタグの設定値を、顧客属性リスト304に格納する。また、顧客情報111は、顧客情報xml201のcustomerタグの数だけレコードを含む。   Further, the generation program 109 stores the setting value of the nameEn tag of the customer information xml201 in the customer item English name 303, and stores the setting value of the attrName tag in the attrNames tag of the customer information xml201 in the customer attribute list 304. Further, the customer information 111 includes records as many as the number of customer tags of the customer information xml 201.

図3Bは、本実施例の商品情報112を示す説明図である。   FIG. 3B is an explanatory view showing the product information 112 of the present embodiment.

商品情報112は、商品ID311、商品項目名312、商品項目英名313、商品属性リスト314を含む。生成プログラム109は、商品情報xml211を受け付けた場合、商品情報xml211のidタグの設定値を商品ID311に格納し、商品情報xml211のnameタグの設定値を商品項目名312に格納する。   The product information 112 includes a product ID 311, a product item name 312, a product item English name 313, and a product attribute list 314. When receiving the product information xml 211, the generation program 109 stores the set value of the id tag of the product information xml 211 in the product ID 311 and stores the set value of the name tag in the product information xml 211 in the product item name 312.

そして、生成プログラム109は、商品情報xml211のnameEnタグの設定値を商品項目英名313に格納し、attrNamesタグにおけるattrNameタグの設定値を、商品属性リスト314に格納する。商品情報112は、商品情報xml211のproductタグの数だけレコードを含む。   Then, the generation program 109 stores the set value of the nameEn tag of the product information xml 211 in the product item English name 313, and stores the set value of the attrName tag in the attrNames tag in the product attribute list 314. The item information 112 includes records as many as the number of product tags of the item information xml 211.

業務プログラムは、オーダー、プロセス及びファンクションと呼ばれる3種類のコンポーネントから構成される。オーダーは、新規申込業務などの業務が正しく処理されるようプロセスの実行順序を定義するコンポーネントである。プロセスは、申込受付業務及び開通業務などのサブ業務の単位でファンクションの実行順序を定義するコンポーネントである。そして、ファンクションは、最小単位の業務手続きの処理を示すコンポーネントである。   Business programs are composed of three types of components called orders, processes and functions. An order is a component that defines the execution order of processes so that operations such as new application operations are correctly processed. A process is a component that defines the execution order of functions in units of sub-tasks such as application accepting tasks and opening tasks. And a function is a component which shows processing of the business procedure of the minimum unit.

図4は、本実施例の業務プログラムの雛型となるプログラム生成テンプレートを示す説明図である。   FIG. 4 is an explanatory view showing a program generation template as a template of the business program of this embodiment.

プログラム生成テンプレートは、オーダー、プロセス、ファンクションそれぞれのコンポーネントの雛型である。プログラム生成テンプレートには、顧客情報111と商品情報112とが有する入力項目の名称及び入力項目に割り当てられる属性の名称などを設定する箇所(以下、項目設定箇所)が含まれる。生成プログラム109は、顧客情報111又は商品情報112が示す入力項目の内容を、項目設定箇所に設定することによって、実行可能なコンポーネントを生成する。   The program generation template is a template of order, process, and function components. The program generation template includes the names of input items possessed by the customer information 111 and the product information 112 and the locations for setting the names of attributes to be assigned to the input items (hereinafter, item configuration locations). The generation program 109 generates an executable component by setting the content of the input item indicated by the customer information 111 or the product information 112 in the item setting part.

プログラム生成テンプレートをコンポーネントに変換して組み合わせることによって、生成プログラム109は、一つの業務プログラムを生成する。   By converting the program generation template into components and combining them, the generation program 109 generates one business program.

図4に示すオーダーテンプレート113は、複数のオーダーテンプレート113a〜113cを含み、プロセステンプレート114は、複数のプロセステンプレート114a〜114dを含み、ファンクションテンプレート115は、複数のファンクションテンプレート115a〜115fを含む。   The order template 113 shown in FIG. 4 includes a plurality of order templates 113a to 113c, the process template 114 includes a plurality of process templates 114a to 114d, and the function template 115 includes a plurality of function templates 115a to 115f.

オーダーテンプレート113a〜113cは、各々、プロセステンプレート114a〜114dを呼び出すための記載を含む。テンプレートを呼び出すための記載とは、例えば、関数の記載などである。また、プロセステンプレート114a〜114dは、各々、ファンクションテンプレート115a〜115fを呼び出す記載を含む。   The order templates 113a-113c each include a description for calling the process templates 114a-114d. The description for calling a template is, for example, a description of a function. The process templates 114a to 114d each include a description for calling the function templates 115a to 115f.

図5は、本実施例の業務プログラムにおけるコンポーネントの呼出し順序を示す説明図である。   FIG. 5 is an explanatory view showing the calling order of components in the task program of this embodiment.

図5は、生成プログラム109が、図4に示すプログラム生成テンプレートを用いて生成した新規申込業務プログラムを示す。生成された新規申込業務プログラムは、新規申込オーダー513aを含む。新規申込オーダー513aは、サブ業務を処理する複数のプロセスを、新規申込業務の一連の流れに従って読み出すコンポーネントである。   FIG. 5 shows a new application task program generated by the generation program 109 using the program generation template shown in FIG. The generated new application program includes the new application order 513a. The new application order 513a is a component that reads out a plurality of processes for processing sub-operations in accordance with a series of flow of new application operations.

図5に示す新規申込オーダー513aは、申込受付プロセス514a、LTE開通プロセス514b_1、WiMAX開通プロセス514b_2、契約完了プロセス514c、LTE課金開始プロセス514d_1及びWiMAX課金開始プロセス514d_2を、呼び出す。   The new application order 513a illustrated in FIG. 5 calls an application reception process 514a, an LTE open process 514b_1, a WiMAX open process 514b_2, a contract completion process 514c, an LTE charging start process 514d_1, and a WiMAX charging start process 514d_2.

また、申込受付プロセス514aは、例えば、申込情報チェックファンクション515a及び申込情報登録ファンクション515bを呼び出すコンポーネントである。また、LTE開通プロセス514b_1及びWiMAX開通プロセス514b_2は、開通業務に必要な複数のファンクションを呼び出すコンポーネントであり、契約完了プロセス514cは、契約完了業務に必要な複数のファンクションを呼び出すコンポーネントであり、LTE課金開始プロセス514d_1及びWiMAX課金開始プロセス514d_2は、課金開始業務に必要なファンクションを呼び出すコンポーネントである。   The application acceptance process 514a is, for example, a component that calls an application information check function 515a and an application information registration function 515b. Also, the LTE opening process 514b_1 and the WiMAX opening process 514b_2 are components that call a plurality of functions necessary for the opening operation, and the contract completion process 514c is a component calling the plurality of functions necessary for the contract completion operation. The start process 514d_1 and the WiMAX charge start process 514d_2 are components that call functions required for charge start work.

これらのコンポーネントは、それぞれ対応したプログラム生成テンプレートに基づいて生成される。例えば、新規申込オーダー513aは、図4に示すオーダーテンプレート113aに基づいて生成される。また、申込受付プロセス514aは、図4に示すプロセステンプレート114aに基づいて生成され、申込情報チェックファンクション515aは、ファンクションテンプレート115aに基づいて生成され、申込情報登録ファンクション515bは、ファンクションテンプレート115bに基づいて生成される。   These components are generated based on the corresponding program generation templates. For example, the new application order 513a is generated based on the order template 113a shown in FIG. The application acceptance process 514a is generated based on the process template 114a shown in FIG. 4, the application information check function 515a is generated based on the function template 115a, and the application information registration function 515b is based on the function template 115b. It is generated.

本実施例において、顧客が複数の通信サービスの利用を申し込んだ場合、一連の新規申込業務の中で、申し込んだ複数の通信サービスのそれぞれに対して開通業務、及び課金開始業務などを実行する必要がある。   In the present embodiment, when a customer applies for use of a plurality of communication services, it is necessary to execute opening work, charging start work, etc. for each of a plurality of applied communication services in a series of new application work. There is.

このような場合を考慮し、本実施例の生成プログラム109は、プロセステンプレート114bとプロセステンプレート114dとに基づいて、開通業務を行う開通プロセス514bと課金開始業務を行う課金開始プロセス514dとを、商品情報112のレコードの数だけ、すなわち、商品項目名の数だけ、生成する。ここで、プロセステンプレート114bは、開通プロセステンプレートであり、プロセステンプレート114dは、課金開始プロセステンプレートである。   In consideration of such a case, the generation program 109 of the present embodiment is based on the process template 114b and the process template 114d, the opening process 514b for performing the opening work and the charge start process 514d for performing the charge start work. The number of records of the information 112, that is, the number of item item names is generated. Here, the process template 114 b is an opening process template, and the process template 114 d is a charging start process template.

そして、生成プログラム109は、商品情報112のレコードが示す情報を、開通プロセス514b及び課金開始プロセス514dに格納することによって、通信サービスごとの開通プロセス514b(514b_1、514b_2)及び課金開始プロセス514d(514d_1、514d_2)を生成する。   Then, the generation program 109 stores the information indicated by the record of the product information 112 in the opening process 514b and the charging start process 514d, thereby opening the communication process 514b (514b_1, 514b_2) for each communication service and the charging start process 514d (514d_1). , 514d_2).

また、開通プロセス514b及び課金開始プロセス514dから呼び出されるファンクションに関しても同様に、生成プログラム109は、ファンクションテンプレート115に基づいて、商品情報112のレコードの数だけ、ファンクションを生成する。   Similarly, with regard to the functions called from the opening process 514 b and the charging start process 514 d, the generation program 109 generates functions as many as the number of records of the product information 112 based on the function template 115.

また、下位のコンポーネントが、通信サービスごとに複数生成された場合、生成プログラム109は、複数生成された下位のコンポーネントが並列に実行されるよう、上位のコンポーネントが呼び出す下位のコンポーネントの順番を更新する。なお、本実施例において、オーダーが上位のコンポーネントである場合、下位のコンポーネントはプロセスであり、プロセスが上位のコンポーネントである場合、下位のコンポーネントはファンクションである。   When a plurality of lower components are generated for each communication service, the generation program 109 updates the order of lower components called by higher components so that the plurality of generated lower components are executed in parallel. . In the present embodiment, if the order is an upper component, the lower component is a process, and if the process is an upper component, the lower component is a function.

図6は、本実施例のプロセステンプレート114に基づいて生成されるコンポーネントを示す説明図である。   FIG. 6 is an explanatory view showing components generated based on the process template 114 of this embodiment.

例えば、プロセステンプレート114bに基づいて生成されるLTE開通プロセス514b_1を図6に示す。プロセステンプレート114bは、商品情報112の商品項目英名313を設定する部分を示す項目設定箇所603を含む。   For example, an LTE establishment process 514b_1 generated based on the process template 114b is shown in FIG. The process template 114 b includes an item setting portion 603 indicating a portion for setting the commodity item name 313 of the commodity information 112.

項目設定箇所603は、例えば、プログラムにおける変数のように記載されてもよい。項目設定箇所603は、顧客情報111が示す入力項目又は商品情報112が示す入力項目を設定する箇所と、設定する入力項目とを示す。   The item setting location 603 may be described as, for example, a variable in a program. The item setting part 603 shows the part which sets the input item which the customer information 111 shows, or the input item which the goods information 112 shows, and the input item which sets.

まず、生成プログラム109は、新規申込オーダー513aがLTE開通プロセス514bを呼び出す場合、プロセステンプレート114bを読み出す。生成プログラム109は、読み出したプロセステンプレート114bの項目設定箇所603に従って、顧客情報111が示す入力項目又は商品情報112が示す入力項目を、プロセステンプレート114bに設定する。   First, when the new application order 513a calls the LTE establishment process 514b, the generation program 109 reads the process template 114b. The generation program 109 sets the input item indicated by the customer information 111 or the input item indicated by the product information 112 in the process template 114 b in accordance with the item setting part 603 of the process template 114 b read out.

例えば、項目設定箇所603が「${商品項目英名}」の文字列である場合、生成プログラム109は、「${商品項目英名}」の文字列を、商品項目英名313の内容に置換することによって、入力項目を設定する。   For example, when the item setting part 603 is a character string of "$ {product item name of English name}", the generation program 109 replaces the character string of "$ {product item name of English name}" with the content of the product item name of English name 313. Set the input item by.

これによって、生成プログラム109は、プロセステンプレート114bに基づいてLTE開通プロセス514b_1を生成し、LTE開通プロセス514b_1をプロセスファイルとして出力する。項目設定箇所603は、商品項目英名313以外にも、顧客項目英名303、顧客属性リスト304、及び、商品属性リスト314等、顧客情報111及び商品情報112が示す入力項目であれば、いかなる入力項目の設定を指定してもよい。   Thereby, the generation program 109 generates the LTE open process 514b_1 based on the process template 114b, and outputs the LTE open process 514b_1 as a process file. The item setting location 603 is an input item indicated by the customer information 111 and the product information 112 such as the customer item English name 303, the customer attribute list 304, and the product attribute list 314 other than the product item name 313. You may specify the setting of.

なお、一つのプログラム生成テンプレートが、例えば、商品項目英名313及び商品属性リスト314を設定することを示す項目設定箇所を含む場合、生成プログラム109は、一つのプログラム生成テンプレートには、同じレコードに含まれる商品項目英名313及び商品属性リスト314を設定する。   When one program generation template includes, for example, an item setting part indicating that the product item name 313 and the product attribute list 314 are set, the generation program 109 is included in the same record in one program generation template. Product item English name 313 and product attribute list 314 are set.

生成プログラム109は、オーダーテンプレート113及びファンクションテンプレート115に基づいて、前述と同じ手順によってオーダー及びファンクションのコンポーネントを変換する。   The generation program 109 converts the order and function components based on the order template 113 and the function template 115 according to the same procedure as described above.

図7は、本実施例のプログラム生成処理を示すフローチャートである。   FIG. 7 is a flowchart showing program generation processing of the present embodiment.

なお、図7に示す処理は、顧客情報111が、一つのレコードのみを含む場合の処理の例である。すなわち、プログラム生成テンプレートが、顧客情報111の入力項目を設定する項目設定箇所を含む場合、当該項目設定箇所には、顧客情報111の一つのレコードに含まれる入力項目に関する情報がプログラム生成テンプレートに設定される。   The process shown in FIG. 7 is an example of the process in the case where the customer information 111 includes only one record. That is, when the program generation template includes an item setting part for setting an input item of the customer information 111, information on an input item included in one record of the customer information 111 is set in the program generation template for the item setting part. Be done.

まず、生成プログラム109は、顧客情報xml201と商品情報xml211とを、入力I/F101を介して受け付ける(701)。そして、生成プログラム109は、顧客情報xml201の内容を顧客情報111に格納し、商品情報xml211の内容を商品情報112に格納する(702)。   First, the generation program 109 receives the customer information xml201 and the product information xml211 via the input I / F 101 (701). Then, the generation program 109 stores the content of the customer information xml201 in the customer information 111, and stores the content of the product information xml211 in the product information 112 (702).

ステップ702の後、生成プログラム109は、メモリ105が保持する全てのプログラム生成テンプレートに以下の処理を行う(703)。   After step 702, the generation program 109 performs the following processing on all program generation templates held by the memory 105 (703).

まず、生成プログラム109は、ステップ705〜710を実行していない一つのプログラム生成テンプレートを、メモリ105から読み出す(704)。ステップ704の後、生成プログラム109は、商品情報112のレコードの数だけ、ステップ706〜709の処理を繰り返す(ステップ705)。   First, the generation program 109 reads from the memory 105 one program generation template for which steps 705 to 710 have not been executed (704). After step 704, the generation program 109 repeats the processing of steps 706 to 709 for the number of records of the product information 112 (step 705).

まず、生成プログラム109は、ステップ708の処理を実行していない一つのレコード(以下、商品レコードA)を商品情報112から読み出す(706)。また、生成プログラム109は、ステップ704において読み出したプログラム生成テンプレートを複製した一つのテンプレートAを取得する。   First, the generation program 109 reads from the product information 112 one record (hereinafter, the product record A) which has not been subjected to the process of step 708 (706). Further, the generation program 109 acquires one template A obtained by duplicating the program generation template read out in step 704.

ステップ706の後、生成プログラム109は、テンプレートAに顧客情報111が示す入力項目の設定値を設定する項目設定箇所が含まれる場合、顧客情報111の一つのレコードにおいて、項目設定箇所に該当する設定値を特定する。そして、生成プログラム109は、特定した項目をテンプレートAの顧客情報111の項目設定箇所に設定する(707)。   After step 706, when the generation program 109 includes an item setting place for setting the setting value of the input item indicated by the customer information 111 in the template A, the setting corresponding to the item setting place in one record of the customer information 111. Identify the value. Then, the generation program 109 sets the specified item as the item setting part of the customer information 111 of the template A (707).

なお、ここで、顧客情報111に複数のレコードが含まれる場合、生成プログラム109は、テンプレートAを顧客情報111のレコードの数だけ複製し、複製したテンプレートAの各々に顧客情報111のレコードの各々が示す入力項目の設定値を設定する。そして、生成プログラム109は、以後の処理において、複製したテンプレートAに処理を実行する。そして、生成プログラム109は、ステップ709において、複数のプログラムファイルを出力する。   Here, when a plurality of records are included in the customer information 111, the generation program 109 duplicates the template A by the number of records of the customer information 111, and each of the replicated templates A records each of the records of the customer information 111. Set the setting value of the input item indicated by. Then, the generation program 109 executes processing on the copied template A in the subsequent processing. Then, in step 709, the generation program 109 outputs a plurality of program files.

ステップ707の後、生成プログラム109は、テンプレートAに商品情報112の入力項目の設定値を設定する項目設定箇所603が含まれる場合、商品情報112の商品レコードAにおいて、項目設定箇所603に該当する設定値を特定する。そして、生成プログラム109は、特定した設定値をテンプレートAの項目設定箇所603に設定する(708)。   After step 707, when the generation program 109 includes the item setting portion 603 for setting the setting value of the input item of the product information 112 in the template A, the generation program 109 corresponds to the item setting portion 603 in the product record A of the product information 112. Identify the setting value. Then, the generation program 109 sets the specified setting value in the item setting part 603 of the template A (708).

テンプレートAに商品情報112の項目を設定する項目設定箇所603が含まれない場合、又は、ステップ708の後、生成プログラム109は、テンプレートAをプログラムファイルとして出力する(709)。   If the template A does not include the item setting part 603 for setting the item of the product information 112, or after step 708, the generation program 109 outputs the template A as a program file (709).

生成プログラム109は、ステップ706〜709の処理を商品情報112のすべてのレコードについて実行した後(710)、新たなプログラム生成テンプレートをメモリ105から読み出し、ステップ705の繰り返し処理を実行する。そして、生成プログラム109は、すべてのプログラム生成テンプレートを読み出した場合(711)、図7に示す処理を終了する(ステップ712)。   After executing the processing of steps 706 to 709 for all the records of the product information 112 (710), the generation program 109 reads a new program generation template from the memory 105 and executes the repetition processing of step 705. Then, when all the program generation templates have been read out (711), the generation program 109 ends the processing shown in FIG. 7 (step 712).

これによって、生成プログラム109は、メモリ105が有するプログラム生成テンプレートに入力項目の設定値を設定することによって、入力項目に応じた業務プログラムを生成する。また、商品情報112の設定値をプログラム生成テンプレートに設定する場合のように、一つの項目設定箇所に複数の種類の設定値が設定される場合、生成プログラム109は、図7に示す処理によって、複数の設定値に各々対応する複数のプログラムを生成することができる。   Thus, the generation program 109 generates a business program according to the input item by setting the setting value of the input item in the program generation template of the memory 105. Further, as in the case of setting the setting value of the product information 112 in the program generation template, when setting values of a plurality of types are set in one item setting place, the generation program 109 performs the process shown in FIG. A plurality of programs respectively corresponding to a plurality of setting values can be generated.

次に、入力項目に応じた様々な処理を含むプログラムに、さらにプログラムを追加する処理を説明する。本実施例では、特に、生成プログラム109が、新規申込業務を実装する業務プログラムを生成する際に、新規申込業務の処理内でセット割引業務を実装する業務プログラムを新たに追加することを想定する。   Next, a process of adding a program to a program including various processes according to input items will be described. In this embodiment, in particular, when generating the business program for implementing the new application business, it is assumed that the business program for implementing the set discount business is newly added within the processing of the new application business. .

セット割引業務とは、通信事業者がLTE通信サービス、WiMAX通信サービス及び3G通信サービスなどの複数の通信サービスを提供する場合において、顧客がLTE通信サービス及びWiMAX通信サービスなど限定した通信サービスの利用を同時に申し込んだ場合に、申し込んだ通信サービスの利用量に応じて、顧客の課金額を一定の割合だけ安くする業務である。   The set discounting operation means that when the communication carrier provides a plurality of communication services such as LTE communication service, WiMAX communication service and 3G communication service, the customer can use the communication service limited by LTE communication service and WiMAX communication service. At the same time, when the customer applies for the service, the customer's charge is reduced by a certain percentage according to the usage of the applied communication service.

新規申込業務におけるセット割引業務は、契約完了業務内(図5に示す契約完了プロセス514cに相当)でセット割引業務の適用条件となる全ての通信サービスに開通処理が完了したかをチェックする業務(セット割引チェック業務)を含む。また、セット割引業務は、割引対象となる通信サービスに関する課金開始業務(図5に示す課金開始プロセス514dに相当)において、課金額に対する割引率を設定する業務(セット割引登録業務)を含む。   The set discounting operation in the new application operation is an operation to check whether the opening process has been completed for all the communication services that are the application condition of the set discounting operation in the contract completion operation (corresponding to the contract completion process 514c shown in FIG. 5) Including set discount check business). The set discounting operation includes an operation (set discounting registration operation) of setting a discount rate for the charging amount in the charging start operation (corresponding to the charging start process 514d shown in FIG. 5) related to the communication service to be discounted.

生成プログラム109は、新規申込業務プログラム(新規申込オーダー513aに相当)内でセット割引処理を行うために、セット割引チェック処理を実現するセット割引チェックファンクションと、セット割引登録処理を実現するセット割引登録ファンクションとを、新規申込業務プログラムに追加する必要がある。また、生成プログラム109は、契約完了プロセス514cがセット割引チェックファンクションを呼出し、課金開始プロセス514dがセット割引登録ファンクションを呼び出すように各コンポーネントを更新する必要がある。   The generation program 109 performs a set discount check process for performing a set discount check process and a set discount registration for realizing a set discount registration process in order to perform set discount processing in a new application business program (corresponding to a new application order 513a). It is necessary to add functions and new application programs. In addition, the generation program 109 needs to update each component so that the contract completion process 514c calls the set discount check function and the charge start process 514d calls the set discount registration function.

このため、生成プログラム109は、追加処理を実現するファンクション又はプロセスなどのコンポーネントに対応したテンプレート(以下、追加生成テンプレート)を業務プログラムを生成する際に読み出し、業務プログラムを更新する必要がある。   Therefore, the generation program 109 needs to read a template corresponding to a component such as a function or process that implements the additional processing (hereinafter, an additional generation template) when generating a business program, and update the business program.

図8は、本実施例のプログラム生成装置100の物理的な構成の二つ目の例を示すブロック図である。   FIG. 8 is a block diagram showing a second example of the physical configuration of the program generation device 100 of the present embodiment.

図8に示すプログラム生成装置100は、図1に示すプログラム生成装置100と同じく、入力I/F101、出力I/F102、CPU103、HDD104及びメモリ105を有し、これらの装置はデータバス106によって接続される。また、図8に示すメモリ105は、図1に示すメモリ105と同じく、プログラムとして、生成プログラム109を有し、データとして、顧客情報111、商品情報112、オーダーテンプレート113、プロセステンプレート114、及び、ファンクションテンプレート115を有する。   Similar to the program generation apparatus 100 shown in FIG. 1, the program generation apparatus 100 shown in FIG. 8 has an input I / F 101, an output I / F 102, a CPU 103, an HDD 104, and a memory 105. Be done. Further, the memory 105 shown in FIG. 8 has a generation program 109 as a program as the memory 105 shown in FIG. 1 and has customer information 111, product information 112, order template 113, process template 114, and so on as data. It has a function template 115.

しかし、図8に示すメモリ105は、図1に示すメモリ105と異なり、追加処理情報801、業務種別802、プロセス挿入箇所803、ファンクション挿入箇所804、追加設計情報805、追加プロセステンプレート806、及び、追加ファンクションテンプレート807を有する。   However, the memory 105 shown in FIG. 8 differs from the memory 105 shown in FIG. 1 in additional processing information 801, job type 802, process insertion location 803, function insertion location 804, additional design information 805, additional process template 806, and It has an additional function template 807.

追加処理情報801は、業務プログラムに追加するコンポーネントを生成するための追加生成テンプレートを示す。業務種別802は、処理が追加される業務の一覧を示す。プロセス挿入箇所803は、オーダーが呼び出すプロセスに新たなプロセスを追加する際に、新たなプロセスを呼び出す処理を挿入可能な、オーダーにおける箇所を示す。   The additional processing information 801 indicates an additional generation template for generating a component to be added to the business program. The task type 802 indicates a list of tasks to which a process is added. The process insertion point 803 indicates the place in the order where the process can be inserted to invoke a new process when the order adds a new process to the process.

ファンクション挿入箇所804は、プロセスが呼び出すファンクションに新たなファンクションを追加する際に、新たなファンクションを呼び出す処理を挿入可能な、プロセスにおける箇所を示す。   The function insertion point 804 indicates a point in the process where processing for calling a new function can be inserted when adding a new function to the function called by the process.

追加設計情報805は、追加する処理に関する情報を含む。追加プロセステンプレート806は、プロセスの追加生成テンプレートを含む。追加ファンクションテンプレート807は、ファンクションの追加生成テンプレートを含む。   The additional design information 805 includes information on the process to be added. The additional process template 806 includes an additional generation template of a process. The additional function template 807 includes an additional generation template of a function.

なお、図8に示すメモリ105が有するデータも、図1に示すメモリ105と同じく、データ容量が多い場合など、HDD104に格納されてもよい。   Data included in the memory 105 illustrated in FIG. 8 may also be stored in the HDD 104 as in the case of the memory 105 illustrated in FIG.

追加生成テンプレートには、プログラム生成テンプレートと同じく、項目設定箇所を含む追加生成テンプレートがある。また、追加生成テンプレートには、例えばセット割引における「割引率」などの、追加する処理に必要なパラメータを設定する箇所(以下、パラメータ設定箇所)を含む追加生成テンプレートがある。   Similar to the program generation template, the additional generation template includes an additional generation template including item setting points. Further, the additional generation template includes, for example, an additional generation template including a portion (hereinafter, parameter setting portion) for setting a parameter necessary for a process to be added, such as a "discount rate" in set discount.

生成プログラム109は、追加生成テンプレートの項目設定箇所及びパラメータ設定箇所に入力項目の設定値及びパラメータを設定することによって、実行可能なコンポーネントを生成する。生成プログラム109は、プログラム生成テンプレートに基づいて生成されたコンポーネントと追加生成テンプレートに基づいて生成されたコンポーネントを組み合わせることで、追加された様々な処理を実行する業務プログラムを生成する。   The generation program 109 generates an executable component by setting the setting value and parameter of the input item in the item setting place and the parameter setting place of the additional generation template. The generation program 109 generates a business program that executes various processes added by combining the component generated based on the program generation template and the component generated based on the additional generation template.

図9は、本実施例の追加処理情報801を示す説明図である。   FIG. 9 is an explanatory view showing the additional processing information 801 of this embodiment.

追加処理情報801は、処理種別901、コンポーネント種別902、追加生成テンプレート名リスト903、パラメータ設定箇所名リスト904、及び、呼出しテンプレート905を含む。追加処理情報801は、プログラム生成装置100の運用者等によってあらかじめ設定される。   The additional processing information 801 includes a processing type 901, a component type 902, an additional generation template name list 903, a parameter setting location name list 904, and a calling template 905. The additional processing information 801 is set in advance by the operator of the program generation apparatus 100 or the like.

処理種別901は、追加する処理を示す。コンポーネント種別902は、処理種別901が示す処理を実装するコンポーネントの種類を示す。コンポーネント種別902は、オーダー、プロセス及びファンクションの中の一つを示す。   The process type 901 indicates the process to be added. The component type 902 indicates the type of component that implements the process indicated by the process type 901. The component type 902 indicates one of an order, a process, and a function.

追加生成テンプレート名リスト903は、処理種別901が示す処理を実装するコンポーネントの雛型である追加生成テンプレートの名称又は識別子を示す。ただし、コンポーネント種別902がプロセスを示す場合、追加生成テンプレート名リスト903は、追加するプロセスの追加生成テンプレートの他に、追加するプロセスが呼び出すファンクションに対応する追加生成テンプレートも示す。   The additional generation template name list 903 indicates the name or identifier of an additional generation template that is a template of a component that implements the processing indicated by the processing type 901. However, when the component type 902 indicates a process, the additional generation template name list 903 also indicates an additional generation template corresponding to a function that the process to be added calls, in addition to the additional generation template of the process to be added.

パラメータ設定箇所名リスト904は、追加生成テンプレート内にパラメータ設定箇所が含まれる場合、そのパラメータ設定箇所を特定するための変数名等の識別子と、パラメータの説明とを示す。   When a parameter setting place is included in the additional generation template, the parameter setting place name list 904 shows an identifier such as a variable name for specifying the parameter setting place and an explanation of the parameter.

呼出しテンプレート905は、追加するコンポーネントを呼び出す処理の雛型であるテンプレートを示す。呼出しテンプレート905が示すテンプレートは、追加するコンポーネントを呼び出すコンポーネントに追加される。   The call template 905 shows a template that is a template of a process for calling a component to be added. The template indicated by the call template 905 is added to the component that calls the component to be added.

図10は、本実施例の業務種別802を示す説明図である。   FIG. 10 is an explanatory diagram of the task type 802 of this embodiment.

業務種別802は、業務種別名1001を含み、業務種別名1001は、生成する業務プログラムが実装する業務を示す。業務種別802は、プログラム生成装置100の運用者等によってあらかじめ設定される。   The task type 802 includes a task type name 1001, and the task type name 1001 indicates a task implemented by the task program to be generated. The task type 802 is set in advance by the operator of the program generation apparatus 100 or the like.

業務種別802は、追加処理のプログラムを生成したい開発者(以下、開発者)から追加処理を受け付けるために、生成プログラム109が開発者に提示するための情報である。   The task type 802 is information that the generation program 109 presents to the developer in order to receive the addition processing from a developer who wants to generate a program for the addition processing (hereinafter, a developer).

図11は、本実施例の呼出し処理を挿入可能な箇所の識別子を示す説明図である。   FIG. 11 is an explanatory view showing an identifier of a place where the call process of this embodiment can be inserted.

生成プログラム109は、呼出しテンプレート905が示すテンプレートに基づいて呼出し処理を行うプログラムを生成する。図11は、生成したプログラムを挿入可能な箇所(挿入箇所)と、挿入箇所の識別子とを示す。運用者等は、上位のコンポーネントにおいて、1番目の下位のコンポーネントの前、二つの下位のコンポーネントの間、及び、最後の下位のコンポーネントの後に、下位のコンポーネントを挿入する箇所をあらかじめ定義する。   The generation program 109 generates a program that performs call processing based on the template indicated by the call template 905. FIG. 11 shows a place (insertion place) where the generated program can be inserted and an identifier of the insertion place. The operator etc. predefines, in the upper components, places where the lower components are to be inserted before the first lower component, between the two lower components, and after the last lower component.

また、生成プログラム109は、上位のコンポーネントに下位のコンポーネントを新たに追加する場合、その下位のコンポーネントを呼び出す処理を上位のコンポーネントに挿入する。   In addition, when a new lower component is added to the upper component, the generation program 109 inserts processing for calling the lower component into the upper component.

新規申込オーダー513aは、プロセスを挿入する箇所である箇所1101〜1105を含む。箇所1101は、識別子として「新規申込−1」が割り当てられ、申込受付プロセス514aの前である。   The new application order 513a includes locations 1101 to 1105 which are locations for inserting a process. The point 1101 is assigned "New application-1" as an identifier, and is before the application acceptance process 514a.

箇所1102は、識別子として「新規申込−2」が割り当てられ、申込受付プロセス514aと開通プロセス514bとの間である。箇所1103は、識別子として「新規申込−3」が割り当てられ、開通プロセス514bと契約完了プロセス514cとの間である。   The point 1102 is assigned “new application-2” as an identifier, and is between the application reception process 514 a and the opening process 514 b. The point 1103 is assigned “new offer-3” as an identifier, and is between the opening process 514 b and the contract completion process 514 c.

箇所1104は、識別子として「新規申込−3」が割り当てられ、契約完了プロセス514cと課金開始プロセス514dとの間である。箇所1105は、識別子として「新規申込−5」が割り当てられ、課金開始プロセス514dの後である。   The point 1104 is assigned "New application-3" as an identifier, and is between the contract completion process 514c and the charging start process 514d. The point 1105 is assigned “New application-5” as an identifier, and is after the charge start process 514 d.

また、WiMAX課金開始プロセス514d_2は、ファンクションを挿入する箇所である箇所1111〜1114を含む。箇所1111は、識別子として「課金開始−1」が割り当てられ、ファンクション515cの前である。箇所1112は、識別子として「課金開始−2」が割り当てられ、ファンクション515cとファンクション515dとの間である。   In addition, the WiMAX charging start process 514d_2 includes places 1111 to 1114 which are places to insert functions. The point 1111 is assigned “charge start −1” as an identifier, and is before the function 515 c. A point 1112 is assigned “charging start-2” as an identifier, and is between the function 515 c and the function 515 d.

箇所1113は、識別子として「課金開始−3」が割り当てられ、ファンクション515dとファンクション515eとの間である。箇所1114は、識別子として「課金開始−4」が割り当てられ、ファンクション515eの後である。   A point 1113 is assigned “charging start-3” as an identifier, and is between the function 515 d and the function 515 e. The point 1114 is assigned “charge start − 4” as an identifier, and is after the function 515 e.

図12Aは、本実施例のプロセス挿入箇所803を示す説明図である。   FIG. 12A is an explanatory view showing a process insertion point 803 of this embodiment.

プロセス挿入箇所803は、挿入箇所1201、業務種別1202、プログラム生成テンプレート1203、及び、行番号1204を含む。プロセス挿入箇所803は、運用者等によってあらかじめ設定される。   The process insertion point 803 includes an insertion point 1201, a task type 1202, a program generation template 1203, and a line number 1204. The process insertion point 803 is set in advance by the operator or the like.

挿入箇所1201は、箇所1101〜1105等のプロセスを挿入する箇所の識別子を示す。挿入箇所1201が示す挿入箇所は、プログラム生成テンプレート1203が示すプログラム生成テンプレートに含まれる。   The insertion point 1201 indicates an identifier of a place where the process such as the points 1101 to 1105 is inserted. The insertion point indicated by the insertion point 1201 is included in the program generation template indicated by the program generation template 1203.

業務種別1202は、挿入箇所1201が示す箇所が含まれる業務種別を示す。本実施例における業務種別1202は、オーダーを特定する。業務種別1202は、業務種別802の業務種別名1001に対応する。   The task type 1202 indicates a task type including the portion indicated by the insertion point 1201. The task type 1202 in the present embodiment identifies an order. The task type 1202 corresponds to the task type name 1001 of the task type 802.

プログラム生成テンプレート1203は、プロセスの呼出し処理を挿入するオーダーのオーダーテンプレートを示す。行番号1204は、プログラム生成テンプレート1203が示すオーダーテンプレートのプログラムロジックにおいて、挿入箇所に該当する行の行番号を示す。   The program generation template 1203 indicates an order template of an order for inserting a process call process. The line number 1204 indicates the line number of the line corresponding to the insertion position in the program logic of the order template indicated by the program generation template 1203.

本実施例において挿入箇所は、プログラムロジックにおける行番号によって示されるが、プロセス挿入箇所803は、挿入箇所を特定できればいずれの情報を含んでもよい。例えば、プロセス挿入箇所803は、ステップ数等によって挿入箇所を特定してもよい。   In the present embodiment, the insertion point is indicated by a line number in the program logic, but the process insertion point 803 may include any information as long as the insertion point can be identified. For example, the process insertion point 803 may specify the insertion point by the number of steps or the like.

図12Bは、本実施例のファンクション挿入箇所804を示す説明図である。   FIG. 12B is an explanatory view showing a function insertion point 804 of this embodiment.

ファンクション挿入箇所804は、挿入箇所1211、業務種別1212、プログラム生成テンプレート1213、及び、行番号1214を含む。ファンクション挿入箇所804は、運用者等によってあらかじめ設定される。   The function insertion point 804 includes an insertion point 1211, a task type 1212, a program generation template 1213, and a line number 1214. The function insertion point 804 is preset by the operator or the like.

挿入箇所1211は、箇所1111〜1114等のファンクション挿入箇所の識別子を示す。挿入箇所1211が示す挿入箇所は、プログラム生成テンプレート1213が示すプログラム生成テンプレートに含まれる。   The insertion point 1211 indicates an identifier of a function insertion point such as the points 1111 to 1114. The insertion point indicated by the insertion point 1211 is included in the program generation template indicated by the program generation template 1213.

業務種別1212は、挿入箇所1211が示す箇所に対応する業務種別の識別子を示す。本実施例における業務種別1212は、オーダーを特定する。業務種別1212は、業務種別802の業務種別名1001に対応する。   The task type 1212 indicates an identifier of a task type corresponding to the portion indicated by the insertion point 1211. The job type 1212 in the present embodiment identifies an order. The task type 1212 corresponds to the task type name 1001 of the task type 802.

また、プログラム生成テンプレート1213は、ファンクションの呼出し処理を挿入するプロセスのプロセステンプレートを示す。行番号1214は、プログラム生成テンプレート1213が示すプロセステンプレートのプログラムロジックにおいて、挿入箇所に該当する行番号を示す。ファンクション挿入箇所813も、例えば、ステップ数等によって挿入箇所を特定してもよい。   Also, the program generation template 1213 indicates a process template of a process for inserting a calling process of a function. The line number 1214 indicates the line number corresponding to the insertion point in the program logic of the process template indicated by the program generation template 1213. The function insertion point 813 may also specify the insertion point by, for example, the number of steps.

図13は、本実施例の追加設計情報805を示す説明図である。   FIG. 13 is an explanatory view showing the additional design information 805 of this embodiment.

追加設計情報805は、追加処理1401、項目選択リスト1402、追加処理種別1403、業務種別1404、挿入箇所1405及びパラメータ設定値1406を含む。追加処理1401は、追加する処理を一意に特定する名称等の識別子を示す。   The additional design information 805 includes an addition process 1401, an item selection list 1402, an addition process type 1403, an operation type 1404, an insertion point 1405, and a parameter setting value 1406. An addition process 1401 indicates an identifier such as a name uniquely identifying the process to be added.

項目選択リスト1402は、追加する処理に設定される入力項目を示す。追加処理種別1403は、追加するコンポーネントの元となる追加生成テンプレートを示す。   The item selection list 1402 indicates input items set for the process to be added. The additional processing type 1403 indicates an additional generation template as a source of the component to be added.

業務種別1404は、処理を追加する業務を示し、本実施例においてオーダーを示す。業務種別1404は、業務種別802に対応する。   The task type 1404 indicates a task to which a process is added, and indicates an order in this embodiment. The task type 1404 corresponds to the task type 802.

挿入箇所1405は、追加処理1401が示す処理を挿入する挿入箇所の識別子を示し、プロセス挿入箇所803の挿入箇所1201及びファンクション挿入箇所804の挿入箇所1211に対応する。パラメータ設定値1406は、パラメータ設定箇所に設定する値を示す。   An insertion point 1405 indicates an identifier of an insertion point into which the process indicated by the addition process 1401 is inserted, and corresponds to the insertion point 1201 of the process insertion point 803 and the insertion point 1211 of the function insertion point 804. The parameter setting value 1406 indicates a value to be set in the parameter setting location.

追加設計情報805は、業務プログラムに処理を追加する際に、開発者によって入力された値を格納する。   The additional design information 805 stores a value input by the developer when adding a process to a business program.

図14は、本実施例の追加する処理の設計を入力するための追加処理設計GUI1301の例を示す説明図である。   FIG. 14 is an explanatory diagram showing an example of the additional processing design GUI 1301 for inputting the design of the processing to be added in this embodiment.

生成プログラム109は、追加する処理の設計を受け付けるため、出力I/F102を介して、表示装置108に追加処理設計GUI1301を表示する。生成プログラム109は、追加処理設計GUI1301を介して受け付けた設計を示す情報を、追加設計情報805に格納する。   The generation program 109 displays the additional processing design GUI 1301 on the display device 108 via the output I / F 102 in order to receive the design of the processing to be added. The generation program 109 stores, in the additional design information 805, information indicating the design received through the additional processing design GUI 1301.

追加処理設計GUI1301は、追加処理一覧表示部1302、追加処理詳細表示部1303、追加ボタン1311、削除ボタン1312及び登録ボタン1313を含む。   The additional process design GUI 1301 includes an additional process list display unit 1302, an additional process detail display unit 1303, an add button 1311, a delete button 1312, and a registration button 1313.

追加処理一覧表示部1302は、業務プログラム内に追加する処理の名称一覧を表示する。追加処理一覧表示部1302は、追加処理詳細表示部1303に設計が入力された処理の名称を表示する領域である。   The additional process list display unit 1302 displays a list of names of processes to be added in the business program. The additional process list display unit 1302 is an area for displaying the name of the process for which the design is input in the additional process detail display unit 1303.

追加処理詳細表示部1303は、追加処理名入力部1304、項目選択部1305、及び、追加処理設計部1306を含む。追加処理名入力部1304は、追加する処理の任意の名称を入力する領域である。   The additional process detail display unit 1303 includes an additional process name input unit 1304, an item selection unit 1305, and an additional process design unit 1306. The additional process name input unit 1304 is an area for inputting an arbitrary name of the process to be added.

追加処理名入力部1304に名称が入力された場合、生成プログラム109は、入力された名称を追加処理一覧表示部1302に表示してもよい。また、生成プログラム109は、入力された名称又は名称に対応する識別子を、追加設計情報805の追加処理1401に格納する。   When a name is input to the additional process name input unit 1304, the generation program 109 may display the input name on the additional process list display unit 1302. In addition, the generation program 109 stores the name corresponding to the input name or an identifier corresponding to the name in the additional processing 1401 of the additional design information 805.

項目選択部1305は、顧客情報111の顧客項目名302と商品情報112の商品項目名312とに格納される項目名の一覧を表示する。開発者は、例えば、項目選択部1305に表示されるチェックボックスを選択することによって、追加する処理に設定される入力項目を選択する。   The item selection unit 1305 displays a list of item names stored in the customer item name 302 of the customer information 111 and the product item name 312 of the product information 112. The developer selects an input item to be set in the process to be added, for example, by selecting a check box displayed in the item selection unit 1305.

生成プログラム109は、項目選択部1305において選択された項目の名称又は識別子を、追加設計情報805の項目選択リスト1402に格納する。   The generation program 109 stores the name or identifier of the item selected by the item selection unit 1305 in the item selection list 1402 of the additional design information 805.

追加処理設計部1306は、追加処理種別選択部1307、対象業務選択部1308、挿入箇所選択部1309、及び、パラメータ設定値入力部1310を含む。追加処理種別選択部1307は、追加処理情報801の処理種別901が示す処理の種別の名称を表示する。   The additional processing design unit 1306 includes an additional processing type selection unit 1307, a target business selection unit 1308, an insertion point selection unit 1309, and a parameter setting value input unit 1310. The additional process type selection unit 1307 displays the name of the process type indicated by the process type 901 of the additional process information 801.

開発者は、例えば、追加処理種別選択部1307が表示するプルダウンから処理の種別の名称を選択することによって、追加する処理の種別を選択する。これによって、開発者は、追加処理のコンポーネントを生成するための追加生成テンプレートを指定できる。   The developer selects the type of processing to be added, for example, by selecting the name of the type of processing from the pull-down displayed by the additional processing type selection unit 1307. This allows the developer to specify additional generation templates for generating additional processing components.

生成プログラム109は、追加処理種別選択部1307において選択された処理の種別の名称又は名称に対応する識別子を、追加設計情報805の追加処理種別1403に格納する。   The generation program 109 stores the name of the process type selected by the additional process type selection unit 1307 or an identifier corresponding to the name in the additional process type 1403 of the additional design information 805.

対象業務選択部1308は、業務種別802の業務種別名1001が示す業務種別の名称を表示する。開発者は、対象業務選択部1308において、処理を追加する業務の業務種別を選択し、生成プログラム109は、開発者によって選択された業務種別の名称又は名称に対応する識別子を、追加設計情報805の業務種別1404に格納する。対象業務選択部1308は、業務種別をプルダウンによって表示してもよい。   The target task selection unit 1308 displays the name of the task type indicated by the task type name 1001 of the task type 802. The developer selects the task type of the task to which the process is to be added in the target task selection unit 1308, and the generation program 109 adds the name corresponding to the task type selected by the developer or an identifier corresponding to the name as additional design information 805. Store in the task type 1404 of The target task selection unit 1308 may display the task type by pull-down.

挿入箇所選択部1309は、追加する処理を呼び出す処理を挿入する、上位のコンポーネントにおける挿入箇所を表示する。挿入箇所選択部1309は、プロセス挿入箇所803の挿入箇所1201の値及びファンクション挿入箇所804の挿入箇所1211の値を表示する。   The insertion point selection unit 1309 displays the insertion point in the upper component, into which the process for calling the process to be added is inserted. The insertion point selection unit 1309 displays the value of the insertion point 1201 of the process insertion point 803 and the value of the insertion point 1211 of the function insertion point 804.

これによって、開発者は、業務プログラムのコードのすべてを把握しなくても、図11に示す箇所1101〜1105、及び、箇所1111〜1114を把握していれば、適切な挿入箇所を任意に指定することができる。これにより、開発者は、容易に業務プログラムへ追加プログラムを挿入することができる。   By this, the developer can arbitrarily designate an appropriate insertion point as long as he / she understands the points 1101 to 1105 and the points 1111 to 1114 shown in FIG. 11 without grasping all the codes of the business program. can do. Thus, the developer can easily insert the additional program into the business program.

生成プログラム109は、挿入箇所選択部1309において選択された挿入箇所を示す情報を、追加設計情報805の挿入箇所1405に格納する。挿入箇所選択部1309は、挿入箇所をプルダウンによって表示してもよい。   The generation program 109 stores information indicating the insertion point selected by the insertion point selection unit 1309 in the insertion point 1405 of the additional design information 805. The insertion point selection unit 1309 may display the insertion point by pull-down.

生成プログラム109は、追加処理種別選択部1307において選択された処理種別に対応するコンポーネント種別902が「プロセス」を示す場合、挿入箇所選択部1309に、プロセス挿入箇所803の挿入箇所1201が示す挿入箇所の名称を表示してもよい。また、生成プログラム109は、選択された処理種別に対応するコンポーネント種別902が「ファンクション」を示す場合、挿入箇所選択部1309に、ファンクション挿入箇所804の挿入箇所1211が示す挿入箇所の名称を表示してもよい。   When the component type 902 corresponding to the process type selected by the additional process type selection unit 1307 indicates “process”, the generation program 109 causes the insertion point selection unit 1309 to insert the insertion point indicated by the insertion point 1201 of the process insertion point 803. The name of may be displayed. When the component type 902 corresponding to the selected processing type indicates "function", the generation program 109 displays the name of the insertion point indicated by the insertion point 1211 of the function insertion point 804 on the insertion point selection unit 1309. May be

パラメータ設定値入力部1310は、処理を追加する際に追加生成テンプレートのパラメータ設定箇所に設定する値を入力する領域である。生成プログラム109は、追加処理種別選択部1307において選択された追加処理種別に対応する追加処理情報801のレコードの、パラメータ設定箇所名リスト904が示すパラメータの説明を、パラメータ設定値入力部1310に表示する。   The parameter setting value input unit 1310 is an area for inputting a value to be set in the parameter setting portion of the additional generation template when adding a process. The generation program 109 displays on the parameter setting value input unit 1310 an explanation of the parameter indicated by the parameter setting location name list 904 of the record of the additional processing information 801 corresponding to the additional processing type selected in the additional processing type selection unit 1307. Do.

例えば、開発者が、追加するセット割引登録処理に、LTE通信サービス及びWiMAX通信サービスの課金額に対する割引率を設定する場合を、以下に示す。まず、生成プログラム109は、追加処理名入力部1304を介して、処理の内容を特定できる名称として、例えば「LTE&WiMAX割引登録」を受け付ける。   For example, a case where the developer sets a discount rate to the charging amount of the LTE communication service and the WiMAX communication service in the set discount registration process to be added is shown below. First, the generation program 109 receives, for example, “LTE & WiMAX discount registration” as a name that can specify the content of processing via the additional processing name input unit 1304.

そして、追加するセット割引登録処理における割引の適用対象は、LTE通信サービス及びWiMAX通信サービスであるため、生成プログラム109は、項目選択部1305を介して、LTE通信サービス及びWiMAX通信サービスの入力項目を受け付ける。   Then, since the application targets of the discount in the set discount registration process to be added are the LTE communication service and the WiMAX communication service, the generation program 109 inputs the input items of the LTE communication service and the WiMAX communication service via the item selection unit 1305. Accept.

また、追加する処理がセット割引登録処理であるため、生成プログラム109は、追加処理種別選択部1307を介して、「セット割引登録」が選択されたことを受け付ける。また、開発者が、セット割引登録処理を新規申込業務内に追加したい場合、生成プログラム109は、対象業務選択部1308を介して、「新規申込」が選択されたことを受け付ける。   Further, since the process to be added is the set discount registration process, the generation program 109 receives, via the additional process type selection unit 1307, that “set discount registration” is selected. Also, when the developer wants to add the set discount registration process into the new application job, the generation program 109 receives, via the target job selection unit 1308, that “new application” is selected.

また、開発者は、セット割引登録処理を実装するファンクションが課金開始プロセスの中で呼び出されるように設計するため、生成プログラム109は、挿入箇所選択部1309を介して、ファンクション挿入箇所として、例えば「課金開始−3」が選択されたことを受け付ける。   Also, in order for the developer to design a function that implements the set discount registration process to be called in the charging start process, the generation program 109 uses the insertion point selection unit 1309 as a function insertion point, for example, “ It is accepted that "charging start-3" is selected.

そして、生成プログラム109は、セット割引登録処理を実装するファンクションに対応するファンクションテンプレートに、パラメータ設定箇所が含まれるかを、追加処理情報801のパラメータ設定箇所名リスト904に基づいて判定する。   Then, the generation program 109 determines whether or not the parameter setting part is included in the function template corresponding to the function implementing the set discount registration processing, based on the parameter setting part name list 904 of the additional processing information 801.

ファンクションテンプレートにパラメータ設定箇所が含まれる場合、生成プログラム109は、パラメータ設定箇所名リスト904に従って「割引率」をパラメータ設定値入力部1310に表示し、入力されるパラメータを受け付ける。   When the parameter setting part is included in the function template, the generation program 109 displays “discount rate” on the parameter setting value input unit 1310 according to the parameter setting part name list 904, and accepts the input parameter.

パラメータ設定値入力部1310を介してパラメータを受け付けることによって、生成プログラム109は、業務プログラムに挿入する追加プログラムに、開発者から指定されたパラメータを設定することができ、より多様なプログラムを生成することができる。   By receiving parameters via the parameter setting value input unit 1310, the generation program 109 can set parameters specified by the developer in an additional program to be inserted into the business program, and generates more various programs. be able to.

また、追加処理設計GUI1301は、追加ボタン1311、削除ボタン1312及び登録ボタン1313を含む。追加ボタン1311は、追加処理名入力部1304に入力された追加処理名を、追加処理一覧表示部1302に新たに表示する際に操作される。削除ボタン1312は、追加処理一覧表示部1302に表示された処理を削除する場合に操作される。登録ボタン1313は、追加処理詳細表示部1303に入力した内容を追加設計情報805に登録する場合に操作される。   The additional processing design GUI 1301 also includes an add button 1311, a delete button 1312, and a registration button 1313. The add button 1311 is operated to newly display the additional process name input to the additional process name input unit 1304 on the additional process list display unit 1302. The delete button 1312 is operated to delete the process displayed on the additional process list display unit 1302. The registration button 1313 is operated when the content input to the additional processing detail display unit 1303 is registered in the additional design information 805.

図15は、本実施例の追加生成テンプレートに基づいて生成されるコンポーネントを示す説明図である。   FIG. 15 is an explanatory diagram of components generated based on the additional generation template of this embodiment.

例えば、セット割引登録ファンクションテンプレート1501に基づいて生成されるLTEセット割引登録ファンクション1502aを図15に示す。セット割引登録ファンクションテンプレート1501は、商品項目英名313を設定する項目設定箇所1503と、割引率を設定するパラメータ設定箇所1504とを含む。   For example, FIG. 15 shows an LTE set discount registration function 1502 a generated based on the set discount registration function template 1501. The set discount registration function template 1501 includes an item setting portion 1503 for setting the product item English name 313 and a parameter setting portion 1504 for setting a discount rate.

まず、生成プログラム109は、追加ファンクションテンプレート807から、セット割引登録ファンクションテンプレート1501を読み出す。次に、生成プログラム109は、読み出したセット割引登録ファンクションテンプレート1501の中の項目設定箇所1503に従い、商品情報112の商品項目英名313を設定する。   First, the generation program 109 reads the set discount registration function template 1501 from the additional function template 807. Next, the generation program 109 sets the product item English name 313 of the product information 112 according to the item setting part 1503 in the set discount registration function template 1501 read out.

ただし、生成プログラム109は、追加設計情報805の項目選択リスト1402と商品項目名312とが対応する商品情報112のエントリの商品項目英名313を、項目設定箇所1503に設定する。   However, the generation program 109 sets the item item English name 313 of the entry of the item information list 112 corresponding to the item selection list 1402 of the additional design information 805 and the item item name 312 in the item setting location 1503.

ここで、セット割引登録ファンクションテンプレート1501に、顧客情報111の項目を設定する項目設定箇所を示す記載がある場合、生成プログラム109は、顧客情報111の項目を設定する。   Here, when the set discount registration function template 1501 has a description indicating an item setting part for setting an item of the customer information 111, the generation program 109 sets the item of the customer information 111.

また、商品情報112のレコードが複数ある場合、生成プログラム109は、追加設計情報805の項目選択リスト1402が示す入力項目の数だけ、セット割引登録ファンクションテンプレート1501を複製する。そして、項目選択リスト1402が示す入力項目を示す設定値を、商品情報112から特定し、特定した設定値を項目設定箇所1503に設定する。   If there are a plurality of records of the product information 112, the generation program 109 duplicates the set discount registration function template 1501 by the number of input items indicated by the item selection list 1402 of the additional design information 805. Then, the setting value indicating the input item indicated by the item selection list 1402 is specified from the product information 112, and the specified setting value is set in the item setting portion 1503.

また、顧客情報111が示す入力項目が項目選択リスト1402に複数含まれ、かつ、セット割引登録ファンクションテンプレート1501に、顧客情報111の項目を設定する項目設定箇所を示す記載がある場合、生成プログラム109は、項目選択リスト1402が示す顧客情報111の入力項目の数だけ、セット割引登録ファンクションテンプレート1501を複製する。そして、生成プログラム109は、項目選択リスト1402が示す顧客情報111の入力項目の設定値を、項目設定箇所1503に設定する。   In addition, when a plurality of input items indicated by the customer information 111 are included in the item selection list 1402 and the set discount registration function template 1501 has a description indicating an item setting place for setting an item of the customer information 111, the generation program 109 The set discount registration function template 1501 is replicated as many as the number of input items of the customer information 111 indicated by the item selection list 1402. Then, the generation program 109 sets the setting value of the input item of the customer information 111 indicated by the item selection list 1402 in the item setting portion 1503.

また、生成プログラム109は、セット割引登録ファンクションテンプレート1501にパラメータ設定箇所1504が含まれる場合、追加設計情報805の追加処理種別1403が「セット割引登録」を示すレコードを特定する。そして、生成プログラム109は、特定したレコードのパラメータ設定値1406のパラメータを、パラメータ設定箇所1504に従いパラメータを設定することによって、セット割引登録ファンクション1502を生成する。   Further, when the set discount registration function template 1501 includes the parameter setting part 1504, the generation program 109 specifies a record in which the additional processing type 1403 of the additional design information 805 indicates “set discount registration”. Then, the generation program 109 generates the set discount registration function 1502 by setting the parameters of the parameter setting value 1406 of the specified record according to the parameter setting portion 1504.

図15は、項目選択リスト1402が「lte」及び「wimax」を示す場合に生成されるLTEセット割引登録ファンクション1502aと、WiMAXセット割引登録ファンクション1502bとを示す。LTEセット割引登録ファンクション1502aは、項目設定箇所1503に「lte」が設定され、かつ、パラメータ設定箇所1504に「40」が設定された結果である。WiMAXセット割引登録ファンクション1502bは、項目設定箇所1503に「wimax」が設定され、かつ、パラメータ設定箇所1504に「40」が設定された結果である。   FIG. 15 shows an LTE set discount registration function 1502 a generated when the item selection list 1402 indicates “lte” and “wimax” and a WiMAX set discount registration function 1502 b. The LTE set discount registration function 1502 a is a result in which “lte” is set in the item setting place 1503 and “40” is set in the parameter setting place 1504. The WiMAX set discount registration function 1502 b is the result of setting “wimax” in the item setting location 1503 and setting “40” in the parameter setting location 1504.

生成プログラム109は、生成したセット割引登録ファンクション1502を、プログラムファイルとして出力することにより、業務プログラムに追加するプログラムを生成する。   The generation program 109 generates a program to be added to the business program by outputting the generated set discount registration function 1502 as a program file.

生成プログラム109は、プロセスの追加生成テンプレートと商品情報112及び顧客情報111とに基づいて、前述と同じ手順によって、追加するプロセスを生成する。一方で、生成プログラム109は、追加するファンクション又は追加するプロセスを、業務プログラムのプロセス又はオーダーから呼び出すため、業務プログラムのプロセス又はオーダーに呼出し処理を挿入する必要がある。   The generation program 109 generates an additional process based on the additional generation template of the process, the product information 112 and the customer information 111 according to the same procedure as described above. On the other hand, the generation program 109 needs to insert a call process in the process or order of the business program in order to call the function or process to be added from the process or order of the business program.

図16は、本実施例のファンクションの呼出し処理が挿入されたプロセスを示す説明図である。   FIG. 16 is an explanatory view showing a process in which the calling process of the function of this embodiment is inserted.

例えば、生成プログラム109が、生成したセット割引登録ファンクション1502の呼出し処理を、課金開始プロセス514dに挿入する場合を以下に示す。   For example, the case where the generation program 109 inserts the generated call processing of the set discount registration function 1502 into the charging start process 514 d is described below.

図9に示す追加処理情報801の処理種別901が「セット割引登録」を示す場合、当該エントリのコンポーネント種別902は、「ファンクション」であり、また、当該エントリの呼出しテンプレート905はテンプレートを含む。また、図13に示す追加設計情報805の追加処理種別1403が「セット割引登録」を示す場合、当該エントリの業務種別1404は「新規申込」であり、挿入箇所1405は「課金開始−3」である。   When the process type 901 of the additional process information 801 shown in FIG. 9 indicates “set discount registration”, the component type 902 of the entry is “function”, and the call template 905 of the entry includes a template. When the additional processing type 1403 of the additional design information 805 shown in FIG. 13 indicates “set discount registration”, the business type 1404 of the entry is “new application”, and the insertion point 1405 is “charging start-3”. is there.

このため、生成プログラム109は、ファンクション挿入箇所804において、挿入箇所1211が「課金開始−3」を示し、かつ、業務種別1212が「新規申込」を示すレコードを特定する。そして、生成プログラム109は、特定したエントリを参照し、プログラム生成テンプレート1213から「課金開始プロセステンプレート」を取得し、行番号1214から「14」を取得する。   Therefore, the generation program 109 specifies a record in which the insertion point 1211 indicates "charge start-3" and the work type 1212 indicates "new application" at the function insertion point 804. The generation program 109 then refers to the identified entry, acquires the “billing start process template” from the program generation template 1213, and acquires “14” from the line number 1214.

次に、生成プログラム109は、取得した情報に従い、プロセステンプレート114から、図16に示す課金開始プロセステンプレート1601を読み出す。課金開始プロセステンプレート1601は、商品項目英名313を設定する項目設定箇所1603を含む。このため、生成プログラム109は、項目設定箇所1603に商品情報112の商品項目英名313の値を設定する。   Next, the generation program 109 reads the charge start process template 1601 shown in FIG. 16 from the process template 114 according to the acquired information. The charge start process template 1601 includes an item setting part 1603 for setting the product item English name 313. For this reason, the generation program 109 sets the value of the product item English name 313 of the product information 112 in the item setting location 1603.

そして、生成プログラム109は、課金開始プロセステンプレート1601における行番号「14」に該当する行に、処理種別901が「セット割引登録」を示すレコードの呼出しテンプレート905の内容を挿入する。   Then, the generation program 109 inserts the contents of the calling template 905 of the record in which the processing type 901 indicates “set discount registration” in the line corresponding to the line number “14” in the charging start process template 1601.

図16に示す課金開始プロセステンプレート1602は、処理種別901が「セット割引登録」を示すエントリの呼出しテンプレート905の内容が挿入された結果を示し、記載1604は、挿入された呼出しテンプレート905の内容である。   The charge start process template 1602 shown in FIG. 16 shows the result of inserting the contents of the call template 905 of the entry whose process type 901 indicates “set discount registration”, and the description 1604 is the contents of the inserted call template 905. is there.

生成プログラム109は、記載1604に、商品項目英名313を設定する項目設定箇所が含まれる場合、項目設定箇所1603に設定した商品項目英名と同じ値を、記載1604の項目設定箇所に設定する。これによって、生成プログラム109は、セット割引登録ファンクションを呼び出すLTE課金開始プロセス1605を生成する。   When the description 1604 includes an item setting location for setting the product item English name 313, the generation program 109 sets the same value as the product item English name set in the item setting location 1603 in the item setting location of the description 1604. Thus, the generation program 109 generates an LTE charging start process 1605 that calls the set discount registration function.

なお、生成プログラム109は、呼出しテンプレート905の内容を挿入した後、課金開始プロセステンプレート1602の項目設定箇所に商品項目英名313を設定してもよい。   Note that the generation program 109 may set the commodity item English name 313 in the item setting part of the charging start process template 1602 after inserting the contents of the calling template 905.

ここで、商品情報112が図3Bに示す商品項目英名313である場合、生成プログラム109は、項目設定箇所に「lte」を設定したLTE課金開始プロセス1605と、「wimax」を設定したWiMAX課金開始プロセスと、「3g」を設定した3G課金開始プロセスとを生成する。しかし、処理種別901が「セット割引登録」を示すエントリの呼出しテンプレート905の内容は、項目設定箇所に「lte」を設定する課金開始プロセステンプレートと、「wimax」を設定する課金開始プロセステンプレートとにのみ、挿入される。   Here, when the product information 112 is the product item English name 313 shown in FIG. 3B, the generation program 109 starts the LTE charging start process 1605 in which “lte” is set in the item setting location and the WiMAX charging start in which “wimax” is set. Create a process and a 3G billing start process with "3g" set. However, the contents of the call template 905 of the entry where the processing type 901 indicates “set discount registration” are the charge start process template for setting “lte” in the item setting location and the charge start process template for setting “wimax”. Only inserted.

生成プログラム109は、追加するプロセスを呼び出す処理を、オーダーへ挿入する場合も、前述と同じ手順によって、オーダーに呼出し処理を挿入する。   The generation program 109 inserts the call process into the order according to the same procedure as described above, even when inserting the process for calling the process to be added into the order.

図17は、本実施例の追加された処理を含む業務プログラムにおけるコンポーネントの呼出し順序を示す説明図である。   FIG. 17 is an explanatory diagram showing the calling order of components in a business program including the added processing of this embodiment.

新規申込オーダー513aは、図5と同じく、申込受付プロセス514a、開通プロセス514b、契約完了プロセス514c、課金開始プロセス514dの順にプロセスを呼び出す。また、申込受付プロセス514a、開通プロセス514b、契約完了プロセス514c、及び、課金開始プロセス514dは、それぞれ申込受付業務、開通業務、契約完了業務、課金開始業務に必要なファンクションを順に呼び出す。   Similar to FIG. 5, the new application order 513a calls up the application reception process 514a, the open process 514b, the contract completion process 514c, and the charge start process 514d in this order. The application acceptance process 514a, the opening process 514b, the contract completion process 514c, and the charging start process 514d sequentially call functions required for the application reception work, the opening business, the contract completion business, and the charging start business.

新規申込業務プログラムにおいてセット割引処理を実行するため、セット割引チェックファンクション1701c及びセット割引登録ファンクション1701dを追加で生成した場合、生成プログラム109は、追加処理設計GUI1301に入力された設計に従い、契約完了プロセス514cにセット割引チェックファンクション1701cを挿入し、課金開始プロセス514dに、セット割引登録ファンクション1701dを挿入する。   When the set discount check function 1701c and the set discount registration function 1701d are additionally generated to execute the set discount processing in the new application program, the generation program 109 follows the contract completion process according to the design input to the additional processing design GUI 1301. The set discount check function 1701c is inserted into 514c, and the set discount registration function 1701d is inserted into the charge start process 514d.

なお、図17は、商品情報112のレコードが二つであり、かつ、図14に示す項目選択部1305において「LTE通信」と「WiMAX通信」との二つの入力項目が選択された場合を示す。生成プログラム109は、「lte」が設定されたセット割引登録ファンクション1701d_1と「wimax」が設定されたセット割引登録ファンクション1701d_2とを生成する。   FIG. 17 shows a case where there are two records of product information 112 and two input items of “LTE communication” and “WiMAX communication” are selected in item selection unit 1305 shown in FIG. . The generation program 109 generates a set discount registration function 1701d_1 in which "lte" is set and a set discount registration function 1701d_2 in which "wimax" is set.

セット割引登録ファンクション1701d_1は、図15に示すLTEセット割引登録ファンクション1502aに対応し、セット割引登録ファンクション1701d_2は、WiMAXセット割引登録ファンクション1502bに対応する。   The set discount registration function 1701d_1 corresponds to the LTE set discount registration function 1502a shown in FIG. 15, and the set discount registration function 1701d_2 corresponds to the WiMAX set discount registration function 1502b.

図17に示すように、生成プログラム109は、階層構造のコンポーネントによる業務プログラムに、新たな処理を追加することができる。また、図17において、商品情報112のレコードが三つであった場合、生成プログラム109は、三つの課金開始プロセス514dのうち、二つの課金開始プロセス514dのみにセット割引登録ファンクション1701dを追加する。これにより、開発者は、より多様な追加の処理を業務プログラムに追加できる。   As illustrated in FIG. 17, the generation program 109 can add a new process to a business program by components of a hierarchical structure. Further, in FIG. 17, when there are three records of the product information 112, the generation program 109 adds a set discount registration function 1701d only to two charging start processes 514d among the three charging start processes 514d. This allows the developer to add more various additional processes to the business program.

図18A〜図18Cは、本実施例のプログラム生成処理を示すフローチャートである。   18A to 18C are flowcharts showing program generation processing of the present embodiment.

図18Aは、本実施例の入力項目を受け付ける処理を示すフローチャートである。   FIG. 18A is a flowchart showing a process of receiving an input item according to this embodiment.

なお、図18A〜図18Cに示す処理は、顧客情報111が、一つのレコードのみを含む場合の処理の例である。すなわち、追加生成テンプレートが、顧客情報111の入力項目を設定する項目設定箇所を含み、かつ、選択された入力項目が顧客情報111に含まれる場合、当該項目設定箇所には、顧客情報111の一つのレコードに含まれる入力項目に関する情報が追加生成テンプレートに設定される。   The processes shown in FIGS. 18A to 18C are examples of processes in the case where the customer information 111 includes only one record. That is, when the additional generation template includes an item setting part for setting an input item of the customer information 111 and the selected input item is included in the customer information 111, one item of the customer information 111 is the item setting part. Information on the input items included in one record is set in the additional generation template.

まず、図18Aに示すステップ701及び702は、図7に示すステップ701及び702と同じである。   First, steps 701 and 702 shown in FIG. 18A are the same as steps 701 and 702 shown in FIG.

ステップ702の後、生成プログラム109は、追加処理設計GUI1301を用いて業務プログラム内に追加する処理の設計を受け付ける(1803)。そして、生成プログラム109は、受け付けた設計の内容を追加設計情報805に格納する(1804)。追加設計情報805の項目選択リスト1402に格納された入力項目を、以下において、選択された入力項目と記載する。   After step 702, the generation program 109 receives the design of the process to be added in the business program using the additional process design GUI 1301 (1803). Then, the generation program 109 stores the content of the received design in the additional design information 805 (1804). The input items stored in the item selection list 1402 of the additional design information 805 will hereinafter be referred to as selected input items.

図18Bは、本実施例の追加処理を実行するプログラムを生成する処理を示すフローチャートである。   FIG. 18B is a flowchart showing a process of generating a program for executing the additional process of this embodiment.

ステップ1804の後、生成プログラム109は、追加設計情報805のレコードの数だけ、ステップ1806〜1818の処理を繰り返す(1805)。まず、生成プログラム109は、追加設計情報805の1レコード(追加レコードA)を読み出す(1806)。   After step 1804, the generation program 109 repeats the processing of steps 1806 to 1818 as many times as the number of records of the additional design information 805 (1805). First, the generation program 109 reads one record (additional record A) of the additional design information 805 (1806).

ステップ1806の後、生成プログラム109は、追加レコードAの追加処理種別1403に対応する処理種別901を含むレコードを、追加処理情報801において特定する。そして、生成プログラム109は、特定したレコードの追加生成テンプレート名リスト903のすべての追加生成テンプレートに、ステップ1808〜ステップ1818の処理を実行する(1807)。   After step 1806, the generation program 109 specifies, in the additional processing information 801, the record including the processing type 901 corresponding to the additional processing type 1403 of the additional record A. Then, the generation program 109 executes the processing of step 1808 to step 1818 on all additional generation templates of the additional generation template name list 903 of the specified record (1807).

ステップ1807の後、生成プログラム109は、ステップ1807において特定したレコードの追加生成テンプレート名リスト903から、まだステップ1809以降の処理を実行していない一つの追加生成テンプレートの識別子を選択する。そして、生成プログラム109は、選択した識別子に従って、追加プロセステンプレート806又は追加ファンクションテンプレート807から、追加生成テンプレート(追加生成テンプレートA)を読み出す(1808)。   After step 1807, the generation program 109 selects, from the additional generation template name list 903 of the record identified in step 1807, an identifier of one additional generation template which has not yet been subjected to the processing of step 1809 and thereafter. Then, the generation program 109 reads out the additional generation template (additional generation template A) from the additional process template 806 or the additional function template 807 according to the selected identifier (1808).

ステップ1808において、生成プログラム109は、選択した識別子が格納される追加処理情報801のレコードのコンポーネント種別902が、「プロセス」である場合、追加プロセステンプレート806から追加生成テンプレートを読み出し、「ファンクション」である場合、追加ファンクションテンプレート807から追加生成テンプレートを読み出す。   In step 1808, when the component type 902 of the record of the additional processing information 801 in which the selected identifier is stored is “process”, the generation program 109 reads the additional generation template from the additional process template 806, and uses “function”. If there is, the additional generation template is read from the additional function template 807.

ステップ1808の後、生成プログラム109は、選択された入力項目の数に従って追加生成テンプレートを生成する必要があるかを判定する(1809)。生成プログラム109は、追加生成テンプレートAが、選択された入力項目の数に従って複製するテンプレートであるかを判定できれば、いかなる方法を用いてもよい。   After step 1808, the generation program 109 determines whether it is necessary to generate an additional generation template according to the number of input items selected (1809). The generation program 109 may use any method as long as it can determine whether the additional generation template A is a template to be copied according to the number of selected input items.

例えば、生成プログラム109は、ステップ1809において、追加レコードAの項目選択リスト1402に含まれる少なくとも二つの入力項目が、商品情報112の商品項目名312に含まれ、かつ、追加生成テンプレートAに商品情報112の設定値を設定する項目設定箇所が含まれる場合、選択された入力項目の数に従って追加生成テンプレートを生成する必要があると判定してもよい。   For example, at step 1809, the generation program 109 includes at least two input items included in the item selection list 1402 of the additional record A in the item name 312 of the item information 112 and the item information in the additional generation template A. When the item setting part for setting the setting value of 112 is included, it may be determined that the additional generation template needs to be generated according to the number of input items selected.

なお、この場合、項目選択リスト1402に含まれる商品情報112の入力項目の数だけ、追加生成テンプレートを生成する必要がある。   In this case, additional generation templates need to be generated as many as the number of input items of the product information 112 included in the item selection list 1402.

また、追加レコードAの項目選択リスト1402に含まれる少なくとも二つの入力項目が、顧客情報111の商品項目名312に含まれ、かつ、追加生成テンプレートAに顧客情報111の設定値を設定する項目設定箇所が含まれる場合、選択された入力項目の数に従って追加生成テンプレートを生成する必要があると判定してもよい。   In addition, at least two input items included in the item selection list 1402 of the additional record A are included in the product item name 312 of the customer information 111, and an item setting for setting the setting value of the customer information 111 in the additional generation template A If the location is included, it may be determined that the additional generation template needs to be generated according to the number of input items selected.

なお、この場合、項目選択リスト1402に含まれる顧客情報111の入力項目の数だけ、追加生成テンプレートを生成する必要がある。   In this case, it is necessary to generate additional generation templates as many as the number of input items of the customer information 111 included in the item selection list 1402.

選択された入力項目の数に従って追加生成テンプレートを生成する必要があると判定した場合、生成プログラム109は、選択された商品情報112の入力項目の数だけ、ステップ1811〜1813の処理を繰り返す(ステップ1810)。   If it is determined that the additional generation template needs to be generated according to the number of selected input items, the generation program 109 repeats the processing of steps 1811 to 1813 as many as the number of input items of the selected item information 112 (steps 1810).

ステップ1810の後、生成プログラム109は、追加生成テンプレートAを複製し、複製した追加生成テンプレートA(追加生成テンプレートA1)にステップ1813までの処理を実行する。また、ここで、生成プログラム109は、追加レコードAの項目選択リスト1402から商品情報112の入力項目(入力項目A)を一つ選択する。   After step 1810, the generation program 109 duplicates the additional generation template A, and executes the processing up to step 1813 on the duplicate additional generation template A (additional generation template A1). Here, the generation program 109 selects one input item (input item A) of the product information 112 from the item selection list 1402 of the additional record A.

生成プログラム109は、追加生成テンプレートA1に商品情報112の設定値を設定する項目設定箇所が含まれる場合、入力項目Aの設定値を、追加生成テンプレートA1の項目設定箇所に設定する。また、生成プログラム109は、追加生成テンプレートA1に顧客情報111の設定値を設定する項目設定箇所が含まれる場合、選択された顧客情報111の入力項目を、項目設定箇所に設定する(1811)。   When the additional generation template A1 includes an item setting portion for setting the setting value of the product information 112, the generation program 109 sets the setting value of the input item A as the item setting portion of the additional generation template A1. Further, when the additional generation template A1 includes an item setting part for setting the setting value of the customer information 111, the generation program 109 sets the input item of the selected customer information 111 as the item setting part (1811).

なお、選択された入力項目が顧客情報111の複数の入力項目を含み、かつ、追加生成テンプレートA1に顧客情報111の設定値を設定する項目設定箇所が含まれる場合、生成プログラム109は、ステップ1811において、選択された顧客情報111の入力項目の数だけ、追加生成テンプレートA1を複製し、複製した追加生成テンプレートA1に、選択された顧客情報111の入力項目の設定値を設定してもよい。そして、生成プログラム109は、以後においてこの処理によって複製された追加生成テンプレートA1に処理を実行してもよい。   When the selected input item includes a plurality of input items of the customer information 111 and the additional generation template A1 includes an item setting location for setting the setting value of the customer information 111, the generation program 109 proceeds to step 1811. In addition, the setting value of the input item of the selected customer information 111 may be set in the additional generation template A1 duplicated as the additional generation template A1 by the number of the input items of the selected customer information 111. Then, the generation program 109 may execute processing on the additional generation template A1 copied by this processing thereafter.

ステップ1811において、顧客情報111及び商品情報112の入力項目を追加生成テンプレートA1に設定することによって、生成プログラム109は、複数の種類の入力項目を追加するプログラムに設定することができる。   By setting the input items of the customer information 111 and the product information 112 in the additional generation template A1 in step 1811, the generation program 109 can set the input items of a plurality of types in a program for adding.

ステップ1811の後、生成プログラム109は、追加生成テンプレートA1にパラメータ設定箇所が含まれる場合、追加レコードAのパラメータ設定値1406の内容を設定する(1812)。ステップ1812の後、生成プログラム109は、入力項目又はパラメータを設定された追加生成テンプレートA1をプログラムファイルとして出力する(1813)。これによって、生成プログラム109は、業務プログラムに追加するプログラムを生成する。   After step 1811, when the additional generation template A1 includes a parameter setting location, the generation program 109 sets the content of the parameter setting value 1406 of the additional record A (1812). After step 1812, the generation program 109 outputs, as a program file, the additional generation template A1 in which the input items or parameters are set (1813). Thus, the generation program 109 generates a program to be added to the business program.

追加処理設計GUI1301で選択された商品情報112の入力項目の全てに、ステップ1811〜1813の処理を行った場合、生成プログラム109は、ステップ1810の繰り返し処理を終了する(ステップ1814)。   When the processes of steps 1811 to 1813 have been performed on all the input items of the product information 112 selected by the additional process design GUI 1301, the generation program 109 ends the iterative process of step 1810 (step 1814).

ステップ1809において、選択された項目の数だけ追加生成テンプレートを生成する必要がないと判断された場合、生成プログラム109は、ステップ1815を実行する。生成プログラム109は、追加生成テンプレートAが項目設定箇所を含む場合、追加生成テンプレートAの項目設定箇所に、選択された入力項目であり、かつ、顧客情報111及び商品情報112の入力項目の設定値を設定する(1815)。   If it is determined in step 1809 that it is not necessary to generate additional generation templates by the number of items selected, the generation program 109 executes step 1815. When the additional generation template A includes an item setting part, the generation program 109 is an input item selected in the item setting part of the additional generation template A and is a setting value of the input item of the customer information 111 and the product information 112. Is set (1815).

ステップ1815の後、生成プログラム109は、追加生成テンプレートAがパラメータ設定箇所を含む場合、追加生成テンプレートAのパラメータ設定箇所に追加レコードAのパラメータ設定値1406の内容を設定する(1816)。そして、生成プログラム109は、追加生成テンプレートAをプログラムファイルとして出力する(1817)。   After step 1815, when the additional generation template A includes a parameter setting location, the generation program 109 sets the content of the parameter setting value 1406 of the additional record A in the parameter setting location of the additional generation template A (1816). Then, the generation program 109 outputs the additional generation template A as a program file (1817).

生成プログラム109が、追加レコードAの追加処理種別1403に対応するレコードの追加生成テンプレート名リスト903のすべての追加生成テンプレートに、ステップ1808〜ステップ1817の処理を、実行した場合、生成プログラム109は、ステップ1807の繰り返し処理を終了する(1818)。   When the generation program 109 executes the processing of step 1808 to step 1817 on all additional generation templates of the additional generation template name list 903 of the record corresponding to the additional processing type 1403 of the additional record A, the generation program 109 The iterative process of step 1807 ends (1818).

そして、ステップ1806〜1818の処理を、追加設計情報805の全てのレコードに対して実行した場合、生成プログラム109は、ステップ1805の繰り返し処理を終了する(1819)。   Then, when the processing of steps 1806 to 1818 is executed for all the records of the additional design information 805, the generation program 109 ends the repetitive processing of step 1805 (1819).

図18Cは、本実施例の業務プログラムに追加処理を挿入する処理を示すフローチャートである。   FIG. 18C is a flowchart showing a process of inserting an additional process into the task program of this embodiment.

図18Cに示す処理は、図7に示す処理に対応する。ステップ1819の後、生成プログラム109は、図7に示すステップ703〜708を実行する。ここで、生成プログラム109は、オーダーテンプレート113、プロセステンプレート114、ファンクションテンプレート115の中から一つのプログラム生成テンプレート(テンプレートA)を読み出し、すべてのプログラム生成テンプレートについて、図18Cに示すステップ710までの処理を実行する。   The process shown in FIG. 18C corresponds to the process shown in FIG. After step 1819, the generation program 109 executes steps 703 to 708 shown in FIG. Here, the generation program 109 reads one program generation template (template A) from the order template 113, the process template 114, and the function template 115, and the process up to step 710 shown in FIG. 18C for all program generation templates. Run.

図18Cに示すステップ703〜708の処理によって、業務プログラムにおける定型処理のコンポーネントが生成される。   The components of routine processing in the business program are generated by the processing of steps 703 to 708 shown in FIG. 18C.

図18Cに示すステップ708の後、生成プログラム109は、追加処理を呼び出す処理を、テンプレートAに挿入する必要があるかを判定する(1826)。具体的には、生成プログラム109は、プログラム生成テンプレート1203がテンプレートAを示すプロセス挿入箇所803のレコード、又は、プログラム生成テンプレート1213がテンプレートAを示すファンクション挿入箇所804のレコードを特定する。   After step 708 shown in FIG. 18C, the generation program 109 determines whether it is necessary to insert a process for calling an additional process into the template A (1826). Specifically, the generation program 109 specifies a record of the process insertion point 803 where the program generation template 1203 indicates template A or a record of the function insertion point 804 where the program generation template 1213 shows template A.

一方で、生成プログラム109は、追加設計情報805の挿入箇所1405及び業務種別1404の内容の組み合わせをすべて取得する。そして、生成プログラム109は、特定したすべてのレコードの挿入箇所1201及び業務種別1202と、追加設計情報805から取得した組み合わせとが一致する、プロセス挿入箇所803又はファンクション挿入箇所804のレコードを選択する。   On the other hand, the generation program 109 acquires all combinations of the contents of the insertion point 1405 of the additional design information 805 and the task type 1404. Then, the generation program 109 selects a record of the process insertion point 803 or the function insertion point 804 where the insertion points 1201 and the task types 1202 of all the identified records match the combination acquired from the additional design information 805.

ここで、プロセス挿入箇所803又はファンクション挿入箇所804のレコードを選択できた場合、生成プログラム109は、追加処理を呼び出す処理を、テンプレートAに挿入する必要があると判定する。ここで、特定したレコードの挿入箇所(1201、1211)及び業務種別(1202、1212)の内容の組み合わせを、組み合わせAと記載する。   Here, when the record of the process insertion point 803 or the function insertion point 804 can be selected, the generation program 109 determines that the process for calling the additional process needs to be inserted into the template A. Here, a combination of the contents of the specified record insertion point (1201, 1211) and the task type (1202, 1212) is referred to as a combination A.

ステップ1826において、追加処理を呼び出す処理を、テンプレートAに挿入する必要があると判定した場合、生成プログラム109は、組み合わせAを、挿入箇所1405及び業務種別1404に含む追加設計情報805のレコードを選択する。そして、生成プログラム109は、選択したレコードの追加処理種別1403に対応する処理種別901を含むレコードを、追加処理情報801から特定する。そして、生成プログラム109は、特定した追加処理情報801のレコードから、呼出しテンプレート905を取得する。   When it is determined in step 1826 that the process for calling the additional process needs to be inserted into the template A, the generation program 109 selects the record of the additional design information 805 including the combination A in the insertion location 1405 and the task type 1404. Do. Then, the generation program 109 identifies, from the additional processing information 801, a record including the processing type 901 corresponding to the additional processing type 1403 of the selected record. Then, the generation program 109 acquires the call template 905 from the record of the specified additional processing information 801.

そして、生成プログラム109は、組み合わせAを示すプロセス挿入箇所803又はファンクション挿入箇所804のレコードの行番号1204又は行番号1214に従って、テンプレートA内の行に、追加処理情報801から取得した呼出しテンプレート905を挿入する。   Then, the generation program 109 follows the line number 1204 or the line number 1214 of the record of the process insertion point 803 indicating the combination A or the function insertion point 804, in the line in the template A, the call template 905 acquired from the additional processing information 801. insert.

なお、取得した呼出しテンプレート905に、項目設定箇所が含まれる場合、生成プログラム109は、ステップ1827において、顧客情報111の入力項目、又は、ステップ706において商品情報112から読み出した商品レコードAの入力項目を、項目設定箇所に設定する。これによって、業務プログラムにおける定型処理のプログラムが、図18Bに示す処理によって生成された追加処理のプログラムを呼び出すことができる。   When the item setting part is included in the acquired call template 905, the generation program 109 inputs the input item of the customer information 111 in step 1827 or the input item of the product record A read out from the product information 112 in step 706. Is set as the item setting location. As a result, the program of the routine process in the business program can call the program of the additional process generated by the process shown in FIG. 18B.

ステップ1826において追加処理を呼び出す処理をテンプレートAに挿入する必要がないと判定した場合、又は、ステップ1827の後、テンプレートAをプログラムファイルとして出力する(709)。ステップ706〜709、ステップ1826、ステップ1827、及びステップ709の処理を、商品情報112の全てのレコードに対して実行し終えた場合、生成プログラム109は、ステップ705の繰り返し処理を終了する(710)。   If it is determined in step 1826 that the process for calling the additional process does not need to be inserted into the template A, or after step 1827, the template A is output as a program file (709). When the processes of steps 706 to 709, steps 1826, 1827, and 709 have been executed for all the records of the product information 112, the generation program 109 ends the iterative process of step 705 (710). .

そして、すべてのプログラム生成テンプレートに、ステップ706〜709、ステップ1826、ステップ1827、ステップ709及びステップ710の処理を終えた後(711)、生成プログラム109は、図18A〜図18Cに示す業務プログラムの生成処理を終了する(ステップ1829)。   Then, after finishing the processing of steps 706 to 709, step 1826, step 1827, step 709 and step 710 for all the program generation templates (711), the generation program 109 is the one of the business program shown in FIGS. 18A to 18C. The generation process ends (step 1829).

以上のように、本実施例によると、新規申込業務の処理内で商品情報112の項目の「LTE通信サービス」と「WiMAX通信サービス」とに対するセット割引処理を追加で実行できる業務プログラムを生成することが可能である。   As described above, according to the present embodiment, a business program capable of additionally executing set discount processing for “LTE communication service” and “WiMAX communication service” in the item of product information 112 in the process of the new application business is generated. It is possible.

なお、本発明は上記の実施例に限定されるものではなく、様々な変形例が含まれている。前述における生成プログラム109は、商品情報112の複数の項目の組み合わせに対する追加処理を生成したが、顧客情報111の項目と商品情報112の項目との組み合わせに対する追加処理を生成してもよい。   The present invention is not limited to the above-described embodiment, but includes various modifications. The generation program 109 described above generates additional processing for the combination of a plurality of items of the product information 112, but may generate additional processing for the combination of the item of the customer information 111 and the item of the product information 112.

図19は、本実施例の追加処理設計GUI1301に入力された項目を示す説明図である。   FIG. 19 is an explanatory diagram of the items input to the additional processing design GUI 1301 of this embodiment.

顧客情報111の入力項目と商品情報112の入力項目との組み合わせを設定される追加プログラムを生成する例を、以下に示す。追加処理の例として、新規申込業務の処理内で行われるシニア割引処理を以下に挙げる。   An example of generating an additional program in which a combination of the input item of the customer information 111 and the input item of the product information 112 is set is shown below. As an example of the additional processing, the senior discount processing performed in the processing of the new application work is listed below.

シニア割引処理とは、顧客がLTE通信サービスなどの通信サービスの利用を申し込んだ場合に、顧客の年齢が一定年齢を超えている場合、通信サービスの利用量に応じた顧客の課金額を、一定の割合だけ安くする処理である。   The senior discount processing means that if the customer applies for communication service such as LTE communication service, and if the customer's age exceeds a certain age, the customer's charge amount according to the usage of the communication service is fixed. It is processing to make only the rate of

図19に示す追加処理設計GUI1301は、図14に示す追加処理設計GUI1301と同じく、追加処理一覧表示部1302、追加処理詳細表示部1303、追加ボタン1311、削除ボタン1312及び登録ボタン1313を含む。   The additional process design GUI 1301 shown in FIG. 19 includes an additional process list display unit 1302, an additional process detail display unit 1303, an add button 1311, a delete button 1312 and a registration button 1313 as the additional process design GUI 1301 shown in FIG.

新規申込業務内でシニア割引処理を行うプログラムを追加するために、開発者は、図19に示す項目選択部1305のように、顧客情報111の項目の「年齢」と商品情報112の項目の「LTE通信サービス」とを選択する。そして、開発者は、追加処理種別選択部1307において、例えば、「条件別割引チェック処理」を選択する。また、開発者は、パラメータ設定値入力部1310に、シニア割引が適用される年齢の閾値(ここでは60)を設定する。   In order to add a program for performing a senior discount process in the new application job, the developer adds “age” of the item of the customer information 111 and “item of the item information 112” as in the item selection unit 1305 shown in FIG. Select "LTE communication service". Then, the developer selects, for example, “discount check processing by condition” in the additional processing type selection unit 1307. In addition, the developer sets, in the parameter setting value input unit 1310, a threshold (here, 60) of the age to which the senior discount is applied.

この場合、生成プログラム109は、図18Bに示すステップ1815〜1817を実行する。これにより、生成プログラム109は、条件別割引チェック処理に対応したテンプレートに「年齢」と「LTE通信サービス」との入力項目、及び、割引適用年齢の閾値のパラメータを設定することによってコンポーネントを生成し、生成したコンポーネントを新規申込プログラムに挿入することでシニア割引処理を実行するプログラムを生成できる。   In this case, the generation program 109 executes steps 1815 to 1817 shown in FIG. 18B. Thereby, the generation program 109 generates a component by setting the input items of “age” and “LTE communication service” in the template corresponding to the discount check process by condition, and the parameters of the discount applied age threshold. By inserting the generated components into a new application program, it is possible to generate a program that executes senior discount processing.

異なる種類の入力項目の組み合わせを、生成する追加プログラムに設定することによって、生成プログラム109は、より多様な入力項目を含む追加プログラムを生成することができる。また、図19に示す項目選択部1305のように、顧客情報111及び商品情報112の入力項目を運用者に任意に選択させることができ、様々な業務を実行可能な追加プログラムを生成することができる。   By setting combinations of different types of input items to the additional program to be generated, the generation program 109 can generate an additional program including more various input items. In addition, as in the item selection unit 1305 shown in FIG. 19, the operator can arbitrarily select input items of the customer information 111 and the product information 112, and generate an additional program capable of executing various operations. it can.

以上のように、本発明では、「LTE通信サービス」及び「WiMAX通信サービス」の入力項目の組み合わせ、並びに、「年齢」及び「LTE通信サービス」の入力項目の組み合わせなど、任意の入力項目の組み合わせごとに追加処理を生成することができるため、入力項目に従って柔軟に追加プログラムを生成できる。   As described above, in the present invention, a combination of arbitrary input items, such as a combination of “LTE communication service” and “WiMAX communication service” input items, and a combination of “age” and “LTE communication service” input items. Since additional processing can be generated for each, it is possible to flexibly generate additional programs according to the input items.

また、開発者がすべてのプログラムのコードを把握していなくても、提示された挿入箇所から追加プログラムの挿入箇所を選択し、追加処理の挿入箇所を任意に選択することができる。このため、追加プログラムを定型処理のプログラムに挿入することが容易である。これによって、本実施例のプログラム生成装置100によって生成されたプログラムは、システムの開発においてより幅広い範囲の処理を実現することが可能である。   In addition, even if the developer does not know the codes of all the programs, the insertion point of the additional program can be selected from the presented insertion points, and the insertion point of the additional processing can be arbitrarily selected. Therefore, it is easy to insert the additional program into the routine processing program. By this, the program generated by the program generation device 100 of the present embodiment can realize a wider range of processing in system development.

また、通信事業者の要望に柔軟に対応可能な高機能システムの開発を低コストで早期に実現できる。通信事業者は早期かつ安価でシステムの導入を実現でき、これにより顧客も通信事業者が提供する通信サービスを安価で利用することができる。   In addition, the development of a high-performance system that can flexibly respond to the requests of the telecommunications carrier can be realized early at low cost. A telecommunications carrier can realize the introduction of the system early and inexpensively, which enables the customer to use the telecommunications service provided by the telecommunications carrier inexpensively.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明したすべての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加、削除又は置換をすることが可能である。   The present invention is not limited to the embodiments described above, but includes various modifications. For example, the embodiments described above are described in detail in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the configurations described. Also, part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. In addition, it is possible to add, delete, or replace other configurations for some of the configurations of the respective embodiments.

また、上記の各構成、機能及び処理部等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、若しくはSSD(Solid State Drive)等の記録装置、又は、ICカード、若しくはSDカード等の記録媒体に置くことができる。   In addition, each of the configurations, functions, and processing units described above may be realized by hardware, for example, by designing part or all of them with an integrated circuit. Further, each configuration, function, etc. described above may be realized by software by the processor interpreting and executing a program that realizes each function. Information such as a program, a table, and a file for realizing each function can be placed in a recording device such as a memory, a hard disk, or a solid state drive (SSD), or a recording medium such as an IC card or an SD card.

また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしもすべての制御線や情報線を示しているとは限らない。実際には殆どすべての構成が相互に接続されていると考えてもよい。   Further, control lines and information lines indicate what is considered to be necessary for the description, and not all control lines and information lines in the product are necessarily shown. In practice, almost all the configurations may be considered to be mutually connected.

本実施例のプログラム生成装置およびプログラム生成方法は、とりわけ通信事業者が顧客にサービスを提供するシステムの開発において、開発効率を高めることができ、ひいては通信事業者のサービス提供、及び運用に貢献することができる。   The program generation apparatus and the program generation method of the present embodiment can improve the development efficiency especially in the development of a system in which a telecommunications carrier provides a service to a customer, thereby contributing to the service provision and operation of the telecommunications carrier. be able to.

101 入力I/F(インタフェース)
102 出力I/F(インタフェース)
103 CPU
104 HDD(ハードディスク)
105 メモリ
106 データバス
107 入力装置
108 表示装置
109 生成プログラム
110 アプリケーションロジック
111 顧客情報
112 商品情報
113 オーダーテンプレート
114 プロセステンプレート
115 ファンクションテンプレート
801 追加処理情報
802 業務種別
803 プロセス挿入箇所
804 ファンクション挿入箇所
805 追加設計情報
806 追加プロセステンプレート
807 追加ファンクションテンプレート
101 Input I / F (Interface)
102 Output I / F (Interface)
103 CPU
104 HDD (Hard Disk)
105 Memory 106 Data Bus 107 Input Device 108 Display Device 109 Generated Program 110 Application Logic 111 Customer Information 112 Product Information 113 Order Template 114 Process Template 115 Function Template 801 Additional Processing Information 802 Business Type 803 Process Insertion Point 804 Function Insertion Point 805 Additional Design Information 806 Add process template 807 Add function template

Claims (12)

業務処理を実現するためのプログラムを生成するプログラム生成装置であって、
プロセッサ、メモリ及び入出力インタフェースを有し、
前記メモリは、
第1の処理が実行処理を呼び出す順序を示す第1のテンプレートと、前記実行処理を具体化する第2のテンプレートと、前記第1のテンプレート及び前記第2のテンプレートにおける第1の設定箇所に設定される複数の第1の入力項目を示す入力項目情報と、を保持し、
前記第1の処理が呼び出す前記実行処理に新たな処理を追加する指示と、前記第1の処理が前記新たな処理を呼び出す順序と、入力項目の指示とを、前記入出力インタフェースを介して受け付け、
前記新たな処理が実行する処理を示すテンプレートとして、前記第2のテンプレートを読み出し、
前記受け付けた指示が示す入力項目が前記複数の第1の入力項目に含まれる場合、前記複数の第1の入力項目に含まれる前記受け付けた指示が示す入力項目の数だけ、前記読み出した第2のテンプレートを複製し、
前記複製した第2のテンプレートにおける前記第1の設定箇所に、前記受け付けた指示が示す入力項目を設定した結果を第2のプログラムとして出力し、
前記複数の第1の入力項目の数だけ、前記第1のテンプレートを複製し、
前記複製した第1のテンプレートにおける前記第1の設定箇所に、前記第1の入力項目の各々を設定し、
前記受け付けた新たな処理を呼び出す順序に従って、前記受け付けた指示が示す入力項目を設定した第1のテンプレートが前記第2のプログラムを呼び出すように、前記受け付けた指示が示す入力項目を設定した第1のテンプレートを更新し、
前記更新した後、前記第1の入力項目を設定した第1のテンプレートを第1のプログラムとして出力することを特徴とするプログラム生成装置。
A program generating apparatus for generating a program for realizing business processing, comprising:
Processor, memory and I / O interface,
The memory is
Set as a first template indicating the order in which the first process calls the execution process, a second template that embodies the execution process, and a first setting location in the first template and the second template Holding input item information indicating a plurality of first input items to be
An instruction to add a new process to the execution process called by the first process, an order in which the first process calls the new process, and an instruction of an input item are received via the input / output interface ,
The second template is read out as a template indicating the processing to be executed by the new processing,
When the input item indicated by the received instruction is included in the plurality of first input items, the second read out is performed by the number of the input items indicated by the received instruction included in the plurality of first input items. Duplicate the template of
A result of setting an input item indicated by the received instruction at the first setting location in the copied second template is output as a second program,
Duplicate the first template by the number of the plurality of first input items;
Each of the first input items is set at the first setting place in the copied first template,
The first template having the input item indicated by the received instruction set the input item indicated by the received instruction such that the first template sets the input program indicated by the received instruction according to the order of calling the received new process Update the template of
A program generation apparatus characterized by outputting, as a first program, a first template in which the first input item is set after the update.
請求項1に記載のプログラム生成装置であって、
前記第1のテンプレートが示す順序に前記実行処理の呼出し処理を挿入する、挿入箇所の候補を示す箇所情報を保持し、
前記入出力インタフェースを介して、前記箇所情報を出力し、
前記箇所情報から選択された挿入箇所の候補を、前記入出力インタフェースを介して受け付けることによって、前記第1の処理が新たな処理を呼び出す順番を受け付けることを特徴とするプログラム生成装置。
The program generation apparatus according to claim 1, wherein
Holding location information indicating candidates for insertion locations for inserting the calling process of the execution process in the order indicated by the first template;
Outputting the location information via the input / output interface;
A program generating apparatus characterized in that the first process receives an order of calling a new process by receiving, via the input / output interface, a candidate of an insertion point selected from the position information.
請求項1に記載のプログラム生成装置であって、
前記入力項目情報は、前記複数の第1の入力項目と異なる一つの第2の入力項目を示し、
前記第2のテンプレートは、前記第2の入力項目を設定する第2の設定箇所を含み、
前記受け付けた指示が示す入力項目に前記第2の入力項目が含まれる場合、前記複製した第2のテンプレートにおける前記第1の設定箇所及び前記第2の設定箇所に前記受け付けた指示が示す入力項目を設定した結果を、前記第2のプログラムとして出力することを特徴とするプログラム生成装置。
The program generation apparatus according to claim 1, wherein
The input item information indicates one second input item different from the plurality of first input items;
The second template includes a second setting place for setting the second input item,
When the second input item is included in the input item indicated by the received instruction, the input item indicated by the received instruction in the first setting location and the second setting location in the copied second template Outputting a result of setting the value as the second program.
請求項3に記載のプログラム生成装置であって、
前記入出力インタフェースを介して、前記入力項目情報を出力し、
前記入力項目情報から選択された第1の入力項目の少なくとも一つ、及び、前記第2の入力項目を、前記入出力インタフェースを介して受け付けることを特徴とするプログラム生成装置。
The program generation device according to claim 3,
Outputting the input item information via the input / output interface;
A program generation apparatus characterized by receiving at least one of a first input item selected from the input item information and the second input item via the input / output interface.
請求項1に記載のプログラム生成装置であって、
前記第2のテンプレートは、プログラムの動作を特徴づけるパラメータが設定される設定箇所を示す情報を含み、
前記入出力インタフェースを介して、前記パラメータを受け付け、
前記受け付けたパラメータを、前記複製した第2のテンプレートに設定することを特徴とするプログラム生成装置。
The program generation apparatus according to claim 1, wherein
The second template includes information indicating setting locations where parameters characterizing the operation of the program are set,
Accepting the parameter via the input / output interface,
The program generation apparatus, wherein the received parameter is set to the copied second template.
請求項1に記載のプログラム生成装置であって、
前記メモリは、第2の処理が前記第1の処理を含む複数の処理を呼び出す順序を示す第3のテンプレートを保持し、
前記第1の処理が呼び出す処理に新たな処理を追加する指示を受け付けた場合、前記第3のテンプレートを第3のプログラムとして出力することを特徴とするプログラム生成装置。
The program generation apparatus according to claim 1, wherein
The memory holds a third template indicating an order in which a second process calls a plurality of processes including the first process,
The program generation apparatus characterized in that the third template is output as a third program when an instruction to add a new process to the process called by the first process is received.
業務処理を実現するためのプログラムを生成するプログラム生成装置によるプログラム生成方法であって、
前記プログラム生成装置は、プロセッサ、メモリ及び入出力インタフェースを有し、
前記メモリは、第1の処理が実行処理を呼び出す順序を示す第1のテンプレートと、前記実行処理を具体化する第2のテンプレートと、前記第1のテンプレート及び前記第2のテンプレートにおける第1の設定箇所に設定される複数の第1の入力項目を示す入力項目情報と、を保持し、
前記プロセッサが、前記第1の処理が呼び出す前記実行処理に新たな処理を追加する指示と、前記第1の処理が前記新たな処理を呼び出す順序と、入力項目の指示とを、前記入出力インタフェースを介して受け付ける手順と、
前記プロセッサが、前記新たな処理が実行する処理を示すテンプレートとして、前記第2のテンプレートを読み出す手順と、
前記プロセッサが、前記受け付けた指示が示す入力項目が前記複数の第1の入力項目に含まれる場合、前記複数の第1の入力項目に含まれる前記受け付けた指示が示す入力項目の数だけ、前記読み出した第2のテンプレートを複製する手順と、
前記プロセッサが、前記複製した第2のテンプレートにおける前記第1の設定箇所に、前記受け付けた指示が示す入力項目を設定した結果を第2のプログラムとして出力する手順と、
前記プロセッサが、前記複数の第1の入力項目の数だけ、前記第1のテンプレートを複製する手順と、
前記プロセッサが、前記複製した第1のテンプレートにおける前記第1の設定箇所に、前記第1の入力項目の各々を設定する手順と、
前記プロセッサが、前記受け付けた新たな処理を呼び出す順序に従って、前記受け付けた指示が示す入力項目を設定した第1のテンプレートが前記第2のプログラムを呼び出すように、前記受け付けた指示が示す入力項目を設定した第1のテンプレートを更新する手順と、
前記プロセッサが、前記更新した後、前記第1の入力項目を設定した第1のテンプレートを第1のプログラムとして出力する手順と、を含むことを特徴とするプログラム生成方法。
A program generating method by a program generating apparatus for generating a program for realizing business processing, comprising:
The program generation device includes a processor, a memory, and an input / output interface.
The memory includes a first template indicating an order in which a first process calls an execution process, a second template that embodies the execution process, a first template in the first template, and a first in the second template. Holding input item information indicating a plurality of first input items set in the setting location;
An instruction to add a new process to the execution process called by the first process, an order in which the first process calls the new process, and an instruction of an input item; Procedure to accept via
A procedure in which the processor reads the second template as a template indicating processing executed by the new processing;
When the processor indicates that the input items indicated by the received instruction are included in the plurality of first input items, the number of input items indicated by the received instruction included in the plurality of first input items is the same. A procedure for duplicating the read second template;
A procedure for outputting, as a second program, a result of setting an input item indicated by the received instruction at the first setting location in the copied second template;
A step of the processor duplicating the first template by the number of the plurality of first input items;
A procedure in which the processor sets each of the first input items at the first setting place in the copied first template;
The input item indicated by the received instruction is set so that the first template in which the input item indicated by the received instruction is set calls the second program according to the order in which the processor calls the received new process. Procedure for updating the set first template,
A program generating method comprising the steps of: outputting, as the first program, the first template in which the processor sets the first input item after the updating.
請求項7に記載のプログラム生成方法であって、
前記メモリは、前記第1のテンプレートが示す順序に前記実行処理の呼出し処理を挿入する、挿入箇所の候補を示す箇所情報を保持し、
前記プロセッサが、前記入出力インタフェースを介して、前記箇所情報を出力する手順と、
前記プロセッサが、前記箇所情報から選択された挿入箇所の候補を、前記入出力インタフェースを介して受け付けることによって、前記第1の処理が新たな処理を呼び出す順番を受け付ける手順と、を含むことを特徴とするプログラム生成方法。
The program generation method according to claim 7, wherein
The memory holds location information indicating candidates for insertion locations for inserting the calling process of the execution process in the order indicated by the first template;
A procedure in which the processor outputs the location information via the input / output interface;
The processor includes a procedure for accepting an order of calling a new process by the first process by accepting, through the input / output interface, a candidate for an insertion point selected from the place information. How to create a program.
請求項7に記載のプログラム生成方法であって、
前記入力項目情報は、前記複数の第1の入力項目と異なる一つの第2の入力項目を示し、
前記第2のテンプレートは、前記第2の入力項目を設定する第2の設定箇所を含み、
前記プロセッサが、前記受け付けた指示が示す入力項目に前記第2の入力項目が含まれる場合、前記複製した第2のテンプレートにおける前記第1の設定箇所及び前記第2の設定箇所に前記受け付けた指示が示す入力項目を設定した結果を、前記第2のプログラムとして出力する手順を含むことを特徴とするプログラム生成方法。
The program generation method according to claim 7, wherein
The input item information indicates one second input item different from the plurality of first input items;
The second template includes a second setting place for setting the second input item,
When the processor includes the second input item in the input item indicated by the received instruction, the instruction received in the first setting place and the second setting place in the copied second template A program generating method comprising: a step of outputting the result of setting the input item indicated by as the second program.
請求項9に記載のプログラム生成方法であって、
前記プロセッサが、前記入出力インタフェースを介して、前記入力項目情報を出力する手順と、
前記プロセッサが、前記入力項目情報から選択された第1の入力項目の少なくとも一つ、及び、前記第2の入力項目を、前記入出力インタフェースを介して受け付ける手順と、を含むことを特徴とするプログラム生成方法。
The program generation method according to claim 9,
A procedure in which the processor outputs the input item information via the input / output interface;
The processor includes a step of receiving at least one of a first input item selected from the input item information and the second input item via the input / output interface. Program generation method.
請求項7に記載のプログラム生成方法であって、
前記第2のテンプレートは、プログラムの動作を特徴づけるパラメータが設定される設定箇所を示す情報を含み、
前記プロセッサが、前記入出力インタフェースを介して、前記パラメータを受け付ける手順と、
前記プロセッサが、前記受け付けたパラメータを、前記複製した第2のテンプレートに設定する手順と、を含むことを特徴とするプログラム生成方法。
The program generation method according to claim 7, wherein
The second template includes information indicating setting locations where parameters characterizing the operation of the program are set,
A procedure in which the processor receives the parameter via the input / output interface;
A procedure of setting the received parameter in the copied second template by the processor.
請求項7に記載のプログラム生成方法であって、
前記メモリは、第2の処理が前記第1の処理を含む複数の処理を呼び出す順序を示す第3のテンプレートを保持し、
前記プロセッサが、前記第1の処理が呼び出す処理に新たな処理を追加する指示を受け付けた場合、前記第3のテンプレートを第3のプログラムとして出力する手順を含むことを特徴とするプログラム生成方法。
The program generation method according to claim 7, wherein
The memory holds a third template indicating an order in which a second process calls a plurality of processes including the first process,
A program generating method comprising: a step of outputting the third template as a third program when the processor receives an instruction to add a new process to the process called by the first process.
JP2015002474A 2015-01-08 2015-01-08 Program generation apparatus and program generation method Active JP6422346B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015002474A JP6422346B2 (en) 2015-01-08 2015-01-08 Program generation apparatus and program generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015002474A JP6422346B2 (en) 2015-01-08 2015-01-08 Program generation apparatus and program generation method

Publications (2)

Publication Number Publication Date
JP2016126721A JP2016126721A (en) 2016-07-11
JP6422346B2 true JP6422346B2 (en) 2018-11-14

Family

ID=56359579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015002474A Active JP6422346B2 (en) 2015-01-08 2015-01-08 Program generation apparatus and program generation method

Country Status (1)

Country Link
JP (1) JP6422346B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6458113B1 (en) * 2017-10-13 2019-01-23 ソフトブレーン株式会社 Environment setting system, business system environment setting method, and program
JP7334617B2 (en) 2019-12-27 2023-08-29 オムロン株式会社 Program execution device, program execution method and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175329A (en) * 1997-12-08 1999-07-02 Hitachi Ltd Application linking method and device therefor
JP2001216143A (en) * 2000-02-02 2001-08-10 Hitachi Ltd Cooperation method for integrating application
JP2002049493A (en) * 2000-08-04 2002-02-15 Hitachi Ltd Method and system for generating program control information, and recording medium stored with processing program therefor
JP2002091780A (en) * 2000-09-12 2002-03-29 Nec Corp System and method for processing transaction
JP5048537B2 (en) * 2008-01-29 2012-10-17 株式会社野村総合研究所 Workflow processing device
JP5401279B2 (en) * 2009-11-26 2014-01-29 株式会社日立製作所 Check rule design support method, check rule design support system, and check rule design support program
JP5691516B2 (en) * 2010-12-28 2015-04-01 富士通株式会社 Screen information providing program and screen information providing method

Also Published As

Publication number Publication date
JP2016126721A (en) 2016-07-11

Similar Documents

Publication Publication Date Title
AU2018272840B2 (en) Automated dependency analyzer for heterogeneously programmed data processing system
US20200356901A1 (en) Target variable distribution-based acceptance of machine learning test data sets
US11269660B2 (en) Methods and systems for integrated development environment editor support with a single code base
EP3539022B1 (en) Systems and methods for determining relationships among data elements
JP5939123B2 (en) Execution control program, execution control method, and information processing apparatus
US20120191430A1 (en) Design Assistant Tool
US11442906B2 (en) Managing custom attributes for domain objects defined within microservices
JP6422346B2 (en) Program generation apparatus and program generation method
US20130006683A1 (en) System and method of managing testing for a healthcare systems transition
US20150317297A1 (en) System and method for managing data and data models
JP7033609B2 (en) User interface and runtime environment for process definition and process execution tracking
US11775348B2 (en) Managing custom workflows for domain objects defined within microservices
JP6016735B2 (en) Business processing system, business-related processing generation method, and program
JP6802109B2 (en) Software specification analyzer and software specification analysis method
JP2017151594A (en) Supporting device, supporting method, and program
JP2014059666A (en) Task input screen customization system
JP2019016234A (en) Sales management device, sales management method, and sales management program
JP7201474B2 (en) Journal data generation device, journal data generation method and journal data generation program
JP7183034B2 (en) Unit price management device, unit price management method, and unit price management program
JP2023094380A (en) Matching system, matching method and program
JP6400191B2 (en) Instruction set generation that implements rules designed to update specified objects according to the application data model
US20210004531A1 (en) Control device, control method and control program
US20190258705A1 (en) Applying Matching Data Transformation Information Based on a User&#39;s Editing of Data within a Document
CN115576556A (en) element-UI-based paging method, system, device and storage medium
CN115344587A (en) Data processing method, device, equipment and medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180814

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180918

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181016

R150 Certificate of patent or registration of utility model

Ref document number: 6422346

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150