JP6662153B2 - Program creation system - Google Patents
Program creation system Download PDFInfo
- Publication number
- JP6662153B2 JP6662153B2 JP2016072409A JP2016072409A JP6662153B2 JP 6662153 B2 JP6662153 B2 JP 6662153B2 JP 2016072409 A JP2016072409 A JP 2016072409A JP 2016072409 A JP2016072409 A JP 2016072409A JP 6662153 B2 JP6662153 B2 JP 6662153B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- program
- database
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
本発明は、プログラム作成システム、特に、データベースにアクセスするプログラムを作成するためのシステムに関する。 The present invention relates to a program creation system, and more particularly to a system for creating a program for accessing a database.
近年、企業等における情報化が進み、例えば社内の各種データをデータベースに格納し、人事、経理、製品開発管理、品質管理、顧客管理、設備管理、文書管理など、多用な業務に活用することが行われている。例えば、特許文献1(特開2012−216000号公報)には、電子文書共有システムが開示されている。この電子文章共有システムでは、エンドユーザー(社員)がデータベースに格納された電子文書の情報の検索を行うことができ、且つ、エンドユーザーに対して電子文書の各項目の閲覧や編集の操作に制限をかけることができ、検索結果を含むエンドユーザーのアクセス制限が可能である。 In recent years, information has been advanced in companies, etc., for example, various data in the company can be stored in a database and used for various tasks such as human resources, accounting, product development management, quality management, customer management, equipment management, document management, etc. Is being done. For example, Patent Document 1 (Japanese Patent Application Laid-Open No. 2012-216000) discloses an electronic document sharing system. In this electronic text sharing system, an end user (employee) can search for information of an electronic document stored in a database, and can restrict an end user from browsing and editing each item of the electronic document. And end-user access, including search results, can be restricted.
上述のような電子文書共有システムに係るプログラムや、その他のデータベースを活用するためのプログラムは、通常、コンピュータであるサーバーのCPUによって実行される。企業内の現実の各種データが格納されたデータベースを使うプログラムは、プログラム作成システムを用いて開発、作成されることが多い。そして、作成中のプログラムは、テスト環境において各種のテストを受ける。 Programs related to the above-described electronic document sharing system and programs for utilizing other databases are generally executed by a CPU of a server which is a computer. Programs that use a database that stores various actual data in a company are often developed and created using a program creation system. Then, the program being created undergoes various tests in a test environment.
このテスト環境において、現実の各種データが格納されたデータベース(以下、実施用データベースと言う。)を使うと、未完成のプログラムが予期せぬ処理を実行してしまい、不具合が生じることがある。例えば、現実の社員や顧客のメールアドレスを含む実施用データベースを使って作成中のプログラムをテストした場合、不要なメールが誤って配信されて社員や顧客に届いてしまう恐れがある。このため、プログラム作成システムでは、実施用データベースとは別に、試験用データベースを用意することが多い。この試験用データベースを使って、アプリケーション・ソフトウェア等のプログラムを作成する者は、例えば、操作画面における操作と試験用データベース内の各情報の入出力との関係を確認するテストを行う。 In this test environment, if a database storing actual various data (hereinafter, referred to as an implementation database) is used, an unfinished program may execute unexpected processing and cause a problem. For example, if a program being created is tested using an implementation database that includes the email addresses of real employees and customers, unnecessary emails may be erroneously delivered and reach employees and customers. For this reason, the program creation system often prepares a test database separately from the execution database. A person who creates a program such as application software using the test database performs, for example, a test for confirming the relationship between the operation on the operation screen and the input and output of each information in the test database.
そして、最近では、作成中のプログラムをテストする過程において、実施用データベースには含まれていない新しいデータを、試験用データベースに入力、格納することが多くなっている。テスト環境において入力され試験用データベースに格納された新しいデータの中には、テストを終えて完成したプログラムを企業内の実際の環境において実行するときに、実施用データベースにも必要となるデータが存在する。 In recent years, in the process of testing a program being created, new data that is not included in the execution 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 required for the execution database when the completed program after the test is executed in the actual environment in the company. I do.
しかし、従来のプログラム作成システムでは、実施用データベースを用いる実際の環境と、試験用データベースを用いるテスト環境とを区別しており、テスト環境で入力した試験用データベース内のデータを実際の環境で流用する場合には、手作業が必要となっている。 However, in the conventional program creation system, the actual environment using the execution 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 utilize 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 execution database is a database that is accessed by a completed program when the user of the program executes the program. The test database is a database accessed when testing an incomplete program. An unfinished program is a program that is being created by the creator of the program. The first data duplication processing unit causes the creator to select some data from the data stored in the test database, copies the selected data, and stores the copied data in the implementation database. The data stored in the test database is data input by the creator of the program when testing the incomplete program.
第1観点に係るプログラム作成システムでは、プログラムの作成中は、試験用データベースを使って未完成プログラムをテストし、完成されたプログラムが実施されるときには、実施用データベースが用いられる。そして、試験において入力され試験用データベースに格納されたデータの一部は、プログラムの作成者が選択することによって、コピーされて実施用データベースに格納される。この、作成者にデータの一部を選択させる処理と、選択されたデータを実施用データベースに格納する処理とは、第1データ複製処理部が行う。 In the program creation system according to the first aspect, an unfinished program is tested using the test database during creation of the program, and when the completed program is executed, the execution database is used. Then, a part of the data input in the test and stored in the test database is copied and stored in the execution database by the selection of the program creator. The first data duplication 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観点に係るプログラム作成システムでは、試験用データベースに格納されたデータを容易に活用することができる。 Here, the first data duplication processing unit is provided to perform the above two processes, so that the creator of the program only selects a part of the data in the test database, and the program creator selects the data. Reflected in the database. As described above, the program creation system according to the first aspect can easily utilize data stored in the test database.
本発明の第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, further comprising a second data replication processing unit. The second data duplication processing unit causes the creator to select some data from the data stored in the implementation database, copies the selected data, and stores the copied data 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 execution database. Just do it and it will be reflected in the other database. That is, when the creator of the program selects a part of the data in the test database or the test database, data copy processing is performed between the test database and the test database. Therefore, it is easy to use the data stored in the test database and to use the data stored in the test database.
本発明の第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, further comprising a database generation unit. The database generation unit simultaneously generates an execution 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 the database, an implementation database accessed by a completed program and a test database accessed by an unfinished program are generated. For this reason, the creator of the program 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 for 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 to third aspects, wherein the test database has a test file of a data table. Then, the first data duplication processing unit causes the creator to select some data in the test file, copies the selected data, and stores the copied data in the implementation database.
第4観点に係るプログラム作成システムでは、手動ではコピー等の作業が繁雑な試験用ファイルの中の一部のデータを、選択によって実施用データベースにコピー、格納することができる。 In the program creation system according to the fourth aspect, it is possible to selectively copy and store a part of the data in the test file which is complicated in operations such as copying manually in the execution database.
本発明の第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, wherein the implementation database has an implementation file of a data table. Then, the second data duplication processing unit causes the creator to select some data in the execution file, copies the selected data, and stores the copied data 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 execution file, which is complicated in manual operations such as copying, in the test database by selection.
第1観点に係るプログラム作成システムによれば、プログラムの作成者が試験用データベース内のデータの一部を選択するだけで、それが実施用データベースに反映される。これにより、第1観点に係るプログラム作成システムでは、容易に試験用データベースに格納されたデータを活用することができる。 According to the program creation system of the first aspect, the program creator simply selects a part of the data in the test database, and the data is reflected in the execution database. Thus, the program creation system according to the first aspect can easily utilize the data stored in the test database.
本発明の第2観点に係るプログラム作成システムによれば、プログラムの作成者が試験用データベース内あるいは実施用データベース内のデータの一部を選択することで、試験用データベース・実施用データベースの間で相互にデータのコピーの処理が行われる。したがって、試験用データベースに格納されたデータの活用も、実施用データベースに格納されているデータの活用も容易になる。 According to the program creating system according to the second aspect of the present invention, the creator of the program selects a part of the data in the test database or the test database, thereby allowing the test database and the test database to be exchanged. Data copy processing is performed mutually. Therefore, it is easy to use the data stored in the test database and to use the data stored in the test database.
本発明の第3観点に係るプログラム作成システムによれば、プログラムの作成者は、自ら手動で実施用データベースを作ったり、実施用データベースを手動でコピーして試験用データベースを作ったりする煩雑な作業を行う必要がない。 According to the program creation system according to the third aspect of the present invention, the creator of the program manually composes the execution database manually or manually copies the execution database to create a test database. No need to do.
本発明の第4観点に係るプログラム作成システムによれば、手動ではコピー等の作業が繁雑な試験用ファイルの中の一部のデータを、選択によって実施用データベースにコピー、格納することができる。 According to the program creation system according to the fourth aspect of the present invention, it is possible to copy and store a part of data in a test file, which is complicated in manual operations such as copying, by selection in the execution database.
本発明の第5観点に係るプログラム作成システムによれば、手動ではコピー等の作業が繁雑な実施用ファイルの中の一部のデータを、選択によって試験用データベースにコピー、格納することができる。 According to the program creating system according to the fifth aspect of the present invention, it is possible to selectively copy and store a part of data in an execution file, which is complicated in operations such as copying manually, in a test database by selection.
本発明の一実施形態に係るプログラム作成・実施システム100について、図面を参照しながら説明する。なお、以下の説明は、本発明に係るプログラム作成システムの1つの例に過ぎず、本発明の要旨を変更しない範囲で適宜変更可能である。
A program creation /
(1)全体概要
本実施形態のプログラム作成・実施システム100は、データベースに情報を登録し、登録された情報を活用するプログラム(アプリケーション・ソフトウェア)を作成するために用いられる。また、プログラム作成・実施システム100は、作成されたプログラムを、作成中のテスト環境ではなく、実際の運用環境で実行させて実施状態にするためのシステムでもある。
(1) Overall Overview The program creation /
本実施形態では、プログラム作成・実施システム100により作成されるプログラムとして、顧客管理用のプログラムの作成を例にとって説明する。但し、上述のように、プログラム作成・実施システム100により生成されるプログラムは、顧客管理用のプログラムに限定されるものではなく、社員管理や文書管理、製品開発案件の管理など、他の用途に用いられるプログラムであってもよい。プログラム作成・実施システム100では、多種多様のプログラムの作成が可能である。
In the present embodiment, as an example of a program created by the program creation and
本実施形態のプログラム作成・実施システム100は、プログラム作成者が、ノンプログラミング環境で、プログラムを作成することを可能とするシステムである。言い換えれば、プログラム作成・実施システム100は、プログラム作成者が、コーディングを行うことなく、プログラムを作成することを可能とするシステムである。コーディングとは、プログラミング言語を用いて、コンピュータが処理可能な形式のプログラムを記述することをいう。プログラム作成・実施システム100では、GUI(Graphical User Interface)の操作により、予め準備されたブログラム部品(プログラムパターン)を組み合わせて、SQL(Structured Query Language)等のプログラム言語で記述されたプログラムを生成する。例えば、プログラム作成・実施システム100では、プログラム作成者は、プログラム作成用画面において、予め準備されたブログラム部品を、ドラッグ・アンド・ドロップ等のマウス操作で並べて配置することで、所望の処理を実行するプログラムを生成する。
The program creation /
なお、作成されるプログラムの言語は、SQLに限定されるものではない。また、ここでのノンプログラミング環境とは、プログラム作成者が全くコーディングを行わない環境に限定されるものではない。プログラム作成者は、プログラム作成・実施システム100を用いてプログラムを生成する際に、コーディングにより少なくともプログラムの一部を作成してもよい。
The language of the created program is not limited to SQL. The non-programming environment here is not limited to an environment in which the program creator does not perform any coding. When creating a program using the program creation /
図1は、プログラム作成・実施システム100の物理的構成を示すブロック図である。プログラム作成・実施システム100は、主にサーバー200を有する。
FIG. 1 is a block diagram showing a physical configuration of the program creation /
サーバー200は、CPU201、出力部210、受付部220、入力部230、表示部240、揮発性メモリおよび不揮発性メモリを含む記憶部250、通信部(図示せず)などから構成されているコンピュータである。記憶部250に保存されているプログラム作成支援用のソフトウェアが実行されると、サーバー200のCPU201は、プログラム作成機能を提供するための制御部となる。制御部となったCPU201は、プログラム作成支援部260、データ複製部280などの機能部として働く。
The
なお、サーバー200は、プログラム作成支援用のソフトウェアではなく、記憶部250に保存されている他のプログラム(本実施形態のプログラム作成・実施システム100により作成される顧客管理用のプログラムを含む)が実行された場合には、そのCPU201が他のプログラムによる処理を行うための各機能部として働く。これにより、上述のように、作成されたプログラムを実際の運用環境で実行させ実施状態にすることができる。例えば顧客管理用プログラムを実行させて実施状態にすれば、プログラム作成・実施システム100は、顧客管理システムとしての機能を果たすことになる。
The
サーバー200は、プログラムの開発、作成を行う者(以下、プログラム作成者と言う。)が用いるクライアント端末10A,10B,10Cと接続されている。プログラム作成者は、クライアント端末10A,10B,10Cから、ネットワーク50を介してプログラム作成・実施システム100を利用し、プログラムの作成を行う。なお、図1では、プログラム作成・実施システム100が3台のクライアント端末10A,10B,10Cとネットワーク50を介して接続されているが、クライアント端末の台数は例示に過ぎず、これに限定されるものではない。
The
なお、サーバー200が上述のように顧客管理用プログラムを実行させて実施状態にすれば、クライアント端末10A,10B,10Cは、顧客管理システムとして機能するプログラム作成・実施システム100を使うエンドユーザーが検索や入出力を行う端末として利用されることになる。
If the
本実施形態では、ネットワーク50は、インターネットである。ただし、ネットワーク50は、インターネットに限定されるものではない。ネットワーク50は、LAN(Local Area Network)や、イントラネット等であってもよい。
In the present embodiment, the
(2)詳細説明
(2−1)クライアント端末
プログラム作成時において、クライアント端末10A,10B,10Cは、サーバー200からプログラム作成支援機能の提供を受けるコンピュータである。
(2) Detailed Description (2-1) Client Terminal At the time of program creation, the
クライアント端末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
なお、クライアント端末10A,10B,10Cは、全て同様に構成されている。このため、クライアント端末10Aについてのみ(クライアント端末10Aの入力部20Aおよび表示部30Aについてのみ)以下で説明し、他のクライアント端末10B,10Cについての説明は省略する。
The
(2−1−1)入力部
入力部20Aは、プログラム作成者やエンドユーザー(作成された顧客管理用のアプリケーションプログラムの利用者)が、後述する表示部30Aに表示される操作画面に対して操作を行う際に用いる入力装置である。
(2-1-1) Input Unit The
表示部30Aに表示される操作画面において入力部20Aから行われる操作は、後述するサーバー200の試験用データベース300のデータテーブル310−350の情報を変更するための所定操作を含む。また、入力部20Aから行われる操作は、後述する図4のステップS11,S16,S17におけるプログラム作成者による回答入力や選択入力の操作を含む。
The operation performed from the
入力部20Aを用いた、表示部30Aに表示される操作画面における操作は、ネットワーク50を介して、後述するサーバー200の受付部220により受け付けられる。
The operation on the operation screen displayed on the
(2−1−2)表示部
表示部30Aは、プログラム作成者やエンドユーザーに対して各種情報を提示するため、各種画面を表示する。
(2-1-2) Display Unit The
ここでは、プログラム作成者がプログラム作成・実施システム100を用いて作成したプログラムのテストを行う際に表示部30Aに表示される表示内容について説明する。特に、ここでは、所定操作をその画面上で行うとサーバー200の試験用データベース300のデータテーブル310−350の情報が変更される操作画面において、所定操作を行った場合のプログラムの動作確認テストが実施される時に、表示部30Aに表示される表示内容について説明する。
Here, the display contents displayed on the
動作確認テストの際、表示部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により表示内容が制御される。
At the time of the operation check test, an
以下、各画面32A、34A、36Aについて、図2を用いて説明する。
Hereinafter, each of the
(2−1−2−1)操作画面
図2には、後述するサーバー200の試験用データベース300に存在する顧客マスタという名前のデータテーブルに新規情報を登録するための操作画面32A、が描画されている。操作画面32Aは、プログラムが完成した際には、完成したプログラムのエンドユーザーが実際に利用する画面である。
(2-1-2-1) Operation Screen FIG. 2 shows an
操作画面32Aは、データテーブルの情報に関する操作画面の一例である。操作画面32Aにおいて、表示されるテキストボックスに入力部20Aの一例であるキーボードから顧客ナンバー、顧客名、電話番号、担当者を入力し、表示される「保存」ボタンを入力部20Aの一例であるマウスによりクリックするという操作を行うことができる。操作画面32Aにおいてこのような所定操作が行われると、操作画面32Aのテキストボックスに入力された情報を顧客マスタという名前のデータテーブルに新たに登録する処理が行われるように、操作画面32Aは作成されている。具体的には、例えば、操作画面32Aにおいて情報の登録の操作が1回行われると、図3のような顧客マスタのデータテーブルにおいて、1行分の情報が新たに登録されるよう、操作画面32Aは作成されている。
The
なお、プログラム作成・実施システム100を用いて作成される操作画面は、操作画面32Aに限定されるものではない。プログラム作成・実施システム100を用いて作成される操作画面は、操作画面32Aに代えて、又は、操作画面32Aに加えて、データテーブルの情報の内容変更(更新)や、データテーブルからの情報の削除のために用いられる画面を含んでもよい。
Note that the operation screen created using the program creation /
例えば、データテーブルの情報の内容変更(更新)のための操作画面は、更新対象の情報を特定するために用いられる顧客ナンバーや、更新内容の入力に用いられるテキストボックスや、データテーブルの情報の更新処理を行わせるための「更新」ボタン等を表示する。例えば、データテーブルの情報の削除のための操作画面は、削除対象の情報を特定するために用いられる顧客ナンバーの入力に用いられるテキストボックスや、データテーブルの情報の削除処理を行わせるための「削除」ボタン等を表示する。 For example, the operation screen for changing (updating) the content of the information in the data table includes a customer number used to specify the information to be updated, a text box used to input the updated content, and information of the data table. An "update" button for performing an update process is displayed. For example, an operation screen for deleting information in the data table includes a text box used for inputting a customer number used to specify information to be deleted, and a “deletion 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 the 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
なお、動作確認テストの際、操作画面32Aにおいて操作を行うと発生するエラーであって、試験用データベース300のデータテーブル310−350の情報の変更には関係しないエラーについては、プログラム作成者が、表示部30A上の操作画面32Aが表示されている領域を見ることで確認できる。例えば、操作画面32Aにおいて「保存」ボタンを押すと、操作画面32A以外の画面(例えば確認画面)がポップアップ表示されるようにプログラムが設計されている場合、プログラム作成者は、この画面が表示されないことを表示部30A上で確認できる。
In the operation check test, an error that occurs when an operation is performed on the
(2−1−2−2)第1履歴画面
第1履歴画面34Aは、操作画面32Aにおける所定操作に応じたデータテーブルの変更履歴を示す履歴画面の一例である。
(2-1-2-2) First History Screen The
第1履歴画面34Aには、サーバー200の試験用データベース300が有するデータテーブル(データテーブル310−350)の名称の一覧が表示される。例えば、図2の第1履歴画面34Aは、試験用データベース300が、「受注」、「受注明細」、「顧客マスタ」、「社員マスタ」、「製品マスタ」という名前のデータテーブルを有することを示している。
On the
また、第1履歴画面34Aには、各データテーブルの名称と対応付けて(図2では名称の右に隣接して)、データテーブルの変更履歴としてメッセージM1が表示される。なお、図2の第1履歴画面34Aでは、「社員マスタ」および「製品マスタ」という名前のデータテーブルについては情報の変更が行われていない場合を仮定している(これらのデータテーブルの情報は、参照のみされることを仮定している)。そのため、「社員マスタ」および「製品マスタ」という文字の横にはメッセージM1は表示されていない。
Further, on the
メッセージM1は、メッセージM1が付されたデータテーブルにおいて直近に実行された情報の変更の要約を示している。メッセージM1は、データテーブルにおいて、情報の登録、情報の内容変更(更新)、および情報の削除のうち、いずれの情報の変更が直近に実行されたのかという情報を内容に含む。また、メッセージM1は、直近に変更された情報の件数の情報を内容に含む。例えば、図3のようなデータテーブルが存在する場合、メッセージM1は、このデータテーブルにおいて、何行分の情報が、登録、内容変更(更新)又は削除されたかという情報を内容に含む。 Message M1 shows a summary of the most recently executed information change in the data table to which message M1 is attached. The message M1 includes, in the data table, the information indicating which of the information registration, the information content change (update), and the information deletion was performed most recently. Further, the message M1 includes information on the number of recently changed information in the content. For example, when a data table as shown in FIG. 3 exists, the message M1 includes information on how many lines of information have been 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
また、第2履歴画面36Aは、データテーブルの変更履歴に加え、データテーブルの参照履歴も示す。第2履歴画面36Aに表示されるデータテーブルの参照履歴は、データテーブルの情報が、何らかの処理のためにサーバー200のプログラム作成支援部260により参照された履歴を示す。データテーブルの情報の参照では、データテーブルの情報の変更は行われない。
The
第2履歴画面36Aには、例えば、操作画面32Aにおける所定操作に応じたデータテーブルの変更履歴、および、データテーブルの参照履歴が、直近の履歴がリストの先頭に表示されるように、時間順にリスト形式で表示される。つまり、第2履歴画面36Aでは、データテーブルの変更履歴は、データテーブル別ではなく、時間順に並べて表示される。また、第2履歴画面36Aでは、データテーブルの変更履歴と、データテーブルの参照履歴とは、別々に表示されるのではなく、変更履歴および参照履歴が、時間順に並べて表示される。なお、変更履歴および参照履歴が増え過ぎて、全てを同時に表示部30Aに表示できない場合には、画面をスクロールさせることで、全ての変更履歴および参照履歴が参照できるように第2履歴画面36Aは構成されている。
On the
第2履歴画面36Aでは、データテーブルの変更履歴は、メッセージM2を用いて表示される。変更履歴を示すメッセージM2には、どのデータテーブルの情報が変更されたのか、どのような情報の変更(登録、内容変更(更新)、削除)が行われたのか、何件の情報が変更されたのかをメッセージの内容に含む。また、第2履歴画面36Aでは、データテーブルの参照履歴も、メッセージM2を用いて表示される。参照履歴を示すメッセージM2には、どのデータテーブルの情報が参照されたのか、何件の情報が参照されたのかをメッセージの内容に含む。
On the
第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
(2−2)サーバー
サーバー200は、プログラム作成者が使うクライアント端末10A,10B,10Cに対して、プログラム作成支援機能を提供するコンピュータである。
(2-2) Server The
サーバー200は、上述のように、CPU201、出力部210、受付部220、キーボードやマウス等の入力部230、ディスプレイ等の表示部240、メモリやハードディスクから成る記憶部250、などから構成されているコンピュータである。
As described above, the
(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
出力部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 on the
(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) Receiving Unit The data table of the
受付部220は、複数のクライアント端末10A,10B,10Cの表示部30A,30B,30Cのそれぞれに表示させられる操作画面における所定操作を、表示部30A,30B,30C別に受け付ける。
The
受付部220は、データテーブル310−350の情報に関する操作画面における所定操作を受け付けると、所定操作に関する情報を、後述するプログラム作成支援部260のコマンド生成部264に送信する。所定操作に関する情報には、所定操作の内容(試験用データベース300のデータテーブル310−350のいずれに対して、どのような情報の変更を行うか)に関する情報を含む。
Upon receiving a predetermined operation on the operation screen related to the information in the data tables 310 to 350, the receiving
また、受付部220は、後述する図4のステップS11,S16,S17におけるプログラム作成者による回答操作や選択操作を受け付けると、その情報を後述するデータベース生成部261やデータ複製部280に伝える。
Further, when accepting an answer operation or a selection operation by the program creator in steps S11, S16, and S17 in FIG. 4 described later, the accepting
(2−2−3)記憶部
記憶部250は、CPU201にプログラム作成支援処理やデータ複製処理を行わせるための、プログラム作成支援用のソフトウェアを記憶している。
(2-2-3) Storage Unit The
また、記憶部250には、プログラム作成・実施システム100を機能させるために必要な各種情報等が記憶されている。
Further, the
さらに、記憶部250は、以下で説明する、実施用データベース400を記憶するための第1記憶領域251と、その実施用データベース400とは別の試験用データベース300を記憶するための第2記憶領域252とを有している。
Further, the
(2−2−3−1)データベース
実施用データベース400および試験用データベース300は、後述するデータベース生成部261によって生成され、記憶部250に記憶される。実施用データベース400は、記憶部250の第1記憶領域251に記憶され、試験用データベース300は、記憶部250の第2記憶領域252に記憶される。
(2-2-3-1) Database The
試験用データベース300は、作成中の未完成プログラムを試験するときに、その未完成プログラムによってアクセスされるデータベースである。試験用データベース300は、プログラム作成・実施システム100を用いてプログラムを作成する際に定義されることになるデータテーブル310,320,330,340,350を含む。なお、図2では、試験用データベース300には、5つのデータテーブル310−350を含むが、データテーブルの数は例示された数量に限定されるものではない。
The
実施用データベース400は、完成されたプログラムを実行し、プログラムが提供するサービス(例えば、顧客管理用プログラムであれば、検索機能も含む顧客管理サービス)をエンドユーザーが受ける際に、そのプログラムによってアクセスされるデータベースである。実施用データベース400も、試験用データベース300と同様に、データテーブル410,420・・・を含む。
The
(2−2−4)プログラム作成支援部
プログラム作成支援部260は、上記のプログラム作成支援用のソフトウェアが実行されると制御部として働くCPU201における1つの機能部であり、プログラム作成支援のための各種処理を行う。特に、ここでは、プログラム作成支援部260の実行する処理のうち、プログラム作成開始時においてデータベース作成を行うデータベース生成部261による処理と、動作確認テストに関連する各処理とを説明する。動作確認テストに関して、プログラム作成支援部260は、操作画面生成部262、コマンド生成部264、変更部266、および履歴画面生成部268として機能する。
(2-2-4) Program Creation Support Unit The program
(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
なお、後述するようにデータ複製部280を設けているため、プログラム作成・実施システム100では、試験用データベース300と実施用データベース400との間で相互に部分的なデータコピーが可能となっている。
Since the
(2−2−4−2)操作画面生成部
操作画面生成部262は、動作確認テストの際に、出力部210が各クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させる、データテーブルの情報に関する操作画面を生成する。
(2-2-4-2) Operation Screen Generation Unit The operation
操作画面生成部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
また、操作画面生成部262は、後述する図4のステップS11,S16,S17において、プログラム作成者への問い合わせ画面や、コピーするデータの選択画面を生成する。
The operation
(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
コマンド生成部264は、受付部220から所定操作に関する情報を受け付けると、その所定操作に対応するコマンドを生成する。例えば、コマンド生成部264が、データテーブル310に顧客ナンバー「0000003」、顧客名「有限会社CCC」、電話番号「ZZ−ZZZZ−ZZZZ」、担当者「FFF様」という情報を新たに登録するという所定操作に関する情報を受け付けた場合には、データテーブル310に対してそのような処理を後述する変更部266に実行させるコマンドを生成する。
When receiving information on a predetermined operation from the
コマンド生成部264により生成されるコマンドには、データテーブル310−350のいずれかへの情報の登録、データテーブル310−350のいずれかの情報の内容変更(更新)、およびデータテーブル310−350からの情報の削除、を含む。
The commands generated by the
また、コマンド生成部264は、受付部220から所定操作に関する情報を受け付けると、所定操作が行われたクライアント端末10A,10B,10Cを特定するための情報と、上記のようにして作成したコマンドと、を履歴画面生成部268に送信する。
Further, when the
(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) Change Unit The
(2−2−4−5)履歴画面生成部
履歴画面生成部268は、動作確認テストの際に、出力部210が各クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させる履歴画面を生成する。履歴画面は、各クライアント端末10A,10B,10Cの表示部30A,30B,30Cに表示させられる操作画面における所定操作に応じた、データテーブルの変更履歴を示す画面である。
(2-2-4-5) History Screen Generating Unit The history
ここでは、履歴画面生成部268が、クライアント端末10Aの表示部30Aに表示させるための履歴画面を生成する場合を例に説明する。ここでは、履歴画面生成部268は、図2のような、第1履歴画面34Aおよび第2履歴画面36Aを生成するものとする。
Here, the case where the history
履歴画面生成部268は、データテーブル310−350の変更履歴として第1履歴画面34Aおよび第2履歴画面36に表示させるための、メッセージM1およびメッセージM2を生成する。メッセージM1およびメッセージM2は、履歴画面生成部268の機能部である、メッセージ生成部268aにより生成される。
The history
クライアント端末10Aにおいて動作確認テストが実施される際、出力部210は、履歴画面生成部268により生成された第1履歴画面34Aおよび第2履歴画面36A(メッセージM1およびメッセージM2を含む)を、操作画面生成部262が生成する操作画面と同時に、クライアント端末10Aの表示部30Aに表示させる。
When the operation check test is performed on the
また、履歴画面生成部268は、受付部220が前述の指定操作を受け付けた場合に、クライアント端末10Aの表示部30Aに表示させる、データテーブル310−350の情報の変更内容又は参照内容の詳細を表示する画面を生成する。データテーブル310−350の情報の変更内容又は参照内容の詳細を表示する画面は、履歴画面生成部268の機能部である、詳細表示生成部268bにより生成される。
In addition, when the receiving
出力部210は、クライアント端末10Aにおいて動作確認テストが実施され、かつ受付部220が指定操作を受け付けた場合、詳細表示生成部268bが生成したデータテーブル310−350の情報の変更内容又は参照内容の詳細を表示する画面を、クライアント端末10Aの表示部30Aに表示させる。
When the operation confirmation test is performed on the
(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 The
例えば、上述の動作確認テストの際に、操作画面32Aを見ながら入力された顧客ナンバー、顧客名、電話番号、担当者のデータが顧客マスタという名のデータテーブル310に登録されるが、その図3のような顧客マスタのデータテーブル310に登録された情報(データ)が、プログラム作成者によって入力されたデータである。
For example, at the time of the above-described operation check test, data of the customer number, customer name, telephone number, and person in charge entered while looking at the
また、第1複製処理部281は、試験用データベース300の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして実施用データベース400に格納することができる。例えば、上述の試験用データベース300の顧客マスタのデータテーブル310に登録された顧客ナンバー、顧客名、電話番号、担当者のデータの中から、プログラム作成者が、実際の運用情報に基づいて入力した顧客ナンバーおよび顧客名のデータを選択し、架空の数字や名前を入力した電話番号および担当者のデータを選択しなかったとする。この場合には、第1複製処理部281が、試験用データベース300の顧客マスタのデータテーブル310から顧客ナンバーおよび顧客名のデータだけを抽出してコピーし、それらのデータを実施用データベース400の顧客マスタのデータテーブル410に格納する。
In addition, the first
同様に、第2複製処理部282は、実施用データベース400の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして試験用データベース300に格納することができる。
Similarly, the second
(3)プログラム作成・実施システムによるプログラム作成の処理の流れ
次に、図4を参照しながら、プログラム作成・実施システム100を用いたプログラム作成の流れについて説明する。ここでは、プログラム作成者がクライアント端末10Aを使って作業していると仮定して説明を進める。
(3) Process Flow of Program Creation by Program Creation / Execution System Next, a flow of program creation using the program creation /
プログラム作成を開始すると、他のプログラムがアクセスしている既存の実施用データベースを利用(流用)するか否かを問う画面が、クライアント端末10Aの表示部30Aに現れる(ステップS11)。ここでプログラム作成者がYESを入力すると、プログラム作成者が選択した既存の実施用データベースがコピーされ、それが試験用データベースになる(ステップS12)。ここで、プログラム作成者は、既存の実施用データベースの全てのデータをコピーして試験用データベースを生成させることができる。また、プログラム作成者は、既存の実施用データベースの中の所定のデータテーブルをファイル単位で選択して、あるいは、所定のデータテーブル内のデータの一部だけを選択して、試験用データベースを生成させることもできる。
When the program creation is started, a screen asking whether to use (diverte) the existing execution database accessed by another program appears on the
ステップS11においてプログラム作成者がNOを入力すると、新しい実施用データベース400および試験用データベース300が生成される(ステップS13)。図1に示す記憶部250の第1記憶領域251に実施用データベース400が記憶され、第2記憶領域252に試験用データベース300が記憶される。これらの実施用データベース400および試験用データベース300は、生成時点においては同じものである。
If the program creator inputs NO in step S11, a
ステップS12あるいはステップS13の後、ステップS14に移行し、プログラム作成者が、サーバー200のプログラム作成支援部260の機能を用いてプログラム作成を行う。上述のように、プログラム作成・実施システム100では、GUIの操作により、予め準備されたブログラム部品を組み合わせて、SQL等のプログラム言語で記述されたプログラムを生成することができる。
After step S12 or step S13, the process proceeds to step S14, and the program creator creates a program using the function of the program
また、プログラム作成者は、ステップS15で作成中の未完成プログラムの試験を行う。具体的には、上述の動作確認テストを行う。 Further, the program creator performs a test on the unfinished 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, where the program creator determines that the program being created is completed, and inputs it from the
ステップS17では、完成したプログラムのリリースの前に、サーバー200のデータ複製部280がプログラム作成者の意向を確認する。具体的には、データ複製部280は、プログラムの動作確認テストにおいて入力したデータ、すなわち試験用データベース300の各データテーブルに格納されているデータの一部を実施用データベース400にコピーするか否かを問う画面を、クライアント端末10Aの表示部30Aに表示させる。ここでプログラム作成者がYESを入力した場合、ステップS18に移行し、データ複製部280の第1複製処理部281が、試験用データベース300のデータの一部を実施用データベース400にコピーして格納する。より詳細には、上述のように、第1複製処理部281は、試験用データベース300の各データテーブルの中の一部のデータをプログラム作成者に選択させ、あるいは、試験用データベース300のデータテーブルを選択させ、その選択されたデータをコピーして実施用データベース400に格納する。
In step S17, before the release of the completed program, the
これにより、完成したプログラムが実行されたときに、そのプログラムがアクセスする実施用データベース400には既に動作確認テスト時に入力したデータが存在することになる。このため、完成プログラムが実行され実施状態に置かれた後の運用段階において、エンドユーザーが重複して同じデータを入力しなければならない、という不具合が解消される。
As a result, when the completed program is executed, the data entered at the time of the operation check test already exists in the
(4)プログラム作成・実施システムの特徴
(4−1)
作成中のプログラムを試験するときにプログラムがアクセスするデータベースと、実際にプログラムを実行させてプログラムを実施状態に置いたときにプログラムがアクセスするデータベースとを共通化してしまうと、未完成のプログラムが試験時に予期せぬ処理を行って不具合が生じる。このことに鑑み、従来からプログラムのテスト環境と運用環境とを区別し、例えばテスト環境を提供するサーバーと運用環境を提供するサーバーとを分けていることが多い。そして、プログラム作成者は、テスト環境で使う試験用データベースと、運用環境で使う実施用データベースとの間でデータを合わせるために、従来は手作業でデータのコピーを行っている。この作業の負担は大きい。
(4) Features of the program creation and execution system (4-1)
If the database accessed by the program when testing the program being created and the database accessed by the program when the program is actually executed and the program is put into the execution state are shared, the unfinished program will be Failure occurs due to unexpected processing during the test. In view of this, a test environment and an operating environment of a program are conventionally distinguished from each other, for example, a server that provides a test environment and a server that provides an operating environment are often separated. Conventionally, a program creator manually copies data in order to match data between a test database used in a test environment and an execution database used in an operation environment. The burden of this work is heavy.
また、手作業のデータのコピーは、従来、運用環境で使っている実施用データベースの全体をバックアップし、そのバックアップのデータをテスト環境で復元するという方法で行っていることが多い。 Further, in many cases, manual copying of data is conventionally performed by backing up the entire implementation database used in the operation environment and restoring the backup data in the test environment.
このため、従来は、テスト環境で入力、構築した試験用データベース内のデータを、容易には運用環境に反映させることはできなかった。 For this reason, conventionally, 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 program creating / executing
このように、プログラム作成・実施システム100では、プログラム作成者が試験用データベース300内のデータの一部を選択するだけで、それが実施用データベース400に反映される。したがって、プログラム作成・実施システム100によれば、作成中のプログラムの試験時に入力され試験用データベース300に格納されたデータを、容易に実施用データベース400に反映させて活用することができる。
As described above, in the program creating / executing
(4−2)
また、本実施形態のプログラム作成・実施システム100では、第1複製処理部281に加え、第2複製処理部282を備えるため、プログラム作成者が試験用データベース300内あるいは実施用データベース400内のデータの一部を選択するだけで、それが他方のデータベースに反映される。すなわち、プログラム作成者が試験用データベース300内あるいは実施用データベース400内のデータの一部を選択することで、試験用データベース300・実施用データベース400の間で相互にデータのコピーの処理が行われる。したがって、試験用データベース300に格納されたデータの活用も、実施用データベース400に格納されているデータの活用も、容易になっている。
(4-2)
Further, since the program creation /
(4−3)
本実施形態のプログラム作成・実施システム100では、プログラム作成者が望む場合、プログラムの作成開始時に、具体的には図4に示すステップS13において、完成されたプログラムがアクセスする実施用データベース400も、未完成プログラムがアクセスする試験用データベース300も、同時に生成される。このため、プログラム作成者は、自ら手動で実施用データベースを作ったり、プログラムの作成開始時に実施用データベースを手動でコピーして試験用データベースを作ったりする煩雑な作業を行う必要がなくなっている。
(4-3)
In the program creation /
(4−4)
本実施形態のプログラム作成・実施システム100では、データ複製部280の第1複製処理部281は、試験用データベース300の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして実施用データベース400に格納することができる。また、第2複製処理部282は、実施用データベース400の各データテーブルの中の一部のデータをプログラム作成者に選択させ、選択されたデータをコピーして試験用データベース300に格納することができる。
(4-4)
In the program creation /
上述のように、従来、試験用データベースと実施用データベースとの間でデータを合わせるために、手作業でデータのコピーを行っているという実態が存在する。しかし、データベース全体をコピーすることは容易でも、データテーブルを選んで手作業でコピーすることは容易ではなかった。さらに、データテーブルの中の一部のデータだけを手作業で抽出し、それを他方のデータベースの同様のデータテーブル内に格納させることは、非常に困難でミスが生じやすい作業であった。 As described above, conventionally, there is an actual situation in which data is manually copied in order to match data between the test database and the execution database. However, although it was easy to copy the entire database, it was not easy to select a data table and copy it manually. Furthermore, manually extracting only some of the data in a data table and storing it in a similar data table in the other database has been a very difficult and error prone task.
これに対し、本実施形態のプログラム作成・実施システム100では、例えば試験用データベース300の顧客マスタのデータテーブル310に登録された情報から、顧客ナンバーおよび顧客名のデータだけを選択し、電話番号、担当者のデータは非選択として、前者だけを実施用データベース400に反映させることも容易にできるようになっている。これにより、プログラム作成者の作業負担を大幅に減らすことが可能である。
On the other hand, in the program creating / executing
(4−5)
本発明は、テスト環境を提供するサーバーと運用環境を提供するサーバーとを分けたプログラム作成・実施システムに適用することも可能であるが、本実施形態のプログラム作成・実施システム100では、1つのサーバー200に内蔵あるいは外付けされる記憶部250に、実施用データベース400および試験用データベース300を置いている。このため、プログラムの開発作成、テスト、リリースといった一連の作業を1つのサーバー200で行うことが可能となっている。
(4-5)
The present invention can be applied to a program creation / execution system in which a server that provides a test environment and a server that provides an operation environment are separated. An
(4−6)
本実施形態のプログラム作成・実施システム100では、完成プログラムのリリースの前に、サーバー200のデータ複製部280がプログラム作成者の意向を確認する(図4のステップS17参照)。具体的には、プログラムの動作確認テストにおいて入力したデータ、すなわち試験用データベース300の各データテーブルに格納されているデータの一部を実施用データベース400にコピーするか否かを、プログラム作成者に問う。
(4-6)
In the program creation /
このように構成しているため、本実施形態のプログラム作成・実施システム100では、プログラムをリリースする前にはエンドユーザーに見せてはいけない、近い将来入社してくる新入社員の個人情報などを、エンドユーザーと切り離された試験用データベース300のみに蓄積することも可能である。そして、新入社員の入社後に、試験用データベース300の当該データを実施用データベース400にコピーさせることができる。
With such a configuration, in the program creation /
もちろん、試験用データベース300と実施用データベース400とを1つのデータベースに統合することも不可能ではないが、その場合には、各データに、4月まではエンドユーザーに見えず4月以降はエンドユーザーに見えるようにするためのフラグ設定などが必要となり、データ容量が増えたりデータ入力の煩雑さが増したりするデメリットが生じてしまう。
Of course, it is not impossible to integrate the
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 and execution system (program creation system)
250
252 second storage area (second storage unit)
261
282 second replication processing unit (second data replication processing unit)
300
400
Claims (5)
前記プログラムを作成する作成者が作成中の未完成プログラムを試験するときにアクセスされる、前記実施用データベースとは別の試験用データベース(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 execution database, which is accessed when a creator of the program tests an unfinished program being created. When,
From the data input by the creator when testing the unfinished program and stored in the test database, the creator is made to select some data, and the selected data is copied and A first data replication processing unit (281) to be stored in the database for
A program creation system (100) comprising:
をさらに備える、請求項1に記載のプログラム作成システム。 A second data replication processing unit (282), which causes the creator to select some data from the data stored in the execution database, copies the selected data, and stores the copied data in the test database;
The program creation system according to claim 1, further comprising:
をさらに備える、請求項1又は2に記載のプログラム作成システム。 A database generation unit (261) for simultaneously generating the execution database and the test database at the start of the creation of the program;
The program creation system according to claim 1, further comprising:
前記第1データ複製処理部は、前記試験用ファイルの中の一部のデータを前記作成者に選択させ、選択されたデータをコピーして前記実施用データベースに格納する、
請求項1から3のいずれかに記載のプログラム作成システム。 The test database has test files (310, 320,...) Which are data tables,
The first data replication processing unit causes the creator to select some data in the test file, copies the selected data, and stores the copied data in the implementation database.
The program creation system according to claim 1.
前記第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 some data in the execution file, copies the selected data, and stores the copied data in the test database.
The program creation system according to claim 2.
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 JP2017182662A (en) | 2017-10-05 |
JP6662153B2 true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6867359B2 (en) * | 2018-11-27 | 2021-04-28 | アンリツ株式会社 | Error rate measuring device and error rate measuring method |
Family Cites Families (4)
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 |
JP4891951B2 (en) * | 2008-06-30 | 2012-03-07 | 株式会社東芝 | 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 |
-
2016
- 2016-03-31 JP JP2016072409A patent/JP6662153B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017182662A (en) | 2017-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6487282B2 (en) | Method for developing application to be executed in workflow management system, and apparatus for supporting generation of application to be executed in workflow management system | |
US6370542B1 (en) | Method and apparatus for knowledge acquisition and management | |
CA2800821C (en) | Integrated workflow and database transactions | |
JPH05241797A (en) | Method for systemizing software application package generating work | |
JP5475203B1 (en) | Workflow management apparatus and workflow management method | |
US7467122B2 (en) | System for aiding the design of product configuration | |
EP1509854A2 (en) | Electronic data capture and verification | |
US11120200B1 (en) | Capturing unstructured information in application pages | |
EP2524300A1 (en) | Apparatus and method for constructing data applications in an unstructured data environment | |
JP2008217651A (en) | Design support device, design support method and program | |
JP6223628B1 (en) | Information management apparatus, information management method, and information management system | |
US8738584B2 (en) | Context-aware management of shared composite data | |
JP6662153B2 (en) | Program creation system | |
JP5352225B2 (en) | Data reuse method, data reuse system, data reuse device, and data reuse program | |
JP6665637B2 (en) | Program creation support system | |
JP7246301B2 (en) | Program development support system and program development support method | |
JP2003288458A (en) | Integrated project management tool | |
JP2010257327A (en) | Project management supporting device, project management supporting method, and project management supporting program | |
JP4220507B2 (en) | Website update support apparatus, method and program | |
JP7223903B1 (en) | Fixed Asset System, Fixed Asset Management Method, and Fixed Asset Management Program | |
JP7533714B2 (en) | Information processing device, information processing method, and program | |
JP3429609B2 (en) | Design information management device | |
JP6940343B2 (en) | Distribution management system and distribution management method | |
WO2008145981A2 (en) | Information management systems | |
JPH09114895A (en) | Constituting method for job processing execution supporting system |
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 |