JP2019091383A - Input screen generating apparatus, input screen generating method, and program - Google Patents

Input screen generating apparatus, input screen generating method, and program Download PDF

Info

Publication number
JP2019091383A
JP2019091383A JP2017221652A JP2017221652A JP2019091383A JP 2019091383 A JP2019091383 A JP 2019091383A JP 2017221652 A JP2017221652 A JP 2017221652A JP 2017221652 A JP2017221652 A JP 2017221652A JP 2019091383 A JP2019091383 A JP 2019091383A
Authority
JP
Japan
Prior art keywords
input
field
input screen
tabular data
generation unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017221652A
Other languages
Japanese (ja)
Other versions
JP6951207B2 (en
Inventor
和田 成史
Shigefumi Wada
成史 和田
勝彦 唐鎌
Katsuhiko Karakama
勝彦 唐鎌
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.)
Obic Business Consultants Co Ltd
Original Assignee
Obic Business Consultants Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Obic Business Consultants Co Ltd filed Critical Obic Business Consultants Co Ltd
Priority to JP2017221652A priority Critical patent/JP6951207B2/en
Publication of JP2019091383A publication Critical patent/JP2019091383A/en
Application granted granted Critical
Publication of JP6951207B2 publication Critical patent/JP6951207B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To provide an input screen generating apparatus which can easily generate an input screen according to a table format data.SOLUTION: An input screen generating apparatus 1 has a storage unit 11 for storing a table format data that is a table forma data of a document having one or more combinations of fields set respectively to a plurality of cells and field names of the fields, a generating unit 14 for generating an input screen of a document having an input field and a field name of the input field by using the table format data, and an output unit 15 for outputting the input screen generated by the generating unit 14.SELECTED DRAWING: Figure 1

Description

本発明は、複数のセルを有する表形式データを用いて入力画面を生成する入力画面生成装置等に関する。   The present invention relates to an input screen generation device and the like that generates an input screen using tabular data having a plurality of cells.

従来、帳票等のデータを専用の入力画面を用いて入力することが行われている(例えば、特許文献1参照)。   Conventionally, data such as forms has been input using a dedicated input screen (see, for example, Patent Document 1).

特開2011−204071号公報JP, 2011-204071, A

そのような入力画面を用いることによって、入力が要求される情報を適切に容易に入力することができるというメリットがある。一方、そのような入力画面は、通常、帳票システムを構築する専門家が作成するため、例えば、新たな帳票に関する入力画面を作成したい場合には、そのような専門家に依頼する必要があり、容易に作成することができないという問題があった。   By using such an input screen, there is an advantage that information required to be input can be easily and appropriately input. On the other hand, since such an input screen is usually created by a specialist who constructs a form system, for example, when it is desired to create an input screen regarding a new form, it is necessary to ask such an expert. There was a problem that it could not be created easily.

本発明は、上記課題を解決するためになされたものであり、帳票のデータを入力するための入力画面を容易に作成することができる入力画面生成装置等を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an input screen generation device and the like which can easily create an input screen for inputting form data.

上記目的を達成するため、本発明による入力画面生成装置は、複数のセルにそれぞれ設定されたフィールドとフィールドのフィールド名との組を1以上有する帳票の表形式のデータである表形式データが記憶される記憶部と、表形式データを用いて、入力フィールドと、入力フィールドのフィールド名とを有する帳票の入力画面を生成する生成部と、生成部によって生成された入力画面を出力する出力部と、を備えたものである。
このような構成により、例えば、スプレッドシート等のアプリケーションを用いて作成された、フィールドとフィールド名とを有する表形式データを用いて、帳票のデータの入力画面が生成されることになる。したがって、帳票システムを構築する専門家でないユーザ、すなわち専門的な知識のないユーザであっても、その表形式データを作ることによって、それに応じた入力画面を容易に作成することができるようになる。
In order to achieve the above object, the input screen generation device according to the present invention stores tabular data which is tabular data of a form having one or more pairs of fields set in each of a plurality of cells and field names of the fields. , A generation unit generating an input screen of a form having an input field and a field name of the input field using tabular data, an output unit outputting the input screen generated by the generation unit, and , Is provided.
With such a configuration, an input screen of form data is generated using, for example, tabular data having fields and field names created using an application such as a spreadsheet. Therefore, even a non-professional user who constructs a form system, that is, a user without specialized knowledge, can easily create an input screen according to it by creating the tabular data. .

また、本発明による入力画面生成装置では、表形式データのフィールドには、データ型も設定されており、生成部は、入力画面に含まれる入力フィールドのデータ型を、入力フィールドに対応する表形式データのフィールドに設定されているデータ型に設定してもよい。
このような構成により、表形式データに設定されているデータ型に応じて、自動的に入力画面の入力フィールドにデータ型が設定されるようになる。したがって、ユーザが、入力画面の入力フィールドにおいて、手動でデータ型を設定する必要がなくなる。
Further, in the input screen generation device according to the present invention, the data type is also set in the field of the tabular data, and the generation unit sets the data type of the input field included in the input screen to a tabular form corresponding to the input field. It may be set to the data type set in the data field.
With such a configuration, the data type is automatically set in the input field of the input screen according to the data type set in the tabular data. Therefore, the user does not have to set the data type manually in the input field of the input screen.

また、本発明による入力画面生成装置では、生成部は、入力画面の各入力フィールドに対応するデータベーススキーマを、入力フィールドに対応する表形式データにおけるフィールド及びフィールド名の少なくとも一方を用いて生成し、出力部は、生成部によって生成されたデータベーススキーマを蓄積してもよい。
このような構成により、生成された入力画面の各入力フィールドに対応するデータベーススキーマを自動的に生成することができるようになる。したがって、そのデータベーススキーマを、生成された入力画面を用いて入力されるデータのデータベースにおいて用いることができる。
In the input screen generation device according to the present invention, the generation unit generates a database schema corresponding to each input field of the input screen using at least one of a field and field name in tabular data corresponding to the input field, The output unit may accumulate the database schema generated by the generation unit.
With such a configuration, it is possible to automatically generate a database schema corresponding to each input field of the generated input screen. Therefore, the database schema can be used in a database of data input using the generated input screen.

また、本発明による入力画面生成装置では、生成部は、データベーススキーマにおいて、入力フィールドに対応するサイズを、入力フィールドに対応する表形式データにおけるフィールドの長さに応じて設定してもよい。
このような構成により、データベーススキーマのサイズを、自動的に設定することができるようになる。
In the input screen generation device according to the present invention, the generation unit may set the size corresponding to the input field in the database schema in accordance with the length of the field in the tabular data corresponding to the input field.
Such a configuration makes it possible to set the size of the database schema automatically.

また、本発明による入力画面生成装置では、生成部は、入力画面に含まれる入力フィールドのデータ型に応じて、入力フィールドがフォーカスされたときに出力される入力補助ツールを設定してもよい。
このような構成により、入力フィードに応じた入力補助ツールを、自動的に設定することができるようになる。
Further, in the input screen generation device according to the present invention, the generation unit may set an input support tool to be output when the input field is focused according to the data type of the input field included in the input screen.
Such a configuration makes it possible to automatically set an input support tool according to the input feed.

また、本発明による入力画面生成装置では、生成部は、入力画面に含まれる入力フィールドのデータ型が日付データ型である場合には、カレンダーの入力補助ツールを設定してもよい。
このような構成により、日付データ型の入力フィールドに対して、カレンダーの入力補助ツールが自動的に設定されることになり、ユーザの利便性が向上することになる。
Further, in the input screen generation device according to the present invention, the generation unit may set a calendar input auxiliary tool when the data type of the input field included in the input screen is a date data type.
With such a configuration, the input aid tool of the calendar is automatically set for the date data type input field, and the user's convenience is improved.

また、本発明による入力画面生成装置では、生成部は、入力画面に含まれる入力フィールドのデータ型が金額データ型または数値データ型である場合には、テンキーの入力補助ツールを設定してもよい。
このような構成により、金額データ型または数値データ型の入力フィールドに対して、テンキーの入力補助ツールが自動的に設定されることになり、ユーザの利便性が向上することになる。
Further, in the input screen generation device according to the present invention, the generation unit may set the input assist tool of the ten key when the data type of the input field included in the input screen is a money amount data type or a numeric data type. .
With such a configuration, the input assist tool of the ten key is automatically set for the input field of the amount data type or the numeric data type, and the convenience of the user is improved.

また、本発明による入力画面生成装置では、表形式データにおける帳票の領域を検知する検知部をさらに備え、生成部は、検知部によって検知された帳票の領域に対応する入力画面を生成してもよい。
このような構成により、検知部によって検知された帳票の領域に応じた入力画面が自動的に生成されるようになる。したがって、必要十分な大きさの入力画面が生成されることになる。
The input screen generation device according to the present invention further includes a detection unit that detects the area of the form in the tabular data, and the generation unit generates an input screen corresponding to the area of the form detected by the detection unit. Good.
With such a configuration, an input screen according to the area of the form detected by the detection unit is automatically generated. Therefore, an input screen of a necessary and sufficient size is generated.

また、本発明による入力画面生成装置では、検知部によって検知された帳票の領域があらかじめ決められた大きさを超えている場合に、警告を出力する警告出力部をさらに備えてもよい。
このような構成により、例えば、通常の表示画面で表示するには大きすぎる入力画面が生成されることになる場合には、そのことが事前に警告されることになる。したがって、例えば、その警告に応じて、適切な大きさの入力画面が生成されるように、表形式データを修正することができうる。
The input screen generation device according to the present invention may further include a warning output unit that outputs a warning when the area of the form detected by the detection unit exceeds a predetermined size.
With such a configuration, for example, when an input screen that is too large to be displayed on a normal display screen is to be generated, that is warned in advance. Thus, for example, in response to the warning, the tabular data can be modified to generate an input screen of an appropriate size.

また、本発明による入力画面生成装置では、検知部は、表形式データに含まれる、情報が入力されているセルのうち、あらかじめ決められた条件を満たすセルは帳票の領域に含めなくてもよい。
このような構成により、例えば、表形式データに、作成者の覚書などの入力画面に反映されなくてもよい情報を入力することができるようになる。
Further, in the input screen generation device according to the present invention, the detection unit does not have to include in the area of the form the cells that satisfy the predetermined condition among the cells included in the tabular data and to which the information is input. .
With such a configuration, for example, it is possible to input information that does not need to be reflected on the input screen such as the memorandum of the creator in tabular data.

また、本発明による入力画面生成装置では、生成部は、表形式データのレイアウトに応じた入力画面を生成してもよい。
このような構成により、表形式データのレイアウトと同様の入力画面が生成されるため、ユーザは、表形式データのレイアウトを設定したり変更したりすることによって、入力画面のレイアウトを設定したり変更したりすることができることになる。
In the input screen generation device according to the present invention, the generation unit may generate an input screen according to the layout of tabular data.
With such a configuration, an input screen similar to the layout of tabular data is generated. Therefore, the user sets or changes the layout of the input screen by setting or changing the layout of tabular data. Will be able to

また、本発明による入力画面生成装置では、生成部は、表形式データのレイアウトと関係しない、モバイル機器用の入力画面をも生成してもよい。
このような構成により、表形式データのレイアウトに応じた入力画面と共に、モバイル機器用の入力画面も生成されることになる。したがって、モバイル機器用の入力画面を生成するために、別途、表形式データを作成する必要がなくなり、ユーザの利便性が向上することになる。
In addition, in the input screen generation device according to the present invention, the generation unit may also generate an input screen for a mobile device that is not related to the layout of tabular data.
With such a configuration, an input screen for a mobile device is generated along with an input screen corresponding to the layout of tabular data. Therefore, there is no need to separately create tabular data to generate an input screen for a mobile device, and the convenience of the user is improved.

また、本発明による入力画面生成装置では、生成部は、データベースにアクセスし、入力画面に含まれるフィールド名に対応するフィールドがそのデータベースに存在する場合に、入力画面において、そのフィールド名に対応する入力フィールドに、そのデータベースに存在するフィールドの各情報が入力のための選択肢として表示されるように設定してもよい。
このような構成により、既存のデータベースを用いて、例えば、入力画面の入力フィールドのプルダウンメニュー等を作成することができるようになる。
Further, in the input screen generation device according to the present invention, when the generation unit accesses the database and a field corresponding to the field name included in the input screen exists in the database, the generation section corresponds to the field name in the input screen. The input field may be set to display information of each field present in the database as an option for input.
With such a configuration, for example, it is possible to create a pull-down menu or the like of the input field of the input screen using an existing database.

また、本発明による入力画面生成方法は、複数のセルにそれぞれ設定されたフィールドとフィールドのフィールド名との組を1以上有する帳票の表形式のデータである表形式データが記憶される記憶部と、生成部と、出力部とを用いて処理される入力画面精製方法であって、生成部が、表形式データを用いて、入力フィールドと、入力フィールドのフィールド名とを有する帳票の入力画面を生成する生成ステップと、出力部が、生成ステップにおいて生成された入力画面を出力する出力ステップと、を備えたものである。   Further, according to the input screen generation method of the present invention, there is provided a storage unit storing tabular data, which is tabular data of a form having one or more pairs of fields set in each of a plurality of cells and field names of the fields. An input screen refining method processed using a generation unit and an output unit, the generation unit using a tabular data, an input screen of a form having an input field and a field name of the input field And an output step of outputting the input screen generated in the generation step.

本発明による入力画面生成装置等によれば、専門的な知識のないユーザであっても、表形式データを作ることによって、それに応じた入力画面を容易に作成することができるようになる。   According to the input screen generation device and the like according to the present invention, even a user without specialized knowledge can easily create an input screen according to it by creating tabular data.

本発明の実施の形態による入力画面生成装置の構成を示すブロック図Block diagram showing the configuration of the input screen generation device according to the embodiment of the present invention 同実施の形態による入力画面生成装置の動作を示すフローチャートFlowchart showing the operation of the input screen generation device according to the same embodiment 同実施の形態における表形式データの一例を示す図A diagram showing an example of tabular data in the same embodiment 同実施の形態における入力画面の一例を示す図The figure which shows an example of the input screen in the embodiment 同実施の形態におけるデータベーススキーマの一例を示す図A diagram showing an example of a database schema in the embodiment 同実施の形態における入力画面のカレンダーの入力補助ツールを示す図The figure which shows the input assistance tool of the calendar of the input screen in the same embodiment 同実施の形態における入力画面のテンキーの入力補助ツールを示す図The figure which shows the input assistance tool of the ten-key pad of the input screen in the embodiment. 同実施の形態における入力画面の他の一例を示す図The figure which shows another example of the input screen in the embodiment. 同実施の形態におけるモバイル機器用の入力画面に関する設定の一例を示す図The figure which shows an example of the setting regarding the input screen for mobile devices in the embodiment. 同実施の形態におけるモバイル機器用の入力画面のプレビューの一例を示す図A diagram showing an example of a preview of an input screen for a mobile device in the same embodiment 同実施の形態における外部のデータベースの一例を示す図A diagram showing an example of an external database in the same embodiment 同実施の形態における入力画面におけるデータベースにリンクしたプルダウンメニューの一例を示す図A diagram showing an example of a pull-down menu linked to a database in the input screen in the embodiment 同実施の形態におけるコンピュータシステムの外観一例を示す模式図A schematic view showing an example of the appearance of a computer system according to the embodiment 同実施の形態におけるコンピュータシステムの構成の一例を示す図The figure which shows an example of a structure of the computer system in the embodiment.

以下、本発明による入力画面生成装置について、実施の形態を用いて説明する。なお、以下の実施の形態において、同じ符号を付した構成要素及びステップは同一または相当するものであり、再度の説明を省略することがある。本実施の形態による入力画面生成装置は、帳票の表形式データから、その帳票の入力画面を自動的に生成するものである。   Hereinafter, an input screen generation device according to the present invention will be described using an embodiment. In the following embodiments, components and steps denoted by the same reference numerals are the same or correspond to each other, and the description thereof may not be repeated. The input screen generation device according to the present embodiment automatically generates the input screen of the form from the tabular data of the form.

図1は、本実施の形態による入力画面生成装置1の構成を示すブロック図である。本実施の形態による入力画面生成装置1は、記憶部11と、検知部12と、警告出力部13と、生成部14と、出力部15と、入力画面記憶部16と、受付部17と、表示部18とを備える。   FIG. 1 is a block diagram showing a configuration of an input screen generation device 1 according to the present embodiment. The input screen generation device 1 according to the present embodiment includes a storage unit 11, a detection unit 12, a warning output unit 13, a generation unit 14, an output unit 15, an input screen storage unit 16, and a reception unit 17. And a display unit 18.

記憶部11では、複数のセルを有する帳票の表形式のデータである表形式データが記憶される。表形式データは、例えば、スプレッドシート(表計算ソフト)などのアプリケーションソフトウェアによって作成されたデータであってもよい。その表形式データは、複数のセルにそれぞれ設定されたフィールドと、そのフィールドのフィールド名との組を1以上有する表形式データである。その表形式データでは、所望の入力画面と同様のレイアウトが、罫線の設定やセルへの文字入力によって構成されていることが好適である。表形式データにおいて、あらかじめ決められた条件を満たすセル(例えば、罫線で枠囲みがなされた空欄のセルや、後述するデータ型の設定のなされた空欄のセル等)がフィールドに対応していてもよく、あらかじめ決められた位置のセル(例えば、左から2番目の列(B列)のセル等)がフィールドに対応していてもよい。そのフィールドに対応するフィールド名を示す文字列は、フィールドのセルに隣接するセルに入力されていることが好適である。そのような場合には、例えば、表形式データの各セルについて、文字列の入力されているセルがフィールド名のセルとなり、そのフィールド名のセルに隣接している、あらかじめ決められた条件を満たすセルや、あらかじめ決められた位置のセルが、そのフィールド名に対応するフィールドのセルであることになる。そのようにして、フィールド名と、フィールドとの対応関係が一意に特定できるように、表形式データが構成されていることが好適である。また、入力画面の入力フィールドに対応するフィールドにおいては、データ型が設定されていてもよい。そのデータ型は、例えば、数値データ型、金額データ型、テキストデータ型、日付データ型、時刻データ型、日付・時刻データ型、チェックボックス、ラジオボタン、セレクトボックス等から選ばれる少なくとも二以上を有するデータ型の集合に含まれるいずれかであってもよい。なお、データ型がセレクトボックスの場合には、選択対象の各値も設定されてもよい。また、それら以外のデータ型をフィールドに設定することができてもよい。表形式データにおけるデータ型の設定は、例えば、スプレッドシートのアプリケーションで行われているように、セルに対応するデータ型を設定することによって行われてもよく、または、セルに対してあらかじめ決められた文字列を入力することによって行われてもよい。前者の場合には、表示されているセルは空欄であり、そのセルの識別子と、そのセルに対応するデータ型とを対応付ける情報が別途、管理されていてもよい。また、後者の場合には、例えば、「データ型:数値」などの文字列がセルに入力されることによって、そのセルに数値データ型が設定されてもよい。この場合には、表示されているセルに、その文字列が表示されることになる。また、表形式データにおいて、フィールド名ではない文字列、すなわちフィールドと対応していないセルに入力された文字列が存在してもよい。その文字列は、例えば、入力画面のタイトルや、注意書き等であってもよい。   The storage unit 11 stores tabular data which is tabular data of a form having a plurality of cells. The tabular data may be, for example, data created by application software such as a spreadsheet (spreadsheet software). The tabular data is tabular data having one or more pairs of fields set in each of a plurality of cells and field names of the fields. In the tabular data, it is preferable that a layout similar to a desired input screen is configured by setting of ruled lines or character input to cells. In tabular data, even if a cell satisfying a predetermined condition (for example, a blank cell enclosed by a ruled line or a blank cell set with a data type to be described later) corresponds to the field. Well, a cell at a predetermined position (e.g., a cell in the second column (B column) from the left) may correspond to a field. It is preferable that a character string indicating a field name corresponding to the field is input to a cell adjacent to a cell of the field. In such a case, for example, for each cell of the tabular data, the cell in which the character string is input becomes the cell of the field name, and a predetermined condition which is adjacent to the cell of the field name is satisfied. The cell or the cell at a predetermined position will be the cell of the field corresponding to the field name. In such a manner, it is preferable that tabular data be configured such that the correspondence between field names and fields can be uniquely identified. Further, in the field corresponding to the input field of the input screen, a data type may be set. The data type is, for example, data having at least two or more selected from numerical data type, monetary data type, text data type, date data type, time data type, date / time data type, check box, radio button, select box, etc. It may be one included in the set of types. When the data type is a select box, each value to be selected may also be set. Also, other data types may be set in the field. The setting of the data type in the tabular data may be performed, for example, by setting the data type corresponding to the cell, as is done in the spreadsheet application, or it may be predetermined for the cell It may be performed by inputting a character string. In the former case, the displayed cell is blank, and information associating the identifier of the cell with the data type corresponding to the cell may be separately managed. In the latter case, for example, a numeric data type may be set to the cell by inputting a character string such as “data type: numerical value” into the cell. In this case, the character string is displayed in the displayed cell. Also, in the tabular data, a character string that is not a field name, that is, a character string input to a cell that does not correspond to the field may exist. The character string may be, for example, a title of an input screen, a note, or the like.

また、表形式データにおいて情報の入力されているセルには、入力画面の生成に用いられないセルがあってもよく、またはそうでなくてもよい。前者の場合には、例えば、情報が入力されているセルのうち、あらかじめ決められた条件を満たすセルは、入力画面の生成で用いられる帳票の領域に含まれなくてもよい。そのあらかじめ決められた条件は、例えば、特定の文字列(例えば、「#」「//」など)から始まるという条件であってもよく、特定の文字列の組(例えば、「<!−−」と「−−>」の組や、「/*」と「*/」の組など)で括られているという条件であってもよい。入力画面の生成に用いられないセルは、例えば、表形式データの作成者が、覚書などのコメントを記載するために用いられるセルであってもよい。   In addition, in cells in which information is input in tabular data, there may or may not be cells that are not used to generate an input screen. In the former case, for example, among cells in which information is input, cells satisfying a predetermined condition may not be included in the area of the form used in generation of the input screen. The predetermined condition may be, for example, a condition starting with a specific character string (for example, "#", "//", etc.), or a specific character string set (for example, "<!- "" And "->", "/ *" and "* /", etc.) may be used. The cells not used to generate the input screen may be, for example, cells used by the creator of the tabular data to write a comment such as a memorandum.

記憶部11に表形式データが記憶される過程は問わない。例えば、記録媒体を介して表形式データが記憶部11で記憶されるようになってもよく、通信回線等を介して送信された表形式データが記憶部11で記憶されるようになってもよく、または、入力デバイスを介して入力された表形式データが記憶部11で記憶されるようになってもよい。記憶部11での記憶は、RAM等における一時的な記憶でもよく、または、長期的な記憶でもよい。記憶部11は、所定の記録媒体(例えば、半導体メモリや磁気ディスクなど)によって実現されうる。   There is no limitation on the process of storing tabular data in the storage unit 11. For example, the tabular data may be stored in the storage unit 11 via the recording medium, or even if the tabular data transmitted via the communication line is stored in the storage unit 11 Alternatively, the tabular data input via the input device may be stored in the storage unit 11. The storage in the storage unit 11 may be temporary storage in a RAM or the like, or may be long-term storage. The storage unit 11 can be realized by a predetermined recording medium (for example, a semiconductor memory or a magnetic disk).

検知部12は、表形式データにおける帳票の領域を検知する。検知部12は、表形式データにおいて情報の入力されているセルのうち、最小範囲の領域を、帳票の領域として検知してもよい。具体的には、検知部12は、表形式データにおいて、情報の入力されている最も左側の列から、情報の入力されている最も右側の列までの列の範囲であって、かつ、情報の入力されている最も上側の行から、情報の入力されている最も下側の行までの行の範囲である領域を帳票の領域と検知してもよい。また、検知部12は、表形式データに含まれる、情報が入力されているセルのうち、あらかじめ決められた条件を満たすセルは帳票の領域に含めなくてもよい。そのあらかじめ決められた条件については、上記のとおりである。   The detection unit 12 detects the area of the form in the tabular data. The detection unit 12 may detect the area of the minimum range as the area of the form among cells in which information is input in the tabular data. Specifically, in the tabular data, the detection unit 12 is a range of columns from the leftmost column to which the information is input to the rightmost column to which the information is input, and the information An area ranging from the topmost line being input to the bottommost line where information is being input may be detected as the area of the form. In addition, the detection unit 12 does not have to include in the area of the form the cells that satisfy the predetermined condition among the cells included in the tabular data and to which the information is input. The predetermined conditions are as described above.

警告出力部13は、検知部12によって検知された帳票の領域があらかじめ決められた大きさを超えている場合に、警告を出力する。警告出力部13は、例えば、検知された帳票の領域の幅が、あらかじめ決められた閾値を超えている場合に、警告を出力してもよく、検知された帳票の領域の縦方向の長さが、あらかじめ決められた閾値を超えている場合に、警告を出力してもよく、両方であってもよい。例えば、幅方向の閾値は、通常のディスプレイの幅(例えば、1280ピクセル等)に応じて設定されてもよい。より具体的には、その幅方向の閾値は、通常のディスプレイの幅と同程度であってもよい。入力画面を通常のディスプレイに表示した場合に、横方向にスクロールする必要がないようにするためである。また、例えば、縦方向の閾値は、通常のディスプレイの上下方向の長さ(例えば、800ピクセル等)に応じて設定されてもよい。より具体的には、その縦方向の閾値は、通常のディスプレイの上下方向の長さと同程度であってもよい。入力画面を通常のディスプレイに表示した場合に、上下方向にスクロールする必要がないようにするためである。そのあらかじめ決められた閾値は、例えば、画素数によって示されてもよく、その他の長さの基準によって示されてもよい。   The warning output unit 13 outputs a warning when the area of the form detected by the detection unit 12 exceeds a predetermined size. The warning output unit 13 may output a warning when, for example, the width of the detected form area exceeds a predetermined threshold, and the vertical length of the detected form area If the threshold exceeds a predetermined threshold, a warning may be output, or both may be output. For example, the threshold in the width direction may be set according to the width of the normal display (e.g., 1280 pixels). More specifically, the threshold in the width direction may be about the same as the width of a normal display. This is to prevent the need for horizontal scrolling when the input screen is displayed on a normal display. Also, for example, the threshold in the vertical direction may be set according to the vertical length (for example, 800 pixels) of the normal display. More specifically, the vertical threshold may be about the same as the vertical length of a normal display. When the input screen is displayed on a normal display, it is not necessary to scroll up and down. The predetermined threshold may be indicated, for example, by the number of pixels, or by other length criteria.

ここで、この出力は、例えば、表示デバイス(例えば、液晶ディスプレイや有機ELディスプレイなど)への表示でもよく、所定の機器への通信回線を介した送信でもよく、プリンタによる印刷でもよく、スピーカによる音声出力でもよく、記録媒体への蓄積でもよく、他の構成要素への引き渡しでもよい。なお、警告出力部13は、出力を行うデバイス(例えば、表示デバイスやスピーカなど)を含んでもよく、または含まなくてもよい。また、警告出力部13は、ハードウェアによって実現されてもよく、または、それらのデバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。   Here, this output may be, for example, display on a display device (for example, a liquid crystal display, an organic EL display, etc.), transmission via a communication line to a predetermined device, printing by a printer, or a speaker It may be an audio output, may be stored on a recording medium, or may be delivered to another component. Note that the warning output unit 13 may or may not include a device (eg, a display device, a speaker, etc.) that performs output. Also, the warning output unit 13 may be realized by hardware or may be realized by software such as a driver for driving those devices.

生成部14は、表形式データを用いて、入力フィールドと、その入力フィールドのフィールド名とを有する帳票の入力画面を生成する。その入力画面は、入力フィールドと、その入力フィールドのフィールド名との組を1または2以上有するものであってもよい。表形式データのフィールドが入力画面の入力フィールドに対応し、そのフィールドのフィールド名が、入力フィールドのフィールド名に対応することになる。入力画面を生成するとは、厳密には、入力画面の情報を生成することである。入力画面は、例えば、入力フィールドとフィールド名との組を指定する構造の情報、及び、その入力フィールド及びフィールド名の配置位置(表示位置)を示すレイアウト情報によって構成されてもよい。構造の情報は、例えば、HTMLやXML等のマークアップ言語によって記述された情報であってもよい。また、レイアウト情報は、例えば、カスケーディング・スタイル・シートなどのスタイルシートであってもよい。なお、そのような構造の情報と、レイアウト情報とによって入力画面を構成することはすでに公知であり、その詳細な説明を省略する。   Using the tabular data, the generation unit 14 generates an input screen of a form having an input field and the field names of the input field. The input screen may have one or more pairs of input fields and field names of the input fields. The field of tabular data corresponds to the input field of the input screen, and the field name of the field corresponds to the field name of the input field. Strictly speaking, generating an input screen means generating information of the input screen. The input screen may be configured by, for example, information of a structure for specifying a combination of an input field and a field name, and layout information indicating an arrangement position (display position) of the input field and the field name. The structural information may be, for example, information described in a markup language such as HTML or XML. The layout information may be, for example, a style sheet such as a cascading style sheet. In addition, it is already known that the input screen is configured by the information of such structure and the layout information, and the detailed description thereof is omitted.

生成部14は、検知部12によって検知された帳票の領域に対応する入力画面を生成するものとする。具体的には、生成部14は、検知部12によって検知された領域において、文字列の入力されているフィールド名のセルを特定し、そのフィールド名のセルの上下左右のいずれかの隣接したセルのうち、あらかじめ決められた条件を満たすセルや、あらかじめ決められた位置のセルである、特定したフィールド名に対応するフィールドのセルを特定してもよい。このようにして、表形式データにおいて、フィールドと、そのフィールドのフィールド名との組を特定することができる。あらかじめ決められた条件を満たすセルは、上記のように、例えば、罫線で枠囲みがなされた空欄のセルや、後述するデータ型の設定のなされた空欄のセルなどであってもよい。また、あらかじめ決められた条件を満たすセルは、例えば、フィールド名のセルに対する枠囲みの罫線と連続している罫線によって枠囲みがなされた空欄のセルであってもよい。また、フィールド名のセルに対して、2以上のフィールドのセルが対応している場合には、生成部14は、1個のフィールド名のセルと、そのフィールド名に対応する複数のフィールドのセルとの組を特定してもよい。例えば、フィールド名「商品名」のセルに連続して、そのフィールド名のセルと連続した罫線の枠囲みがなされている複数の空欄のセルが一方向に連続している場合には、生成部14は、そのフィールド名「商品名」のセルと、それに連続する複数の空欄のセルであるフィールドのセルとの組を特定してもよい。生成部14は、表形式データにおいて、フィールドと、そのフィールドのフィールド名との組を特定した後に、その組に対応する入力フィールドとフィールド名とに関する情報を、入力画面の構造の情報に追記してもよい。このように、表形式データにおけるフィールド及びフィールド名の組を特定することと、その組に対応する情報を入力画面の構造の情報に追加することとが繰り返されることによって、表形式データに対応する入力画面の構造の情報が生成されることになる。また、表形式データにおいて、フィールド名ではない文字列、すなわちフィールドと対応していないセルに入力された文字列が存在する場合に、生成部14は、その文字列を入力画面にそのまま含めるようにしてもよい。例えば、入力画面のタイトルや、入力画面の入力に関する注意書き等の文字列を含むセルが表形式データに含まれる場合には、それらの文字列がそのまま入力画面に反映されることが好適だからである。   The generation unit 14 generates an input screen corresponding to the area of the form detected by the detection unit 12. Specifically, in the area detected by the detection unit 12, the generation unit 14 identifies the cell of the field name in which the character string is input, and any adjacent cell above, below, left, or right of the cell with the field name Among the above, cells in a field corresponding to a specified field name, which is a cell satisfying a predetermined condition or a cell in a predetermined position, may be specified. In this manner, in the tabular data, a combination of a field and the field name of the field can be identified. As described above, the cells satisfying the predetermined condition may be, for example, a blank cell surrounded by a ruled line or a blank cell in which a data type to be described later is set. Also, the cell satisfying the predetermined condition may be, for example, a blank cell surrounded by a frame by a ruled line continuous with a frame-enclosed ruled line with respect to the field name cell. In addition, when cells of two or more fields correspond to cells of field names, the generation unit 14 generates a cell of one field name and cells of a plurality of fields corresponding to the field names. And the pair may be specified. For example, when a plurality of blank cells in which a frame surrounded by a frame is continuously formed with a cell of the field name continuous to the cell of the field name “product name”, the generation unit is generated. 14 may specify a set of a cell of the field name “product name” and a cell of a field which is a plurality of blank cells connected thereto. After specifying a combination of a field and a field name of the field in the tabular data, the generation unit 14 adds information on the input field and the field name corresponding to the combination to the information on the structure of the input screen. May be Thus, correspondence between tabular data is achieved by repeatedly specifying the field and field name in the tabular data and adding the information corresponding to the pair to the information of the structure of the input screen. Information on the structure of the input screen will be generated. In addition, in the tabular data, when there is a character string that is not a field name, that is, a character string input to a cell that does not correspond to the field, the generation unit 14 includes the character string in the input screen as it is. May be For example, in the case where the table format data includes a cell including a character string such as a title of the input screen or a note regarding the input of the input screen, it is preferable that the character string is directly reflected on the input screen. is there.

表形式データのフィールドにデータ型の設定がなされている場合に、生成部14は、入力画面に含まれる入力フィールドのデータ型を、その入力フィールドに対応する表形式データのフィールドに設定されているデータ型に設定してもよい。例えば、表形式データのあるフィールドに数値データ型が設定されている場合には、生成部14は、入力画面における、そのフィールドに対応する入力フィールドのデータ型を、数値データ型に設定してもよい。そして、入力画面のある入力フィールドにデータ型が設定されている場合には、その入力画面を用いたデータ入力において、その入力フィールドでは、設定されているデータ型のデータのみが受け付けられてもよい。例えば、数値データ型の設定されている入力フィールドには、数値のみが入力できるようになっていてもよい。入力画面の入力フィールドへのデータ型の設定は、例えば、入力画面の構造の情報に対して行われてもよく、または、後述するデータベーススキーマに対して行われてもよい。   When the data type is set in the field of tabular data, the generation unit 14 sets the data type of the input field included in the input screen to the field of tabular data corresponding to the input field. It may be set to a data type. For example, when a numeric data type is set in a field having tabular data, the generation unit 14 sets the data type of the input field corresponding to the field in the input screen to the numeric data type. Good. When a data type is set in an input field of an input screen, only data of the set data type may be accepted in the input field in data input using the input screen. . For example, only numeric values may be input to an input field having a numeric data type. The setting of the data type in the input field of the input screen may be performed, for example, on information on the structure of the input screen, or may be performed on a database schema described later.

また、生成部14は、入力画面の各入力フィールドに対応するデータベーススキーマを、入力フィールドに対応する表形式データにおけるフィールド及びフィールド名の少なくとも一方を用いて生成してもよい。データベーススキーマは、例えば、入力フィールドに対応する属性名と、データ型と、サイズとを対応付けるものであってもよい。属性名に対応付けられるデータ型及びサイズは、その属性名によって名称の示されている属性のデータ型及びサイズである。そして、生成部14は、そのデータベーススキーマに含まれる少なくとも一部の情報を、表形式データに含まれるフィールド及び/またはフィールド名を用いて生成してもよい。生成部14は、例えば、データベーススキーマにおいて、入力フィールドに対応する属性名を、その入力フィールドに対応する表形式データにおけるフィールドのフィールド名に設定してもよい。また、生成部14は、データベーススキーマにおいて、入力フィールドに対応するデータ型を、その入力フィールドに対応する表形式データにおけるフィールドのデータ型に設定してもよい。また、生成部14は、データベーススキーマにおいて、入力フィールドに対応する入力フィールドに対応するサイズを、その入力フィールドに対応する、表形式データにおけるフィールドの長さに応じて設定してもよい。フィールドの長さは、例えば、フィールドの幅であってもよい。フィールドの長さに応じて設定するとは、その長さが長いほど、より大きなサイズに設定することであってもよい。フィールドの長さに応じたサイズは、例えば、フィールドの長さを引数として、入力フィールドに対応するサイズを算出するために用いられる関数や、フィールドの長さと、入力フィールドに対応するサイズとを対応付けるテーブル等を用いて特定されてもよい。そのサイズは、例えば、データ量(バイト数)であってもよく、文字数や数字の桁数などであってもよい。また、データベーススキーマも生成する場合には、生成部14は、入力画面における各入力フィールドと、データベーススキーマにおける各レコードとの対応関係が分かるようにしてもよい。例えば、生成部14は、対応関係にある入力画面における入力フィールドと、データベーススキーマにおけるレコードとに同じIDを付与してもよい。   Further, the generation unit 14 may generate a database schema corresponding to each input field of the input screen using at least one of the field and the field name in the tabular data corresponding to the input field. The database schema may, for example, associate an attribute name corresponding to an input field, a data type, and a size. The data type and size associated with the attribute name are the data type and size of the attribute whose name is indicated by the attribute name. Then, the generation unit 14 may generate at least part of the information included in the database schema using the field and / or the field name included in the tabular data. For example, in the database schema, the generation unit 14 may set the attribute name corresponding to the input field to the field name of the field in the tabular data corresponding to the input field. Further, the generation unit 14 may set the data type corresponding to the input field to the data type of the field in the tabular data corresponding to the input field in the database schema. In addition, the generation unit 14 may set, in the database schema, the size corresponding to the input field corresponding to the input field according to the length of the field in the tabular data corresponding to the input field. The length of the field may be, for example, the width of the field. Setting according to the length of a field may mean setting the size to a larger size as the length is longer. The size according to the length of the field associates, for example, a function used to calculate the size corresponding to the input field with the length of the field as an argument, the length of the field and the size corresponding to the input field It may be identified using a table or the like. The size may be, for example, the amount of data (the number of bytes), the number of characters, the number of digits of a number, or the like. In addition, when generating the database schema, the generation unit 14 may be made to know the correspondence between each input field in the input screen and each record in the database schema. For example, the generation unit 14 may assign the same ID to the input field in the input screen in the correspondence relationship and the record in the database schema.

また、生成部14は、入力画面に含まれる入力フィールドのデータ型に応じて、その入力フィールドがフォーカスされたときに出力される入力補助ツールを設定してもよい。具体的には、生成部14は、入力画面に含まれる入力フィールドのデータ型が日付データ型である場合には、その入力フィールドがフォーカスされたときに出力される入力補助ツールとして、カレンダーの入力補助ツールを設定してもよい。カレンダーの入力補助ツールとは、表示されたカレンダーにおいて日付を選択することによって、選択した日付を入力できる入力補助ツールである。また、生成部14は、入力画面に含まれる入力フィールドのデータ型が金額データ型または数値データ型である場合には、その入力フィールドがフォーカスされたときに出力される入力補助ツールとして、テンキーの入力補助ツールを設定してもよい。テンキーの入力補助ツールとは、表示されたテンキーにおいて数値ボタンを選択することによって、選択した数値ボタンに対応する数値を入力できる入力補助ツールである。そのテンキーの入力補助ツールは、例えば、数値の入力のみに用いられてもよく、数値の計算機能を有していてもよい。後者の場合には、その入力補助ツールは、電卓であると考えてもよい。入力フィールドがフォーカスされるとは、例えば、ポインティングデバイスや指でのタップ等によって入力フィールドが選択されたり、入力のために、入力フィールドにポインタやカーソルが配置されたりすることであってもよい。また、入力画面の所定の入力フィールドに入力補助ツールを設定するとは、例えば、その入力補助ツールのモジュール等を入力画面に組み込むことであってもよく、または、別途管理されている入力補助ツールのモジュール等を入力画面から読み出すように設定することであってもよい。   In addition, the generation unit 14 may set an input support tool to be output when the input field is focused according to the data type of the input field included in the input screen. Specifically, when the data type of the input field included in the input screen is a date data type, the generation unit 14 inputs the calendar as an input auxiliary tool output when the input field is focused. Auxiliary tools may be set. The input aid tool of the calendar is an input aid tool capable of entering the selected date by selecting the date in the displayed calendar. In addition, when the data type of the input field included in the input screen is a money amount data type or a numeric data type, the generation unit 14 uses a numeric keypad as an input auxiliary tool that is output when the input field is focused. You may set an input support tool. The input assist tool of the ten key is an input assist tool capable of inputting a numerical value corresponding to the selected numerical button by selecting the numerical button on the displayed ten key. For example, the numeric keypad input auxiliary tool may be used only for inputting numerical values, and may have a numerical value calculation function. In the latter case, the input aid tool may be considered to be a calculator. Focusing on the input field may be, for example, selection of the input field by a pointing device or tapping with a finger, or placement of a pointer or cursor on the input field for input. Further, setting the input support tool in a predetermined input field of the input screen may be, for example, incorporating the module or the like of the input support tool into the input screen, or a separately managed input support tool The module or the like may be set to be read out from the input screen.

また、生成部14は、表形式データのレイアウトに応じた入力画面を生成する。すなわち、生成部14は、表形式データのレイアウトと同様のレイアウトとなるように、入力画面のレイアウト情報を生成してもよい。そのため、生成部14は、例えば、表形式データにおいて特定したフィールドやフィールド名の位置やサイズ等を表形式データから取得し、その取得した位置やサイズを用いて、入力画面のレイアウト情報を構成してもよい。より具体的には、生成部14は、その取得した位置やサイズ等を用いて、入力画面の入力フィールドやフィールド名が、表形式データにおけるフィールドやフィールド名と同様の位置関係、サイズとなるように、入力画面のレイアウト情報を生成してもよい。なお、生成部14は、表形式データのレイアウトに応じた入力画面を生成する際に、例えば、厳密に同じレイアウトとなるように入力画面を生成してもよく、順序や並び等が同じレイアウトとなるように入力画面を生成してもよい。後者の場合には、生成部14は、例えば、入力フィールドの幅などを、データ型などに応じて決定してもよい。具体的には、数値データ型に対応する入力フィールドの幅や、金額データ型に対応する入力フィールドの幅などがあらかじめ決められており、生成部14は、各入力フィールドの幅が、データ型に応じた幅となるように入力画面を生成してもよい。   In addition, the generation unit 14 generates an input screen according to the layout of tabular data. That is, the generation unit 14 may generate layout information of the input screen so as to have the same layout as that of the tabular data. Therefore, the generation unit 14 acquires, for example, the positions and sizes of the fields and field names specified in the tabular data from the tabular data, and configures the layout information of the input screen using the acquired positions and sizes. May be More specifically, the generation unit 14 uses the acquired position, size, and the like so that the input fields and field names of the input screen have the same positional relationship and size as the fields and field names in the tabular data. The layout information of the input screen may be generated. When generating the input screen according to the layout of the tabular data, the generation unit 14 may generate the input screen so that, for example, the layout is strictly the same, and the layout and the arrangement are the same as the layout. The input screen may be generated to be In the latter case, the generation unit 14 may determine, for example, the width of the input field according to the data type or the like. Specifically, the width of the input field corresponding to the numeric data type, the width of the input field corresponding to the amount data type, etc. are determined in advance, and the generation unit 14 determines that the width of each input field is the data type. The input screen may be generated to have a width corresponding to that.

また、生成部14は、あらかじめ決められた構成要素を入力画面に含めるようにしてもよい。例えば、あらかじめ「OK」ボタンと「キャンセル」ボタンとを右下に含めることが決まっている場合には、生成部14は、入力画面を生成する際に、それらのボタンを含む入力画面を生成してもよい。   In addition, the generation unit 14 may include predetermined components in the input screen. For example, if it is decided in advance that the “OK” button and the “Cancel” button are to be included in the lower right, the generation unit 14 generates an input screen including those buttons when generating the input screen. May be

生成部14は、表形式データのレイアウトと関係しない、モバイル機器用の入力画面をも生成してもよい。近年、デスクトップパソコンなどのように、通常のディスプレイで表示するための入力画面と、スマートフォンやタブレット端末などのように、通常のディスプレイよりも狭小なディスプレイで表示するための入力画面との両方を準備しておき、アクセス元の機器の種類に応じて、表示する入力画面を切り換えることが行われている。そのため、表形式データのレイアウトに応じた、デスクトップパソコン用の入力画面と、モバイル機器用の入力画面との両方を自動的に生成することは好適である。なお、モバイル機器用の入力画面では、表示対象の入力フィールドとフィールド名とを選択できるようにしてもよい。より小さな画面で入力する場合には、重要度の低い情報の入力を省略するようにしてもよいからである。したがって、生成部14は、表形式データに含まれるフィールド及びフィールド名のうち、あらかじめ選択されているものに対応する入力フィールドやフィールド名を有するモバイル機器用の入力画面を生成してもよい。そのモバイル機器用の入力画面では、入力フィールドやフィールド名が、例えば、上下方向のみに並ぶように構成されていてもよい。また、そのモバイル機器用の入力画面において、入力フィールドやフィールド名の表示順序をユーザがあらかじめ設定できてもよい。入力フィールドやフィールド名の表示の有無や表示の順序に関する設定情報は、例えば、記憶部11で記憶されており、生成部14は、それらの情報を読み出すことによって、その設定情報に応じたモバイル機器用の入力画面を生成してもよい。モバイル機器用の入力画面を生成する場合には、生成部14は、表形式データのレイアウトと関係なく、あらかじめ決められたレイアウト情報や、上記のようにユーザによって設定された表示順序や表示の有無に応じたレイアウト情報を用いてもよく、モバイル機器において表示や入力が容易になるようにレイアウト情報を構成してもよい。なお、モバイル機器用の入力画面に関する入力フィールドとフィールド名との組を指定する構造の情報は、通常の入力画面のものがそのまま用いられてもよく、または、通常の入力画面と同様に、その構造の情報が生成されてもよい。   The generation unit 14 may also generate an input screen for a mobile device that is not related to the layout of tabular data. In recent years, both an input screen for displaying on a normal display, such as a desktop personal computer, and an input screen for displaying on a narrower display than a normal display, such as a smartphone or tablet terminal, are prepared. According to the type of access source device, the input screen to be displayed is switched. Therefore, it is preferable to automatically generate both an input screen for a desktop personal computer and an input screen for a mobile device according to the layout of tabular data. In addition, on the input screen for the mobile device, an input field to be displayed and a field name may be selected. This is because when inputting on a smaller screen, the input of information of low importance may be omitted. Therefore, the generation unit 14 may generate an input screen for a mobile device having an input field or field name corresponding to a field and a field name included in the tabular data, which is selected in advance. In the input screen for the mobile device, the input fields and the field names may be arranged, for example, only in the vertical direction. In addition, on the input screen for the mobile device, the user may be able to set in advance the display order of input fields and field names. For example, setting information regarding presence / absence of display of input fields and field names and display order is stored in the storage unit 11, and the generation unit 14 reads out the information and thereby the mobile device according to the setting information. You may generate an input screen for When generating an input screen for a mobile device, the generation unit 14 determines the presence or absence of display order or display set by the user as described above, regardless of the layout of the tabular data, in advance. The layout information may be used in accordance with the above, or may be configured to facilitate display and input in the mobile device. In addition, the information of the structure which designates the set of the input field and field name regarding the input screen for mobile devices may be used as it is in the normal input screen, or, as in the normal input screen, Structural information may be generated.

出力部15は、生成部14によって生成された入力画面を出力する。また、データベーススキーマも生成された場合には、出力部15は、生成部14によって生成されたデータベーススキーマを蓄積してもよい。ここで、この出力は、例えば、所定の機器への通信回線を介した送信でもよく、記録媒体への蓄積でもよく、他の構成要素への引き渡しでもよい。本実施の形態では、出力部15が、入力画面やデータベーススキーマを入力画面記憶部16に蓄積する場合について主に説明する。なお、出力部15は、出力を行うデバイス(例えば、通信デバイスなど)を含んでもよく、または含まなくてもよい。また、出力部15は、ハードウェアによって実現されてもよく、または、それらのデバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。   The output unit 15 outputs the input screen generated by the generation unit 14. When the database schema is also generated, the output unit 15 may accumulate the database schema generated by the generation unit 14. Here, this output may be, for example, transmission via a communication line to a predetermined device, accumulation on a recording medium, or delivery to another component. In the present embodiment, a case where the output unit 15 stores an input screen and a database schema in the input screen storage unit 16 will be mainly described. Note that the output unit 15 may or may not include a device (eg, a communication device or the like) that performs output. Also, the output unit 15 may be realized by hardware or software such as a driver for driving those devices.

入力画面記憶部16では、入力画面やデータベーススキーマが記憶される。入力画面記憶部16での記憶は、RAM等における一時的な記憶でもよく、または、長期的な記憶でもよい。入力画面記憶部16は、所定の記録媒体(例えば、半導体メモリや磁気ディスクなど)によって実現されうる。入力画面記憶部16において記憶されている入力画面やデータベーススキーマは、入力画面生成装置1の外部に出力されてもよい。   The input screen storage unit 16 stores an input screen and a database schema. The storage in the input screen storage unit 16 may be temporary storage in a RAM or the like, or may be long-term storage. The input screen storage unit 16 can be realized by a predetermined recording medium (for example, a semiconductor memory or a magnetic disk). The input screen or database schema stored in the input screen storage unit 16 may be output to the outside of the input screen generation device 1.

受付部17は、情報や指示等の入力を受け付ける。その受け付けられた情報によって、例えば、記憶部11で記憶されている表形式データや、モバイル機器用の入力画面に関する設定情報が構成されてもよい。また、受け付けられた情報によって、例えば、入力画面の生成が指示されてもよい。また、受付部17は、例えば、入力デバイス(例えば、キーボードやマウス、タッチパネルなど)から入力された情報や指示を受け付けてもよく、有線または無線の通信回線を介して送信された情報や指示を受信してもよく、所定の記録媒体(例えば、光ディスクや磁気ディスク、半導体メモリなど)から読み出された情報を受け付けてもよい。なお、受付部17は、受け付けを行うためのデバイス(例えば、モデムやネットワークカードなど)を含んでもよく、または含まなくてもよい。また、受付部17は、ハードウェアによって実現されてもよく、または所定のデバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。   The receiving unit 17 receives an input of information, an instruction, and the like. For example, tabular data stored in the storage unit 11 or setting information on an input screen for a mobile device may be configured by the received information. Also, for example, generation of an input screen may be instructed by the received information. Also, the reception unit 17 may receive, for example, information and instructions input from an input device (for example, a keyboard, a mouse, a touch panel, etc.), and may transmit information or instructions transmitted via a wired or wireless communication line. The information may be received, or information read from a predetermined recording medium (for example, an optical disk, a magnetic disk, a semiconductor memory, etc.) may be received. The accepting unit 17 may or may not include a device (eg, a modem, a network card, etc.) for accepting. In addition, the reception unit 17 may be realized by hardware or may be realized by software such as a driver for driving a predetermined device.

表示部18は、記憶部11で記憶されている表形式データ等を表示する。なお、表示部18は、それらの表示を行う表示デバイス(例えば、液晶ディスプレイや有機ELディスプレイなど)を含んでもよく、または含まなくてもよい。また、表示対象の表示は、別の装置においてなされてもよい。その場合には、表示部18は、装置の外部に対して表示対象の情報を送信するものであってもよい。また、表示部18は、ハードウェアによって実現されてもよく、または表示デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。   The display unit 18 displays tabular data and the like stored in the storage unit 11. The display unit 18 may or may not include a display device (for example, a liquid crystal display, an organic EL display, etc.) for displaying those. Also, the display of the display target may be performed on another device. In that case, the display unit 18 may transmit information to be displayed to the outside of the device. In addition, the display unit 18 may be realized by hardware, or may be realized by software such as a driver for driving a display device.

なお、記憶部11と、入力画面記憶部16とは、同一の記録媒体によって実現されてもよく、または、別々の記録媒体によって実現されてもよい。前者の場合には、例えば、表形式データを記憶している領域が記憶部11となり、入力画面を記憶している領域が入力画面記憶部16となる。   The storage unit 11 and the input screen storage unit 16 may be realized by the same recording medium, or may be realized by separate recording media. In the former case, for example, the area storing tabular data is the storage unit 11, and the area storing the input screen is the input screen storage unit 16.

また、図1では明記していないが、入力画面生成装置1は、スプレッドシート(表計算ソフト)のアプリケーションソフトウェアを実行する構成を有していてもよい。そのアプリケーションソフトウェアは、記憶部11等で記憶されており、図示しない実行部がそのソフトウェアを実行してもよい。また、そのソフトウェアが実行されている際に、受付部17によってスプレッドシートへの入力が指示等が受け付けられ、それに応じた処理が図示しない実行部によって実行され、また、その結果が表示部18によって表示されてもよい。   Moreover, although not clearly described in FIG. 1, the input screen generation device 1 may have a configuration for executing application software of a spreadsheet (spreadsheet software). The application software is stored in the storage unit 11 or the like, and an execution unit (not shown) may execute the software. Also, when the software is being executed, the accepting unit 17 accepts an instruction such as an input to the spreadsheet, and the processing corresponding thereto is executed by the executing unit (not shown), and the result is displayed by the display unit 18. It may be displayed.

次に、入力画面生成装置1の動作について図2のフローチャートを用いて説明する。このフローチャートでは、表形式データのフィールドに対応するセルには、文字列が入力されていないものとする。   Next, the operation of the input screen generation device 1 will be described using the flowchart of FIG. In this flowchart, it is assumed that no character string is input to the cell corresponding to the field of tabular data.

(ステップS101)生成部14は、入力画面の生成を行うかどうか判断する。そして、入力画面の生成を行う場合には、ステップS102に進み、そうでない場合には、入力画面の生成を行うと判断するまで、ステップS101の処理を繰り返す。生成部14は、例えば、入力画面を生成する旨の指示が受付部17で受け付けられた場合に、入力画面を生成すると判断してもよい。なお、その指示に、入力画面の生成で用いる表形式データを識別する情報が含まれていてもよい。   (Step S101) The generation unit 14 determines whether to generate an input screen. If the input screen is to be generated, the process proceeds to step S102. If not, the process of step S101 is repeated until it is determined that the input screen is to be generated. The generation unit 14 may determine to generate an input screen, for example, when the reception unit 17 receives an instruction to generate an input screen. The instruction may include information for identifying tabular data used in generating the input screen.

(ステップS102)検知部12は、入力画面の生成で用いる表形式データにおける帳票の領域を検知する。   (Step S102) The detection unit 12 detects an area of a form in tabular data used in generation of an input screen.

(ステップS103)警告出力部13は、ステップS102で検知された領域が、あらかじめ決められた大きさ以内であるのか、その大きさを超えているのかを判断する。そして、あらかじめ決められた大きさ以内であれば、ステップS104に進み、あらかじめ決められた大きさ超えていれば、ステップS115に進む。   (Step S103) The warning output unit 13 determines whether the area detected in step S102 is within a predetermined size or exceeds the size. If the size is within the predetermined size, the process proceeds to step S104. If the size exceeds the predetermined size, the process proceeds to step S115.

(ステップS104)生成部14は、表形式データにおいて、文字列の入力されているセルを特定する。なお、ステップS112からステップS104に戻った場合には、生成部14は、それまでに特定していない、文字列の入力されているセルを特定するものとする。   (Step S104) The generation unit 14 specifies a cell to which a character string is input in the tabular data. In addition, when it returns from step S112 to step S104, the production | generation part 14 shall specify the cell into which the character string which has not been specified by then is input.

(ステップS105)生成部14は、ステップS104で特定した文字列の入力されているセルに対応するフィールドがあるかどうか判断する。生成部14は、例えば、そのセルに隣接する、あらかじめ決められた条件を満たすセルがある場合に、その文字列のセルに対応するフィールドがあると判断してもよい。そして、文字列の入力されているセルに対応するフィールドがある場合には、そのフィールドのセルを特定してステップS106に進み、そうでない場合には、ステップS114に進む。   (Step S105) The generation unit 14 determines whether there is a field corresponding to the cell to which the character string identified in step S104 is input. For example, when there is a cell adjacent to the cell that satisfies a predetermined condition, the generation unit 14 may determine that there is a field corresponding to the cell of the character string. Then, if there is a field corresponding to the cell to which the character string is input, the cell of that field is specified, and the process proceeds to step S106. If not, the process proceeds to step S114.

(ステップS106)生成部14は、ステップS105で特定したフィールドのセルに設定されているデータ型を取得する。   (Step S106) The generation unit 14 acquires the data type set in the cell of the field identified in step S105.

(ステップS107)生成部14は、ステップS105で特定したフィールドの長さに応じたサイズを特定する。   (Step S107) The generation unit 14 specifies a size according to the length of the field specified in step S105.

(ステップS108)生成部14は、ステップS104で特定したセルの文字列である属性名と、ステップS106で取得したデータ型と、ステップS107で特定したサイズとを有するデータベーススキーマを設定する。その設定は、表形式データのフィールドに対応するデータベーススキーマを蓄積することによって行われてもよい。   (Step S108) The generation unit 14 sets a database schema having an attribute name that is a character string of the cell identified in step S104, the data type acquired in step S106, and the size identified in step S107. The setting may be performed by accumulating database schemas corresponding to the fields of tabular data.

(ステップS109)生成部14は、ステップS104で特定したセルの文字列であるフィールド名と、ステップS105で特定したフィールドとにそれぞれ対応する、入力画面におけるフィールド名と、入力フィールドとを設定する。その設定は、ステップS105で特定したフィールドに対応する入力画面における位置に、入力フィールドを設定し、ステップS104で特定したフィールド名に対応する入力画面における位置に、フィールド名を設定することによって行われてもよい。より具体的には、生成部14は、そのフィールド名と入力フィールドとに対応する構造を、構造の情報に追加し、それらの表示位置に応じた設定を、レイアウト情報に追加してもよい。なお、入力画面にフィールド等を初めて設定する際には、生成部14は、ステップS102で検知された領域に対応するブランクの入力画面をまず生成し、そのブランクの入力画面に、フィールド等の設定を行ってもよい。   (Step S109) The generation unit 14 sets a field name on the input screen and an input field respectively corresponding to the field name which is a character string of the cell identified in step S104 and the field identified in step S105. The setting is performed by setting the input field at the position on the input screen corresponding to the field specified at step S105 and setting the field name at the position on the input screen corresponding to the field name specified at step S104. May be More specifically, the generation unit 14 may add the structure corresponding to the field name and the input field to the structure information, and may add the setting according to the display position thereof to the layout information. In addition, when setting a field etc. for the first time in the input screen, the generation unit 14 first generates a blank input screen corresponding to the area detected in step S102, and sets the field etc. in the blank input screen. You may

(ステップS110)生成部14は、ステップS108で設定したデータベーススキーマに含まれるデータ型が、入力補助ツールの設定対象となる特定のデータ型であるかどうか判断する。そして、特定のデータ型である場合には、ステップS111に進み、そうでない場合には、ステップS112に進む。なお、生成部14は、例えば、ステップS108で設定したデータベーススキーマに含まれるデータ型が、日付データ型、金額データ型、及び数値データ型のいずれかである場合に、入力補助ツールの設定対象となる特定のデータ型であると判断してもよい。   (Step S110) The generation unit 14 determines whether the data type included in the database schema set in step S108 is a specific data type to be set for the input support tool. Then, if it is a specific data type, the process proceeds to step S111, and if not, the process proceeds to step S112. Note that, for example, when the data type included in the database schema set in step S108 is any of a date data type, an amount data type, and a numeric data type, the generation unit 14 sets an input auxiliary tool as a setting target. It may be determined that the data type is

(ステップS111)生成部14は、ステップS109で入力画面に追加した入力フィールドに、データ型に応じた入力補助ツールを設定する。上記のように、生成部14は、例えば、入力フィールドのデータ型が日付データ型である場合には、カレンダーの入力補助ツールを設定し、入力フィールドのデータ型が金額データ型または数値データ型である場合には、テンキーの入力補助ツールを設定してもよい。   (Step S111) The generation unit 14 sets an input support tool according to the data type in the input field added to the input screen in step S109. As described above, for example, when the data type of the input field is a date data type, the generation unit 14 sets the input support tool of the calendar, and the data type of the input field is a money amount data type or a numeric data type. In some cases, an input assistant tool of a ten key may be set.

(ステップS112)生成部14は、それまでに特定していない、文字列の入力されているセルが存在するかどうか判断する。そして、そのようなセルが存在する場合には、ステップS104に戻り、そうでない場合には、ステップS113に進む。   (Step S112) The generation unit 14 determines whether there is a cell to which a character string has been input that has not been identified so far. Then, if such a cell exists, the process returns to step S104, and if not, the process proceeds to step S113.

(ステップS113)出力部15は、生成部14によって生成された入力画面と、データベーススキーマとを出力する。なお、生成された入力画面は、ステップS109における入力フィールド等の生成や、ステップS114における文字列の生成が繰り返して行われた入力画面であってもよい。また、生成されたデータベーススキーマとは、ステップS108でのデータベーススキーマの設定が繰り返して行われたデータベーススキーマであってもよい。そして、入力画面を生成する一連の処理は終了となる。   (Step S113) The output unit 15 outputs the input screen generated by the generation unit 14 and the database schema. The generated input screen may be an input screen on which generation of an input field or the like in step S109 and generation of a character string in step S114 have been repeatedly performed. Further, the generated database schema may be a database schema in which the setting of the database schema in step S108 is repeatedly performed. Then, the series of processes for generating the input screen is completed.

(ステップS114)生成部14は、ステップS104で特定したセルの文字列を、入力画面に設定する。その設定は、ステップS104で特定したセルの文字列に対応する入力画面における位置に、その文字列を追加することによって行われてもよい。なお、入力画面にフィールド等を初めて設定する際には、生成部14は、ステップS102で検知された領域に対応するブランクの入力画面をまず生成し、そのブランクの入力画面に、文字列を追加してもよい。このように、表形式データに含まれる文字列をそのまま入力画面に設定する場合には、生成部14は、例えば、表形式データに含まれる文字列の属性(例えば、下線、斜体、太字、色等の文字の修飾や、フォントの種類、サイズ等)をそのまま入力画面に設定する文字列に反映してもよく、または、そうでなくてもよい。   (Step S114) The generation unit 14 sets the character string of the cell identified in step S104 in the input screen. The setting may be performed by adding the character string to the position on the input screen corresponding to the character string of the cell identified in step S104. In addition, when setting a field etc. for the first time on the input screen, the generation unit 14 first generates a blank input screen corresponding to the area detected in step S102, and adds a character string to the blank input screen. You may As described above, when the character string included in the tabular data is set as it is on the input screen, the generation unit 14 may, for example, determine the attribute of the character string included in the tabular data (for example, underline, italic, bold, color Etc., font type, size, etc.) may be reflected as it is on the character string set in the input screen, or may not.

(ステップS115)警告出力部13は、表形式データにおける帳票の領域が、あらかじめ決められた大きさを超えている旨の警告を出力する。   (Step S115) The warning output unit 13 outputs a warning that the area of the form in the tabular data exceeds a predetermined size.

(ステップS116)受付部17は、入力画面の生成の処理を継続する旨の指示を受け付けたかどうか判断する。そして、継続の指示を受け付けた場合には、ステップS104に進み、そうでない場合には、入力画面の生成の処理を終了する。そのようにして入力画面の生成の処理が終了された場合には、ユーザは、表形式データにおける帳票の領域を修正し、再度、入力画面を生成する旨の指示を入力してもよい。   (Step S116) The receiving unit 17 determines whether an instruction to continue the process of generating the input screen has been received. Then, if the instruction to continue is received, the process proceeds to step S104. If not, the process of generating the input screen is ended. As described above, when the process of generating the input screen is finished, the user may correct the area of the form in the tabular data, and may input an instruction to generate the input screen again.

なお、図2のフローチャートには、スプレッドシートのアプリケーションソフトウェアを用いてユーザが帳票の表形式データを作成する処理は含まれていないが、受付部17は、表形式データに対する入力を受け付け、その受け付けた入力に応じて、記憶部11で記憶されている表形式データを変更してもよい。また、表示部18は、記憶部11で記憶されている表形式データや、スプレッドシートのアプリケーションソフトウェアで用いられるツール等を表示してもよい。また、表示部18は、生成された入力画面を表示してもよい。その表示は、生成された入力画面が適切であるかどうかのチェックのために行われてもよい。また、図2のフローチャートにおける処理の順序は一例であり、同様の結果を得られるのであれば、各ステップの順序を変更してもよい。   Although the flowchart of FIG. 2 does not include the process of the user creating tabular data of a form using application software of a spreadsheet, the receiving unit 17 receives an input for the tabular data and receives the input. The tabular data stored in the storage unit 11 may be changed according to the input. In addition, the display unit 18 may display tabular data stored in the storage unit 11, a tool used in application software of a spreadsheet, and the like. In addition, the display unit 18 may display the generated input screen. The display may be performed to check whether the generated input screen is appropriate. Moreover, the order of the process in the flowchart of FIG. 2 is an example, and the order of each step may be changed as long as the same result can be obtained.

次に、本実施の形態による入力画面生成装置1の動作について、具体例を用いて説明する。
この具体例において、ユーザは、入力画面生成装置1において、スプレッドシートのアプリケーションソフトウェアを起動し、受付部17を介した入力等を行うことによって、図3で示される表形式データ「spreadsheet001」を生成し、その表形式データを記憶部11に保存したとする。なお、図3で示される表形式データは、物品調達依頼書の帳票に対応するものである。例えば、セルB5には、フィールド名「購入先」が設定されており、そのセルB5に隣接するセルB6に、フィールド名「購入先」に対応するフィールドが設定されている。他のフィールド及びフィールド名についても同様である。また、フィールド名「購入先」「事業所名」「氏名」「商品名(型番)」「備考(色、サイズ、メーカー等)」「納品先」に対応するフィールドには、テキストデータ型が設定されており、フィールド名「申請日」に対応するフィールドには、日付データ型が設定されており、フィールド名「数量」に対応するフィールドには、数値データ型が設定されており、フィールド名「金額」に対応するフィールドには、金額データ型が設定されているものとする。
Next, the operation of the input screen generation device 1 according to the present embodiment will be described using a specific example.
In this specific example, the user activates the application software of the spreadsheet in the input screen generation device 1, and performs input via the reception unit 17 to generate the tabular data "spreadsheet 001" shown in FIG. It is assumed that the tabular data is stored in the storage unit 11. The tabular data shown in FIG. 3 corresponds to the form of the article procurement request form. For example, the field name "purchasing party" is set in the cell B5, and the field corresponding to the field name "purchasing party" is set in the cell B6 adjacent to the cell B5. The same applies to other fields and field names. In addition, the text data type is set in the field corresponding to the field name "purchase destination""business office name""name""product name (model number)""remarks (color, size, maker etc.)" The date data type is set in the field corresponding to the field name "application date", the numerical data type is set in the field corresponding to the field name "quantity", and the field name " In the field corresponding to "amount", it is assumed that the amount data type is set.

その後、ユーザが、表形式データ「spreadsheet001」に対応する入力画面を生成する旨の指示を入力したとする。すると、その指示が受付部17によって受け付けられ、生成部14に渡される。そして、生成部14は、入力画面を生成すると判断し、検知部12に対して、表形式データ「spreadsheet001」における帳票の領域を検知する旨の指示を渡す(ステップS101)。その指示を受け取ると、検知部12は、記憶部11で記憶されている表形式データ「spreadsheet001」にアクセスし、情報が入力されたり、罫線が設定されたりしている最小の範囲を帳票の領域として検知する。この場合には、図3で示される表形式データ「spreadsheet001」において、検知部12は、行方向は2行から20行までの範囲であり、列方向はB列からG列までの範囲である帳票の領域を検知する(ステップS102)。そして、検知部12は、その検知した領域の幅と、上下方向の長さとを示す情報を警告出力部13に渡す。それらの情報を受け取ると、警告出力部13は、検知された幅と、上下方向の長さとがそれぞれあらかじめ決められている閾値TH1,TH2以下であるかどうか判断する。この場合には、両者ともに閾値以下であったとする。すると、警告出力部13は、検知された領域があらかじめ決められた大きさ以内であると判断し、その旨を生成部14に渡す(ステップS103)。   Thereafter, it is assumed that the user inputs an instruction to generate an input screen corresponding to the tabular data “spreadsheet 001”. Then, the instruction is accepted by the acceptance unit 17 and passed to the generation unit 14. Then, the generation unit 14 determines to generate an input screen, and passes an instruction to the detection unit 12 to detect the area of the form in the tabular data “spreadsheet 001” (step S101). When the instruction is received, the detection unit 12 accesses the tabular data "spreadsheet 001" stored in the storage unit 11, and the minimum range in which information is input or a ruled line is set is the area of the form Detect as In this case, in the tabular data “spreadsheet 001” shown in FIG. 3, the detection unit 12 has a row direction ranging from 2 rows to 20 rows and a column direction ranging from B columns to G columns. The area of the form is detected (step S102). Then, the detection unit 12 passes information indicating the width of the detected area and the length in the vertical direction to the warning output unit 13. When the information is received, the warning output unit 13 determines whether the detected width and the length in the vertical direction are each equal to or less than predetermined threshold values TH1 and TH2. In this case, it is assumed that both are below the threshold. Then, the warning output unit 13 determines that the detected area is within a predetermined size, and passes that fact to the generation unit 14 (step S103).

次に、生成部14は、まず、図3で示される表形式データにおいて、文字列「物品調達依頼書」の入力されているセルB2を特定する(ステップS104)。なお、そのセルB2に対応するフィールドは存在しないため(ステップS105)、生成部14は、検知部12によって検知された帳票の領域に応じた大きさを有するブランクの入力画面の情報を生成し、表形式データにおける文字列「物品調達依頼書」に対応する入力画面の位置に、文字列「物品調達依頼書」を追加する(ステップS114)。また、その際に、生成部14は、文字列のフォントの大きさや文字の修飾(この場合には下線)については、表形式データにおける設定と同じにする。   Next, the generation unit 14 first specifies the cell B2 to which the character string "goods procurement request document" is input in the tabular data shown in FIG. 3 (step S104). Since there is no field corresponding to the cell B2 (step S105), the generation unit 14 generates blank input screen information having a size corresponding to the area of the form detected by the detection unit 12, The character string "article procurement request document" is added to the position of the input screen corresponding to the character string "article procurement request document" in the tabular data (step S114). Further, at this time, the generation unit 14 makes the font size of the character string and the character modification (underline in this case) the same as the setting in the tabular data.

次に、生成部14は、次の文字列「購入先」の入力されているセルB5を特定する(ステップS112,S104)。この場合には、その文字列に対応するフィールドであるセルB6が存在するため(ステップS105)、生成部14は、そのフィールドに設定されているデータ型「テキストデータ型」を取得し、また、そのフィールドの幅「288ピクセル」を特定する(ステップS106,S107)。そして、生成部14は、そのフィールド(属性)に対応する属性名「購入先」、データ型「テキストデータ型」、フィールドの幅「288ピクセル」に応じた、文字数であるサイズ「20」を含むデータベーススキーマのレコードを作成する(ステップS108)。なお、文字数であるサイズは、フィールドの幅であるピクセル数を14で除算し、小数点以下を切り捨てた値である。生成部14は、特定した文字列のセルB5に応じたフィールド名と、そのセルB5に対応するフィールドのセルB6に応じた入力フィールドとを入力画面の情報に追加する(ステップS109)。また、生成部14は、セルB6のフィールドに設定されたデータ型が「テキストデータ型」であるため、そのフィールドに応じた入力フィールドについては、入力補助ツールの設定は行わない(ステップS110)。   Next, the generation unit 14 identifies the cell B5 to which the next character string "purchasing party" is input (steps S112 and S104). In this case, since the cell B6 which is a field corresponding to the character string exists (step S105), the generation unit 14 acquires the data type “text data type” set in the field, and The width "288 pixels" of the field is specified (steps S106 and S107). Then, the generation unit 14 includes the size “20” which is the number of characters according to the attribute name “purchase destination” corresponding to the field (attribute), the data type “text data type”, and the field width “288 pixels”. A record of the database schema is created (step S108). The size which is the number of characters is a value obtained by dividing the number of pixels which is the width of the field by 14 and rounding off the decimal part. The generation unit 14 adds the field name corresponding to the cell B5 of the specified character string and the input field corresponding to the cell B6 of the field corresponding to the cell B5 to the information on the input screen (step S109). Further, since the data type set in the field of the cell B 6 is “text data type”, the generation unit 14 does not set the input support tool for the input field corresponding to the field (step S 110).

その後、生成部14は、他のフィールド名とフィールドとの組についても同様に、データベーススキーマの設定や、入力画面における入力フィールド等の生成等を順次行う。なお、フィールド名「申請日」に対応するフィールドのデータ型は、「日付データ型」であるため、生成部14は、それに対応する入力フィールドには、カレンダーの入力補助ツールを設定する(ステップS111)。また、フィールド名「数量」「金額」に対応するフィールドのデータ型はそれぞれ「数値データ型」「金額データ型」であるため、生成部14は、それらに対応する入力フィールドには、電卓の入力補助ツールを設定する(ステップS111)。また、フィールド名「商品名(型番)」「数量」「金額」「備考(色、サイズ、メーカー等)」については、各フィールド名に対応するフィールドが9個存在するため、生成部14は、その9個の入力フィールドをそれぞれ生成する。   Thereafter, the generation unit 14 sequentially performs setting of a database schema, generation of an input field or the like on an input screen, and the like, similarly for other sets of field names and fields. In addition, since the data type of the field corresponding to the field name "application date" is "date data type", the generation unit 14 sets the input assistance tool of the calendar in the corresponding input field (step S111). ). In addition, since the data types of the fields corresponding to the field names "quantity" and "amount" are "numerical data type" and "amount data type" respectively, the generation unit 14 inputs the calculator in the corresponding input fields. An auxiliary tool is set (step S111). In addition, for the field names “product name (model number)”, “quantity”, “amount of money”, “remarks (color, size, maker, etc.)”, there are nine fields corresponding to each field name. The nine input fields are generated respectively.

表形式データに含まれる各文字列に対応する処理が終了すると(ステップS112)、出力部15は、生成部14から入力画面とデータベーススキーマとを受け取り、入力画面記憶部16に蓄積する(ステップS113)。図4は、そのようにして蓄積された入力画面の情報が解釈、実行されて表示された入力画面の一例を示す図である。図4で示されるように、図3の表形式データから、その表形式データと同様の入力画面が自動的に生成されることになる。また、図5は、そのようにして蓄積されたデータベーススキーマの一例を示す図である。図5で示されるように、データベーススキーマには、各属性の属性名と、データ型と、サイズとが含まれている。また、図4のように表示された入力画面において、申請日に対応する入力フィールドがフォーカスされた場合、例えば、その入力フィールドがマウスポインタやタップによって選択された場合には、図6で示されるように、入力補助ツールであるカレンダーが表示される。そして、ユーザは、そのカレンダーを用いることによって、所望の日付を容易に入力することができる。また、図4のように表示された入力画面において、数量や金額に対応する入力フィールドがフォーカスされた場合には、図7で示されるように、入力補助ツールである電卓が表示される。そして、ユーザは、その電卓を用いることによって、所望の数値を容易に入力することができる。この電卓では、「=」のキーが選択された場合に、その計算結果の数値が入力されるものとする。   When the process corresponding to each character string included in the tabular data ends (step S112), the output unit 15 receives the input screen and the database schema from the generation unit 14 and stores the input screen and the database schema in the input screen storage unit 16 (step S113). ). FIG. 4 is a view showing an example of the input screen displayed by interpreting, executing, and displaying the information of the input screen accumulated in this manner. As shown in FIG. 4, an input screen similar to the tabular data is automatically generated from the tabular data of FIG. 3. FIG. 5 is a diagram showing an example of the database schema thus accumulated. As shown in FIG. 5, the database schema includes an attribute name of each attribute, a data type, and a size. Also, in the input screen displayed as shown in FIG. 4, when the input field corresponding to the application date is focused, for example, when the input field is selected by the mouse pointer or tap, it is shown in FIG. As a result, a calendar which is an input support tool is displayed. Then, the user can easily input a desired date by using the calendar. Further, in the input screen displayed as shown in FIG. 4, when the input field corresponding to the quantity and the amount of money is focused, as shown in FIG. 7, a calculator as an input auxiliary tool is displayed. Then, the user can easily input a desired numerical value by using the calculator. In this calculator, when the "=" key is selected, it is assumed that the numerical value of the calculation result is input.

なお、図3の表形式データから、図4の入力画面を生成するのは一例であり、そうでなくてもよい。例えば、図3の表形式データにおいては、フィールド名「商品名(型番)」「数量」等に対応するフィールドがそれぞれ複数存在している。したがって、生成部14は、その複数のフィールドに対応する入力フィールドを有する図4で示されるような入力画面を作成する代わりに、図8で示される、入力フィールドを追加することができる入力画面を作成してもよい。図8の入力画面では、プラス(+)のマークを選択することによって、フィールド名「商品名(型番)」「数量」等に対応する入力フィールドが追加されるようになっている。より具体的には、プラスのマークが選択されることによって、入力フィールドを追加するモジュールが起動され、入力フィールドを追加するように構造の情報とレイアウト情報とが変更されてもよい。このようにして、ユーザは、必要な範囲において入力フィールドを増やすことができる。   Note that generating the input screen of FIG. 4 from the tabular data of FIG. 3 is an example, and may not be. For example, in the tabular data shown in FIG. 3, a plurality of fields corresponding to the field names "product name (model number)", "quantity", etc. exist. Therefore, instead of creating the input screen as shown in FIG. 4 having the input fields corresponding to the plurality of fields, the generation unit 14 can input the input screen shown in FIG. 8 to which the input fields can be added. You may create it. In the input screen of FIG. 8, by selecting the plus (+) mark, input fields corresponding to the field names “product name (model number)”, “quantity” and the like are added. More specifically, by selecting the plus mark, a module for adding an input field may be activated, and the structure information and the layout information may be changed to add the input field. In this way, the user can increase the number of input fields as needed.

次に、生成部14が、通常の入力画面に加えて、モバイル機器用の入力画面をも生成する場合について説明する。その場合には、図9で示されるように、モバイル機器用の入力画面に含めるフィールド名とフィールドとをユーザがあらかじめ選択できてもよい。例えば、生成部14は、表形式データからフィールド名とフィールドとの複数の組を特定した後に、その特定した各フィールド名や各フィールドの一覧と、それらを表示するかどうかの選択結果とを表示部18に表示してもよい。その表示は、例えば、図9で示されるようなされてもよい。そして、その表示において、ユーザが、表示の欄のチェックを外すことによって、特定のフィールド名や、特定の入力フィールドが、モバイル機器用の入力画面に含まれないように設定することができる。なお、図9では、すべてのフィールド名や入力フィールドに表示の欄のチェックが入っているため、すべてのフィールド名や入力フィールドが、モバイル機器用の入力画面に表示されることになる。また、図9の表示において、ユーザが、フィールド名等の順序を入れ替えることができるようになっていてもよい。   Next, the case where the generation unit 14 also generates an input screen for a mobile device in addition to a normal input screen will be described. In that case, as shown in FIG. 9, the user may be able to select in advance field names and fields to be included in the input screen for the mobile device. For example, after identifying a plurality of pairs of field names and fields from the tabular data, the generation unit 14 displays a list of each identified field name and each field and a selection result as to whether or not to display them. You may display on the part 18. The display may be, for example, as shown in FIG. Then, in the display, the user can set that a specific field name or a specific input field is not included in the input screen for the mobile device by unchecking the display column. In FIG. 9, since all field names and input fields are checked in the display field, all field names and input fields are displayed on the input screen for the mobile device. Further, in the display of FIG. 9, the user may be able to change the order of field names and the like.

なお、図9の画面において、ユーザが「プレビュー」ボタンを選択すること、その時点の表示の設定に応じたモバイル機器用の入力画面が生成部14によって生成され、図示しない経路を介して、図10で示されるように、表示部18に表示されてもよい。そのようなプレビューの表示が行われることによって、モバイル機器用の入力画面の状況を知ることができ、それに応じて、モバイル機器用の設定を変更することもできるようになる。   In the screen of FIG. 9, the user selects the “Preview” button, and the input screen for the mobile device according to the setting of display at that time is generated by the generation unit 14 and is displayed via a route not shown. It may be displayed on the display unit 18 as indicated by 10. By displaying such a preview, it is possible to know the status of the input screen for the mobile device, and to change the setting for the mobile device accordingly.

以上のように、本実施の形態による入力画面生成装置1によれば、スプレッドシート等のアプリケーションを用いて作成された表形式データを用いて、帳票のデータの入力画面を生成できるようになる。したがって、帳票のデータの入力画面を生成するスキルのないユーザであっても、表形式データを作ることによって、それに応じた入力画面を容易に作成できるようになる。また、表形式データに設定されているデータ型に応じて、自動的に入力画面の入力フィールドにデータ型が設定されることによって、ユーザが入力画面においてそのようなデータ型の設定を手動で行う必要がなくなり、ユーザの利便性を向上させることができる。特に、入力画面等の設定を専門家でない者が行うことは困難であるが、表形式データにおいてデータ型の設定を行うことは、より容易である。したがって、このようにすることで、入力画面の入力フィールドにデータ型を設定するためのハードルを低くすることができる。また、表形式データに応じて、入力画面に対応するデータベーススキーマが自動生成されることにより、そのデータベーススキーマを手動で作成する場合と比較して、ユーザの負担を軽減することができる。また、入力画面に含まれる入力フィールドのデータ型に応じて、その入力フィールドがフォーカスされた際に出力される入力補助ツールが自動的に設定されることによって、そのような設定を手動で行う必要がなくなり、ユーザの負担が軽減されることになる。   As described above, according to the input screen generation device 1 according to the present embodiment, the input screen of form data can be generated using tabular data created using an application such as a spreadsheet. Therefore, even a user who does not have the skill of generating an input screen of form data can easily generate an input screen according to the tabular data. In addition, the user manually sets such data type on the input screen by automatically setting the data type in the input field of the input screen according to the data type set in the tabular data. There is no need for it, and the convenience of the user can be improved. In particular, it is difficult for a non-expert to perform setting of an input screen etc., but setting of data type in tabular data is easier. Therefore, by doing this, it is possible to lower the hurdles for setting the data type in the input field of the input screen. Further, the database schema corresponding to the input screen is automatically generated according to the tabular data, so that the burden on the user can be reduced as compared with the case of manually creating the database schema. In addition, in accordance with the data type of the input field included in the input screen, such a setting needs to be manually performed by automatically setting the input auxiliary tool to be output when the input field is focused. Will be eliminated and the burden on the user will be reduced.

なお、本実施の形態では、入力画面生成装置1が警告出力部13を備える場合について説明したが、そうでなくてもよい。入力画面生成装置1は、警告出力部13を備えていなくてもよい。   In addition, although the case where the input screen production | generation apparatus 1 was provided with the warning output part 13 was demonstrated in this Embodiment, it may not be so. The input screen generation device 1 may not have the warning output unit 13.

また、本実施の形態では、入力画面生成装置1が検知部12を備える場合について説明したが、そうでなくてもよい。入力画面生成装置1は、検知部12を備えていなくてもよい。入力画面生成装置1が検知部12を備えていない場合には、生成部14は、例えば、表形式データにおけるあらかじめ決められた領域に対応する入力画面を生成してもよい。   Moreover, although this embodiment demonstrated the case where the input screen production | generation apparatus 1 was provided with the detection part 12, it may not be so. The input screen generation device 1 may not have the detection unit 12. When the input screen generation device 1 does not include the detection unit 12, the generation unit 14 may generate, for example, an input screen corresponding to a predetermined area in the tabular data.

また、本実施の形態では、生成部14がデータベーススキーマも生成する場合について主に説明したが、そうでなくてもよい。生成部14は、データベーススキーマを生成しなくてもよい。また、生成部14は、入力画面の入力フィールドに対するデータ型の設定を行わなくてもよい。また、生成部14は、入力画面への入力補助ツールの設定を行わなくてもよい。   Further, in the present embodiment, the case where the generation unit 14 also generates the database schema has been mainly described, but this may not be the case. The generation unit 14 may not generate a database schema. In addition, the generation unit 14 may not set the data type for the input field of the input screen. In addition, the generation unit 14 may not perform setting of the input support tool on the input screen.

また、本実施の形態において、既存のデータベースを用いて、入力画面の入力フィールドに表示される選択肢を設定するようにしてもよい。その選択肢は、その入力フィールドへの入力のために表示されるものである。したがって、入力を行うユーザは、その選択肢の一つを選択することによって、容易に入力を行うことができるようになる。以下、その場合の構成について説明する。その場合には、生成部14は、既存のデータベースにアクセスできるものとする。そのデータベースは、入力画面生成装置1において記憶されていてもよく、または、入力画面生成装置1の外部に存在してもよい。後者の場合には、生成部14は、例えば、ネットワークを介してデータベースにアクセスしてもよい。そして、生成部14は、そのデータベースにアクセスし、入力画面に含まれるフィールド名に対応するフィールドが、そのデータベースに存在するかどうか確認する。その確認は、例えば、入力フィールドに対応するフィールド名と部分一致するフィールド名の設定されているフィールドが、そのデータベースに存在するかどうか判断することによって行われてもよい。例えば、入力画面に含まれるフィールド名が「氏名」である場合に、データベースに、フィールド名「氏名」や「従業員氏名」「ユーザ氏名」などのフィールド名の設定されているフィールドが存在する場合には、生成部14は、入力画面に含まれるフィールド名に対応するフィールドが、そのデータベースに存在すると判断してもよい。また、部分一致ではなく、完全一致するフィールド名の設定されているフィールドが検索されてもよい。また、入力画面に含まれるフィールド名に対応する、データベースに存在するフィールドは、ユーザによって手動で指定されてもよい。そのような手動の指定がなされた場合にも、生成部14は、入力画面に含まれるフィールド名に対応するフィールドが、そのデータベースに存在すると判断してもよい。   Further, in the present embodiment, an option to be displayed in the input field of the input screen may be set using an existing database. The option is to be displayed for input to the input field. Therefore, a user who makes an input can easily make an input by selecting one of the options. The configuration in that case will be described below. In that case, the generation unit 14 can access an existing database. The database may be stored in the input screen generation device 1 or may exist outside the input screen generation device 1. In the latter case, the generation unit 14 may access, for example, a database via a network. Then, the generation unit 14 accesses the database, and confirms whether or not the field corresponding to the field name included in the input screen exists in the database. The confirmation may be performed, for example, by determining whether a field having a field name partially matching the field name corresponding to the input field is present in the database. For example, when the field name included in the input screen is "name", a field in which field names such as field name "name", "employee name" and "user name" are set exists in the database The generation unit 14 may determine that a field corresponding to the field name included in the input screen is present in the database. Also, a field in which a field name that is not a partial match but a complete match may be set may be searched. Also, fields present in the database corresponding to field names included in the input screen may be manually specified by the user. Even when such a manual specification is made, the generation unit 14 may determine that the field corresponding to the field name included in the input screen exists in the database.

そして、そのようなフィールドがデータベースに存在する場合には、生成部14は、入力画面において、そのフィールド名に対応する入力フィールドに、データベースに存在する、そのフィールド名に対応するフィールドの各情報が入力のための選択肢として表示されるように設定してもよい。選択肢としての表示は、例えば、プルダウンメニューなどのセレクトボックスによってなされてもよく、選択肢のその他の表示方法によって行われてもよい。また、生成部14は、各選択肢を、既存のデータベースから読み出して入力画面の入力フィールドに設定してもよく、または、既存のデータベースのフィールドと、入力画面の入力フィールドとの対応付けのみを行ってもよい。後者の場合には、入力画面の選択肢が表示される際に、既存のデータベースの対応するフィールドから各情報が読み出されて入力フィールドに選択肢として表示されてもよい。そのようにすることによって、既存のデータベースの内容が変更された場合には、入力画面の入力フィールドに選択肢として表示される情報も自動的に変更されることになる。例えば、生成部14が、図11で示される人事データベースにアクセス可能である場合には、上記具体例において説明した入力画面を生成する際に、生成部14は、フィールド名「氏名」が、人事データベースにおけるフィールド名「従業員氏名」に部分一致するため、入力画面におけるフィールド名「氏名」の入力フィールドに、人事データベースにおけるフィールド名「従業員氏名」のフィールドが対応していると判断し、入力画面におけるフィールド名「氏名」の入力フィールドに、人事データベースにおけるフィールド名「従業員氏名」のフィールドの各情報「山田太郎」「鈴木次郎」「田中三郎」…がプルダウンメニューで表示されるように設定してもよい。そのような設定の行われた入力画面では、フィールド名「氏名」に対応する入力フィールドをユーザが指定した場合に、例えば、図12で示されるように、人事データベースに含まれている各情報が選択肢として表示されることになり、ユーザがその選択肢のいずれかを選択することによって、容易に入力フィールドへの情報の入力を行うことができるようになる。なお、氏名以外の入力フィールド、例えば、部署や役職等の入力フィールドについても、同様の処理を行うことができる。また、既存のデータベースのあるフィールドから取得した各情報に重複が存在する場合(例えば、図11の部署情報のフィールドから各情報を取得した場合など)には、ユニーク処理を行ってから選択肢としても表示を行うようにしてもよい。   Then, when such a field exists in the database, the generation unit 14 causes the input screen to display, in the input field corresponding to the field name, each information of the field corresponding to the field name existing in the database. It may be set to be displayed as an option for input. The display as an option may be performed by, for example, a select box such as a pull-down menu, or may be performed by another display method of the option. In addition, the generation unit 14 may read out each option from the existing database and set it in the input field of the input screen, or only associates the field of the existing database with the input field of the input screen. May be In the latter case, when the option on the input screen is displayed, each piece of information may be read out from the corresponding field of the existing database and displayed as the option in the input field. By doing so, when the content of the existing database is changed, the information displayed as a choice in the input field of the input screen is also automatically changed. For example, when the generation unit 14 can access the personnel database shown in FIG. 11, the generation unit 14 generates the input screen described in the above specific example, the field name "name" indicates In order to partially match the field name "Employee Name" in the database, it is determined that the field name "Employee Name" in the personnel database corresponds to the input field of the field name "Name" on the entry screen, Set each information "Yamada Taro", "Suzuki Jiro", "Saburo Tanaka", ... in the field of the field name "Employee Name" in the personnel database to be displayed in the pull-down menu in the input field of the field name "Name" on the screen You may In the input screen on which such settings have been made, when the user designates an input field corresponding to the field name "name", for example, as shown in FIG. It will be displayed as an option, and the user can easily input information into the input field by selecting one of the options. The same processing can be performed for input fields other than names, for example, input fields such as department and post. In addition, when duplication exists in each information acquired from a certain field of the existing database (for example, when each information is acquired from the field of the department information in FIG. 11), unique processing is performed and then it is also regarded as an option. You may make it display.

また、上記実施の形態では、入力画面生成装置1がスタンドアロンである場合について説明したが、入力画面生成装置1は、スタンドアロンの装置であってもよく、サーバ・クライアントシステムにおけるサーバ装置であってもよい。後者の場合には、出力部や受付部は、通信回線を介して入力を受け付けたり、情報を出力したりしてもよい。   In the above embodiment, the case where the input screen generation device 1 is a stand-alone is described. However, the input screen generation device 1 may be a stand-alone device or a server device in a server / client system. Good. In the latter case, the output unit or the reception unit may receive an input or output information via a communication line.

また、上記実施の形態において、各処理または各機能は、単一の装置または単一のシステムによって集中処理されることによって実現されてもよく、または、複数の装置または複数のシステムによって分散処理されることによって実現されてもよい。   Also, in the above embodiment, each processing or each function may be realized by centralized processing by a single device or a single system, or distributed processing by a plurality of devices or a plurality of systems. It may be realized by

また、上記実施の形態において、各構成要素間で行われる情報の受け渡しは、例えば、その情報の受け渡しを行う2個の構成要素が物理的に異なるものである場合には、一方の構成要素による情報の出力と、他方の構成要素による情報の受け付けとによって行われてもよく、または、その情報の受け渡しを行う2個の構成要素が物理的に同じものである場合には、一方の構成要素に対応する処理のフェーズから、他方の構成要素に対応する処理のフェーズに移ることによって行われてもよい。   Further, in the above embodiment, the transfer of information performed between the components is performed by, for example, one of the components if the two components performing the transfer of information are physically different. It may be performed by the output of the information and the reception of the information by the other component, or if the two components that exchange the information are physically the same, one of the components It may be performed by moving from the phase of processing corresponding to to the phase of processing corresponding to the other component.

また、上記実施の形態において、各構成要素が実行する処理に関係する情報、例えば、各構成要素が受け付けたり、取得したり、選択したり、生成したり、送信したり、受信したりした情報や、各構成要素が処理で用いる閾値や数式、アドレス等の情報等は、上記説明で明記していなくても、図示しない記録媒体において、一時的に、または長期にわたって保持されていてもよい。また、その図示しない記録媒体への情報の蓄積を、各構成要素、または、図示しない蓄積部が行ってもよい。また、その図示しない記録媒体からの情報の読み出しを、各構成要素、または、図示しない読み出し部が行ってもよい。   Further, in the above embodiment, information related to processing executed by each component, for example, information received, acquired, selected, generated, transmitted, or received by each component Also, information such as threshold values, mathematical expressions, addresses and the like used by each component in processing may be held temporarily or for a long time in a recording medium (not shown), even if not specified in the above description. Further, each component or a storage unit (not shown) may store information in the recording medium (not shown). Each component or a reading unit (not shown) may read information from the recording medium (not shown).

また、上記実施の形態において、各構成要素等で用いられる情報、例えば、各構成要素が処理で用いる閾値やアドレス、各種の設定値等の情報がユーザによって変更されてもよい場合には、上記説明で明記していなくても、ユーザが適宜、それらの情報を変更できるようにしてもよく、または、そうでなくてもよい。それらの情報をユーザが変更可能な場合には、その変更は、例えば、ユーザからの変更指示を受け付ける図示しない受付部と、その変更指示に応じて情報を変更する図示しない変更部とによって実現されてもよい。その図示しない受付部による変更指示の受け付けは、例えば、入力デバイスからの受け付けでもよく、通信回線を介して送信された情報の受信でもよく、所定の記録媒体から読み出された情報の受け付けでもよい。   Further, in the above embodiment, when the information used in each component or the like, for example, information such as a threshold or an address used in processing by each component or various setting values may be changed by the user, Although not explicitly stated in the description, the user may or may not be able to change the information as appropriate. When the user can change such information, the change is realized, for example, by a receiving unit (not shown) that receives a change instruction from the user and a change unit (not shown) that changes the information according to the change instruction. May be The acceptance of the change instruction by the acceptance unit (not shown) may be, for example, acceptance from an input device, reception of information transmitted via a communication line, or acceptance of information read from a predetermined recording medium .

また、上記実施の形態において、入力画面生成装置1に含まれる2以上の構成要素が通信デバイスや入力デバイス等を有する場合に、2以上の構成要素が物理的に単一のデバイスを有してもよく、または、別々のデバイスを有してもよい。   In the above embodiment, when two or more components included in the input screen generation device 1 have a communication device, an input device, etc., the two or more components physically have a single device. It may also have separate devices.

また、上記実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、または、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現されうる。その実行時に、プログラム実行部は、記憶部や記録媒体にアクセスしながらプログラムを実行してもよい。なお、上記実施の形態における入力画面生成装置1を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、複数のセルにそれぞれ設定されたフィールドとフィールドのフィールド名との組を1以上有する帳票の表形式のデータである表形式データが記憶される記憶部にアクセス可能なコンピュータを、表形式データを用いて、入力フィールドと、入力フィールドのフィールド名とを有する帳票の入力画面を生成する生成部、生成部によって生成された入力画面を出力する出力部として機能させるためのプログラムである。   Further, in the above embodiment, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. At the time of the execution, the program execution unit may execute the program while accessing the storage unit or the recording medium. In addition, the software which implement | achieves the input screen production | generation apparatus 1 in the said embodiment is the following programs. In other words, this program can access a storage unit in which tabular data, which is tabular data of a form having one or more pairs of fields and field names of fields respectively set in a plurality of cells, is accessible. A program for generating an input screen of a form having an input field and a field name of the input field using tabular data, and a program for functioning as an output unit for outputting the input screen generated by the generator is there.

なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を受け付ける受付部や、情報を出力する出力部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には少なくとも含まれない。   In the above program, the function realized by the program does not include the function that can be realized only by hardware. For example, functions that can be realized only by hardware such as a modem or an interface card in an acceptance unit that receives information, an output unit that outputs information, etc. are not at least included in the functions realized by the program.

また、このプログラムは、サーバなどからダウンロードされることによって実行されてもよく、所定の記録媒体(例えば、CD−ROMなどの光ディスクや磁気ディスク、半導体メモリなど)に記録されたプログラムが読み出されることによって実行されてもよい。また、このプログラムは、プログラムプロダクトを構成するプログラムとして用いられてもよい。   In addition, this program may be executed by being downloaded from a server or the like, and the program recorded on a predetermined recording medium (for example, an optical disk such as a CD-ROM, a magnetic disk, a semiconductor memory, etc.) is read. May be performed by Also, this program may be used as a program that constitutes a program product.

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、または分散処理を行ってもよい。   Moreover, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

図13は、上記プログラムを実行して、上記実施の形態による入力画面生成装置1を実現するコンピュータの外観の一例を示す模式図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。   FIG. 13 is a schematic view showing an example of the appearance of a computer that implements the above-described program to realize the input screen generation device 1 according to the above-described embodiment. The above embodiments can be realized by computer hardware and a computer program executed thereon.

図13において、コンピュータシステム900は、CD−ROMドライブ905を含むコンピュータ901と、キーボード902と、マウス903と、モニタ904とを備える。   In FIG. 13, a computer system 900 includes a computer 901 including a CD-ROM drive 905, a keyboard 902, a mouse 903 and a monitor 904.

図14は、コンピュータシステム900の内部構成を示す図である。図14において、コンピュータ901は、CD−ROMドライブ905に加えて、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM913と、アプリケーションプログラム、システムプログラム、及びデータを記憶するハードディスク914と、MPU911、ROM912等を相互に接続するバス915とを備える。なお、コンピュータ901は、LANやWAN等への接続を提供する図示しないネットワークカードを含んでいてもよい。   FIG. 14 shows an internal configuration of computer system 900. Referring to FIG. 14, in addition to the CD-ROM drive 905, the computer 901 is connected to an MPU (Micro Processing Unit) 911, a ROM 912 for storing a program such as a boot-up program, and the MPU 911 to execute application program instructions. A RAM 913 for temporarily storing and providing a temporary storage space, a hard disk 914 for storing an application program, a system program, and data, and a bus 915 interconnecting the MPU 911, the ROM 912, and the like are provided. The computer 901 may include a network card (not shown) that provides connection to a LAN, a WAN, or the like.

コンピュータシステム900に、上記実施の形態による入力画面生成装置1の機能を実行させるプログラムは、CD−ROM921に記憶されて、CD−ROMドライブ905に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、CD−ROM921、またはネットワークから直接、ロードされてもよい。また、CD−ROM921に代えて他の記録媒体(例えば、DVD等)を介して、プログラムがコンピュータシステム900に読み込まれてもよい。   The program that causes the computer system 900 to execute the function of the input screen generation device 1 according to the above embodiment may be stored in the CD-ROM 921, inserted into the CD-ROM drive 905, and transferred to the hard disk 914. Alternatively, the program may be transmitted to the computer 901 via a network (not shown) and stored in the hard disk 914. The program is loaded into the RAM 913 upon execution. The program may be loaded directly from the CD-ROM 921 or from the network. Also, the program may be read into the computer system 900 via another recording medium (for example, a DVD) instead of the CD-ROM 921.

プログラムは、コンピュータ901に、上記実施の形態による入力画面生成装置1の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能やモジュールを呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。   The program may not necessarily include the operating system (OS) that causes the computer 901 to execute the function of the input screen generation device 1 according to the above embodiment, a third party program, and the like. The program may include only portions of instructions that invoke appropriate functions or modules in a controlled manner to achieve a desired result. It is well known how computer system 900 operates, and detailed description is omitted.

また、本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   Further, it is needless to say that the present invention is not limited to the above embodiments, and various modifications are possible, which are also included in the scope of the present invention.

以上より、本発明による入力画面生成装置等によれば、表形式データに応じた入力画面を容易に生成できるという効果が得られ、帳票の入力画面を生成する入力画面生成装置等として有用である。   As described above, according to the input screen generation device and the like according to the present invention, an effect that it is possible to easily generate an input screen according to tabular data is obtained, and it is useful as an input screen generation device and the like for generating a form input screen. .

1 入力画面生成装置
11 記憶部
12 検知部
13 警告出力部
14 生成部
15 出力部
16 入力画面記憶部
17 受付部
18 表示部
Reference Signs List 1 input screen generation device 11 storage unit 12 detection unit 13 warning output unit 14 generation unit 15 output unit 16 input screen storage unit 17 reception unit 18 display unit

Claims (15)

複数のセルにそれぞれ設定されたフィールドと当該フィールドのフィールド名との組を1以上有する帳票の表形式のデータである表形式データが記憶される記憶部と、
前記表形式データを用いて、入力フィールドと、当該入力フィールドのフィールド名とを有する帳票の入力画面を生成する生成部と、
前記生成部によって生成された入力画面を出力する出力部と、を備えた入力画面生成装置。
A storage unit storing tabular data, which is tabular data of a form having one or more pairs of fields respectively set in a plurality of cells and field names of the fields;
A generation unit that generates an input screen of a form having an input field and a field name of the input field using the tabular data;
An output unit configured to output an input screen generated by the generation unit;
前記表形式データのフィールドには、データ型も設定されており、
前記生成部は、入力画面に含まれる入力フィールドのデータ型を、当該入力フィールドに対応する表形式データのフィールドに設定されているデータ型に設定する、請求項1記載の入力画面生成装置。
Data types are also set in the fields of the tabular data,
The input screen generation device according to claim 1, wherein the generation unit sets a data type of the input field included in the input screen to a data type set in a field of tabular data corresponding to the input field.
前記生成部は、入力画面の各入力フィールドに対応するデータベーススキーマを、当該入力フィールドに対応する表形式データにおけるフィールド及びフィールド名の少なくとも一方を用いて生成し、
前記出力部は、前記生成部によって生成されたデータベーススキーマを蓄積する、請求項1または請求項2記載の入力画面生成装置。
The generation unit generates a database schema corresponding to each input field of the input screen using at least one of a field and a field name in tabular data corresponding to the input field.
The input screen generation device according to claim 1, wherein the output unit accumulates the database schema generated by the generation unit.
前記生成部は、データベーススキーマにおいて、入力フィールドに対応するサイズを、当該入力フィールドに対応する表形式データにおけるフィールドの長さに応じて設定する、請求項3記載の入力画面生成装置。 The input screen generation device according to claim 3, wherein the generation unit sets a size corresponding to an input field in a database schema in accordance with a length of a field in tabular data corresponding to the input field. 前記生成部は、入力画面に含まれる入力フィールドのデータ型に応じて、当該入力フィールドがフォーカスされたときに出力される入力補助ツールを設定する、請求項2記載の入力画面生成装置。 The input screen generation device according to claim 2, wherein the generation unit sets an input support tool to be output when the input field is focused according to a data type of the input field included in the input screen. 前記生成部は、入力画面に含まれる入力フィールドのデータ型が日付データ型である場合には、カレンダーの入力補助ツールを設定する、請求項5記載の入力画面生成装置。 The input screen generation device according to claim 5, wherein, when the data type of the input field included in the input screen is a date data type, the generation unit sets an input auxiliary tool of a calendar. 前記生成部は、入力画面に含まれる入力フィールドのデータ型が金額データ型または数値データ型である場合には、テンキーの入力補助ツールを設定する、請求項5または請求項6記載の入力画面生成装置。 The input screen generation according to claim 5 or 6, wherein the generation unit sets an input auxiliary tool of a ten key when the data type of the input field included in the input screen is a money amount data type or a numeric data type. apparatus. 前記表形式データにおける帳票の領域を検知する検知部をさらに備え、
前記生成部は、前記検知部によって検知された帳票の領域に対応する入力画面を生成する、請求項1から請求項7のいずれか記載の入力画面生成装置。
It further comprises a detection unit for detecting an area of a form in the tabular data;
The input screen generation device according to any one of claims 1 to 7, wherein the generation unit generates an input screen corresponding to the area of the form detected by the detection unit.
前記検知部によって検知された帳票の領域があらかじめ決められた大きさを超えている場合に、警告を出力する警告出力部をさらに備えた、請求項8記載の入力画面生成装置。 9. The input screen generation device according to claim 8, further comprising a warning output unit that outputs a warning when the area of the form detected by the detection unit exceeds a predetermined size. 前記検知部は、前記表形式データに含まれる、情報が入力されているセルのうち、あらかじめ決められた条件を満たすセルは帳票の領域に含めない、請求項8または請求項9記載の入力画面生成装置。 10. The input screen according to claim 8, wherein the detection unit does not include cells which satisfy a predetermined condition among cells in which information is input, which are included in the tabular data, in a form area. Generator. 前記生成部は、前記表形式データのレイアウトに応じた入力画面を生成する、請求項1から請求項10のいずれか記載の入力画面生成装置。 The input screen generation device according to any one of claims 1 to 10, wherein the generation unit generates an input screen according to a layout of the tabular data. 前記生成部は、前記表形式データのレイアウトと関係しない、モバイル機器用の入力画面をも生成する、請求項11記載の入力画面生成装置。 The input screen generation device according to claim 11, wherein the generation unit also generates an input screen for a mobile device that is not related to the layout of the tabular data. 前記生成部は、データベースにアクセスし、入力画面に含まれるフィールド名に対応するフィールドが前記データベースに存在する場合に、入力画面において、当該フィールド名に対応する入力フィールドに、当該データベースに存在する前記フィールドの各情報が入力のための選択肢として表示されるように設定する、請求項1から請求項12のいずれか記載の入力画面生成装置。 The generation unit accesses the database, and when the field corresponding to the field name included in the input screen is present in the database, the generation section is included in the input field corresponding to the field name in the input screen. The input screen generation device according to any one of claims 1 to 12, wherein information of each field is set to be displayed as a choice for input. 複数のセルにそれぞれ設定されたフィールドと当該フィールドのフィールド名との組を1以上有する帳票の表形式のデータである表形式データが記憶される記憶部と、生成部と、出力部とを用いて処理される入力画面精製方法であって、
前記生成部が、前記表形式データを用いて、入力フィールドと、当該入力フィールドのフィールド名とを有する帳票の入力画面を生成する生成ステップと、
前記出力部が、前記生成ステップにおいて生成された入力画面を出力する出力ステップと、を備えた入力画面生成方法。
A storage unit storing tabular data, which is tabular data of a form having one or more fields each set to a plurality of cells and the field name of the field, a generation unit, and an output unit Screen refining method to be processed,
A generation step of generating the input screen of a form having the input field and the field name of the input field using the tabular data;
And an output step of outputting the input screen generated in the generation step.
複数のセルにそれぞれ設定されたフィールドと当該フィールドのフィールド名との組を1以上有する帳票の表形式のデータである表形式データが記憶される記憶部にアクセス可能なコンピュータを、
前記表形式データを用いて、入力フィールドと、当該入力フィールドのフィールド名とを有する帳票の入力画面を生成する生成部、
前記生成部によって生成された入力画面を出力する出力部として機能させるためのプログラム。
A computer capable of accessing a storage unit in which tabular data, which is tabular data of a form having one or more pairs of fields respectively set in a plurality of cells and field names of the fields,
A generation unit that generates an input screen of a form having an input field and a field name of the input field using the tabular data;
The program for functioning as an output part which outputs the input screen produced | generated by the said production | generation part.
JP2017221652A 2017-11-17 2017-11-17 Input screen generator, input screen generation method, and program Active JP6951207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017221652A JP6951207B2 (en) 2017-11-17 2017-11-17 Input screen generator, input screen generation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017221652A JP6951207B2 (en) 2017-11-17 2017-11-17 Input screen generator, input screen generation method, and program

Publications (2)

Publication Number Publication Date
JP2019091383A true JP2019091383A (en) 2019-06-13
JP6951207B2 JP6951207B2 (en) 2021-10-20

Family

ID=66836522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017221652A Active JP6951207B2 (en) 2017-11-17 2017-11-17 Input screen generator, input screen generation method, and program

Country Status (1)

Country Link
JP (1) JP6951207B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113435161A (en) * 2020-03-23 2021-09-24 株式会社理光 Italic character generation module and generation method
JP7411766B2 (en) 2022-01-31 2024-01-11 株式会社オービック Setting work support device, setting work support method, and setting work support program

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002109448A (en) * 2000-09-28 2002-04-12 Toshiba Corp Business form processing device, business form processing method and storage medium
JP2003216629A (en) * 1992-06-15 2003-07-31 Fuji Xerox Co Ltd Database retrieval device, and database display device and method
JP2005038404A (en) * 2003-07-03 2005-02-10 Information Services International Dentsu Ltd Data mapping device, data mapping method and program
JP2005242516A (en) * 2004-02-25 2005-09-08 Nomura Research Institute Ltd System and program for data integration management
JP2007242047A (en) * 2007-05-07 2007-09-20 Canon Inc Device and method for creating business form and storage medium
JP2015146186A (en) * 2015-02-13 2015-08-13 株式会社じぶん銀行 Apparatus to be used in system compatible with multi-device, method to be executed in the same, and program
JP2016091244A (en) * 2014-10-31 2016-05-23 富士通エフ・アイ・ピー株式会社 Information processing device and program
JP2016162190A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Information processing system, server device, control method and program
JP2016218872A (en) * 2015-05-22 2016-12-22 キョードー・システムズ株式会社 Screen creation device for client terminal, and data collection/inquiry system using the same
JP2017120608A (en) * 2015-12-25 2017-07-06 株式会社日本デジタル研究所 Input interface control system, method, and program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003216629A (en) * 1992-06-15 2003-07-31 Fuji Xerox Co Ltd Database retrieval device, and database display device and method
JP2002109448A (en) * 2000-09-28 2002-04-12 Toshiba Corp Business form processing device, business form processing method and storage medium
JP2005038404A (en) * 2003-07-03 2005-02-10 Information Services International Dentsu Ltd Data mapping device, data mapping method and program
JP2005242516A (en) * 2004-02-25 2005-09-08 Nomura Research Institute Ltd System and program for data integration management
JP2007242047A (en) * 2007-05-07 2007-09-20 Canon Inc Device and method for creating business form and storage medium
JP2016091244A (en) * 2014-10-31 2016-05-23 富士通エフ・アイ・ピー株式会社 Information processing device and program
JP2015146186A (en) * 2015-02-13 2015-08-13 株式会社じぶん銀行 Apparatus to be used in system compatible with multi-device, method to be executed in the same, and program
JP2016162190A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Information processing system, server device, control method and program
JP2016218872A (en) * 2015-05-22 2016-12-22 キョードー・システムズ株式会社 Screen creation device for client terminal, and data collection/inquiry system using the same
JP2017120608A (en) * 2015-12-25 2017-07-06 株式会社日本デジタル研究所 Input interface control system, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113435161A (en) * 2020-03-23 2021-09-24 株式会社理光 Italic character generation module and generation method
JP7411766B2 (en) 2022-01-31 2024-01-11 株式会社オービック Setting work support device, setting work support method, and setting work support program

Also Published As

Publication number Publication date
JP6951207B2 (en) 2021-10-20

Similar Documents

Publication Publication Date Title
JP5484645B1 (en) Server, terminal, service method, and program
JP2014510963A (en) Associating captured image data with a spreadsheet
JP2016091244A (en) Information processing device and program
JPWO2017094169A1 (en) Information processing apparatus, information processing method, program, and storage medium
TW201222456A (en) Social network for traders of stocks and other securities
JP6951207B2 (en) Input screen generator, input screen generation method, and program
TWI569157B (en) Information processing device, information processing method, memory media
JP2010179521A (en) Label printer and information processing apparatus
US11403458B2 (en) Information processing system, information processing device, information processing method, recording medium, and program
JP5064791B2 (en) Form data search device, form data search method and program
JP2006350834A (en) Information input device and method
US7873912B1 (en) Process and system for providing a reduced set of fields associated with a report layout
JP6320901B2 (en) Data linkage support system and data linkage support method
JP5081889B2 (en) Input support device, input support method, and input support program
JP2017228081A (en) User information input assistance system
JP4719819B1 (en) Automatic form layout system
JP2010026750A (en) Automatic definition system for data retrieval item information in electronic business form system
JP7108339B1 (en) Information processing method, information processing device, information processing program, and recording medium
JP2012088928A (en) Personal information management system and personal information management program
US9116863B1 (en) Systems and methods for assembling documents
JP6505154B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
JP2018147362A (en) Advertisement creation apparatus and program
JP2009230450A (en) Document attribute information register and program
JP2009104548A (en) Document retrieval device and document retrieval support method
WO2017057451A1 (en) Database interface provision program, database interface provision method, and database interface provision device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210309

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210506

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210713

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210924

R150 Certificate of patent or registration of utility model

Ref document number: 6951207

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150