JP4568262B2 - Data collection system - Google Patents

Data collection system Download PDF

Info

Publication number
JP4568262B2
JP4568262B2 JP2006266400A JP2006266400A JP4568262B2 JP 4568262 B2 JP4568262 B2 JP 4568262B2 JP 2006266400 A JP2006266400 A JP 2006266400A JP 2006266400 A JP2006266400 A JP 2006266400A JP 4568262 B2 JP4568262 B2 JP 4568262B2
Authority
JP
Japan
Prior art keywords
program
data collection
unit
survey
data
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.)
Expired - Fee Related
Application number
JP2006266400A
Other languages
Japanese (ja)
Other versions
JP2008084259A (en
Inventor
久伸 天呑
歩 及川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Tobacco Inc
Original Assignee
Japan Tobacco Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Tobacco Inc filed Critical Japan Tobacco Inc
Priority to JP2006266400A priority Critical patent/JP4568262B2/en
Publication of JP2008084259A publication Critical patent/JP2008084259A/en
Application granted granted Critical
Publication of JP4568262B2 publication Critical patent/JP4568262B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、データ収集システムに関し、特に、ユーザが直接的にソースコードを入力することなくプログラムを生成する技術に関する。   The present invention relates to a data collection system, and more particularly to a technique for generating a program without a user directly inputting source code.

コンピュータは、今や日常生活に欠かすことのできないものになっている。コンピュータは、たとえば端末装置、携帯電話、家庭電化製品など種々の装置に搭載され、それらの装置が有するハードウエアを適切に制御し、所定の機能を実現する。たとえば、端末装置は、企業では業務管理のために利用され、研究機関では実験結果の解析のために利用され、個人レベルでは電子メールの送受信やウェブページの閲覧のために利用される。一般に、コンピュータを利用して所定の機能を実現するためには、プログラムをコンピュータで実行する必要がある。   Computers are now an integral part of everyday life. The computer is mounted on various devices such as a terminal device, a mobile phone, and a home appliance, and appropriately controls hardware included in these devices to realize a predetermined function. For example, a terminal device is used for business management in a company, used for analysis of experimental results in a research institution, and used for sending / receiving e-mails and browsing web pages at an individual level. Generally, in order to realize a predetermined function using a computer, it is necessary to execute the program on the computer.

そうしたプログラムを作成するためには、高い専門知識が必要である。たとえばC言語、C++言語、JAVA(登録商標)などのプログラミング言語でソースプログラムを作成し、それをコンパイラでコンパイルすることで、コンピュータで実行可能なマシン語のプログラムが作られる。こうしたソースプログラムを、表形式のプログラム仕様書に基づいて自動的に生成する技術がある(特許文献1)。
特開2003−208307号公報
In order to create such a program, high expertise is required. For example, by creating a source program in a programming language such as C language, C ++ language, JAVA (registered trademark), and compiling it with a compiler, a machine language program executable by a computer is created. There is a technique for automatically generating such a source program based on a tabular program specification (Patent Document 1).
JP 2003-208307 A

コンピュータの普及や、コンピュータの利用分野の多様化にともない、プログラムの必要数は年々増加している。さらに、そうしたプログラムの開発期間も短縮される傾向にある。しかしながら、慢性的なプログラマーの不足、プログラム技術の急速な発達、プログラムを実行する装置の急速な発達などにより、必要な時にプログラムの供給を受けることができないことが多々生じる。   With the spread of computers and the diversification of computer application fields, the required number of programs is increasing year by year. In addition, the development period of such programs tends to be shortened. However, due to chronic programmer shortages, rapid development of program technology, rapid development of devices that execute programs, etc., it often happens that programs cannot be supplied when needed.

本発明は上記事情に鑑みてなされたものであり、その目的とするところは、プログラムの開発期間が短く、プログラムの開発に必要な労力が少なく、高度な知識を必要とせずにプログラムを容易に作成できるデータ収集システムを提供することにある。   The present invention has been made in view of the above circumstances, and the purpose of the present invention is to shorten the program development period, reduce the labor required for program development, and facilitate the program without requiring advanced knowledge. It is to provide a data collection system that can be created.

本発明によれば、複数の調査項目を含む所定の調査内容に基づいて調査を行い、調査結果を送信するユーザ端末と、
前記ユーザ端末から送信された前記調査結果をネットワークを介して収集する収集装置と、
前記収集装置が収集した前記調査結果を格納するデータベースと、
前記収集装置から受信した前記調査結果を前記データベースに蓄積するデータベースサーバと、
前記ユーザ端末に前記調査結果を入力するための入力インターフェースを形成し、前記ユーザ端末を用いて前記入力インターフェースを介して入力された調査結果を前記収集装置に送信する機能を実現するための前記ユーザ端末が実行可能なデータ収集プログラムを生成するプログラム生成装置と、
を備えたデータ収集システムであって、
前記ユーザ端末は、前記データ収集プログラムを実行したとき、前記所定の調査内容の前記複数の調査項目に対する回答を入力するための複数の入力インターフェースが形成された作業画面を表示する表示部を有し、
前記プログラム生成装置は、前記データ収集プログラムの前記調査項目に対応したデータ構造を有するデータテーブルを前記データベースに生成するテーブル生成プログラムをさらに生成し、
前記プログラム生成装置は、
前記データ収集プログラムを形成するための画面を表示する画面表示部と、
前記ユーザ端末が前記データ収集プログラムを実行したとき、前記ユーザ端末の前記表示部に表示される前記作業画面上に、前記所定の調査内容の前記複数の調査項目の内容を示す情報を表示するための複数の調査項目指示領域、および前記複数の調査項目に対する回答を入力するための前記複数の入力インターフェースが形成された調査結果入力領域を形成するためのコンポーネントをそれぞれ形成するために必要な情報をユーザに入力させてパラメータとして受け付けるためのコンポーネント設定領域、前記作業画面に前記調査項目を追加する場合に利用され、前記コンポーネントの複数のタイプの中から、前記作業画面に追加する前記調査項目に適した前記コンポーネントのタイプを前記ユーザに選択させ、選択された前記タイプの前記コンポーネントを追加する指示を受け付けるコンポーネント追加操作ボタン群、および前記ユーザの操作により入力される、前記タイプに応じた前記コンポーネントを形成するために必要な情報を利用してソースコードを生成することを指示するための生成ボタンを有する入力画面を形成する情報を生成し、前記コンポーネント追加操作ボタン群が操作される度に、選択された前記タイプに応じた前記コンポーネントを形成するために必要な情報を前記ユーザに入力させて前記パラメータとして受け付けるための前記コンポーネント設定領域がそれぞれ形成される前記入力画面を形成する情報を生成する入力画面情報生成部と、
前記入力画面情報生成部により生成された前記情報に基づいて、前記複数の調査項目に適した複数の前記コンポーネントを前記作業画面に形成するための複数の前記パラメータを入力するための複数の前記コンポーネント設定領域が形成された前記入力画面を前記画面表示部に表示させる表示処理部と、
前記表示処理部により表示された前記入力画面を介して前記ユーザの操作により入力された情報を、前記作業画面を形成するための複数のパラメータとして管理し、前記生成ボタンの操作を受け付けたとき、前記入力画面に形成された複数の前記調査項目に対応する複数の前記コンポーネント設定領域に入力された複数の前記コンポーネントを形成するために必要な複数の前記パラメータを、対応する複数の前記コンポーネントの前記タイプを特定するタイプ情報とそれぞれ関連付けて出力するパラメータ管理部と、
前記パラメータ管理部から出力された前記複数のパラメータを受け付ける受付部と、
前記コンポーネントをそれぞれ形成するためのプログラムコードを、前記コンポーネントの前記タイプを特定する前記タイプ情報に対応付けて、前記パラメータを引数とする複数種類のひな形として、前記データ収集プログラム用および前記テーブル生成プログラム用にそれぞれ保持するひな形格納部と、
前記受付部が受け付けた前記複数のパラメータに含まれる複数の前記調査項目に対応する複数の前記コンポーネントの各タイプ情報に基づいて、前記ひな形格納部から複数の前記コンポーネントの前記各タイプ情報に対応する各コンポーネントを形成するための、前記データ収集プログラム用または前記テーブル生成プログラム用の複数のひな形を選択して組み合わせ、各ひな形の前記引数に前記パラメータを設定して、前記データ収集プログラムまたは前記テーブル生成プログラムのソースコードをそれぞれ生成するとともに、前記ソースコードを生成し終えると、その旨をソースコード完成通知として出力する生成部と、
前記生成部にて前記データ収集プログラムの前記ソースコードが完成したとき、前記データ収集プログラムの前記ソースコードをコンパイルして前記ユーザ端末が実行可能なデータ収集プログラムを自動的に生成するとともに、前記生成部にて前記テーブル生成プログラムの前記ソースコードが完成したとき、前記テーブル生成プログラムの前記ソースコードをコンパイルして前記テーブル生成プログラムを生成するコンパイル部と、
前記データ収集プログラム毎に、前記データ収集プログラムと、前記データテーブルおよび前記テーブル生成プログラムとを対応付けるためのプログラム識別子を付与する識別子付与部と、
前記コンパイル部で生成された前記データ収集プログラムを前記収集装置に前記ネットワークを介して出力する格納処理部と、
前記コンパイル部で生成された前記テーブル生成プログラムを前記データベースサーバに前記ネットワークを介して送信するとともに、前記テーブル生成プログラムの実行を指示する第1実行部と、
を含み、
前記収集装置は、
前記プログラム生成装置から前記データ収集プログラムを受け付ける登録部と、
登録部が受け付けた前記データ収集プログラムを格納するプログラム格納部と、
ユーザ端末からの要求に応じて、前記プログラム格納部に格納されている前記データ収集プログラムを提供するプログラム提供部と、
前記プログラム生成装置で生成された複数の前記データ収集プログラムをそれぞれ前記プログラム識別子とともに表示して一元管理する一覧画面を提示する提示部と、を含むデータ収集システムが提供される。
According to the present invention, a user terminal that performs a survey based on a predetermined survey content including a plurality of survey items and transmits a survey result ;
A collection device for collecting the survey results transmitted from the user terminal via a network;
A database for storing the investigation results collected by the collection device;
A database server for accumulating the survey results received from the collection device in the database;
The user for realizing a function of forming an input interface for inputting the survey result to the user terminal and transmitting the survey result input via the input interface using the user terminal to the collection device A program generation device for generating a data collection program executable by the terminal;
A data collection system comprising:
The user terminal has a display unit that displays a work screen on which a plurality of input interfaces for inputting answers to the plurality of survey items of the predetermined survey content are formed when the data collection program is executed. ,
The program generation device further generates a table generation program for generating in the database a data table having a data structure corresponding to the survey item of the data collection program,
The program generation device includes:
A screen display unit for displaying a screen for forming the data collection program ;
When the user terminal executes the data collection program, on the work screen displayed on the display unit of the user terminal to display information indicating the contents of the plurality of investigation items of the predetermined investigation contents A plurality of survey item instruction areas, and information necessary for forming components for forming a survey result input area in which the plurality of input interfaces for inputting answers to the plurality of survey items are formed. Component setting area to be input by the user and accepted as a parameter, used when adding the survey item to the work screen, and suitable for the survey item to be added to the work screen from among a plurality of types of the component Allowing the user to select a type of the component and before the selected type A component addition operation button group for receiving an instruction to add a component, and an instruction to generate source code using information necessary for forming the component corresponding to the type, which is input by the user's operation Information for forming an input screen having a generation button for generating the information, and each time the component addition operation button group is operated, information necessary for forming the component corresponding to the selected type is generated. An input screen information generating unit that generates information for forming the input screen in which the component setting areas for receiving as a parameter are input by a user;
A plurality of components for inputting a plurality of parameters for forming a plurality of components suitable for the plurality of survey items on the work screen based on the information generated by the input screen information generation unit A display processing unit for displaying the input screen in which a setting area is formed on the screen display unit;
When the information input by the user operation via the input screen displayed by the display processing unit is managed as a plurality of parameters for forming the work screen, and when the operation of the generation button is received, The plurality of parameters necessary for forming the plurality of components input to the plurality of component setting areas corresponding to the plurality of survey items formed on the input screen, the plurality of parameters corresponding to the plurality of components A parameter management unit that outputs in association with type information that identifies the type,
A reception unit that receives the plurality of parameters output from the parameter management unit ;
The program code for forming each of the components is associated with the type information for specifying the type of the component, and a plurality of types of templates with the parameters as arguments are used for the data collection program and the table generation A template storage for each program,
Corresponding to each type information of the plurality of components from the model storage unit based on each type information of the plurality of components corresponding to the plurality of survey items included in the plurality of parameters received by the receiving unit Selecting and combining a plurality of templates for the data collection program or the table generation program for forming each component to be configured, and setting the parameter in the argument of each template, the data collection program or Generating a source code for each of the table generating programs, and generating a source code completion notification when generating the source code;
When the source code of the data collection program is completed in the generation unit, the source code of the data collection program is compiled to automatically generate a data collection program executable by the user terminal , and the generation A compiling unit that compiles the source code of the table generating program to generate the table generating program when the source code of the table generating program is completed in a unit;
For each data collection program, an identifier assigning unit that assigns a program identifier for associating the data collection program with the data table and the table generation program;
A storage processing unit that outputs the data collection program generated by the compiling unit to the collection device via the network;
A first execution unit that transmits the table generation program generated by the compilation unit to the database server via the network, and instructs the execution of the table generation program;
Only including,
The collector is
A registration unit that receives the data collection program from the program generation device;
A program storage unit for storing the data collection program received by the registration unit;
In response to a request from a user terminal, a program providing unit that provides the data collection program stored in the program storage unit;
There is provided a data collection system including a presentation unit that displays a plurality of data collection programs generated by the program generation device together with the program identifier and presents a list screen for centralized management .

この発明によれば、データを入力するための入力インターフェースを形成するデータ収集プログラムと、ユーザ端末が、そのデータ収集プログラムを実行して収集した所定のデータをデータベースに格納するためのテーブルを生成するためのテーブル生成プログラムとを自動的に生成することができる。これにより、ユーザがデータ収集プログラムを形成するためのパラメータを入力するだけで、データ収集プログラムとテーブル生成プログラムが自動的に生成されることとなる。   According to the present invention, a data collection program forming an input interface for inputting data, and a user terminal generates a table for storing predetermined data collected by executing the data collection program in a database. Can automatically generate a table generation program. As a result, the data collection program and the table generation program are automatically generated only by the user inputting the parameters for forming the data collection program.

すなわち、ユーザは高度なプログラム設計技術や知識を必要とせずに、直接ソースコードを入力しなくても、データ収集プログラムおよびテーブル生成プログラムを生成することが可能となる。また、自動的に各プログラムは生成されるので、プログラマーの手入力によるソースコードの作成に比較して、プログラムのデバッグが不要となり、プログラム作成工数を大幅に削減することが可能となる。
また、この構成によれば、ユーザは入力画面を介してパラメータを入力するだけで、データ収集プログラム、データテーブル、テーブル生成プログラムを自動的に生成させることができる。
さらに、この構成によれば、ユーザは調査内容を決定し、対応する調査項目とその回答の選択肢を入力するだけで、データ収集プログラム、データテーブル、テーブル生成プログラムを自動的に生成させることができる。
That is, the user can generate a data collection program and a table generation program without directly inputting source code without requiring advanced program design techniques and knowledge. Further, since each program is automatically generated, debugging of the program becomes unnecessary as compared with creation of source code manually input by a programmer, and the number of man-hours for program creation can be greatly reduced.
Further, according to this configuration, the user can automatically generate the data collection program, the data table, and the table generation program only by inputting the parameters via the input screen.
Furthermore, according to this configuration, the user can automatically generate a data collection program, a data table, and a table generation program simply by determining the survey contents and inputting the corresponding survey item and the answer options. .

上記データ収集システムにおいて、前記プログラム生成装置の前記識別子付与部は、前記第1実行部が前記テーブル生成プログラムを実行して前記データベースに前記データテーブルを生成するとき、前記プログラム識別子を前記データテーブルに付与することができ、前記ユーザ端末は、前記データ収集プログラムを実行する第2実行部と、前記第2実行部が前記データ収集プログラムを実行して、前記調査結果を収集するとき、前記プログラム識別子を含む調査結果を生成する収集データ生成部と、前記調査結果を前記ネットワークを介して前記収集装置に送信する送信部と、を含むことができ、前記収集装置は、前記ユーザ端末から送信された前記調査結果を受信する受信部と、前記データベースにアクセスし、前記受信部が受信した前記調査結果から前記プログラム識別子を取得し、そのプログラム識別子に対応する前記データテーブルに前記調査結果を格納する格納部と、を含むことができる。 In the data collection system, the identifier assignment part of the front SL program generation apparatus, when the first execution unit to generate the data tables in the database to perform the table generation program, the data table the program identifier And the user terminal executes the data collection program, and when the second execution unit executes the data collection program and collects the investigation result , A collection data generation unit that generates a survey result including an identifier; and a transmission unit that transmits the survey result to the collection device via the network. The collection device is transmitted from the user terminal. a receiver for receiving the survey results, accessing the database, the receiving section receives Serial findings from acquiring the program identifier, and a storage unit for storing the survey results in the data table corresponding to the program identifier may include.

この構成によれば、ユーザ端末で収集されたデータをデータベースの該当するデータテーブルに自動的に格納し、蓄積することができる。
さらに、上記データ収集システムにおいて、前記一覧画面は、押下により、前記データ収集プログラムの新規作成の要求を受け付ける新規作成ボタンを有することができ、前記新規作成ボタンの押下を受け付けたとき、前記入力画面を前記画面表示部に表示し、前記データ収集プログラムの作成が開始され、前記入力画面にて作成された前記データ収集プログラムを前記一覧画面に表示することができる。
また、上記データ収集システムにおいて、前記一覧画面は、前記データ収集プログラムが公開中か未公開かを示す状況表示欄を有することができる。
According to this configuration, data collected by the user terminal can be automatically stored and accumulated in the corresponding data table of the database.
Furthermore, in the data collection system, the list screen may have a new creation button that accepts a request for new creation of the data collection program when pressed, and when the pressing of the new creation button is accepted, the input screen Is displayed on the screen display unit, the creation of the data collection program is started, and the data collection program created on the input screen can be displayed on the list screen.
In the data collection system, the list screen may include a status display field indicating whether the data collection program is being published or unpublished.

上記データ収集システムにおいて、前記データベースの前記データテーブルに格納された前記調査結果を解析する解析装置をさらに備えることができ、前記プログラム生成装置は、前記解析装置が実行し、前記データベースの前記データテーブルにアクセスし、蓄積された前記調査結果を読み出すためのテーブルアクセスプログラムをさらに生成し、前記プログラム生成装置において、前記ひな形格納部は、さらに、前記コンポーネントをそれぞれ形成するためのプログラムコードを、前記コンポーネントの前記タイプを特定する前記タイプ情報に対応付けて、前記パラメータを引数とする複数種類のひな形として、前記テーブルアクセスプログラム用にそれぞれ保持し、前記生成部は、前記受付部が受け付けた前記複数のパラメータに含まれる複数の前記調査項目に対応する複数の前記コンポーネントの各タイプ情報に基づいて、前記ひな形格納部から複数の前記コンポーネントの前記各タイプ情報に対応する各コンポーネントを形成するための、前記テーブルアクセスプログラム用の複数のひな形を選択して組み合わせ、各ひな形の前記引数に前記パラメータを設定して、前記テーブルアクセスプログラムのソースコードを生成するとともに、前記ソースコードを生成し終えると、その旨をソースコード完成通知として出力し、前記コンパイル部は、前記生成部にて前記テーブルアクセスプログラムの前記ソースコードが完成したとき、前記テーブルアクセスプログラムの前記ソースコードをコンパイルして前記解析装置が実行可能なテーブルアクセスプログラムを自動的に生成し、前記識別子付与部は、前記データ収集プログラム毎に、前記データ収集プログラムと前記テーブルアクセスプログラムとを対応付けるために前記プログラム識別子を付与することができる。 The data collection system may further include an analysis device that analyzes the investigation result stored in the data table of the database, and the program generation device is executed by the analysis device and the data table of the database. And generating a table access program for reading out the accumulated investigation results. In the program generation device, the model storage unit further includes program codes for forming the components, respectively. In association with the type information identifying the type of component, a plurality of types of templates with the parameters as arguments are held for the table access program, respectively, and the generation unit receives the reception unit received by the reception unit Included in multiple parameters The table access for forming each component corresponding to each type information of the plurality of components from the model storage unit based on each type information of the plurality of components corresponding to the plurality of survey items. When a plurality of program templates are selected and combined, the parameters are set in the arguments of each template, the source code of the table access program is generated, and the generation of the source code is completed, Is output as a source code completion notification, and the compiling unit can compile the source code of the table access program and execute the analysis device when the generation unit completes the source code of the table access program Automatic table access program automatically And, before Symbol identifier providing unit, the each data collection program, the program identifier may be applied to correspondence between said table access program and the data collection program.

この構成によれば、データを入力するための入力インターフェースを形成するデータ収集プログラムと、テーブル生成プログラムと、データベースに格納されたデータにアクセスするためのテーブルアクセスプログラムと、を自動的に生成することができる。これにより、ユーザがデータ収集プログラムを形成するためのパラメータを入力するだけで、データ収集プログラム、テーブル生成プログラム、およびテーブルアクセスプログラムが自動的に生成されることとなる。
また、この構成によれば、ユーザは入力画面を介してパラメータを入力するだけで、データ収集プログラム、データテーブル、テーブル生成プログラム、テーブルアクセスプログラムを自動的に生成させることができる。
さらに、この構成によれば、ユーザは調査内容を決定し、対応する調査項目とその回答の選択肢を入力するだけで、データ収集プログラム、データテーブル、テーブル生成プログラム、テーブルアクセスプログラムを自動的に生成させることができる。
According to this configuration, a data collection program that forms an input interface for inputting data, a table generation program, and a table access program for accessing data stored in a database are automatically generated. Can do. As a result, the data collection program, the table generation program, and the table access program are automatically generated only by the user inputting the parameters for forming the data collection program.
Further, according to this configuration, the user can automatically generate a data collection program, a data table, a table generation program, and a table access program simply by inputting parameters via the input screen.
Furthermore, according to this configuration, a user automatically determines a survey content and inputs a corresponding survey item and an answer option to automatically generate a data collection program, data table, table generation program, and table access program. Can be made.

すなわち、ユーザは高度なプログラム設計技術や知識を必要とせずに、直接ソースコードを入力しなくても、データ収集プログラム、テーブル生成プログラムおよびテーブルアクセスプログラムを生成することが可能となる。これにより、データの入力から収集、蓄積、そして解析までをトータルで行えるデータ収集システムが容易に提供されることとなる。また、自動的に各プログラムは生成されるので、プログラマーの手入力によるソースコードの作成に比較して、プログラムのデバッグが不要となり、プログラム作成工数を大幅に削減することが可能となる。   That is, the user can generate a data collection program, a table generation program, and a table access program without directly inputting source code without requiring advanced program design techniques and knowledge. As a result, a data collection system that can perform everything from data input to collection, storage, and analysis can be easily provided. Further, since each program is automatically generated, debugging of the program becomes unnecessary as compared with creation of source code manually input by a programmer, and the number of man-hours for program creation can be greatly reduced.

上記データ収集システムにおいて、前記解析装置は、前記テーブルアクセスプログラムを実行する第3実行部と、前記第3実行部が前記テーブルアクセスプログラムを実行するとき、前記プログラム識別子をキーとして前記データベースの前記データテーブルにアクセスし、前記データテーブルに格納されている前記調査結果を読み出し、所定のファイル形式のデータファイルを生成するデータファイル生成部と、前記データファイルに保存された前記調査結果を解析する解析部と、を含むことができる。 In the data collection system, the analysis device includes a third execution unit that executes the table access program and the data in the database using the program identifier as a key when the third execution unit executes the table access program. A data file generation unit for accessing the table, reading the investigation result stored in the data table, and generating a data file of a predetermined file format, and an analysis unit for analyzing the investigation result stored in the data file And can be included.

この構成によれば、携帯端末から収集され、データベースに格納されたデータを解析しやすい所定のファイル形式のデータファイルに書き出すことができる。   According to this configuration, the data collected from the portable terminal and stored in the database can be written into a data file having a predetermined file format that is easy to analyze.

また、上記データ収集システムにおいて、前記一覧画面は、前記データ収集プログラム毎に、編集ボタン、運用ボタン、コピーボタン、および削除ボタンを含む複数の操作ボタンを有することができ、前記プログラム生成装置は、各操作ボタンの押下を受け付けたとき、各処理を行う処理部をさらに備えることができる。  In the data collection system, the list screen may have a plurality of operation buttons including an edit button, an operation button, a copy button, and a delete button for each of the data collection programs. A processing unit that performs each process when a press of each operation button is received can be further provided.

さらに、上記データ収集システムにおいて、前記一覧画面の前記運用ボタンの押下を受け付けたとき、前記運用ボタンが押下された前記データ収集プログラムの情報を含む運用画面が前記画面表示部に表示されてもよい。  Furthermore, in the data collection system, when the pressing of the operation button on the list screen is accepted, an operation screen including information on the data collection program in which the operation button is pressed may be displayed on the screen display unit. .

また、上記データ収集システムにおいて、前記データ収集プログラムが未公開の場合、前記運用画面は、押下により、前記データ収集プログラムを公開する公開ボタンを有することができ、前記公開ボタンの押下を受け付けたとき、前記プログラム提供部が、前記データ収集プログラムを前記ユーザ端末がダウンロード可能なように公開することができる。Further, in the data collection system, when the data collection program is unpublished, the operation screen can have a publish button for publishing the data collection program by pressing, and when the press of the publish button is accepted The program providing unit can publish the data collection program so that the user terminal can download it.
また、上記データ収集システムにおいて、  In the above data collection system,
前記データ収集プログラムが未公開の場合、前記運用画面は、押下により、前記テーブルアクセスプログラムを前記生成部に生成させるアプリ作成ボタンを有することができ、前記アプリ作成ボタンの押下を受け付けたとき、前記生成部が、前記テーブルアクセスプログラムを生成することができる。  When the data collection program is unpublished, the operation screen can have an application creation button that causes the generation unit to generate the table access program by pressing, and when the pressing of the application creation button is accepted, The generation unit can generate the table access program.

さらに、上記データ収集システムにおいて、前記データ収集プログラムが公開中の場合、前記運用画面は、前記調査結果、または前記テーブルアクセスプログラムの情報を含むことができる。  Further, in the data collection system, when the data collection program is open to the public, the operation screen can include the investigation result or the information of the table access program.
また、上記データ収集システムにおいて、  In the above data collection system,
前記登録部、前記プログラム格納部、前記プログラム提供部、および前記提示部を有するプログラム提供装置をさらに備えることができ、前記プログラム提供装置が、前記プログラム生成装置で生成された前記データ収集プログラムを前記プログラム格納部に格納し、前記ユーザ端末に前記データ収集プログラムを前記ネットワークを介して提供することができる。  The apparatus may further comprise a program providing device having the registration unit, the program storage unit, the program providing unit, and the presenting unit, wherein the program providing device stores the data collection program generated by the program generating device. The program can be stored in a program storage unit, and the data collection program can be provided to the user terminal via the network.

以上、本発明の構成について説明したが、これらの各構成の任意の組合せや、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。   Although the configuration of the present invention has been described above, any combination of these configurations, or a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, and the like is also applicable to the present invention. It is effective as an embodiment.

本発明によれば、プログラムの開発期間が短く、プログラムの開発に必要な労力が少なく、高度な知識を必要とせずにプログラムを容易に作成できるデータ収集システムが提供される。   According to the present invention, a data collection system is provided in which a program development period is short, a labor required for program development is small, and a program can be easily created without requiring advanced knowledge.

以下、本発明の実施の形態について、図面を用いて説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, the same reference numerals are given to the same components, and the description will be omitted as appropriate.

図1は、本発明の実施の形態に係る調査システム10の構成を示す概略ブロック図である。本実施形態のデータ収集システム(調査システム10)は、ユーザ端末(端末装置50)と、ユーザ端末から送信された所定のデータをネットワークを介して収集する収集装置220と、収集装置220が収集した所定のデータを格納するデータベース(調査データデータベース340)と、ユーザ端末にデータを入力するための入力インターフェースを形成し、ユーザ端末を用いて入力インターフェースを介して入力されたデータを収集装置に送信する機能を実現するためのユーザ端末が実行可能なデータ収集プログラムを生成するプログラム生成装置100と、を備えたデータ収集システム(調査システム10)であって、プログラム生成装置100は、データ収集プログラムを形成するためのパラメータの入力を受け付ける受付部(図4の受付部110)と、パラメータに基づいて、データ収集プログラムのソースコードを動的に生成し、データ収集プログラムのソースコードをコンパイルしてユーザ端末が実行可能なデータ収集プログラムを自動的に生成するデータ収集プログラム生成部(図4の生成部112、図7の調査プログラム生成部140)と、パラメータに基づいて、データベースにデータ収集プログラムに対応したデータ構造を有するデータテーブルを動的に生成するテーブル生成プログラムのソースコードを動的に生成し、テーブル生成プログラムのソースコードをコンパイルして収集装置が実行可能なテーブル生成プログラムを自動的に生成するテーブル生成プログラム生成部(図4の生成部112、図7のテーブル生成プログラム生成部142)と、データ収集プログラム毎に、データ収集プログラムと、データテーブルおよびテーブル生成プログラムとを対応付けるためのプログラム識別子を付与する識別子付与部(図7の調査ID付与部146)と、を含む。   FIG. 1 is a schematic block diagram showing the configuration of a survey system 10 according to an embodiment of the present invention. The data collection system (survey system 10) of the present embodiment includes a user terminal (terminal device 50), a collection device 220 that collects predetermined data transmitted from the user terminal via a network, and the collection device 220 collects the data. A database for storing predetermined data (survey data database 340) and an input interface for inputting data to the user terminal are formed, and the data input via the input interface is transmitted to the collection device using the user terminal. A data collection system (investigation system 10) that includes a program generation device 100 that generates a data collection program that can be executed by a user terminal for realizing a function. The program generation device 100 forms a data collection program. Accepting part that accepts input of parameters for 110) and the parameters, the source code of the data collection program is dynamically generated, and the data collection program executable by the user terminal is automatically generated by compiling the source code of the data collection program Data collection program generation unit (the generation unit 112 in FIG. 4 and the survey program generation unit 140 in FIG. 7) and a table that dynamically generates a data table having a data structure corresponding to the data collection program in the database based on the parameters. A table generation program generator (generator 112 in FIG. 4) that dynamically generates a source code of the generation program, compiles the source code of the table generation program, and automatically generates a table generation program executable by the collection apparatus. The table generation program generation unit 142) of FIG. For each data collection program, including a data collection program, an identifier assigning unit that applies a program identifier for associating the data table and the table generating program and (survey ID adding unit 146 in FIG. 7), the.

さらに、本実施形態のデータ収集(調査システム10)システムにおいて、データベース(調査データデータベース340)のデータテーブルに格納された収集データを解析する解析装置300をさらに備え、プログラム生成装置100は、パラメータに基づいて、データベースのデータテーブルにアクセスするためのテーブルアクセスプログラムのソースコードを動的に生成し、テーブルアクセスプログラムのソースコードをコンパイルして解析装置が実行可能なテーブルアクセスプログラムを自動的に生成するテーブルアクセスプログラム生成部(図4の生成部112、図7のテーブルアクセスプログラム生成部144)を含み、プログラム生成装置100の識別子付与部(図7の調査ID付与部146)は、データ収集プログラム毎に、データ収集プログラムとテーブルアクセスプログラムとを対応付けるためにプログラム識別子を付与する。   Further, in the data collection (survey system 10) system of the present embodiment, the system further includes an analysis device 300 that analyzes the collected data stored in the data table of the database (survey data database 340). Based on this, the source code of the table access program for accessing the data table of the database is dynamically generated, and the source code of the table access program is compiled to automatically generate the table access program executable by the analysis apparatus. 4 includes a table access program generation unit (the generation unit 112 in FIG. 4 and the table access program generation unit 144 in FIG. 7), and the identifier adding unit (the survey ID adding unit 146 in FIG. 7) of each data collection program. In The program identifier to impart to associate the data collection program and table access program.

具体的には、本実施形態の調査システム10において、第1端末装置50a、第2端末装置50b、第3端末装置50c、および第4端末装置50d(以下、単に「端末装置50」という)と、プログラム生成装置100と、プログラム提供装置200と、収集装置220と、解析装置300と、データベースサーバ320と、調査データデータベース340と、を備える。   Specifically, in the investigation system 10 of the present embodiment, the first terminal device 50a, the second terminal device 50b, the third terminal device 50c, and the fourth terminal device 50d (hereinafter simply referred to as “terminal device 50”) The program generation device 100, the program provision device 200, the collection device 220, the analysis device 300, the database server 320, and the survey data database 340 are provided.

端末装置50は、たとえば、携帯電話やPDA(Personal Digital Assistants)などの携帯可能な端末である。また端末装置50は、プログラムの実行条件としてプログラムのデータサイズに上限が定められており、メモリサイズが一般的な端末と比較して小さい装置であってよい。端末装置50は、たとえばGPS衛星からGPS信号を受信して位置情報を取得するGPS(Global Positioning System)ユニット、CCDカメラ、マイクなどを有する。また、それぞれの端末装置50は、基地局14を介して第1ネットワーク12に接続し、プログラム提供装置200、収集装置220および解析装置300と通信を行う機能を有する。   The terminal device 50 is a portable terminal such as a mobile phone or PDA (Personal Digital Assistants). The terminal device 50 may be a device in which an upper limit is set for the data size of the program as a program execution condition, and the memory size is smaller than that of a general terminal. The terminal device 50 includes, for example, a GPS (Global Positioning System) unit that receives a GPS signal from a GPS satellite and acquires position information, a CCD camera, a microphone, and the like. Each terminal device 50 is connected to the first network 12 via the base station 14 and has a function of communicating with the program providing device 200, the collection device 220, and the analysis device 300.

プログラム生成装置100は、調査内容を端末装置50の表示部52に表示させ、調査結果を受け付けるための調査プログラムを生成し、プログラム提供装置200に格納する。プログラム提供装置200は、第1ネットワーク12を介して、その調査プログラムを端末装置50に提供する。調査員は、その調査プログラムを実行することにより表示部52に表示された調査内容に基づいて調査を行う。たとえば、調査員は、指定された調査地点まで端末装置50を所持して移動し、その場で調査を行う。   The program generation device 100 displays the survey content on the display unit 52 of the terminal device 50, generates a survey program for accepting the survey result, and stores it in the program providing device 200. The program providing device 200 provides the investigation program to the terminal device 50 via the first network 12. The investigator conducts a survey based on the survey content displayed on the display unit 52 by executing the survey program. For example, the investigator moves while holding the terminal device 50 to the designated survey point, and conducts the survey on the spot.

端末装置50は、その移動地点の位置情報(以下、単に「調査位置情報」という)を、GPSユニットを利用して取得する。その取得指示は、調査員の指示に基づいて行われてもよいし、端末装置50内部の調査プログラムにより自動的に行われてもよいし、その他外部からの信号に基づいて行われてもよい。調査員は、端末装置50のCCDカメラを利用して指定された対象物を撮影したり、調査内容に沿った事項を、たとえばキーボタンなどの操作部54を利用して端末装置50に入力したりする。   The terminal device 50 acquires position information of the moving point (hereinafter simply referred to as “survey position information”) using a GPS unit. The acquisition instruction may be performed based on an instruction from the investigator, may be automatically performed by an investigation program inside the terminal device 50, or may be performed based on other external signals. . The investigator takes an image of the specified object using the CCD camera of the terminal device 50, and inputs items in accordance with the contents of the investigation to the terminal device 50 using the operation unit 54 such as a key button. Or

これらの調査位置情報、画像、およびその他の調査員に直接的に入力された情報以外の端末装置50が取得する情報は、調査結果として利用されるだけでなく、調査結果の信頼性を判断するための情報として利用される。つまり、端末装置50が有するGPS、CCDカメラ、マイクなどから得られるデータは、一般的には調査員が任意に書き換えることができないので、調査結果の信頼性を保証するための情報として利用できる。端末装置50は、調査員に入力された事項、および各デバイスで得られた画像、調査位置情報などを調査結果として収集装置220に送信する。   The information acquired by the terminal device 50 other than the survey position information, images, and other information input directly by the investigator is not only used as the survey result, but also determines the reliability of the survey result. It is used as information for That is, since data obtained from the GPS, CCD camera, microphone, etc. of the terminal device 50 cannot generally be rewritten arbitrarily by the investigator, it can be used as information for assuring the reliability of the investigation result. The terminal device 50 transmits the items input by the investigator, the images obtained by each device, the survey position information, and the like to the collection device 220 as the survey results.

収集装置220は、第1ネットワーク12を介して端末装置50から調査結果を受信し、第2ネットワーク16を介してデータベースサーバ320に調査結果を受け渡す。収集装置220は、複数の端末装置50から調査位置情報が対応付けられた調査結果を収集する。収集装置220は、その調査結果を、例えばCSV形式や調査項目を示すパラメータ名に対応付けた形式で端末装置50から収集する。本実施形態において、第2ネットワーク16は、企業内などに限定されたイントラネットとするのが好ましい。   The collection device 220 receives the survey result from the terminal device 50 via the first network 12 and passes the survey result to the database server 320 via the second network 16. The collection device 220 collects survey results associated with survey position information from a plurality of terminal devices 50. The collection device 220 collects the survey results from the terminal device 50 in a format associated with, for example, a CSV format or a parameter name indicating the survey item. In the present embodiment, the second network 16 is preferably an intranet limited to a company or the like.

図2に、本実施形態の収集装置220が端末装置50から受信する調査結果190のデータフォーマットの一例を示す。調査結果190は、たとえば、調査ID、調査員番号、調査員名、機体番号、営業部コード、営業部名、都道府県コード、都道府県名、GPS取得日、GPS取得時間、緯度、経度、光英X、光英Y、回答完了日、回答完了時間、送信日、送信時間、電界強度、電池残量、GPS測位モード、GPS高度、および複数の調査項目の回答を含むことができる。   FIG. 2 shows an example of the data format of the survey result 190 received from the terminal device 50 by the collection device 220 of this embodiment. Survey result 190 includes, for example, survey ID, surveyor number, surveyor name, machine number, sales department code, sales department name, prefecture code, prefecture name, GPS acquisition date, GPS acquisition time, latitude, longitude, Koei X, Koei Y, answer completion date, answer completion time, transmission date, transmission time, electric field strength, remaining battery level, GPS positioning mode, GPS altitude, and multiple survey item responses can be included.

図1に戻り、データベースサーバ320は、後述するテーブル生成プログラムを実行することで、所定の調査IDを有する調査プログラムによって収集されたデータを蓄積するためのテーブルを調査データデータベース340に作成する。データベースサーバ320は、調査データデータベース340にアクセスし、収集装置220が端末装置50から受信した調査結果を第2ネットワーク16を介して受けとり、調査データデータベース340に蓄積する。このとき、データベースサーバ320は、受信した調査結果のデータに含まれる調査IDをキーとして、調査データデータベース340内の該当するデータテーブルを見つけ出し、データを格納する。なお、プログラム提供装置200と収集装置220は同じ装置でもよい。   Returning to FIG. 1, the database server 320 creates a table in the survey data database 340 for storing data collected by the survey program having a predetermined survey ID by executing a table generation program to be described later. The database server 320 accesses the survey data database 340, receives the survey result received by the collection device 220 from the terminal device 50 via the second network 16, and stores it in the survey data database 340. At this time, the database server 320 finds a corresponding data table in the survey data database 340 using the survey ID included in the received survey result data as a key, and stores the data. The program providing apparatus 200 and the collection apparatus 220 may be the same apparatus.

解析装置300は、調査データデータベース340にアクセスし、調査結果を取得し、それぞれの調査結果の信頼性を判断した後、所定の解析を行う。解析装置300は、調査位置情報が対応付けられた調査結果を取得する。解析装置300は後述するテーブルアクセスプログラムを実行することで、任意の調査結果のデータを格納したデータテーブルにアクセスすることができる。解析装置300は、ユーザから指定された調査IDをキーとして該当するデータテーブルを調査データデータベース340から見つけ出し、データをたとえば、CSV形式で読み出す。   The analysis device 300 accesses the survey data database 340, acquires the survey results, determines the reliability of each survey result, and then performs a predetermined analysis. The analysis apparatus 300 acquires a survey result associated with the survey position information. The analysis apparatus 300 can access a data table storing data of any investigation result by executing a table access program described later. The analysis apparatus 300 finds the corresponding data table from the survey data database 340 using the survey ID designated by the user as a key, and reads the data in, for example, CSV format.

図3は、本実施形態の端末装置50で調査プログラム実行時に図1の表示部52に表示される作業画面400の遷移の一例を示す図である。調査プログラムを実行することにより、図1の表示部52には、まず第1作業画面400aが表示され、第2作業画面400b、第3作業画面400c、第4作業画面400d、第5作業画面400e、および第6作業画面400fの順に表示される。第1作業画面400aは、タイトル領域402、入力開始ボタン404、およびデータ送信ボタン406を有する。タイトル領域402は、たとえば調査名などを表示するための領域であり、作業画面400の上部に表示される。   FIG. 3 is a diagram illustrating an example of the transition of the work screen 400 displayed on the display unit 52 of FIG. 1 when the investigation program is executed by the terminal device 50 of the present embodiment. By executing the investigation program, the first work screen 400a is first displayed on the display unit 52 in FIG. 1, and the second work screen 400b, the third work screen 400c, the fourth work screen 400d, and the fifth work screen 400e. , And the sixth work screen 400f. The first work screen 400a includes a title area 402, an input start button 404, and a data transmission button 406. The title area 402 is an area for displaying, for example, a survey name and is displayed at the top of the work screen 400.

作業画面400は、調査内容を示す情報を表示するための調査項目指示領域440と、その調査内容に対する調査結果を調査員が入力するための調査結果入力領域442とを含む。詳細は後述するが、調査内容を明確に調査員に伝えるために、調査項目指示領域440には、例えば調査内容を表す調査内容文字列434や、その調査内容に関連する例えば商品の外観や、調査内容に含まれる専門用語の説明のための画像420が含まれる。また調査結果入力領域442には、後述するテキストボックス、ラジオボタン、チェックボックスなどのコンポーネントが含まれ、回答を効率的かつ正確に行うために、例えば選択肢の中から回答を選択できるように形成される。   The work screen 400 includes a survey item instruction area 440 for displaying information indicating the survey contents, and a survey result input area 442 for the investigator to input survey results for the survey contents. Although details will be described later, in order to clearly convey the survey content to the investigator, the survey item instruction area 440 includes, for example, a survey content character string 434 representing the survey content, an appearance of a product related to the survey content, An image 420 for explaining the technical terms included in the survey content is included. The survey result input area 442 includes components such as a text box, a radio button, and a check box, which will be described later, and is formed so that, for example, an answer can be selected from options in order to perform an answer efficiently and accurately. The

入力開始ボタン404は、調査を開始するための指示を受け付けるボタンである。入力開始ボタン404を選択することにより、調査項目が表示部52に表示される。ここで、調査内容は、複数の調査項目により構成されている。データ送信ボタン406は、各調査項目に対する回答を完了した後、その回答を調査結果として図1の解析装置300に送信するためのボタンである。データ送信ボタン406を押下すなわち選択することにより、調査結果が解析装置300に送信される。   The input start button 404 is a button for receiving an instruction for starting an investigation. By selecting the input start button 404, the survey item is displayed on the display unit 52. Here, the survey content is composed of a plurality of survey items. The data transmission button 406 is a button for transmitting the response to the analysis apparatus 300 in FIG. 1 after completing the response to each survey item as the survey result. By pressing or selecting the data transmission button 406, the investigation result is transmitted to the analysis apparatus 300.

第2作業画面400bは、入力開始ボタン404を押下すると表示される。本実施の形態では、調査項目毎にページが設けられ、その調査項目に適した回答入力用のコンポーネントが配置される。ページ番号領域408は、そのページ番号を表示する領域である。回答内容文字列410は、後述のテキスト入力領域412に入力する回答内容を示す文字列を表示する領域である。テキスト入力領域412は、回答を入力するためのテキストボックスであり、任意の文字列を入力することができる。また、第4作業画面400dのラジオボタン群422は、予め用意された選択肢からひとつ回答を選択するためのコンポーネントである。また、図示していないが、予め用意された選択肢の中から任意の数の回答を選択するためのチェックボックスが、調査結果入力領域442に設けられてもよい。   The second work screen 400b is displayed when the input start button 404 is pressed. In the present embodiment, a page is provided for each survey item, and a component for answer input suitable for the survey item is arranged. The page number area 408 is an area for displaying the page number. The answer content character string 410 is an area for displaying a character string indicating the answer content to be input to a text input area 412 described later. The text input area 412 is a text box for inputting an answer, and an arbitrary character string can be input. The radio button group 422 of the fourth work screen 400d is a component for selecting one answer from previously prepared options. Although not shown, a check box for selecting an arbitrary number of answers from options prepared in advance may be provided in the survey result input area 442.

第2作業画面400bに戻り、次画面表示ボタン414aは、次の調査項目に進むためのボタンであり、このボタンを押下することにより作業画面400が切り替わる。第2作業画面400bの次画面表示ボタン414aを押下すると、第3作業画面400cが表示される。このとき端末装置50は、GPSユニットを利用して位置情報を取得している。位置情報の取得が完了すると、第4作業画面400dが表示される。第4作業画面400dの調査項目に回答し、第4作業画面400dの次画面表示ボタン414bを押下すると、第5作業画面400eが表示される。このように作業画面400を順次切り替えながら、調査員は一連の調査項目に回答を入力する。   Returning to the second work screen 400b, the next screen display button 414a is a button for proceeding to the next investigation item, and the work screen 400 is switched by pressing this button. When the next screen display button 414a of the second work screen 400b is pressed, the third work screen 400c is displayed. At this time, the terminal device 50 acquires position information using the GPS unit. When the acquisition of the position information is completed, the fourth work screen 400d is displayed. When the survey item on the fourth work screen 400d is answered and the next screen display button 414b on the fourth work screen 400d is pressed, the fifth work screen 400e is displayed. In this way, the investigator inputs answers to a series of survey items while sequentially switching the work screen 400.

第5作業画面400eの撮影開始ボタン430は、図1の端末装置50が有するCCDカメラを利用して撮影を行うためのボタンである。撮影開始ボタン430を押下することにより、CCDカメラがアクティブになり、撮影可能となる。このように、図1のプログラム提供装置200が提供する調査プログラムは、端末装置50が有するGPSユニットやCCDカメラなどのハードウエアを利用して得たデータを調査結果とすることができるようにコーディングされている。   The shooting start button 430 on the fifth work screen 400e is a button for performing shooting using the CCD camera included in the terminal device 50 of FIG. By pressing the shooting start button 430, the CCD camera becomes active and shooting is possible. As described above, the survey program provided by the program providing device 200 of FIG. 1 is coded so that data obtained by using hardware such as a GPS unit or a CCD camera included in the terminal device 50 can be used as the survey result. Has been.

本図では最後の作業画面400になる第6作業画面400fは、保存ボタン432を有する。保存ボタン432は、各作業画面400で入力した回答を保存するためのボタンである。保存ボタン432を押下することにより、端末装置50の記憶領域に調査結果として保存される。そして、調査員が第1作業画面400aのデータ送信ボタン406を選択すると、端末装置50は、保存中の調査結果を図1の収集装置220に送信する。   In the figure, the sixth work screen 400 f which is the last work screen 400 has a save button 432. The save button 432 is a button for saving the answer input on each work screen 400. By pressing the save button 432, the result is saved as a survey result in the storage area of the terminal device 50. When the investigator selects the data transmission button 406 on the first work screen 400a, the terminal device 50 transmits the saved investigation result to the collection device 220 in FIG.

このように、調査結果を保存した後、送信する形態にすることにより、例えば電波が届かない場所で調査を行い、電波の届く場所で調査結果を送信することができる。つまり、電波状態を気にせず、調査を行うことができるので、様々な場所での調査が可能になる。また、こうした調査項目と、回答のための入力インターフェースをプログラムにより実現することにより、調査項目に適した入力インターフェースを設けることができるので、入力ミスなど人為的なミスを防止できるとともに、迅速な調査が可能になる。また、例えば調査項目をウェブページで提供する場合と比べて、サーバへのアクセス数が大幅に減少するので、サーバの負荷を下げることができる。   In this way, by storing the survey result and then transmitting it, it is possible to conduct a survey in a place where radio waves do not reach, for example, and transmit the survey result in a location where radio waves reach. In other words, since it is possible to investigate without worrying about the radio wave condition, it is possible to investigate in various places. In addition, by implementing these survey items and an input interface for responding through a program, an input interface suitable for the survey items can be provided, so that human errors such as input mistakes can be prevented and rapid surveys can be performed. Is possible. In addition, for example, the number of accesses to the server is significantly reduced as compared with the case where the survey items are provided on a web page, so that the load on the server can be reduced.

このような作業画面400を表示するためのプログラムは、例えばJAVA(登録商標)などのプログラミング言語で作成されたプログラムであってよい。このプログラムを調査毎に毎回プログラマーが作成していたのでは、開発期間の問題により必要なタイミングで必要な調査を実施できないなど、迅速な調査を行うことができないこともある。また、人為的なミスにより、誤った調査項目や選択肢が含まれる場合もある。また、プログラムの開発コストの問題により、調査を控えるということもあり得る。   The program for displaying such a work screen 400 may be a program created in a programming language such as JAVA (registered trademark), for example. If the programmer created this program for each survey, it may not be possible to conduct a quick survey, for example, because a necessary survey cannot be performed at the necessary timing due to a problem in the development period. Also, due to human error, wrong survey items and options may be included. It may also be possible to refrain from investigation due to the problem of program development costs.

そのため、こうしたプログラムを自動的に生成することが、図1の調査システム10を運用するためには必要になる。一般に、プログラムは、ソースコードをコンパイルすることにより生成される。プログラマーは、各種の開発ツールを利用してソースコードを作成するが、その作業には高い知識が必要となるため、一般の人は容易にソースコードを作成できない。   Therefore, it is necessary to automatically generate such a program in order to operate the survey system 10 of FIG. Generally, a program is generated by compiling source code. Programmers create source code using various development tools. However, since a high level of knowledge is required for the work, ordinary people cannot easily create source code.

本発明者は、様々な調査を想定し、その入力インターフェースを検討した結果、調査項目毎の入力インターフェースを統一し、ひな形を作ることにより、ひな形の組合せ処理と、ひな形中の文字列を他の文字列に置換する処理とにより自動的にソースコードを生成することが可能であるということに想到した。図1のプログラム生成装置100は、この手法に準じてソースコードを生成し、コンパイルすることによりプログラムを自動的に生成する。   The present inventor assumed various surveys and studied the input interface. As a result, by unifying the input interface for each survey item and creating a model, the combination processing of the model and the character string in the model It was conceived that the source code can be automatically generated by the process of substituting with another character string. The program generation apparatus 100 in FIG. 1 automatically generates a program by generating source code and compiling in accordance with this method.

また、プログラム生成装置100が生成するプログラムは、上述の調査プログラムと、テーブル生成プログラムと、テーブルアクセスプログラムと、を含む。テーブル生成プログラムは、データベースサーバ320がプログラム生成装置100からの指示に従い実行し、収集された調査結果を調査データデータベース340に格納するためのデータテーブルを調査データデータベース340内に作成するためのものである。   The programs generated by the program generation apparatus 100 include the above-described investigation program, table generation program, and table access program. The table generation program is executed by the database server 320 in accordance with an instruction from the program generation apparatus 100 and creates a data table in the survey data database 340 for storing the collected survey results in the survey data database 340. is there.

本実施形態のデータ収集システム(調査システム10)において、プログラム生成装置100は、テーブル生成プログラムを実行する第1実行部(図4の実行指示部134)を含み、プログラム生成装置100の識別子付与部(図7の調査ID付与部146)は、第1実行部がテーブル生成プログラムを実行してデータベース(調査データデータベース340)にデータテーブルを生成するとき、プログラム識別子(調査ID)をデータテーブルに付与し、ユーザ端末(端末装置50)は、データ収集プログラムを実行する第2実行部(不図示)と、第2実行部がデータ収集プログラムを実行して、所定のデータを収集するとき、プログラム識別子を含む収集データを生成する収集データ生成部(不図示)と、収集データをネットワーク(第1ネットワーク12)を介して収集装置220に送信する送信部(不図示)と、を含み、収集装置220は、ユーザ端末(端末装置50)から送信された収集データを受信する受信部(不図示)と、データベース(調査データデータベース340)にアクセスし、受信部が受信した収集データからプログラム識別子(調査ID)を取得し、そのプログラム識別子に対応するデータテーブルに収集データを格納する格納部(データベースサーバ320)と、を含む。   In the data collection system (investigation system 10) of the present embodiment, the program generation device 100 includes a first execution unit (execution instruction unit 134 in FIG. 4) that executes a table generation program, and an identifier assignment unit of the program generation device 100. (Survey ID assigning unit 146 in FIG. 7) assigns a program identifier (survey ID) to the data table when the first execution unit executes the table generation program to generate a data table in the database (survey data database 340). The user terminal (terminal device 50) includes a second execution unit (not shown) that executes the data collection program and a program identifier when the second execution unit executes the data collection program and collects predetermined data. A collection data generation unit (not shown) that generates collection data including A transmission unit (not shown) that transmits to the collection device 220 via the network 12). The collection device 220 receives a collection data transmitted from the user terminal (terminal device 50) (not shown). And a storage unit (database server) that accesses the database (survey data database 340), acquires a program identifier (survey ID) from the collected data received by the receiving unit, and stores the collected data in a data table corresponding to the program identifier 320).

テーブルアクセスプログラムは、解析装置300が実行し、調査データデータベース340に蓄積された調査結果を読み出し、所定のファイル形式に書き出すためのものである。   The table access program is executed by the analysis apparatus 300 to read out the investigation results stored in the investigation data database 340 and write it in a predetermined file format.

図4は、図1のプログラム生成装置100の構成を示す機能ブロック図である。プログラム生成装置100は、表示部102と、表示処理部104と、操作部108と、受付部110と、生成部112と、コンパイル部114と、格納処理部118と、入力画面情報生成部124と、コンテンツ格納部126と、ひな形格納部128と、基本関数格納部130と、実行指示部134と、第1インターフェース部136と、第2インターフェース部138と、を含む。   FIG. 4 is a functional block diagram showing the configuration of the program generation device 100 of FIG. The program generation device 100 includes a display unit 102, a display processing unit 104, an operation unit 108, a reception unit 110, a generation unit 112, a compilation unit 114, a storage processing unit 118, and an input screen information generation unit 124. A content storage unit 126, a model storage unit 128, a basic function storage unit 130, an execution instruction unit 134, a first interface unit 136, and a second interface unit 138.

プログラム生成装置100の各構成要素は、任意のコンピュータのCPU、メモリ、メモリにロードされた本図の構成要素を実現するプログラム、そのプログラムを格納するハードディスクなどの記憶ユニット、ネットワーク接続用インターフェースを中心にハードウエアとソフトウエアの任意の組合せによって実現されるが、その実現方法、装置にはいろいろな変形例があることは、当業者には理解されるところである。以下説明する各図は、ハードウエア単位の構成ではなく、機能単位のブロックを示している。   Each component of the program generation device 100 is centered on a CPU of a computer, a memory, a program that realizes the components of this figure loaded in the memory, a storage unit such as a hard disk that stores the program, and a network connection interface. However, it will be understood by those skilled in the art that there are various modifications in the implementation method and apparatus. Each drawing described below shows a functional unit block, not a hardware unit configuration.

入力画面情報生成部124は、前述した調査用のプログラム(以下、単に「調査プログラム」という)を形成するために必要な種々の情報を入力するための入力画面を、表示部102に形成するための情報を生成し、表示処理部104に出力する。表示処理部104は、入力画面からの通知の内容を表示部102に表示させる。操作部108は、例えばキーボードやマウスなどの入力デバイスであり、ユーザから操作を受け付け、入力画面に対する種々の情報をパラメータ管理部109に出力する。パラメータ管理部109は、入力された情報をパラメータとして、パラメータ名などに対応付けて管理する。そして、入力画面情報生成部124は、パラメータ管理部109に管理されているパラメータを読み込み、新たに入力されたパラメータを入力画面に反映する。また、パラメータ管理部109は、所定のタイミングで管理中のパラメータを受付部110に出力する。   The input screen information generation unit 124 forms an input screen on the display unit 102 for inputting various information necessary for forming the above-described investigation program (hereinafter simply referred to as “investigation program”). Is generated and output to the display processing unit 104. The display processing unit 104 causes the display unit 102 to display the content of the notification from the input screen. The operation unit 108 is an input device such as a keyboard or a mouse, for example. The operation unit 108 receives an operation from the user and outputs various information regarding the input screen to the parameter management unit 109. The parameter management unit 109 manages the input information as a parameter in association with a parameter name or the like. Then, the input screen information generation unit 124 reads the parameters managed by the parameter management unit 109, and reflects the newly input parameters on the input screen. The parameter management unit 109 outputs the parameter being managed to the reception unit 110 at a predetermined timing.

図5は、図4の表示部102に表示される入力画面450の一例を示す図である。諸情報入力領域460は、調査プログラムが前述した機能を実現するために必要な種々の情報を入力するための領域である。「調査ID」は、調査プログラムを識別するための情報であり、例えば調査結果を図1の解析装置300に送信する際に、調査結果に対応付けて送信される。たとえば、後述する調査ID付与部が、調査プログラム作成時に自動的に調査プログラムに調査IDを連番で付与することができる。「調査名称」は、調査毎の名称であり、図3のタイトル領域402に表示される。「データ送信URL」は、調査結果の送信先である図1の解析装置300を第1ネットワーク12上で特定するための情報を入力するための領域であり、例えば収集装置220のURL(Uniform Resource Locator)が設定される。   FIG. 5 is a diagram showing an example of the input screen 450 displayed on the display unit 102 of FIG. The various information input area 460 is an area for inputting various information necessary for the investigation program to realize the functions described above. “Survey ID” is information for identifying a survey program. For example, when a survey result is transmitted to the analysis apparatus 300 in FIG. 1, the survey ID is transmitted in association with the survey result. For example, a survey ID assigning unit, which will be described later, can automatically assign a survey ID to the survey program with a serial number when creating the survey program. “Survey name” is a name for each survey, and is displayed in the title area 402 of FIG. The “data transmission URL” is an area for inputting information for identifying the analysis apparatus 300 in FIG. 1 as the transmission destination of the investigation result on the first network 12. For example, the URL (Uniform Resource) of the collection apparatus 220 is used. Locator) is set.

コンポーネント追加操作ボタン群462は、調査項目を追加する場合に利用する。タイプ選択コンポーネント470は、追加する調査項目の回答の入力に利用するコンポーネントのタイプを指定するためのコンポーネントである。タイプ選択コンポーネント470で選択可能なコンポーネントのタイプとして、例えば複数の選択肢の中からひとつの回答を選択可能なラジオボタン(図中では「SA」と表記)、複数の選択肢の中から任意の数の回答を選択可能なチェックボックス(図中では「MA」と表記)、テキスト入力をするためのテキストボックス(図中では「Text」と表記)がある。任意のタイプをタイプ選択コンポーネント470から選択し、コンポーネント追加ボタン472を押下することにより、選択したタイプに応じたコンポーネント設定領域464が追加される。   The component addition operation button group 462 is used when adding a survey item. The type selection component 470 is a component for designating the type of component used for inputting the answer of the survey item to be added. As a component type that can be selected by the type selection component 470, for example, a radio button (indicated as “SA” in the drawing) that can select one answer from a plurality of options, any number of options from a plurality of options There is a check box (indicated as “MA” in the figure) that can select an answer, and a text box (indicated as “Text” in the figure) for inputting text. By selecting an arbitrary type from the type selection component 470 and pressing a component addition button 472, a component setting area 464 corresponding to the selected type is added.

各コンポーネント設定領域464は、図3の調査項目指示領域440を形成するために必要な情報と、図3の調査結果入力領域442を形成するために必要な情報とを入力できるように、例えばテキストボックスやチェックボックスなどのコンポーネントにより構成されている。   Each component setting area 464 has, for example, text so that information necessary for forming the survey item instruction area 440 in FIG. 3 and information necessary for forming the survey result input area 442 in FIG. 3 can be input. It consists of components such as boxes and check boxes.

第1コンポーネント設定領域464aは、コンポーネントタイプとして「テキストボックス」を選択した場合に追加される。タイプ表示領域476には、コンポーネントのタイプが表示される。第1コンポーネント設定領域464aには、図3の調査項目指示領域440を形成するために、質問文入力領域480および画像選択コンポーネント486が設けられている。また、図3の調査結果入力領域442を形成するために、回答入力領域482、最大文字数指定領域488、および入力文字タイプ指定ボックス490が設けられている。   The first component setting area 464a is added when “text box” is selected as the component type. The type display area 476 displays the component type. In the first component setting area 464a, a question sentence input area 480 and an image selection component 486 are provided in order to form the survey item instruction area 440 of FIG. In addition, an answer input area 482, a maximum character number specifying area 488, and an input character type specifying box 490 are provided to form the survey result input area 442 of FIG.

質問文入力領域480は、例えば、調査員に調査させる事柄を指示するための文書を入力するための領域である。ここに入力した文字列が、図3の調査内容文字列434として表示される。画像選択コンポーネント486は、図3の画像420として表示する画像コンテンツを選択するためのコンポーネントであり、例えばリストの中から任意の画像コンテンツを選択できるように形成される。詳細は後述するが図4のコンテンツ格納部126は、画像コンテンツを格納しており、入力画面情報生成部124は、コンテンツ格納部126に格納されている画像コンテンツのリストを生成して、図5の画像選択コンポーネント486を形成する。   The question sentence input area 480 is an area for inputting a document for instructing a matter to be investigated by the investigator, for example. The character string input here is displayed as the survey content character string 434 in FIG. The image selection component 486 is a component for selecting image content to be displayed as the image 420 in FIG. 3, and is formed so that any image content can be selected from a list, for example. Although the details will be described later, the content storage unit 126 in FIG. 4 stores image content, and the input screen information generation unit 124 generates a list of image contents stored in the content storage unit 126, and FIG. The image selection component 486 is formed.

回答入力領域482は、テキストボックスの周辺に表示される文字列を入力するための領域である。この文字列が、回答を入力するためのテキストボックスの上方、下方、左側、または右側のいずれかに配置される。最大文字数指定領域488は、テキストボックスに入力可能な文字数の上限を設定するための領域である。入力文字タイプ指定ボックス490は、テキストボックスに入力可能な文字タイプを指定するためのチェックボックスである。本実施の形態では、チェックすることにより数字の入力だけが可能になり、チェックをはずすことにより、例えばひらがな、カタカナ、漢字、アルファベット、数字など任意の文字タイプの入力が可能になる。なお、回答入力領域482、最大文字数指定領域488、および入力文字タイプ指定ボックス490は対応付けられている。   The answer input area 482 is an area for inputting a character string displayed around the text box. This character string is arranged on the upper, lower, left, or right side of the text box for inputting an answer. The maximum number of characters designation area 488 is an area for setting an upper limit of the number of characters that can be entered in the text box. The input character type designation box 490 is a check box for designating a character type that can be entered in the text box. In the present embodiment, only a number can be input by checking, and any character type such as hiragana, katakana, kanji, alphabet, and numbers can be input by removing the check. Note that the answer input area 482, the maximum character number specifying area 488, and the input character type specifying box 490 are associated with each other.

本図では、回答入力領域482に「自販機IDを入力」が記入され、最大文字数指定領域488に「4」が記入され、入力文字タイプ指定ボックス490がチェックされている。これにより、図3の第2作業画面400bが形成される。すなわち、テキスト入力領域412の上方の回答内容文字列410に「自販機IDを入力」と表示される。また、そのテキスト入力領域412は、数字のみ入力可能であり、その最大数は4文字になっている。   In this figure, “input vending machine ID” is entered in the answer input area 482, “4” is entered in the maximum character number designation area 488, and the input character type designation box 490 is checked. Thereby, the second work screen 400b of FIG. 3 is formed. That is, “Enter vending machine ID” is displayed in the response content character string 410 above the text input area 412. In the text input area 412, only numbers can be input, and the maximum number is 4 characters.

図5に戻り、回答追加ボタン478は、回答入力領域482を追加する。すなわち、図3の調査結果入力領域442としてテキストボックスを複数設ける場合、回答追加ボタン478を所望の回数、押下する。これにより、第1コンポーネント設定領域464aには、回答追加ボタン478を押下した数の回答入力領域482が新たに追加される。追加したそれぞれの回答入力領域482は、個別に文字列を設定可能である。もちろん、各回答入力領域482に対応付けられた最大文字数指定領域488および入力文字タイプ指定ボックス490を個別に設定できる。また、後述する第2コンポーネント設定領域464b、および第3コンポーネント設定領域464cの回答追加ボタン478は、それぞれラジオボタンならびにチェックボックス用の回答入力領域482を追加する。   Returning to FIG. 5, the answer addition button 478 adds an answer input area 482. That is, when a plurality of text boxes are provided as the survey result input area 442 in FIG. 3, the answer addition button 478 is pressed a desired number of times. As a result, as many answer input areas 482 as the answer add button 478 is pressed are newly added to the first component setting area 464a. A character string can be individually set for each added answer input area 482. Of course, the maximum character number designation area 488 and the input character type designation box 490 associated with each answer input area 482 can be individually set. In addition, an answer addition button 478 in a second component setting area 464b and a third component setting area 464c described later adds an answer input area 482 for a radio button and a check box, respectively.

回答削除コンポーネント494は、回答入力領域482を削除するためのコンポーネントである。回答削除コンポーネント494を押下することにより、対応する回答入力領域482が削除される。   The answer deletion component 494 is a component for deleting the answer input area 482. By pressing the answer deletion component 494, the corresponding answer input area 482 is deleted.

ラジオボタン474は、調査結果に位置情報を対応付けるか否か、すなわち図1の端末装置50が有するGPSユニットを利用するか否かを指定するためのコンポーネントである。ラジオボタン474がチェックされている場合、調査結果に位置情報が対応付けられる。本実施の形態では、いずれかのコンポーネント設定領域464のラジオボタン474がチェックされている場合、調査プログラムを実行したのち、いずれかのタイミングで位置情報が取得される。   The radio button 474 is a component for designating whether to associate position information with the survey result, that is, whether to use the GPS unit of the terminal device 50 in FIG. When the radio button 474 is checked, position information is associated with the survey result. In the present embodiment, when the radio button 474 of any one of the component setting areas 464 is checked, the position information is acquired at any timing after executing the investigation program.

調査項目削除コンポーネント496は、調査項目を削除するためのコンポーネントである。調査項目削除コンポーネント496を押下することにより、対応する調査項目のコンポーネント設定領域464が削除される。   The survey item deletion component 496 is a component for deleting a survey item. By pressing the survey item deletion component 496, the component setting area 464 of the corresponding survey item is deleted.

第2コンポーネント設定領域464bは、コンポーネントタイプとして「ラジオボタン」を選択した場合に追加される。第2コンポーネント設定領域464bの回答入力領域482に入力した文字列は、ラジオボタン毎に対応付けられて表示される。つまり、各回答入力領域482には各選択肢を入力する。リンク指定領域492は、その回答を選択した場合に、順番に調査項目を表示するのではなく、リンク先として指定された他の調査項目を表示するか否かを指定するためのコンポーネントである。例えば、リンク指定領域492は、調査項目のリストの中から任意の調査項目を選択できるように形成されている。そして、ラジオボタンが選択された場合に、リンク先として指定された調査項目の画面が表示される。   The second component setting area 464b is added when “radio button” is selected as the component type. The character string input in the answer input area 482 of the second component setting area 464b is displayed in association with each radio button. That is, each option is input to each answer input area 482. The link designation area 492 is a component for designating whether or not to display other survey items specified as link destinations instead of displaying survey items in order when the answer is selected. For example, the link designation area 492 is formed so that an arbitrary survey item can be selected from the list of survey items. Then, when the radio button is selected, the screen of the survey item designated as the link destination is displayed.

第3コンポーネント設定領域464cは、コンポーネントタイプとして「チェックボックス」を選択した場合に追加される。第3コンポーネント設定領域464cの回答入力領域482に入力した文字列は、チェックボックス毎に対応付けて表示される。つまり、各回答入力領域482には各選択肢を入力する。   The third component setting area 464c is added when “check box” is selected as the component type. The character string input in the answer input area 482 of the third component setting area 464c is displayed in association with each check box. That is, each option is input to each answer input area 482.

こうした表示処理は、図4の操作部108におけるユーザの操作に応じて更新されたパラメータに基づいて、入力画面情報生成部124が入力画面450を形成するための情報を随時書き換えることにより実現する。   Such display processing is realized by the input screen information generation unit 124 rewriting information for forming the input screen 450 as needed based on parameters updated in accordance with a user operation on the operation unit 108 in FIG.

生成ボタン452は、入力画面450に入力された種々の情報を利用してソースコードを生成することを指示するためのボタンである。キャンセルボタン454は、入力画面450への入力をキャンセルするためのボタンである。生成ボタン452を押下した場合、図4のパラメータ管理部109は、管理中のパラメータを受付部110に出力する。パラメータの出力形態はいろいろとあるが、本実施の形態では、パラメータ管理部109は、XML(eXtensible Markup Language)形式のファイル(以下、単に「パラメータファイル」という)として、各パラメータを受付部110に出力する。   The generation button 452 is a button for instructing generation of source code using various information input on the input screen 450. The cancel button 454 is a button for canceling input to the input screen 450. When the generation button 452 is pressed, the parameter management unit 109 in FIG. 4 outputs the parameter being managed to the reception unit 110. Although there are various output forms of parameters, in the present embodiment, the parameter management unit 109 sends each parameter to the reception unit 110 as an XML (eXtensible Markup Language) format file (hereinafter simply referred to as “parameter file”). Output.

図6は、図4のパラメータ管理部109が受付部110に出力するパラメータファイル150のデータ構造の一例を示す図である。ひとつの調査プログラムを生成するための全てのパラメータは、パラメータの開始を示すパラメータ開始タグ151aと、パラメータの終了を示すパラメータ終了タグ151bとに囲まれて保持される。そして、各パラメータは、パラメータの名称を示すタグに囲まれて保持される。調査ID欄152、名称欄154、およびURL欄156は、図5の諸情報入力領域460に入力した、「調査ID」、「調査名称」ならびに「データ送信URL」をそれぞれ保持する。また、図5のコンポーネント設定領域464に入力した種々の情報は、ページ構成情報欄160にそれぞれタグに囲まれて保持される。本実施の形態では、ひとつのページ、すなわち図3のひとつの作業画面400を形成するための情報が、ひとつのページ構成情報欄160に含まれている。   FIG. 6 is a diagram illustrating an example of a data structure of the parameter file 150 output from the parameter management unit 109 of FIG. 4 to the reception unit 110. All parameters for generating one investigation program are held by being surrounded by a parameter start tag 151a indicating the start of the parameter and a parameter end tag 151b indicating the end of the parameter. Each parameter is held by being surrounded by a tag indicating the name of the parameter. The survey ID field 152, the name field 154, and the URL field 156 hold the “survey ID”, “survey name”, and “data transmission URL” input in the various information input area 460 of FIG. Further, various information input to the component setting area 464 in FIG. 5 is held in the page configuration information column 160 surrounded by tags. In the present embodiment, information for forming one page, that is, one work screen 400 in FIG. 3 is included in one page configuration information column 160.

ページNo欄162は、ページを識別するページ識別情報を保持し、例えば表示する順番を保持してもよい。すなわち、後述する図4の生成部112は、ページ識別情報に基づいて各ページを表示する順番を決め、その順番で各ページを表示するようにソースコードを生成する。このページ識別情報は、図5のコンポーネント追加ボタン472を操作して、コンポーネント設定領域464を追加した際に、図4のパラメータ管理部109により各コンポーネント設定領域464に例えば昇順で割り当てられる。   The page number column 162 holds page identification information for identifying pages, and may hold the order of display, for example. That is, the generation unit 112 in FIG. 4 described later determines the order in which each page is displayed based on the page identification information, and generates source code so that each page is displayed in that order. This page identification information is assigned to each component setting area 464 in ascending order, for example, by the parameter management unit 109 in FIG. 4 when the component setting area 464 is added by operating the component addition button 472 in FIG.

コンポーネント欄174は、図3の調査結果入力領域442を形成するための種々の情報を保持する。データ名欄164は、そのコンポーネントにより入力もしくは選択された回答を特定するデータ名を保持する。図1の端末装置50は、調査結果を解析装置300に送信する際、そのデータ名に対応付けて回答を送信する。また、他の例で、調査結果をCSV形式で送信する場合には、データ名を設定しなくてもよい。   The component column 174 holds various information for forming the survey result input area 442 of FIG. The data name column 164 holds a data name for specifying an answer input or selected by the component. The terminal device 50 in FIG. 1 transmits a response in association with the data name when transmitting the survey result to the analysis device 300. In another example, when the survey result is transmitted in the CSV format, the data name need not be set.

タイプ欄166は、例えば、テキスト(図中「Text」と表記)、ラジオボックス(図中「SA」と表記)、チェックボックス(図中「MA」と表記)などのコンポーネントのタイプを特定するタイプ情報を保持する。また、位置情報を取得するGPSコンポーネント、CCDカメラを利用して画像を撮影する撮影コンポーネントなど端末装置50のハードウエアを制御するためのコンポーネントを識別する情報も同様にタイプ情報としてタイプ欄166に保持される。   The type column 166 is a type for specifying the type of component such as text (indicated as “Text” in the figure), radio box (indicated as “SA” in the figure), check box (indicated as “MA” in the figure), and the like. Keep information. Information for identifying components for controlling the hardware of the terminal device 50 such as a GPS component that acquires position information and a photographing component that captures an image using a CCD camera is also stored in the type column 166 as type information. Is done.

文字列欄168は、図5の回答入力領域482に入力された文字列を保持する。文字種欄170は、入力可能な文字の種類を特定する情報を保持する。本実施の形態では、図5の入力文字タイプ指定ボックス490がチェックされている場合に、「数字」が設定され、チェックされていない場合に任意の文字の種類を示す情報が設定される。文字数欄172は、図5の最大文字数指定領域488に入力された数字を保持する。   The character string column 168 holds the character string input in the answer input area 482 of FIG. The character type column 170 holds information for specifying the types of characters that can be input. In the present embodiment, “numeric” is set when the input character type designation box 490 of FIG. 5 is checked, and information indicating an arbitrary character type is set when it is not checked. The number-of-characters column 172 holds the number input in the maximum number-of-characters designation area 488 of FIG.

タイプ欄166にテキストが保持されている場合、コンポーネント欄174には、テキストボックスを形成するために文字種欄170および文字数欄172が含まれる。また、タイプ欄166にラジオボックスを示す「SA」またはチェックボックスを示す「MA」が保持されている場合、ラジオボックスまたはチェックボックスを形成するために、選択肢の枝数分の文字列欄168が含まれる。   When text is held in the type field 166, the component field 174 includes a character type field 170 and a character number field 172 to form a text box. In addition, when “SA” indicating a radio box or “MA” indicating a check box is held in the type column 166, a character string column 168 corresponding to the number of branches of options is formed to form a radio box or a check box. included.

質問文欄180は、図5の質問文入力領域480に入力された文字列を保持する。画像ファイル名欄182は、図5の画像選択コンポーネント486で選択された画像ファイルのファイル名を保持する。他の例では、画像ファイル名欄182は、画像ファイルの格納場所を示すパスやURLを保持してもよい。   The question sentence column 180 holds the character string input in the question sentence input area 480 of FIG. The image file name column 182 holds the file name of the image file selected by the image selection component 486 of FIG. In another example, the image file name column 182 may hold a path or URL indicating the storage location of the image file.

図4に戻り、パラメータ管理部109は、このように図3の作業画面400を形成するための各パラメータを、調査項目毎にグループに分けて、すなわちページ構成情報欄160毎に分けて保持するパラメータファイルを図4の受付部110に出力する。   Returning to FIG. 4, the parameter management unit 109 holds the parameters for forming the work screen 400 of FIG. 3 in groups for each survey item, that is, for each page configuration information column 160. The parameter file is output to the reception unit 110 in FIG.

受付部110は、パラメータファイルをパラメータ管理部109から受け付ける。生成部112は、図7に示すように、調査プログラム生成部140と、テーブル生成プログラム生成部142と、テーブルアクセスプログラム生成部144と、調査ID付与部146と、を含む。   The receiving unit 110 receives a parameter file from the parameter management unit 109. As illustrated in FIG. 7, the generation unit 112 includes a survey program generation unit 140, a table generation program generation unit 142, a table access program generation unit 144, and a survey ID assignment unit 146.

調査プログラム生成部140は、受付部110が受け付けたパラメータに基づいて、調査プログラムのソースコードを動的に生成し、コンパイル部114に受け渡す。テーブル生成プログラム生成部142は、受付部110が受け付けたパラメータに基づいて、テーブル生成プログラムのソースコードを動的に生成し、コンパイル部114に受け渡す。テーブルアクセスプログラム生成部144は、受付部110が受け付けたパラメータに基づいて、テーブルアクセスプログラムのソースコードを動的に生成し、コンパイル部114に受け渡す。調査ID付与部146は、調査プログラム生成部140がソースコードを生成する調査プログラム毎に、調査プログラムと、テーブル生成プログラムと、テーブルアクセスプログラムと、を対応付けるための調査IDを各々に付与する。   The investigation program generation unit 140 dynamically generates a source code of the investigation program based on the parameters received by the reception unit 110 and passes the generated source code to the compilation unit 114. The table generation program generation unit 142 dynamically generates the source code of the table generation program based on the parameters received by the reception unit 110 and passes the generated source code to the compilation unit 114. The table access program generation unit 144 dynamically generates a source code of the table access program based on the parameter received by the reception unit 110 and passes it to the compilation unit 114. The survey ID assigning unit 146 assigns a survey ID for associating the survey program, the table generating program, and the table access program to each survey program for which the survey program generating unit 140 generates the source code.

図4に戻り、ひな形格納部128は、ソースコードを生成するための複数種類のひな形を保持する。本実施形態において、ひな形格納部128は、調査プログラム、テーブル生成プログラム、およびテーブルアクセスプログラムの各種プログラム毎に、必要なひな形を保持する。生成部112は、生成するプログラムに応じたひな形を読み出し、生成部112は、そのひな形を組み合わせ、各ひな形の所定の箇所にパラメータファイルに含まれているパラメータを挿入、もしくはひな形中の所定の文字列をパラメータに置換することによりソースコードを生成する。   Returning to FIG. 4, the template storage unit 128 holds a plurality of types of templates for generating source code. In the present embodiment, the template storage unit 128 holds necessary templates for each of various programs such as a survey program, a table generation program, and a table access program. The generation unit 112 reads a template corresponding to the program to be generated, and the generation unit 112 combines the templates and inserts the parameters included in the parameter file at predetermined positions of each template, or in the template A source code is generated by substituting a predetermined character string with a parameter.

ひな形格納部128は、ひな形と、そのひな形により実現する機能や入力インターフェースなどを特定する情報とを対応付けて保持する。例えば、ひな形格納部128は、タイプ情報に対応付けて、それらのコンポーネントを端末装置50で実現するためのプログラムコードをひな形として保持する。   The model storage unit 128 associates and stores a model and information for specifying a function and an input interface realized by the model. For example, the model storage unit 128 stores program codes for realizing these components in the terminal device 50 as templates, in association with the type information.

一般に、各種のプログラム言語には、API(Application Program Interface)として予め所定の処理を実現するための関数が用意されている。ソースコードは、それらのAPIをプログラム言語毎の文法に準じて組み合わせて作られている。ひな形は、例えば複数の関数を組み合わせたプログラムコードであってもよいし、ひとつの関数から成るプログラムコードであってもよい。要は、ひな形格納部128は、コンポーネントタイプとそのひな形とを対応付けて保持すればよい。   In general, various program languages are provided with functions for realizing predetermined processing in advance as an API (Application Program Interface). The source code is created by combining those APIs according to the grammar for each programming language. The model may be, for example, a program code combining a plurality of functions, or may be a program code composed of one function. In short, the model storage unit 128 may store the component type and the model in association with each other.

パラメータファイルに基づいて、ソースコードを生成するためのアルゴリズムは、いろいろと考えられる。ひな形格納部128が保持するひな形は、そのアルゴリズムに応じて適宜用意される。   Various algorithms for generating the source code based on the parameter file can be considered. The model held by the model storage unit 128 is appropriately prepared according to the algorithm.

例えば、図3の調査結果入力領域442としてテキストボックスを有する作業画面400を生成するためのひな形は、文字列を表示するための文字列表示関数とテキストボックスを表示するためのテキストボックス関数とを含んでいる。そして、それらの関数の引数に、図6の文字列欄168、文字種欄170、および文字数欄172に保持されている各情報を設定できるように、例えば引数に所定の変数名が割り当てられている。例えば、生成部112は、その変数に対応するパラメータを代入することにより、ソースコードを生成してもよいし、その変数をパラメータに置き換えて、ソースコードを生成してもよい。   For example, a template for generating a work screen 400 having a text box as the survey result input area 442 in FIG. 3 includes a character string display function for displaying a character string and a text box function for displaying a text box. Is included. Then, for example, a predetermined variable name is assigned to the argument so that the information held in the character string field 168, the character type field 170, and the character number field 172 in FIG. . For example, the generation unit 112 may generate a source code by substituting a parameter corresponding to the variable, or may generate a source code by replacing the variable with a parameter.

また、図3の調査結果入力領域442としてラジオボックスやチェックボックスを有する作業画面400を生成するためのひな形は、それぞれ文字表示関数を含み、ラジオボックスを表示するラジオボックス関数またはチェックボックスを表示するチェックボックス関数の少なくとも一方を含む。こうしたひな形に含まれるプログラムコードは、パラメータファイルに基づいてソースコードを生成するためのアルゴリズムに応じて適切に記述すればよい。要は、生成部112は、パラメータファイルに含まれるタイプ情報に基づいて、そのコンポーネントを形成するための関数もしくはひな形を特定し、その引数にパラメータを設定すればよい。   The template for generating the work screen 400 having radio boxes and check boxes as the survey result input area 442 in FIG. 3 includes a character display function, and displays a radio box function or check box for displaying the radio box. Include at least one of the checkbox functions. The program code included in such a template may be appropriately described according to an algorithm for generating source code based on the parameter file. In short, the generation unit 112 may specify a function or template for forming the component based on the type information included in the parameter file, and set a parameter for the argument.

パラメータファイルに図6の画像ファイル名欄182が含まれている場合、生成部112は、コンテンツ格納部126から該当する画像コンテンツを読み込み、所定のタイミングでソースコードとともにコンパイル部114に出力する。例えばそのタイミングは、後述するコンパイル部114がコンパイル処理を行うときであってもよい。   When the parameter file includes the image file name field 182 of FIG. 6, the generation unit 112 reads the corresponding image content from the content storage unit 126 and outputs it to the compilation unit 114 together with the source code at a predetermined timing. For example, the timing may be when the compiling unit 114 described later performs a compiling process.

生成部112は、ソースコードを生成し終えると、その旨をソースコード完成通知としてコンパイル部114に出力する。例えば、生成部112は、パラメータファイルのページ構成情報欄160を単位としてソースコードに変換する処理を順次行う。そして、全てのページ構成情報欄160について変換を終了した時点でソースコードが完成する。生成部112は、このとき、すなわち全てのページ構成情報欄160について変換を終了した時点で、その旨をコンパイル部114に出力してもよい。また、生成部112は、パラメータファイルのパラメータ開始タグ151aからパラメータ終了タグ151bまで、各パラメータに基づいて順次ソースコードに変換する処理を行い、パラメータ終了タグ151bに到達すると変換処理を終了するとともに、ソースコード完成通知をコンパイル部114に出力してもよい。   When the generation unit 112 finishes generating the source code, the generation unit 112 outputs the fact to the compile unit 114 as a source code completion notification. For example, the generation unit 112 sequentially performs a process of converting into the source code in units of the page configuration information column 160 of the parameter file. The source code is completed when the conversion is completed for all the page configuration information fields 160. At this time, that is, when the conversion for all the page configuration information fields 160 is completed, the generation unit 112 may output the fact to the compilation unit 114. In addition, the generation unit 112 performs a process of sequentially converting the source code based on each parameter from the parameter start tag 151a to the parameter end tag 151b of the parameter file, and ends the conversion process when the parameter end tag 151b is reached. A source code completion notification may be output to the compiling unit 114.

基本関数格納部130は、コンパイルに必要な種々のファイルを保持する。コンパイル部114は、基本関数格納部130に保持されているファイルを利用して、ソースコードをオブジェクトコードに変換して、調査プログラム、テーブル生成プログラム、またはテーブルアクセスプログラムを生成する。   The basic function storage unit 130 holds various files necessary for compilation. The compiling unit 114 uses a file held in the basic function storage unit 130 to convert the source code into an object code, and generates an investigation program, a table generation program, or a table access program.

格納処理部118は、コンパイル部114が生成した調査プログラムをプログラム提供装置200に出力し、配信可能にさせる。また、格納処理部118は、テーブル生成プログラムを実行指示部134に受け渡す。実行指示部134は、テーブル生成プログラムを第1インターフェース部136を介して第2ネットワーク16上のデータベースサーバ320に送信するとともに、テーブル生成プログラムの実行を指示する。さらに格納処理部118は、テーブルアクセスプログラムを第2インターフェース部138を介して第3ネットワーク18上の解析装置300に送信する。   The storage processing unit 118 outputs the investigation program generated by the compiling unit 114 to the program providing apparatus 200 so that it can be distributed. Further, the storage processing unit 118 delivers the table generation program to the execution instruction unit 134. The execution instruction unit 134 transmits the table generation program to the database server 320 on the second network 16 via the first interface unit 136 and instructs the execution of the table generation program. Further, the storage processing unit 118 transmits the table access program to the analysis device 300 on the third network 18 via the second interface unit 138.

このプログラム生成装置100により、ユーザが図5の入力画面450を利用して単に調査項目を入力することにより、ソースコードを生成し、自動的にコンパイルして調査プログラム、テーブル生成プログラム、およびテーブルアクセスプログラムを生成することができる。   With this program generation device 100, a user simply inputs a survey item using the input screen 450 in FIG. 5 to generate a source code and automatically compile the survey code, a table generation program, and a table access A program can be generated.

図8は、図1のプログラム提供装置200の構成を示す機能ブロック図である。登録部202は、プログラム生成装置100から調査プログラムを受け付ける。そして、登録部202は、受け付けた調査プログラムをプログラム格納部204に格納する。プログラム提供部206は、端末装置50からの要求に応じて、プログラム格納部204に格納されている調査プログラムを提供する。プログラム提供部206は、調査プログラムを提供する際に、例えば端末装置50に固有に割り当てられている識別情報などにより、調査員の認証を行い、認証に成功した場合に、調査プログラムを端末装置50に提供してもよい。   FIG. 8 is a functional block diagram showing the configuration of the program providing apparatus 200 of FIG. The registration unit 202 receives a survey program from the program generation device 100. Then, the registration unit 202 stores the accepted survey program in the program storage unit 204. The program providing unit 206 provides an investigation program stored in the program storage unit 204 in response to a request from the terminal device 50. When providing the survey program, the program providing unit 206 authenticates the investigator using, for example, identification information uniquely assigned to the terminal device 50, and when the authentication is successful, the program providing unit 206 transmits the survey program to the terminal device 50. May be provided.

このように構成された本実施形態の調査システム10の動作について、以下に説明する。図9は、本実施形態の調査システム10の動作の一例を示すフローチャートである。以下、図1乃至図9を用いて説明する。   The operation of the survey system 10 of the present embodiment configured as described above will be described below. FIG. 9 is a flowchart showing an example of the operation of the investigation system 10 of the present embodiment. Hereinafter, a description will be given with reference to FIGS.

はじめに、図4のプログラム生成装置100において、表示部102に図5の入力画面450が表示される(S10)。ユーザが入力画面450に従って、諸情報入力領域460に「調査ID」、「調査名称」ならびに「データ送信URL」をそれぞれ入力する。さらに、図5のコンポーネント追加ボタン472を操作して、コンポーネント設定領域464を追加し、コンポーネントのタイプを選択し、図3の調査項目指示領域440を形成するために、質問文入力領域480への質問文の入力および画像選択コンポーネント486の有無を選択する。さらに、回答入力領域482に少なくとも一つの回答を入力することができる。このようにしてユーザが入力画面450を用いて入力したパラメータを図4のパラメータ管理部109が図4の操作部108から受けとり、図4の受付部110に受け渡す。   First, in the program generation device 100 of FIG. 4, the input screen 450 of FIG. 5 is displayed on the display unit 102 (S10). The user inputs “survey ID”, “survey name”, and “data transmission URL” in the various information input area 460 according to the input screen 450. Further, the component addition button 472 in FIG. 5 is operated to add the component setting area 464, select the component type, and form the survey item instruction area 440 in FIG. The question text input and the presence / absence of the image selection component 486 are selected. Furthermore, at least one answer can be entered in the answer input area 482. In this way, the parameters input by the user using the input screen 450 are received by the parameter management unit 109 in FIG. 4 from the operation unit 108 in FIG. 4 and transferred to the reception unit 110 in FIG.

そして、図4の受付部110は、図4のパラメータ管理部109からパラメータファイルを受け付ける(S12)。そして、図7の生成部112において、受付部110が受け付けたパラメータファイルに含まれるパラメータに基づいて、ひな形格納部128から調査プログラム用のひな形を選択し(S14)、図7の調査プログラム生成部140が、そのひな形中の所定の引数を、パラメータファイル中のパラメータに置き換え、調査プログラムのソースコードを生成する(S16)。   Then, the receiving unit 110 in FIG. 4 receives a parameter file from the parameter management unit 109 in FIG. 4 (S12). Then, the generating unit 112 in FIG. 7 selects a model for the survey program from the model storage unit 128 based on the parameters included in the parameter file received by the receiving unit 110 (S14), and the survey program in FIG. The generation unit 140 replaces the predetermined argument in the template with the parameter in the parameter file, and generates the source code of the investigation program (S16).

さらに、図7の調査プログラム生成部140にて調査プログラムのソースコードが完成したとき、図4のコンパイル部114は調査プログラムのソースコードのコンパイルを実行する(S18)。このとき、コンパイルされた調査プログラムには、調査ID付与部146により調査IDを含むファイル名が付与される。   Furthermore, when the survey program source code of the survey program generation unit 140 in FIG. 7 is completed, the compiling unit 114 in FIG. 4 compiles the source code of the survey program (S18). At this time, a file name including the survey ID is given to the compiled survey program by the survey ID assigning unit 146.

コンパイルされた調査プログラムは、図4の格納処理部118に出力され、格納処理部118はその調査プログラムを図1のプログラム提供装置200に出力し、図1の端末装置50に提供可能な状態にさせる(S20)。たとえば、後述するように、調査プログラムを第1ネットワーク12上で公開することにより、端末装置50がプログラム提供装置200にアクセスし、ダウンロードさせる構成とすることもできる。   The compiled survey program is output to the storage processing unit 118 in FIG. 4, and the storage processing unit 118 outputs the survey program to the program providing device 200 in FIG. 1 so that it can be provided to the terminal device 50 in FIG. (S20). For example, as will be described later, the terminal device 50 can access the program providing apparatus 200 and download it by publishing the investigation program on the first network 12.

つづいて、図7のテーブル生成プログラム生成部142が、ひな形格納部128から選択されたテーブル生成プログラム用のひな形中の所定の引数を、パラメータファイル中のパラメータに置き換え、テーブル生成プログラムのソースコードを生成する(S22)。そして、図7のテーブル生成プログラム生成部142にてテーブル生成プログラムのソースコードが完成したとき、図4のコンパイル部114はテーブル生成プログラムのソースコードのコンパイルを実行する(S24)。このとき、コンパイルされたテーブル生成プログラムには、調査ID付与部146により調査IDを含むファイル名が付与される。   Subsequently, the table generation program generation unit 142 in FIG. 7 replaces predetermined arguments in the template for the table generation program selected from the template storage unit 128 with parameters in the parameter file, and the source of the table generation program A code is generated (S22). Then, when the table generation program source code 142 in FIG. 7 completes the source code of the table generation program, the compiling unit 114 in FIG. 4 executes compilation of the source code of the table generation program (S24). At this time, a file name including the survey ID is given to the compiled table generation program by the survey ID giving unit 146.

そして、コンパイルされたテーブル生成プログラムは、図4の実行指示部134に受け渡され、第1インターフェース部136を介して第2ネットワーク16上のデータベースサーバ320に送信される。そして実行指示部134は、データベースサーバ320にそのテーブル生成プログラムの実行指示を行う(S26)。このとき、データベースサーバ320は、受信したテーブル生成プログラムを実行し、調査データデータベース340にテーブル生成プログラムによってデータテーブルが作成される。   Then, the compiled table generation program is transferred to the execution instruction unit 134 of FIG. 4 and transmitted to the database server 320 on the second network 16 via the first interface unit 136. Then, the execution instruction unit 134 instructs the database server 320 to execute the table generation program (S26). At this time, the database server 320 executes the received table generation program, and a data table is created in the survey data database 340 by the table generation program.

ここで作成されるデータテーブルは、調査プログラムの調査項目と対応したデータ構造を有するテーブルとなる。データテーブルには、調査IDを含むファイル名が付与される。データベースサーバ320は、収集装置220によって収集された調査結果のデータを格納する際、調査結果のデータに含まれる調査IDをキーとしてデータを格納するデータテーブルを探し、該当するデータテーブルに調査結果のデータを格納する。調査結果190のデータは図2に示されるフォーマットを有し、収集装置220が受信した順にデータテーブルに蓄積されていく。   The data table created here is a table having a data structure corresponding to the survey item of the survey program. A file name including a survey ID is assigned to the data table. When the database server 320 stores the survey result data collected by the collection device 220, the database server 320 searches for a data table storing data using the survey ID included in the survey result data as a key, and stores the survey result in the corresponding data table. Store the data. The data of the survey result 190 has the format shown in FIG. 2 and is accumulated in the data table in the order received by the collection device 220.

さらに、図7のテーブルアクセスプログラム生成部144が、ひな形格納部128から選択されたテーブルアクセスプログラム用のひな形中の所定の引数を、パラメータファイル中のパラメータに置き換え、テーブルアクセスプログラムのソースコードを生成する(S28)。そして、図7のテーブルアクセスプログラム生成部144にてテーブルアクセスプログラムのソースコードが完成したとき、図4のコンパイル部114はテーブルアクセスプログラムのソースコードのコンパイルを実行する(S30)。このとき、コンパイルされたテーブルアクセスプログラムには、調査ID付与部146により調査IDを含むファイル名が付与される。   Furthermore, the table access program generation unit 144 in FIG. 7 replaces predetermined arguments in the template for the table access program selected from the template storage unit 128 with parameters in the parameter file, and the source code of the table access program Is generated (S28). Then, when the source code of the table access program is completed in the table access program generation unit 144 of FIG. 7, the compiling unit 114 of FIG. 4 executes compilation of the source code of the table access program (S30). At this time, the compiled table access program is given a file name including a survey ID by the survey ID assigning unit 146.

図10および図11に、テーブルアクセスプログラム500のソースコードの一例を示す。テーブルアクセスプログラム500は、サーバ名502、テーブル名504、調査共通情報506、および複数の調査項目508、ならびに選択肢510を含むことができる。調査項目508および選択肢510に示すように、図3の作業画面400で調査を実行したときの調査項目の文字列が使用される。   10 and 11 show an example of the source code of the table access program 500. FIG. The table access program 500 can include a server name 502, a table name 504, survey common information 506, a plurality of survey items 508, and options 510. As shown in the survey item 508 and the options 510, the character string of the survey item when the survey is executed on the work screen 400 of FIG. 3 is used.

調査項目508および選択肢510は、調査データデータベース340のデータテーブルから調査結果のデータを読み出し、所定の形式のファイルに書き出すときに、たとえばフィールド名として使用することができる。これにより、テーブルアクセスプログラムによって読み出された調査結果のデータは、単なるデータの羅列ではなく、特に分かりやすい意味を持ったレコード群となる。このようにして読み出された調査結果は、その後各種の解析でより扱いやすいデータとなる。たとえば、そのままCSV形式で書き出せば、表計算ソフトなどに読み込むことにより、簡単に集計および図表化することができ、様々な解析が可能となる。   The survey item 508 and the options 510 can be used as, for example, field names when survey result data is read from the data table of the survey data database 340 and written into a file of a predetermined format. As a result, the survey result data read by the table access program is not a simple list of data, but a record group having a particularly easy-to-understand meaning. The survey results read out in this way become data that can be handled more easily by various analyzes thereafter. For example, if it is written out in CSV format as it is, it can be easily tabulated and charted by reading it into spreadsheet software or the like, and various analyzes are possible.

そして、コンパイルされたテーブルアクセスプログラムは、図4の第2インターフェース部138を介して第3ネットワーク18上の図1の解析装置300に送信される(S32)。解析装置300では、テーブルアクセスプログラムをプログラム記憶部(不図示)に格納し、ユーザの要求に応じて実行させることができる。あるいは、調査プログラムと同様に、テーブルアクセスプログラムも、プログラム提供装置200に登録し、解析装置300がプログラム提供装置200にアクセスすることにより、必要なテーブルアクセスプログラムを解析装置300にダウンロードする構成とすることもできる。その場合、図1の解析装置300は、プログラム提供装置200に第3ネットワーク18を介して接続されることとなる。本実施形態において、第3ネットワーク18は、企業内などに限定されたイントラネットとするのが好ましい。   Then, the compiled table access program is transmitted to the analysis apparatus 300 of FIG. 1 on the third network 18 via the second interface unit 138 of FIG. 4 (S32). In the analysis apparatus 300, a table access program can be stored in a program storage unit (not shown) and executed in response to a user request. Alternatively, similar to the investigation program, the table access program is also registered in the program providing apparatus 200, and the analysis apparatus 300 accesses the program providing apparatus 200 to download the necessary table access program to the analysis apparatus 300. You can also. In this case, the analysis apparatus 300 in FIG. 1 is connected to the program providing apparatus 200 via the third network 18. In the present embodiment, the third network 18 is preferably an intranet limited to a company or the like.

図12は、本実施形態の調査システム10において、複数の調査プログラムを作成、編集するための調査一覧画面530の一例を示す図である。本実施形態において、調査システム10は、複数の調査プログラムを一元管理する調査一覧画面530を提示する提示部(不図示)を含むことができる。調査一覧画面530は、新規作成ボタン532を含み、新規作成ボタン532の押下により、調査プログラムの作成が開始される。すなわち、図5の入力画面450がプログラム生成装置100の表示部102に表示される。   FIG. 12 is a diagram showing an example of a survey list screen 530 for creating and editing a plurality of survey programs in the survey system 10 of the present embodiment. In the present embodiment, the survey system 10 can include a presentation unit (not shown) that presents a survey list screen 530 that centrally manages a plurality of survey programs. The survey list screen 530 includes a new creation button 532, and when the new creation button 532 is pressed, creation of a survey program is started. That is, the input screen 450 in FIG. 5 is displayed on the display unit 102 of the program generation device 100.

たとえば、プログラム生成装置100は、新規作成ボタン532の押下を操作部108が受け付け、調査プログラムの新規作成の要求に呼応して、表示処理部104が、新規作成の要求に呼応して、表示部102に入力画面450を表示する。   For example, in the program generation device 100, the operation unit 108 receives the press of the new creation button 532, and the display processing unit 104 responds to the request for new creation of the survey program and the display unit 104 responds to the request for new creation. An input screen 450 is displayed on 102.

上述したように入力画面450にて作成された調査プログラムは、調査一覧として、調査一覧画面530に表示でき、一元管理することができる。調査一覧画面530は、プログラム提供装置200の登録部202およびプログラム提供部206に相当する。調査一覧には、調査プログラム毎に、調査ID534、調査名称536、作成日538、状況540、および操作メニュー542を含む。操作メニュー542としては、たとえば、編集ボタン544、運用ボタン546、コピーボタン548、および削除ボタン550がある。プログラム生成装置100は、さらにこれらの各種ボタンの押下を操作部108を介して受け付け、各処理を行う処理部(不図示)を含むことができる。たとえば、ユーザが任意に選択した調査プログラムの運用ボタン546の押下を受け付けると、後述する調査運用画面が表示部102に表示され、選択された調査プログラムの各種情報を確認することができる。   As described above, the survey program created on the input screen 450 can be displayed on the survey list screen 530 as a survey list, and can be managed centrally. The survey list screen 530 corresponds to the registration unit 202 and the program providing unit 206 of the program providing apparatus 200. The survey list includes a survey ID 534, a survey name 536, a creation date 538, a situation 540, and an operation menu 542 for each survey program. Examples of the operation menu 542 include an edit button 544, an operation button 546, a copy button 548, and a delete button 550. The program generation apparatus 100 can further include a processing unit (not shown) that accepts pressing of these various buttons via the operation unit 108 and performs each process. For example, when the operation button 546 of the survey program arbitrarily selected by the user is accepted, a later-described survey operation screen is displayed on the display unit 102, and various information on the selected survey program can be confirmed.

図13は、本実施形態の調査システム10において、図12の調査一覧画面530において、運用ボタン546が押下されたとき表示される調査運用画面560の一例を示す図である。図13では、図12の状況540が「未公開」の調査プログラムが選択された場合について示している。調査運用画面560は、公開ボタン562およびアプリ作成ボタン564を含む。調査運用画面560では、調査プログラムの調査運用情報として、公開、未公開などのステータス、公開日、調査公開名、公開対象、公開終了日、アプリ名、アプリ更新日などを含む。さらに調査運用画面560は、調査プログラムの調査情報として、調査ID、調査名、データ送信URL、作成者名、作成日、更新日などを含む。調査ID、調査名、データ送信URLなどは、調査プログラム作成時に、図5の諸情報入力領域460で入力された情報である。   FIG. 13 is a diagram illustrating an example of a survey operation screen 560 displayed when the operation button 546 is pressed on the survey list screen 530 of FIG. 12 in the survey system 10 of the present embodiment. FIG. 13 shows a case where an investigation program whose status 540 in FIG. 12 is “unpublished” is selected. The survey operation screen 560 includes a disclosure button 562 and an application creation button 564. In the survey operation screen 560, the survey operation information of the survey program includes statuses such as “public” and “unpublished”, release date, survey release name, release target, release end date, application name, and application update date. Further, the survey operation screen 560 includes a survey ID, survey name, data transmission URL, creator name, creation date, update date, etc. as survey program survey information. The survey ID, survey name, data transmission URL, and the like are information input in the various information input area 460 of FIG. 5 when the survey program is created.

アプリ作成ボタン564の押下を受け付けることにより、図7の生成部112のテーブルアクセスプログラム生成部144により、テーブルアクセスプログラムが生成される。また、公開ボタン562の押下を受け付けることにより、図8のプログラム提供装置200のプログラム提供部206が、端末装置50が第1ネットワーク12から調査プログラムをダウンロード可能なように公開する。   By accepting the pressing of the application creation button 564, the table access program generation unit 144 of the generation unit 112 in FIG. 7 generates a table access program. Also, by accepting the press of the release button 562, the program providing unit 206 of the program providing apparatus 200 in FIG. 8 makes the terminal apparatus 50 public so that the investigation program can be downloaded from the first network 12.

図14は、公開中の調査プログラムの調査運用画面570の一例を示す図である。公開中の調査プログラムのデータ情報として、回答データの圧縮ファイルのファイル名、その更新日、SASプログラム(テーブルアクセスプログラム)を含む。このように、各調査プログラムに関する各種の情報を調査運用画面560および調査運用画面570で確認でき、また編集などの操作をすることができる。   FIG. 14 is a diagram showing an example of a survey operation screen 570 for a survey program being released. The data information of the survey program being disclosed includes the file name of the compressed file of the response data, its update date, and the SAS program (table access program). As described above, various types of information regarding each survey program can be confirmed on the survey operation screen 560 and the survey operation screen 570, and operations such as editing can be performed.

以上、説明したように、本実施形態の調査システム10によれば、データを入力するための入力インターフェースを形成するデータ収集プログラムと、ユーザ端末が、そのデータ収集プログラムを実行して収集した所定のデータをデータベースに格納するためのテーブルを生成するためのテーブル生成プログラムとを自動的に生成することができる。これにより、ユーザがデータ収集プログラムを形成するためのパラメータを入力するだけで、データ収集プログラムとテーブル生成プログラムが自動的に生成されることとなる。   As described above, according to the investigation system 10 of the present embodiment, the data collection program that forms the input interface for inputting data, and the predetermined data collected by the user terminal executing the data collection program A table generation program for generating a table for storing data in the database can be automatically generated. As a result, the data collection program and the table generation program are automatically generated only by the user inputting the parameters for forming the data collection program.

すなわち、ユーザは高度なプログラム設計技術や知識を必要とせずに、直接ソースコードを入力しなくても、データ収集プログラムおよびテーブル生成プログラムを生成することが可能となる。これにより、データの入力から収集、蓄積、そして解析までをトータルで行えるデータ収集システムが容易に提供されることとなる。また、自動的に各プログラムは生成されるので、プログラマーの手入力によるソースコードの作成に比較して、プログラムのデバッグが不要となり、プログラム作成工数を大幅に削減することが可能となる。   That is, the user can generate a data collection program and a table generation program without directly inputting source code without requiring advanced program design techniques and knowledge. As a result, a data collection system that can perform everything from data input to collection, storage, and analysis can be easily provided. Further, since each program is automatically generated, debugging of the program becomes unnecessary as compared with creation of source code manually input by a programmer, and the number of man-hours for program creation can be greatly reduced.

以上、図面を参照して本発明の実施形態について述べたが、これらは本発明の例示であり、上記以外の様々な構成を採用することもできる。   As mentioned above, although embodiment of this invention was described with reference to drawings, these are the illustrations of this invention, Various structures other than the above are also employable.

たとえば、上記実施形態では、調査プログラムを例に説明したが、調査プログラムだけでなく、例えばアンケートやクイズなど種々のプログラムをであってもよい。   For example, in the above-described embodiment, the investigation program is described as an example. However, not only the investigation program but also various programs such as a questionnaire and a quiz may be used.

本発明の実施の形態に係る調査システムの構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the investigation system which concerns on embodiment of this invention. 図1の調査システムにおいて、端末装置から送信される調査結果のデータフォーマットの一例を示す図である。In the investigation system of FIG. 1, it is a figure which shows an example of the data format of the investigation result transmitted from a terminal device. 図1の調査システムの端末装置の表示部に表示される作業画面の遷移の一例を示す図である。It is a figure which shows an example of the transition of the work screen displayed on the display part of the terminal device of the investigation system of FIG. 図1のプログラム生成装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the program generation apparatus of FIG. 図4のプログラム生成装置の表示部に表示される入力画面の一例を示す図である。It is a figure which shows an example of the input screen displayed on the display part of the program generator of FIG. 図4のプログラム生成装置のパラメータ管理部が受付部に出力するパラメータファイルのデータ構造の一例を示す図である。FIG. 5 is a diagram illustrating an example of a data structure of a parameter file output from a parameter management unit of the program generation device of FIG. 4 to a reception unit. 図4のプログラム生成装置の生成部の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the production | generation part of the program production | generation apparatus of FIG. 図1のプログラム提供装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the program provision apparatus of FIG. 本実施形態の調査システムの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the investigation system of this embodiment. テーブルアクセスプログラムのソースコードの一例を示す図である。It is a figure which shows an example of the source code of a table access program. 図10のテーブルアクセスプログラムのソースコードの一例の続きを示す図である。It is a figure which shows the continuation of an example of the source code of the table access program of FIG. 図1の調査システムにおいて、複数の調査プログラムを作成、編集するための調査一覧画面の一例を示す図である。It is a figure which shows an example of the investigation list screen for creating and editing a some investigation program in the investigation system of FIG. 本実施形態の調査システムにおいて、図12の調査一覧画面において、運用ボタンが押下されたとき表示される調査運用画面の一例を示す図である。In the investigation system of this embodiment, it is a figure which shows an example of the investigation operation screen displayed when the operation button is pressed in the investigation list screen of FIG. 公開中の調査プログラムの調査運用画面の一例を示す図である。It is a figure which shows an example of the investigation operation screen of the investigation program currently open | released.

符号の説明Explanation of symbols

10 調査システム
12 第1ネットワーク
14 基地局
16 第2ネットワーク
18 第3ネットワーク
50 端末装置
52 表示部
54 操作部
100 プログラム生成装置
102 表示部
104 表示処理部
108 操作部
109 パラメータ管理部
110 受付部
112 生成部
114 コンパイル部
118 格納処理部
124 入力画面情報生成部
126 コンテンツ格納部
128 ひな形格納部
130 基本関数格納部
134 実行指示部
136 インターフェース部
138 インターフェース部
140 調査プログラム生成部
142 テーブル生成プログラム生成部
144 テーブルアクセスプログラム生成部
146 調査ID付与部
150 パラメータファイル
190 調査結果
200 プログラム提供装置
202 登録部
204 プログラム格納部
206 プログラム提供部
220 収集装置
300 解析装置
320 データベースサーバ
340 調査データデータベース
400 作業画面
450 入力画面
500 テーブルアクセスプログラム
530 調査一覧画面
560 調査運用画面
570 調査運用画面
DESCRIPTION OF SYMBOLS 10 Investigation system 12 1st network 14 Base station 16 2nd network 18 3rd network 50 Terminal device 52 Display part 54 Operation part 100 Program generation apparatus 102 Display part 104 Display processing part 108 Operation part 109 Parameter management part 110 Reception part 112 Generation Unit 114 compiling unit 118 storage processing unit 124 input screen information generation unit 126 content storage unit 128 model storage unit 130 basic function storage unit 134 execution instruction unit 136 interface unit 138 interface unit 140 survey program generation unit 142 table generation program generation unit 144 Table access program generation unit 146 Survey ID assigning unit 150 Parameter file 190 Survey result 200 Program providing device 202 Registration unit 204 Program storage unit 206 Program provision Unit 220 Collection Device 300 Analysis Device 320 Database Server 340 Survey Data Database 400 Work Screen 450 Input Screen 500 Table Access Program 530 Survey List Screen 560 Survey Operation Screen 570 Survey Operation Screen

Claims (12)

複数の調査項目を含む所定の調査内容に基づいて調査を行い、調査結果を送信するユーザ端末と、
前記ユーザ端末から送信された前記調査結果をネットワークを介して収集する収集装置と、
前記収集装置が収集した前記調査結果を格納するデータベースと、
前記収集装置から受信した前記調査結果を前記データベースに蓄積するデータベースサーバと、
前記ユーザ端末に前記調査結果を入力するための入力インターフェースを形成し、前記ユーザ端末を用いて前記入力インターフェースを介して入力された調査結果を前記収集装置に送信する機能を実現するための前記ユーザ端末が実行可能なデータ収集プログラムを生成するプログラム生成装置と、
を備えたデータ収集システムであって、
前記ユーザ端末は、前記データ収集プログラムを実行したとき、前記所定の調査内容の前記複数の調査項目に対する回答を入力するための複数の入力インターフェースが形成された作業画面を表示する表示部を有し、
前記プログラム生成装置は、前記データ収集プログラムの前記調査項目に対応したデータ構造を有するデータテーブルを前記データベースに生成するテーブル生成プログラムをさらに生成し、
前記プログラム生成装置は、
前記データ収集プログラムを形成するための画面を表示する画面表示部と、
前記ユーザ端末が前記データ収集プログラムを実行したとき、前記ユーザ端末の前記表示部に表示される前記作業画面上に、前記所定の調査内容の前記複数の調査項目の内容を示す情報を表示するための複数の調査項目指示領域、および前記複数の調査項目に対する回答を入力するための前記複数の入力インターフェースが形成された調査結果入力領域を形成するためのコンポーネントをそれぞれ形成するために必要な情報をユーザに入力させてパラメータとして受け付けるためのコンポーネント設定領域、前記作業画面に前記調査項目を追加する場合に利用され、前記コンポーネントの複数のタイプの中から、前記作業画面に追加する前記調査項目に適した前記コンポーネントのタイプを前記ユーザに選択させ、選択された前記タイプの前記コンポーネントを追加する指示を受け付けるコンポーネント追加操作ボタン群、および前記ユーザの操作により入力される、前記タイプに応じた前記コンポーネントを形成するために必要な情報を利用してソースコードを生成することを指示するための生成ボタンを有する入力画面を形成する情報を生成し、前記コンポーネント追加操作ボタン群が操作される度に、選択された前記タイプに応じた前記コンポーネントを形成するために必要な情報を前記ユーザに入力させて前記パラメータとして受け付けるための前記コンポーネント設定領域がそれぞれ形成される前記入力画面を形成する情報を生成する入力画面情報生成部と、
前記入力画面情報生成部により生成された前記情報に基づいて、前記複数の調査項目に適した複数の前記コンポーネントを前記作業画面に形成するための複数の前記パラメータを入力するための複数の前記コンポーネント設定領域が形成された前記入力画面を前記画面表示部に表示させる表示処理部と、
前記表示処理部により表示された前記入力画面を介して前記ユーザの操作により入力された情報を、前記作業画面を形成するための複数のパラメータとして管理し、前記生成ボタンの操作を受け付けたとき、前記入力画面に形成された複数の前記調査項目に対応する複数の前記コンポーネント設定領域に入力された複数の前記コンポーネントを形成するために必要な複数の前記パラメータを、対応する複数の前記コンポーネントの前記タイプを特定するタイプ情報とそれぞれ関連付けて出力するパラメータ管理部と、
前記パラメータ管理部から出力された前記複数のパラメータを受け付ける受付部と、
前記コンポーネントをそれぞれ形成するためのプログラムコードを、前記コンポーネントの前記タイプを特定する前記タイプ情報に対応付けて、前記パラメータを引数とする複数種類のひな形として、前記データ収集プログラム用および前記テーブル生成プログラム用にそれぞれ保持するひな形格納部と、
前記受付部が受け付けた前記複数のパラメータに含まれる複数の前記調査項目に対応する複数の前記コンポーネントの各タイプ情報に基づいて、前記ひな形格納部から複数の前記コンポーネントの前記各タイプ情報に対応する各コンポーネントを形成するための、前記データ収集プログラム用または前記テーブル生成プログラム用の複数のひな形を選択して組み合わせ、各ひな形の前記引数に前記パラメータを設定して、前記データ収集プログラムまたは前記テーブル生成プログラムのソースコードをそれぞれ生成するとともに、前記ソースコードを生成し終えると、その旨をソースコード完成通知として出力する生成部と、
前記生成部にて前記データ収集プログラムの前記ソースコードが完成したとき、前記データ収集プログラムの前記ソースコードをコンパイルして前記ユーザ端末が実行可能なデータ収集プログラムを自動的に生成するとともに、前記生成部にて前記テーブル生成プログラムの前記ソースコードが完成したとき、前記テーブル生成プログラムの前記ソースコードをコンパイルして前記テーブル生成プログラムを生成するコンパイル部と、
前記データ収集プログラム毎に、前記データ収集プログラムと、前記データテーブルおよび前記テーブル生成プログラムとを対応付けるためのプログラム識別子を付与する識別子付与部と、
前記コンパイル部で生成された前記データ収集プログラムを前記収集装置に前記ネットワークを介して出力する格納処理部と、
前記コンパイル部で生成された前記テーブル生成プログラムを前記データベースサーバに前記ネットワークを介して送信するとともに、前記テーブル生成プログラムの実行を指示する第1実行部と、
を含み、
前記収集装置は、
前記プログラム生成装置から前記データ収集プログラムを受け付ける登録部と、
登録部が受け付けた前記データ収集プログラムを格納するプログラム格納部と、
ユーザ端末からの要求に応じて、前記プログラム格納部に格納されている前記データ収集プログラムを提供するプログラム提供部と、
前記プログラム生成装置で生成された複数の前記データ収集プログラムをそれぞれ前記プログラム識別子とともに表示して一元管理する一覧画面を提示する提示部と、を含むデータ収集システム。
A user terminal that conducts a survey based on a predetermined survey content including a plurality of survey items and transmits a survey result ;
A collection device for collecting the survey results transmitted from the user terminal via a network;
A database for storing the investigation results collected by the collection device;
A database server for accumulating the survey results received from the collection device in the database;
The user for realizing a function of forming an input interface for inputting the survey result to the user terminal and transmitting the survey result input via the input interface using the user terminal to the collection device A program generation device for generating a data collection program executable by the terminal;
A data collection system comprising:
The user terminal has a display unit that displays a work screen on which a plurality of input interfaces for inputting answers to the plurality of survey items of the predetermined survey content are formed when the data collection program is executed. ,
The program generation device further generates a table generation program for generating in the database a data table having a data structure corresponding to the survey item of the data collection program,
The program generation device includes:
A screen display unit for displaying a screen for forming the data collection program ;
When the user terminal executes the data collection program, on the work screen displayed on the display unit of the user terminal to display information indicating the contents of the plurality of investigation items of the predetermined investigation contents A plurality of survey item instruction areas, and information necessary for forming components for forming a survey result input area in which the plurality of input interfaces for inputting answers to the plurality of survey items are formed. Component setting area to be input by the user and accepted as a parameter, used when adding the survey item to the work screen, and suitable for the survey item to be added to the work screen from among a plurality of types of the component Allowing the user to select a type of the component and before the selected type A component addition operation button group for receiving an instruction to add a component, and an instruction to generate source code using information necessary for forming the component corresponding to the type, which is input by the user's operation Information for forming an input screen having a generation button for generating the information, and each time the component addition operation button group is operated, information necessary for forming the component corresponding to the selected type is generated. An input screen information generating unit that generates information for forming the input screen in which the component setting areas for receiving as a parameter are input by a user;
A plurality of components for inputting a plurality of parameters for forming a plurality of components suitable for the plurality of survey items on the work screen based on the information generated by the input screen information generation unit A display processing unit for displaying the input screen in which a setting area is formed on the screen display unit;
When the information input by the user operation via the input screen displayed by the display processing unit is managed as a plurality of parameters for forming the work screen, and when the operation of the generation button is received, The plurality of parameters necessary for forming the plurality of components input to the plurality of component setting areas corresponding to the plurality of survey items formed on the input screen, the plurality of parameters corresponding to the plurality of components A parameter management unit that outputs in association with type information that identifies the type,
A reception unit that receives the plurality of parameters output from the parameter management unit ;
The program code for forming each of the components is associated with the type information for specifying the type of the component, and a plurality of types of templates with the parameters as arguments are used for the data collection program and the table generation A template storage for each program,
Corresponding to each type information of the plurality of components from the model storage unit based on each type information of the plurality of components corresponding to the plurality of survey items included in the plurality of parameters received by the receiving unit Selecting and combining a plurality of templates for the data collection program or the table generation program for forming each component to be configured, and setting the parameter in the argument of each template, the data collection program or Generating a source code for each of the table generating programs, and generating a source code completion notification when generating the source code;
When the source code of the data collection program is completed in the generation unit, the source code of the data collection program is compiled to automatically generate a data collection program executable by the user terminal , and the generation A compiling unit that compiles the source code of the table generation program to generate the table generation program when the source code of the table generation program is completed in a unit;
For each data collection program, an identifier assigning unit that assigns a program identifier for associating the data collection program with the data table and the table generation program;
A storage processing unit that outputs the data collection program generated by the compiling unit to the collection device via the network;
A first execution unit that transmits the table generation program generated by the compilation unit to the database server via the network, and instructs the execution of the table generation program;
Only including,
The collector is
A registration unit that receives the data collection program from the program generation device;
A program storage unit for storing the data collection program received by the registration unit;
In response to a request from a user terminal, a program providing unit that provides the data collection program stored in the program storage unit;
A data collection system comprising: a presentation unit that displays a plurality of data collection programs generated by the program generation device together with the program identifier and presents a list screen for centralized management .
請求項1に記載のデータ収集システムにおいて、
記プログラム生成装置の前記識別子付与部は、前記第1実行部が前記テーブル生成プログラムを実行して前記データベースに前記データテーブルを生成するとき、前記プログラム識別子を前記データテーブルに付与し、
前記ユーザ端末は、
前記データ収集プログラムを実行する第2実行部と、
前記第2実行部が前記データ収集プログラムを実行して、前記調査結果を収集するとき、前記プログラム識別子を含む調査結果を生成する収集データ生成部と、
前記調査結果を前記ネットワークを介して前記収集装置に送信する送信部と、を含み、
前記収集装置は、
前記ユーザ端末から送信された前記調査結果を受信する受信部と、
前記データベースにアクセスし、前記受信部が受信した前記調査結果から前記プログラム識別子を取得し、そのプログラム識別子に対応する前記データテーブルに前記調査結果を格納する格納部と、を含むデータ収集システム。
The data collection system according to claim 1,
The identifier assigning unit before Symbol program generation apparatus, when the first execution unit to generate the data tables in the database to perform the table generation program, to grant said program identifier to said data table,
The user terminal is
A second execution unit for executing the data collection program;
The second execution unit to execute the data collection program, when collecting the survey results, the collected data generator for generating a survey including the program identifier,
A transmission unit that transmits the survey result to the collection device via the network,
The collector is
A receiving unit for receiving the investigation result transmitted from the user terminal;
A data collection system comprising: a storage unit that accesses the database, acquires the program identifier from the survey result received by the receiving unit, and stores the survey result in the data table corresponding to the program identifier.
請求項1または2に記載のデータ収集システムにおいて、  The data collection system according to claim 1 or 2,
前記一覧画面は、押下により、前記データ収集プログラムの新規作成の要求を受け付ける新規作成ボタンを有し、  The list screen has a new creation button that, when pressed, accepts a request for new creation of the data collection program,
前記新規作成ボタンの押下を受け付けたとき、前記入力画面を前記画面表示部に表示し、前記データ収集プログラムの作成が開始され、前記入力画面にて作成された前記データ収集プログラムを前記一覧画面に表示するデータ収集システム。  When the pressing of the new creation button is accepted, the input screen is displayed on the screen display unit, the creation of the data collection program is started, and the data collection program created on the input screen is displayed on the list screen. Data collection system to display.
請求項1乃至3いずれかに記載のデータ収集システムにおいて、  The data collection system according to any one of claims 1 to 3,
前記一覧画面は、前記データ収集プログラムが公開中か未公開かを示す状況表示欄を有するデータ収集システム。  The data collection system, wherein the list screen includes a status display field indicating whether the data collection program is being published or not published.
請求項1乃至4いずれかに記載のデータ収集システムにおいて、
前記データベースの前記データテーブルに格納された前記調査結果を解析する解析装置をさらに備え、
前記プログラム生成装置は、
前記解析装置が実行し、前記データベースの前記データテーブルにアクセスし、蓄積された前記調査結果を読み出すためのテーブルアクセスプログラムをさらに生成し、
前記プログラム生成装置において、
前記ひな形格納部は、さらに、前記コンポーネントをそれぞれ形成するためのプログラムコードを、前記コンポーネントの前記タイプを特定する前記タイプ情報に対応付けて、前記パラメータを引数とする複数種類のひな形として、前記テーブルアクセスプログラム用にそれぞれ保持し、
前記生成部は、前記受付部が受け付けた前記複数のパラメータに含まれる複数の前記調査項目に対応する複数の前記コンポーネントの各タイプ情報に基づいて、前記ひな形格納部から複数の前記コンポーネントの前記各タイプ情報に対応する各コンポーネントを形成するための、前記テーブルアクセスプログラム用の複数のひな形を選択して組み合わせ、各ひな形の前記引数に前記パラメータを設定して、前記テーブルアクセスプログラムのソースコードを生成するとともに、前記ソースコードを生成し終えると、その旨をソースコード完成通知として出力し、
前記コンパイル部は、前記生成部にて前記テーブルアクセスプログラムの前記ソースコードが完成したとき、前記テーブルアクセスプログラムの前記ソースコードをコンパイルして前記解析装置が実行可能なテーブルアクセスプログラムを自動的に生成し、
記識別子付与部は、前記データ収集プログラム毎に、前記データ収集プログラムと前記テーブルアクセスプログラムとを対応付けるために前記プログラム識別子を付与するデータ収集システム。
The data collection system according to any one of claims 1 to 4 ,
An analysis device for analyzing the investigation results stored in the data table of the database;
The program generation device includes:
The analysis device executes, accesses the data table of the database, and further generates a table access program for reading the accumulated investigation results,
In the program generation device,
The template storage unit further associates the program code for forming each of the components with the type information specifying the type of the component, and as a plurality of types of templates using the parameters as arguments, Each for the table access program,
The generating unit is configured to receive the plurality of components from the model storage unit based on the type information of the plurality of components corresponding to the plurality of survey items included in the plurality of parameters received by the receiving unit. A source of the table access program by selecting and combining a plurality of templates for the table access program to form each component corresponding to each type information, and setting the parameter in the argument of each template When the code is generated and the source code is generated, a message to that effect is output as a source code completion notification.
The compiling unit automatically compiles the source code of the table access program when the source code of the table access program is completed by the generation unit, and automatically generates a table access program executable by the analysis apparatus. And
Before Symbol identifier assigning unit is configured for each data collection program, the data acquisition system to impart said program identifier to associate with the table access program and the data collection program.
請求項に記載のデータ収集システムにおいて、
前記解析装置は、
前記テーブルアクセスプログラムを実行する第3実行部と、
前記第3実行部が前記テーブルアクセスプログラムを実行するとき、前記プログラム識別子をキーとして前記データベースの前記データテーブルにアクセスし、前記データテーブルに格納されている前記調査結果を読み出し、所定のファイル形式のデータファイルを生成するデータファイル生成部と、
前記データファイルに保存された前記調査結果を解析する解析部と、を含むデータ収集システム。
The data collection system according to claim 5 , wherein
The analysis device includes:
A third execution unit for executing the table access program;
When the third execution unit executes the table access program, it accesses the data table of the database using the program identifier as a key, reads the investigation result stored in the data table, A data file generator for generating a data file;
A data collection system comprising: an analysis unit that analyzes the investigation result stored in the data file.
請求項5または6に記載のデータ収集システムにおいて、  The data collection system according to claim 5 or 6,
前記一覧画面は、前記データ収集プログラム毎に、編集ボタン、運用ボタン、コピーボタン、および削除ボタンを含む複数の操作ボタンを有し、  The list screen has a plurality of operation buttons including an edit button, an operation button, a copy button, and a delete button for each data collection program,
前記プログラム生成装置は、各操作ボタンの押下を受け付けたとき、各処理を行う処理部をさらに備えるデータ収集システム。  The program generation apparatus further includes a processing unit that performs each process when receiving a press of each operation button.
請求項7に記載のデータ収集システムにおいて、  The data collection system according to claim 7,
前記一覧画面の前記運用ボタンの押下を受け付けたとき、前記運用ボタンが押下された前記データ収集プログラムの情報を含む運用画面が前記画面表示部に表示されるデータ収集システム。  A data collection system in which an operation screen including information on the data collection program in which the operation button is pressed is displayed on the screen display unit when the operation button on the list screen is pressed.
請求項8に記載のデータ収集システムにおいて、  The data collection system according to claim 8,
前記データ収集プログラムが未公開の場合、前記運用画面は、押下により、前記データ収集プログラムを公開する公開ボタンを有し、  When the data collection program is unpublished, the operation screen has a publish button for publishing the data collection program when pressed,
前記公開ボタンの押下を受け付けたとき、前記プログラム提供部が、前記データ収集プログラムを前記ユーザ端末がダウンロード可能なように公開するデータ収集システム。  A data collection system in which the program providing unit publishes the data collection program so that the user terminal can be downloaded when the release button is received.
請求項8または9に記載のデータ収集システムにおいて、  The data collection system according to claim 8 or 9,
前記データ収集プログラムが未公開の場合、前記運用画面は、押下により、前記テーブルアクセスプログラムを前記生成部に生成させるアプリ作成ボタンを有し、  When the data collection program is unpublished, the operation screen has an application creation button that causes the generation unit to generate the table access program when pressed.
前記アプリ作成ボタンの押下を受け付けたとき、前記生成部が、前記テーブルアクセスプログラムを生成するデータ収集システム。  A data collection system in which the generation unit generates the table access program when receiving a press of the application creation button.
請求項8乃至10いずれかに記載のデータ収集システムにおいて、  The data collection system according to any one of claims 8 to 10,
前記データ収集プログラムが公開中の場合、前記運用画面は、前記調査結果、または前記テーブルアクセスプログラムの情報を含むデータ収集システム。  When the data collection program is open to the public, the operation screen is a data collection system in which the investigation result or information on the table access program is included.
請求項1乃至11いずれかに記載のデータ収集システムにおいて、  The data collection system according to any one of claims 1 to 11,
前記登録部、前記プログラム格納部、前記プログラム提供部、および前記提示部を有するプログラム提供装置をさらに備え、  A program providing apparatus including the registration unit, the program storage unit, the program providing unit, and the presentation unit;
前記プログラム提供装置が、  The program providing apparatus comprises:
前記プログラム生成装置で生成された前記データ収集プログラムを前記プログラム格納部に格納し、    Storing the data collection program generated by the program generation device in the program storage unit;
前記ユーザ端末に前記データ収集プログラムを前記ネットワークを介して提供するデータ収集システム。    A data collection system that provides the user terminal with the data collection program via the network.
JP2006266400A 2006-09-29 2006-09-29 Data collection system Expired - Fee Related JP4568262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006266400A JP4568262B2 (en) 2006-09-29 2006-09-29 Data collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006266400A JP4568262B2 (en) 2006-09-29 2006-09-29 Data collection system

Publications (2)

Publication Number Publication Date
JP2008084259A JP2008084259A (en) 2008-04-10
JP4568262B2 true JP4568262B2 (en) 2010-10-27

Family

ID=39355018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006266400A Expired - Fee Related JP4568262B2 (en) 2006-09-29 2006-09-29 Data collection system

Country Status (1)

Country Link
JP (1) JP4568262B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013055322A1 (en) 2011-10-11 2013-04-18 Intel Corporation Automatic code generation for crowdsourced automatic data collection
JP6066031B2 (en) * 2011-11-30 2017-01-25 日本電気株式会社 Information processing apparatus, information processing method, and information processing program
US8738664B2 (en) * 2012-05-23 2014-05-27 Lg Chem, Ltd. System and method for generating diagnostic test files associated with a battery pack
CN103186381B (en) * 2012-12-30 2017-04-26 网易(杭州)网络有限公司 Method and device for realizing fixed point flight of target
KR101550679B1 (en) 2013-10-10 2015-09-07 에스케이 텔레콤주식회사 Method For Combining Column-Wise Query Engine With Dynamic Compilation
JP7001559B2 (en) * 2018-07-19 2022-01-19 ヤフー株式会社 Publishing device, publishing method and publishing program
CN111045690B (en) 2018-10-12 2023-04-28 阿里巴巴集团控股有限公司 Block chain node service deployment method, device, system, computing equipment and medium
JP7365544B2 (en) * 2019-09-04 2023-10-20 パナソニックIpマネジメント株式会社 Welding machine and welding system equipped with it

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194548A (en) * 1998-12-25 2000-07-14 Nippon Steel Corp Device and method for generating operation environment of software and recording medium
WO2005020070A1 (en) * 2003-08-20 2005-03-03 Japan Tobacco Inc. Program generation system, program generation program, and program generation module
JP2005202612A (en) * 2004-01-15 2005-07-28 Hitachi Eng Co Ltd Data base generation program preparing apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756962A (en) * 1993-08-18 1995-03-03 Toshiba Corp Data logging system and its construction supporting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194548A (en) * 1998-12-25 2000-07-14 Nippon Steel Corp Device and method for generating operation environment of software and recording medium
WO2005020070A1 (en) * 2003-08-20 2005-03-03 Japan Tobacco Inc. Program generation system, program generation program, and program generation module
JP2005202612A (en) * 2004-01-15 2005-07-28 Hitachi Eng Co Ltd Data base generation program preparing apparatus

Also Published As

Publication number Publication date
JP2008084259A (en) 2008-04-10

Similar Documents

Publication Publication Date Title
JP4568262B2 (en) Data collection system
US10635728B2 (en) Manifest-driven loader for web pages
US7313564B2 (en) Web-interactive software testing management method and computer system including an integrated test case authoring tool
US20180024979A1 (en) Forms conversion and deployment system for mobile devices
CN108762743B (en) Data table operation code generation method and device
KR20060114871A (en) Web site management system and method applying web programming environment
CN101171571A (en) Apparatus for analysing and organizing artifacts in a software application
CN105138312A (en) Table generation method and apparatus
JP4220519B2 (en) Program generation system and program generation program
US9798650B1 (en) Application testing system and method
CN113505082B (en) Application program testing method and device
CN107526679A (en) Automated test frame, the automated testing method based on thereon, storage medium and computer equipment
JP4220520B2 (en) Program generation system and program generation program
Leno et al. Robidium: automated synthesis of robotic process automation scripts from UI logs
CN116166907B (en) Method and device for developing Web application by using WebAsssembly and service page compiling technology
CN116719735A (en) Test case generation method and device
US10310958B2 (en) Recording medium recording analysis program, analysis method, and analysis apparatus
CN115437608A (en) Intelligent research and development assisting method and device
CN115421770A (en) Resource information processing method and device, storage medium and electronic equipment
US20110264611A1 (en) Presenting an interactive guidance structure in a collaborative environment
JP6919420B2 (en) Information processing equipment, information processing methods, programs and information processing systems
US20210405616A1 (en) Scenario providing system, scenario providing device, scenario execution terminal, scenario providing method, scenario execution method and program
Khanam et al. Aspectual Analysis of Legacy Systems: Code Smells and Transformations in C
JP2007094453A (en) Program development support system, program development support method and program
US20120150951A1 (en) Computer system, recording medium and maintenance support system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100715

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100806

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140813

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees