JP2004302684A - Data input method, input support device, and program - Google Patents
Data input method, input support device, and program Download PDFInfo
- Publication number
- JP2004302684A JP2004302684A JP2003092752A JP2003092752A JP2004302684A JP 2004302684 A JP2004302684 A JP 2004302684A JP 2003092752 A JP2003092752 A JP 2003092752A JP 2003092752 A JP2003092752 A JP 2003092752A JP 2004302684 A JP2004302684 A JP 2004302684A
- Authority
- JP
- Japan
- Prior art keywords
- input
- type
- data
- value
- item
- 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.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
【課題】複数の要素データから構成される集合型データを効率よく入力することのできるデータ入力方法およびそれを用いた入力支援装置を提供する。
【解決手段】項目毎に、その値のデータ型として、複数の要素データからなる集合型データの種類と当該集合型データを構成する要素データの種類とが定められた複数の項目のうち、選択された入力対象の項目に予め定められている集合型データの種類と要素データの種類の組合せに対応する入力形式を選択し、選択された入力形式に従って、要素データと演算により要素データを生成するための計算ルールと要素データを生成するための処理手順のうちの少なくとも1つを、第1の項目の値を生成するための入力データとして入力し、この入力データを基に入力対象の値を生成する。
【選択図】 図1Provided is a data input method capable of efficiently inputting set type data composed of a plurality of element data, and an input support device using the same.
For each item, as a data type of a value, a selection is made from a plurality of items in which a type of set-type data composed of a plurality of element data and a type of element data constituting the set-type data are determined. An input format corresponding to a combination of the type of set-type data and the type of element data predetermined for the selected input target item is selected, and element data is generated by element data and operation according to the selected input format. At least one of the calculation rule for generating the element data and the processing procedure for generating the element data is input as the input data for generating the value of the first item, and the value to be input is determined based on the input data. Generate.
[Selection diagram] Fig. 1
Description
【0001】
【発明の属する技術分野】
例えば、電子カタログのコンテンツデータの入力支援装置に関する。
【0002】
【従来の技術】
ISO13584標準の電子カタログに代表される部品の技術情報を表現したデータは、各部品を表現するための語彙を提供する「辞書」とこの「辞書」に基づいて実際の製品の技術仕様を記述した「コンテンツデータ」とで構成される(例えば、非特許文献1、2、4参照)。
【0003】
ISO13584標準の「辞書」では、概念階層としてツリー上に表現された製品分類とその製品分類の属する技術属性(諸元項目:property)が主要な辞書要素となっており、応用分野ごとに国際団体等で標準化されようになっている。一方、コンテンツデータは主に実際の部品サプライヤ等で前述の標準化された辞書を用いて、各自の製品情報として登録するようになっている。
【0004】
近年、ISO13584標準の電子カタログによる企業間電子商取引を実現しようとする試みが様々な業界でなされている。例えば、重電業界においては業界横断的なサプライチェーンマネージメントの実用化をめざした「JeMarche」プロジェクトが進められている(例えば、非特許文献3参照)。
【0005】
「JeMarche」ではISO13584−42の規定に基づき、コンテンツデータを表現する単純型データ(整数(Int)型、実数(Real)型、文字(String)型、ブール代数(Boolean)型、選択肢(ENUM)型)として表形式で入力する方法が開発されている。
【0006】
また、諸元項目間の制約を記述することで、コンテンツデータの検索時に単純型データのコンテンツデータを動的に生成する技術も開発されている(例えば、特許文献1参照)。
【0007】
近年、具体的な適用が進む中、より複雑なデータを表現できる集合型データへの拡張のニーズが高まりつつあり、電気・電子分野でのISO13584の適用を規定したIEC61360では、集合型データとしてSet型、List型、Bag型、Array型等が新たに追加されることになった。
【0008】
【非特許文献1】
ISO13584−42:Industrial Automation Systems and Integration−Parts Library
【0009】
【非特許文献2】
IEC61360−1:Standard data elementtypes with associated classification Scheme for electric components
【0010】
【非特許文献3】
[2003年2月5日検索]、インターネット<URL:http://www.jemarche.com/>
【0011】
【非特許文献4】
平成11年度IPA事業:「重電危機製造業における中小企業群との複合的SCMの基盤構築」の実験作業―外部設計書第II編「電子カタログ」
【0012】
【特許文献1】
特開平11−85836号公報
【0013】
【発明が解決しようとする課題】
しかしながら、従来のコンテンツデータの作成方法では、要素データが1つの単純なデータ型への入力を対象としていたため、複数の要素データからなる集合型データの入力を行う場合、集合の各要素を全て連結した文字列として入力するか、または単純に各要素を1つづつ手入力することになり、データの入力作業を効率的に行うことが困難である。
【0014】
そこで、本発明では、上記問題点に鑑み、複数の要素データから構成される集合型データを効率よく入力することのできるデータ入力方法、およびそれを用いた入力支援装置を提供することを目的とする。
【0015】
【課題を解決するための手段】
本発明は、複数の項目のそれぞれに対し、その値として複数の要素データからなる集合型データを入力するためのものであって、前記複数の項目のそれぞれには、各項目に対応する値のデータ型として、複数の要素データからなる集合型データの種類と、当該集合型データを構成する要素データの種類とが定められており、前記複数の項目のうち選択された入力対象の項目に予め定められている前記集合型データの種類と前記要素データの種類の組合せに対応する入力形式を選択し、選択された入力形式に従って、前記要素データと演算により前記要素データを生成するための計算ルールと前記要素データを生成するための処理手順のうちの少なくとも1つを、前記第1の項目の値を生成するための入力データとして入力し、前記入力データを基に、前記入力対象の値を生成する。本発明によれば、複数の要素データから構成される集合型データの各要素を1つ1つ全て入力する替わりに、計算ルールや処理手順での入力を可能にすることで、入力の手間や誤入力を軽減し、効率よくデータ入力が行える。
【0016】
【発明の実施の形態】
以下、本発明の本実施形態を、図面を参照して詳細に説明する。
【0017】
本実施形態では、ISO13584およびIEC61360で定める集合型データを例として用いて、コンテンツデータが集合型データである場合の入力を容易にするデータ入力方法を適用した電子カタログコンテンツ作成システムについて説明する。
【0018】
コンテンツデータは、後述する諸元項目に対応する値として入力されるものである。
【0019】
ここで、集合型データとは、所定のデータ型の複数の要素データで構成されるデータであり、単純型データとは、1つの要素データで構成されるデータである。集合型データの種別としては、ここでは、例えば、ISO13584の定めに従い分類された、以下の5種類を用いる。
【0020】
・Set型(要素の重複を許さない集合)
・Constraint_Set型(Set型の1種で、その部分集合をコンテンツとできるもの)
・Bag型(要素の重複を許す集合)
・List型(要素に順序が定められている集合)
・Array型(配列型)
上記のような集合型データの中には、さらに、次のような属性を有するものもある。すなわち、
・「Uniqueness」は、要素の重複許可の有無を設定するものであり、一意性が必要な場合は「TRUE」、要素の重複が可能な場合は「FALSE」と設定される。「Uniqueness」は、List型とArray型で設定することができる。
【0021】
・「Optional」は、複数の要素のなかにヌル値(Null)が含まれていることを許容するか否かの設定であり、可能な場合「TRUE」、禁止の場合は「FALSE」の値をとる。「Optional」は、Array型で設定することができる。
【0022】
なお、集合型データの種別は、上記5種類に限るものではなく、上記以外の集合型データがあってもよい。
【0023】
集合型データの各要素のデータ型(基本データ型)としては、Int(整数)、Int_measure(単位付整数)、Int_currency(貨幣単位付整数)、Real(実数)、Real_measure(単位付実数)、Real_currency(貨幣単位付実数)、String(文字列)、Boolean(ブール代数)、date(日付)、ENUM(選択肢型)、Level(最小値、公称値、代表値、最大値で構成されるデータでIntとRealがある)などがある。この基本データ型もISO13584の規定に沿ったものであるが、上記データ型に限定するものではなく、上記以外のデータ型があってもよい。
【0024】
なお、コンテンツデータには、集合型データの他に、単純型データがあるが、この単純型データは、1つの要素からなるものである。
【0025】
(電子カタログコンテンツ作成システムの構成)
図1は、本発明の入力支援装置を適用した電子カタログコンテンツ作成システムの機能構成を示すブロック図であり、辞書データ記憶部1、電子カタログコンテンツデータ編集部2、入力タイプ選択ルール編集部3、入力タイプ選択ルール記憶部4、入力タイプ選択部5、入力フォーム編集部6、入力フォーム記憶部7、生成ルール編集部8、生成ルール記憶部9、コンテンツデータ生成部10、電子カタログコンテンツデータ記憶部11、インタフェース部12から構成されている。
【0026】
インタフェース部12は、キーボードやマウスなどの各種入力装置や、ディスプレイなどの出力装置などから構成され、ユーザ操作により、ここから電子カタログコンテンツデータ編集部2へ各種指示やデータの入力などが行われる。
【0027】
インタフェース部12からのユーザ操作に基づいて電子カタログコンテンツデータ編集部2は、辞書データ記憶部1に記憶されている辞書データを読み込み、この辞書データに応じた電子カタログコンテンツデータ記憶部11に記憶されているコンテンツデータを編集および保存を行う。
【0028】
電子カタログコンテンツデータ編集部2は、インタフェース部12から入力された操作コマンドに応じて、入力タイプ選択ルール編集部3、入力フォーム編集部6、生成ルール編集部8、コンテンツデータ生成部10などへ処理を切り替える。
【0029】
図2は、辞書データ記憶部1に記憶されている辞書データのデータ構造を示したもので、ここでは、表形式のデータとして表現している。辞書要素201は、1つの行として表現されている。辞書要素の各フィールドはISO13584で規定された要件のうち、特に、本実施形態の説明のために必要な部分を抜粋したもので構成されている。すなわち、各辞書要素は、辞書要素の識別コード202、諸元項目名称203、単位204、当該諸元項目に対応するコンテンツデータのデータ型が単純型データか、集合型データかを表す情報(単純型データ(Simple)/集合型データの種別(Complex))205、集合型データの要素に対する一意性要求の有無(「Uniqueness」)206、集合型データの要素に対するヌル値許可の有無(「Optional」)207、データの基本データ型(Data Type)208、辞書要素の定義209、辞書要素の注意210で構成されている。
【0030】
ISO13584の場合、基本データ型が「ENUM型」であるときは取り得る値の離散値を予め定める必要がある。
【0031】
本実施形態では、ENUM型の辞書要素における選択要素211は1つの行として表現されている、この選択要素は辞書要素の識別のコード212、名称213、選択要素の値214、選択要素の値の定義215で構成されている。
【0032】
図3は、電子カタログコンテンツデータ記憶部11に記憶されているある1つの製品についての1組のコンテンツデータ(製品(部品)データ)の具体例を示したものである。図3に示した製品(部品)データでは、図2に示したような各辞書要素のデータ2001と、各辞書要素に対応する値としてのコンテンツデータ2002で構成されている。
【0033】
入力タイプ選択ルール編集部3は、ユーザからの操作コマンドが「入力要求」である場合、指定された諸元項目に対応するコンテンツデータのデータ型が集合型データであるときに、当該集合型データの種別と、その要素の基本データ型とから、入力タイプを選択するためのルール(入力タイプ判定ルール)と、集合型データであるコンテンツデータを生成する際に用いる検査処理を選択するための検査処理選択ルールを作成・編集する。
【0034】
入力タイプ選択ルール編集部3で作成・編集された入力タイプ選択ルール、検査処理選択ルールは、入力タイプ選択ルール記憶部4に記憶される。
【0035】
入力タイプ選択部5は、ユーザからの操作コマンドが「入力要求」である場合に、指定された諸元項目に対応するコンテンツデータのデータ型が集合型データであるときに、生成ルール編集部8から起動される。入力タイプ選択ルール記憶部4に記憶されている入力タイプ選択ルールと検査処理選択ルールを参照して、当該集合型データの種別と、その要素の基本データ型とから、入力タイプと、検査処理を選択する。
【0036】
図4は、入力タイプ選択ルール記憶部4に格納されている入力タイプ選択ルールの一例を示したもので、図5は、入力タイプ選択ルール記憶部4に格納されている検査処理選択ルールの一例を示したものである。
【0037】
図4と図5に示すように、入力タイプ選択ルールと、検査処理選択ルールは、ともに、横軸方向に集合型データの種別を並べ(図4の領域301参照)、縦軸方向に基本データ型の種別を並べた(図5の領域302参照)マトリクスで表現されている。
【0038】
図4に示したマトリクスの要素は、当該要素の属する列と行のそれぞれに対応する集合型データの種別と基本データ型の種別に対応する入力タイプを表している。すなわち、このマトリクスにより、集合型データの種別と基本データ型に応じた入力タイプが1つ決定する。
【0039】
図5に示したマトリクスの要素は、当該要素の属する列と行のそれぞれに対応する集合型データの種別と基本データ型の種別に対応する検査処理を表している。すなわち、このマトリクスにより、集合型データの種別と基本データ型に応じた検査処理が1組決定する。
【0040】
図4,図5に示すマトリクスには、入力タイプと検査処理は、それぞれ文字情報とし格納されている。
【0041】
なお、入力タイプ選択ルール、検査処理選択ルールは、入力タイプ選択ルール編集部3により、入力タイプの名称、検査処理の名称はもちろんのこと、横軸、縦軸方向の各項目についても編集することができ、別の標準を用いたマトリクスを構成することも可能である。
【0042】
入力タイプは、基本データ型の種別が数字型(Int(整数型)、Int_measure(単位付整数型)、Int_currency(貨幣単位付整数型)、Real(実数型)、Real_measure(単位付実数型)、Real_currency(貨幣単位付実数型))か、文字型(String)か、ブール代数型(Boolean)か、日付型(date)か、選択肢型(ENUM)か、レベル型(Level)かで、Num、Str、Const・Bool、Data、ENUM、Levelと、大きく6種類のタイプに分けられる。さらに、この6種類のタイプが、集合型データの種別が配列型(要素の位置が予め定められている場合)か、配列型でない(要素の位置は予め定められていない)かで、array、typeの2種類に分けることができる。従って、ここでは、基本データ型と集合型データの種別に応じて、ほぼ14種類の入力タイプを設定した。この分類は、入力形式が同じかあるいは類似するものをグループ化するためのものである。そして、各グループには、それぞれ1つ入力フォームを対応付けている。
【0043】
検査処理は、後述する入力タイプに応じて定める入力フォーム中に入力されたデータを基に、コンテンツデータ生成部10でコンテンツデータを生成した後、当該コンテンツデータに誤りがないかを(指定された諸元項目に対応するコンテンツデータの集合型データの種別、基本データ型の種別、「Uniqueness」、「Optional」により定められた条件を満たすものであるか否か)を検索するためのものである。ここでは、検査処理プログラム(検査処理関数)として、以下のようなものがある。
【0044】
・Non_Int():整数以外のデータの有無を検査する処理
・Non_Numeric():実数以外のデータの有無を検査する処理
・Non_date():ISO10303のDate型およびTime型となるデータの有無を検査する処理
・Non_ENUM():当該辞書要素で定められた選択子以外のデータの有無を検査する処理
・Non_Boolean():TRUEおよびFALSE以外のデータの有無を検査する処理
・Uniqueness():集合に含まれる要素が一意であるかどうかを検査する処理
・Null():集合に含まれる要素にヌル値があるかどうかを検査する処理
上記各検査処理プログラムは、入力フォーム記憶部7に記憶されている。
【0045】
入力フォーム編集部6は、上記入力タイプに対応する入力フォームを作成・編集するためのものである。
【0046】
入力フォーム編集部6で作成・編集された入力フォームは、入力フォーム記憶部7に記憶される。
【0047】
生成ルール編集部8は、表示画面に表示された入力フォームへの入力と同期して、当該入力フォームに入力された数値、文字列、演算子、ルールや、当該入力フォームに対応する入力タイプや基本データ型や選択された検査処理のリストなどを記述した生成ルールを作成・編集する。
【0048】
生成ルール編集部8で作成・編集された生成ルールは、生成ルール記憶部9に記憶される。
【0049】
コンテンツデータ生成部10は、生成ルール編集部8で生成された生成ルールを基に、コンテンツデータを生成する。
【0050】
(電子カタログ作成システムの処理動作)
図37は、図1の電子カタログコンテンツデータ編集部2の処理動作を説明するためのフローチャートである。図37に基づいて本実施形態における基本的な処理の流れを述べる。
【0051】
まず、ユーザからの操作コマンドを受け取り(ステップS1)、そのコマンドが「辞書読み込み操作」であれば(ステップS2)、ユーザが選択した辞書データを辞書データ記憶部1から読み込み、図6に示すようなデータ入力画面を生成・表示し(ステップS10)、ステップS1へ戻り、次の入力を待つ。
【0052】
ユーザからの操作コマンドが「データ入力要求操作」であれば(ステップS3)、入力要求で指定された諸元(1セル)に対応する辞書要素から、当該諸元のコンテンツデータについての単純型データ/集合型データの種別205の値Vを得る(ステップS11)。もしVが単純型の場合は通常のデータ入力を行う(ステップS12〜ステップS13)。
【0053】
Vが集合型の場合(ステップS12)は、入力要求で指定されたセルに対応する辞書要素のデータを読み込み(ステップS14)、生成ルール編集部8における生成ルール編集処理を実行する(ステップS15)。この生成ルール編集処理が終ると、ステップS1へ戻り、次の入力を待つ。
【0054】
ユーザからの操作コマンドが、「集合型コンテンツデータ生成操作」であれば(ステップS4)、コンテンツデータ生成部10におけるコンテンツデータ生成処理を実行し(ステップS16)、生成されたコンテンツデータを図6に示すような編集画面上の当該コンテンツデータに対応するセルに表示し、処理が終ると、ステップS1へ戻り、次の入力を待つ。
【0055】
ユーザからの操作コマンドが、「入力フォーム編集操作」であれば(図38のステップS5)、入力フォーム編集部6における入力フォーム編集処理を実行し(ステップS17)、処理が終ると、ステップS1へ戻り、次の入力を待つ。
【0056】
ユーザからの操作コマンドが、「入力タイプ選択ルール編集操作」であれば(ステップS6)、入力タイプ編集操作部3における選択ルール編集処理を実行し(ステップS18)、処理が終るとステップS1へ戻り、次の入力を待つ。
【0057】
ユーザからの操作コマンドが、「電子カタログコンテンツデータの読み込み操作」であれば(ステップS7)、電子カタログコンテンツデータ記憶部11から電子カタログコンテンツデータを読み込み、データ入力画面を生成・表示し(ステップS19)、処理が終るとステップS1へ戻り、次の入力を待つ。
【0058】
ユーザからの操作コマンドが、「電子カタログコンテンツデータの保存操作」であれば(ステップS8)、現在表示されている電子カタログコンテンツデータを電子カタログコンテンツデータ記憶部11に保存する(ステップS20)。その際、「集合型コンテンツデータ生成操作」により新たに生成されたコンテンツデータがあれば、それを当該コンテンツデータに対応する製品(部品)データ中の当該諸元項目の値として電子カタログコンテンツデータ記憶部11に記憶する。処理が終るとステップS1へ戻り、次の入力を待つ。
【0059】
ユーザからの操作コマンドが、「終了操作」であれば(ステップS9)、全体の処理は終了する。
【0060】
図6は、電子カタログコンテンツデータ編集部2により表示される編集画面の例を示したものである。各行は1つの製品(部品)データに対応する。本実施形態では、辞書読込ボタン2201、コンテンツ読込ボタン2202、コンテンツ保存ボタン2203、コンテンツ生成ボタン2204、選択ルール編集ボタン2205、入力フォーム編集ボタン2206、終了ボタン2207のそれぞれを選択することにより、図37〜図38で説明した上記各操作コマンドとして電子コンテンツデータ編集部2に入力する。
【0061】
また、実際のコンテンツデータの入力は、図6の編集画面中のコンテンツデータを入力したい箇所(すなわち、ある1つの製品(部品)のある1つの諸元に対応するセル)をマウス等で選択することで入力が可能になる。
【0062】
図6において、セル2208に示すように、コンテンツデータが未入力のセルは空白となり、コンテンツデータが登録済みのところは、セル2209に示すように、実データが表示される。
【0063】
また、セル2210に示すように、入力フォーム上にデータが入力されて、生成ルールが編集されているが、まだ、コンテンツデータ生成部10におけるコンテンツデータ生成処理が未実施の場合は、「(*)」が表示される。
【0064】
図6に示した編集画面により、コンテンツデータの入力状況が一覧できる。
【0065】
(生成ルール編集処理:集合型コンテンツデータの入力)
図39は、図37のステップS15における生成ルール編集処理を説明するためのフローチャートである。この処理は、主に、図1の生成ルール編集部8において実行される。
【0066】
集合型コンテンツデータは、複数の要素を持つ。各要素を1つ1つ入力することはもちろん可能であるが、各要素に規則性があれば、その規則(ルール)と、全要素のうちの1つあるいはいくつかを指定するだけで、全ての要素を入力することもできる。特に、後者の入力方法は、要素の数が多いときに、入力の手間を省けるという点で有用である。
【0067】
そこで、ここでは、入力タイプ選択部5で選択された入力タイプに応じた入力フォームでは、各要素を1つ1つ入力するモード(入力タイプ「手入力」)の他、当該入力フォームに予め用意された簡易ルールを用いて要素を入力するモード(入力タイプ「簡易ルール」)と、ユーザが所望の規則を入力し、その規則を用いて要素を入力するモード(入力タイプ「ルール編集」)を設けている。
【0068】
入力フォームに書き込まれた(入力された)データやルールは、生成ルールとして生成ルール記憶部9に保存される。生成ルールは、コンテンツデータ生成部10がコンテンツデータを生成する際に必要なデータや処理手順などを記述したものである。ここでは、入力フォームへの入力(編集作業)は、生成ルールを編集するための作業であるともいえるので、ここでは、生成ルール編集処理と呼ぶ。
【0069】
まず、図37のステップS1で指定された、図6の編集画面上の1つのセル(のコンテンツデータ)に対応する生成ルールが生成ルール記憶部9に存在するかどうか調べる(ステップS31)。存在する場合は、該当生成ルールRとその生成ルールに対応する集合型コンテンツデータの入力フォームFを読み込み、それを表示し、編集を可能にする(ステップS42)。表示された入力フォーム上での編集が終了となれば(ステップS43)、生成ルールRを生成ルール記憶部9に保存する(ステップS44)。
【0070】
ステップS31において、図6の編集画面上の1つのセル(のコンテンツデータ)に対応する生成ルールが生成ルール記憶部9に存在しない場合には、図37のステップS14にて読込まれた辞書データから、「Simple/Complex」、「DataType」、「Uniqueness」、「Optional」のそれぞれの値を取り出す(ステップS32)。
【0071】
次に、上記4つの値に基づいて、入力タイプ選択処理を実行する(ステップS33)。この処理によって得られた入力タイプTに基づいて、生成ルールRを新規作成し、この新規に作成された生成ルールRに、同じく入力タイプ選択処理にて選択された検査処理のリストCを代入する(ステップS34)。
【0072】
入力タイプTに対応する入力フォームFを入力フォーム記憶部7から読み出し、当該入力フォームFに上記生成ルールRを読み込み、表示し、編集を可能にする(ステップS35)。
【0073】
入力タイプTがENUM型の場合(ステップS36)、当該辞書データから選択肢のデータを読み込み、入力フォームFの所定のダイアログ部分に書き込む(ステップS37)。
【0074】
入力タイプTがArrayタイプの場合(ステップS38)は、当該辞書データから配列の範囲定義データを読み込み、入力フォームFの変数として書き込む(ステップS39)。
【0075】
編集終了となれば(ステップS40)、生成ルールRを生成ルール記憶部9に保存する(ステップS41)。
【0076】
図40は、図39のステップS33における入力タイプ選択処理手順を説明するためのフローチャートである。この処理は、図1の入力タイプ選択5において実行される。
【0077】
まず、図39のステップS32で得られた「Simple/Complex」、「DataType」、「Uniqueness」、「Optional」の値を条件として、入力タイプ選択部5に記憶されている図4に示した入力タイプ選択ルールと、図5に示した検査処理選択ルールを参照して、入力タイプTと検査処理のリストCを求める(ステップS51)。
【0078】
上記条件を満たす入力タイプTが存在すれば(ステップS52)、入力タイプTと検査処理のリストCを生成ルール編集部8に返す(ステップS53)。入力タイプTが存在しなければ、エラーメッセージを表示する(ステップS54)。
【0079】
図7から図21に、入力タイプ別の集合型コンテンツデータの入力フォームの例を示す。なお、図7〜図21は、生成ルール編集部8により表示される各入力フォームに対応する生成ルール編集画面の表示例を示したものである。以下、図7〜図21を参照して、入力タイプ別の入力フォームの構成と、各入力フォームへのデータの入力方法について説明する。なお、入力フォームは、入力フォーム記憶部7に格納されている。これらの入力フォームは入力フォーム編集部6により、ボタン構成、並び順、初期表示の行数、各フィールドのデフォルト値などを指定することでき、当然ながら、別の標準に基づいた入力タイプのためのフォームを作成することも可能である。
【0080】
入力フォーム記憶部7には、前述した検査処理プログラムも格納されている。
【0081】
(入力タイプが「Num_type」である集合型コンテンツデータ入力フォーム)
図7は、入力タイプが「Num_type」である集合型コンテンツデータの入力フォームの例を示している。図7(a)は、「Num_type」入力フォームのメイン画面を示したもので、1行分の入力領域409に1つの入力要素を入力するようになっている。
【0082】
移動ボタン408は、ある行に対応する入力要素を他の行へ移動するためのものである。
【0083】
1つの入力要素を入力するための1行分の入力領域409には、当該入力要素を移動する際に用いるチェックボックス407と、入力タイプを指定するためのダイアログボックス402、入力値域を入力するためのフィールド403、ピッチ計算式の演算子を指定するためのダイアログボックス404、ピッチの入力フィールド405、ユーザが所望のルールを作成・編集するためのボタン406から構成されている。なお、入力フォーム上の入力タイプとは、入力フォーム上にデータを入力する際の手段としての「手入力」、「簡易ルール」、「ルール編集」のいずれかを指すもので、入力タイプ選択図5で選択される入力タイプとは異なるものである。
【0084】
入力要素(行)の順番を変更したい場合には、当該入力要素に対応するチェックボックス407をチェックし、移動ボタン408をクリックすることで、当該入力要素の位置を上や下に移動することができる。
【0085】
入力タイプを指定するためのダイアログボックス402には、図7(b)に示すように、「手入力」、「簡易ルール」、「ルール編集」が表示され、これらのうちの何れか1つを選択することができる。
【0086】
入力値域の入力フールド403は、ダイアログボックス402にて入力タイプとして「手入力」を選択した場合には、左側のフィードのみに入力することができ、入力タイプとして「簡易ルール」を選択した場合には、要素の範囲を入力する。また、入力タイプとして「ルール編集」を選択した場合には、入力が禁止されている。
【0087】
入力タイプが「簡易ルール」の場合は、コンテンツデータを生成するためのルールとして予め用意された演算を実行してコンテンツデータが生成される。ここでは、図7(c)に示すように、演算子指定ダイアログボックス404において、四則演算子が選択できるようになっている。もちろん、その他の2項演算子も用意することは可能であるし、フォームを変更して、多項演算を容易することも可能である。入力タイプとして「簡易ルール」を選択した場合、ピッチの入力フィールド405は、演算子指定ダイアログボックス404において指定された演算子への引数が入力される。
【0088】
入力タイプが「ルール編集」の場合は、ユーザがコンテンツデータを生成するために所望のルールを入力し、このルールを実行することによりコンテンツデータが生成される。入力タイプとして「ルール編集」が選択された場合に、ルール編集ボタン406により、図7(d)に示すような、ルールの編集画面が起動される。このルールの編集画面上で、ユーザは所望のルールを作成・編集することができる。ここに書かれるルールはどのような言語でも記述してもよく、その場合,当該言語のパーザを用意する必要がある。
【0089】
また、ある要素に対してすでにルールが設定されている場合は、当該ルールを読み出すようにしてもよい。
【0090】
図22から図24に、図7の「Num_type」の入力フォームの入力例を示す。
【0091】
図22は、入力タイプ「手入力」で、2つの入力要素をそれぞれ入力した様子を示している。
【0092】
図23は、入力タイプ「簡易ルール」で2つの入力要素を入力し、入力タイプ「手入力」で、1つの入力要素を入力した様子を示している。
【0093】
入力要素2401では、「簡易ルール」として、「1.5」以上「6.0」以下の範囲で、順次「1.5」をプラスしていくルールが記述されている。このルールによれば、コンテンツデータ生成部10において、コンテンツデータとして、(1.5、3.0、4.5、6.0)の4つの値が生成されることになる。
【0094】
入力要素2402では、「簡易ルール」として、「10」以上「80」以下の範囲で、順次「2」を乗じていくルールが記述されている。このルールによれば、コンテンツデータ生成部10において、コンテンツデータとして、(10、20、40、80)の4つの値が生成されることになる。
【0095】
したがって、図23に記述したルールにより、コンテンツデータ生成部10でにより、(1.5、3.0、4.5、6.0,10、20、40、80、100)という集合型データが生成されることになる。
【0096】
図24は、入力タイプ「ルール編集」で、ユーザ定義のルール2501が記述されている。このルールは要素の値Yは、漸化式Y(n)=Y(n−1)×2+0.05 Y(0)=0.1×2+0.05=0.25として与えられており、このルールにより、コンテンツデータ生成部10において、(0.25、0.55、1.15、2.35、4.75)という集合型データが生成されることになる。
【0097】
(入力タイプが「Str_type」である集合型コンテンツデータ入力フォーム)
図8は、入力タイプが「Str_type」である集合型コンテンツデータの入力フォームの例を示している。「Str_type」の入力フォームは、図7の「Num_type」の入力フォームとほぼ同じであるが、異なるのは、図8(a)に示すメイン画面では、図7(a)のピッチ計算式の演算子指定ダイアログボックス404とピッチの入力フィールド305が、ピッチ計算式指定ダイアログボックス501に置き換えられている。
【0098】
ピッチ計算式指定ダイアログボックス501は、入力タイプとして「簡易ルール」を指定した場合に、図8(c)に示すように、文字発生演算子として「昇順(Alphabet)」、「昇順(あいおうえお)、「降順(Alphabet)」、「降順(あいおうえお)」が選択できるようになっている。例えば、入力値域を「A」〜「D」、文字発生演算子として「昇順(Alphabet)」と指定すると、(A,B,C,D)がコンテンツデータとして生成される。もちろん、その他の文字列演算子も用意することは可能である。
【0099】
また、入力タイプとして「ルール編集」が選択された場合には、図8(d)に示すようなルールの編集画面が起動され、これによりユーザは所望のルールを作成・編集することができる。図8(d)に示す編集画面では、複数の配列からなる文字の組合せ表による文字列展開ルール502として記述するようになっているが、もちろん、「Num_Type」と同様の編集画面を用意してもよい。
【0100】
図25(a)に、図8の「Str_type」の入力フォームの入力例を示す。最初の入力要素において、入力タイプ「ルール編集」で、ユーザ定義ルール2601が記述されている。このルールは、複数の配列のそれぞれの要素として入力された文字列の直積によりコンテンツデータを生成するものである。例えば、図25(b)図に示すように、1次元配列の各コラム(列)に入力された文字の直積を求めるルールが記述されており、ルール2601により、(A,S)×(NX)×(001,002,003)×(#Space,−1)の組合せが生成されることになる。
【0101】
図25(a)では、さらに入力タイプ「手入力」で、文字列「SHT」が入力要素として入力されている。この結果、コンテンツデータとして、(ANX001、ANX001−1, ANX002, ANX002−1, ANX003, ANX003−1, SNX001, SNX001−1, SNX002, SNX002−1, SNX003, SNX003−1、SHT)という値をもつ集合型データが生成される。
【0102】
(入力タイプが「Bool_type」である集合型コンテンツデータ入力フォーム)
図9は、入力タイプが「Bool_type」である集合型コンテンツデータの入力フォームの例を示している。このタイプは要素の値が「TRUE、FALSE」の2値の何れかとなるため、ユーザが所望のルールを記述するフィールドが設定されておらず、入力フィールドが図9(b)に示すダイアログ形式で選択できるようになっている。
【0103】
入力タイプが「Const1」である集合型コンテンツデータ入力フォーム図10は、入力タイプが「Const1」である集合型コンテンツデータの入力フォームの例を示している。このタイプは、2通りの集合しかありえないため、各集合に対応するボタン701で、そのいずれかを選択するようになっている。
【0104】
(入力タイプが「Date_type」である集合型コンテンツデータ入力フォーム)
図11は、入力タイプが「Date_type」である集合型コンテンツデータの入力フォームの例を示している。このタイプは年月日と時分秒を入力することで各入力要素を設定するようになっている。
【0105】
(入力タイプが「ENUM_type」である集合型コンテンツデータ入力フォーム)
図12(a)は、入力タイプが「ENUM_type」である集合型コンテンツデータの入力フォームの例を示したものである。このタイプは要素の値が辞書データによって定められているため、入力フィールドがダイアログ形式で選択できるようになっている。
【0106】
例えば、図2におけるコードが「AAE007」である諸元の場合、図12(b)に示すように、ダイアログボックスには、辞書要素の定義に従い,「ON」と「OFF」の値が表示されるようになる。
【0107】
(入力タイプが「Level_type」である集合型コンテンツデータ入力フォーム)
図13(a)は、入力タイプが「Level_type」である集合型コンテンツデータの入力フォームの例を示したものである。このタイプは各入力要素自体が、最大4種類(Min、Nom、Typ、Max)の値を持つことができるため、入力値として4つのフィ−ルド1001〜1004を持っている。
【0108】
通常は、入力タイプ「手入力」で、個々設定するが、入力タイプ「ルール編集」で、1つの要素に含まれる4種類の値の間でのルールを記述することができるようになっている。例えば、「Min」に対応する値が「Typ」に対応する値の75%、「Max」に対応する値が「Typ」に対応する値の125%、「Nom」に対応する値と「Typ」に対応する値が等しい場合、図13(a)のメイン画面には、「Typ」のみを記述し、図13(c)に示すルールの編集画面にて、ルールとして、「Min=Typ×0.75、Max=Typ×1.25、Mom=Typ」と記述することができる。
【0109】
以上が、配列型ではない(すなわち非array型の)入力タイプの入力フォームである。次に、配列型(array型)の入力タイプの入力フォームについて説明する。なお、ここでは、説明の簡単のため、配列として1次元配列の場合を例にとり説明する。
【0110】
(array型の入力タイプに対応した入力フォーム)
図14から図21に、配列型(Array型)の入力タイプに対応した入力フォームを示す。array型であるため、入力要素の位置を配列番号として明示的に記述できるようになっている。
【0111】
(1)図14(a)は、入力タイプが「Num_array」である集合型コンテンツデータの入力フォームの例を示したものである。このタイプでは、入力要素の順番を移動するような場面は想定しにくいため、この入力フォームには移動ボタンが設定されていない。また、入力タイプを指定するためのダイアログボックスでは、図14(b)に示すように、「手入力」、「ルール編集」の何れか1つを入力要素ごとに選択することができる。
【0112】
「手入力」の場合は、配列番号フィールド1101の左側のフィードのみに入力することができ、「ルール編集」の場合は、フィールド1101に配列番号の範囲を記述することができる。
【0113】
「ルール編集」を指定した場合は、図14(c)に示したようなルール編集画面が起動され、ユーザがルールを記述することができる。
【0114】
なお、array型の場合は、要素数が辞書で規定されているため、番号の範囲があらかじめ変数として設定されており(領域1102に記述されている)、ユーザはこの変数をルールに用いることができる。
【0115】
図26は、図14の「Num_array」の入力フォームにおける入力例を示したものである。ここでは、配列番号「1」〜「5」までは、ルールが記述されており、配列番号「6」、「7」にはそれぞれの値が設定されている。ここで設定されているルールでは、配列番号の順に10づつ増加する内容となっており、このルールを実行すると、コンテンツデータとして(10、20、30、40、50)が生成される。したがって、図26に示した入力要素からは、(コンテンツデータとして、(10、20、30、40、50、100、1000)という配列データが生成されることとなる。
【0116】
(2)図15は、入力タイプが「Str_array」である集合型コンテンツデータの入力フォームの例を示したものである。この例では、図14の「Num_array」とフォームが一致している。
【0117】
(3)図16は、入力タイプが「Bool_array」である集合型コンテンツデータの入力フォームの例を示したものである。配列番号を設定した各入力要素に、「TRUE」、「FALSE」の2値の何れかを入力すればよく、この入力方法は、図9の「Bool_type」と同様である。
【0118】
(4)図17は、入力タイプが「Const2」である集合型コンテンツデータの入力フォームの例を示したものである。このタイプでは、入力要素の位置と値が予め定められた複数個のパターンの中から、ユーザは所望のパターンを選択すればよい。そのために、各パターンに選択ボタンを設け、そのいずれかを選択する。すなわち、この場合、12通りのパターンしかありえないため、これらパターンのいずれかを選択するようになっている。
【0119】
(5)図18は、入力タイプが「Const3」である集合型コンテンツデータの入力フォームの例を示したものである。図17と同様で、このタイプでは、2通りの集合しかありえないため、この候補のいずれかを選択するようになっている。
【0120】
(6)図19は、入力タイプが「Date_array」である集合型コンテンツデータの入力フォームの例を示したものである。各入力要素の位置は配列番号により設定するが、それ以外の各入力要素の値の入力方法は、図11の「Date_type」と同様である。
【0121】
(7)図20は、入力タイプが「ENUM_array」である集合型コンテンツデータの入力フォームの例を示したものである。各入力要素の位置は、配列番号により設定するが、それ以外の各入力要素の値の入力の方法は、図12の「ENUM_type」と同様である。
【0122】
図27は、「Enum_array」の入力フォームにおける入力例を示したものである。ここでは、配列番号ごとに辞書データで定義された選択肢の値が設定されている。
【0123】
(8)図21は、入力タイプが「Level_array」である集合型コンテンツデータの入力フォームの例である。各入力要素の位置は、配列番号で設定するが、それ以外の各入力要素の値の入力方法は、図13の「Level_type」と同様である。
【0124】
(集合型コンテンツデータの生成)
上記の各入力フォームに入力されたデータやルールなどは、生成ルールとして生成ルール記憶部9に記憶される。
【0125】
図28、図29は、生成ルールのデータ構造を示したものである。
【0126】
図28は非array型の(array(配列)型ではない)入力タイプに対応した入力フォームに入力されたデータやルールなどを表す生成ルールのデータ構造であり、図29は、array型の入力タイプに対応した入力フォームに入力されたデータやルールなどを表す生成ルールのデータ構造である。
【0127】
図30には、生成ルールに記述されるデータのうち、「ルール編集」という入力タイプで、ユーザが入力したルール(ユーザ定義ルール)を表すデータのデータ構造を示したもので、(b)図は、基本データ型が文字型の場合のデータ構造であり、図25(b)に示すような各コラム(column)に入力された文字列でルールが記述されている場合のデータ構造で、(a)図は、基本データ型が文字型ではない場合であり、テキストによりルールが記述されている場合のデータ構造である。
【0128】
図28〜図30に示した生成ルールのデータ構造において共通している点は、1行で1データレコードを示しており、データレコードは「Item」フィールド1901、「Tag」フィールド1902、「Description」フィールド1903からなる。「Item」フィールドは以下に示す種別をもっている。
【0129】
・Format:入力タイプ名称(入力タイプ選択部5で選択された入力タイプ)
・DataType:基本データ型
・BSU:辞書要素の識別コード
・ID:コンテンツデータを識別するID
・Data:ルールデータ
・Func:検査処理の名称
・Range:配列の範囲(Array型のみ)
・Text:ユーザ定義ルールの定義文(図30(a)のテキスト型のユーザ定義ルールのみ)
・Column:コラムリスト(図30(b)のコラム型のユーザ定義ルールのみ)
このうち、非array型の生成ルールでは「Item」種別が「Data」であるものは、以下のTag種別を持っている。
【0130】
・Value:基本データ型がDate型、Level型でない場合に、「手入力」で入力された要素の値が「Description」フィールド1903に記述される。
【0131】
・DateValue:基本データ型がDate型である場合に、「手入力」で入力された、年(Yvalue)、月(Mvalue)、日(Dvalue)、時(Hvalue)、分(MMValue)、秒(Svalue)の6つの値が、フィールド1903に記述される。
【0132】
・LevelValue:基本データ型がLevel型である場合に、「手入力」で入力された、最小(MinValue)、公称(NomValue)、代表(TypeValue)、最大(MaxValue)の4つの値が、フィールド1903に記述される。
【0133】
・PredefinedRule:基本データ型が文字型でない集合型コンテンツデータの入力フォームに設けられている簡易ルールで入力された、値域(Bound1、Bound2)、ピッチ計算式(CalcType、Pitch)の4つの値がフィールド1903に記述される。
【0134】
・PredefinedStrRule:基本データ型が文字型である集合型コンテンツデータの入力フォームに設けられている、文字列用の簡易ルールで入力された、値域(Bound1、Bound2)、ピッチ計算式(Pitch)の3つの値が、フィールド1903に記述される。
【0135】
・UserRule:基本データ型がレベル型でない場合に「ルール編集」で入力された、ユーザ定義ルールの名称(RuleName)
・LevelUserRule:基本データ型がLevel型である場合に「ルール編集」で入力された、4つの値とユーザ定義ルール名(RuleName)がフィールド1903に記述される。
【0136】
また、array型の生成ルールでは、「Item」種別が「Data」であるものは、以下のTag種別を持っている。
【0137】
・Value:「手入力」で入力された、配列番号(Num)と要素の値(Value)がフィールド1903に記述される。
【0138】
・DateValue:「手入力」で入力された、配列番号(Num)と基本データ型がDate型のデータがフィールド1903に記述される。
【0139】
・LevelValue:「手入力」で入力された、配列番号(Num)と基本データ型がLevel型のデータがフィールド1903に記述される。
【0140】
・LevelUserRule:「ルール編集」で入力された、配列番号(Num)と基本データ型がLevel型のデータとユーザ定義ルール名がフィールド1903に記述される。
【0141】
・UserRule:「ルール編集」で入力された、配列番号の範囲(Num1,Num2)とユーザ定義ルール名(RuleName)がフィールド1903に記述される。
【0142】
図31〜図36は、図22〜図27に示した入力フォームへの入力例のそれぞれに対応する生成ルールを示したものである。
【0143】
図31に示す生成ルールは、図22に示したNum_typeの入力フォームへの入力例に対応するものである。この場合、入力タイプの名称、基本データ型、辞書要素の識別コード、コンテンツデータを識別するID、手入力で入力されたコンテンツデータの2つの要素の値、選択された2つの検査処理の名称が、この順で記述されている。
【0144】
図32に示す生成ルールは、図23に示したNum_typeの入力フォームへの入力例に対応するものである。この場合、入力タイプの名称、基本データ型、辞書要素の識別コード、コンテンツデータを識別するID、簡易ルールで入力された1行目の入力要素2401の値、2行目の入力要素の値2402、手入力で入力されたコンテンツデータの要素の値、選択された1つの検査処理の名称が、この順で記述されている。
【0145】
図33(a)に示す生成ルールは、図24に示したNum_typeの入力フォームへの入力例に対応するものである。この場合、入力タイプの名称、基本データ型、辞書要素の識別コード、コンテンツデータを識別するID、ユーザ定義ルールの名称、選択された2つの検査処理の名称が、この順で記述されている。図33(b)は、ユーザ定義ルールを記述した生成ルールである。この場合、ユーザ定義ルールの名称と、基本データ型に続き、ユーザにより入力されたルールが「Text」として記述されている。
【0146】
図34(a)に示す生成ルールは、図25に示したStr_typeの入力フォームへの入力例に対応するものである。この場合、入力タイプの名称、基本データ型、辞書要素の識別コード、コンテンツデータを識別するID、ユーザ定義ルールの名称、手入力されたコンテンツデータの要素の値が、この順で記述されている。図34(b)は、ユーザ定義ルールを記述した生成ルールである。この場合、ユーザ定義ルールの名称と、基本データ型に続き、ユーザにより各コラムに入力された文字列が「column」として記述されている。
【0147】
図35(a)に示す生成ルールは、図26に示したNum_arrayの入力フォームへの入力例に対応するものである。この場合、入力タイプの名称、基本データ型、辞書要素の識別コード、コンテンツデータを識別するID、配列の範囲(ここでは、1行7列)、ユーザ定義ルールの名称、手入力されたコンテンツデータの2つの要素の値、選択された検査処理の名称が、この順で記述されている。図35(b)は、ユーザ定義ルールを記述した生成ルールである。この場合、ユーザ定義ルールの名称と、基本データ型に続き、ユーザによりユーザにより入力されたルールが「Text」として記述されている。
【0148】
図36に示す生成ルールは、図27に示したENUM_arrayの入力フォームへの入力例に対応するものである。この場合、入力タイプの名称、基本データ型、辞書要素の識別コード、コンテンツデータを識別するID、配列の範囲(ここでは、1行6列)、配列の要素としてダイアログボックスに表示された値のうちユーザにより選択された値、選択された検査処理の名称が、この順で記述されている。
【0149】
コンテンツデータ生成部10は、上記生成ルールに記述されたデータを用いて、集合型コンテンツデータを生成する。
【0150】
図41は、図37のステップS12におけるコンテンツデータ生成処理を説明するためのフローチャートである。この処理はコンテンツデータ生成部10で実行される。
【0151】
はじめに、電子カタログコンテンツデータ編集部2の編集画面上で指定されたセルに対し、「集合型コンテンツデータ生成」操作があった場合、当該指定されたセルに対応する生成ルールが、生成ルール記憶部9に記憶されているかを調べる(ステップS61)。存在しなければ、エラーメッセージを表示する(ステップS62)。当該生成ルールが存在すれば、当該生成ルールRを生成ルール記憶部9から読み出す(ステップS63)。
【0152】
次に、生成ルールRの「Format」データレコードR1の「Description」フィールドの値D1(すなわち、入力タイプ)を得る(ステップS63)。そして、生成ルールRから、「Data」データの先頭レコードR2を取り出す(ステップS65)。
【0153】
値D1で表されている入力タイプがarray型かどうかを調べる(ステップS66)。入力タイプがarray型でない場合は、生成ルールRの「DataType」データレコードR4を取り出し、その「Description」フィールドの値に対応する空集合のリストLを生成し(ステップS67)、第1のデータ生成処理を実行する(ステップS68)。次に、生成ルールの次の「Data」データレコードを探し、それを新たなR2としてステップS68へ戻り第1のデータ生成処理を実行することを、生成ルールに「Data」データレコードが存在する間繰り返す(ステップS69〜ステップS70)。第1のデータ生成処理を繰返し実行することで、リストLの各要素が生成される。
【0154】
ステップS66で、値D1で表されている入力タイプがarray型の場合は、図42のステップS71へ進み、生成ルールRの「DataType」データレコードR4と「Range」データレコードR5を求め、R4のDescriptionフィールドの値に対応し、R5のDescriptionフィールドの値(範囲)を持つ配列Aを生成し(ステップS71)、第2のデータ生成処理を実行する(ステップS72)。次に、生成ルールRの次の「Data」データレコードを探し、それを新たなR2としてステップS72へ戻り第2のデータ生成処理を実行することを、生成ルールに「Data」データレコードが存在する間繰り返す(ステップS73〜ステップS74)。第2のデータ生成処理を繰返し実行することで、配列Aの各要素が生成される。
【0155】
ステップS69あるいはステップS73において、「Data」データレコードが終了したら、生成ルールRから、先頭の「Func」データレコードR3を取り出す(ステップS75)。このデータレコードR3の「Description」フィールドに記述された検査処理のプログラム(以下、検査関数と呼ぶ)を、生成ルール記憶部9から読込み、当該検査処理を、リストLあるいは配列Aに適用する(ステップS76)。
【0156】
検査関数がエラーを検出した場合、すなわち、リストLや配列Aの要素に、当該集合型コンテンツデータの種別や基本データ型、「Uniqueness」、「Optional」により定められた条件を満たさないものが存在するときは(ステップS77)、エラーメッセージを表示し、処理を中断する(ステップS78)。
【0157】
リストLや配列Aに検査関数を適用して、エラーが検出されなかった場合、すなわち、リストLや配列Aの全ての要素が、当該集合型コンテンツデータの種別や基本データ型、「Uniqueness」、「Optional」により定められた条件を満たすときは、次に、生成ルールの次の「Func」データレコードを探し、それを新たなR3としてステップS76へ戻り、次の検査関数をリストLや配列Aに適用して、リストLや配列Aの要素に、当該集合型コンテンツデータの種別や基本データ型、「Uniqueness」、「Optional」により定められた条件を満たさないものはないか検査することを、生成ルールに「Func」データレコードが存在する間繰り返す(ステップS79〜ステップS80)。
【0158】
生成ルールRに記述されている各「Func」データレコードに対応する検査関数を用いてリストLや配列Aの各要素を検査して、いずれの検査においてもエラーが検出されなかったときは、当該リストLや、配列Aの各要素を、指定されセルに代入する(ステップS81)。
【0159】
次に、図43、図44に示すフローチャートを参照して、図41のステップS68における第1のデータ生成処理について説明する。この処理は、array型でない集合型コンテンツデータの各要素をリストLの要素として生成するための処理である。データレコードR2の「Tag」フィールドの値に応じて、データ処理手順が異なる。
【0160】
「Tag」フィールドの値が「Value」である場合、すなわち、「手入力」で入力された要素の値である場合(ステップS101)、データレコードR2の「Description」フィールドの値(=Value)をリストLに追加する(ステップS105)。
【0161】
「Tag」フィールドの値が「DateValue」である場合、すなわち、「手入力」で入力されたDate型の要素の値である場合(ステップS102)、データレコードR2の「Description」フィールドの値(=Yvalue、Mvalue、Dvalue、Hvalue、MMValue、Svalue)をリストLに追加する(ステップS106)。
【0162】
「Tag」フィールドの値が「LevelValue」である場合、すなわち、「手入力」で入力されたLevel型の要素の値である場合(ステップS103)、データレコードR2の「Description」フィールドの値(=MinValue、NomValue、TypeValue、MaxValue)をリストLに追加する(ステップS107)。
【0163】
「Tag」フィールドの値が「PredefindRule」である場合、すなわち、入力フォームに予め備わっている簡易ルールを用いて入力している場合(ステップS104)、データレコードR2の「Description」フィールドの値(=Bound1、Bound2、CalcType、Pitch)を取出し(ステップS108)、変数Xに、「Bound1」に対応する値代入し、XをリストLに追加する(ステップS109)。
【0164】
次に、Xに、「Pitch」に対応する値を引数とした「CalcType」に対応する演算を実行し、その結果をXに代入し、Xの新たな値をリストLに追加する(ステップS111)。ステップS111の処理は、 X≦Bound2を満たす間繰り返す(ステップS110〜ステップS113)。
【0165】
「Tag」フィールドの値が「PredefinedStrRule」である場合、すなわち、文字列用の簡易ルールで入力している場合(図44のステップS115)、データレコードR2の「Description」フィールドの値(=Bound1、Bound2、Pitch)を取出し(ステップS116)、Xに「Bound1」に対応する値を代入し、Xの値をリストLに追加する(ステップS117)。次にXに「Pitche」に対応する演算を実行し、その結果をXに代入し、新たなXの値をリストLに追加する(ステップS119)。ステップS119の処理は、 X≦Bound2 を満たす間繰り返す(ステップS118〜ステップS121)。
【0166】
「Tag」フィールドの値が「LevelUserRule」である場合、すなわち、基本データ型がLevel型である場合にユーザ定義ルールで入力している場合(ステップS116)、はじめに、データレコードR2のDescriptionフィールドの最初の4つの値(=MinValue、NomValue、TypeValue、MaxValue)をリストLに追加し(ステップS117)、次に、リストLに対しデータレコードR2の「Description」フィールドの最後の値(=RuleName)、すなわち、ユーザ定義ルール名に対応する生成ルールに記述されている処理を実行し(ステップS118)、実行の結果得られた値をリストLの内容として追加する(ステップS119)。
【0167】
「Tag」フィールドの値が「UserRule」である場合、すなわち、基本データ型がLevel型でない場合にユーザ定義ルールで入力している場合(ステップS120)、リストLに対し。データレコードR2の「Description」フィールドの最後の値(=RuleName)、すなわち、ユーザ定義ルール名に対応する生成ルールに記述されている処理を実行し(ステップS121)、実行の結果得られた値をリストLの内容として追加する(ステップS122)。
【0168】
「Tag」フィールドの値が、上記のいずれにも該当しない場合は、エラーメッセージを表示する(ステップS123)。
【0169】
次に、図45、図46に示すフローチャートを参照して、図42のステップS72における第2のデータ生成処理について説明する。この処理は、array型の集合型コンテンツデータの各要素を配列Aの要素として生成するための処理である。データレコードR2の「Tag」フィールドの値に応じて、データ処理手順が異なる。
【0170】
「Tag」フィールドの値が「Value」である場合、すなわち、「手入力」で配列番号(Num)と要素の値(Value)を入力した場合(ステップS131)、データレコードR2の「Description」フィールドの最初の値(=Num)と一致する配列Aのアドレスに、当該「Description」フィールドの次の値(=Value)を代入する(ステップS132)。
【0171】
「Tag」フィールドの値が「DateValue」である場合、すなわち、「手入力」で、配列番号(Num)と基本データ型がDate型のデータが入力された場合(ステップS133)、データレコードR2の「Description」フィールドの最初の値(=Num)と一致する配列Aのアドレスに、当該「Description」フィールドの残りの6つの値(=Yvalue、Mvalue、Dvalue、Hvalue、MMValue、Svalue)を代入する(ステップS134)。
【0172】
「Tag」フィールドの値が「LevelValue」である場合、すなわち、「手入力」で、配列番号(Num)と基本データ型がDate型のデータが入力された場合(ステップS135)、データレコードR2の「Descriptionフィールド」の最初の値(=Num)と一致する配列Aのアドレスに、当該「Description」フィールドの残りの4つの値(=MinValue、NomValue、TypeValue、MaxValue)を代入する(ステップS136)。
【0173】
「Tag」フィールドの値が「LevelUserRule」である場合、すなわち、「ルール編集」で、配列番号(Num)と基本データ型がLevel型のデータとユーザ定義ルールが入力された場合(図46のステップS137)、データレコードR2の「Description」フィールドの最初の値(=Num)と一致する配列Aのアドレスに、当該「Description」フィールドの残りの4つの値(=MinValue、NomValue、TypeValue、MaxValue)を代入し(ステップS138)、次に、データレコードR2の「Description」フィールドの最後の値(=RuleName)すなわち、ユーザ定義ルール名に対応する生成ルールに記述されている処理を実行し(ステップS139)、実行の結果得られた値を配列Aの内容として追加する(ステップS140)。
【0174】
「Tag」フィールドの値が「UserRule」である場合、すなわち、「ルール編集」で、配列番号の範囲(Num1,Num2)とユーザ定義ルールが入力された場合(ステップS141)、データレコードR2の「Description」フィールドの最初の2つの値(=Num1、Num2)の範囲にある全ての配列Aのアドレスに、当該「Description」フィールドの最後の値(=RuleName)、すなわち、ユーザ定義ルール名に対応する生成ルールに記述されている処理を実行し(ステップS142)、実行の結果得られた値を配列Aの内容として追加する(ステップS143)。
【0175】
「Tag」フィールドの値が、上記のいずれにも該当しない場合は、エラーメッセージを表示する(ステップS144)。
【0176】
(集合型コンテンツデータの入力手順)
図47〜図50を参照して、図1の電子カタログコンテンツ作成システムで、集合型コンテンツデータを入力する場合のユーザ操作手順について、図37に示したフローチャートに従って説明する。
【0177】
図47に示したような、電子カタログコンテンツデータ編集部2で表示される編集画面G1上で、ユーザは、未入力部分(空白のセル)を選択する(図37のステップS3)。すると、当該選択されたセルに対応するコンテンツデータは、集合型コンテンツデータであるために(ステップS11〜ステップS12)、当該選択されたセルに対応する辞書要素データを読込み、図48に示すように、生成ルール編集画面G2が起動される。
【0178】
例えば、ユーザにより選択されたセルに対応する諸元は、コード「AEE002」の「目盛り設定」であり、図2に示した辞書要素データから、この諸元に対応するコンテンツデータは、List型の集合型コンテンツデータであり、基本データ型はReal型である。そして、「Uniqueness」の値は「FALSE」である。ステップS15の生成ルール編集処理では、まず、これらを条件として、当該セルに対応する入力タイプと検査処理を選択する。すると、入力タイプは、Num_typeであることがわかる。図48の生成ルール編集画面G2には、図7に示したNum_typeの入力フォームが表示されている。
【0179】
ここでは、「簡易ルール」および「手入力」にて生成ルールが入力(編集)され、当該生成ルール編集画面に設けられた「OK」ボタンが押されて、当該生成ルールが生成ルール記憶部9に記憶される。
【0180】
この時点で、編集画面G1の当該選択されたセルには、図49に示すように、生成ルールが保存されているが、まだ、コンテンツデータ生成部10におけるコンテンツデータ生成処理が未実施であることを示す印「(*)」が表示される。
【0181】
次に、図49に示すように、編集画面G1上の生成ルールの保存されているセルを選択し、編集画面G1に設けられた「コンテンツ生成」ボタンが押されて(ステップS4)、コンテンツデータ生成処理が開始される(ステップS12)。
【0182】
このときのコンテンツデータ生成処理(具体的には、図43の第1のデータ生成処理のステップS104、ステップS108〜ステップS113の処理)では、まず、生成ルールの1番目の「Data」データレコードを処理対象として、「簡易ルール」で入力されたデータ、すなわち、Bound1=1.5、Bound2=6.0、CalcType=+、Pitch=1.5から、(1.5,3.0,4.5、6.0)を生成し、これをリストLの要素する。次に、生成ルールの2番目の「Data」データレコードを処理対象として、「簡易ルール」で入力されたデータ、すなわち、Bound1=10、Bound2=80、CalcType=*、Pitch=2から、(10,20,40,80)を生成し、これをリストLの要素に追加する。最後に、生成ルールの3番目の「Data」データレコードを処理対象として、「手入力」で入力されたデータ、すなわち、「100」をリストLの最後の要素として追加する。その結果、リストLとして、(1.5,3.0,4.5、6.0、10,20,40,80、100)が得られる。
【0183】
リストLの要素は、図50に示すように、編集画面G1上のコンテンツ生成のために選択されたセルに表示される。なお、図50では、セルに、生成された集合型コンテンツデータの一部が表示されている様子を示している。この場合、当該セルにカーソルをおくことにより、図50に示すように、コンテンツデータ全体がポップアップされて表示される。
【0184】
以上説明したように、上記実施形態によれば、複数の要素データから構成される集合型データの各要素を1つ1つ全て入力する替わりに、計算ルール(入力フォームに備わる簡易ルール)や処理手順(ユーザ定義ルール)での入力を可能にすることで、要素データの個数が多くなればなるほど、要素データを全て手入力で入力する場合と比べて、入力の手間が大幅に軽減できるとともに、誤入力もなく、一度に数多くの要素データを入力することができる。
【0185】
また、コンテンツデータ生成部10で生成されたコンテンツデータを構成する各要素データに対しては、当該コンテンツデータの集合型の種類とその要素データの種類により定められる条件を満たす否かを検査することで、入力するコンテンツデータの信頼性と品質の向上が図れる。
【0186】
本発明の実施の形態に記載した本発明の手法(特に、図37〜図46のフローチャートで示した処理手順など)は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フレキシブルディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、半導体メモリなどの記録媒体に格納して頒布することもできる。
【0187】
なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。
【0188】
【発明の効果】
以上説明したように、本発明によれば、入力に手間のかかる複数の要素データからなる集合型データの入力作業を大幅に軽減することができる。
【図面の簡単な説明】
【図1】本発明の実施形態にかかる電子カタログコンテンツ作成システムの機能構成例を示した図。
【図2】辞書データのデータ構造を示した図。
【図3】電子カタログコンテンツデータの一例を示した図。
【図4】入力タイプ選択ルールの一例を示した図。
【図5】検査処理選択ルールの一例を示した図。
【図6】電子カタログコンテンツデータ編集部により表示される編集画面の一例を示した図。
【図7】入力タイプが「Num_type」の入力フォームの画面表示例を示した図。
【図8】入力タイプが「Str_type」の入力フォームの画面表示例を示した図。
【図9】入力タイプが「Bool_type」の入力フォームの画面表示例を示した図。
【図10】入力タイプが「Const1」の入力フォームの画面表示例を示した図。
【図11】入力タイプが「Date_type」の入力フォームの画面表示例を示した図。
【図12】入力タイプが「ENUM_type」の入力フォームの画面表示例を示した図。
【図13】入力タイプが「Level_type」の入力フォームの画面表示例を示した図。
【図14】入力タイプが「Num_array」の入力フォームの画面表示例を示した図。
【図15】入力タイプが「Str_array」の入力フォームの画面表示例を示した図。
【図16】入力タイプが「Bool_array」の入力フォームの画面表示例を示した図。
【図17】入力タイプが「Const2」の入力フォームの画面表示例を示した図。
【図18】入力タイプが「Const3」の入力フォームの画面表示例を示した図。
【図19】入力タイプが「Date_array」の入力フォームの画面表示例を示した図。
【図20】入力タイプが「ENUM_array」の入力フォームの画面表示例を示した図。
【図21】入力タイプが「Level_array」の入力フォームの画面表示例を示した図。
【図22】入力タイプが「Num_type」の入力フォームに、「手入力」でデータ入力した場合の入力例を示した図。
【図23】入力タイプが「Num_type」の入力フォームに、「簡易ルール」でデータ入力した場合の入力例を示した図。
【図24】入力タイプが「Num_type」の入力フォームに、「ルール編集」でデータ入力した場合の入力例を示した図。
【図25】入力タイプが「Str_type」の入力フォームに、「ルール編集」でデータ入力した場合の入力例を示した図。
【図26】入力タイプが「Num_array」の入力フォームに、「ルール編集」でデータ入力した場合の入力例を示した図。
【図27】入力タイプが「ENUM_array」の入力フォームへのデータ入力例を示した図。
【図28】非配列型の生成ルールのデータ構造を示した図。
【図29】配列型の生成ルールのデータ構造を示した図。
【図30】ユーザ定義ルールを記述する生成ルールのデータ構造を示した図。
【図31】図22に示したNum_typeの入力フォームへの入力例に対応する生成ルールの具体例を示した図。
【図32】図23に示したNum_typeの入力フォームへの入力例に対応する生成ルールの具体例を示した図。
【図33】図24に示したNum_typeの入力フォームへの入力例に対応する生成ルールの具体例を示した図。
【図34】図25に示したStr_typeの入力フォームへの入力例に対応する生成ルールの具体例を示した図。
【図35】図26に示したNum_arrayの入力フォームへの入力例に対応する生成ルールの具体例を示した図。
【図36】図27に示したENUM_arrayの入力フォームへの入力例に対応する生成ルールの具体例を示した図。
【図37】電子カタログコンテンツデータ編集部の処理動作を説明するためのフローチャート。
【図38】電子カタログコンテンツデータ編集部の処理動作を説明するためのフローチャート。
【図39】生成ルール編集部の生成ルール編集処理動作を説明するためのフローチャート。
【図40】入力タイプ選択部の入力タイプ選択処理動作を説明するためのフローチャート。
【図41】コンテンツデータ生成部のコンテンツデータ生成処理動作を説明するためのフローチャート。
【図42】コンテンツデータ生成部のコンテンツデータ生成処理動作を説明するためのフローチャート。
【図43】コンテンツデータ生成処理で実行される第1のデータ生成処理動作を説明するためのフローチャート。
【図44】コンテンツデータ生成処理で実行される第1のデータ生成処理動作を説明するためのフローチャート。
【図45】コンテンツデータ生成処理で実行される第2のデータ生成処理動作を説明するためのフローチャート。
【図46】コンテンツデータ生成処理で実行される第2のデータ生成処理動作を説明するためのフローチャート。
【図47】編集画面上でのユーザ操作を説明するための図。
【図48】入力フォームを表示した生成ルール編集画面の表示例を示した図。
【図49】編集画面上での生成ルールが保存されているセルの表示例を示した図。
【図50】編集画面上での生成されたコンテンツデータの表示例を示した図。
【符号の説明】
1…辞書データ記憶部、2…電子カタログコンテンツデータ編集部、3…入力タイプ選択ルール編集部、4…入力タイプ選択ルール記憶部、5…入力タイプ選択部、6…入力フォーム編集部、7…入力フォーム記憶部、8…生成ルール編集部、9…生成ルール記憶部、10…コンテンツデータ生成部、11…電子カタログコンテンツデータ記憶部、12…インタフェース部[0001]
TECHNICAL FIELD OF THE INVENTION
For example, the present invention relates to an input support device for content data of an electronic catalog.
[0002]
[Prior art]
The data expressing the technical information of parts represented by the electronic catalog of the ISO 13584 standard describes a "dictionary" that provides a vocabulary for expressing each part and the technical specifications of the actual product based on the "dictionary". It consists of “content data” (for example, see
[0003]
In the "dictionary" of the ISO13584 standard, a product category expressed on a tree as a concept hierarchy and a technical attribute (property item: property) to which the product category belongs are main dictionary elements. And so on. On the other hand, content data is mainly registered as actual product information by an actual parts supplier or the like using the aforementioned standardized dictionary.
[0004]
In recent years, attempts have been made in various industries to realize inter-company electronic commerce using an electronic catalog based on ISO13584. For example, in the heavy electrical industry, a “JeMarche” project is being pursued with the aim of commercializing cross-industry supply chain management (for example, see Non-Patent Document 3).
[0005]
In “JeMarche”, based on the provisions of ISO 13584-42, simple type data (integer (Int) type, real number (Real) type, character (String) type, Boolean algebra (Boolean) type, choice (ENUM) Type) has been developed in the form of a table.
[0006]
In addition, a technology has been developed in which content data of simple type data is dynamically generated at the time of content data search by describing constraints between specification items (for example, see Patent Document 1).
[0007]
In recent years, as specific applications have progressed, the need for expansion to collective data capable of expressing more complex data has been increasing, and IEC61360, which stipulates the application of ISO13584 in the electric and electronic fields, has set as set data as set data. Type, List type, Bag type, Array type and the like are newly added.
[0008]
[Non-patent document 1]
ISO 13584-42: Industrial Automation Systems and Integration-Parts Library
[0009]
[Non-patent document 2]
IEC61360-1: Standard data elementtypes with associated classification Scheme for electrical components
[0010]
[Non-Patent Document 3]
[Retrieved February 5, 2003], Internet <URL: http: // www. jemarche. com / >>
[0011]
[Non-patent document 4]
FY1999 IPA project: Experimental work on "Construction of a complex SCM platform with SMEs in the heavy electrical crisis manufacturing industry"-External Design Book II, "Electronic Catalog"
[0012]
[Patent Document 1]
JP-A-11-85836
[0013]
[Problems to be solved by the invention]
However, in the conventional method of creating content data, since element data is targeted for input to one simple data type, when inputting set-type data including a plurality of element data, all elements of the set are It is difficult to input data as a concatenated character string or to simply input each element one by one.
[0014]
In view of the above problems, an object of the present invention is to provide a data input method capable of efficiently inputting set type data composed of a plurality of element data, and an input support device using the same. I do.
[0015]
[Means for Solving the Problems]
According to the present invention, for each of a plurality of items, set-type data composed of a plurality of element data is input as a value thereof, and each of the plurality of items has a value corresponding to each item. As the data type, the type of set-type data composed of a plurality of element data and the type of element data constituting the set-type data are determined, and the input target item selected from the plurality of items is determined in advance. A calculation rule for selecting an input format corresponding to a predetermined combination of the type of the set type data and the type of the element data, and generating the element data by the element data and the operation according to the selected input format And inputting at least one of the processing procedures for generating the element data as input data for generating the value of the first item; Based, to produce a value of said input object. ADVANTAGE OF THE INVENTION According to this invention, instead of inputting each element of the set type data which consists of several element data one by one, input by calculation rules and a processing procedure is enabled, Erroneous input can be reduced and data can be input efficiently.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0017]
In the present embodiment, a description will be given of an electronic catalog content creation system to which a data input method that facilitates input when content data is collective data is applied, using collective data defined by ISO13584 and IEC61360 as an example.
[0018]
The content data is input as a value corresponding to a specification item described later.
[0019]
Here, the collective data is data composed of a plurality of element data of a predetermined data type, and the simple data is data composed of one element data. Here, as the types of the collective data, for example, the following five types classified according to the rules of ISO13584 are used.
[0020]
-Set type (set that does not allow duplicate elements)
Constraint_Set type (one type of Set type whose subset can be used as content)
-Bag type (set that allows duplicate elements)
-List type (set in which the order of the elements is determined)
・ Array type (array type)
Some of the above-mentioned set type data further has the following attributes. That is,
“Uniqueness” is for setting whether or not element duplication is permitted. If uniqueness is required, “TRUE” is set, and if element duplication is possible, “FALSE” is set. “Uniqueness” can be set in a List type and an Array type.
[0021]
“Optional” is a setting of whether or not to allow a null value (Null) to be included in a plurality of elements. The value is “TRUE” when possible, and “FALSE” when prohibited. Take. “Optional” can be set in an Array type.
[0022]
The types of the collective data are not limited to the above five types, and there may be collective data other than the above.
[0023]
Int (integer), Int_measure (integer with unit), Int_currency (integer with monetary unit), Real (real number), Real_measure (real number with unit), Real_currency (Real number with money unit), String (character string), Boolean (Boolean), date (date), ENUM (choice type), Level (minimum value, nominal value, representative value, maximum value) And Real). This basic data type is also in accordance with the provisions of ISO13584, but is not limited to the above data type, and there may be other data types.
[0024]
The content data includes simple type data in addition to the collective type data, and the simple type data is composed of one element.
[0025]
(Configuration of electronic catalog content creation system)
FIG. 1 is a block diagram showing a functional configuration of an electronic catalog content creation system to which the input support device of the present invention is applied. The dictionary
[0026]
The
[0027]
The electronic catalog content
[0028]
The electronic catalog content
[0029]
FIG. 2 shows the data structure of the dictionary data stored in the dictionary
[0030]
In the case of ISO13584, when the basic data type is “ENUM type”, it is necessary to determine a discrete value of possible values in advance.
[0031]
In the present embodiment, the
[0032]
FIG. 3 shows a specific example of one set of content data (product (parts) data) for a certain product stored in the electronic catalog content
[0033]
When the operation command from the user is “input request”, the input type selection
[0034]
The input type selection rule and the inspection process selection rule created and edited by the input type selection
[0035]
When the operation command from the user is “input request” and the data type of the content data corresponding to the specified specification item is set-type data, the input
[0036]
FIG. 4 shows an example of an input type selection rule stored in the input type selection
[0037]
As shown in FIGS. 4 and 5, both the input type selection rule and the inspection processing selection rule arrange the types of the set type data in the horizontal axis direction (see the
[0038]
The elements of the matrix shown in FIG. 4 represent the input type corresponding to the type of the aggregate data and the type of the basic data type corresponding to each of the column and row to which the element belongs. That is, this matrix determines one input type according to the type of the aggregate data and the basic data type.
[0039]
The elements of the matrix shown in FIG. 5 represent the inspection processing corresponding to the type of the collective data and the type of the basic data type corresponding to each of the column and row to which the element belongs. In other words, this matrix determines one set of inspection processing according to the type of the aggregation type data and the basic data type.
[0040]
In the matrices shown in FIGS. 4 and 5, the input type and the inspection process are stored as character information.
[0041]
The input type selection rule and the inspection processing selection rule are edited by the input type selection
[0042]
For the input type, the types of the basic data types are numeric type (Int (integer type), Int_measure (integer type with unit), Int_currency (integer type with monetary unit), Real (real type), Real_measure (real type with unit), Real_currency (real type with money unit)), character type (String), Boolean type (Boolean), date type (date), choice type (ENUM), level type (Level), Num, There are roughly six types: Str, Const.Bool, Data, ENUM, and Level. Further, the six types may be array, (if the position of the element is predetermined) or non-array (the position of the element is not predetermined). They can be divided into two types: type. Therefore, here, approximately 14 types of input types are set according to the types of the basic data type and the set type data. This classification is for grouping the same or similar input formats. Each group is associated with one input form.
[0043]
In the inspection processing, the content
[0044]
Non_Int (): processing for checking for the existence of non-integer data
Non_Numeric (): processing for checking for the presence or absence of data other than real numbers
Non_date (): processing for checking for the presence or absence of data of Date type and Time type of ISO10303
Non_ENUM (): a process of checking whether there is data other than the selector defined by the dictionary element
Non_Boolean (): processing for checking for the presence or absence of data other than TRUE and FALSE
Uniqueness (): processing for checking whether elements included in a set are unique
Null (): processing for checking whether or not an element included in the set has a null value
Each of the inspection processing programs is stored in the input
[0045]
The input
[0046]
The input form created and edited by the input
[0047]
The generation
[0048]
The generation rules created and edited by the generation
[0049]
The content
[0050]
(Processing operation of electronic catalog creation system)
FIG. 37 is a flowchart for explaining the processing operation of the electronic catalog content
[0051]
First, an operation command from a user is received (step S1). If the command is a “dictionary reading operation” (step S2), the dictionary data selected by the user is read from the dictionary
[0052]
If the operation command from the user is “data input request operation” (step S3), simple data on the content data of the specification is obtained from the dictionary element corresponding to the specification (one cell) specified by the input request. The value V of the
[0053]
If V is a set type (step S12), the data of the dictionary element corresponding to the cell specified by the input request is read (step S14), and the generation
[0054]
If the operation command from the user is “collective content data generation operation” (step S4), the content data generation process is executed in the content data generation unit 10 (step S16), and the generated content data is displayed in FIG. It is displayed on the cell corresponding to the content data on the editing screen as shown, and when the processing is completed, the process returns to step S1 and waits for the next input.
[0055]
If the operation command from the user is “input form editing operation” (step S5 in FIG. 38), an input form editing process in the input
[0056]
If the operation command from the user is "input type selection rule editing operation" (step S6), a selection rule editing process in the input type
[0057]
If the operation command from the user is “operation for reading electronic catalog content data” (step S7), the electronic catalog content data is read from the electronic catalog content
[0058]
If the operation command from the user is “storage operation of electronic catalog content data” (step S8), the currently displayed electronic catalog content data is stored in the electronic catalog content data storage unit 11 (step S20). At this time, if there is content data newly generated by the "collective content data generation operation", the electronic catalog content data is stored as the value of the specification item in the product (parts) data corresponding to the content data. The information is stored in the
[0059]
If the operation command from the user is “end operation” (step S9), the entire process ends.
[0060]
FIG. 6 shows an example of an editing screen displayed by the electronic catalog content
[0061]
In the actual input of the content data, a portion of the editing screen shown in FIG. 6 where the content data is to be input (that is, a cell corresponding to one item of a certain product (part)) is selected with a mouse or the like. This allows input.
[0062]
In FIG. 6, as shown in a
[0063]
Further, as shown in a
[0064]
The input screen of the content data can be viewed on the editing screen shown in FIG.
[0065]
(Generation rule editing processing: input of collective content data)
FIG. 39 is a flowchart illustrating the generation rule editing process in step S15 of FIG. This process is mainly executed in the generation
[0066]
Collective content data has a plurality of elements. It is of course possible to input each element one by one, but if each element has regularity, simply specify the rule (rule) and one or some of all elements, Element can also be entered. In particular, the latter input method is useful in that, when the number of elements is large, the trouble of inputting can be saved.
[0067]
Therefore, here, in the input form corresponding to the input type selected by the input
[0068]
The data and rules written (input) in the input form are stored in the generation
[0069]
First, it is determined whether or not a generation rule corresponding to (the content data of) one cell on the editing screen in FIG. 6 specified in step S1 in FIG. 37 exists in the generation rule storage unit 9 (step S31). If there is, the corresponding generation rule R and the input form F of the collective content data corresponding to the generation rule are read, displayed, and edited (step S42). When the editing on the displayed input form is completed (step S43), the generation rule R is stored in the generation rule storage unit 9 (step S44).
[0070]
In step S31, if the generation rule corresponding to (the content data of) one cell on the edit screen in FIG. 6 does not exist in the generation
[0071]
Next, an input type selection process is executed based on the above four values (step S33). Based on the input type T obtained by this process, a new generation rule R is created, and the list C of the inspection process also selected in the input type selection process is substituted for the newly created generation rule R. (Step S34).
[0072]
The input form F corresponding to the input type T is read from the input
[0073]
When the input type T is the ENUM type (step S36), option data is read from the dictionary data and written in a predetermined dialog portion of the input form F (step S37).
[0074]
If the input type T is the Array type (step S38), the array range definition data is read from the dictionary data and written as a variable of the input form F (step S39).
[0075]
When the editing is completed (step S40), the generation rule R is stored in the generation rule storage unit 9 (step S41).
[0076]
FIG. 40 is a flowchart for explaining the input type selection processing procedure in step S33 of FIG. This processing is executed in the
[0077]
First, on the condition that the values of “Simple / Complex”, “DataType”, “Uniqueness”, and “Optional” obtained in step S32 of FIG. 39 are the conditions, the input shown in FIG. With reference to the type selection rule and the inspection processing selection rule shown in FIG. 5, an input type T and an inspection processing list C are obtained (step S51).
[0078]
If there is an input type T that satisfies the above conditions (step S52), the input type T and the list C of the inspection process are returned to the generation rule editing unit 8 (step S53). If the input type T does not exist, an error message is displayed (step S54).
[0079]
7 to 21 show examples of input forms for collective content data for each input type. 7 to 21 show display examples of a generation rule editing screen corresponding to each input form displayed by the generation
[0080]
The input
[0081]
(A set type content data input form whose input type is "Num_type")
FIG. 7 shows an example of an input form of collective content data whose input type is “Num_type”. FIG. 7A shows a main screen of the “Num_type” input form, in which one input element is input to one line of
[0082]
The
[0083]
In a one-
[0084]
To change the order of the input elements (lines), check the
[0085]
As shown in FIG. 7B, the
[0086]
The
[0087]
When the input type is the “simple rule”, content data is generated by executing an operation prepared in advance as a rule for generating content data. Here, as shown in FIG. 7C, in the operator
[0088]
When the input type is “rule editing”, the user inputs a desired rule for generating content data, and executes the rule to generate content data. When "rule edit" is selected as the input type, the
[0089]
If a rule has already been set for a certain element, the rule may be read.
[0090]
FIGS. 22 to 24 show input examples of the input form of “Num_type” in FIG.
[0091]
FIG. 22 shows a state where two input elements are input with the input type “manual input”.
[0092]
FIG. 23 illustrates a state in which two input elements are input with the input type “simple rule” and one input element is input with the input type “manual input”.
[0093]
The
[0094]
In the
[0095]
Therefore, according to the rules described in FIG. 23, the set data (1.5, 3.0, 4.5, 6.0, 10, 20, 40, 80, 100) is generated by the content
[0096]
FIG. 24 shows an input type “rule editing”, in which a user-defined
[0097]
(A collective content data input form whose input type is "Str_type")
FIG. 8 shows an example of an input form of collective content data whose input type is “Str_type”. The input form of “Str_type” is almost the same as the input form of “Num_type” in FIG. 7, but is different on the main screen shown in FIG. 8A in the calculation of the pitch calculation formula in FIG. The child
[0098]
When the "simple rule" is specified as the input type, the pitch calculation formula
[0099]
When "rule edit" is selected as the input type, a rule edit screen as shown in FIG. 8D is activated, whereby the user can create and edit a desired rule. The editing screen shown in FIG. 8D is described as a character
[0100]
FIG. 25A shows an input example of the input form of “Str_type” in FIG. In the first input element, a user-defined
[0101]
In FIG. 25A, the character string "SHT" is further input as an input element with the input type "manual input". As a result, the content data has a value of (ANS001, NX001-1, NX002, NX002-1, NX003, NX003-1, SNX001, SNX001-1, SNX002, SNX002-1, SNX003, SNX003-1, SHT). Collective data is generated.
[0102]
(Aggregated content data input form whose input type is "Bool_type")
FIG. 9 shows an example of an input form of collective content data whose input type is “Bool_type”. In this type, since the value of the element is one of the two values “TRUE, FALSE”, the field for describing the rule desired by the user is not set, and the input field is in the dialog format shown in FIG. You can choose.
[0103]
Collective Content Data Input Form with Input Type “Const1” FIG. 10 shows an example of an input form for collective content data with input type “Const1”. Since there are only two types of this type, one of them is selected by a
[0104]
(A set type content data input form whose input type is "Date_type")
FIG. 11 shows an example of an input form of collective content data whose input type is “Date_type”. In this type, each input element is set by inputting year, month, day, hour, minute, and second.
[0105]
(A set type content data input form whose input type is "ENUM_type")
FIG. 12A shows an example of an input form of collective content data whose input type is “ENUM_type”. In this type, since the value of the element is determined by the dictionary data, the input field can be selected in a dialog format.
[0106]
For example, when the code in FIG. 2 is “AAE007”, as shown in FIG. 12B, the dialog box displays “ON” and “OFF” values according to the definition of the dictionary element. Become so.
[0107]
(Aggregated content data input form whose input type is "Level_type")
FIG. 13A shows an example of an input form of collective content data whose input type is “Level_type”. This type has four
[0108]
Normally, the input type is set individually with the input type “manual input”. However, with the input type “rule editing”, rules between four types of values included in one element can be described. . For example, the value corresponding to “Min” is 75% of the value corresponding to “Type”, the value corresponding to “Max” is 125% of the value corresponding to “Type”, the value corresponding to “Nom” and “Typ”. If the value corresponding to "is equal, only" Type "is described on the main screen of FIG. 13A, and" Min = Type × "is set as a rule on the rule editing screen shown in FIG. 13C. 0.75, Max = Type × 1.25, Mom = Type ”.
[0109]
The above is the input form of the input type which is not an array type (that is, a non-array type). Next, an input form of an array type (array type) will be described. Note that, here, for simplicity of description, a case of a one-dimensional array will be described as an example.
[0110]
(Input form corresponding to array type input type)
FIGS. 14 to 21 show input forms corresponding to the input type of the array type (Array type). Because of the array type, the position of the input element can be explicitly described as an array number.
[0111]
(1) FIG. 14A shows an example of an input form of collective content data whose input type is “Num_array”. In this type, it is difficult to imagine a scene in which the order of the input elements is moved, and therefore, no move button is set in this input form. In the dialog box for designating the input type, as shown in FIG. 14B, one of “manual input” and “rule editing” can be selected for each input element.
[0112]
In the case of "manual input", input can be made only to the feed on the left side of the
[0113]
When “Rule Edit” is designated, a rule edit screen as shown in FIG. 14C is activated, and the user can describe a rule.
[0114]
In the case of the array type, since the number of elements is defined in the dictionary, a range of numbers is set in advance as a variable (described in the area 1102), and the user may use this variable in a rule. it can.
[0115]
FIG. 26 shows an input example in the input form of “Num_array” in FIG. Here, rules are described for the array numbers “1” to “5”, and respective values are set for the array numbers “6” and “7”. In the rule set here, the content is incremented by 10 in the order of the arrangement number. When this rule is executed, (10, 20, 30, 40, 50) is generated as content data. Therefore, array data ((10, 20, 30, 40, 50, 100, 1000) as content data is generated from the input elements shown in FIG.
[0116]
(2) FIG. 15 shows an example of an input form of collective content data whose input type is “Str_array”. In this example, the form matches “Num_array” in FIG.
[0117]
(3) FIG. 16 shows an example of an input form for collective content data whose input type is “Bool_array”. One of the two values “TRUE” and “FALSE” may be input to each input element for which the array number is set, and the input method is the same as “Bool_type” in FIG.
[0118]
(4) FIG. 17 shows an example of an input form of collective content data whose input type is “Const2”. In this type, the user may select a desired pattern from a plurality of patterns in which the positions and values of the input elements are predetermined. For this purpose, a selection button is provided for each pattern, and one of them is selected. That is, in this case, since only 12 patterns are possible, one of these patterns is selected.
[0119]
(5) FIG. 18 shows an example of an input form for collective content data whose input type is “Const3”. As in FIG. 17, since there are only two types of sets in this type, one of these candidates is selected.
[0120]
(6) FIG. 19 shows an example of an input form for collective content data whose input type is “Date_array”. Although the position of each input element is set by the array number, the method of inputting the value of each other input element is the same as “Date_type” in FIG.
[0121]
(7) FIG. 20 shows an example of an input form of collective content data whose input type is “ENUM_array”. Although the position of each input element is set by the array number, the method of inputting the values of the other input elements is the same as “ENUM_type” in FIG.
[0122]
FIG. 27 shows an example of input in the input form of “Enum_array”. Here, the values of the options defined in the dictionary data are set for each array number.
[0123]
(8) FIG. 21 is an example of an input form of collective content data whose input type is “Level_array”. The position of each input element is set by the array number, but the method of inputting the value of each other input element is the same as “Level_type” in FIG.
[0124]
(Generation of collective content data)
The data, rules, and the like entered in each of the above input forms are stored in the generation
[0125]
FIGS. 28 and 29 show the data structure of the generation rule.
[0126]
FIG. 28 shows a data structure of a generation rule representing data, a rule, and the like input to an input form corresponding to a non-array type (not an array type). FIG. 29 shows an input type of the array type. Is a data structure of a generation rule representing data, rules, and the like input to an input form corresponding to.
[0127]
FIG. 30 shows a data structure of data representing a rule (user-defined rule) input by a user with an input type of “rule editing” among data described in the generation rule. Is a data structure when the basic data type is a character type, and is a data structure when a rule is described by a character string input to each column as shown in FIG. 25B. a) shows a data structure in which the basic data type is not a character type and a rule is described in text.
[0128]
The common point in the data structure of the generation rules shown in FIGS. 28 to 30 is that one line indicates one data record, and the data record includes an “Item”
[0129]
Format: Input type name (input type selected by input type selection unit 5)
-DataType: Basic data type
BSU: Dictionary element identification code
ID: ID for identifying content data
・ Data: Rule data
-Func: Name of inspection process
・ Range: Range of sequence (Array type only)
Text: Definition statement of the user-defined rule (only the text-type user-defined rule in FIG. 30A)
Column: Column list (only the column type user-defined rule in FIG. 30B)
Among them, a rule whose “Item” type is “Data” in the non-array type generation rule has the following Tag type.
[0130]
Value: When the basic data type is not the Date type or the Level type, the value of the element input by "manual input" is described in the "Description"
[0131]
DateValue: When the basic data type is the Date type, the year (Yvalue), month (Mvalue), day (Dvalue), hour (Hvalue), minute (MMValue), and second ( 6) are described in a
[0132]
LevelValue: When the basic data type is the Level type, four values of the minimum (MinValue), the nominal (NomValue), the representative (TypeValue), and the maximum (MaxValue), which are input by “manual input”, are set in a
[0133]
PredefinedRule: Four values of a range (Bound1, Bound2) and a pitch calculation formula (CalcType, Pitch) input by a simple rule provided in an input form for set-type content data whose basic data type is not a character type are fields. 1903.
[0134]
PredefinedStrRule: 3 of range (Bound1, Bound2) and pitch calculation formula (Pitch) provided by a simple rule for a character string provided in the input form of the collective content data whose basic data type is a character type One value is described in the
[0135]
-UserRule: Name of a user-defined rule (RuleName) input in "Rule Edit" when the basic data type is not a level type
LevelUserRule: In the case where the basic data type is the Level type, four values and the user-defined rule name (RuleName) input in “Rule Edit” are described in the
[0136]
Further, in the array type generation rule, a rule whose “Item” type is “Data” has the following Tag type.
[0137]
Value: The array number (Num) and the value of the element (Value) input by "manual input" are described in the
[0138]
DateValue: The array number (Num) and the data whose basic data type is Date type, which is input by "manual input", is described in the
[0139]
LevelValue: The array number (Num) and the data of the basic data type Level type, which are input by "manual input", are described in the
[0140]
LevelUserRule: The array number (Num), the data whose basic data type is Level type, and the name of the user-defined rule input in “Rule Edit” are described in a
[0141]
UserRule: A range of array numbers (Num1, Num2) and a user-defined rule name (RuleName) entered in “Rule Edit” are described in a
[0142]
FIGS. 31 to 36 show generation rules corresponding to each of the input examples to the input forms shown in FIGS. 22 to 27.
[0143]
The generation rule shown in FIG. 31 corresponds to the example of inputting Num_type to the input form shown in FIG. In this case, the name of the input type, the basic data type, the identification code of the dictionary element, the ID for identifying the content data, the values of the two elements of the content data input manually, and the names of the two selected inspection processes are included. Are described in this order.
[0144]
The generation rule shown in FIG. 32 corresponds to the input example of the Num_type input form shown in FIG. In this case, the name of the input type, the basic data type, the identification code of the dictionary element, the ID for identifying the content data, the value of the
[0145]
The generation rule shown in FIG. 33A corresponds to the input example of the Num_type input form shown in FIG. In this case, the name of the input type, the basic data type, the identification code of the dictionary element, the ID for identifying the content data, the name of the user-defined rule, and the names of the two selected inspection processes are described in this order. FIG. 33B shows a generation rule describing a user-defined rule. In this case, following the name of the user-defined rule and the basic data type, the rule input by the user is described as “Text”.
[0146]
The generation rule shown in FIG. 34A corresponds to the input example of the Str_type shown in FIG. 25 into the input form. In this case, the name of the input type, the basic data type, the identification code of the dictionary element, the ID for identifying the content data, the name of the user-defined rule, and the value of the element of the manually input content data are described in this order. . FIG. 34B shows a generation rule describing a user-defined rule. In this case, following the name of the user-defined rule and the basic data type, the character string input to each column by the user is described as “column”.
[0147]
The generation rule shown in FIG. 35A corresponds to the input example of the Num_array input form shown in FIG. In this case, the name of the input type, the basic data type, the identification code of the dictionary element, the ID for identifying the content data, the range of the array (here, 1 row and 7 columns), the name of the user-defined rule, the manually input content data And the name of the selected inspection process are described in this order. FIG. 35B shows a generation rule describing a user-defined rule. In this case, following the name of the user-defined rule and the basic data type, the rule input by the user by the user is described as “Text”.
[0148]
The generation rule shown in FIG. 36 corresponds to the input example of the ENUM_array input form shown in FIG. In this case, the name of the input type, the basic data type, the identification code of the dictionary element, the ID for identifying the content data, the range of the array (here, 1 row and 6 columns), the value of the value displayed in the dialog box as the array element The value selected by the user and the name of the selected inspection process are described in this order.
[0149]
The content
[0150]
FIG. 41 is a flowchart for explaining the content data generation processing in step S12 in FIG. This processing is executed by the content
[0151]
First, when a "collective content data generation" operation is performed on a cell specified on the editing screen of the electronic catalog content
[0152]
Next, a value D1 (that is, an input type) of the “Description” field of the “Format” data record R1 of the generation rule R is obtained (step S63). Then, the first record R2 of the “Data” data is extracted from the generation rule R (step S65).
[0153]
It is checked whether the input type represented by the value D1 is an array type (step S66). If the input type is not the array type, the “DataType” data record R4 of the generation rule R is extracted, and a list L of an empty set corresponding to the value of the “Description” field is generated (step S67), and the first data generation is performed. The process is executed (Step S68). Next, a search is made for the next “Data” data record of the generation rule, and the process returns to step S68 as the new R2 to execute the first data generation process, while the “Data” data record exists in the generation rule. Repeat (Step S69 to Step S70). By repeatedly executing the first data generation process, each element of the list L is generated.
[0154]
In step S66, if the input type represented by the value D1 is the array type, the process proceeds to step S71 in FIG. 42, where the “DataType” data record R4 and the “Range” data record R5 of the generation rule R are obtained, and An array A corresponding to the value of the Description field and having the value (range) of the Description field of R5 is generated (step S71), and a second data generation process is executed (step S72). Next, a search is made for a “Data” data record next to the generation rule R, and the process returns to step S72 as a new R2 to execute the second data generation process. (Steps S73 to S74). Each element of the array A is generated by repeatedly executing the second data generation process.
[0155]
When the “Data” data record ends in step S69 or S73, the leading “Func” data record R3 is extracted from the generation rule R (step S75). The inspection process program (hereinafter, referred to as an inspection function) described in the “Description” field of the data record R3 is read from the generation
[0156]
When the check function detects an error, that is, there is an element of the list L or the array A that does not satisfy the conditions defined by the type and basic data type of the set-type content data and “Uniqueness” and “Optional”. If so (step S77), an error message is displayed and the process is interrupted (step S78).
[0157]
If no error is detected by applying the check function to the list L or the array A, that is, all the elements of the list L or the array A include the type or the basic data type of the set-type content data, “Uniqueness”, If the condition defined by “Optional” is satisfied, next, a “Func” data record next to the generation rule is searched, and the new R3 is returned to step S76, and the next check function is stored in the list L or array A. To check whether any of the elements of the list L or the array A does not satisfy the conditions defined by the type and the basic data type of the set-type content data, “Uniqueness”, and “Optional”. The process is repeated while the "Func" data record exists in the generation rule (steps S79 to S80).
[0158]
Each element of the list L or the array A is inspected using an inspection function corresponding to each “Func” data record described in the generation rule R, and if no error is detected in any of the inspections, The elements of the list L and array A are assigned to the designated cell (step S81).
[0159]
Next, the first data generation processing in step S68 of FIG. 41 will be described with reference to the flowcharts shown in FIGS. This process is a process for generating each element of the collective content data that is not the array type as an element of the list L. The data processing procedure differs depending on the value of the “Tag” field of the data record R2.
[0160]
If the value of the “Tag” field is “Value”, that is, if it is the value of the element input by “manual input” (step S101), the value (= Value) of the “Description” field of the data record R2 is changed. It is added to the list L (step S105).
[0161]
If the value of the “Tag” field is “DateValue”, that is, if the value of the element of the Date type input by “manual input” (step S102), the value of the “Description” field of the data record R2 (= Yvalue, Mvalue, Dvalue, Hvalue, MMValue, and Svalue) are added to the list L (step S106).
[0162]
If the value of the “Tag” field is “LevelValue”, that is, if it is the value of a Level-type element input by “manual input” (step S103), the value of the “Description” field of the data record R2 (= MinValue, NomValue, TypeValue, MaxValue) are added to the list L (step S107).
[0163]
If the value of the “Tag” field is “PredefinitionRule”, that is, if the input is performed using a simple rule provided in the input form (step S104), the value of the “Description” field of the data record R2 (= Bound1, Bound2, CalcType, and Pitch are extracted (step S108), and a value corresponding to “Bound1” is substituted into a variable X, and X is added to the list L (step S109).
[0164]
Next, an operation corresponding to “CalcType” is executed on X with a value corresponding to “Pitch” as an argument, the result is substituted into X, and a new value of X is added to the list L (step S111). ). The process of step S111 is repeated while X ≦ Bound2 is satisfied (steps S110 to S113).
[0165]
When the value of the “Tag” field is “PredefinedStrRule”, that is, when the value is input using the simple rule for a character string (step S115 in FIG. 44), the value of the “Description” field of the data record R2 (= Bound1, (Bound2, Pitch) is taken out (step S116), the value corresponding to “Bound1” is substituted for X, and the value of X is added to the list L (step S117). Next, an operation corresponding to "Pitche" is performed on X, the result is substituted into X, and a new value of X is added to the list L (step S119). The process of step S119 is repeated while X ≦ Bound2 is satisfied (steps S118 to S121).
[0166]
When the value of the “Tag” field is “LevelUserRule”, that is, when the basic data type is the Level type and the input is performed by the user-defined rule (step S116), first, the first of the Description field of the data record R2 (= MinValue, NomValue, TypeValue, MaxValue) are added to the list L (step S117), and the last value (= RuleName) of the “Description” field of the data record R2 for the list L, ie, Then, the process described in the generation rule corresponding to the user-defined rule name is executed (step S118), and the value obtained as a result of the execution is added as the contents of the list L (step S119).
[0167]
When the value of the "Tag" field is "UserRule", that is, when the basic data type is not the Level type and the value is input by the user-defined rule (step S120), the list L is used. The last value (= RuleName) of the “Description” field of the data record R2, that is, the process described in the generation rule corresponding to the user-defined rule name is executed (step S121), and the value obtained as a result of the execution is It is added as the contents of the list L (step S122).
[0168]
If the value of the “Tag” field does not correspond to any of the above, an error message is displayed (step S123).
[0169]
Next, the second data generation process in step S72 of FIG. 42 will be described with reference to the flowcharts shown in FIGS. This process is a process for generating each element of the array type content data as an element of the array A. The data processing procedure differs depending on the value of the “Tag” field of the data record R2.
[0170]
If the value of the “Tag” field is “Value”, that is, if the array number (Num) and the element value (Value) are input by “manual input” (step S131), the “Description” field of the data record R2 Then, the next value (= Value) of the “Description” field is assigned to the address of the array A that matches the first value (= Num) of (step S132).
[0171]
If the value of the “Tag” field is “DateValue”, that is, if the array number (Num) and the data whose basic data type is Date type are input by “manual input” (step S133), the data record R2 The remaining six values (= Yvalue, Mvalue, Dvalue, Hvalue, MValue, and Svalue) of the “Description” field are substituted for the address of array A that matches the first value (= Num) of the “Description” field ( Step S134).
[0172]
If the value of the “Tag” field is “LevelValue”, that is, if “manual input” and data of the array number (Num) and the data type of the basic data type are input (step S135), the data record R2 The remaining four values (= MinValue, NomValue, TypeValue, MaxValue) of the “Description” field are substituted for the address of the array A that matches the first value (= Num) of the “Description Field” (step S136).
[0173]
When the value of the “Tag” field is “LevelUserRule”, that is, when the array number (Num) and the data whose basic data type is Level type and the user-defined rule are input in “Rule editing” (step in FIG. 46) S137) At the address of the array A that matches the first value (= Num) of the “Description” field of the data record R2, add the remaining four values (= MinValue, NomValue, TypeValue, MaxValue) of the “Description” field. Substitution is performed (step S138), and then the process described in the generation rule corresponding to the last value (= RuleName) of the “Description” field of the data record R2, ie, the user-defined rule name is executed (step S138). 139), to add a value obtained as a result of execution as the contents of the array A (step S140).
[0174]
If the value of the “Tag” field is “UserRule”, that is, if the range of the array number (Num1, Num2) and the user-defined rule are input in “Rule editing” (step S141), “ The addresses of all the arrays A in the range of the first two values (= Num1, Num2) of the “Description” field correspond to the last value (= RuleName) of the “Description” field, that is, the user-defined rule name. The process described in the generation rule is executed (step S142), and the value obtained as a result of the execution is added as the contents of array A (step S143).
[0175]
If the value of the “Tag” field does not correspond to any of the above, an error message is displayed (step S144).
[0176]
(Procedure for inputting collective content data)
With reference to FIGS. 47 to 50, a user operation procedure when inputting collective content data in the electronic catalog content creation system of FIG. 1 will be described with reference to the flowchart shown in FIG.
[0177]
On the editing screen G1 displayed by the electronic catalog content
[0178]
For example, the data corresponding to the cell selected by the user is “scale setting” of the code “AEE002”. From the dictionary element data shown in FIG. 2, the content data corresponding to this data is a List type data. It is a set type content data, and the basic data type is a Real type. The value of “Uniqueness” is “FALSE”. In the generation rule editing process in step S15, first, an input type and an inspection process corresponding to the cell are selected under these conditions. Then, it is found that the input type is Num_type. The input form of Num_type shown in FIG. 7 is displayed on the generation rule editing screen G2 of FIG.
[0179]
Here, a generation rule is input (edited) by “simple rule” and “manual input”, and an “OK” button provided on the generation rule editing screen is pressed, and the generation rule is stored in the generation
[0180]
At this point, the generation rule is stored in the selected cell of the editing screen G1 as shown in FIG. 49, but the content data generation processing in the content
[0181]
Next, as shown in FIG. 49, the cell in which the generation rule is stored on the editing screen G1 is selected, and the “content generation” button provided on the editing screen G1 is pressed (step S4), and the content data is generated. The generation process is started (Step S12).
[0182]
In the content data generation process at this time (specifically, the process of steps S104 and S108 to S113 of the first data generation process of FIG. 43), first, the first “Data” data record of the generation rule is set. As data to be processed, data input in the “simple rule”, that is, Bound1 = 1.5, Bound2 = 6.0, CalcType = +, Pitch = 1.5, and (1.5,3.0,4. 5, 6.0) and make this an element of the list L. Next, with the second “Data” data record of the generation rule as a processing target, the data input by the “simple rule”, that is, Bound1 = 10, Bound2 = 80, CalcType = *, Pitch = 2, and (10 , 20, 40, 80) and adds this to the elements of list L. Finally, with the third “Data” data record of the generation rule as a processing target, data input by “manual input”, that is, “100” is added as the last element of the list L. As a result, (1.5, 3.0, 4.5, 6.0, 10, 20, 40, 80, 100) is obtained as the list L.
[0183]
As shown in FIG. 50, the elements of the list L are displayed in cells selected for content generation on the editing screen G1. FIG. 50 shows a state where a part of the generated aggregated content data is displayed in the cell. In this case, by placing the cursor on the cell, the entire content data is popped up and displayed as shown in FIG.
[0184]
As described above, according to the above embodiment, calculation rules (simple rules provided in an input form) and processing are performed instead of inputting each and every element of collective data composed of a plurality of element data. By enabling the input in the procedure (user-defined rule), the more the number of element data increases, the more the time and effort required for input can be significantly reduced as compared with the case where all the element data is input manually. Many element data can be input at once without erroneous input.
[0185]
In addition, for each element data constituting the content data generated by the content
[0186]
The method of the present invention described in the embodiment of the present invention (particularly, the processing procedure shown in the flowcharts of FIGS. 37 to 46) is a program that can be executed by a computer as a magnetic disk (such as a flexible disk or a hard disk). ), Optical disks (CD-ROM, DVD, etc.), semiconductor memory, and other recording media.
[0187]
Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying constituent elements in an implementation stage without departing from the scope of the invention. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiment. Further, components of different embodiments may be appropriately combined.
[0188]
【The invention's effect】
As described above, according to the present invention, it is possible to greatly reduce the task of inputting set-type data composed of a plurality of element data, which is troublesome for input.
[Brief description of the drawings]
FIG. 1 is an exemplary functional configuration of an electronic catalog content creation system according to an embodiment of the present invention.
FIG. 2 is a diagram showing a data structure of dictionary data.
FIG. 3 is a diagram showing an example of electronic catalog content data.
FIG. 4 is a diagram showing an example of an input type selection rule.
FIG. 5 is a diagram showing an example of an inspection process selection rule.
FIG. 6 is a diagram showing an example of an editing screen displayed by an electronic catalog content data editing unit.
FIG. 7 is a diagram showing a screen display example of an input form whose input type is “Num_type”.
FIG. 8 is a diagram showing a screen display example of an input form having an input type “Str_type”.
FIG. 9 is a diagram showing an example of a screen display of an input form having an input type “Bool_type”.
FIG. 10 is a diagram showing a screen display example of an input form whose input type is “Const1”.
FIG. 11 is a view showing a screen display example of an input form whose input type is “Date_type”.
FIG. 12 is a diagram showing a screen display example of an input form having an input type of “ENUM_type”.
FIG. 13 is a diagram showing a screen display example of an input form whose input type is “Level_type”.
FIG. 14 is a diagram showing a screen display example of an input form whose input type is “Num_array”.
FIG. 15 is a diagram showing a screen display example of an input form having an input type “Str_array”.
FIG. 16 is a diagram showing a screen display example of an input form whose input type is “Bool_array”.
FIG. 17 is a diagram showing a screen display example of an input form whose input type is “Const2”.
FIG. 18 is a diagram showing a screen display example of an input form whose input type is “Const3”.
FIG. 19 is a diagram showing an example of a screen display of an input form having an input type “Date_array”.
FIG. 20 is a diagram showing a screen display example of an input form whose input type is “ENUM_array”.
FIG. 21 is a diagram showing an example of a screen display of an input form having an input type “Level_array”.
FIG. 22 is a diagram showing an input example when data is input by “manual input” in an input form having an input type of “Num_type”;
FIG. 23 is a diagram showing an example of input when data is input in an input form of “Num_type” using “simple rules”.
FIG. 24 is a diagram showing an example of input when data is input by “rule editing” in an input form having an input type of “Num_type”;
FIG. 25 is a diagram showing an example of input when data is input by “rule editing” in an input form of “Str_type” as an input type.
FIG. 26 is a diagram showing an input example when data is input by “rule editing” in an input form whose input type is “Num_array”;
FIG. 27 is a diagram showing an example of data input to an input form whose input type is “ENUM_array”.
FIG. 28 is a diagram showing a data structure of a non-array type generation rule.
FIG. 29 is a diagram showing a data structure of an array type generation rule.
FIG. 30 is a diagram showing a data structure of a generation rule describing a user-defined rule.
FIG. 31 is a view showing a specific example of a generation rule corresponding to the input example of Num_type shown in FIG. 22 to the input form;
FIG. 32 is a view showing a specific example of a generation rule corresponding to the input example of the Num_type input form shown in FIG. 23;
FIG. 33 is a view showing a specific example of a generation rule corresponding to the input example of Num_type shown in FIG. 24 to the input form;
FIG. 34 is a view showing a specific example of a generation rule corresponding to an example of inputting Str_type to the input form shown in FIG. 25;
FIG. 35 is a view showing a specific example of a generation rule corresponding to the input example of the Num_array shown in FIG. 26 into the input form;
FIG. 36 is a view showing a specific example of a generation rule corresponding to an example of inputting an ENUM_array shown in FIG. 27 to an input form;
FIG. 37 is a flowchart for explaining the processing operation of the electronic catalog content data editing unit.
FIG. 38 is a flowchart for explaining the processing operation of the electronic catalog content data editing unit.
FIG. 39 is a flowchart illustrating the generation rule editing processing operation of the generation rule editing unit.
FIG. 40 is a flowchart illustrating an input type selection processing operation of the input type selection unit.
FIG. 41 is a flowchart for explaining the content data generation processing operation of the content data generation unit.
FIG. 42 is a flowchart illustrating a content data generation processing operation of the content data generation unit.
FIG. 43 is a flowchart for describing a first data generation processing operation executed in the content data generation processing.
FIG. 44 is a flowchart illustrating a first data generation processing operation executed in the content data generation processing.
FIG. 45 is a flowchart illustrating a second data generation processing operation executed in the content data generation processing.
FIG. 46 is a flowchart illustrating a second data generation processing operation executed in the content data generation processing.
FIG. 47 is a view for explaining a user operation on the editing screen.
FIG. 48 is a view showing a display example of a generation rule editing screen on which an input form is displayed.
FIG. 49 is a view showing a display example of a cell in which a generation rule is stored on an edit screen.
FIG. 50 is a view showing a display example of generated content data on an editing screen.
[Explanation of symbols]
DESCRIPTION OF
Claims (12)
前記複数の項目のそれぞれには、各項目に対応する値のデータ型として、複数の要素データからなる集合型データの種類と、当該集合型データを構成する要素データの種類とが定められており、
前記複数の項目のうち入力対象の項目を選択する第1の選択ステップと、
前記入力対象に予め定められている前記集合型データの種類と前記要素データの種類の組合せに対応する入力形式を選択する第2の選択ステップと、
選択された入力形式に従って、前記要素データと演算により前記要素データを生成するための計算ルールと前記要素データを生成するための処理手順のうちの少なくとも1つを、前記第1の項目の値を生成するための入力データとして入力する入力ステップと、
前記入力データを基に、前記入力対象の値を生成する生成ステップと、
を有するデータ入力方法。A data input method for inputting set-type data including a plurality of element data as a value for each of a plurality of items,
For each of the plurality of items, a type of aggregate data including a plurality of element data and a type of element data forming the aggregate data are defined as a data type of a value corresponding to each item. ,
A first selection step of selecting an input target item from the plurality of items;
A second selection step of selecting an input format corresponding to a combination of the type of the set-type data and the type of the element data that are predetermined for the input target;
According to the selected input format, at least one of a calculation rule for generating the element data by the element data and the operation and a processing procedure for generating the element data is set to a value of the first item. An input step for inputting as input data for generating;
A generation step of generating the value of the input target based on the input data;
A data input method having
前記複数の項目のそれぞれには、その値のデータ型として、複数の要素データからなる集合型データか、1つの要素データからなる単純型データかが予め定められており、集合型データの場合には、さらに集合型データの種類と当該集合型データの要素データの種類とが予め定められており、
前記複数の項目のうち前記集合型データを値とする第1の項目が選択されたとき、当該第1の項目に対応する前記集合型データの種類と前記要素データの種類の組合せに対応する入力形式を選択する選択手段と、
この選択手段で選択された入力形式に従って、前記要素データと演算により前記要素データを生成するための計算ルールと前記要素データを生成するための処理手順のうちの少なくとも1つを、前記第1の項目の値を生成するための入力データとして入力するための第1の入力手段と、
この第1の入力手段で入力された前記入力データを基に、前記第1の項目の値を生成する生成手段と、
この生成手段で生成された値を前記第1の項目の値として記憶する第1の記憶手段と、
前記複数の項目のうち前記単純型データを値とする第2の項目が選択されたとき、当該第2の項目の値を入力するための第2の入力手段と、
この第2の入力手段で入力された値を前記第2の項目の値として記憶する第2の記憶手段と、
を具備したことを特徴とする入力支援装置。An input support device for inputting a value of a predetermined data type for each of a plurality of items,
In each of the plurality of items, as a data type of the value, a set type data composed of a plurality of element data or a simple type data composed of one element data is predetermined. In addition, the type of set-type data and the type of element data of the set-type data are determined in advance,
When a first item having the set type data as a value is selected from the plurality of items, an input corresponding to a combination of the type of the set type data corresponding to the first item and the type of the element data Means for selecting a format;
According to the input format selected by the selection means, at least one of the element data and a calculation rule for generating the element data by calculation and a processing procedure for generating the element data are set in the first format. First input means for inputting as input data for generating an item value;
Generating means for generating a value of the first item based on the input data input by the first input means;
First storage means for storing the value generated by the generation means as the value of the first item;
A second input unit for inputting a value of the second item when a second item whose value is the simple type data is selected from the plurality of items;
Second storage means for storing the value input by the second input means as the value of the second item;
An input support device comprising:
前記複数の項目のそれぞれには、その値のデータ型として、複数の要素データからなる集合型データか、1つの要素データからなる単純型データかが予め定められており、集合型データの場合には、さらに集合型データの種類と当該集合型データの要素データの種類とが予め定められており、
前記複数の項目のうち前記集合型データを値とする第1の項目が選択されたとき、当該第1の項目に対応する前記集合型データの種類と前記要素データの種類の組合せに対応する入力形式を選択する選択ステップと、
この選択手段で選択された入力形式に従って、前記要素データと演算により前記要素データを生成するための計算ルールと前記要素データを生成するための処理手順のうちの少なくとも1つを、前記第1の項目の値を生成するための入力データとして入力する第1の入力ステップと、
この第1の入力ステップで入力された前記入力データを基に、前記第1の項目の値を生成する生成ステップと、
この生成ステップで生成された値を前記第1の項目の値として記憶手段に記憶する第1の記憶ステップと、
前記複数の項目のうち前記単純型データを値とする第2の項目が選択されたとき、当該第2の項目の値を入力する第2の入力ステップと、
この第2の入力ステップで入力された値を前記第2の項目の値として前記記憶手段に記憶する第2の記憶ステップと、
をコンピュータに実行させるプログラム。A program for inputting a value of a predetermined data type for each of a plurality of items,
In each of the plurality of items, as a data type of the value, a set type data composed of a plurality of element data or a simple type data composed of one element data is predetermined. In addition, the type of set-type data and the type of element data of the set-type data are determined in advance,
When a first item having the set type data as a value is selected from the plurality of items, an input corresponding to a combination of the type of the set type data corresponding to the first item and the type of the element data A selection step of selecting a format;
According to the input format selected by the selection means, at least one of the element data and a calculation rule for generating the element data by operation and a processing procedure for generating the element data are defined by the first A first input step of inputting as input data for generating an item value;
A generating step of generating a value of the first item based on the input data input in the first input step;
A first storage step of storing the value generated in the generation step as a value of the first item in a storage unit;
A second input step of inputting a value of the second item when a second item having the simple type data as a value is selected from the plurality of items;
A second storage step of storing the value input in the second input step as the value of the second item in the storage means;
A program that causes a computer to execute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003092752A JP2004302684A (en) | 2003-03-28 | 2003-03-28 | Data input method, input support device, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003092752A JP2004302684A (en) | 2003-03-28 | 2003-03-28 | Data input method, input support device, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004302684A true JP2004302684A (en) | 2004-10-28 |
Family
ID=33405711
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003092752A Pending JP2004302684A (en) | 2003-03-28 | 2003-03-28 | Data input method, input support device, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004302684A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007148913A (en) * | 2005-11-29 | 2007-06-14 | Toshiba Corp | Data creation support system, data creation support device, and data creation support program |
| JP2013178693A (en) * | 2012-02-29 | 2013-09-09 | Amano Corp | Data management device |
| US9495203B2 (en) | 2012-07-10 | 2016-11-15 | Fuji Xerox Co., Ltd. | Apparatus for selecting and displaying an operation user interface and method and non-transitory computer readable medium for controlling the same |
-
2003
- 2003-03-28 JP JP2003092752A patent/JP2004302684A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007148913A (en) * | 2005-11-29 | 2007-06-14 | Toshiba Corp | Data creation support system, data creation support device, and data creation support program |
| US7720866B2 (en) | 2005-11-29 | 2010-05-18 | Kabushiki Kaisha Toshiba | Data-generation suppoprting system, data-generation supporting apparatus, and computer program product |
| JP2013178693A (en) * | 2012-02-29 | 2013-09-09 | Amano Corp | Data management device |
| US9495203B2 (en) | 2012-07-10 | 2016-11-15 | Fuji Xerox Co., Ltd. | Apparatus for selecting and displaying an operation user interface and method and non-transitory computer readable medium for controlling the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5040925B2 (en) | Information extraction rule creation support system, information extraction rule creation support method, and information extraction rule creation support program | |
| US8799849B2 (en) | System and method for design, procurement and manufacturing collaboration | |
| US20060218160A1 (en) | Change control management of XML documents | |
| JP2006099236A (en) | Classification support device, classification support method, and classification support program | |
| JP6406653B1 (en) | Table recognition processor | |
| JP2006172446A (en) | Complex data access | |
| JP6524311B2 (en) | Table recognition processor | |
| US7882114B2 (en) | Data processing method and data processing program | |
| JP2004302684A (en) | Data input method, input support device, and program | |
| US10241899B2 (en) | Test input information search device and method | |
| WO2015022951A1 (en) | Automatic screen generation device, automatic screen generation program, and automatic screen generation method | |
| JP6610745B2 (en) | Information processing apparatus and information processing program | |
| JP2010122716A (en) | Modification area division program, modification area division apparatus and modification area division method | |
| JPH11306203A (en) | Index creation method and document search processing method | |
| JP2000172739A (en) | Design support equipment | |
| JP5504212B2 (en) | Test case automatic generation system, test case automatic generation method, and test case automatic generation program | |
| JP2001331210A (en) | Production managing device and recording medium | |
| EP1661038A1 (en) | A method of processing data for a system model | |
| JP7515734B2 (en) | Information processing device, program, and information processing method | |
| JP2014074947A (en) | Program generation system and program generation method | |
| JPWO2020122004A1 (en) | Information processing equipment, information processing methods, and programs | |
| JPH06103277A (en) | Report output method for software development management | |
| JP5687918B2 (en) | Business application component device | |
| JP2019159945A (en) | Information management program, device, and method | |
| AU2004263907B2 (en) | A method of processing data for a system model |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070403 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070807 |