JP2017182662A - Program creation system - Google Patents

Program creation system Download PDF

Info

Publication number
JP2017182662A
JP2017182662A JP2016072409A JP2016072409A JP2017182662A JP 2017182662 A JP2017182662 A JP 2017182662A JP 2016072409 A JP2016072409 A JP 2016072409A JP 2016072409 A JP2016072409 A JP 2016072409A JP 2017182662 A JP2017182662 A JP 2017182662A
Authority
JP
Japan
Prior art keywords
program
database
data
test
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016072409A
Other languages
Japanese (ja)
Other versions
JP6662153B2 (en
Inventor
浩治 飯岡
Koji Iioka
浩治 飯岡
佳宏 池上
Yoshihiro Ikegami
佳宏 池上
譲 平宮
Yuzuru Hiramiya
譲 平宮
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2016072409A priority Critical patent/JP6662153B2/en
Publication of JP2017182662A publication Critical patent/JP2017182662A/en
Application granted granted Critical
Publication of JP6662153B2 publication Critical patent/JP6662153B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a program creation system capable of easily utilizing data which is stored in a test database.SOLUTION: A program creation/execution system 100 includes: a first storage area 251 that stores an execution database 400; a second storage area 252 that stores a test database 300 which is accessed when an incomplete program is tested; and a first duplication processing unit 281. The first duplication processing unit 281 makes a creator select part of data which is input at the time of testing and is stored in the test database 300, copies the selected data, and stores the same in the execution database 400.SELECTED DRAWING: Figure 1

Description

本発明は、プログラム作成システム、特に、データベースにアクセスするプログラムを作成するためのシステムに関する。   The present invention relates to a program creation system, and more particularly to a system for creating a program that accesses a database.

近年、企業等における情報化が進み、例えば社内の各種データをデータベースに格納し、人事、経理、製品開発管理、品質管理、顧客管理、設備管理、文書管理など、多用な業務に活用することが行われている。例えば、特許文献1(特開2012−216000号公報)には、電子文書共有システムが開示されている。この電子文章共有システムでは、エンドユーザー(社員)がデータベースに格納された電子文書の情報の検索を行うことができ、且つ、エンドユーザーに対して電子文書の各項目の閲覧や編集の操作に制限をかけることができ、検索結果を含むエンドユーザーのアクセス制限が可能である。   In recent years, informatization in companies has progressed, for example, various internal data can be stored in a database and used for various tasks such as personnel, accounting, product development management, quality management, customer management, facility management, document management, etc. Has been done. For example, Patent Document 1 (Japanese Patent Laid-Open No. 2012-216000) discloses an electronic document sharing system. In this electronic text sharing system, end users (employees) can search the information of electronic documents stored in the database, and the end users are limited to browsing and editing electronic document items. It is possible to limit the access of end users including search results.

上述のような電子文書共有システムに係るプログラムや、その他のデータベースを活用するためのプログラムは、通常、コンピュータであるサーバーのCPUによって実行される。企業内の現実の各種データが格納されたデータベースを使うプログラムは、プログラム作成システムを用いて開発、作成されることが多い。そして、作成中のプログラムは、テスト環境において各種のテストを受ける。   Programs related to the electronic document sharing system as described above and programs for utilizing other databases are usually executed by a CPU of a server which is a computer. A program that uses a database that stores various actual data in a company is often developed and created using a program creation system. The program being created undergoes various tests in a test environment.

このテスト環境において、現実の各種データが格納されたデータベース(以下、実施用データベースと言う。)を使うと、未完成のプログラムが予期せぬ処理を実行してしまい、不具合が生じることがある。例えば、現実の社員や顧客のメールアドレスを含む実施用データベースを使って作成中のプログラムをテストした場合、不要なメールが誤って配信されて社員や顧客に届いてしまう恐れがある。このため、プログラム作成システムでは、実施用データベースとは別に、試験用データベースを用意することが多い。この試験用データベースを使って、アプリケーション・ソフトウェア等のプログラムを作成する者は、例えば、操作画面における操作と試験用データベース内の各情報の入出力との関係を確認するテストを行う。   In this test environment, if a database storing various actual data (hereinafter referred to as an implementation database) is used, an unfinished program may execute an unexpected process and cause a problem. For example, when a program being created is tested using a database for implementation that includes actual employee and customer email addresses, unnecessary emails may be delivered by mistake and delivered to employees and customers. For this reason, a program creation system often prepares a test database separately from the implementation database. A person who creates a program such as application software using the test database performs a test for confirming the relationship between the operation on the operation screen and the input / output of each information in the test database, for example.

そして、最近では、作成中のプログラムをテストする過程において、実施用データベースには含まれていない新しいデータを、試験用データベースに入力、格納することが多くなっている。テスト環境において入力され試験用データベースに格納された新しいデータの中には、テストを終えて完成したプログラムを企業内の実際の環境において実行するときに、実施用データベースにも必要となるデータが存在する。   Recently, in the process of testing a program being created, new data that is not included in the implementation database is often input and stored in the test database. Among the new data entered in the test environment and stored in the test database, there is data that is also required in the implementation database when the completed program is executed in the actual environment in the company. To do.

しかし、従来のプログラム作成システムでは、実施用データベースを用いる実際の環境と、試験用データベースを用いるテスト環境とを区別しており、テスト環境で入力した試験用データベース内のデータを実際の環境で流用する場合には、手作業が必要となっている。   However, in the conventional program creation system, the actual environment using the implementation database is distinguished from the test environment using the test database, and the data in the test database input in the test environment is diverted in the actual environment. In some cases, manual work is required.

本発明の課題は、試験用データベースに格納されたデータを容易に活用することができるプログラム作成システムを提供することにある。   An object of the present invention is to provide a program creation system that can easily use data stored in a test database.

本発明の第1観点に係るプログラム作成システムは、実施用データベースを記憶するための第1記憶部と、その実施用データベースとは別の試験用データベースを記憶するための第2記憶部と、第1データ複製処理部とを備えている。実施用データベースは、完成されたプログラムをプログラムのユーザーが実施するときに、そのプログラムによってアクセスされるデータベースである。試験用データベースは、未完成プログラムを試験するときにアクセスされるデータベースである。未完成プログラムは、プログラムを作成する作成者が作成している途中のプログラムである。第1データ複製処理部は、試験用データベースに格納されたデータから、一部のデータを作成者に選択させ、選択されたデータをコピーして実施用データベースに格納する。試験用データベースに格納されたデータは、未完成プログラムを試験しているときに、プログラムの作成者によって入力されたデータである。   A program creation system according to a first aspect of the present invention includes a first storage unit for storing an implementation database, a second storage unit for storing a test database different from the implementation database, 1 data replication processing unit. The implementation database is a database that is accessed by a program when the user of the program executes the completed program. The test database is a database accessed when testing an incomplete program. An incomplete program is a program that is being created by a creator who creates the program. The first data replication processing unit causes the creator to select some data from the data stored in the test database, and copies the selected data and stores it in the implementation database. The data stored in the test database is data input by the program creator when testing an incomplete program.

第1観点に係るプログラム作成システムでは、プログラムの作成中は、試験用データベースを使って未完成プログラムをテストし、完成されたプログラムが実施されるときには、実施用データベースが用いられる。そして、試験において入力され試験用データベースに格納されたデータの一部は、プログラムの作成者が選択することによって、コピーされて実施用データベースに格納される。この、作成者にデータの一部を選択させる処理と、選択されたデータを実施用データベースに格納する処理とは、第1データ複製処理部が行う。   In the program creation system according to the first aspect, during the creation of a program, an incomplete program is tested using the test database, and when the completed program is executed, the execution database is used. A part of the data input in the test and stored in the test database is copied and stored in the implementation database by the program creator selecting. The first data replication processing unit performs the process of causing the creator to select a part of the data and the process of storing the selected data in the implementation database.

ここでは、第1データ複製処理部を設け、上記の2つの処理を行わせる構成を採ったので、プログラムの作成者が試験用データベース内のデータの一部を選択するだけで、それが実施用データベースに反映される。このように、第1観点に係るプログラム作成システムでは、試験用データベースに格納されたデータを容易に活用することができる。   In this case, since the first data replication processing unit is provided and the above two processes are performed, the program creator simply selects a part of the data in the test database. Reflected in the database. Thus, in the program creation system according to the first aspect, the data stored in the test database can be easily utilized.

本発明の第2観点に係るプログラム作成システムは、第1観点に係るプログラム作成システムであって、第2データ複製処理部をさらに備えている。第2データ複製処理部は、実施用データベースに格納されているデータから、一部のデータを作成者に選択させ、選択されたデータをコピーして試験用データベースに格納する。   A program creation system according to a second aspect of the present invention is the program creation system according to the first aspect, and further includes a second data replication processing unit. The second data replication processing unit causes the creator to select some data from the data stored in the implementation database, and copies the selected data and stores it in the test database.

第2観点に係るプログラム作成システムでは、第1データ複製処理部に加え、第2データ複製処理部を備えるため、プログラムの作成者が試験用データベース内あるいは実施用データベース内のデータの一部を選択するだけで、それが他方のデータベースに反映される。すなわち、プログラムの作成者が試験用データベース内あるいは実施用データベース内のデータの一部を選択することで、試験用データベース・実施用データベースの間で相互にデータのコピーの処理が行われる。したがって、試験用データベースに格納されたデータの活用も、実施用データベースに格納されているデータの活用も、容易になる。   Since the program creation system according to the second aspect includes the second data replication processing unit in addition to the first data replication processing unit, the program creator selects a part of the data in the test database or the implementation database. Just do it and it will be reflected in the other database. That is, when the program creator selects a part of the data in the test database or the execution database, data copy processing is performed between the test database and the execution database. Therefore, utilization of data stored in the test database and utilization of data stored in the implementation database are facilitated.

本発明の第3観点に係るプログラム作成システムは、第1観点又は第2観点に係るプログラム作成システムであって、データベース生成部をさらに備えている。データベース生成部は、プログラムの作成開始時に、実施用データベースと試験用データベースとを同時に生成する。   A program creation system according to a third aspect of the present invention is the program creation system according to the first aspect or the second aspect, and further includes a database generation unit. The database generation unit simultaneously generates an implementation database and a test database at the start of program creation.

第3観点に係るプログラム作成システムでは、データベースを用いるプログラムの作成開始時に、完成されたプログラムがアクセスする実施用データベースも、未完成プログラムがアクセスする試験用データベースも生成される。このため、プログラムの作成者は、第1データ複製処理部の機能を使う前に自ら手動で実施用データベースを作ったり、作成開始時に実施用データベースを手動でコピーして試験用データベースを作ったりする煩雑な作業を行う必要がない。   In the program creation system according to the third aspect, at the start of creation of a program using a database, an implementation database accessed by a completed program and a test database accessed by an incomplete program are generated. Therefore, the program creator manually creates an implementation database before using the function of the first data replication processing unit, or manually copies the implementation database at the start of creation to create a test database. There is no need to perform complicated work.

本発明の第4観点に係るプログラム作成システムは、第1観点〜第3観点のいずれかに係るプログラム作成システムであって、試験用データベースは、データテーブルの試験用ファイルを有している。そして、第1データ複製処理部は、試験用ファイルの中の一部のデータを作成者に選択させ、選択されたデータをコピーして実施用データベースに格納する。   A program creation system according to a fourth aspect of the present invention is the program creation system according to any one of the first aspect to the third aspect, and the test database has a test file of a data table. Then, the first data replication processing unit causes the creator to select a part of the data in the test file, and copies the selected data and stores it in the implementation database.

第4観点に係るプログラム作成システムでは、手動ではコピー等の作業が繁雑な試験用ファイルの中の一部のデータを、選択によって実施用データベースにコピー、格納することができる。   In the program creation system according to the fourth aspect, a part of the data in the test file that is complicated to copy manually can be copied and stored in the implementation database by selection.

本発明の第5観点に係るプログラム作成システムは、第2観点に係るプログラム作成システムであって、実施用データベースは、データテーブルの実施用ファイルを有している。そして、第2データ複製処理部は、実施用ファイルの中の一部のデータを作成者に選択させ、選択されたデータをコピーして試験用データベースに格納する。   A program creation system according to a fifth aspect of the present invention is the program creation system according to the second aspect, and the implementation database has an implementation file for a data table. Then, the second data replication processing unit causes the creator to select a part of the data in the implementation file, and copies the selected data and stores it in the test database.

第5観点に係るプログラム作成システムでは、手動ではコピー等の作業が繁雑な実施用ファイルの中の一部のデータを、選択によって試験用データベースにコピー、格納することができる。   In the program creation system according to the fifth aspect, it is possible to copy and store a part of the data in the implementation file that is complicated to copy manually into the test database by selection.

第1観点に係るプログラム作成システムによれば、プログラムの作成者が試験用データベース内のデータの一部を選択するだけで、それが実施用データベースに反映される。これにより、第1観点に係るプログラム作成システムでは、容易に試験用データベースに格納されたデータを活用することができる。   According to the program creation system according to the first aspect, the program creator simply selects a part of the data in the test database, and this is reflected in the implementation database. Thereby, in the program creation system which concerns on a 1st viewpoint, the data stored in the test database can be utilized easily.

本発明の第2観点に係るプログラム作成システムによれば、プログラムの作成者が試験用データベース内あるいは実施用データベース内のデータの一部を選択することで、試験用データベース・実施用データベースの間で相互にデータのコピーの処理が行われる。したがって、試験用データベースに格納されたデータの活用も、実施用データベースに格納されているデータの活用も容易になる。   According to the program creation system according to the second aspect of the present invention, the program creator selects a part of the data in the test database or the implementation database, so that the test database and the implementation database are selected. Data copy processing is performed mutually. Therefore, it is easy to use the data stored in the test database and the data stored in the implementation database.

本発明の第3観点に係るプログラム作成システムによれば、プログラムの作成者は、自ら手動で実施用データベースを作ったり、実施用データベースを手動でコピーして試験用データベースを作ったりする煩雑な作業を行う必要がない。   According to the program creation system according to the third aspect of the present invention, the program creator manually creates the implementation database manually or manually copies the implementation database to create the test database. There is no need to do.

本発明の第4観点に係るプログラム作成システムによれば、手動ではコピー等の作業が繁雑な試験用ファイルの中の一部のデータを、選択によって実施用データベースにコピー、格納することができる。   According to the program creation system of the fourth aspect of the present invention, a part of the data in the test file that is complicated to copy manually can be copied and stored in the implementation database by selection.

本発明の第5観点に係るプログラム作成システムによれば、手動ではコピー等の作業が繁雑な実施用ファイルの中の一部のデータを、選択によって試験用データベースにコピー、格納することができる。   According to the program creation system of the fifth aspect of the present invention, a part of the data in the implementation file that is complicated to copy manually can be copied and stored in the test database by selection.

本発明の一実施形態に係るプログラム作成・実施システムのブロック図である。1 is a block diagram of a program creation / execution system according to an embodiment of the present invention. サーバーの出力部が、クライアント端末の表示部に表示させる操作画面および履歴画面の一例である。It is an example of the operation screen and history screen which the output part of a server displays on the display part of a client terminal. データテーブルの一例を示す図である。It is a figure which shows an example of a data table. プログラム作成・実施システムによるプログラム作成のフローを示す図である。It is a figure which shows the flow of the program creation by a program creation and implementation system.

本発明の一実施形態に係るプログラム作成・実施システム100について、図面を参照しながら説明する。なお、以下の説明は、本発明に係るプログラム作成システムの1つの例に過ぎず、本発明の要旨を変更しない範囲で適宜変更可能である。   A program creation / execution system 100 according to an embodiment of the present invention will be described with reference to the drawings. The following description is only one example of the program creation system according to the present invention, and can be appropriately changed without changing the gist of the present invention.

(1)全体概要
本実施形態のプログラム作成・実施システム100は、データベースに情報を登録し、登録された情報を活用するプログラム(アプリケーション・ソフトウェア)を作成するために用いられる。また、プログラム作成・実施システム100は、作成されたプログラムを、作成中のテスト環境ではなく、実際の運用環境で実行させて実施状態にするためのシステムでもある。
(1) Overall Overview The program creation / execution system 100 of this embodiment is used to register information in a database and create a program (application software) that utilizes the registered information. The program creation / execution system 100 is also a system for executing the created program in the actual operating environment, not in the test environment being created, to put it into an implementation state.

本実施形態では、プログラム作成・実施システム100により作成されるプログラムとして、顧客管理用のプログラムの作成を例にとって説明する。但し、上述のように、プログラム作成・実施システム100により生成されるプログラムは、顧客管理用のプログラムに限定されるものではなく、社員管理や文書管理、製品開発案件の管理など、他の用途に用いられるプログラムであってもよい。プログラム作成・実施システム100では、多種多様のプログラムの作成が可能である。   In the present embodiment, as a program created by the program creation / execution system 100, creation of a customer management program will be described as an example. However, as described above, the program generated by the program creation / execution system 100 is not limited to the customer management program, but may be used for other purposes such as employee management, document management, and product development project management. It may be a program used. The program creation / execution system 100 can create a wide variety of programs.

本実施形態のプログラム作成・実施システム100は、プログラム作成者が、ノンプログラミング環境で、プログラムを作成することを可能とするシステムである。言い換えれば、プログラム作成・実施システム100は、プログラム作成者が、コーディングを行うことなく、プログラムを作成することを可能とするシステムである。コーディングとは、プログラミング言語を用いて、コンピュータが処理可能な形式のプログラムを記述することをいう。プログラム作成・実施システム100では、GUI(Graphical User Interface)の操作により、予め準備されたブログラム部品(プログラムパターン)を組み合わせて、SQL(Structured Query Language)等のプログラム言語で記述されたプログラムを生成する。例えば、プログラム作成・実施システム100では、プログラム作成者は、プログラム作成用画面において、予め準備されたブログラム部品を、ドラッグ・アンド・ドロップ等のマウス操作で並べて配置することで、所望の処理を実行するプログラムを生成する。   The program creation / execution system 100 according to the present embodiment is a system that allows a program creator to create a program in a non-programming environment. In other words, the program creation / execution system 100 is a system that allows a program creator to create a program without coding. Coding refers to describing a program that can be processed by a computer using a programming language. The program creation / execution system 100 generates a program described in a program language such as SQL (Structured Query Language) by combining program parts (program patterns) prepared in advance by operating a GUI (Graphical User Interface). To do. For example, in the program creation / execution system 100, the program creator arranges program parts prepared in advance on the screen for program creation by arranging them by a mouse operation such as drag and drop, thereby performing a desired process. Generate a program to be executed.

なお、作成されるプログラムの言語は、SQLに限定されるものではない。また、ここでのノンプログラミング環境とは、プログラム作成者が全くコーディングを行わない環境に限定されるものではない。プログラム作成者は、プログラム作成・実施システム100を用いてプログラムを生成する際に、コーディングにより少なくともプログラムの一部を作成してもよい。   Note that the language of the program to be created is not limited to SQL. Further, the non-programming environment here is not limited to an environment in which the program creator does not code at all. When creating a program using the program creation / execution system 100, the program creator may create at least a part of the program by coding.

図1は、プログラム作成・実施システム100の物理的構成を示すブロック図である。プログラム作成・実施システム100は、主にサーバー200を有する。   FIG. 1 is a block diagram showing a physical configuration of the program creation / execution system 100. The program creation / execution system 100 mainly includes a server 200.

サーバー200は、CPU201、出力部210、受付部220、入力部230、表示部240、揮発性メモリおよび不揮発性メモリを含む記憶部250、通信部(図示せず)などから構成されているコンピュータである。記憶部250に保存されているプログラム作成支援用のソフトウェアが実行されると、サーバー200のCPU201は、プログラム作成機能を提供するための制御部となる。制御部となったCPU201は、プログラム作成支援部260、データ複製部280などの機能部として働く。   The server 200 is a computer including a CPU 201, an output unit 210, a reception unit 220, an input unit 230, a display unit 240, a storage unit 250 including a volatile memory and a non-volatile memory, a communication unit (not shown), and the like. is there. When the program creation support software stored in the storage unit 250 is executed, the CPU 201 of the server 200 becomes a control unit for providing a program creation function. The CPU 201 serving as the control unit functions as functional units such as a program creation support unit 260 and a data replication unit 280.

なお、サーバー200は、プログラム作成支援用のソフトウェアではなく、記憶部250に保存されている他のプログラム(本実施形態のプログラム作成・実施システム100により作成される顧客管理用のプログラムを含む)が実行された場合には、そのCPU201が他のプログラムによる処理を行うための各機能部として働く。これにより、上述のように、作成されたプログラムを実際の運用環境で実行させ実施状態にすることができる。例えば顧客管理用プログラムを実行させて実施状態にすれば、プログラム作成・実施システム100は、顧客管理システムとしての機能を果たすことになる。   Note that the server 200 is not software for supporting program creation, but other programs stored in the storage unit 250 (including programs for customer management created by the program creation / implementation system 100 of the present embodiment). When executed, the CPU 201 functions as each functional unit for performing processing by other programs. Thereby, as described above, the created program can be executed in an actual operating environment and put into an implementation state. For example, if the customer management program is executed and put into an implementation state, the program creation / execution system 100 functions as a customer management system.

サーバー200は、プログラムの開発、作成を行う者(以下、プログラム作成者と言う。)が用いるクライアント端末10A,10B,10Cと接続されている。プログラム作成者は、クライアント端末10A,10B,10Cから、ネットワーク50を介してプログラム作成・実施システム100を利用し、プログラムの作成を行う。なお、図1では、プログラム作成・実施システム100が3台のクライアント端末10A,10B,10Cとネットワーク50を介して接続されているが、クライアント端末の台数は例示に過ぎず、これに限定されるものではない。   The server 200 is connected to client terminals 10A, 10B, and 10C used by a person who develops and creates a program (hereinafter referred to as a program creator). The program creator uses the program creation / execution system 100 via the network 50 from the client terminals 10A, 10B, and 10C to create a program. In FIG. 1, the program creation / execution system 100 is connected to the three client terminals 10A, 10B, and 10C via the network 50, but the number of client terminals is merely an example and is limited to this. It is not a thing.

なお、サーバー200が上述のように顧客管理用プログラムを実行させて実施状態にすれば、クライアント端末10A,10B,10Cは、顧客管理システムとして機能するプログラム作成・実施システム100を使うエンドユーザーが検索や入出力を行う端末として利用されることになる。   If the server 200 executes the customer management program as described above and puts it into the implementation state, the client terminals 10A, 10B, and 10C are searched by the end user who uses the program creation / execution system 100 that functions as the customer management system. And will be used as a terminal for input / output.

本実施形態では、ネットワーク50は、インターネットである。ただし、ネットワーク50は、インターネットに限定されるものではない。ネットワーク50は、LAN(Local Area Network)や、イントラネット等であってもよい。   In the present embodiment, the network 50 is the Internet. However, the network 50 is not limited to the Internet. The network 50 may be a LAN (Local Area Network), an intranet, or the like.

(2)詳細説明
(2−1)クライアント端末
プログラム作成時において、クライアント端末10A,10B,10Cは、サーバー200からプログラム作成支援機能の提供を受けるコンピュータである。
(2) Detailed Description (2-1) Client Terminal At the time of program creation, the client terminals 10A, 10B, and 10C are computers that receive provision of a program creation support function from the server 200.

クライアント端末10A,10B,10Cは、例えば、一般的なパーソナルコンピュータである。クライアント端末10A,10B,10Cは、例えば、図示しないCPU(Central Processing Unit)、メモリ等の記憶部、通信部などを有する。また、クライアント端末10A,10B,10Cは、それぞれ、キーボード、マウス、タッチパネル等の入力部20A,20B,20Cを有する。さらに、クライアント端末10A,10B,10Cは、ディスプレイ等の表示部30A,30B,30Cを有する。記憶部のプログラムが読みだされ実行されると、クライアント端末10A,10B,10CのCPUが各種処理を実行する。   The client terminals 10A, 10B, and 10C are, for example, general personal computers. The client terminals 10A, 10B, and 10C include, for example, a CPU (Central Processing Unit) (not shown), a storage unit such as a memory, a communication unit, and the like. The client terminals 10A, 10B, and 10C have input units 20A, 20B, and 20C such as a keyboard, a mouse, and a touch panel, respectively. Furthermore, the client terminals 10A, 10B, and 10C include display units 30A, 30B, and 30C such as displays. When the program in the storage unit is read and executed, the CPUs of the client terminals 10A, 10B, and 10C execute various processes.

なお、クライアント端末10A,10B,10Cは、全て同様に構成されている。このため、クライアント端末10Aについてのみ(クライアント端末10Aの入力部20Aおよび表示部30Aについてのみ)以下で説明し、他のクライアント端末10B,10Cについての説明は省略する。   The client terminals 10A, 10B, and 10C are all configured similarly. For this reason, only the client terminal 10A (only the input unit 20A and the display unit 30A of the client terminal 10A) will be described below, and descriptions of the other client terminals 10B and 10C will be omitted.

(2−1−1)入力部
入力部20Aは、プログラム作成者やエンドユーザー(作成された顧客管理用のアプリケーションプログラムの利用者)が、後述する表示部30Aに表示される操作画面に対して操作を行う際に用いる入力装置である。
(2-1-1) Input unit The input unit 20A is used for an operation screen displayed on the display unit 30A described later by a program creator or an end user (a user of the created application program for customer management). It is an input device used when operating.

表示部30Aに表示される操作画面において入力部20Aから行われる操作は、後述するサーバー200の試験用データベース300のデータテーブル310−350の情報を変更するための所定操作を含む。また、入力部20Aから行われる操作は、後述する図4のステップS11,S16,S17におけるプログラム作成者による回答入力や選択入力の操作を含む。   The operation performed from the input unit 20A on the operation screen displayed on the display unit 30A includes a predetermined operation for changing information in the data tables 310 to 350 of the test database 300 of the server 200 described later. Further, the operations performed from the input unit 20A include operations of answer input and selection input by the program creator in steps S11, S16, and S17 of FIG.

入力部20Aを用いた、表示部30Aに表示される操作画面における操作は、ネットワーク50を介して、後述するサーバー200の受付部220により受け付けられる。   An operation on the operation screen displayed on the display unit 30A using the input unit 20A is received by the receiving unit 220 of the server 200 described later via the network 50.

(2−1−2)表示部
表示部30Aは、プログラム作成者やエンドユーザーに対して各種情報を提示するため、各種画面を表示する。
(2-1-2) Display Unit The display unit 30A displays various screens in order to present various information to the program creator and the end user.

ここでは、プログラム作成者がプログラム作成・実施システム100を用いて作成したプログラムのテストを行う際に表示部30Aに表示される表示内容について説明する。特に、ここでは、所定操作をその画面上で行うとサーバー200の試験用データベース300のデータテーブル310−350の情報が変更される操作画面において、所定操作を行った場合のプログラムの動作確認テストが実施される時に、表示部30Aに表示される表示内容について説明する。   Here, the display content displayed on the display unit 30A when the program creator tests a program created using the program creation / execution system 100 will be described. In particular, here, when a predetermined operation is performed on the screen, the operation check test of the program when the predetermined operation is performed on the operation screen in which the information in the data tables 310 to 350 of the test database 300 of the server 200 is changed. The contents displayed on the display unit 30A when implemented will be described.

動作確認テストの際、表示部30Aには、操作画面32A、第1履歴画面34A、第2履歴画面36Aが表示される(図2参照)。操作画面32A、第1履歴画面34A、第2履歴画面36Aは、表示部30Aに同時に表示させられる。操作画面32A、第1履歴画面34A、第2履歴画面36Aは、後述するサーバー200の出力部210が表示部30Aに表示させる画面である。つまり、表示部30Aは、動作確認テストの際、操作画面32A、第1履歴画面34A、および第2履歴画面36Aを同時に表示するよう、サーバー200の出力部210により表示内容が制御される。   During the operation check test, an operation screen 32A, a first history screen 34A, and a second history screen 36A are displayed on the display unit 30A (see FIG. 2). The operation screen 32A, the first history screen 34A, and the second history screen 36A are simultaneously displayed on the display unit 30A. The operation screen 32A, the first history screen 34A, and the second history screen 36A are screens that the output unit 210 of the server 200 described later displays on the display unit 30A. That is, the display unit 30A controls the display contents by the output unit 210 of the server 200 so that the operation screen 32A, the first history screen 34A, and the second history screen 36A are displayed simultaneously during the operation check test.

以下、各画面32A、34A、36Aについて、図2を用いて説明する。   Hereinafter, each of the screens 32A, 34A, and 36A will be described with reference to FIG.

(2−1−2−1)操作画面
図2には、後述するサーバー200の試験用データベース300に存在する顧客マスタという名前のデータテーブルに新規情報を登録するための操作画面32A、が描画されている。操作画面32Aは、プログラムが完成した際には、完成したプログラムのエンドユーザーが実際に利用する画面である。
(2-1-2-1) Operation Screen FIG. 2 shows an operation screen 32A for registering new information in a data table named customer master existing in the test database 300 of the server 200 described later. ing. The operation screen 32A is a screen that is actually used by the end user of the completed program when the program is completed.

操作画面32Aは、データテーブルの情報に関する操作画面の一例である。操作画面32Aにおいて、表示されるテキストボックスに入力部20Aの一例であるキーボードから顧客ナンバー、顧客名、電話番号、担当者を入力し、表示される「保存」ボタンを入力部20Aの一例であるマウスによりクリックするという操作を行うことができる。操作画面32Aにおいてこのような所定操作が行われると、操作画面32Aのテキストボックスに入力された情報を顧客マスタという名前のデータテーブルに新たに登録する処理が行われるように、操作画面32Aは作成されている。具体的には、例えば、操作画面32Aにおいて情報の登録の操作が1回行われると、図3のような顧客マスタのデータテーブルにおいて、1行分の情報が新たに登録されるよう、操作画面32Aは作成されている。   The operation screen 32A is an example of an operation screen related to data table information. In the operation screen 32A, a customer number, a customer name, a telephone number, and a person in charge are input from a keyboard that is an example of the input unit 20A in a text box that is displayed, and a “Save” button that is displayed is an example of the input unit 20A. An operation of clicking with a mouse can be performed. When such a predetermined operation is performed on the operation screen 32A, the operation screen 32A is created so that processing for newly registering information input in the text box of the operation screen 32A in the data table named customer master is performed. Has been. Specifically, for example, when the information registration operation is performed once on the operation screen 32A, the operation screen is displayed so that one line of information is newly registered in the data table of the customer master as shown in FIG. 32A has been created.

なお、プログラム作成・実施システム100を用いて作成される操作画面は、操作画面32Aに限定されるものではない。プログラム作成・実施システム100を用いて作成される操作画面は、操作画面32Aに代えて、又は、操作画面32Aに加えて、データテーブルの情報の内容変更(更新)や、データテーブルからの情報の削除のために用いられる画面を含んでもよい。   The operation screen created using the program creation / execution system 100 is not limited to the operation screen 32A. The operation screen created by using the program creation / execution system 100 is not the operation screen 32A, or in addition to the operation screen 32A, the content change (update) of the information in the data table or the information from the data table. A screen used for deletion may be included.

例えば、データテーブルの情報の内容変更(更新)のための操作画面は、更新対象の情報を特定するために用いられる顧客ナンバーや、更新内容の入力に用いられるテキストボックスや、データテーブルの情報の更新処理を行わせるための「更新」ボタン等を表示する。例えば、データテーブルの情報の削除のための操作画面は、削除対象の情報を特定するために用いられる顧客ナンバーの入力に用いられるテキストボックスや、データテーブルの情報の削除処理を行わせるための「削除」ボタン等を表示する。   For example, the operation screen for changing (updating) the information contents of the data table includes a customer number used for specifying information to be updated, a text box used for inputting the updated contents, and information on the data table. An “update” button or the like for performing update processing is displayed. For example, the operation screen for deleting information in the data table is a text box used for inputting a customer number used for specifying information to be deleted, and a process for deleting information in the data table. Delete button etc. are displayed.

ただし、データテーブルの情報の内容変更(更新)や、情報の削除のための操作画面の構成は、ここで例示した画面構成に限定されるものではなく、適宜設計されればよい。   However, the configuration of the operation screen for changing (updating) the content of information in the data table and deleting the information is not limited to the screen configuration illustrated here, and may be appropriately designed.

動作確認テストの際に、入力部20Aを用いて操作画面32Aにおいて所定操作が行われると、所定操作の内容は、ネットワーク50を介して、後述するサーバー200の受付部220により受け付けられる。後述するように、サーバー200のコマンド生成部264は、受付部220が受け付けた所定操作に対応するコマンドを生成する。そして、サーバー200の変更部266は、コマンド生成部264が生成したコマンドに応じて、試験用データベース300のデータテーブルの情報を変更する。また、動作確認テストの際に、入力部20Aを介して操作画面32Aにおいて所定操作が行われると、データテーブルの変更履歴が第1履歴画面34Aおよび第2履歴画面36Aに表示させられる。   When a predetermined operation is performed on the operation screen 32A using the input unit 20A during the operation check test, the content of the predetermined operation is received by the receiving unit 220 of the server 200 described later via the network 50. As will be described later, the command generation unit 264 of the server 200 generates a command corresponding to a predetermined operation received by the reception unit 220. Then, the changing unit 266 of the server 200 changes the information in the data table of the test database 300 in accordance with the command generated by the command generating unit 264. In addition, when a predetermined operation is performed on the operation screen 32A via the input unit 20A during the operation check test, the data table change history is displayed on the first history screen 34A and the second history screen 36A.

なお、動作確認テストの際、操作画面32Aにおいて操作を行うと発生するエラーであって、試験用データベース300のデータテーブル310−350の情報の変更には関係しないエラーについては、プログラム作成者が、表示部30A上の操作画面32Aが表示されている領域を見ることで確認できる。例えば、操作画面32Aにおいて「保存」ボタンを押すと、操作画面32A以外の画面(例えば確認画面)がポップアップ表示されるようにプログラムが設計されている場合、プログラム作成者は、この画面が表示されないことを表示部30A上で確認できる。   It should be noted that an error that occurs when an operation is performed on the operation screen 32A during an operation check test and that is not related to a change in the information in the data tables 310 to 350 of the test database 300 is described by the program creator. This can be confirmed by looking at the area where the operation screen 32A is displayed on the display unit 30A. For example, if the program is designed so that a screen other than the operation screen 32A (for example, a confirmation screen) pops up when the “Save” button is pressed on the operation screen 32A, the program creator does not display this screen. This can be confirmed on the display unit 30A.

(2−1−2−2)第1履歴画面
第1履歴画面34Aは、操作画面32Aにおける所定操作に応じたデータテーブルの変更履歴を示す履歴画面の一例である。
(2-1-2-2) First History Screen The first history screen 34A is an example of a history screen showing a data table change history corresponding to a predetermined operation on the operation screen 32A.

第1履歴画面34Aには、サーバー200の試験用データベース300が有するデータテーブル(データテーブル310−350)の名称の一覧が表示される。例えば、図2の第1履歴画面34Aは、試験用データベース300が、「受注」、「受注明細」、「顧客マスタ」、「社員マスタ」、「製品マスタ」という名前のデータテーブルを有することを示している。   On the first history screen 34A, a list of names of data tables (data tables 310 to 350) included in the test database 300 of the server 200 is displayed. For example, the first history screen 34A in FIG. 2 indicates that the test database 300 has data tables named “order received”, “order received details”, “customer master”, “employee master”, and “product master”. Show.

また、第1履歴画面34Aには、各データテーブルの名称と対応付けて(図2では名称の右に隣接して)、データテーブルの変更履歴としてメッセージM1が表示される。なお、図2の第1履歴画面34Aでは、「社員マスタ」および「製品マスタ」という名前のデータテーブルについては情報の変更が行われていない場合を仮定している(これらのデータテーブルの情報は、参照のみされることを仮定している)。そのため、「社員マスタ」および「製品マスタ」という文字の横にはメッセージM1は表示されていない。   Further, on the first history screen 34A, a message M1 is displayed as a change history of the data table in association with the name of each data table (adjacent to the right of the name in FIG. 2). In the first history screen 34A of FIG. 2, it is assumed that information has not been changed for the data tables named “employee master” and “product master” (the information in these data tables is , It is assumed that it will be referenced only). Therefore, the message M1 is not displayed next to the characters “employee master” and “product master”.

メッセージM1は、メッセージM1が付されたデータテーブルにおいて直近に実行された情報の変更の要約を示している。メッセージM1は、データテーブルにおいて、情報の登録、情報の内容変更(更新)、および情報の削除のうち、いずれの情報の変更が直近に実行されたのかという情報を内容に含む。また、メッセージM1は、直近に変更された情報の件数の情報を内容に含む。例えば、図3のようなデータテーブルが存在する場合、メッセージM1は、このデータテーブルにおいて、何行分の情報が、登録、内容変更(更新)又は削除されたかという情報を内容に含む。   Message M1 shows a summary of the information changes most recently executed in the data table to which message M1 is attached. The message M1 includes, in the data table, information indicating which information change was most recently executed among information registration, information content change (update), and information deletion. Further, the message M1 includes information on the number of information items that have been changed most recently. For example, when a data table as shown in FIG. 3 exists, the message M1 includes information on how many lines of information are registered, changed (updated), or deleted in the data table.

(2−1−2−3)第2履歴画面
第2履歴画面36Aは、操作画面32Aにおける所定操作に応じたデータテーブルの変更履歴を示す履歴画面の一例である。
(2-1-2-3) Second History Screen The second history screen 36A is an example of a history screen that shows a data table change history according to a predetermined operation on the operation screen 32A.

また、第2履歴画面36Aは、データテーブルの変更履歴に加え、データテーブルの参照履歴も示す。第2履歴画面36Aに表示されるデータテーブルの参照履歴は、データテーブルの情報が、何らかの処理のためにサーバー200のプログラム作成支援部260により参照された履歴を示す。データテーブルの情報の参照では、データテーブルの情報の変更は行われない。   The second history screen 36A also shows the reference history of the data table in addition to the change history of the data table. The reference history of the data table displayed on the second history screen 36A indicates a history in which the information in the data table is referred to by the program creation support unit 260 of the server 200 for some processing. The reference to the data table information does not change the data table information.

第2履歴画面36Aには、例えば、操作画面32Aにおける所定操作に応じたデータテーブルの変更履歴、および、データテーブルの参照履歴が、直近の履歴がリストの先頭に表示されるように、時間順にリスト形式で表示される。つまり、第2履歴画面36Aでは、データテーブルの変更履歴は、データテーブル別ではなく、時間順に並べて表示される。また、第2履歴画面36Aでは、データテーブルの変更履歴と、データテーブルの参照履歴とは、別々に表示されるのではなく、変更履歴および参照履歴が、時間順に並べて表示される。なお、変更履歴および参照履歴が増え過ぎて、全てを同時に表示部30Aに表示できない場合には、画面をスクロールさせることで、全ての変更履歴および参照履歴が参照できるように第2履歴画面36Aは構成されている。   In the second history screen 36A, for example, the change history of the data table corresponding to the predetermined operation on the operation screen 32A and the reference history of the data table are displayed in time order so that the latest history is displayed at the top of the list. Displayed in list format. That is, on the second history screen 36A, the change history of the data table is displayed in order of time, not by data table. On the second history screen 36A, the change history of the data table and the reference history of the data table are not displayed separately, but the change history and the reference history are displayed side by side in time order. If the change history and the reference history increase too much and cannot be displayed on the display unit 30A at the same time, the second history screen 36A can be referred to by scrolling the screen so that all the change history and reference history can be referred to. It is configured.

第2履歴画面36Aでは、データテーブルの変更履歴は、メッセージM2を用いて表示される。変更履歴を示すメッセージM2には、どのデータテーブルの情報が変更されたのか、どのような情報の変更(登録、内容変更(更新)、削除)が行われたのか、何件の情報が変更されたのかをメッセージの内容に含む。また、第2履歴画面36Aでは、データテーブルの参照履歴も、メッセージM2を用いて表示される。参照履歴を示すメッセージM2には、どのデータテーブルの情報が参照されたのか、何件の情報が参照されたのかをメッセージの内容に含む。   In the second history screen 36A, the data table change history is displayed using the message M2. In the message M2 indicating the change history, the information of which data table has been changed, what information has been changed (registration, content change (update), deletion), and how many pieces of information have been changed Is included in the message content. On the second history screen 36A, the reference history of the data table is also displayed using the message M2. The message M2 indicating the reference history includes in the content of the message which data table information has been referenced and how many pieces of information have been referenced.

第2履歴画面36Aに表示されるデータテーブルの変更履歴および参照履歴のそれぞれは(第2履歴画面36Aにリスト形式で表示される変更履歴および参照履歴の各行は)、例えば入力部20Aのマウスによりクリックすることで指定可能に構成されている。入力部20Aを用いた、表示部30Aに表示される第2履歴画面36Aにおける履歴の指定操作は、ネットワーク50を介して、後述するサーバー200の受付部220により受け付けられる。受付部220が履歴の指定操作を受け付けると、表示部30Aには、後述するサーバー200の出力部210により、入力部20Aにより指定された履歴について、データテーブルの情報の変更内容の詳細又はデータテーブルの情報の参照内容の詳細が表示部30Aに表示させられる。データテーブルの情報の変更内容の詳細とは、データテーブルの情報のうち、具体的にどのような内容の情報が登録/内容変更/削除されたのかを示すものである。データテーブルの情報の参照内容の詳細とは、データテーブルの情報のうち、具体的にどのような内容の情報が参照されたのかを示すものである。   Each of the change history and the reference history of the data table displayed on the second history screen 36A (each row of the change history and the reference history displayed in the list format on the second history screen 36A) is, for example, by the mouse of the input unit 20A. It can be specified by clicking. A history specifying operation on the second history screen 36 </ b> A displayed on the display unit 30 </ b> A using the input unit 20 </ b> A is received by the receiving unit 220 of the server 200 described later via the network 50. When the accepting unit 220 accepts a history specifying operation, the display unit 30A displays details of data table information changes or data table for the history designated by the input unit 20A by the output unit 210 of the server 200 described later. The details of the reference content of the information are displayed on the display unit 30A. The details of the changed contents of the information in the data table indicate what kind of information is registered / changed / deleted in the data table information. The details of the reference contents of the information in the data table indicate what kind of information is specifically referred to in the data table information.

(2−2)サーバー
サーバー200は、プログラム作成者が使うクライアント端末10A,10B,10Cに対して、プログラム作成支援機能を提供するコンピュータである。
(2-2) Server The server 200 is a computer that provides a program creation support function to the client terminals 10A, 10B, and 10C used by the program creator.

サーバー200は、上述のように、CPU201、出力部210、受付部220、キーボードやマウス等の入力部230、ディスプレイ等の表示部240、メモリやハードディスクから成る記憶部250、などから構成されているコンピュータである。   As described above, the server 200 includes the CPU 201, the output unit 210, the reception unit 220, the input unit 230 such as a keyboard and a mouse, the display unit 240 such as a display, the storage unit 250 including a memory and a hard disk, and the like. It is a computer.

(2−2−1)出力部
出力部210は、プログラム作成者が、ネットワーク50を介してサーバー200と接続されているクライアント端末10A,10B,10Cにおいて、プログラム作成・実施システム100を利用する際に、表示部30A,30B,30Cに各種画面を表示させる。つまり、出力部210は、サーバー200と接続されているクライアント端末10A,10B,10Cの表示部30A,30B,30Cの表示内容を制御する表示制御部である。
(2-2-1) Output unit The output unit 210 is used when the program creator uses the program creation / execution system 100 in the client terminals 10A, 10B, and 10C connected to the server 200 via the network 50. In addition, various screens are displayed on the display units 30A, 30B, and 30C. That is, the output unit 210 is a display control unit that controls display contents of the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C connected to the server 200.

出力部210は、クライアント端末10A,10B,10Cにおいて上述の動作確認テストが行われる際に、クライアント端末10A,10B,10Cの表示部30A,30B,30Cのそれぞれに、データテーブルの情報に関する操作画面(例えば、図2の操作画面32A)と、その操作画面における所定操作に応じたデータテーブルの変更履歴を示す履歴画面と、を同時に表示させる。また、出力部210は、後述する図4のステップS11,S16,S17におけるプログラム作成者に対する問い合わせの画面やデータ選択の画面を、クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させる。   When the above-described operation check test is performed in the client terminals 10A, 10B, and 10C, the output unit 210 displays an operation screen related to data table information on each of the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C. (For example, the operation screen 32A in FIG. 2) and a history screen showing a change history of the data table corresponding to a predetermined operation on the operation screen are displayed simultaneously. Further, the output unit 210 displays an inquiry screen and a data selection screen for the program creator in steps S11, S16, and S17 of FIG. 4 described later on the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C. Let

(2−2−2)受付部
クライアント端末10A,10B,10Cのそれぞれにおいて入力部20A,20B,20Cを用いて行われる、表示部30A,30B,30Cに表示させられる試験用データベース300のデータテーブル310−350の情報に関する操作画面における操作(所定操作を含む)を、受付部220はネットワーク50を介して受け付ける。表示部30A,30B,30Cに表示させられる操作画面における所定操作には、データテーブル310−350の情報の変更(情報の登録、情報の内容変更(更新)、情報の削除)のための操作を含む。また、表示部30A,30B,30Cに表示させられる操作画面における操作には、データテーブル310−350の情報の参照のための操作も含む。なお、操作画面における操作により、いずれのデータテーブル310―350の、いずれの情報を変更/参照するかは、作成中のプログラムで定義されている。
(2-2-2) Reception unit Data table of test database 300 displayed on display units 30A, 30B, and 30C, which is performed using input units 20A, 20B, and 20C in client terminals 10A, 10B, and 10C, respectively. The accepting unit 220 accepts an operation (including a predetermined operation) on the operation screen related to information 310-350 via the network 50. The predetermined operations on the operation screens displayed on the display units 30A, 30B, and 30C include operations for changing information in the data tables 310-350 (information registration, information content change (update), information deletion). Including. The operation on the operation screen displayed on the display units 30A, 30B, and 30C includes an operation for referring to information in the data tables 310-350. Note that which information in which data table 310 to 350 is to be changed / referenced by an operation on the operation screen is defined in the program being created.

受付部220は、複数のクライアント端末10A,10B,10Cの表示部30A,30B,30Cのそれぞれに表示させられる操作画面における所定操作を、表示部30A,30B,30C別に受け付ける。   The receiving unit 220 receives a predetermined operation on the operation screen displayed on each of the display units 30A, 30B, and 30C of the plurality of client terminals 10A, 10B, and 10C for each of the display units 30A, 30B, and 30C.

受付部220は、データテーブル310−350の情報に関する操作画面における所定操作を受け付けると、所定操作に関する情報を、後述するプログラム作成支援部260のコマンド生成部264に送信する。所定操作に関する情報には、所定操作の内容(試験用データベース300のデータテーブル310−350のいずれに対して、どのような情報の変更を行うか)に関する情報を含む。   Upon receiving a predetermined operation on the operation screen related to information in the data tables 310 to 350, the reception unit 220 transmits information related to the predetermined operation to the command generation unit 264 of the program creation support unit 260 described later. The information regarding the predetermined operation includes information regarding the content of the predetermined operation (what information is to be changed with respect to any of the data tables 310 to 350 of the test database 300).

また、受付部220は、後述する図4のステップS11,S16,S17におけるプログラム作成者による回答操作や選択操作を受け付けると、その情報を後述するデータベース生成部261やデータ複製部280に伝える。   In addition, when the accepting unit 220 accepts an answer operation or a selection operation by the program creator in steps S11, S16, and S17 of FIG.

(2−2−3)記憶部
記憶部250は、CPU201にプログラム作成支援処理やデータ複製処理を行わせるための、プログラム作成支援用のソフトウェアを記憶している。
(2-2-3) Storage Unit The storage unit 250 stores program creation support software for causing the CPU 201 to perform program creation support processing and data replication processing.

また、記憶部250には、プログラム作成・実施システム100を機能させるために必要な各種情報等が記憶されている。   The storage unit 250 stores various information necessary for causing the program creation / execution system 100 to function.

さらに、記憶部250は、以下で説明する、実施用データベース400を記憶するための第1記憶領域251と、その実施用データベース400とは別の試験用データベース300を記憶するための第2記憶領域252とを有している。   The storage unit 250 further includes a first storage area 251 for storing the implementation database 400 and a second storage area for storing a test database 300 different from the implementation database 400, which will be described below. 252.

(2−2−3−1)データベース
実施用データベース400および試験用データベース300は、後述するデータベース生成部261によって生成され、記憶部250に記憶される。実施用データベース400は、記憶部250の第1記憶領域251に記憶され、試験用データベース300は、記憶部250の第2記憶領域252に記憶される。
(2-2-3-1) Database The implementation database 400 and the test database 300 are generated by the database generation unit 261 described later and stored in the storage unit 250. The implementation database 400 is stored in the first storage area 251 of the storage unit 250, and the test database 300 is stored in the second storage area 252 of the storage unit 250.

試験用データベース300は、作成中の未完成プログラムを試験するときに、その未完成プログラムによってアクセスされるデータベースである。試験用データベース300は、プログラム作成・実施システム100を用いてプログラムを作成する際に定義されることになるデータテーブル310,320,330,340,350を含む。なお、図2では、試験用データベース300には、5つのデータテーブル310−350を含むが、データテーブルの数は例示された数量に限定されるものではない。   The test database 300 is a database accessed by an incomplete program when the incomplete program being created is tested. The test database 300 includes data tables 310, 320, 330, 340, and 350 that are defined when a program is created using the program creation / execution system 100. In FIG. 2, the test database 300 includes five data tables 310 to 350, but the number of data tables is not limited to the exemplified quantity.

実施用データベース400は、完成されたプログラムを実行し、プログラムが提供するサービス(例えば、顧客管理用プログラムであれば、検索機能も含む顧客管理サービス)をエンドユーザーが受ける際に、そのプログラムによってアクセスされるデータベースである。実施用データベース400も、試験用データベース300と同様に、データテーブル410,420・・・を含む。   The implementation database 400 executes a completed program, and is accessed by the program when the end user receives a service provided by the program (for example, a customer management service including a search function in the case of a customer management program). Database. Like the test database 300, the implementation database 400 also includes data tables 410, 420.

(2−2−4)プログラム作成支援部
プログラム作成支援部260は、上記のプログラム作成支援用のソフトウェアが実行されると制御部として働くCPU201における1つの機能部であり、プログラム作成支援のための各種処理を行う。特に、ここでは、プログラム作成支援部260の実行する処理のうち、プログラム作成開始時においてデータベース作成を行うデータベース生成部261による処理と、動作確認テストに関連する各処理とを説明する。動作確認テストに関して、プログラム作成支援部260は、操作画面生成部262、コマンド生成部264、変更部266、および履歴画面生成部268として機能する。
(2-2-4) Program Creation Support Unit The program creation support unit 260 is one functional unit in the CPU 201 that functions as a control unit when the software for program creation support described above is executed. Perform various processes. In particular, among the processes executed by the program creation support unit 260, a process by the database generation unit 261 that creates a database at the start of program creation and each process related to the operation check test will be described. Regarding the operation confirmation test, the program creation support unit 260 functions as an operation screen generation unit 262, a command generation unit 264, a change unit 266, and a history screen generation unit 268.

(2−2−4−1)データベース生成部
データベース生成部261は、プログラムの作成開始時に、プログラム作成者が既存の他のプログラムが使っている既存の実施用データベースを利用(流用)するという選択をした場合に、既存の実施用データベースの一部又は全部をコピーして、新たに作成するプログラムのための試験用データベースを生成する。また、データベース生成部261は、プログラム作成者が既存の実施用データベースを利用するという選択を行わなかったときには、新しく試験用データベース300と実施用データベース400とを同時に生成し、サーバー200の記憶部250に保存する(図1参照)。上述のように、実施用データベース400は第1記憶領域251に記憶され、試験用データベース300は第2記憶領域252に記憶される。同時に生成された時点において、試験用データベース300と実施用データベース400とは全く同じ内容のものである。
(2-2-4-1) Database Generation Unit The database generation unit 261 selects that the program creator uses (utilizes) an existing implementation database used by another existing program at the start of program creation. In this case, a part or all of the existing implementation database is copied to generate a test database for a newly created program. In addition, when the program creator does not select to use the existing implementation database, the database generation unit 261 newly generates the test database 300 and the implementation database 400 at the same time, and stores the storage unit 250 of the server 200. (See FIG. 1). As described above, the implementation database 400 is stored in the first storage area 251, and the test database 300 is stored in the second storage area 252. At the same time, the test database 300 and the implementation database 400 have exactly the same contents.

なお、後述するようにデータ複製部280を設けているため、プログラム作成・実施システム100では、試験用データベース300と実施用データベース400との間で相互に部分的なデータコピーが可能となっている。   Since the data duplication unit 280 is provided as will be described later, the program creation / execution system 100 can partially copy data between the test database 300 and the implementation database 400. .

(2−2−4−2)操作画面生成部
操作画面生成部262は、動作確認テストの際に、出力部210が各クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させる、データテーブルの情報に関する操作画面を生成する。
(2-2-4-2) Operation Screen Generation Unit The operation screen generation unit 262 causes the output unit 210 to display on the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C during the operation check test. Then, an operation screen related to data table information is generated.

操作画面生成部262は、各クライアント端末10A,10B,10Cが動作確認テストを行おうとする操作画面に関し、プログラムの作成作業において作成されている操作画面のレイアウトを記憶部250から読み出して操作画面を生成する。また、操作画面生成部262は、各クライアント端末10A,10B,10Cの入力部20A,20B,20Cから、表示部30A,30B,30Cに表示される操作画面に対して各種操作(文字の入力等を含む)があった場合には、これを反映した操作画面を生成する。操作画面生成部262によりクライアント端末10A,10B,10Cのそれぞれについて生成された操作画面は、出力部210により、そのクライアント端末10A,10B,10Cの表示部30A,30B,30Cに出力させられる。   The operation screen generation unit 262 reads out the operation screen layout created in the program creation work from the storage unit 250 regarding the operation screen on which each of the client terminals 10A, 10B, and 10C performs the operation check test, and displays the operation screen. Generate. The operation screen generation unit 262 also performs various operations (such as inputting characters) on the operation screens displayed on the display units 30A, 30B, and 30C from the input units 20A, 20B, and 20C of the client terminals 10A, 10B, and 10C. If this is the case, an operation screen reflecting this is generated. The operation screen generated by the operation screen generation unit 262 for each of the client terminals 10A, 10B, and 10C is output by the output unit 210 to the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C.

また、操作画面生成部262は、後述する図4のステップS11,S16,S17において、プログラム作成者への問い合わせ画面や、コピーするデータの選択画面を生成する。   The operation screen generation unit 262 generates an inquiry screen for the program creator and a selection screen for data to be copied in steps S11, S16, and S17 of FIG. 4 to be described later.

(2−2−4−3)コマンド生成部
上述したように、受付部220は、複数のクライアント端末10A,10B,10Cの表示部30A,30B,30Cのそれぞれに表示させられる操作画面のいずれかにおいて所定操作を受け付けると、コマンド生成部264に対し所定操作に関する情報を送信する。所定操作に関する情報には、その所定操作が行われたクライアント端末10A,10B,10Cを特定するための情報と、所定操作の内容(試験用データベース300のデータテーブル310−350のいずれに対して、どのような情報の変更が行われるか)に関する情報を含む。例えば、受付部220からコマンド生成部264に対して送信されてくる情報は、クライアント端末10Aにおいて、顧客ナンバー「0000003」、顧客名「有限会社CCC」、電話番号「ZZ−ZZZZ−ZZZZ」、担当者「FFF様」という情報を、データテーブルの1つ(顧客マスタという名称のデータテーブル、例えばデータテーブル310)に新たに登録するという内容の操作が行われたことを特定可能な情報である。
(2-2-4-3) Command Generation Unit As described above, the reception unit 220 is one of the operation screens displayed on the display units 30A, 30B, and 30C of the plurality of client terminals 10A, 10B, and 10C. When a predetermined operation is accepted, information related to the predetermined operation is transmitted to the command generation unit 264. The information related to the predetermined operation includes information for specifying the client terminals 10A, 10B, and 10C where the predetermined operation has been performed, and details of the predetermined operation (for any of the data tables 310 to 350 of the test database 300). Information on what information changes will be made). For example, information transmitted from the reception unit 220 to the command generation unit 264 includes a customer number “0000003”, a customer name “CCC”, a telephone number “ZZ-ZZZZ-ZZZ” This is information that can specify that the operation of registering the information “FFF like” in one of the data tables (a data table named customer master, for example, the data table 310) has been performed.

コマンド生成部264は、受付部220から所定操作に関する情報を受け付けると、その所定操作に対応するコマンドを生成する。例えば、コマンド生成部264が、データテーブル310に顧客ナンバー「0000003」、顧客名「有限会社CCC」、電話番号「ZZ−ZZZZ−ZZZZ」、担当者「FFF様」という情報を新たに登録するという所定操作に関する情報を受け付けた場合には、データテーブル310に対してそのような処理を後述する変更部266に実行させるコマンドを生成する。   When the command generation unit 264 receives information related to the predetermined operation from the reception unit 220, the command generation unit 264 generates a command corresponding to the predetermined operation. For example, the command generation unit 264 newly registers information such as the customer number “0000003”, the customer name “CCC”, the telephone number “ZZ-ZZZZ-ZZZ”, and the person in charge “FFF” in the data table 310. When information related to a predetermined operation is received, a command for causing the changing unit 266 described later to execute such processing on the data table 310 is generated.

コマンド生成部264により生成されるコマンドには、データテーブル310−350のいずれかへの情報の登録、データテーブル310−350のいずれかの情報の内容変更(更新)、およびデータテーブル310−350からの情報の削除、を含む。   The commands generated by the command generation unit 264 include registration of information in any of the data tables 310-350, change (update) of contents of any information in the data tables 310-350, and data tables 310-350. Including deletion of information.

また、コマンド生成部264は、受付部220から所定操作に関する情報を受け付けると、所定操作が行われたクライアント端末10A,10B,10Cを特定するための情報と、上記のようにして作成したコマンドと、を履歴画面生成部268に送信する。   In addition, when receiving information related to the predetermined operation from the reception unit 220, the command generation unit 264 receives information for specifying the client terminals 10A, 10B, and 10C on which the predetermined operation has been performed, and the command created as described above. Are transmitted to the history screen generation unit 268.

(2−2−4−4)変更部
変更部266は、コマンド生成部264から送信されてくるコマンドに応じて、変更を指示されたデータテーブル310−350の情報を変更する。上記のように、コマンドは、いずれかのクライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させられる操作画面における所定操作に応じて、コマンド生成部264により生成される。つまり、変更部266は、いずれかのクライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させられる操作画面における所定操作に応じて、変更を指示されたデータテーブル310−350の情報を変更する。
(2-2-4-4) Changing Unit The changing unit 266 changes the information in the data table 310-350 instructed to change in accordance with the command transmitted from the command generating unit 264. As described above, the command is generated by the command generation unit 264 according to a predetermined operation on the operation screen displayed on the display units 30A, 30B, and 30C of any of the client terminals 10A, 10B, and 10C. That is, the changing unit 266 is information on the data tables 310 to 350 instructed to change in accordance with a predetermined operation on the operation screen displayed on the display units 30A, 30B, and 30C of any of the client terminals 10A, 10B, and 10C. To change.

(2−2−4−5)履歴画面生成部
履歴画面生成部268は、動作確認テストの際に、出力部210が各クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させる履歴画面を生成する。履歴画面は、各クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させられる操作画面における所定操作に応じた、データテーブルの変更履歴を示す画面である。
(2-2-4-5) History Screen Generation Unit The history screen generation unit 268 causes the output unit 210 to display on the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C during the operation check test. Generate a history screen. The history screen is a screen showing a change history of the data table according to a predetermined operation on the operation screen displayed on the display units 30A, 30B, and 30C of the client terminals 10A, 10B, and 10C.

ここでは、履歴画面生成部268が、クライアント端末10Aの表示部30Aに表示させるための履歴画面を生成する場合を例に説明する。ここでは、履歴画面生成部268は、図2のような、第1履歴画面34Aおよび第2履歴画面36Aを生成するものとする。   Here, a case where the history screen generation unit 268 generates a history screen to be displayed on the display unit 30A of the client terminal 10A will be described as an example. Here, it is assumed that the history screen generation unit 268 generates the first history screen 34A and the second history screen 36A as shown in FIG.

履歴画面生成部268は、データテーブル310−350の変更履歴として第1履歴画面34Aおよび第2履歴画面36に表示させるための、メッセージM1およびメッセージM2を生成する。メッセージM1およびメッセージM2は、履歴画面生成部268の機能部である、メッセージ生成部268aにより生成される。   The history screen generation unit 268 generates a message M1 and a message M2 to be displayed on the first history screen 34A and the second history screen 36 as the change history of the data table 310-350. The message M1 and the message M2 are generated by a message generation unit 268a that is a functional unit of the history screen generation unit 268.

クライアント端末10Aにおいて動作確認テストが実施される際、出力部210は、履歴画面生成部268により生成された第1履歴画面34Aおよび第2履歴画面36A(メッセージM1およびメッセージM2を含む)を、操作画面生成部262が生成する操作画面と同時に、クライアント端末10Aの表示部30Aに表示させる。   When the operation check test is performed in the client terminal 10A, the output unit 210 operates the first history screen 34A and the second history screen 36A (including the message M1 and the message M2) generated by the history screen generation unit 268. Simultaneously with the operation screen generated by the screen generation unit 262, the screen is displayed on the display unit 30A of the client terminal 10A.

また、履歴画面生成部268は、受付部220が前述の指定操作を受け付けた場合に、クライアント端末10Aの表示部30Aに表示させる、データテーブル310−350の情報の変更内容又は参照内容の詳細を表示する画面を生成する。データテーブル310−350の情報の変更内容又は参照内容の詳細を表示する画面は、履歴画面生成部268の機能部である、詳細表示生成部268bにより生成される。   In addition, the history screen generation unit 268 displays details of the information change contents or reference contents of the data table 310-350 to be displayed on the display unit 30A of the client terminal 10A when the reception unit 220 receives the above-described designation operation. Generate a screen to display. A screen for displaying details of the information change contents or reference contents of the data tables 310 to 350 is generated by the detail display generation unit 268b, which is a functional unit of the history screen generation unit 268.

出力部210は、クライアント端末10Aにおいて動作確認テストが実施され、かつ受付部220が指定操作を受け付けた場合、詳細表示生成部268bが生成したデータテーブル310−350の情報の変更内容又は参照内容の詳細を表示する画面を、クライアント端末10Aの表示部30Aに表示させる。   When the operation check test is performed in the client terminal 10A and the accepting unit 220 accepts the designation operation, the output unit 210 changes the information contents or reference contents of the data table 310-350 generated by the detail display generating unit 268b. A screen for displaying details is displayed on the display unit 30A of the client terminal 10A.

(2−2−5)データ複製部
データ複製部280も、プログラム作成支援部260と同様に、上記のプログラム作成支援用のソフトウェアが実行されたときに制御部として働くCPU201における1つの機能部である。データ複製部280は、試験用データベース300と実施用データベース400との間で相互に部分的なデータコピーを行わせる処理を行う。データ複製部280は、第1複製処理部281と、第2複製処理部282とを有している。第1複製処理部281は、試験用データベース300に格納されたデータから、一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして実施用データベース400に格納する。試験用データベース300に格納されたデータとは、作成中の未完成プログラムを試験(動作確認テスト)しているときに、プログラム作成者によって入力されたデータである。
(2-2-5) Data Duplicating Unit Similarly to the program creation support unit 260, the data replication unit 280 is a function unit in the CPU 201 that functions as a control unit when the program creation support software is executed. is there. The data duplication unit 280 performs a process of causing partial data copying between the test database 300 and the implementation database 400. The data replication unit 280 includes a first replication processing unit 281 and a second replication processing unit 282. The first replication processing unit 281 causes the program creator to select some data from the data stored in the test database 300, and copies the selected data and stores it in the implementation database 400. The data stored in the test database 300 is data input by a program creator when testing an incomplete program being created (operation check test).

例えば、上述の動作確認テストの際に、操作画面32Aを見ながら入力された顧客ナンバー、顧客名、電話番号、担当者のデータが顧客マスタという名のデータテーブル310に登録されるが、その図3のような顧客マスタのデータテーブル310に登録された情報(データ)が、プログラム作成者によって入力されたデータである。   For example, the customer number, the customer name, the telephone number, and the data of the person in charge input while looking at the operation screen 32A in the operation check test described above are registered in the data table 310 named customer master. The information (data) registered in the data table 310 of the customer master such as 3 is data input by the program creator.

また、第1複製処理部281は、試験用データベース300の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして実施用データベース400に格納することができる。例えば、上述の試験用データベース300の顧客マスタのデータテーブル310に登録された顧客ナンバー、顧客名、電話番号、担当者のデータの中から、プログラム作成者が、実際の運用情報に基づいて入力した顧客ナンバーおよび顧客名のデータを選択し、架空の数字や名前を入力した電話番号および担当者のデータを選択しなかったとする。この場合には、第1複製処理部281が、試験用データベース300の顧客マスタのデータテーブル310から顧客ナンバーおよび顧客名のデータだけを抽出してコピーし、それらのデータを実施用データベース400の顧客マスタのデータテーブル410に格納する。   In addition, the first replication processing unit 281 may cause the program creator to select a part of the data in each data table of the test database 300 and copy the selected data to store in the implementation database 400. it can. For example, from the customer number, customer name, telephone number, and person-in-charge data registered in the customer master data table 310 of the test database 300 described above, the program creator inputs based on the actual operation information. It is assumed that the customer number and customer name data are selected, and the telephone number and the person in charge data are not selected. In this case, the first replication processing unit 281 extracts and copies only the customer number and customer name data from the data table 310 of the customer master of the test database 300 and copies these data to the customer of the implementation database 400. The data is stored in the master data table 410.

同様に、第2複製処理部282は、実施用データベース400の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして試験用データベース300に格納することができる。   Similarly, the second replication processing unit 282 causes the program creator to select some data in each data table of the implementation database 400, and copies the selected data and stores it in the test database 300. Can do.

(3)プログラム作成・実施システムによるプログラム作成の処理の流れ
次に、図4を参照しながら、プログラム作成・実施システム100を用いたプログラム作成の流れについて説明する。ここでは、プログラム作成者がクライアント端末10Aを使って作業していると仮定して説明を進める。
(3) Flow of Program Creation Processing by Program Creation / Execution System Next, the flow of program creation using the program creation / execution system 100 will be described with reference to FIG. Here, the description will proceed on the assumption that the program creator is working using the client terminal 10A.

プログラム作成を開始すると、他のプログラムがアクセスしている既存の実施用データベースを利用(流用)するか否かを問う画面が、クライアント端末10Aの表示部30Aに現れる(ステップS11)。ここでプログラム作成者がYESを入力すると、プログラム作成者が選択した既存の実施用データベースがコピーされ、それが試験用データベースになる(ステップS12)。ここで、プログラム作成者は、既存の実施用データベースの全てのデータをコピーして試験用データベースを生成させることができる。また、プログラム作成者は、既存の実施用データベースの中の所定のデータテーブルをファイル単位で選択して、あるいは、所定のデータテーブル内のデータの一部だけを選択して、試験用データベースを生成させることもできる。   When program creation is started, a screen asking whether or not to use (utilize) an existing implementation database accessed by another program appears on the display unit 30A of the client terminal 10A (step S11). If the program creator inputs YES here, the existing implementation database selected by the program creator is copied and becomes the test database (step S12). Here, the program creator can generate a test database by copying all data in the existing implementation database. In addition, the program creator creates a test database by selecting a predetermined data table in the existing implementation database in units of files or selecting only a part of the data in the predetermined data table. It can also be made.

ステップS11においてプログラム作成者がNOを入力すると、新しい実施用データベース400および試験用データベース300が生成される(ステップS13)。図1に示す記憶部250の第1記憶領域251に実施用データベース400が記憶され、第2記憶領域252に試験用データベース300が記憶される。これらの実施用データベース400および試験用データベース300は、生成時点においては同じものである。   When the program creator inputs NO in step S11, a new implementation database 400 and test database 300 are generated (step S13). The implementation database 400 is stored in the first storage area 251 of the storage unit 250 illustrated in FIG. 1, and the test database 300 is stored in the second storage area 252. The implementation database 400 and the test database 300 are the same at the time of generation.

ステップS12あるいはステップS13の後、ステップS14に移行し、プログラム作成者が、サーバー200のプログラム作成支援部260の機能を用いてプログラム作成を行う。上述のように、プログラム作成・実施システム100では、GUIの操作により、予め準備されたブログラム部品を組み合わせて、SQL等のプログラム言語で記述されたプログラムを生成することができる。   After step S12 or step S13, the process proceeds to step S14, where the program creator creates a program using the function of the program creation support unit 260 of the server 200. As described above, the program creation / execution system 100 can generate a program described in a program language such as SQL by combining program parts prepared in advance by operating the GUI.

また、プログラム作成者は、ステップS15で作成中の未完成プログラムの試験を行う。具体的には、上述の動作確認テストを行う。   In addition, the program creator tests the incomplete program being created in step S15. Specifically, the above-described operation check test is performed.

ステップS16に移り、プログラム作成者が作成中のプログラムが完成したと判断し、それをクライアント端末10Aの入力部20Aから入力すると、次のステップS17に移行する。   The process proceeds to step S16, and when the program creator determines that the program being created is completed and inputs it from the input unit 20A of the client terminal 10A, the process proceeds to the next step S17.

ステップS17では、完成したプログラムのリリースの前に、サーバー200のデータ複製部280がプログラム作成者の意向を確認する。具体的には、データ複製部280は、プログラムの動作確認テストにおいて入力したデータ、すなわち試験用データベース300の各データテーブルに格納されているデータの一部を実施用データベース400にコピーするか否かを問う画面を、クライアント端末10Aの表示部30Aに表示させる。ここでプログラム作成者がYESを入力した場合、ステップS18に移行し、データ複製部280の第1複製処理部281が、試験用データベース300のデータの一部を実施用データベース400にコピーして格納する。より詳細には、上述のように、第1複製処理部281は、試験用データベース300の各データテーブルの中の一部のデータをプログラム作成者に選択させ、あるいは、試験用データベース300のデータテーブルを選択させ、その選択されたデータをコピーして実施用データベース400に格納する。   In step S17, the data duplication unit 280 of the server 200 confirms the intention of the program creator before releasing the completed program. Specifically, the data replication unit 280 determines whether or not to copy the data input in the program operation check test, that is, a part of the data stored in each data table of the test database 300 to the implementation database 400. Is displayed on the display unit 30A of the client terminal 10A. If the program creator inputs YES here, the process proceeds to step S18, where the first replication processing unit 281 of the data replication unit 280 copies a part of the data in the test database 300 to the implementation database 400 and stores it. To do. More specifically, as described above, the first replication processing unit 281 causes the program creator to select some data in each data table of the test database 300 or the data table of the test database 300 The selected data is copied and stored in the implementation database 400.

これにより、完成したプログラムが実行されたときに、そのプログラムがアクセスする実施用データベース400には既に動作確認テスト時に入力したデータが存在することになる。このため、完成プログラムが実行され実施状態に置かれた後の運用段階において、エンドユーザーが重複して同じデータを入力しなければならない、という不具合が解消される。   As a result, when the completed program is executed, the execution database 400 accessed by the program already contains the data input during the operation check test. For this reason, the problem that the end user has to input the same data redundantly in the operation stage after the completion program is executed and put into the implementation state is solved.

(4)プログラム作成・実施システムの特徴
(4−1)
作成中のプログラムを試験するときにプログラムがアクセスするデータベースと、実際にプログラムを実行させてプログラムを実施状態に置いたときにプログラムがアクセスするデータベースとを共通化してしまうと、未完成のプログラムが試験時に予期せぬ処理を行って不具合が生じる。このことに鑑み、従来からプログラムのテスト環境と運用環境とを区別し、例えばテスト環境を提供するサーバーと運用環境を提供するサーバーとを分けていることが多い。そして、プログラム作成者は、テスト環境で使う試験用データベースと、運用環境で使う実施用データベースとの間でデータを合わせるために、従来は手作業でデータのコピーを行っている。この作業の負担は大きい。
(4) Features of the program creation / implementation system (4-1)
If the database that the program accesses when testing the program being created and the database that the program accesses when the program is actually executed and placed in the implementation state, an incomplete program will be Problems occur due to unexpected processing during testing. In view of this, a program test environment and an operation environment are conventionally distinguished, and for example, a server that provides a test environment and a server that provides an operation environment are often separated. The program creator conventionally copies data manually to match the data between the test database used in the test environment and the implementation database used in the operational environment. The burden of this work is great.

また、手作業のデータのコピーは、従来、運用環境で使っている実施用データベースの全体をバックアップし、そのバックアップのデータをテスト環境で復元するという方法で行っていることが多い。   Further, manual data copying is often performed by a method of backing up the entire implementation database used in the operation environment and restoring the backup data in the test environment.

このため、従来は、テスト環境で入力、構築した試験用データベース内のデータを、容易には運用環境に反映させることはできなかった。   For this reason, conventionally, the data in the test database input and constructed in the test environment cannot be easily reflected in the operation environment.

このような従来の問題に鑑み、本実施形態に係るプログラム作成・実施システム100では、データ複製部280を設けている。そして、試験(動作確認テスト)において入力され試験用データベース300に格納されたデータの一部は、プログラム作成者が選択することによって、コピーされ実施用データベース400に格納されるようになっている。データ複製部280の第1複製処理部281は、作成者にデータの一部を選択させる処理と、選択されたデータを実施用データベース400に格納する処理とを行っている。   In view of such a conventional problem, the data creation unit 280 is provided in the program creation / execution system 100 according to the present embodiment. A part of the data input in the test (operation check test) and stored in the test database 300 is copied and stored in the execution database 400 by selection by the program creator. The first replication processing unit 281 of the data replication unit 280 performs processing for causing the creator to select a part of the data and processing for storing the selected data in the implementation database 400.

このように、プログラム作成・実施システム100では、プログラム作成者が試験用データベース300内のデータの一部を選択するだけで、それが実施用データベース400に反映される。したがって、プログラム作成・実施システム100によれば、作成中のプログラムの試験時に入力され試験用データベース300に格納されたデータを、容易に実施用データベース400に反映させて活用することができる。   Thus, in the program creation / execution system 100, the program creator simply selects a part of the data in the test database 300, and this is reflected in the implementation database 400. Therefore, according to the program creation / execution system 100, the data input at the time of testing the program being created and stored in the test database 300 can be easily reflected in the implementation database 400 and utilized.

(4−2)
また、本実施形態のプログラム作成・実施システム100では、第1複製処理部281に加え、第2複製処理部282を備えるため、プログラム作成者が試験用データベース300内あるいは実施用データベース400内のデータの一部を選択するだけで、それが他方のデータベースに反映される。すなわち、プログラム作成者が試験用データベース300内あるいは実施用データベース400内のデータの一部を選択することで、試験用データベース300・実施用データベース400の間で相互にデータのコピーの処理が行われる。したがって、試験用データベース300に格納されたデータの活用も、実施用データベース400に格納されているデータの活用も、容易になっている。
(4-2)
In addition, since the program creation / implementation system 100 of this embodiment includes the second replication processing unit 282 in addition to the first replication processing unit 281, the program creator can store data in the test database 300 or the implementation database 400. Simply select a part of it and it will be reflected in the other database. That is, when the program creator selects a part of the data in the test database 300 or the execution database 400, the data copy processing is performed between the test database 300 and the execution database 400. . Therefore, the utilization of the data stored in the test database 300 and the utilization of the data stored in the implementation database 400 are facilitated.

(4−3)
本実施形態のプログラム作成・実施システム100では、プログラム作成者が望む場合、プログラムの作成開始時に、具体的には図4に示すステップS13において、完成されたプログラムがアクセスする実施用データベース400も、未完成プログラムがアクセスする試験用データベース300も、同時に生成される。このため、プログラム作成者は、自ら手動で実施用データベースを作ったり、プログラムの作成開始時に実施用データベースを手動でコピーして試験用データベースを作ったりする煩雑な作業を行う必要がなくなっている。
(4-3)
In the program creation / execution system 100 according to the present embodiment, if the program creator desires, the implementation database 400 accessed by the completed program at the start of program creation, specifically in step S13 shown in FIG. A test database 300 accessed by the incomplete program is also generated at the same time. This eliminates the need for the program creator to manually create an implementation database, or to manually copy the implementation database to create a test database at the start of program creation.

(4−4)
本実施形態のプログラム作成・実施システム100では、データ複製部280の第1複製処理部281は、試験用データベース300の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして実施用データベース400に格納することができる。また、第2複製処理部282は、実施用データベース400の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして試験用データベース300に格納することができる。
(4-4)
In the program creation / execution system 100 of this embodiment, the first replication processing unit 281 of the data replication unit 280 causes the program creator to select a part of the data in each data table of the test database 300 and is selected. The data can be copied and stored in the implementation database 400. In addition, the second replication processing unit 282 may cause the program creator to select some data in each data table of the implementation database 400 and copy the selected data to store in the test database 300. it can.

上述のように、従来、試験用データベースと実施用データベースとの間でデータを合わせるために、手作業でデータのコピーを行っているという実態が存在する。しかし、データベース全体をコピーすることは容易でも、データテーブルを選んで手作業でコピーすることは容易ではなかった。さらに、データテーブルの中の一部のデータだけを手作業で抽出し、それを他方のデータベースの同様のデータテーブル内に格納させることは、非常に困難でミスが生じやすい作業であった。   As described above, conventionally, there is a situation in which data is manually copied in order to match data between the test database and the implementation database. However, even though it was easy to copy the entire database, it was not easy to select a data table and copy it manually. Furthermore, it is very difficult and error-prone to manually extract only a part of the data in the data table and store it in the same data table in the other database.

これに対し、本実施形態のプログラム作成・実施システム100では、例えば試験用データベース300の顧客マスタのデータテーブル310に登録された情報から、顧客ナンバーおよび顧客名のデータだけを選択し、電話番号、担当者のデータは非選択として、前者だけを実施用データベース400に反映させることも容易にできるようになっている。これにより、プログラム作成者の作業負担を大幅に減らすことが可能である。   On the other hand, in the program creation / execution system 100 of this embodiment, for example, only the customer number and customer name data are selected from the information registered in the data table 310 of the customer master of the test database 300, and the telephone number, The data of the person in charge is not selected, and only the former can be easily reflected in the implementation database 400. As a result, it is possible to greatly reduce the work burden on the program creator.

(4−5)
本発明は、テスト環境を提供するサーバーと運用環境を提供するサーバーとを分けたプログラム作成・実施システムに適用することも可能であるが、本実施形態のプログラム作成・実施システム100では、1つのサーバー200に内蔵あるいは外付けされる記憶部250に、実施用データベース400および試験用データベース300を置いている。このため、プログラムの開発作成、テスト、リリースといった一連の作業を1つのサーバー200で行うことが可能となっている。
(4-5)
The present invention can also be applied to a program creation / execution system in which a server that provides a test environment and a server that provides an operational environment are separated. An implementation database 400 and a test database 300 are placed in a storage unit 250 built in or externally attached to the server 200. Therefore, a series of operations such as program development / creation, testing, and release can be performed by one server 200.

(4−6)
本実施形態のプログラム作成・実施システム100では、完成プログラムのリリースの前に、サーバー200のデータ複製部280がプログラム作成者の意向を確認する(図4のステップS17参照)。具体的には、プログラムの動作確認テストにおいて入力したデータ、すなわち試験用データベース300の各データテーブルに格納されているデータの一部を実施用データベース400にコピーするか否かを、プログラム作成者に問う。
(4-6)
In the program creation / execution system 100 of this embodiment, the data replication unit 280 of the server 200 confirms the intention of the program creator before the release of the completed program (see step S17 in FIG. 4). Specifically, the program creator is asked whether or not to copy the data input in the program operation check test, that is, a part of the data stored in each data table of the test database 300 to the implementation database 400. Ask.

このように構成しているため、本実施形態のプログラム作成・実施システム100では、プログラムをリリースする前にはエンドユーザーに見せてはいけない、近い将来入社してくる新入社員の個人情報などを、エンドユーザーと切り離された試験用データベース300のみに蓄積することも可能である。そして、新入社員の入社後に、試験用データベース300の当該データを実施用データベース400にコピーさせることができる。   Because of this configuration, the program creation / execution system 100 according to the present embodiment, such as personal information of new employees who will join the company in the near future, should not be shown to the end user before releasing the program, It is also possible to store only in the test database 300 separated from the end user. Then, after the new employee joins the company, the data in the test database 300 can be copied to the implementation database 400.

もちろん、試験用データベース300と実施用データベース400とを1つのデータベースに統合することも不可能ではないが、その場合には、各データに、4月まではエンドユーザーに見えず4月以降はエンドユーザーに見えるようにするためのフラグ設定などが必要となり、データ容量が増えたりデータ入力の煩雑さが増したりするデメリットが生じてしまう。   Of course, it is not impossible to consolidate the test database 300 and the implementation database 400 into one database. In that case, however, each data is not visible to the end user until April, and the end of the database after April. It is necessary to set a flag to make it visible to the user, which causes a disadvantage that the data capacity increases and the complexity of data input increases.

100 プログラム作成・実施システム(プログラム作成システム)
250 記憶部
251 第1記憶領域(第1記憶部)
252 第2記憶領域(第2記憶部)
261 データベース生成部
280 データ複製部
281 第1複製処理部(第1データ複製処理部)
282 第2複製処理部(第2データ複製処理部)
300 試験用データベース
310,320,・・・ データテーブル(試験用ファイル)
400 実施用データベース
410,420,・・・ データテーブル(実施用ファイル)
100 Program creation / execution system (program creation system)
250 storage unit 251 first storage area (first storage unit)
252 Second storage area (second storage unit)
261 Database generation unit 280 Data replication unit 281 First replication processing unit (first data replication processing unit)
282 Second replication processing unit (second data replication processing unit)
300 Test database 310, 320, ... Data table (test file)
400 Implementation database 410, 420, ... Data table (execution file)

特開2012−216000号公報JP 2012-216000 A

Claims (5)

完成されたプログラムのユーザーが前記プログラムを実施するときに前記プログラムによってアクセスされる実施用データベース(400)、を記憶するための第1記憶部(251)と、
前記プログラムを作成する作成者が作成中の未完成プログラムを試験するときにアクセスされる、前記実施用データベースとは別の試験用データベース(300)、を記憶するための第2記憶部(252)と、
前記未完成プログラムを試験しているときに前記作成者によって入力され前記試験用データベースに格納されたデータから、一部のデータを前記作成者に選択させ、選択されたデータをコピーして前記実施用データベースに格納する、第1データ複製処理部(281)と、
を備える、プログラム作成システム(100)。
A first storage unit (251) for storing an implementation database (400) accessed by the program when a user of the completed program executes the program;
A second storage unit (252) for storing a test database (300) different from the implementation database, which is accessed when a creator who creates the program tests an incomplete program being created. When,
From the data input by the creator and stored in the test database when testing the incomplete program, the creator is allowed to select a part of the data, and the selected data is copied and the execution is performed. A first data replication processing unit (281) stored in the database for use;
A program creation system (100).
前記実施用データベースに格納されているデータから、一部のデータを前記作成者に選択させ、選択されたデータをコピーして前記試験用データベースに格納する、第2データ複製処理部(282)、
をさらに備える、請求項1に記載のプログラム作成システム。
A second data replication processing unit (282) for causing the creator to select a part of the data stored in the implementation database, copying the selected data and storing the selected data in the test database;
The program creation system according to claim 1, further comprising:
前記プログラムの作成開始時に、前記実施用データベースと前記試験用データベースとを同時に生成する、データベース生成部(261)、
をさらに備える、請求項1又は2に記載のプログラム作成システム。
A database generation unit (261) for simultaneously generating the implementation database and the test database at the start of the creation of the program;
The program creation system according to claim 1, further comprising:
前記試験用データベースは、データテーブルである試験用ファイル(310,320,・・・)を有し、
前記第1データ複製処理部は、前記試験用ファイルの中の一部のデータを前記作成者に選択させ、選択されたデータをコピーして前記実施用データベースに格納する、
請求項1から3のいずれかに記載のプログラム作成システム。
The test database has test files (310, 320,...) That are data tables,
The first data replication processing unit causes the creator to select a part of the data in the test file, and copies the selected data and stores it in the implementation database.
The program creation system according to any one of claims 1 to 3.
前記実施用データベースは、データテーブルである実施用ファイル(410,420,・・・)を有し、
前記第2データ複製処理部は、前記実施用ファイルの中の一部のデータを前記作成者に選択させ、選択されたデータをコピーして前記試験用データベースに格納する、
請求項2に記載のプログラム作成システム。
The implementation database has implementation files (410, 420,...) That are data tables,
The second data replication processing unit causes the creator to select a part of the data in the implementation file, and copies the selected data and stores it in the test database.
The program creation system according to claim 2.
JP2016072409A 2016-03-31 2016-03-31 Program creation system Active JP6662153B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016072409A JP6662153B2 (en) 2016-03-31 2016-03-31 Program creation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016072409A JP6662153B2 (en) 2016-03-31 2016-03-31 Program creation system

Publications (2)

Publication Number Publication Date
JP2017182662A true JP2017182662A (en) 2017-10-05
JP6662153B2 JP6662153B2 (en) 2020-03-11

Family

ID=60008549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016072409A Active JP6662153B2 (en) 2016-03-31 2016-03-31 Program creation system

Country Status (1)

Country Link
JP (1) JP6662153B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020088652A (en) * 2018-11-27 2020-06-04 アンリツ株式会社 Apparatus and method for measuring error rate

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63184829A (en) * 1987-01-27 1988-07-30 Fujitsu Ltd Retrieving system for data base system
JP2002049619A (en) * 2000-08-04 2002-02-15 Ricoh Co Ltd Device and method for copying document and recording medium recorded with program for operating method
JP2010011273A (en) * 2008-06-30 2010-01-14 Toshiba Corp Monitoring control system and monitoring control method
JP2010152459A (en) * 2008-12-24 2010-07-08 Canon It Solutions Inc Data masking system, method therefor, program, recording medium and data masking device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63184829A (en) * 1987-01-27 1988-07-30 Fujitsu Ltd Retrieving system for data base system
JP2002049619A (en) * 2000-08-04 2002-02-15 Ricoh Co Ltd Device and method for copying document and recording medium recorded with program for operating method
JP2010011273A (en) * 2008-06-30 2010-01-14 Toshiba Corp Monitoring control system and monitoring control method
JP2010152459A (en) * 2008-12-24 2010-07-08 Canon It Solutions Inc Data masking system, method therefor, program, recording medium and data masking device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020088652A (en) * 2018-11-27 2020-06-04 アンリツ株式会社 Apparatus and method for measuring error rate

Also Published As

Publication number Publication date
JP6662153B2 (en) 2020-03-11

Similar Documents

Publication Publication Date Title
US20200387372A1 (en) Microservice file generation system
JP2016029558A (en) Method of developing application to be executed in workflow management system, and device for supporting creation of application to be executed in workflow management system
TW201405452A (en) Workflow management device and workflow management method
WO2011088396A1 (en) Apparatus and method for constructing data applications in an unstructured data environment
US11120200B1 (en) Capturing unstructured information in application pages
US8548967B1 (en) System for visual query and manipulation of configuration management records
JP2008217651A (en) Design support device, design support method and program
WO2006030485A1 (en) Information control system, information control method and information control program
JP6223628B1 (en) Information management apparatus, information management method, and information management system
US8738584B2 (en) Context-aware management of shared composite data
JP6865942B1 (en) Programs, methods, information processing equipment, and systems
JP5352225B2 (en) Data reuse method, data reuse system, data reuse device, and data reuse program
JP6662153B2 (en) Program creation system
JP4997886B2 (en) Workflow linkage program and workflow management system
JP6665637B2 (en) Program creation support system
US10984119B2 (en) Simplifying data protection in CDS based access
JP2010257327A (en) Project management supporting device, project management supporting method, and project management supporting program
Lubis et al. Design approach in conference management system with ezdesk dashboard for digital ecosystem
JP2003288458A (en) Integrated project management tool
JP4220507B2 (en) Website update support apparatus, method and program
JP2020181516A (en) Template search system and template search method
JP6940343B2 (en) Distribution management system and distribution management method
CN116204267B (en) Method and device for generating intellectual property flow form
WO2008145981A2 (en) Information management systems
JP6951165B2 (en) Distribution management device, distribution management method and distribution management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200127

R151 Written notification of patent or utility model registration

Ref document number: 6662153

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151