JP2015082117A - Table information processor, table information processing method, and program - Google Patents

Table information processor, table information processing method, and program Download PDF

Info

Publication number
JP2015082117A
JP2015082117A JP2013218038A JP2013218038A JP2015082117A JP 2015082117 A JP2015082117 A JP 2015082117A JP 2013218038 A JP2013218038 A JP 2013218038A JP 2013218038 A JP2013218038 A JP 2013218038A JP 2015082117 A JP2015082117 A JP 2015082117A
Authority
JP
Japan
Prior art keywords
attribute
information
pivot
view
identifiers
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
JP2013218038A
Other languages
Japanese (ja)
Other versions
JP6186242B2 (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 JP2013218038A priority Critical patent/JP6186242B2/en
Publication of JP2015082117A publication Critical patent/JP2015082117A/en
Application granted granted Critical
Publication of JP6186242B2 publication Critical patent/JP6186242B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that it is difficult to obtain an appropriate pivot table and a pivot graph when the pivot table and the pivot graph are created from a table.SOLUTION: A pivot table can be simply created by a table information processor equipped with: a table storage section which can store a table; a pivot information storage section which preliminarily stores pivot information having one or more axial attribute identifiers for identifying an axial attribute which is an attribute to be an axis for creating a pivot table among one or more attribute identifiers, and one or more tabulation attribute identifiers for identifying a tabulation attribute which is an attribute of an object for tabulating attribute values among the one or more attribute identifiers; an acceptance section which accepts an information analysis instruction which is an instruction for creating the pivot table; an information analysis section which creates the pivot table using one or more records and the one or more attribute identifiers of the table by using the attribute to be identified by the one or more axial attribute identifiers as the axis, and using the attribute to be identified by the one or more tabulation attribute identifiers as the attribute of a tabulation object; and an output section which outputs the pivot table created by the information analysis section.

Description

本発明は、表の情報を処理する表情報処理装置等に関するものである。   The present invention relates to a table information processing apparatus or the like that processes table information.

従来、ユーザが、表示さている表に対して、集計属性や軸属性を指定することにより、ピボット表を得る技術が存在した(例えば、非特許文献1参照)。   Conventionally, there has been a technique in which a user obtains a pivot table by specifying a tabulation attribute and an axis attribute for a displayed table (see, for example, Non-Patent Document 1).

マイクロソフト Office 公式HP、[平成25年9月22日検索]、インターネット[URL:http://office.microsoft.com/ja-jp/excel/]Microsoft Office Official HP, [Search September 22, 2013], Internet [URL: http://office.microsoft.com/en-us/excel/]

しかしながら、従来の技術においては、表からピボット表やピボットグラフを作成する場合、操作が面倒であったり、適切なピボット表やピボットグラフを得ることが難しかった。   However, in the prior art, when creating a pivot table or a pivot graph from a table, the operation is troublesome or it is difficult to obtain an appropriate pivot table or pivot graph.

本第一の発明の表情報処理装置は、表を構成する属性を識別する1以上の属性識別子を有するスキーマ情報と、表の1以上のレコードとを格納し得る表格納部と、1以上の属性識別子のうち、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である軸属性を識別する1以上の軸属性識別子、および1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する1以上の集計属性識別子を有するピボット情報を、予め格納しているピボット情報格納部と、表を用いた分析結果情報を作成する指示である情報分析指示を受け付ける受付部と、受付部が情報分析指示を受け付けた場合に、1以上の軸属性識別子で識別される属性を軸とし、1以上の集計属性識別子で識別される属性を集計対象の属性として、表の1以上のレコードおよび1以上の属性識別子を用いた分析結果情報を作成する情報分析部と、情報分析部が作成した分析結果情報を出力する出力部とを具備する表情報処理装置である。   The table information processing apparatus according to the first aspect of the present invention includes a table storage unit capable of storing schema information having one or more attribute identifiers for identifying attributes constituting a table, and one or more records of the table, and one or more Among the attribute identifiers, one or more axis attribute identifiers that identify axis attributes that serve as axes for creating analysis result information that is a pivot table or a pivot graph, and attribute values of one or more attribute identifiers Information analysis that is an instruction to create analysis result information using a pivot information storage unit that stores in advance pivot information having one or more aggregation attribute identifiers that identify an aggregation attribute that is an attribute to be aggregated, and a table When the receiving unit receives an instruction and the receiving unit receives an information analysis instruction, the attribute identified by the one or more axis attribute identifiers is used as an axis, and the attribute identified by the one or more total attribute identifiers is aggregated. Information including an information analysis unit that creates analysis result information using one or more records and one or more attribute identifiers as attributes of the table, and an output unit that outputs the analysis result information created by the information analysis unit It is a processing device.

かかる構成により、表からピボット表やピボットグラフを簡単に作成できる。   With this configuration, it is possible to easily create a pivot table or a pivot graph from the table.

また、本第二の発明の表情報処理装置は、第一の発明に対して、表から構成されるビューの属性を識別する1以上のビュー属性識別子を有するビュースキーマ情報と、ビューを構成するレコードを特定する情報である1以上のビューレコードとを格納し得るビュー格納部と、1以上のビュー属性識別子のうち、軸属性を特定する情報である1以上のビュー軸属性識別子、および集計属性を特定する情報である1以上のビュー集計属性識別子を有するビューピボット情報を格納し得るビューピボット情報格納部とをさらに具備し、受付部は、ビューを用いた分析結果情報を作成する指示である情報分析指示を受け付け、情報分析部は、受付部が情報分析指示を受け付けた場合に、1以上のビュー軸属性識別子で識別される属性を軸とし、1以上のビュー集計属性識別子で識別される属性を集計対象の属性として、ビューの1以上のビューレコードおよび1以上のビュー属性識別子を用いた分析結果情報を作成する表情報処理装置である。   Further, the table information processing apparatus according to the second aspect of the invention constitutes a view and view schema information having one or more view attribute identifiers for identifying attributes of a view constituted by a table, with respect to the first invention. A view storage unit that can store one or more view records that are information for specifying a record, one or more view axis attribute identifiers that are information for specifying an axis attribute among one or more view attribute identifiers, and a total attribute And a view pivot information storage unit that can store view pivot information having one or more view aggregation attribute identifiers that are information for identifying the information, and the reception unit is an instruction to create analysis result information using the view An information analysis instruction is received, and the information analysis unit uses the attribute identified by one or more view axis attribute identifiers as an axis when the reception unit receives the information analysis instruction. The attribute identified by the view aggregate attribute identifier as an attribute aggregation target, a table information processing apparatus for creating an analysis result information using one or more view record and one or more views attribute identifier of the view.

かかる構成により、ビューからピボット表やピボットグラフを簡単に作成できる。   With this configuration, it is possible to easily create a pivot table or a pivot graph from a view.

また、本第三の発明の表情報処理装置は、第一または第二の発明に対して、ビュー軸属性識別子で識別されるビュー軸属性または軸属性となり得る属性値を識別する1以上の軸属性候補識別子、またはビュー集計属性識別子で識別されるビュー集計属性または集計属性となり得る属性値を識別する1以上の集計属性候補識別子、または1以上の軸属性候補識別子と1以上の集計属性候補識別子を格納し得る候補識別子格納部をさらに具備し、受付部は、1以上の軸属性候補識別子、または1以上の軸属性候補識別子、または1以上の軸属性候補識別子と1以上の集計属性候補識別子から、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を選択する指示である選択指示をも受け付け、受付部が受け付けた選択指示に応じて、ピボット情報格納部、またはビューピボット情報格納部に、選択指示に対応する、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を蓄積する蓄積部をさらに具備する表情報処理装置である。   Further, the table information processing apparatus according to the third aspect of the present invention provides one or more axes that identify a view axis attribute identified by a view axis attribute identifier or an attribute value that can be an axis attribute, relative to the first or second invention. One or more aggregate attribute candidate identifiers that identify attribute candidate identifiers or view aggregate attributes or attribute values that can be aggregate attributes identified by view aggregate attribute identifiers, or one or more axis attribute candidate identifiers and one or more aggregate attribute candidate identifiers The candidate identifier storage unit may further store one or more axis attribute candidate identifiers, or one or more axis attribute candidate identifiers, or one or more axis attribute candidate identifiers and one or more aggregate attribute candidate identifiers. From one or more axis attribute identifiers, or one or more aggregate attribute identifiers, or one or more axis attribute identifiers and one or more aggregate attribute identifiers, or one or more view axis attribute identifiers, Alternatively, a selection instruction that is an instruction to select one or more view aggregation attribute identifiers or one or more view axis attribute identifiers and one or more view aggregation attribute identifiers is received, and a pivot is performed according to the selection instruction received by the reception unit. In the information storage unit or the view pivot information storage unit, one or more axis attribute identifiers or one or more aggregate attribute identifiers, or one or more axis attribute identifiers and one or more aggregate attribute identifiers corresponding to the selection instruction, or 1 The table information processing apparatus further includes a storage unit that stores the above view axis attribute identifiers, or one or more view aggregation attribute identifiers, or one or more view axis attribute identifiers and one or more view aggregation attribute identifiers.

かかる構成により、表やビューから、ユーザが所望するピボット表やピボットグラフを簡単に作成できる。   With this configuration, it is possible to easily create a pivot table or a pivot graph desired by the user from the table or view.

また、本第四の発明の表情報処理装置は、第一から第三いずれかの発明に対して、ビュー軸属性識別子は、ビュー軸属性に付加されたフラグを示す軸属性フラグであり、ビュー集計属性識別子は、ビュー集計属性に付加されたフラグを示す集計属性フラグであり、受付部は、ビューを構成する1以上のビュー属性識別子、1以上の軸属性フラグ、および1以上の集計属性フラグをも受け付け、ビュー格納部に格納されているビュースキーマ情報、およびビューピボット情報格納部に格納されている情報は、受付部が受け付けた情報である表情報処理装置である。   In the table information processing apparatus according to the fourth aspect of the present invention, the view axis attribute identifier is an axis attribute flag indicating a flag added to the view axis attribute, and The total attribute identifier is a total attribute flag indicating a flag added to the view total attribute, and the reception unit includes one or more view attribute identifiers, one or more axis attribute flags, and one or more total attribute flags that configure the view. The view schema information stored in the view storage unit and the information stored in the view pivot information storage unit are table information processing apparatuses that are information received by the reception unit.

かかる構成により、ビューおよびピボット表またはピボットグラフを、ユーザが簡単に作成できる。   With such a configuration, a user can easily create a view and a pivot table or a pivot graph.

また、本第五の発明の表情報処理装置は、第一から第四いずれかの発明に対して、ピボット情報格納部は、1または2以上のピボット情報を、予め格納しており、受付部は、1または2以上のピボット情報のうち、一のピボット情報の選択をする指示であるピボット選択指示を受け付け、情報分析部は、ピボット選択指示に対応するピボット情報を用いて、分析結果情報を作成する表情報処理装置である。   In the table information processing apparatus according to the fifth aspect of the present invention, the pivot information storage unit stores in advance one or two or more pieces of pivot information with respect to any one of the first to fourth aspects of the invention. Receives a pivot selection instruction that is an instruction to select one pivot information among one or more pieces of pivot information, and an information analysis unit uses the pivot information corresponding to the pivot selection instruction to analyze the analysis result information. A table information processing apparatus to be created.

かかる構成により、表から有用なピボット表や有用なピボットグラフを簡単に作成できる。   With such a configuration, a useful pivot table and a useful pivot graph can be easily created from the table.

また、本第六の発明の表情報処理装置は、第五の発明に対して、出力部は、ピボット情報格納部に2以上のピボット情報が格納されている場合のみ、2以上のピボット情報を選択するためのメニューを出力し、受付部は、メニューの中から、一のピボット情報の選択をする指示であるピボット選択指示を受け付ける表情報処理装置である。   In the table information processing apparatus according to the sixth aspect of the invention, in contrast to the fifth aspect of the invention, the output unit outputs two or more pieces of pivot information only when two or more pieces of pivot information are stored in the pivot information storage unit. A menu for selection is output, and the reception unit is a table information processing apparatus that receives a pivot selection instruction that is an instruction to select one piece of pivot information from the menu.

かかる構成により、表から有用なピボット表や有用なピボットグラフを簡単に作成できる。   With such a configuration, a useful pivot table and a useful pivot graph can be easily created from the table.

また、本第七の発明の表情報処理装置は、第一から第六いずれかの発明に対して、ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性間の制約に関する情報である制約情報を格納している制約情報格納部をさらに具備し、ピボット情報が有する2以上の軸属性識別子は制約情報が示す制約に従った軸属性識別子である表情報処理装置である。   In addition, the table information processing apparatus according to the seventh aspect of the present invention provides a restriction between two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information with respect to any one of the first to sixth inventions. The table information processing apparatus is further provided with a constraint information storage unit that stores constraint information that is information related to the pivot information, and the two or more axis attribute identifiers included in the pivot information are axis attribute identifiers according to the constraints indicated by the constraint information. .

かかる構成により、表から有用なピボット表や有用なピボットグラフを簡単に作成できる。   With such a configuration, a useful pivot table and a useful pivot graph can be easily created from the table.

また、本第八の発明の表情報処理装置は、第七の発明に対して、制約情報は、ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性の不適切または適切な組み合わせに関する情報である表情報処理装置である。   In the table information processing apparatus according to the eighth aspect of the present invention, in contrast to the seventh aspect of the invention, the constraint information is an inappropriateness of two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information. It is a table information processing apparatus that is information relating to an appropriate combination.

かかる構成により、表から有用なピボット表や有用なピボットグラフを簡単に作成できる。   With such a configuration, a useful pivot table and a useful pivot graph can be easily created from the table.

また、本第九の発明の表情報処理装置は、第七の発明に対して、ピボット情報に含まれる2以上の軸属性識別子の、少なくとも一部は順序を有し、制約情報は、ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性の不適切または適切な順序に関する情報である表情報処理装置である。   Further, the table information processing apparatus according to the ninth aspect of the present invention is the same as the seventh aspect, wherein at least a part of two or more axis attribute identifiers included in the pivot information has an order, and the constraint information includes the pivot information. 2 is a table information processing apparatus that is information relating to an inappropriate or appropriate order of two or more axis attributes identified by two or more axis attribute identifiers included in.

かかる構成により、表から有用なピボット表や有用なピボットグラフを簡単に作成できる。   With such a configuration, a useful pivot table and a useful pivot graph can be easily created from the table.

また、本第十の発明の表情報処理装置は、第一から第九いずれかの発明に対して、受付部は、表またはビューまたはピボット表をファイルに書き込む指示であるファイル出力指示をも受け付け、受付部がファイル出力指示を受け付けた場合、表またはビューまたはピボット表を構成する行の種類を取得し、行の種類に応じて、行の表示属性値を異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力するファイル出力部をさらに具備する表情報処理装置である。   In the table information processing apparatus according to the tenth aspect of the present invention, in response to any one of the first to ninth aspects, the reception unit also receives a file output instruction that is an instruction to write a table, view, or pivot table to a file. When the reception unit accepts a file output instruction, it acquires the types of rows that make up the table, view, or pivot table, and changes the display attribute value of the row to a different display attribute value according to the type of row. The table information processing apparatus further includes a file output unit that outputs a view or a pivot table to a file.

かかる構成により、表やビューをファイルに出力した場合に、見やすい表を得ることができる。   With this configuration, an easy-to-read table can be obtained when a table or view is output to a file.

また、本第十一の発明の表情報処理装置は、第十の発明に対して、行の種類は、行が有する属性値が、他の種類の行の対応する属性値を集計した属性値となる行の種類である集計行を含み、ファイル出力部は、集計行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力する表情報処理装置である。   Further, the table information processing apparatus according to the eleventh aspect of the invention relates to the tenth aspect of the invention, wherein the row type is an attribute value in which the attribute value of the row is an aggregation of the corresponding attribute values of other types of rows. The file output section changes the display attribute value of the summary row to a different display attribute value from the display attribute value of other types of rows, and displays the table, view, or pivot table. A table information processing apparatus that outputs to a file.

かかる構成により、集計行が存在する表やビューをファイルに出力した場合に、見やすい表を得ることができる。   With this configuration, it is possible to obtain an easy-to-read table when a table or view having a total row is output to a file.

また、本第十二の発明の表情報処理装置は、第十または第十一の発明に対して、行の種類は、1以上の属性名を有する行の種類である属性名行を含み、ファイル出力部は、属性名行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力する表情報処理装置である。   The table information processing apparatus of the twelfth aspect of the invention relates to the tenth or eleventh invention, wherein the row type includes an attribute name row that is a row type having one or more attribute names, The file output unit is a table information processing apparatus that outputs a table, a view, or a pivot table to a file by setting the display attribute value of the attribute name line to a display attribute value different from the display attribute values of other types of lines.

かかる構成により、属性名の行が存在する表やビューをファイルに出力した場合に、見やすい表を得ることができる。   With this configuration, it is possible to obtain an easy-to-read table when a table or view having attribute name rows is output to a file.

また、本第十三の発明の表情報処理装置は、第十から第十二いずれかの発明に対して、表またはビューまたはピボット表に対応する名称である表名またはビュー名またはピボット表名を格納し得る名称格納部をさらに具備し、ファイル出力部がファイルに出力する表またはビューまたはピボット表は、表名またはビュー名またはピボット表名を有し、行の種類は、表名またはビュー名またはピボット表名を有する行の種類である名称行を含み、ファイル出力部は、名称行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力する表情報処理装置である。   The table information processing apparatus according to the thirteenth aspect of the present invention provides the table name, view name, or pivot table name corresponding to the table, view, or pivot table for any of the tenth to twelfth aspects of the invention. The table or view or pivot table output to the file by the file output unit has a table name or view name or pivot table name, and the row type is the table name or view. The file output unit includes a name line or a name type that is a row type having a pivot table name, and the file output unit sets the display attribute value of the name line to a display attribute value different from the display attribute value of other types of rows, A table information processing apparatus that outputs a view or a pivot table to a file.

かかる構成により、表やビューをファイルに出力した場合に、見やすく、表名やビュー名をも出力できる。   With this configuration, when a table or view is output to a file, the table name and view name can be output easily.

本発明による表情報処理装置によれば、表からピボット表またはピボットピボットグラフを簡単に作成できる。   According to the table information processing apparatus of the present invention, a pivot table or a pivot pivot graph can be easily created from a table.

実施の形態1における表情報処理装置1のブロック図Block diagram of table information processing apparatus 1 according to Embodiment 1 同表情報処理装置1の動作について説明するフローチャートA flowchart for explaining the operation of the table information processing apparatus 1 同情報分析1の処理について説明するフローチャートThe flowchart explaining the process of the information analysis 1 同情報分析2の処理について説明するフローチャートThe flowchart explaining the process of the information analysis 2 同売上明細表を示す図Figure showing the same sales schedule 同候補識別子管理表を示す図Figure showing the candidate identifier management table 同制約情報管理表を示す図Figure showing the same constraint information management table 同ピボット情報管理表を示す図Figure showing the pivot information management table 同集計パターン選択画面を示す図The figure which shows the same total pattern selection screen 同条件設定画面を示す図Figure showing the same condition setting screen 同軸属性識別子等の入力画面を示す図The figure which shows the input screen of the coaxial attribute identifier etc. 同選択した軸属性識別子等を表示する画面を示す図The figure which shows the screen which displays the same axis attribute identifier etc. which is selected 同出力する属性識別子を選択する画面を示す図The figure which shows the screen which selects the attribute identifier which is output 同出力部の出力例を示す図The figure which shows the output example of the output part 同出力部の出力例を示す図The figure which shows the output example of the output part 実施の形態2における表情報処理装置2のブロック図Block diagram of table information processing apparatus 2 according to Embodiment 2 同表情報処理装置2の動作について説明するフローチャートA flowchart for explaining the operation of the table information processing apparatus 2 同表示属性値設定ルール管理表を示す図The figure which shows the same display attribute value setting rule management table 同ピボット表の例を示す図Diagram showing an example of the pivot table 同出力されたファイルを表示させた際の表示例を示す図The figure which shows the example of a display when displaying the output file 同表情報処理装置2の別のブロック図Another block diagram of the table information processing apparatus 2 上記実施の形態におけるコンピュータシステムの概観図Overview of the computer system in the above embodiment 同コンピュータシステムのブロック図Block diagram of the computer system

以下、表情報処理装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。   Hereinafter, embodiments of a table information processing apparatus and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.

(実施の形態1)
本実施の形態において、表から簡単にピボット表(ピボットテーブルとも言う)またはピボットグラフを作成できる表情報処理装置について説明する。なお、本実施の形態において、ピボット表等を作成するための軸となる属性(集計の軸となる軸属性、集計対象の集計属性)を予め保持している。なお、ピボット表とは、表をクロス集計機能により、集計属性の属性値を集計して得られた表である。
(Embodiment 1)
In this embodiment, a table information processing apparatus that can easily create a pivot table (also referred to as a pivot table) or a pivot graph from a table will be described. Note that in this embodiment, attributes that serve as axes for creating a pivot table and the like (axis attributes that serve as axes for aggregation, aggregate attributes that are subject to aggregation) are stored in advance. Note that the pivot table is a table obtained by counting the attribute values of the tabulated attributes using a cross tabulation function.

また、本実施の形態において、表からビューを構成する場合に、ユーザがビューの定義とともに、ビューから構成できるピボット表またはピボットグラフの定義も可能な表情報処理装置について説明する。   Also, in the present embodiment, a table information processing apparatus that allows a user to define a pivot table or a pivot graph that can be configured from a view as well as a view definition when the view is configured from a table will be described.

また、本実施の形態において、軸属性の候補、または集計属性の候補、または軸属性の候補と集計属性の候補を予め保持しており、ユーザが、候補から軸属性、または集計属性、または軸属性と集計属性を選択できる表情報処理装置について説明する。   In this embodiment, the axis attribute candidate, the aggregate attribute candidate, or the axis attribute candidate and the aggregate attribute candidate are stored in advance, and the user can select the axis attribute, the aggregate attribute, or the axis from the candidate. A table information processing apparatus capable of selecting an attribute and a total attribute will be described.

また、本実施の形態において、複数のピボット表またはピボットグラフの定義(以下、出力パターンとも言う。)から、使用する出力パターンを選択できる表情報処理装置について説明する。   In the present embodiment, a table information processing apparatus that can select an output pattern to be used from a plurality of pivot tables or pivot graph definitions (hereinafter also referred to as output patterns) will be described.

さらに、本実施の形態において、2以上の軸属性の制約の情報を有し、当該制約に従った2以上の軸属性のみを選択できる表情報処理装置について説明する。   Further, in the present embodiment, a table information processing apparatus that has information on constraint of two or more axis attributes and can select only two or more axis attributes according to the constraint will be described.

図1は、本実施の形態における表情報処理装置1のブロック図である。表情報処理装置1は、表格納部10、候補識別子格納部11、制約情報格納部12、ピボット情報格納部13、ビュー格納部14、ビューピボット情報格納部15、受付部16、蓄積部17、情報分析部18、および出力部19を備える。   FIG. 1 is a block diagram of a table information processing apparatus 1 in the present embodiment. The table information processing apparatus 1 includes a table storage unit 10, a candidate identifier storage unit 11, a constraint information storage unit 12, a pivot information storage unit 13, a view storage unit 14, a view pivot information storage unit 15, a reception unit 16, a storage unit 17, An information analysis unit 18 and an output unit 19 are provided.

表格納部10は、1以上の表を格納し得る。表は、1以上のレコードを有する。また、表は、例えば、スキーマ情報と1以上のレコードとを有する。レコードとは、表を構成する各行のデータである。スキーマ情報は、表の構造を示す情報であり、例えば、表を構成する属性を識別する1以上の属性識別子を有する。スキーマ情報は、例えば、属性識別子、属性のデータタイプ(文字列、数値、円、画像、音声など)を示すデータタイプ情報、属性値のデータ長などを有する1以上の属性情報を有する。また、属性識別子とは、属性名、属性を識別する属性IDなどである。なお、表格納部10の表は、その構造(表に含まれる1以上の属性)の全部または一部が予め決められている表であることは好適である。表格納部10の表は、例えば、会計ソフト、業務基幹システムなどで利用される表であり、元帳、対比表、推移表、人員構成表、勤怠支給控除一覧表、売上明細表などである。   The table storage unit 10 can store one or more tables. The table has one or more records. Further, the table includes, for example, schema information and one or more records. A record is data of each row constituting a table. The schema information is information indicating the structure of the table, and has, for example, one or more attribute identifiers that identify attributes constituting the table. The schema information includes at least one attribute information including, for example, an attribute identifier, data type information indicating an attribute data type (character string, numerical value, circle, image, sound, etc.), an attribute value data length, and the like. The attribute identifier is an attribute name, an attribute ID for identifying the attribute, or the like. The table of the table storage unit 10 is preferably a table in which all or part of the structure (one or more attributes included in the table) is determined in advance. The table of the table storage unit 10 is a table used in, for example, accounting software, a business backbone system, and the like, such as a ledger, a comparison table, a transition table, a staff composition table, a time payment deduction list table, and a sales schedule table.

候補識別子格納部11は、1以上の軸属性候補識別子、または1以上の集計属性候補識別子、または1以上の軸属性候補識別子と1以上の集計属性候補識別子を格納し得る。   The candidate identifier storage unit 11 can store one or more axis attribute candidate identifiers, one or more aggregate attribute candidate identifiers, or one or more axis attribute candidate identifiers and one or more aggregate attribute candidate identifiers.

軸属性候補識別子とは、軸属性となり得る属性値を識別する情報である。また、軸属性候補識別子は、ビュー軸属性となり得る属性値を識別する情報であっても良い。また、軸属性候補識別子は、属性名または属性ID等である。なお、軸属性とは、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である。軸属性は、ピボット表を作成する場合の、集計する範囲を示す属性である、とも言える。また、ビュー軸属性とは、ビュー属性識別子で識別される属性のうち、軸属性となる属性である。ビュー属性識別子とは、ビューを構成する属性を特定する情報であり、属性名や属性ID等である。また、ビュー軸属性識別子とは、ビュー軸属性に付加されたフラグを示す軸属性フラグであっても良い。   The axis attribute candidate identifier is information for identifying an attribute value that can be an axis attribute. The axis attribute candidate identifier may be information for identifying an attribute value that can be a view axis attribute. The axis attribute candidate identifier is an attribute name or an attribute ID. The axis attribute is an attribute that serves as an axis for creating analysis result information that is a pivot table or a pivot graph. It can be said that the axis attribute is an attribute indicating a range to be aggregated when a pivot table is created. The view axis attribute is an attribute that becomes an axis attribute among the attributes identified by the view attribute identifier. The view attribute identifier is information for specifying an attribute constituting the view, and is an attribute name, an attribute ID, or the like. Further, the view axis attribute identifier may be an axis attribute flag indicating a flag added to the view axis attribute.

また、集計属性候補識別子は、集計属性となり得る属性値を識別する情報である。また、集計属性候補識別子は、ビュー集計属性となり得る属性値を識別する情報であっても良い。また、集計属性候補識別子は、属性名または属性ID等である。なお、集計属性とは、ピボット表またはピボットグラフである分析結果情報を作成する際の集計対象の属性である。また、ビュー集計属性とは、ビュー属性識別子で識別される属性のうち、集計属性となる属性である。また、ビュー集計属性識別子とは、ビュー集計属性に付加されたフラグを示す集計属性フラグであっても良い。   The total attribute candidate identifier is information for identifying an attribute value that can be a total attribute. The aggregate attribute candidate identifier may be information for identifying an attribute value that can be a view aggregate attribute. The aggregate attribute candidate identifier is an attribute name or an attribute ID. The aggregation attribute is an attribute to be aggregated when creating analysis result information that is a pivot table or a pivot graph. The view aggregation attribute is an attribute that becomes an aggregation attribute among the attributes identified by the view attribute identifier. The view aggregation attribute identifier may be an aggregation attribute flag indicating a flag added to the view aggregation attribute.

制約情報格納部12は、1以上の制約情報を格納している。制約情報は、ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性間の制約に関する情報である。また、例えば、制約情報は、ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性の不適切または適切な組み合わせに関する情報である。制約情報が軸属性の組み合わせに関する情報である場合、例えば、制約情報は「属性Aと属性Bとが共に軸属性にならないこと」である。また、例えば、制約情報は、ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性の不適切または適切な順序に関する情報である。制約情報が軸属性の順序に関する情報である場合、例えば、制約情報は「属性Aの前に属性Bが存在し得ないこと」である。   The constraint information storage unit 12 stores one or more constraint information. The constraint information is information relating to a constraint between two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information. Further, for example, the constraint information is information related to an inappropriate or appropriate combination of two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information. When the constraint information is information related to a combination of axis attributes, for example, the constraint information is “attribute A and attribute B are not both axis attributes”. Further, for example, the constraint information is information related to an inappropriate or appropriate order of two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information. When the constraint information is information related to the order of axis attributes, for example, the constraint information is “attribute B cannot exist before attribute A”.

ピボット情報格納部13は、1または2以上のピボット情報を予め格納している。ピボット情報は、1以上の軸属性識別子および1以上の集計属性識別子を有する。軸属性識別子は、表を構成する1以上の属性を識別する1以上の属性識別子のうち、ピボット表またはピボットグラフを作成するための軸となる属性である軸属性を識別する情報である。また、集計属性識別子は、表を構成する1以上の属性を識別する1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する情報である。軸属性識別子および集計属性識別子は、属性名、属性ID、または表を構成する属性識別子に付加されたフラグである。なお、このフラグは、軸属性または集計属性を示すフラグであり、軸属性フラグまたは集計属性フラグとも言うこととする。   The pivot information storage unit 13 stores one or more pieces of pivot information in advance. The pivot information has one or more axis attribute identifiers and one or more aggregate attribute identifiers. The axis attribute identifier is information for identifying an axis attribute that is an attribute that serves as an axis for creating a pivot table or a pivot graph among one or more attribute identifiers that identify one or more attributes constituting the table. The aggregate attribute identifier is information for identifying an aggregate attribute that is an attribute for which attribute values are to be aggregated among one or more attribute identifiers that identify one or more attributes constituting the table. The axis attribute identifier and the aggregate attribute identifier are flags added to the attribute name, attribute ID, or attribute identifier constituting the table. This flag is a flag indicating an axis attribute or a total attribute, and is also referred to as an axis attribute flag or a total attribute flag.

なお、「予め格納している」とは、表情報処理装置1または表情報処理装置1を実現するプログラム等が、予め格納していることが好適である。つまり、表情報処理装置1または表情報処理装置1を実現するプログラムの提供者(例えば、企業)が、ユーザに利用して欲しい有効なピボット表またはピボットグラフを、ユーザが容易に出力できるようにすることが好適である。つまり、予め格納されているピボット情報は、ユーザがカスタマイズ(変更)できないことが好適である。   Note that “pre-stored” is preferably stored in advance in the table information processing apparatus 1 or a program for realizing the table information processing apparatus 1. That is, the table information processing apparatus 1 or the provider (for example, company) of the program that implements the table information processing apparatus 1 can easily output an effective pivot table or pivot graph that the user wants to use. It is preferable to do. That is, it is preferable that the pivot information stored in advance cannot be customized (changed) by the user.

また、分析結果情報とは、ピボット表またはそのピボットグラフである。分析結果情報は、ピボット表とそのピボットグラフでも良い。なお、ピボット表、ピボットグラフは公知技術であるので、詳細な説明を省略する。   The analysis result information is a pivot table or its pivot graph. The analysis result information may be a pivot table and its pivot graph. Since pivot tables and pivot graphs are well-known techniques, detailed description thereof is omitted.

ビュー格納部14は、1以上のビューを格納し得る。ビューは、例えば、ビュースキーマ情報と1以上のビューレコードとを有する。ビュースキーマ情報は、表から構成されるビューの属性を識別する1以上のビュー属性識別子を有する。ビュー属性識別子は、属性名でも属性ID等でも良い。ビューレコードは、ビューを構成するレコードを特定する情報である。ビューレコードは、レコードを識別するレコードIDでも良いし、ビューを構成する実データ等でも良い。   The view storage unit 14 can store one or more views. A view has, for example, view schema information and one or more view records. The view schema information has one or more view attribute identifiers that identify attributes of a view configured from a table. The view attribute identifier may be an attribute name or an attribute ID. The view record is information that identifies the records that make up the view. The view record may be a record ID for identifying the record, actual data constituting the view, or the like.

ビューピボット情報格納部15は、1以上のビューピボット情報を格納し得る。ビューピボット情報は、1以上のビュー軸属性識別子、および1以上のビュー集計属性識別子を有する。ビュー軸属性識別子は、1以上のビュー属性識別子のうち、軸属性を特定する情報である。ビュー軸属性識別子は、軸属性に付加されたフラグ、軸属性を示す属性名、軸属性を示す属性ID等でも良い。また、ビュー集計属性識別子は、1以上のビュー属性識別子のうち、集計属性を特定する情報である。ビュー集計属性識別子は、集計属性に付加されたフラグ、集計属性を示す属性名、集計属性を示す属性ID等でも良い。   The view pivot information storage unit 15 can store one or more view pivot information. The view pivot information has one or more view axis attribute identifiers and one or more view aggregation attribute identifiers. The view axis attribute identifier is information for specifying an axis attribute among one or more view attribute identifiers. The view axis attribute identifier may be a flag added to the axis attribute, an attribute name indicating the axis attribute, an attribute ID indicating the axis attribute, or the like. Further, the view aggregation attribute identifier is information for specifying the aggregation attribute among one or more view attribute identifiers. The view aggregation attribute identifier may be a flag added to the aggregation attribute, an attribute name indicating the aggregation attribute, an attribute ID indicating the aggregation attribute, or the like.

受付部16は、各種の指示やデータ等を受け付ける。受付部16は、通常、ユーザから指示やデータ等を受け付けるが、外部装置等から受け付けても良い。受付部16が受け付ける指示は、例えば、情報分析指示、選択指示、またはピボット選択指示等である。   The receiving unit 16 receives various instructions and data. The accepting unit 16 usually accepts instructions and data from the user, but may accept from an external device or the like. The instruction received by the receiving unit 16 is, for example, an information analysis instruction, a selection instruction, or a pivot selection instruction.

情報分析指示とは、表を用いた分析結果情報を作成する指示である。また、情報分析指示は、ビューを用いた分析結果情報を作成する指示であっても良い。なお、作成する指示とは、出力する指示と考えても良い。   The information analysis instruction is an instruction to create analysis result information using a table. The information analysis instruction may be an instruction for creating analysis result information using a view. The instruction to be created may be considered as an instruction to output.

選択指示は、1以上の軸属性候補識別子から1以上の軸属性識別子を選択する指示である。また、選択指示は、1以上の集計属性候補識別子から1以上の集計属性識別子を選択する指示であっても良い。また、選択指示は、1以上の軸属性候補識別子と1以上の集計属性候補識別子とから、1以上の軸属性識別子と1以上の集計属性識別子とを選択する指示であっても良い。また、選択指示は、1以上の軸属性候補識別子から1以上のビュー軸属性識別子を選択する指示であっても良い。また、選択指示は、1以上の軸属性識別子から1以上のビュー集計属性識別子を選択する指示であっても良い。さらに、選択指示は、1以上の軸属性候補識別子と1以上の集計属性候補識別子とから、1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を選択する指示であっても良い。   The selection instruction is an instruction to select one or more axis attribute identifiers from one or more axis attribute candidate identifiers. The selection instruction may be an instruction for selecting one or more aggregation attribute identifiers from one or more aggregation attribute candidate identifiers. The selection instruction may be an instruction for selecting one or more axis attribute identifiers and one or more aggregation attribute identifiers from one or more axis attribute candidate identifiers and one or more aggregation attribute candidate identifiers. The selection instruction may be an instruction for selecting one or more view axis attribute identifiers from one or more axis attribute candidate identifiers. The selection instruction may be an instruction for selecting one or more view aggregation attribute identifiers from one or more axis attribute identifiers. Furthermore, the selection instruction may be an instruction to select one or more view axis attribute identifiers and one or more view aggregation attribute identifiers from one or more axis attribute candidate identifiers and one or more aggregation attribute candidate identifiers.

また、ピボット選択指示は、1または2以上のピボット情報のうち、一のピボット情報の選択をする指示である。また、ピボット選択指示は、メニューの中から、一のピボット情報の選択をする指示であっても良い。かかる場合のメニューとは、複数のピボット情報から一のピボット情報が選択可能なメニューである。   The pivot selection instruction is an instruction to select one piece of pivot information among one or more pieces of pivot information. The pivot selection instruction may be an instruction to select one piece of pivot information from the menu. The menu in such a case is a menu in which one piece of pivot information can be selected from a plurality of pieces of pivot information.

また、受付部16が受け付けるデータは、例えば、ビューを定義するための情報であるビュー定義情報である。ビュー定義情報は、例えば、ビューを構成する1以上のビュー属性識別子、1以上のビュー軸属性識別子となる属性識別子に付加された軸属性フラグ、および1以上のビュー集計属性識別子となる属性識別子に付加された集計属性フラグを有する。ビュー定義情報は、例えば、ビューを構成する1以上のビュー属性識別子、1以上のビュー軸属性識別子、および1以上のビュー集計属性識別子を有する。   The data received by the receiving unit 16 is, for example, view definition information that is information for defining a view. The view definition information includes, for example, one or more view attribute identifiers constituting the view, an axis attribute flag added to an attribute identifier serving as one or more view axis attribute identifiers, and an attribute identifier serving as one or more view aggregation attribute identifiers. It has a total attribute flag added. The view definition information includes, for example, one or more view attribute identifiers that constitute a view, one or more view axis attribute identifiers, and one or more view aggregation attribute identifiers.

なお、上記の情報分析指示は、例えば、出力さている表の画面に存在するボタンであり、情報分析指示のボタンの押下等により、入力される。   The above information analysis instruction is, for example, a button that exists on the screen of the output table, and is input by pressing the information analysis instruction button or the like.

また、受付部16における受け付けとは、キーボードやマウス、タッチパネルなどの入力デバイスから入力された情報の受け付け、有線もしくは無線の通信回線を介して送信された情報の受信、光ディスクや磁気ディスク、半導体メモリなどの記録媒体から読み出された情報の受け付けなどを含む概念である。   The reception in the reception unit 16 is reception of information input from an input device such as a keyboard, mouse, touch panel, reception of information transmitted via a wired or wireless communication line, an optical disk, a magnetic disk, and a semiconductor memory. It is a concept including reception of information read from a recording medium.

情報分析指示等の入力手段は、キーボードやマウスやタッチパネルやメニュー画面によるもの等、何でも良い。   Any means such as a keyboard, a mouse, a touch panel, or a menu screen may be used as an input means for instructing information analysis.

蓄積部17は、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を蓄積する。蓄積部17は、受付部16が受け付けた選択指示に応じて、ピボット情報格納部13、またはビューピボット情報格納部15に、上記の1以上の軸属性識別子等を蓄積する。なお、この蓄積は、一時的な蓄積であっても良い。   The storage unit 17 includes one or more axis attribute identifiers, or one or more aggregation attribute identifiers, or one or more axis attribute identifiers and one or more aggregation attribute identifiers, or one or more view axis attribute identifiers, or one or more view aggregations. An attribute identifier, or one or more view axis attribute identifiers and one or more view aggregation attribute identifiers are accumulated. The storage unit 17 stores the one or more axis attribute identifiers or the like in the pivot information storage unit 13 or the view pivot information storage unit 15 according to the selection instruction received by the reception unit 16. This accumulation may be temporary accumulation.

なお、 蓄積部17は、1以上の軸属性識別子で識別される1以上の軸属性または1以上のビュー軸属性識別子で識別される1以上のビュー軸属性が、制約情報格納部12に格納されている1以上の制約情報を満たすか否かを判断し、1以上の制約情報を満たす場合のみ、1以上の軸属性識別子または1以上のビュー軸属性識別子を蓄積することは好適である。また、1以上の制約情報を満たさない場合、蓄積部17は、選択指示がエラーである旨の情報を構成することは好適である。   The storage unit 17 stores in the constraint information storage unit 12 one or more axis attributes identified by one or more axis attribute identifiers or one or more view axis attributes identified by one or more view axis attribute identifiers. It is preferable to accumulate one or more axis attribute identifiers or one or more view axis attribute identifiers only when the one or more constraint information is satisfied and only when the one or more constraint information is satisfied. In addition, when one or more pieces of constraint information are not satisfied, it is preferable that the storage unit 17 configures information indicating that the selection instruction is an error.

また、蓄積部17は、受け付けられたビュー定義情報を用いて、表格納部10の表からビューを構成し、当該ビューをビュー格納部14に蓄積しても良い。また、蓄積部17は、受け付けられたビュー定義情報が有するビューピボット情報を取得し、当該ビューピボット情報をビューピボット情報格納部15に蓄積しても良い。なお、ビューを構成する技術は公知技術であるので、詳細な説明は省略する。   Further, the storage unit 17 may configure a view from the table of the table storage unit 10 using the received view definition information, and store the view in the view storage unit 14. Further, the storage unit 17 may acquire view pivot information included in the received view definition information, and store the view pivot information in the view pivot information storage unit 15. Since the technology for configuring the view is a known technology, detailed description thereof is omitted.

情報分析部18は、受付部16が情報分析指示を受け付けた場合に、1以上の軸属性識別子で識別される属性を軸とし、1以上の集計属性識別子で識別される属性を集計対象の属性として、表の1以上のレコードおよび1以上の属性識別子を用いた分析結果情報を作成する。   When the receiving unit 16 receives an information analysis instruction, the information analyzing unit 18 sets the attribute identified by the one or more axis attribute identifiers as the axis and the attribute identified by the one or more totaled attribute identifiers as the attribute to be counted. As a result, analysis result information using one or more records and one or more attribute identifiers in the table is created.

情報分析部18は、受付部16が情報分析指示を受け付けた場合に、表格納部10の表を用いて分析結果情報を作成する。また、情報分析部18は、受付部16が情報分析指示を受け付けた場合に、ビュー格納部14のビューを用いて分析結果情報を作成する。   When the reception unit 16 receives an information analysis instruction, the information analysis unit 18 creates analysis result information using the table in the table storage unit 10. In addition, when the receiving unit 16 receives an information analysis instruction, the information analysis unit 18 creates analysis result information using the view in the view storage unit 14.

さらに具体的には、情報分析部18は、受付部16が情報分析指示を受け付けた場合に、ピボット情報格納部13の1以上の軸属性識別子で識別される属性を軸とし、ピボット情報格納部13の1以上の集計属性識別子で識別される属性を集計対象の属性として、表の1以上のレコードおよび1以上の属性識別子を用いた分析結果情報を作成する。   More specifically, the information analysis unit 18 uses the attribute identified by one or more axis attribute identifiers of the pivot information storage unit 13 as the axis when the reception unit 16 receives the information analysis instruction, and the pivot information storage unit Analysis result information using one or more records and one or more attribute identifiers in the table is created with the attribute identified by one or more of the 13 total attribute identifiers as the attribute to be aggregated.

また、情報分析部18は、受付部16が情報分析指示を受け付けた場合に、ビューピボット情報格納部15の1以上のビュー軸属性識別子で識別される属性を軸とし、ビューピボット情報格納部15の1以上のビュー集計属性識別子で識別される属性を集計対象の属性として、ビューの1以上のビューレコードおよび1以上のビュー属性識別子を用いた分析結果情報を作成する。   Further, the information analysis unit 18 uses the attribute identified by one or more view axis attribute identifiers of the view pivot information storage unit 15 as an axis when the reception unit 16 receives an information analysis instruction, and the view pivot information storage unit 15 The analysis result information using one or more view records of the view and one or more view attribute identifiers is created with the attribute identified by the one or more view aggregation attribute identifiers as the aggregation target attribute.

さらに、情報分析部18は、ピボット選択指示に対応するピボット情報を用いて、分析結果情報を作成する。   Further, the information analysis unit 18 creates analysis result information using the pivot information corresponding to the pivot selection instruction.

なお、情報分析部18は、通常、集計した結果を示すレコードには、予め決められた文字列(例えば、「総計」「合計」「計」など)を付加することは好適である。   In general, the information analysis unit 18 preferably adds a predetermined character string (for example, “total”, “total”, “total”, etc.) to the record indicating the totaled results.

また、表やビューから、ユーザ定義された軸属性や集計属性を用いて、ピボット表またはピボットグラフを作成する技術は公知技術であるので、詳細な説明を省略する。   In addition, since a technique for creating a pivot table or a pivot graph from a table or view using a user-defined axis attribute or aggregation attribute is a known technique, detailed description thereof is omitted.

出力部19は、情報分析部18が作成した分析結果情報を出力する。また、出力部19は、ピボット情報格納部13に2以上のピボット情報が格納されている場合のみ、2以上のピボット情報を選択するためのメニューを出力しても良い。また、出力部19は、蓄積部17が構成した「選択指示がエラーである旨の情報」を出力することは好適である。   The output unit 19 outputs the analysis result information created by the information analysis unit 18. Further, the output unit 19 may output a menu for selecting two or more pieces of pivot information only when two or more pieces of pivot information are stored in the pivot information storage unit 13. The output unit 19 preferably outputs “information indicating that the selection instruction is an error” configured by the storage unit 17.

また、出力部19は、候補識別子格納部11から、1以上の軸属性候補識別子を読み出し、軸属性の選択のためのメニューを出力しても良い。また、出力部19は、制約情報を使用し、制約情報が示す制約を満たす軸属性候補識別子のみを用いた、軸属性の選択のためのメニューを出力することは好適である。   The output unit 19 may read one or more axis attribute candidate identifiers from the candidate identifier storage unit 11 and output a menu for selecting an axis attribute. The output unit 19 preferably uses the constraint information and outputs a menu for selecting an axis attribute that uses only the axis attribute candidate identifiers that satisfy the constraint indicated by the constraint information.

さらに、出力部19は、候補識別子格納部11から、1以上の集計属性候補識別子を読み出し、集計属性の選択のためのメニューを出力しても良い。   Further, the output unit 19 may read one or more total attribute candidate identifiers from the candidate identifier storage unit 11 and output a menu for selecting the total attribute.

ここで、出力とは、通常、ディスプレイへの表示であるが、プロジェクターを用いた投影、プリンタでの印字、音出力、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である、と考えても良い。   Here, the output is usually a display on a display, but projection using a projector, printing with a printer, sound output, transmission to an external device, accumulation in a recording medium, other processing devices and others It may be considered that the concept includes the delivery of processing results to the program.

表格納部10、候補識別子格納部11、制約情報格納部12、ピボット情報格納部13、ビュー格納部14、ビューピボット情報格納部15は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。表格納部10等に表等が記憶される過程は問わない。例えば、記録媒体を介して表等が表格納部10等で記憶されるようになってもよく、通信回線等を介して送信された表等が表格納部10等で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された表等が表格納部10等で記憶されるようになってもよい。   The table storage unit 10, the candidate identifier storage unit 11, the constraint information storage unit 12, the pivot information storage unit 13, the view storage unit 14, and the view pivot information storage unit 15 are preferably non-volatile recording media. It can also be realized with a recording medium. The process of storing the table or the like in the table storage unit 10 or the like is not limited. For example, a table or the like may be stored in the table storage unit 10 or the like via a recording medium, and a table or the like transmitted via a communication line or the like is stored in the table storage unit 10 or the like. Alternatively, a table or the like input via the input device may be stored in the table storage unit 10 or the like.

受付部16は、キーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The receiving unit 16 can be realized by a device driver for input means such as a keyboard, control software for a menu screen, or the like.

蓄積部17、情報分析部18は、通常、MPUやメモリ等から実現され得る。情報分析部18等の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The storage unit 17 and the information analysis unit 18 can be usually realized by an MPU, a memory, or the like. The processing procedure of the information analysis unit 18 or the like is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

出力部19は、ディスプレイやスピーカー等の出力デバイスを含むと考えても含まないと考えても良い。出力部19は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。   The output unit 19 may or may not include an output device such as a display or a speaker. The output unit 19 can be realized by driver software for an output device or driver software for an output device and an output device.

次に、表情報処理装置1の動作について、図2のフローチャートを用いて説明する。   Next, operation | movement of the table | surface information processing apparatus 1 is demonstrated using the flowchart of FIG.

(ステップS201)受付部16は、情報分析指示を受け付けたか否かを判断する。情報分析指示を受け付ければステップS202に行き、情報分析指示を受け付けなければステップS206に行く。なお、例えば、情報分析指示を受け付ける前に、情報分析指示の対象となる表またはビューが出力されている、とする。   (Step S201) The reception unit 16 determines whether an information analysis instruction has been received. If an information analysis instruction is accepted, the process goes to step S202. If no information analysis instruction is accepted, the process goes to step S206. For example, it is assumed that a table or a view that is a target of the information analysis instruction is output before receiving the information analysis instruction.

(ステップS202)情報分析部18は、情報分析指示に対応する情報分析の対象が表であるかビューであるかを判断する。表であればステップS203に行き、ビューであればステップS204に行く。   (Step S202) The information analysis unit 18 determines whether the information analysis target corresponding to the information analysis instruction is a table or a view. If it is a table, go to step S203, and if it is a view, go to step S204.

(ステップS203)情報分析部18は、情報分析指示に対応する表に対して情報分析処理を行う。かかる処理を情報分析1とする。   (Step S203) The information analysis unit 18 performs information analysis processing on the table corresponding to the information analysis instruction. This process is referred to as information analysis 1.

(ステップS204)情報分析部18は、情報分析指示に対応するビューに対して情報分析処理を行う。かかる処理を情報分析2とする。   (Step S204) The information analysis unit 18 performs information analysis processing on the view corresponding to the information analysis instruction. This process is referred to as information analysis 2.

(ステップS205)出力部19は、ステップS203またはステップS204で取得されたピボット表、またはピボットグラフ、またはピボット表とピボットグラフを出力する。ステップS201に戻る。   (Step S205) The output unit 19 outputs the pivot table, the pivot graph, or the pivot table and the pivot graph acquired in step S203 or step S204. The process returns to step S201.

(ステップS206)受付部16は、選択指示を受け付けたか否かを判断する。選択指示を受け付ければステップS207に行き、選択指示を受け付けなければステップS212に行く。なお、例えば、選択指示を受け付ける前に、1または2以上の軸属性候補識別子、または1または2以上の集計属性候補識別子、または1または2以上の軸属性候補識別子と1または2以上の集計属性候補識別子が出力されている、とする。   (Step S206) The receiving unit 16 determines whether a selection instruction has been received. If a selection instruction is accepted, the process goes to step S207, and if no selection instruction is accepted, the process goes to step S212. For example, before accepting the selection instruction, one or more axis attribute candidate identifiers, or one or more aggregate attribute candidate identifiers, or one or more axis attribute candidate identifiers and one or more aggregate attributes Assume that a candidate identifier is output.

(ステップS207)蓄積部17は、選択指示により選択された1以上の軸属性識別子、または選択指示により選択された1以上の集計属性識別子、または選択指示により選択された1以上の軸属性識別子と1以上の集計属性識別子、または選択指示により選択された1以上のビュー軸属性識別子、または選択指示により選択された1以上のビュー集計属性識別子、または選択指示により選択された1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を取得する。   (Step S207) The storage unit 17 includes one or more axis attribute identifiers selected by the selection instruction, one or more aggregate attribute identifiers selected by the selection instruction, or one or more axis attribute identifiers selected by the selection instruction. One or more aggregation attribute identifiers, or one or more view axis attribute identifiers selected by a selection instruction, or one or more view aggregation attribute identifiers selected by a selection instruction, or one or more view axis attributes selected by a selection instruction Get an identifier and one or more view aggregation attribute identifiers.

(ステップS208)蓄積部17は、制約情報格納部12から1以上の制約情報を取得する。   (Step S208) The storage unit 17 acquires one or more pieces of constraint information from the constraint information storage unit 12.

(ステップS209)蓄積部17は、ステップS207で取得した1以上の軸属性識別子で識別される1以上の軸属性、または1以上のビュー軸属性識別子で識別される1以上のビュー軸属性が、ステップS208で取得した1以上の制約情報を満たすか否かを判断する。1以上の制約情報を満たす場合はステップS210に行き、1以上の制約情報を満たさない場合はステップS211に行く。   (Step S209) The storage unit 17 has one or more axis attributes identified by one or more axis attribute identifiers acquired in step S207, or one or more view axis attributes identified by one or more view axis attribute identifiers. It is determined whether or not one or more pieces of constraint information acquired in step S208 are satisfied. If one or more constraint information is satisfied, the process goes to step S210. If one or more constraint information is not satisfied, the process goes to step S211.

(ステップS210)蓄積部17は、ステップS207で取得した1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子をピボット情報格納部13に蓄積する。または、蓄積部17は、ステップS207で取得した1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子をビューピボット情報格納部15に蓄積する。ステップS201に戻る。   (Step S210) The storage unit 17 stores in the pivot information storage unit 13 one or more axis attribute identifiers acquired in step S207, or one or more aggregate attribute identifiers, or one or more axis attribute identifiers and one or more aggregate attribute identifiers. accumulate. Alternatively, the storage unit 17 stores the one or more view axis attribute identifiers acquired in step S207, or one or more view aggregation attribute identifiers, or one or more view axis attribute identifiers and one or more view aggregation attribute identifiers as view pivot information. Accumulate in part 15. The process returns to step S201.

(ステップS211)蓄積部17は、選択指示がエラーである旨の情報を構成する。そして、出力部19は、選択指示がエラーである旨の情報を出力する。ステップS201に戻る。   (Step S211) The storage unit 17 configures information indicating that the selection instruction is an error. Then, the output unit 19 outputs information indicating that the selection instruction is an error. The process returns to step S201.

(ステップS212)受付部16は、ピボット選択指示を受け付けたか否かを判断する。ピボット選択指示を受け付ければステップS213に行き、ピボット選択指示を受け付けなければステップS215に行く。なお、例えば、ピボット選択指示を受け付ける前に、1または2以上のピボット情報を識別する情報が出力されている、とする。   (Step S212) The receiving unit 16 determines whether or not a pivot selection instruction has been received. If a pivot selection instruction is accepted, the process proceeds to step S213. If a pivot selection instruction is not accepted, the process proceeds to step S215. For example, it is assumed that information for identifying one or more pieces of pivot information is output before receiving a pivot selection instruction.

(ステップS213)蓄積部17は、ピボット選択指示に対応するピボット情報をピボット情報格納部13から取得する。   (Step S213) The storage unit 17 acquires pivot information corresponding to the pivot selection instruction from the pivot information storage unit 13.

(ステップS214)蓄積部17は、ステップS213で取得したピボット情報を、図示しないバッファに、少なくとも一時的に蓄積する。ステップS201に戻る。   (Step S214) The storage unit 17 stores at least temporarily the pivot information acquired in step S213 in a buffer (not shown). The process returns to step S201.

(ステップS215)受付部16は、ビュー定義情報を受け付けたか否かを判断する。ビュー定義情報を受け付ければステップS216に行き、ビュー定義情報を受け付けなければステップS219に行く。   (Step S215) The accepting unit 16 determines whether view definition information has been accepted. If the view definition information is accepted, the process goes to step S216, and if the view definition information is not accepted, the process goes to step S219.

(ステップS216)蓄積部17は、ステップS215で受け付けられたビュー定義情報を用いて、表格納部10の表からビューを構成し、当該構成したビューをビュー格納部14に蓄積する。   (Step S216) The storage unit 17 configures a view from the table of the table storage unit 10 using the view definition information received in step S215, and stores the configured view in the view storage unit 14.

(ステップS217)蓄積部17は、ステップS215で受け付けられたビュー定義情報からビューピボット情報を取得する。   (Step S217) The storage unit 17 acquires view pivot information from the view definition information received in step S215.

(ステップS218)蓄積部17は、ステップS216で構成したビューをビュー格納部14に蓄積する。また、蓄積部17は、ステップS217で取得したビューピボット情報をビューピボット情報格納部15に蓄積する。ステップS201に戻る。   (Step S218) The accumulation unit 17 accumulates the view configured in step S216 in the view storage unit 14. Further, the storage unit 17 stores the view pivot information acquired in step S217 in the view pivot information storage unit 15. The process returns to step S201.

(ステップS219)図示しない処理部は、受付部16が受け付けた指示または情報に対応する処理を行う。ステップS201に戻る。   (Step S219) A processing unit (not shown) performs processing corresponding to the instruction or information received by the receiving unit 16. The process returns to step S201.

なお、図2のフローチャートにおいて、ステップS207で1以上の軸属性識別子と1以上のビュー軸属性識別子との両方を取得しなかった場合は、ステップS208、ステップS209の処理は行わない。   In the flowchart of FIG. 2, when both one or more axis attribute identifiers and one or more view axis attribute identifiers are not acquired in step S207, the processes in step S208 and step S209 are not performed.

さらに、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   Further, in the flowchart of FIG. 2, the processing is ended by powering off or interruption of processing end.

次に、ステップS203の情報分析1について、図3のフローチャートを用いて説明する。   Next, information analysis 1 in step S203 will be described using the flowchart of FIG.

(ステップS301)情報分析部18は、ピボット情報を構成する1以上の軸属性識別子を取得する。なお、ここでのピボット情報は、例えば、図示しないバッファに一時蓄積されているピボット情報である。また、ここでのピボット情報は、例えば、ピボット情報格納部13のピボット情報である。   (Step S301) The information analysis unit 18 acquires one or more axis attribute identifiers constituting the pivot information. Note that the pivot information here is, for example, pivot information temporarily stored in a buffer (not shown). The pivot information here is, for example, pivot information in the pivot information storage unit 13.

(ステップS302)情報分析部18は、ピボット情報を構成する1以上の集計属性識別子を取得する。   (Step S302) The information analysis unit 18 acquires one or more aggregate attribute identifiers that constitute the pivot information.

(ステップS303)情報分析部18は、ステップS301で取得した1以上の軸属性識別子、およびステップS302で取得した1以上の集計属性識別子を用いて、ピボット表の属性名行を構成する。なお、属性名行とは、表を構成する1以上の属性名からなる行である。   (Step S303) The information analysis unit 18 configures an attribute name row of the pivot table using the one or more axis attribute identifiers acquired in step S301 and the one or more aggregate attribute identifiers acquired in step S302. An attribute name line is a line made up of one or more attribute names that make up a table.

(ステップS304)情報分析部18は、カウンタiに1を代入する。   (Step S304) The information analysis unit 18 substitutes 1 for the counter i.

(ステップS305)情報分析部18は、ステップS301で取得した1以上の軸属性識別子の中で、i番目の軸属性識別子が存在するか否かを判断する。i番目の軸属性識別子が存在すればステップS306に行き、i番目の軸属性識別子が存在しなければステップS311に行く。   (Step S305) The information analysis unit 18 determines whether or not the i-th axis attribute identifier exists among the one or more axis attribute identifiers acquired in step S301. If the i-th axis attribute identifier exists, the process goes to step S306. If the i-th axis attribute identifier does not exist, the process goes to step S311.

(ステップS306)情報分析部18は、カウンタjに1を代入する。   (Step S306) The information analysis unit 18 substitutes 1 for the counter j.

(ステップS307)情報分析部18は、i番目の軸属性識別子で識別される属性値の中で、j番目の異なる属性値が存在するか否かを判断する。j番目の異なる属性値が存在すればステップS308に行き、j番目の異なる属性値が存在しなければステップS310に行く。なお、iが2以上である場合、情報分析部18は、1番目からi番目の2以上の軸属性識別子で識別される2以上の属性値の組み合わせに対して、j番目の異なる組み合わせが存在するか否かを判断する。j番目の異なる組み合わせが存在すればステップS308に行き、j番目の異なる組み合わせが存在しなければステップS310に行く。   (Step S307) The information analysis unit 18 determines whether or not the j-th different attribute value exists among the attribute values identified by the i-th axis attribute identifier. If the jth different attribute value exists, the process goes to step S308, and if the jth different attribute value does not exist, the process goes to step S310. When i is 2 or more, the information analysis unit 18 has a j-th different combination for a combination of two or more attribute values identified by the first to i-th two or more axis attribute identifiers. Judge whether to do. If the jth different combination exists, the process goes to step S308, and if the jth different combination does not exist, the process goes to step S310.

(ステップS308)情報分析部18は、j番目の異なる属性値に対して、ステップS302で取得した1以上の集計属性識別子で識別される1以上の各集計属性ごとに、属性値を集計し、集計値を取得する。なお、iが2以上である場合、情報分析部18は、1番目からi番目の2以上の軸属性識別子で識別される2以上の軸属性の属性値のj番目の異なる組み合わせに対して、ステップS302で取得した1以上の集計属性識別子で識別される1以上の各集計属性ごとに、属性値を集計し、集計値を取得する。   (Step S308) The information analysis unit 18 aggregates attribute values for each of the one or more aggregate attributes identified by the one or more aggregate attribute identifiers acquired in Step S302 for the jth different attribute value, Get the aggregate value. When i is 2 or more, the information analysis unit 18 performs the j-th different combination of attribute values of two or more axis attributes identified by the first to i-th two or more axis attribute identifiers. The attribute value is totaled for each of the one or more total attributes identified by the one or more total attribute identifiers acquired in step S302, and the total value is acquired.

(ステップS309)情報分析部18は、カウンタjを1、インクリメントする。ステップS307に戻る。   (Step S309) The information analysis unit 18 increments the counter j by 1. The process returns to step S307.

(ステップS310)情報分析部18は、カウンタiを1、インクリメントする。ステップS305に戻る。   (Step S310) The information analysis unit 18 increments the counter i by 1. The process returns to step S305.

(ステップS311)情報分析部18は、ステップS302で取得した1以上の集計属性識別子で識別される1以上の集計属性ごとに、総計を算出する。   (Step S311) The information analysis unit 18 calculates a total for each of one or more total attributes identified by the one or more total attribute identifiers acquired in Step S302.

(ステップS312)情報分析部18は、ピボットグラフを作成するか否かを判断する。ピボットグラフを作成する場合はステップS313に行き、ピボットグラフを作成しない場合は上位処理にリターンする。なお、例えば、情報分析指示に、ピボットグラフを作成するか否かを示すフラグが存在し、かかるフラグが存在する場合のみ、情報分析部18は、ピボットグラフを作成すると判断する。   (Step S312) The information analysis unit 18 determines whether or not to create a pivot graph. If a pivot graph is to be created, the process goes to step S313, and if no pivot graph is to be created, the process returns to the upper level process. For example, a flag indicating whether or not to create a pivot graph exists in the information analysis instruction, and the information analysis unit 18 determines to create a pivot graph only when such a flag exists.

(ステップS313)情報分析部18は、ピボットグラフの構造を構成する。情報分析部18は、通常、1以上の軸属性識別子で識別される1以上の軸属性の、1以上の属性値と、1以上の集計属性識別子で識別される1以上の集計属性の集計値とを用いて、ピボットグラフの構造を構成する。   (Step S313) The information analysis part 18 comprises the structure of a pivot graph. The information analysis unit 18 typically includes one or more attribute values of one or more axis attributes identified by one or more axis attribute identifiers and a total value of one or more total attributes identified by one or more total attribute identifiers. Is used to construct the structure of the pivot graph.

(ステップS314)情報分析部18は、1以上の集計属性識別子で識別される1以上の集計属性ごとに、1以上の集計属性の集計値を用いて、グラフを生成する。上位処理にリターンする。   (Step S314) The information analysis unit 18 generates a graph using the total value of one or more aggregation attributes for each of one or more aggregation attributes identified by one or more aggregation attribute identifiers. Return to upper process.

なお、図3のフローチャートにおいて、ピボット表を作成せずに、ピボットグラフのみを作成しても良い。   In the flowchart of FIG. 3, only the pivot graph may be created without creating the pivot table.

次に、ステップS204の情報分析2について、図4のフローチャートを用いて説明する。   Next, information analysis 2 in step S204 will be described using the flowchart of FIG.

(ステップS401)情報分析部18は、ビューピボット情報を構成する1以上のビュー軸属性識別子を取得する。なお、ここでのビューピボット情報は、例えば、図示しないバッファに一時蓄積されているビューピボット情報である。また、ここでのビューピボット情報は、例えば、ビューピボット情報格納部15のピボット情報である。   (Step S401) The information analysis unit 18 acquires one or more view axis attribute identifiers constituting the view pivot information. The view pivot information here is, for example, view pivot information temporarily stored in a buffer (not shown). The view pivot information here is, for example, pivot information in the view pivot information storage unit 15.

(ステップS402)情報分析部18は、ビューピボット情報を構成する1以上のビュー集計属性識別子を取得する。   (Step S402) The information analysis unit 18 acquires one or more view aggregation attribute identifiers constituting the view pivot information.

(ステップS403)情報分析部18は、ステップS401で取得した1以上のビュー軸属性識別子、およびステップS402で取得した1以上のビュー集計属性識別子を用いて、ピボット表の属性名行を構成する。   (Step S403) The information analysis unit 18 configures an attribute name row of the pivot table using the one or more view axis attribute identifiers acquired in step S401 and the one or more view aggregation attribute identifiers acquired in step S402.

(ステップS404)情報分析部18は、カウンタiに1を代入する。   (Step S404) The information analysis part 18 substitutes 1 to the counter i.

(ステップS405)情報分析部18は、ステップS401で取得した1以上のビュー軸属性識別子の中で、i番目のビュー軸属性識別子が存在するか否かを判断する。i番目のビュー軸属性識別子が存在すればステップS406に行き、i番目のビュー軸属性識別子が存在しなければステップS411に行く。   (Step S405) The information analysis unit 18 determines whether or not the i-th view axis attribute identifier exists among the one or more view axis attribute identifiers acquired in step S401. If the i-th view axis attribute identifier exists, the process goes to step S406, and if the i-th view axis attribute identifier does not exist, the process goes to step S411.

(ステップS406)情報分析部18は、カウンタjに1を代入する。   (Step S406) The information analysis unit 18 substitutes 1 for the counter j.

(ステップS407)情報分析部18は、i番目のビュー軸属性識別子で識別される属性値の中で、j番目の異なる属性値が存在するか否かを判断する。j番目の異なる属性値が存在すればステップS408に行き、j番目の異なる属性値が存在しなければステップS410に行く。なお、iが2以上である場合、情報分析部18は、1番目からi番目の2以上のビュー軸属性識別子で識別される2以上の属性値の組み合わせに対して、j番目の異なる組み合わせが存在するか否かを判断する。j番目の異なる組み合わせが存在すればステップS408に行き、j番目の異なる組み合わせが存在しなければステップS410に行く。   (Step S407) The information analysis unit 18 determines whether or not the j-th different attribute value exists among the attribute values identified by the i-th view axis attribute identifier. If the jth different attribute value exists, the process goes to step S408, and if the jth different attribute value does not exist, the process goes to step S410. When i is 2 or more, the information analysis unit 18 determines that the j-th different combination is different from the combination of two or more attribute values identified by the first to i-th two or more view axis attribute identifiers. Determine if it exists. If the jth different combination exists, the process goes to step S408, and if the jth different combination does not exist, the process goes to step S410.

(ステップS408)情報分析部18は、j番目の異なる属性値に対して、ステップS402で取得した1以上のビュー集計属性識別子で識別される1以上の各ビュー集計属性ごとに、属性値を集計し、集計値を取得する。なお、iが2以上である場合、情報分析部18は、1番目からi番目の2以上のビュー軸属性識別子で識別される2以上のビュー軸属性の属性値のj番目の異なる組み合わせに対して、ステップS402で取得した1以上のビュー集計属性識別子で識別される1以上の各ビュー集計属性ごとに、属性値を集計し、集計値を取得する。   (Step S408) The information analysis unit 18 aggregates attribute values for each of one or more view aggregation attributes identified by the one or more view aggregation attribute identifiers acquired in Step S402 with respect to the jth different attribute value. And get the aggregate value. When i is 2 or more, the information analysis unit 18 performs the j-th different combination of attribute values of two or more view axis attributes identified by the first to i-th two or more view axis attribute identifiers. Then, for each of one or more view aggregation attributes identified by the one or more view aggregation attribute identifiers acquired in step S402, the attribute values are aggregated to obtain the aggregation value.

(ステップS409)情報分析部18は、カウンタjを1、インクリメントする。ステップS407に戻る。   (Step S409) The information analysis unit 18 increments the counter j by 1. The process returns to step S407.

(ステップS410)情報分析部18は、カウンタiを1、インクリメントする。ステップS405に戻る。   (Step S410) The information analysis unit 18 increments the counter i by 1. The process returns to step S405.

(ステップS411)情報分析部18は、ステップS402で取得した1以上のビュー集計属性識別子で識別される1以上のビュー集計属性ごとに、総計を算出する。   (Step S411) The information analysis unit 18 calculates a total for each of one or more view aggregation attributes identified by the one or more view aggregation attribute identifiers acquired in Step S402.

(ステップS412)情報分析部18は、ピボットグラフを作成するか否かを判断する。ピボットグラフを作成する場合はステップS413に行き、ピボットグラフを作成しない場合は上位処理にリターンする。なお、例えば、情報分析指示に、ピボットグラフを作成するか否かを示すフラグが存在し、かかるフラグが存在する場合のみ、情報分析部18は、ピボットグラフを作成すると判断する。   (Step S412) The information analysis unit 18 determines whether or not to create a pivot graph. If a pivot graph is to be created, the process goes to step S413, and if no pivot graph is to be created, the process returns to the upper level process. For example, a flag indicating whether or not to create a pivot graph exists in the information analysis instruction, and the information analysis unit 18 determines to create a pivot graph only when such a flag exists.

(ステップS413)情報分析部18は、ピボットグラフの構造を構成する。情報分析部18は、通常、1以上のビュー軸属性識別子で識別される1以上のビュー軸属性の、1以上の属性値と、1以上のビュー集計属性識別子で識別される1以上のビュー集計属性の集計値とを用いて、ピボットグラフの構造を構成する。   (Step S413) The information analysis part 18 comprises the structure of a pivot graph. The information analysis unit 18 typically includes one or more view values of one or more view axis attributes identified by one or more view axis attribute identifiers, and one or more view aggregations identified by one or more view aggregation attribute identifiers. The structure of the pivot graph is constructed using the attribute aggregate value.

(ステップS414)情報分析部18は、1以上のビュー集計属性識別子で識別される1以上のビュー集計属性ごとに、1以上のビュー集計属性の集計値を用いて、グラフを生成する。上位処理にリターンする。   (Step S414) The information analysis unit 18 generates a graph using the total value of one or more view aggregation attributes for each of one or more view aggregation attributes identified by one or more view aggregation attribute identifiers. Return to upper process.

なお、図4のフローチャートにおいて、ピボット表を作成せずに、ピボットグラフのみを作成しても良い。   In the flowchart of FIG. 4, only the pivot graph may be created without creating the pivot table.

以下、本実施の形態における表情報処理装置1の具体的な動作について説明する。   Hereinafter, a specific operation of the table information processing apparatus 1 in the present embodiment will be described.

今、表格納部10は、図5に示す売上明細表を格納している。得意先別商品別売上明細表は、得意先別、かつ商品別の売上明細のレコードを有する表である。得意先別商品別売上明細表のレコードは「売上日付」「伝票No.」「得意先コード」「得意先略称」「商品コード」「商品名」「担当者コード」「担当者名」「税抜純売上高」「粗利益」「販売単価区分数量」「販売バラ数量」「単価」「倉庫名」「単位」を有する。   Now, the table storage unit 10 stores the sales schedule shown in FIG. The customer-specific sales details table for each product is a table having records of sales details for each customer and each product. The record of the sales schedule by product by customer is “sales date”, “slip number”, “customer code”, “customer abbreviation”, “product code”, “product name”, “person in charge code”, “person in charge name”, “tax” "Net sales" "Gross profit" "Sales unit price category quantity" "Sales rose quantity" "Unit price" "Warehouse name" "Unit".

また、候補識別子格納部11は、図6に示す候補識別子管理表を保持している。候補識別子管理表は、表やビューごとの、軸属性候補識別子および集計属性候補識別子を管理する表である。候補識別子管理表は、「ID」「表識別子」「軸属性候補識別子」「集計属性候補識別子」を有するレコードを1以上、格納している。「ID」はレコードを識別する情報である。「表識別子」は表を識別する情報であり、ここでは表名である。「軸属性候補識別子」は軸属性の候補を識別する情報である。「集計属性候補識別子」は集計属性の候補を識別する情報である。   The candidate identifier storage unit 11 holds a candidate identifier management table shown in FIG. The candidate identifier management table is a table for managing axis attribute candidate identifiers and aggregate attribute candidate identifiers for each table or view. The candidate identifier management table stores one or more records having “ID”, “table identifier”, “axis attribute candidate identifier”, and “total attribute candidate identifier”. “ID” is information for identifying a record. “Table identifier” is information for identifying a table, and here is a table name. The “axis attribute candidate identifier” is information for identifying an axis attribute candidate. The “total attribute candidate identifier” is information for identifying a total attribute candidate.

また、制約情報格納部12は、図7に示す制約情報管理表を保持している。制約情報管理表は、制約情報を管理する表であり、「ID」「制約情報」「表識別子」を有する1以上のレコードを格納している。「ID=1」の制約情報「「得意先略称」と「得意先コード」とは、両方選択できない。」は、軸属性として、「得意先略称」と「得意先コード」の両方を選択できないことである。制約情報「「得意先略称」と「得意先コード」とは、両方選択できない。」は、2以上の軸属性識別子で識別される2以上の軸属性の不適切な組み合わせに関する情報の例である。また、「ID=2」の制約情報「「担当者名」の下位の順序の位置に「部門名」を選択できない。」は、順位を有する2以上の軸属性の中で、「担当者名」の下位の順序の軸属性として「部門名」を選択できないことを示す。なお、制約情報「「担当者名」の下位の順序の位置に「部門名」を選択できない。」は、2以上の軸属性の不適切な順序に関する情報の例である。   Further, the constraint information storage unit 12 holds the constraint information management table shown in FIG. The constraint information management table is a table for managing constraint information, and stores one or more records having “ID”, “constraint information”, and “table identifier”. The constraint information ““ customer abbreviation ”and“ customer code ”of“ ID = 1 ”cannot be selected. "" Is that both "customer abbreviation" and "customer code" cannot be selected as axis attributes. Restriction information “customer abbreviation” and “customer code” cannot both be selected. "Is an example of information relating to an inappropriate combination of two or more axis attributes identified by two or more axis attribute identifiers. In addition, “department name” cannot be selected in the lower order position of the constraint information “person name” of “ID = 2”. “” Indicates that “department name” cannot be selected as an axis attribute in the order lower than “person in charge name” among two or more axis attributes having ranks. It should be noted that “department name” cannot be selected in the lower order position of the constraint information “person name”. "Is an example of information regarding an inappropriate order of two or more axis attributes.

また、ピボット情報格納部13は、例えば、図8に示すピボット情報管理表を保持している。ピボット情報管理表は、「パターンコード」「パターン名」「軸属性識別子」「集計属性識別子」を有する1以上のレコードを格納している。「パターンコード」は、ピボット情報を識別するIDである。「パターン名」は、ピボット情報の名称である。   The pivot information storage unit 13 holds, for example, a pivot information management table shown in FIG. The pivot information management table stores one or more records having “pattern code”, “pattern name”, “axis attribute identifier”, and “total attribute identifier”. “Pattern code” is an ID for identifying pivot information. The “pattern name” is the name of pivot information.

かかる状況において、ユーザは、表情報処理装置1に対して、以下の操作を行うことにより、ピボット表とピボットグラフとを得ることができる。   In such a situation, the user can obtain a pivot table and a pivot graph by performing the following operations on the table information processing apparatus 1.

まず、ユーザは、登録済みのピボット情報(集計パターンと言っても良い。)を選択するために、表情報処理装置1に対して、集計パターン選択画面の表示の指示を入力する。   First, the user inputs an instruction to display a total pattern selection screen to the table information processing apparatus 1 in order to select registered pivot information (may be referred to as a total pattern).

次に、受付部16は、集計パターン選択画面の表示の指示を受け付ける。そして、出力部19は、ピボット情報格納部13に格納されている1以上のピボット情報を読み出し、図9に示す集計パターン選択画面を出力する。   Next, the reception unit 16 receives an instruction to display the total pattern selection screen. Then, the output unit 19 reads one or more pieces of pivot information stored in the pivot information storage unit 13 and outputs a total pattern selection screen shown in FIG.

次に、ユーザは、パターンコード「5」のレコードを選択する(図9参照)。なお、パターンコード「5」は、得意先に応じてどのような商品が売れているのか把握するためのピボット情報であり、「得意先別商品別売上明細表」である。   Next, the user selects a record with the pattern code “5” (see FIG. 9). The pattern code “5” is pivot information for grasping what kind of product is sold according to the customer, and is “sales schedule by product by customer”.

そして、受付部16は、パターンコード「5」のレコードを選択するピボット選択指示を受け付ける。そして、蓄積部17は、ピボット選択指示に対応するピボット情報をピボット情報管理表から取得する。なお、このピボット情報を構成する軸属性識別子は「得意先略称」「商品名」である。   Then, the receiving unit 16 receives a pivot selection instruction for selecting a record with the pattern code “5”. Then, the storage unit 17 acquires pivot information corresponding to the pivot selection instruction from the pivot information management table. The axis attribute identifiers constituting the pivot information are “customer abbreviation” and “product name”.

次に、蓄積部17は、取得したピボット情報を、図示しないバッファに、少なくとも一時的に蓄積する。   Next, the storage unit 17 stores the acquired pivot information at least temporarily in a buffer (not shown).

また、出力部19は、蓄積部17がバッファに蓄積したピボット情報を用いた条件設定画面(図10参照)を出力する。なお、図10において、集計期間等の入力も可能である。   The output unit 19 outputs a condition setting screen (see FIG. 10) using the pivot information stored in the buffer by the storage unit 17. In FIG. 10, it is possible to input a totaling period or the like.

また、ユーザは、図10を用いて、軸属性識別子を入力することも可能である。例えば、ユーザが図11の(a)等の画面を用いて、軸属性識別子を入力する指示である選択指示を入力する、とする。   The user can also input an axis attribute identifier using FIG. For example, it is assumed that the user inputs a selection instruction, which is an instruction to input an axis attribute identifier, using the screen shown in FIG.

つまり、出力部19は、候補識別子管理表の1以上の軸属性候補識別子を読み出し、図11の(a)の画面を出力する。   That is, the output unit 19 reads one or more axis attribute candidate identifiers in the candidate identifier management table, and outputs the screen of FIG.

そして、ユーザは、第一項目(第一の軸属性識別子)として、「得意先略称」を選択した、とする(図11の(b)参照)。   Then, it is assumed that the user has selected “customer abbreviation” as the first item (first axis attribute identifier) (see FIG. 11B).

次に、出力部19は、図7の「ID=1」の制約情報「「得意先略称」と「得意先コード」とは、両方選択できない。」を取得する。そして、出力部19は、制約情報を使用し、「得意先略称」と共に選択できない「得意先コード」を、図11の(c)に示すように、軸属性の選択のためのメニューから削除する。なお、図11の(a)の画面では、メニュー項目「得意先コード」も表示されているが、図11の(c)の画面では、メニュー項目「得意先コード」は表示されていない。   Next, the output unit 19 cannot select both of the constraint information “customer abbreviation” and “customer code” of “ID = 1” in FIG. Is obtained. Then, using the constraint information, the output unit 19 deletes the “customer code” that cannot be selected together with the “customer abbreviation” from the menu for selecting the axis attribute, as shown in FIG. 11C. . Note that the menu item “customer code” is also displayed on the screen of FIG. 11A, but the menu item “customer code” is not displayed on the screen of FIG. 11C.

次に、ユーザは、第二項目(第二の軸属性識別子)として、「商品名」を選択した、とする(図11の(c)参照)。   Next, it is assumed that the user has selected “product name” as the second item (second axis attribute identifier) (see FIG. 11C).

すると、出力部19は、図12に示す2つの軸属性識別子(121)、3つの集計属性識別子(122)を出力する。この3つの集計属性識別子は、予め格納されていた、とする。   Then, the output unit 19 outputs two axis attribute identifiers (121) and three total attribute identifiers (122) shown in FIG. Assume that these three aggregate attribute identifiers are stored in advance.

次に、ユーザは、ピボット表で出力したい属性識別子を選択する。例えば、図13の画面を用いて、出力する属性識別子の候補の領域(131)から、132の領域に表示されている属性識別子を選択した、とする。そして、蓄積部17は、図示しないバッファに、出力する属性識別子「純売上高」「粗利益」「販売単位区分数量」「販売バラ数量」「単価」[倉庫名」「単位」を蓄積する。   Next, the user selects an attribute identifier to be output in the pivot table. For example, it is assumed that the attribute identifier displayed in the region 132 is selected from the region (131) of candidate attribute identifiers to be output using the screen of FIG. Then, the storage unit 17 stores the output attribute identifiers “net sales”, “gross profit”, “sales unit classification quantity”, “sales unit quantity”, “unit price”, “warehouse name”, and “unit” in a buffer (not shown).

以上により、図示しないバッファには、軸属性識別子「得意先略称」「商品名」、集計属性識別子「税抜純売上高」「粗利益」「販売バラ数量」、出力する属性識別子「純売上高」「粗利益」「販売単位区分数量」「販売バラ数量」「単価」[倉庫名」「単位」が蓄積されたこととなる。   As described above, the axis attribute identifiers “customer abbreviation” “product name”, aggregate attribute identifiers “net sales excluding tax” “gross profit” “sales volume”, and output attribute identifier “net sales” "Gross profit" "Sales unit category quantity" "Sales rose quantity" "Unit price" [Warehouse name] "Unit".

そして、ユーザは、情報分析指示を入力した、とする。すると、受付部16は、情報分析指示を受け付ける。   Then, it is assumed that the user has input an information analysis instruction. Then, the reception unit 16 receives an information analysis instruction.

次に、情報分析部18は、情報分析指示に対応する情報分析の対象が表である、と判断する。ここでは、図5の表が表示されている(カレントの表が図5の表である)ことから、情報分析指示に対応する情報分析の対象が表である、と判断する。   Next, the information analysis unit 18 determines that the information analysis target corresponding to the information analysis instruction is a table. Here, since the table of FIG. 5 is displayed (the current table is the table of FIG. 5), it is determined that the information analysis target corresponding to the information analysis instruction is a table.

次に、情報分析部18は、情報分析指示に対応する図5の表に対して情報分析処理を行う。つまり、情報分析部18は、バッファから、軸属性識別子「得意先略称」「商品名」、集計属性識別子「税抜純売上高」「粗利益」「販売バラ数量」、および出力する属性識別子「純売上高」「粗利益」「販売単位区分数量」「販売バラ数量」「単価」[倉庫名」「単位」を取得する。   Next, the information analysis unit 18 performs information analysis processing on the table of FIG. 5 corresponding to the information analysis instruction. That is, the information analysis unit 18 uses the axis attribute identifiers “customer abbreviation”, “product name”, aggregate attribute identifiers “net sales excluding tax”, “gross profit”, “sales volume”, and the output attribute identifier “from the buffer”. Acquire Net Sales, Gross Profit, Sales Unit Category Quantity, Sales Volume Quantity, Unit Price, Warehouse Name, and Unit.

次に、情報分析部18は、「得意先略称」および「商品名」の属性値の組み合わせごとに、「税抜純売上高」「粗利益」および「販売バラ数量」の属性値を集計する。そして、情報分析部18は、集計表を得る。また、情報分析部18は、集計表に対応する集計グラフを構成する。なお、集計表とは、ある属性値を集計した値を含む表であり、上述したピボット表(ピボットテーブル)と同じと考えても、ピボット表(ピボットテーブル)を含む広い概念であると考えても良い。また、集計グラフとは、集計表を用いて構成されるグラフである。   Next, the information analysis unit 18 aggregates the attribute values of “net sales excluding tax”, “gross profit”, and “sales sales quantity” for each combination of the attribute values of “customer abbreviation” and “product name”. . Then, the information analysis unit 18 obtains a summary table. Moreover, the information analysis part 18 comprises the total graph corresponding to a total table. Note that a summary table is a table that includes values obtained by summing up certain attribute values, and even though it is considered the same as the pivot table (pivot table) described above, it is considered to be a broad concept that includes a pivot table (pivot table). Also good. Moreover, a total graph is a graph comprised using a total table.

次に、出力部19は、かかる集計表または/および集計グラフを出力する。集計表の出力例は図14である。また、出力部19は、図15に示すように、集計表と集計グラフの両方を出力しても良い。なお、図14、図15は出力イメージである。   Next, the output unit 19 outputs the summary table or / and the summary graph. An output example of the tabulation table is shown in FIG. Moreover, the output part 19 may output both a total table and a total graph as shown in FIG. 14 and 15 are output images.

以上、本実施の形態によれば、表やビューからピボット表やピボットグラフを簡単に出力できる。   As described above, according to this embodiment, a pivot table and a pivot graph can be easily output from a table and a view.

また、本実施の形態によれば、軸属性の候補、集計属性の候補等を予め用意しておくことにより、表やビューからピボット表やピボットグラフを簡単に作成し、出力できる。   Also, according to the present embodiment, by preparing in advance axis attribute candidates, aggregation attribute candidates, and the like, a pivot table and a pivot graph can be easily created and output from a table and a view.

また、本実施の形態によれば、ピボット表の出力パターンを予め用意しておくことにより、表やビューからピボット表やピボットグラフを簡単に作成し、出力できる。   Further, according to the present embodiment, by preparing an output pattern of a pivot table in advance, it is possible to easily create and output a pivot table or a pivot graph from the table or view.

さらに、本実施の形態によれば、制約情報を用いることにより、表やビューから有用なピボット表や有用なピボットグラフを簡単に作成し、出力できる。   Furthermore, according to the present embodiment, it is possible to easily create and output a useful pivot table or a useful pivot graph from a table or view by using constraint information.

なお、本実施の形態において、その構造(表に含まれる1以上の属性)の全部または一部が予め決められている表である、例えば、元帳、対比表、推移表、人員構成表、勤怠支給控除一覧表、売上明細表などであることは好適である。構造の自由度が無い、または自由度が低い表の場合、ピボット表やピボットグラフを作成する場合、そのパターンは少ない。一方、既存技術を使用して、ピボット表やピボットグラフを作成することは、コンピュータ操作に不慣れなユーザは特に困難である。つまり、本発明は、特に、会計ソフト、業務基幹システムなどに使用される表を利用して、容易に高度な処理を、コンピュータ操作に不慣れなユーザでも可能にする技術である。   In the present embodiment, all or part of the structure (one or more attributes included in the table) is a predetermined table, for example, a ledger, a comparison table, a transition table, a staff composition table, an attendance table, etc. A supply deduction list, a sales schedule, and the like are preferable. In the case of a table with no structural freedom or a low degree of freedom, there are few patterns when creating a pivot table or a pivot graph. On the other hand, it is particularly difficult for a user unfamiliar with computer operation to create a pivot table or a pivot graph using existing technology. In other words, the present invention is a technique that enables a user who is not familiar with computer operations to easily perform advanced processing, particularly using tables used for accounting software, business backbone systems, and the like.

さらに、本実施の形態における処理は、ソフトウェアで実現しても良い。そして、このソフトウェアをソフトウェアダウンロード等により配布しても良い。また、このソフトウェアをCD−ROMなどの記録媒体に記録して流布しても良い。なお、このことは、本明細書における他の実施の形態においても該当する。なお、本実施の形態における情報処理装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータがアクセス可能な記録媒体は、表を構成する属性を識別する1以上の属性識別子を有するスキーマ情報と、当該表の1以上のレコードとを格納し得る表格納部と、前記1以上の属性識別子のうち、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である軸属性を識別する1以上の軸属性識別子、および前記1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する1以上の集計属性識別子を有するピボット情報を、予め格納しているピボット情報格納部とを具備し、コンピュータを、前記表を用いた分析結果情報を作成する指示である情報分析指示を受け付ける受付部と、
前記受付部が情報分析指示を受け付けた場合に、前記1以上の軸属性識別子で識別される属性を軸とし、前記1以上の集計属性識別子で識別される属性を集計対象の属性として、前記表の1以上のレコードおよび前記1以上の属性識別子を用いた分析結果情報を作成する情報分析部と、前記情報分析部が作成した分析結果情報を出力する出力部として機能させるためのプログラムである。
Furthermore, the processing in the present embodiment may be realized by software. Then, this software may be distributed by software download or the like. Further, this software may be recorded and distributed on a recording medium such as a CD-ROM. This also applies to other embodiments in this specification. Note that the software that implements the information processing apparatus according to the present embodiment is the following program. In other words, this program has a table storage unit capable of storing schema information having one or more attribute identifiers for identifying attributes constituting a table, and one or more records of the table, on a computer-accessible recording medium. Among the one or more attribute identifiers, one or more axis attribute identifiers that identify axis attributes that are attributes that serve as axes for creating analysis result information that is a pivot table or a pivot graph, and the one or more attribute identifiers A pivot information storage unit that stores in advance pivot information having one or more aggregation attribute identifiers that identify aggregation attributes that are attributes for which attribute values are to be aggregated. A reception unit that receives an information analysis instruction that is an instruction to create analysis result information used;
When the reception unit receives an information analysis instruction, the attribute identified by the one or more axis attribute identifiers is used as an axis, and the attribute identified by the one or more aggregation attribute identifiers is defined as an attribute to be aggregated. An information analysis unit that creates analysis result information using one or more records and the one or more attribute identifiers, and a program for functioning as an output unit that outputs analysis result information created by the information analysis unit.

また、記録媒体は、前記表から構成されるビューの属性を識別する1以上のビュー属性識別子を有するビュースキーマ情報と、当該ビューを構成するレコードを特定する情報である1以上のビューレコードとを格納し得るビュー格納部と、前記1以上のビュー属性識別子のうち、軸属性を特定する情報である1以上のビュー軸属性識別子、および集計属性を特定する情報である1以上のビュー集計属性識別子を有するビューピボット情報を格納し得るビューピボット情報格納部とをさらに具備し、上記プログラムにおいて、前記受付部は、前記ビューを用いた分析結果情報を作成する指示である情報分析指示を受け付け、前記情報分析部は、前記受付部が情報分析指示を受け付けた場合に、前記1以上のビュー軸属性識別子で識別される属性を軸とし、前記1以上のビュー集計属性識別子で識別される属性を集計対象の属性として、前記ビューの1以上のビューレコードおよび前記1以上のビュー属性識別子を用いた分析結果情報を作成するものとして、コンピュータを機能させることは好適である。   In addition, the recording medium includes view schema information having one or more view attribute identifiers for identifying attributes of a view configured from the table, and one or more view records that are information for specifying a record constituting the view. A view storage unit that can be stored, one or more view axis attribute identifiers that are information for specifying an axis attribute, and one or more view aggregation attribute identifiers that are information for specifying an aggregation attribute among the one or more view attribute identifiers A view pivot information storage unit that can store view pivot information, wherein in the program, the reception unit receives an information analysis instruction that is an instruction to create analysis result information using the view, and The information analysis unit is an attribute identified by the one or more view axis attribute identifiers when the reception unit receives an information analysis instruction. An analysis result information using one or more view records of the view and the one or more view attribute identifiers as an axis, and an attribute identified by the one or more view aggregation attribute identifiers as an attribute to be aggregated is created. It is preferable to make the computer function.

また、記録媒体は、前記ビュー軸属性識別子で識別されるビュー軸属性または前記軸属性となり得る属性値を識別する1以上の軸属性候補識別子、または前記ビュー集計属性識別子で識別されるビュー集計属性または前記集計属性となり得る属性値を識別する1以上の集計属性候補識別子、または1以上の軸属性候補識別子と1以上の集計属性候補識別子を格納し得る候補識別子格納部をさらに具備し、上記プログラムにおいて、前記受付部は、前記1以上の軸属性候補識別子、または前記1以上の軸属性候補識別子、または前記1以上の軸属性候補識別子と1以上の集計属性候補識別子から、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を選択する指示である選択指示をも受け付け、前記受付部が受け付けた選択指示に応じて、前記ピボット情報格納部、または前記ビューピボット情報格納部に、当該選択指示に対応する、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を蓄積する蓄積部として、コンピュータをさらに機能させることは好適である。   The recording medium may be a view axis attribute identified by the view axis attribute identifier, one or more axis attribute candidate identifiers that identify attribute values that can be the axis attributes, or a view aggregation attribute identified by the view aggregation attribute identifier The program further includes a candidate identifier storage unit that can store one or more aggregate attribute candidate identifiers that identify attribute values that can be the aggregate attributes, or one or more axis attribute candidate identifiers and one or more aggregate attribute candidate identifiers. In the above, the accepting unit may include one or more axis attribute candidates from the one or more axis attribute candidate identifiers, the one or more axis attribute candidate identifiers, or the one or more axis attribute candidate identifiers and the one or more aggregate attribute candidate identifiers. Identifier, or one or more aggregate attribute identifiers, or one or more axis attribute identifiers and one or more aggregate attribute identifiers, or one or more view axis attribute identifiers. A selection instruction that is an instruction to select a child, one or more view aggregation attribute identifiers, or one or more view axis attribute identifiers and one or more view aggregation attribute identifiers is also received, and the selection unit receives the selection instruction. In the pivot information storage unit or the view pivot information storage unit, one or more axis attribute identifiers, or one or more aggregation attribute identifiers, or one or more axis attribute identifiers and one or more aggregations corresponding to the selection instruction. Further causing the computer to function as an attribute identifier, or one or more view axis attribute identifiers, or one or more view aggregation attribute identifiers, or one or more view axis attribute identifiers and one or more view aggregation attribute identifiers. Is preferred.

また、上記プログラムにおいて、前記ビュー軸属性識別子は、ビュー軸属性に付加されたフラグを示す軸属性フラグであり、前記ビュー集計属性識別子は、ビュー集計属性に付加されたフラグを示す集計属性フラグであり、前記受付部は、前記ビューを構成する1以上のビュー属性識別子、1以上の軸属性フラグ、および1以上の集計属性フラグをも受け付け、前記ビュー格納部に格納されているビュースキーマ情報、および前記ビューピボット情報格納部に格納されている情報は、前記受付部が受け付けた情報であるものとして、コンピュータを機能させることは好適である。   In the above program, the view axis attribute identifier is an axis attribute flag indicating a flag added to the view axis attribute, and the view aggregation attribute identifier is an aggregation attribute flag indicating a flag added to the view aggregation attribute. And the reception unit also receives one or more view attribute identifiers, one or more axis attribute flags, and one or more aggregation attribute flags constituting the view, and view schema information stored in the view storage unit, In addition, it is preferable that the information stored in the view pivot information storage unit is information received by the reception unit, and the computer functions.

また、前記ピボット情報格納部は、1または2以上のピボット情報を、予め格納しており、上記プログラムにおいて、前記受付部は、前記1または2以上のピボット情報のうち、一のピボット情報の選択をする指示であるピボット選択指示を受け付け、
前記情報分析部は、前記ピボット選択指示に対応するピボット情報を用いて、分析結果情報を作成するものとして、コンピュータを機能させることは好適である。
The pivot information storage unit stores one or more pieces of pivot information in advance. In the program, the reception unit selects one piece of pivot information among the one or more pieces of pivot information. Accept the pivot selection instruction that is an instruction to
It is preferable that the information analysis unit causes the computer to function as creating analysis result information using pivot information corresponding to the pivot selection instruction.

また、上記プログラムにおいて、前記出力部は、前記ピボット情報格納部に2以上のピボット情報が格納されている場合のみ、当該2以上のピボット情報を選択するためのメニューを出力し、前記受付部は、前記メニューの中から、一のピボット情報の選択をする指示であるピボット選択指示を受け付けるものとして、コンピュータを機能させることは好適である。   In the above program, the output unit outputs a menu for selecting the two or more pieces of pivot information only when two or more pieces of pivot information are stored in the pivot information storage unit. It is preferable to make the computer function as receiving a pivot selection instruction that is an instruction for selecting one piece of pivot information from the menu.

また、記録媒体は、前記ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性間の制約に関する情報である制約情報を格納している制約情報格納部をさらに具備し、上記プログラムにおいて、前記ピボット情報が有する2以上の軸属性識別子は前記制約情報が示す制約に従った軸属性識別子であるものとして、コンピュータを機能させることは好適である。   The recording medium further includes a constraint information storage unit that stores constraint information that is information regarding constraints between two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information, In the above program, it is preferable to cause the computer to function on the assumption that the two or more axis attribute identifiers included in the pivot information are axis attribute identifiers according to the constraint indicated by the constraint information.

(実施の形態2)
本実施の形態において、表をファイルに書き込む場合に、表を構成する行の種類を取得し、その種類に応じて、行の表示属性値(背景色、文字色、罫線など)を変更して出力する表情報処理装置について説明する。なお、行の種類とは、例えば、集計の行、属性名の行、表に関する情報を出力する行などである。
(Embodiment 2)
In this embodiment, when a table is written to a file, the type of the row constituting the table is acquired, and the display attribute value (background color, character color, ruled line, etc.) of the row is changed according to the type. The table information processing apparatus to be output will be described. Note that the types of rows are, for example, tabulation rows, attribute name rows, rows that output information about tables, and the like.

図16は、本実施の形態における表情報処理装置2のブロック図である。表情報処理装置2は、表格納部10、候補識別子格納部11、制約情報格納部12、ピボット情報格納部13、ビュー格納部14、ビューピボット情報格納部15、受付部26、蓄積部17、情報分析部18、出力部19、名称格納部20、およびファイル出力部21を備える。   FIG. 16 is a block diagram of the table information processing apparatus 2 in the present embodiment. The table information processing apparatus 2 includes a table storage unit 10, a candidate identifier storage unit 11, a constraint information storage unit 12, a pivot information storage unit 13, a view storage unit 14, a view pivot information storage unit 15, a reception unit 26, a storage unit 17, The information analysis part 18, the output part 19, the name storage part 20, and the file output part 21 are provided.

また、ファイル出力部21は、行種類取得手段211、属性値設定手段212、およびファイル出力手段213を備える。   The file output unit 21 includes a line type acquisition unit 211, an attribute value setting unit 212, and a file output unit 213.

受付部26は、各種の指示やデータ等を受け付ける。受付部26は、通常、ユーザから指示やデータ等を受け付けるが、外部装置等から受け付けても良い。受付部26が受け付ける指示は、例えば、ファイル出力指示、情報分析指示、選択指示、ピボット選択指示等である。   The receiving unit 26 receives various instructions and data. The receiving unit 26 normally receives an instruction, data, or the like from the user, but may receive it from an external device or the like. The instructions received by the receiving unit 26 are, for example, a file output instruction, an information analysis instruction, a selection instruction, a pivot selection instruction, and the like.

ファイル出力指示とは、表またはビューまたはピボット表をファイルに書き込む指示である。また、ファイル出力指示は、通常、表またはビューまたはピボット表を識別する情報(表識別子など)を含む。   The file output instruction is an instruction to write a table, view, or pivot table to a file. In addition, the file output instruction usually includes information (table identifier or the like) for identifying a table, a view, or a pivot table.

なお、受付部26は、ビューを構成する1以上のビュー属性識別子、1以上の軸属性フラグ、および1以上の集計属性フラグをも受け付けても良い。   The receiving unit 26 may also receive one or more view attribute identifiers, one or more axis attribute flags, and one or more aggregate attribute flags that constitute a view.

ファイル出力指示等の入力手段は、キーボードやマウスやタッチパネルやメニュー画面によるもの等、何でも良い。受付部26は、キーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   Any input means such as a file output instruction may be used, such as a keyboard, mouse, touch panel, or menu screen. The accepting unit 26 can be realized by a device driver for input means such as a keyboard, control software for a menu screen, or the like.

名称格納部20は、表またはビューまたはピボット表に対応する名称である表名またはビュー名またはピボット表名を格納し得る。表名はスキーマ情報の一つと考えても良い。また、ビュー名はビュースキーマ情報の一つと考えても良い。   The name storage unit 20 may store a table name, a view name, or a pivot table name that is a name corresponding to the table, the view, or the pivot table. The table name may be considered as one piece of schema information. The view name may be considered as one of the view schema information.

名称格納部20は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。名称格納部20に表名等が記憶される過程は問わない。例えば、記録媒体を介して表名等が名称格納部20で記憶されるようになってもよく、通信回線等を介して送信された表名等が名称格納部20で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された表名等が名称格納部20で記憶されるようになってもよい。   The name storage unit 20 is preferably a nonvolatile recording medium, but can also be realized by a volatile recording medium. The process of storing the table name or the like in the name storage unit 20 does not matter. For example, a table name or the like may be stored in the name storage unit 20 via a recording medium, and a table name or the like transmitted via a communication line or the like is stored in the name storage unit 20. Alternatively, a table name or the like input via the input device may be stored in the name storage unit 20.

ファイル出力部21は、受付部26がファイル出力指示を受け付けた場合、表またはビューまたはピボット表を構成する行の種類を取得し、行の種類に応じて、行の表示属性値を異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力する。行の種類とは、集計行、属性名行、または名称行などである。集計行とは、行が有する属性値が、他の種類の行の対応する属性値を集計した値となる行である。属性名行とは、1以上の属性名を有する行である。名称行とは、表名またはビュー名またはピボット表名を有する行である。なお、表示属性値とは、当該行を他の行と視覚的に区別するための属性値であり、例えば、背景色、文字色、文字のフォント、文字サイズ、行の高さなどである。   When the receiving unit 26 receives a file output instruction, the file output unit 21 acquires the type of a row constituting the table, view, or pivot table, and changes the display attribute value of the row depending on the type of row. Output a table or view or pivot table to a file as a value. The row type is a total row, an attribute name row, a name row, or the like. The total row is a row in which the attribute value of the row is a value obtained by totaling the corresponding attribute values of other types of rows. An attribute name line is a line having one or more attribute names. A name row is a row having a table name, a view name, or a pivot table name. The display attribute value is an attribute value for visually distinguishing the line from other lines, and includes, for example, a background color, a character color, a character font, a character size, and a line height.

ファイル出力部21は、集計行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力することは好適である。また、ファイル出力部21は、属性名行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力することは好適である。さらに、ファイル出力部21は、名称行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、表またはビューまたはピボット表をファイルに出力することは好適である。   It is preferable that the file output unit 21 outputs the table, the view, or the pivot table to a file by setting the display attribute value of the total row to a display attribute value different from the display attribute value of other types of rows. Also, it is preferable that the file output unit 21 outputs the table, view, or pivot table to a file by setting the display attribute value of the attribute name line to a display attribute value different from the display attribute value of other types of lines. is there. Furthermore, it is preferable that the file output unit 21 outputs the table, view, or pivot table to a file by changing the display attribute value of the name line to a display attribute value different from the display attribute value of other types of lines. .

ファイル出力部21を構成する行種類取得手段211は、表またはビューまたはピボット表を構成する行の種類を取得する。行種類取得手段211は、例えば、「総計」「合計」「計」などの手がかり句を用いて、集計行であることを自動取得する。行種類取得手段211は、例えば、行の予め決められた特定の属性値が、「総計」「合計」または「計」
である場合、その行を集計行であると判断する。
The row type acquisition unit 211 constituting the file output unit 21 obtains the type of row constituting the table, view, or pivot table. For example, the row type acquisition unit 211 automatically acquires a summary row using a clue phrase such as “total”, “total”, and “total”. For example, the row type acquisition unit 211 may determine whether the predetermined specific attribute value of the row is “total”, “total”, or “total”.
If it is, it is determined that the row is a total row.

また、行種類取得手段211は、例えば、属性値を集計する式が格納されている属性値を含む行は、集計行であると判断しても良い。   Further, the line type acquisition unit 211 may determine that a line including an attribute value in which an expression for counting attribute values is stored is a total line.

また、行種類取得手段211は、例えば、スキーマ情報から1以上の属性識別子を取得し、1以上の各属性識別子に対応する1以上の属性名を含む行を検索し、当該行を属性名行であると判断する。   Also, the row type acquisition unit 211 acquires, for example, one or more attribute identifiers from the schema information, searches for a row including one or more attribute names corresponding to each of the one or more attribute identifiers, and searches the row for the attribute name row. It is judged that.

また、行種類取得手段211は、例えば、スキーマ情報から表名等を取得し名称行であることを自動取得する。   Also, the row type acquisition unit 211 acquires, for example, a table name from the schema information and automatically acquires the name row.

なお、行種類取得手段211が行の種類を取得するアルゴリズムは種々あり得、問わない。   There may be various algorithms for the line type acquisition unit 211 to acquire the line type, and it does not matter.

属性値設定手段212は、出力対象の表等の各行の表示属性値を、各行の種類に応じた表示属性値に設定する。表等とは、表、ビュー、またはピボット表である。なお、属性値設定手段212は、例えば、行の種類を識別する行種類識別子と、当該行の種類に対応する1以上の表示属性値との組の情報を、1組以上、保持している。そして、属性値設定手段212は、例えば、行種類取得手段211が取得した行種類識別子と対になる1以上の表示属性値を取得し、行に設定する。   The attribute value setting unit 212 sets the display attribute value of each row of the output target table or the like to a display attribute value corresponding to the type of each row. A table or the like is a table, view, or pivot table. Note that the attribute value setting unit 212 holds, for example, one or more sets of information of a set of a row type identifier for identifying the type of row and one or more display attribute values corresponding to the type of the row. . Then, the attribute value setting unit 212 acquires, for example, one or more display attribute values that are paired with the row type identifier acquired by the row type acquisition unit 211, and sets it to the row.

ファイル出力手段213は、属性値設定手段212が設定した行の表示属性値を付加した表等を、ファイルに出力する。表等をファイルに出力する処理は公知技術であるので詳細な説明を省略する。   The file output unit 213 outputs a table to which the display attribute value of the row set by the attribute value setting unit 212 is added to a file. Since the process of outputting a table or the like to a file is a known technique, a detailed description thereof will be omitted.

ファイル出力部21は、通常、MPUやメモリ等から実現され得る。ファイル出力部21の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The file output unit 21 can be usually realized by an MPU, a memory, or the like. The processing procedure of the file output unit 21 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

次に、表情報処理装置2の動作について、図17のフローチャートを用いて説明する。図17のフローチャートにおいて、表情報処理装置2の動作のうち、表情報処理装置1も行う動作の説明は省略する。   Next, operation | movement of the table | surface information processing apparatus 2 is demonstrated using the flowchart of FIG. In the flowchart of FIG. 17, the description of the operation performed by the table information processing apparatus 1 among the operations of the table information processing apparatus 2 is omitted.

(ステップS1701)受付部26は、ファイル出力指示を受け付けたか否かを判断する。ファイル出力指示を受け付ければステップS1702に行き、ファイル出力指示を受け付けなければステップS1701に戻る。   (Step S1701) The receiving unit 26 determines whether a file output instruction has been received. If a file output instruction is accepted, the process proceeds to step S1702, and if a file output instruction is not accepted, the process returns to step S1701.

(ステップS1702)ファイル出力部21は、ファイル出力指示に対応する表、またはビュー、またはピボット表を取得する。   (Step S1702) The file output unit 21 acquires a table, a view, or a pivot table corresponding to the file output instruction.

(ステップS1703)ファイル出力部21は、カウンタiに1を代入する。   (Step S1703) The file output unit 21 assigns 1 to the counter i.

(ステップS1704)ファイル出力部21は、ステップS1702で読み込んだ表等の中に、i番目の行が存在するか否かを判断する。i番目の行が存在すればステップS1705に行き、i番目の行が存在しなければステップS1709に行く。   (Step S1704) The file output unit 21 determines whether or not the i-th row exists in the table or the like read in Step S1702. If the i-th row exists, the process goes to step S1705. If the i-th line does not exist, the process goes to step S1709.

(ステップS1705)行種類取得手段211は、i番目の行の種類を決定し、行種類識別子を取得する。   (Step S1705) The row type acquisition unit 211 determines the type of the i-th row and acquires the row type identifier.

(ステップS1706)属性値設定手段212は、ステップS1705で取得した行種類識別子に対応する1以上の表示属性値を取得する。   (Step S1706) The attribute value setting unit 212 acquires one or more display attribute values corresponding to the row type identifier acquired in step S1705.

(ステップS1707)属性値設定手段212は、ステップS1706で取得した1以上の表示属性値を、i番目の行に設定する。なお、ステップS1706で表示属性値を取得できなかった場合、デフォルトの表示属性値をi番目の行に設定しても良いし、表示属性値をi番目の行に設定しなくても良い。   (Step S1707) The attribute value setting unit 212 sets one or more display attribute values acquired in step S1706 in the i-th row. If the display attribute value cannot be acquired in step S1706, the default display attribute value may be set in the i-th row, or the display attribute value may not be set in the i-th row.

(ステップS1708)ファイル出力部21は、カウンタiを1、インクリメントする。   (Step S1708) The file output unit 21 increments the counter i by one.

(ステップS1709)ファイル出力手段213は、属性値設定手段212が設定した行の表示属性値を付加した表等を、ファイルに出力する。ステップS1701に戻る。   (Step S1709) The file output unit 213 outputs a table to which the display attribute value of the row set by the attribute value setting unit 212 is added to a file. The process returns to step S1701.

なお、図17のフローチャートにおいて、予め決められた行の種類(例えば、集計行と属性名行など)に該当する行のみを、2以上の行から検知して、当該検知した行に、行の種類に対応する1以上の表示属性値を設定しても良い。   In the flowchart of FIG. 17, only lines corresponding to a predetermined line type (for example, a total line and an attribute name line) are detected from two or more lines, and the line One or more display attribute values corresponding to the type may be set.

また、図17のフローチャートにおいて、ステップS1706で、行種類識別子に対応する1以上の表示属性値が取得できない場合、ステップS1707の処理は行わない。   In the flowchart of FIG. 17, if one or more display attribute values corresponding to the row type identifier cannot be acquired in step S1706, the process of step S1707 is not performed.

さらに、図17のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   Further, in the flowchart of FIG. 17, the process is terminated by powering off or a process termination interrupt.

以下、本実施の形態における表情報処理装置2の具体的な動作について説明する。   Hereinafter, a specific operation of the table information processing apparatus 2 in the present embodiment will be described.

今、属性値設定手段212は、図18に示す表示属性値設定ルール管理表を保持している。表示属性値設定ルール管理表は、「ID」「行種類識別子」「表示属性値」を有するレコードを1以上、管理している。   Now, the attribute value setting means 212 holds the display attribute value setting rule management table shown in FIG. The display attribute value setting rule management table manages one or more records having “ID”, “row type identifier”, and “display attribute value”.

また、実施の形態1の具体例において作成したピボット表(図19)が表格納部10に格納されている、とする。また、カレントの表が図19のピボット表である、とする。   Further, it is assumed that the pivot table (FIG. 19) created in the specific example of the first embodiment is stored in the table storage unit 10. Further, it is assumed that the current table is the pivot table of FIG.

そして、ユーザは、図19のピボット表に対して、ファイル出力指示を入力した、とする。次に、受付部26は、図19のピボット表のファイル出力指示を受け付ける。   Then, it is assumed that the user inputs a file output instruction to the pivot table of FIG. Next, the reception unit 26 receives a file output instruction of the pivot table of FIG.

次に、行種類取得手段211は、保持している手がかり句「総計」「合計」「計」のいずれかを含む行を、図19のピボット表から検索する。そして、191の行が「総計」を含むので、集計行であると判断する。   Next, the row type acquisition unit 211 searches the pivot table of FIG. 19 for a row including any of the clue phrases “total”, “total”, and “total” that are held. Since the line 191 includes “total”, it is determined that the line is a total line.

次に、属性値設定手段212は、行種類識別子「集計行」に対応する表示属性値「背景色=blue」を取得する。そして、属性値設定手段212は、取得した表示属性値「背景色=blue」を、191の行に設定する。   Next, the attribute value setting unit 212 acquires the display attribute value “background color = blue” corresponding to the row type identifier “total row”. Then, the attribute value setting unit 212 sets the acquired display attribute value “background color = blue” in the line 191.

次に、行種類取得手段211は、表格納部10から、図19のピボット表の属性名の情報を取得する。取得された属性名の情報は、「行ラベル」「合計/税抜純売上高」「合計/粗利益」「合計/販売バラ数量」である。行種類取得手段211は、かかる属性名の情報を含む行を、図19のピボット表から検索する。そして、192の行が属性名行であると判断する。   Next, the row type acquisition unit 211 acquires the attribute name information of the pivot table in FIG. 19 from the table storage unit 10. The information of the acquired attribute name is “row label”, “total / net sales excluding tax”, “total / gross profit”, “total / sales quantity sold”. The line type acquisition unit 211 searches the pivot table of FIG. 19 for a line including the attribute name information. Then, it is determined that the line 192 is an attribute name line.

次に、属性値設定手段212は、行種類識別子「属性名行」に対応する表示属性値「背景色=blue,fontcolor=red」を取得する。そして、属性値設定手段212は、取得した表示属性値「背景色=blue,fontcolor=red」を、192の行に設定する。   Next, the attribute value setting unit 212 acquires the display attribute value “background color = blue, fontcolor = red” corresponding to the row type identifier “attribute name row”. Then, the attribute value setting unit 212 sets the acquired display attribute value “background color = blue, fontcolor = red” in the row 192.

次に、行種類取得手段211は、名称格納部20から図19のピボット表の名称「得意先別商品別売上明細表」を取得する。そして、行種類取得手段211は、「得意先別商品別売上明細表」を含む行を、図19のピボット表から検索する。そして、193の行が名称行であると判断する。   Next, the row type obtaining unit 211 obtains the name “sales by product by customer” in the pivot table of FIG. 19 from the name storage unit 20. Then, the row type acquisition unit 211 searches the pivot table of FIG. 19 for a row including the “customer-specific product-specific sales schedule”. Then, it is determined that the line 193 is a name line.

次に、属性値設定手段212は、行種類識別子「名称行」に対応する表示属性値「fontsize=18,underline」を取得する。そして、属性値設定手段212は、取得した表示属性値「fontsize=18,underline」を、193の行に設定する。   Next, the attribute value setting unit 212 acquires the display attribute value “fontsize = 18, underline” corresponding to the row type identifier “name line”. Then, the attribute value setting unit 212 sets the acquired display attribute value “fontsize = 18, underline” in the line 193.

次に、ファイル出力手段213は、属性値設定手段212が設定した行の表示属性値を付加した表等を、ファイルに出力する。出力されたファイルを表示させた際の表示例が図20である。図20において、集計行、属性名行、および名称行が、他の行と視覚的に区別しえるように、他の行と異なる表示属性値が設定されている。   Next, the file output unit 213 outputs a table to which the display attribute value of the row set by the attribute value setting unit 212 is added to a file. A display example when the output file is displayed is shown in FIG. In FIG. 20, display attribute values different from other lines are set so that the total line, the attribute name line, and the name line can be visually distinguished from the other lines.

以上、本実施の形態によれば、表やビューをファイルに出力した場合に、見やすい表を得ることができる。   As described above, according to the present embodiment, when a table or view is output to a file, an easily viewable table can be obtained.

なお、本実施の形態において、表情報処理装置2は、表をファイルに書き込む場合に、表を構成する行の種類を取得し、その種類に応じて、行の表示属性値を変更して出力する機能のみを有しても良い。かかる場合、表情報処理装置2のブロック図は、図21である。かかる表情報処理装置2は、表格納部10、受付部26、およびファイル出力部21を備える。表格納部10は、1以上のレコードを有する表を格納し得る。   In the present embodiment, when the table information processing apparatus 2 writes a table to a file, the table information processing apparatus 2 acquires the types of rows constituting the table, changes the display attribute values of the rows according to the types, and outputs them. It may have only the function to do. In this case, the block diagram of the table information processing apparatus 2 is FIG. The table information processing apparatus 2 includes a table storage unit 10, a reception unit 26, and a file output unit 21. The table storage unit 10 can store a table having one or more records.

なお、本実施の形態における表情報処理装置2を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータがアクセス可能な記録媒体は、表を構成する属性を識別する1以上の属性識別子を有するスキーマ情報と、当該表の1以上のレコードとを格納し得る表格納部を具備し、コンピュータを、表をファイルに書き込む指示であるファイル出力指示を受け付ける受付部と、前記受付部がファイル出力指示を受け付けた場合、前記表を構成する行の種類を取得し、当該行の種類に応じて、行の表示属性値を異なる表示属性値にして、前記表をファイルに出力するファイル出力部として機能させるためのプログラムである。   Note that the software that implements the table information processing apparatus 2 in the present embodiment is the following program. In other words, this program stores a table storage unit that can store schema information having one or more attribute identifiers for identifying attributes constituting a table and one or more records of the table, on a computer-accessible recording medium. A reception unit that receives a file output instruction that is an instruction to write a table to a file; and when the reception unit receives a file output instruction, obtains a type of a row that constitutes the table, A program for functioning as a file output unit for outputting the table to a file by changing the display attribute value of a row depending on the type.

また、上記プログラムにおいて、前記受付部は、表またはビューまたはピボット表をファイルに書き込む指示であるファイル出力指示をも受け付け、前記ファイル出力部は、前記受付部がファイル出力指示を受け付けた場合、前記表または前記ビューまたは前記ピボット表を構成する行の種類を取得し、当該行の種類に応じて、行の表示属性値を異なる表示属性値にして、前記表または前記ビューまたは前記ピボット表をファイルに出力するものとして、コンピュータを機能させることは好適である。   In the above program, the accepting unit also accepts a file output instruction that is an instruction to write a table, a view, or a pivot table into a file, and the file output unit receives the file output instruction when the accepting unit accepts the file output instruction, Get the types of rows that make up the table, view, or pivot table, and change the display attribute value of the row to a different display attribute value according to the row type, and then file the table, view, or pivot table It is preferable to make a computer function as what is output to the computer.

また、上記プログラムにおいて、前記行の種類は、当該行が有する属性値が、他の種類の行の対応する属性値を集計した属性値となる行の種類である集計行を含み、前記ファイル出力部は、前記集計行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、前記表または前記ビューまたは前記ピボット表をファイルに出力するものとして、コンピュータを機能させることは好適である。   Further, in the above program, the type of the line includes an aggregation line in which an attribute value of the line is an attribute value obtained by totaling attribute values corresponding to other types of lines, and the file output The display attribute value of the aggregate row is different from the display attribute value of other types of rows, and the table or the view or the pivot table is output to a file as a computer function. It is suitable to make it.

また、上記プログラムにおいて、前記行の種類は、1以上の属性名を有する行の種類である属性名行を含み、前記ファイル出力部は、前記属性名行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、前記表または前記ビューまたは前記ピボット表をファイルに出力するものとして、コンピュータを機能させることは好適である。   In the above program, the line type includes an attribute name line that is a line type having one or more attribute names, and the file output unit converts the display attribute value of the attribute name line to another type. It is preferable to make the computer function as a display attribute value different from the row display attribute value and outputting the table, the view, or the pivot table to a file.

また、記憶媒体は、前記表またはビューまたは前記ピボット表に対応する名称である表名またはビュー名またはピボット表名を格納し得る名称格納部をさらに具備し、上記プログラムにおいて、前記ファイル出力部がファイルに出力する前記表または前記ビューまたは前記ピボット表は、前記表名または前記ビュー名または前記ピボット表名を有し、前記行の種類は、前記表名または前記ビュー名または前記ピボット表名を有する行の種類である名称行を含み、前記ファイル出力部は、前記名称行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、前記表またはビューまたは前記ピボット表をファイルに出力するものとして、コンピュータを機能させることは好適である。
また、上記実施の形態で述べたピボット表とは、集計表と言い換えても良い。また、集計表は、上述したように、ある属性値を集計した値を含む表であり、ピボット表を含む広い概念であると考えても良い。さらに、ピボットグラフも集計グラフと言い換えても良い。なお、上述したように、集計グラフとは、集計表を用いて構成されるグラフである。
The storage medium further includes a name storage unit that can store a table name, a view name, or a pivot table name that is a name corresponding to the table, the view, or the pivot table. In the program, the file output unit includes: The table or the view or the pivot table to be output to a file has the table name or the view name or the pivot table name, and the row type is the table name or the view name or the pivot table name. The file output unit includes a display attribute value different from a display attribute value of another type of line, and the table or view or It is preferable to make the computer function as outputting the pivot table to a file.
Further, the pivot table described in the above embodiment may be rephrased as an aggregation table. Further, as described above, the tabulation table is a table including values obtained by tabulating certain attribute values, and may be considered as a broad concept including a pivot table. Furthermore, the pivot graph may be rephrased as an aggregate graph. As described above, the aggregate graph is a graph configured using an aggregate table.

また、図22は、本明細書で述べたプログラムを実行して、上述した種々の実施の形態の表情報処理装置を実現するコンピュータの外観を示す。上述の実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムで実現され得る。図22は、このコンピュータシステム300の概観図であり、図23は、システム300のブロック図である。   FIG. 22 shows the external appearance of a computer that executes the programs described in this specification to realize the table information processing apparatus according to various embodiments described above. The above-described embodiments can be realized by computer hardware and a computer program executed thereon. FIG. 22 is an overview diagram of the computer system 300, and FIG. 23 is a block diagram of the system 300.

図22において、コンピュータシステム300は、CD−ROMドライブを含むコンピュータ301と、キーボード302と、マウス303と、モニタ304とを含む。   In FIG. 22, a computer system 300 includes a computer 301 including a CD-ROM drive, a keyboard 302, a mouse 303, and a monitor 304.

図23において、コンピュータ301は、CD−ROMドライブ3012に加えて、MPU3013と、バス3014と、ROM3015と、RAM3016と、ハードディスク3017とを含む。なお、バス3014は、MPU3013やCD−ROMドライブ3012に接続されている。また、ROM3015には、ブートアッププログラム等のプログラムが記憶されている。また、RAM3016は、MPU3013に接続され、アプリケーションプログラムの命令を一時的に記憶するとともに一時記憶空間を提供するためのものである。また、ハードディスク3017は、アプリケーションプログラム、システムプログラム、及びデータを記憶するためのものである。ここでは、図示しないが、コンピュータ301は、さらに、LANへの接続を提供するネットワークカードを含んでも良い。   In FIG. 23, a computer 301 includes an MPU 3013, a bus 3014, a ROM 3015, a RAM 3016, and a hard disk 3017 in addition to a CD-ROM drive 3012. The bus 3014 is connected to the MPU 3013 and the CD-ROM drive 3012. The ROM 3015 stores a program such as a bootup program. The RAM 3016 is connected to the MPU 3013 and temporarily stores application program instructions and provides a temporary storage space. The hard disk 3017 is for storing application programs, system programs, and data. Although not shown here, the computer 301 may further include a network card that provides connection to a LAN.

コンピュータシステム300に、上述した実施の形態の表情報処理装置の機能を実行させるプログラムは、CD−ROM3101に記憶されて、CD−ROMドライブ3012に挿入され、さらにハードディスク3017に転送されても良い。これに代えて、プログラムは、図示しないネットワークを介してコンピュータ301に送信され、ハードディスク3017に記憶されても良い。プログラムは実行の際にRAM3016にロードされる。プログラムは、CD−ROM3101またはネットワークから直接、ロードされても良い。   A program that causes the computer system 300 to execute the functions of the table information processing apparatus according to the above-described embodiment may be stored in the CD-ROM 3101, inserted into the CD-ROM drive 3012, and further transferred to the hard disk 3017. Alternatively, the program may be transmitted to the computer 301 via a network (not shown) and stored in the hard disk 3017. The program is loaded into the RAM 3016 at the time of execution. The program may be loaded directly from the CD-ROM 3101 or the network.

プログラムは、コンピュータ301に、上述した実施の形態の表情報処理装置の機能を実行させるオペレーティングシステム、またはサードパーティープログラム等は、必ずしも含まなくても良い。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいれば良い。コンピュータシステム300がどのように動作するかは周知であり、詳細な説明は省略する。   The program does not necessarily include an operating system or a third-party program that causes the computer 301 to execute the functions of the table information processing apparatus according to the above-described embodiment. The program only needs to include an instruction portion that calls an appropriate function (module) in a controlled manner and obtains a desired result. How the computer system 300 operates is well known and will not be described in detail.

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

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

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

以上のように、本発明にかかる表情報処理装置は、表からピボット表やピボットグラフを簡単に作成できる、という効果を有し、会計ソフト等として有用である。   As described above, the table information processing apparatus according to the present invention has an effect that a pivot table and a pivot graph can be easily created from a table, and is useful as accounting software.

1、2 表情報処理装置
10 表格納部
11 候補識別子格納部
12 制約情報格納部
13 ピボット情報格納部
14 ビュー格納部
15 ビューピボット情報格納部
16、26 受付部
17 蓄積部
18 情報分析部
19 出力部
20 名称格納部
21 ファイル出力部
211 行種類取得手段
212 属性値設定手段
213 ファイル出力手段
DESCRIPTION OF SYMBOLS 1, 2 Table information processing apparatus 10 Table storage part 11 Candidate identifier storage part 12 Restriction information storage part 13 Pivot information storage part 14 View storage part 15 View pivot information storage part 16, 26 Reception part 17 Accumulation part 18 Information analysis part 19 Output Section 20 Name storage section 21 File output section 211 Line type acquisition means 212 Attribute value setting means 213 File output means

Claims (15)

表を構成する属性を識別する1以上の属性識別子を有するスキーマ情報と、当該表の1以上のレコードとを格納し得る表格納部と、
前記1以上の属性識別子のうち、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である軸属性を識別する1以上の軸属性識別子、および前記1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する1以上の集計属性識別子を有するピボット情報を、予め格納しているピボット情報格納部と、
前記表を用いた分析結果情報を作成する指示である情報分析指示を受け付ける受付部と、
前記受付部が情報分析指示を受け付けた場合に、前記1以上の軸属性識別子で識別される属性を軸とし、前記1以上の集計属性識別子で識別される属性を集計対象の属性として、前記表の1以上のレコードおよび前記1以上の属性識別子を用いた分析結果情報を作成する情報分析部と、
前記情報分析部が作成した分析結果情報を出力する出力部とを具備する表情報処理装置。
A table storage unit that can store schema information having one or more attribute identifiers for identifying attributes constituting the table, and one or more records of the table;
Of the one or more attribute identifiers, one or more axis attribute identifiers that identify axis attributes that are attributes that serve as axes for creating analysis result information that is a pivot table or a pivot graph, and the one or more attribute identifiers Among them, a pivot information storage unit that stores in advance pivot information having one or more aggregation attribute identifiers that identify aggregation attributes that are attributes for which attribute values are aggregated;
A reception unit that receives an information analysis instruction that is an instruction to create analysis result information using the table;
When the reception unit receives an information analysis instruction, the attribute identified by the one or more axis attribute identifiers is used as an axis, and the attribute identified by the one or more aggregation attribute identifiers is defined as an attribute to be aggregated. An information analysis unit that creates analysis result information using the one or more records and the one or more attribute identifiers;
A table information processing apparatus comprising: an output unit that outputs analysis result information created by the information analysis unit.
前記表から構成されるビューの属性を識別する1以上のビュー属性識別子を有するビュースキーマ情報と、当該ビューを構成するレコードを特定する情報である1以上のビューレコードとを格納し得るビュー格納部と、
前記1以上のビュー属性識別子のうち、軸属性を特定する情報である1以上のビュー軸属性識別子、および集計属性を特定する情報である1以上のビュー集計属性識別子を有するビューピボット情報を格納し得るビューピボット情報格納部とをさらに具備し、
前記受付部は、
前記ビューを用いた分析結果情報を作成する指示である情報分析指示を受け付け、
前記情報分析部は、
前記受付部が情報分析指示を受け付けた場合に、前記1以上のビュー軸属性識別子で識別される属性を軸とし、前記1以上のビュー集計属性識別子で識別される属性を集計対象の属性として、前記ビューの1以上のビューレコードおよび前記1以上のビュー属性識別子を用いた分析結果情報を作成する請求項1記載の表情報処理装置。
A view storage unit capable of storing view schema information having one or more view attribute identifiers for identifying attributes of a view configured from the table, and one or more view records that are information for specifying records constituting the view When,
Of the one or more view attribute identifiers, one or more view axis attribute identifiers that are information for specifying an axis attribute, and one or more view aggregation attribute identifiers that are information for specifying an aggregation attribute are stored. A view pivot information storage unit to obtain,
The reception unit
Accept an information analysis instruction that is an instruction to create analysis result information using the view,
The information analysis unit
When the reception unit receives an information analysis instruction, the attribute identified by the one or more view axis attribute identifiers is used as an axis, and the attribute identified by the one or more view aggregation attribute identifiers is an attribute to be aggregated. The table information processing apparatus according to claim 1, wherein analysis result information using one or more view records of the view and the one or more view attribute identifiers is created.
前記ビュー軸属性識別子で識別されるビュー軸属性または前記軸属性となり得る属性値を識別する1以上の軸属性候補識別子、または前記ビュー集計属性識別子で識別されるビュー集計属性または前記集計属性となり得る属性値を識別する1以上の集計属性候補識別子、または1以上の軸属性候補識別子と1以上の集計属性候補識別子を格納し得る候補識別子格納部をさらに具備し、
前記受付部は、
前記1以上の軸属性候補識別子、または前記1以上の軸属性候補識別子、または前記1以上の軸属性候補識別子と1以上の集計属性候補識別子から、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を選択する指示である選択指示をも受け付け、
前記受付部が受け付けた選択指示に応じて、前記ピボット情報格納部、または前記ビューピボット情報格納部に、当該選択指示に対応する、1以上の軸属性識別子、または1以上の集計属性識別子、または1以上の軸属性識別子と1以上の集計属性識別子、または1以上のビュー軸属性識別子、または1以上のビュー集計属性識別子、または1以上のビュー軸属性識別子と1以上のビュー集計属性識別子を蓄積する蓄積部をさらに具備する請求項1または請求項2記載の表情報処理装置。
One or more axis attribute candidate identifiers for identifying a view axis attribute identified by the view axis attribute identifier or an attribute value that can be the axis attribute, or a view aggregation attribute or the aggregation attribute identified by the view aggregation attribute identifier A candidate identifier storage unit that can store one or more aggregate attribute candidate identifiers for identifying attribute values, or one or more axis attribute candidate identifiers and one or more aggregate attribute candidate identifiers;
The reception unit
From the one or more axis attribute candidate identifiers, or the one or more axis attribute candidate identifiers, or from the one or more axis attribute candidate identifiers and the one or more aggregation attribute candidate identifiers, one or more axis attribute identifiers, or one or more aggregations Attribute identifier, or one or more axis attribute identifiers and one or more aggregation attribute identifiers, or one or more view axis attribute identifiers, or one or more view aggregation attribute identifiers, or one or more view axis attribute identifiers and one or more view aggregations Also accepts a selection instruction that is an instruction to select an attribute identifier,
In response to the selection instruction received by the reception unit, the pivot information storage unit or the view pivot information storage unit has one or more axis attribute identifiers or one or more aggregate attribute identifiers corresponding to the selection instruction, or Accumulate one or more axis attribute identifiers and one or more aggregate attribute identifiers, or one or more view axis attribute identifiers, or one or more view aggregate attribute identifiers, or one or more view axis attribute identifiers and one or more view aggregate attribute identifiers The table information processing apparatus according to claim 1, further comprising a storage unit configured to perform the storage.
前記ビュー軸属性識別子は、ビュー軸属性に付加されたフラグを示す軸属性フラグであり、
前記ビュー集計属性識別子は、ビュー集計属性に付加されたフラグを示す集計属性フラグであり、
前記受付部は、
前記ビューを構成する1以上のビュー属性識別子、1以上の軸属性フラグ、および1以上の集計属性フラグをも受け付け、
前記ビュー格納部に格納されているビュースキーマ情報、および前記ビューピボット情報格納部に格納されている情報は、
前記受付部が受け付けた情報である請求項1から請求項3いずれか一項に記載の表情報処理装置。
The view axis attribute identifier is an axis attribute flag indicating a flag added to the view axis attribute,
The view aggregation attribute identifier is an aggregation attribute flag indicating a flag added to the view aggregation attribute,
The reception unit
Also accepts one or more view attribute identifiers, one or more axis attribute flags, and one or more aggregate attribute flags constituting the view,
The view schema information stored in the view storage unit and the information stored in the view pivot information storage unit are:
The table information processing apparatus according to claim 1, wherein the information is received by the receiving unit.
前記ピボット情報格納部は、
1または2以上のピボット情報を、予め格納しており、
前記受付部は、
前記1または2以上のピボット情報のうち、一のピボット情報の選択をする指示であるピボット選択指示を受け付け、
前記情報分析部は、
前記ピボット選択指示に対応するピボット情報を用いて、分析結果情報を作成する請求項1から請求項4いずれか一項に記載の表情報処理装置。
The pivot information storage unit
One or more pivot information is stored in advance,
The reception unit
Accepting a pivot selection instruction that is an instruction to select one of the one or more pieces of pivot information,
The information analysis unit
The table information processing apparatus according to any one of claims 1 to 4, wherein the analysis result information is created by using pivot information corresponding to the pivot selection instruction.
前記出力部は、
前記ピボット情報格納部に2以上のピボット情報が格納されている場合のみ、当該2以上のピボット情報を選択するためのメニューを出力し、
前記受付部は、
前記メニューの中から、一のピボット情報の選択をする指示であるピボット選択指示を受け付ける請求項5記載の表情報処理装置。
The output unit is
Only when two or more pieces of pivot information are stored in the pivot information storage unit, a menu for selecting the two or more pieces of pivot information is output.
The reception unit
6. The table information processing apparatus according to claim 5, wherein a pivot selection instruction that is an instruction to select one piece of pivot information from the menu is received.
前記ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性間の制約に関する情報である制約情報を格納している制約情報格納部をさらに具備し、
前記ピボット情報が有する2以上の軸属性識別子は前記制約情報が示す制約に従った軸属性識別子である請求項1から請求項6いずれか一項に記載の表情報処理装置。
A constraint information storage unit that stores constraint information that is information regarding constraints between two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information;
7. The table information processing apparatus according to claim 1, wherein the two or more axis attribute identifiers included in the pivot information are axis attribute identifiers according to a constraint indicated by the constraint information.
前記制約情報は、
前記ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性の不適切または適切な組み合わせに関する情報である請求項7記載の表情報処理装置。
The constraint information is
8. The table information processing apparatus according to claim 7, wherein the table information processing apparatus is information relating to an inappropriate or appropriate combination of two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information.
前記ピボット情報に含まれる2以上の軸属性識別子の、少なくとも一部は順序を有し、
前記制約情報は、
前記ピボット情報に含まれる2以上の軸属性識別子で識別される2以上の軸属性の不適切または適切な順序に関する情報である請求項7記載の表情報処理装置。
At least a part of two or more axis attribute identifiers included in the pivot information has an order,
The constraint information is
8. The table information processing apparatus according to claim 7, wherein the table information processing apparatus is information related to an inappropriate or appropriate order of two or more axis attributes identified by two or more axis attribute identifiers included in the pivot information.
前記受付部は、
前記表または前記ビューまたは前記ピボット表をファイルに書き込む指示であるファイル出力指示をも受け付け、
前記受付部がファイル出力指示を受け付けた場合、前記表または前記ビューまたは前記ピボット表を構成する行の種類を取得し、当該行の種類に応じて、行の表示属性値を異なる表示属性値にして、前記表または前記ビューまたは前記ピボット表をファイルに出力するファイル出力部をさらに具備する請求項1から請求項9いずれか一項に記載の表情報処理装置。
The reception unit
Also accepts a file output instruction that is an instruction to write the table or the view or the pivot table to a file,
When the accepting unit accepts a file output instruction, the type of the row constituting the table, the view, or the pivot table is acquired, and the display attribute value of the row is set to a different display attribute value according to the type of the row. The table information processing apparatus according to claim 1, further comprising a file output unit that outputs the table, the view, or the pivot table to a file.
前記行の種類は、当該行が有する属性値が、他の種類の行の対応する属性値を集計した属性値となる行の種類である集計行を含み、
前記ファイル出力部は、
前記集計行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、前記表または前記ビューまたは前記ピボット表をファイルに出力する請求項10記載の表情報処理装置。
The type of the row includes a total row that is a type of a row in which the attribute value of the row is an attribute value obtained by totaling the corresponding attribute values of other types of rows,
The file output unit
The table information processing apparatus according to claim 10, wherein the display attribute value of the aggregate row is set to a display attribute value different from the display attribute value of another type of row, and the table, the view, or the pivot table is output to a file. .
前記行の種類は、1以上の属性名を有する行の種類である属性名行を含み、
前記ファイル出力部は、
前記属性名行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、前記表または前記ビューまたは前記ピボット表をファイルに出力する請求項10または請求項11記載の表情報処理装置。
The row type includes an attribute name row that is a row type having one or more attribute names;
The file output unit
12. The display attribute value of the attribute name row is set to a display attribute value different from the display attribute value of another type of row, and the table or the view or the pivot table is output to a file. Table information processing device.
前記表またはビューまたは前記ピボット表に対応する名称である表名またはビュー名またはピボット表名を格納し得る名称格納部をさらに具備し、
前記ファイル出力部がファイルに出力する前記表または前記ビューまたは前記ピボット表は、前記表名または前記ビュー名または前記ピボット表名を有し、
前記行の種類は、前記表名または前記ビュー名または前記ピボット表名を有する行の種類である名称行を含み、
前記ファイル出力部は、
前記名称行の表示属性値を、他の種類の行の表示属性値と、異なる表示属性値にして、前記表またはビューまたは前記ピボット表をファイルに出力する請求項10から請求項12いずれか一項に記載の表情報処理装置。
A name storage unit that can store a table name, a view name, or a pivot table name corresponding to the table, the view, or the pivot table;
The table or the view or the pivot table that the file output unit outputs to a file has the table name or the view name or the pivot table name,
The row type includes a name row that is a row type having the table name or the view name or the pivot table name,
The file output unit
The display attribute value of the name row is set to a display attribute value different from the display attribute value of other types of rows, and the table or view or the pivot table is output to a file. Table information processing apparatus according to item.
記録媒体は、
表を構成する属性を識別する1以上の属性識別子を有するスキーマ情報と、当該表の1以上のレコードとを格納し得る表格納部と、
前記1以上の属性識別子のうち、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である軸属性を識別する1以上の軸属性識別子、および前記1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する1以上の集計属性識別子を有するピボット情報を、予め格納しているピボット情報格納部とを具備し、
前記1以上の属性識別子のうち、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である軸属性を識別する1以上の軸属性識別子、および前記1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する1以上の集計属性識別子を有するピボット情報を、予め格納しているピボット情報格納部とを具備し、
受付部、情報分析部、および出力部により実現される表情報処理方法であって、
前記受付部が、前記表を用いた分析結果情報を作成する指示である情報分析指示を受け付ける受付ステップと、
前記情報分析部が、前記受付ステップで情報分析指示が受け付けられた場合に、前記1以上の軸属性識別子で識別される属性を軸とし、前記1以上の集計属性識別子で識別される属性を集計対象の属性として、前記表の1以上のレコードおよび前記1以上の属性識別子を用いた分析結果情報を作成する情報分析ステップと、
前記出力部が、前記情報分析ステップで作成された分析結果情報を出力する出力ステップとを具備する表情報処理方法。
The recording medium is
A table storage unit that can store schema information having one or more attribute identifiers for identifying attributes constituting the table, and one or more records of the table;
Of the one or more attribute identifiers, one or more axis attribute identifiers that identify axis attributes that are attributes that serve as axes for creating analysis result information that is a pivot table or a pivot graph, and the one or more attribute identifiers A pivot information storage unit that stores in advance pivot information having one or more aggregation attribute identifiers that identify aggregation attributes that are attributes for which attribute values are aggregated,
Of the one or more attribute identifiers, one or more axis attribute identifiers that identify axis attributes that are attributes that serve as axes for creating analysis result information that is a pivot table or a pivot graph, and the one or more attribute identifiers A pivot information storage unit that stores in advance pivot information having one or more aggregation attribute identifiers that identify aggregation attributes that are attributes for which attribute values are aggregated,
A table information processing method realized by a reception unit, an information analysis unit, and an output unit,
A receiving step in which the receiving unit receives an information analysis instruction that is an instruction to create analysis result information using the table;
When the information analysis instruction is received in the receiving step, the information analysis unit uses the attribute identified by the one or more axis attribute identifiers as an axis and aggregates the attributes identified by the one or more aggregate attribute identifiers An information analysis step of creating analysis result information using one or more records of the table and the one or more attribute identifiers as target attributes;
A table information processing method comprising: an output step in which the output unit outputs analysis result information created in the information analysis step.
コンピュータがアクセス可能な記録媒体は、
表を構成する属性を識別する1以上の属性識別子を有するスキーマ情報と、当該表の1以上のレコードとを格納し得る表格納部と、
前記1以上の属性識別子のうち、ピボット表またはピボットグラフである分析結果情報を作成するための軸となる属性である軸属性を識別する1以上の軸属性識別子、および前記1以上の属性識別子のうち、属性値を集計する対象の属性である集計属性を識別する1以上の集計属性識別子を有するピボット情報を、予め格納しているピボット情報格納部とを具備し、
コンピュータを、
前記表を用いた分析結果情報を作成する指示である情報分析指示を受け付ける受付部と、
前記受付部が情報分析指示を受け付けた場合に、前記1以上の軸属性識別子で識別される属性を軸とし、前記1以上の集計属性識別子で識別される属性を集計対象の属性として、前記表の1以上のレコードおよび前記1以上の属性識別子を用いた分析結果情報を作成する情報分析部と、
前記情報分析部が作成した分析結果情報を出力する出力部として機能させるためのプログラム。
Computer-accessible recording media
A table storage unit that can store schema information having one or more attribute identifiers for identifying attributes constituting the table, and one or more records of the table;
Of the one or more attribute identifiers, one or more axis attribute identifiers that identify axis attributes that are attributes that serve as axes for creating analysis result information that is a pivot table or a pivot graph, and the one or more attribute identifiers A pivot information storage unit that stores in advance pivot information having one or more aggregation attribute identifiers that identify aggregation attributes that are attributes for which attribute values are aggregated,
Computer
A reception unit that receives an information analysis instruction that is an instruction to create analysis result information using the table;
When the reception unit receives an information analysis instruction, the attribute identified by the one or more axis attribute identifiers is used as an axis, and the attribute identified by the one or more aggregation attribute identifiers is defined as an attribute to be aggregated. An information analysis unit that creates analysis result information using the one or more records and the one or more attribute identifiers;
The program for functioning as an output part which outputs the analysis result information which the said information analysis part produced.
JP2013218038A 2013-10-21 2013-10-21 Table information processing apparatus, table information processing method, and program Active JP6186242B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013218038A JP6186242B2 (en) 2013-10-21 2013-10-21 Table information processing apparatus, table information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013218038A JP6186242B2 (en) 2013-10-21 2013-10-21 Table information processing apparatus, table information processing method, and program

Publications (2)

Publication Number Publication Date
JP2015082117A true JP2015082117A (en) 2015-04-27
JP6186242B2 JP6186242B2 (en) 2017-08-23

Family

ID=53012704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013218038A Active JP6186242B2 (en) 2013-10-21 2013-10-21 Table information processing apparatus, table information processing method, and program

Country Status (1)

Country Link
JP (1) JP6186242B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019016997A1 (en) 2017-07-21 2019-01-24 株式会社日立情報通信エンジニアリング Behavior characteristic quantity analysis system and behavior characteristic quantity analysis method
JP7377830B2 (en) 2021-04-20 2023-11-10 フリー株式会社 Program, information processing device and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000315242A (en) * 1999-05-06 2000-11-14 Fujitsu Ltd Summary table creating device and storage medium for summary table creating program
JP2005190212A (en) * 2003-12-25 2005-07-14 Toshiba Corp Database system, data processing method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000315242A (en) * 1999-05-06 2000-11-14 Fujitsu Ltd Summary table creating device and storage medium for summary table creating program
JP2005190212A (en) * 2003-12-25 2005-07-14 Toshiba Corp Database system, data processing method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019016997A1 (en) 2017-07-21 2019-01-24 株式会社日立情報通信エンジニアリング Behavior characteristic quantity analysis system and behavior characteristic quantity analysis method
KR20190087981A (en) 2017-07-21 2019-07-25 주식회사 히타치 정보통신 엔지니어링 Behavioral Characteristic Analysis System and Behavioral Characteristic Analysis Method
US10846282B2 (en) 2017-07-21 2020-11-24 Hitachi Information & Telecommunication Engineering, Ltd. Behavior characteristic amount analysis system and behavior characteristic amount analysis method
JP7377830B2 (en) 2021-04-20 2023-11-10 フリー株式会社 Program, information processing device and method

Also Published As

Publication number Publication date
JP6186242B2 (en) 2017-08-23

Similar Documents

Publication Publication Date Title
JP2020173841A (en) System and method for dialog customization
JP5402674B2 (en) Information processing apparatus, information processing system, customization method, and program
US20150108213A1 (en) Shopping support device and shopping support method
CN102750081A (en) Information processing apparatus, information processing method, and program
JP6186242B2 (en) Table information processing apparatus, table information processing method, and program
JP2010015458A (en) Program correction support system, program correction support method, and program correction support program
JP4959501B2 (en) Information processing apparatus, information processing method, and program
JP6670051B2 (en) Information processing apparatus, information processing method, and program
JP5045042B2 (en) Business flow editing program, business flow editing apparatus, and business flow editing method
KR101620162B1 (en) Site management method and system for supporting production of mobile site
JP6625825B2 (en) Screen creation device for client terminal and data collection / inquiry system using the same
JP6087459B1 (en) Sales analysis apparatus, sales analysis method, and sales analysis program
JP2004046657A (en) Method, apparatus and software for calculation support
JP6552162B2 (en) Information processing apparatus, information processing method, and program
US11314832B1 (en) Electronic product information manager
JP2017083937A (en) Information processing apparatus, information processing method, and program
CN107015733B (en) Option information presentation system and method
Sun et al. Demystifying the paradox of stability and flexibility in information systems design: An affordance perspective
JP6667926B1 (en) Information processing apparatus, information processing method, and program
JP6814862B2 (en) Information processing equipment, information processing methods, and programs
Wei et al. Development of Online Food Ordering System for University Students to Maintain Healthy Eating Habits
JP6588304B2 (en) Information processing apparatus, information processing method, and program
JP6542116B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
JP6231846B2 (en) Transmission target output device, transmission target output method, and program
JP6505178B2 (en) Server apparatus, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170512

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170530

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170606

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170731

R150 Certificate of patent or registration of utility model

Ref document number: 6186242

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250