JP2022084807A - Calculation processing apparatus, calculation processing method, and calculation processing program - Google Patents

Calculation processing apparatus, calculation processing method, and calculation processing program Download PDF

Info

Publication number
JP2022084807A
JP2022084807A JP2022046184A JP2022046184A JP2022084807A JP 2022084807 A JP2022084807 A JP 2022084807A JP 2022046184 A JP2022046184 A JP 2022046184A JP 2022046184 A JP2022046184 A JP 2022046184A JP 2022084807 A JP2022084807 A JP 2022084807A
Authority
JP
Japan
Prior art keywords
calculation
item
characteristic
value
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2022046184A
Other languages
Japanese (ja)
Other versions
JP7291264B2 (en
Inventor
英晴 永井
Hideharu Nagai
剛光 上野
Takemitsu Ueno
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Obic Co Ltd
Original Assignee
Obic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2017213248A external-priority patent/JP7048263B2/en
Application filed by Obic Co Ltd filed Critical Obic Co Ltd
Priority to JP2022046184A priority Critical patent/JP7291264B2/en
Publication of JP2022084807A publication Critical patent/JP2022084807A/en
Application granted granted Critical
Publication of JP7291264B2 publication Critical patent/JP7291264B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

PROBLEM TO BE SOLVED: To allow for easy settings of a computation expression using a formula.
SOLUTION: A calculation definition master is set which uses an article kind as a key and associates an operator with item classification for use in classifying at least article fluctuation characteristic and an article number fixed characteristic as items. An operator in the calculation definition master and an item identifier corresponding to item classification associated with the operator are coupled to each other in a record of the calculation definition master to generate a character string. The character strings generated in the respective records are coupled with one another in an order of the records to create a formula. A characteristic value corresponding to an input article number is acquired from a characteristic setting master associating an item identifier corresponding to the article number fixed characteristic and a characteristic value corresponding to the item identifier with each other. The acquired characteristic value is used to carry out calculation based on the formula.
SELECTED DRAWING: Figure 2
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明は、計算処理装置、計算処理方法および計算処理プログラムに関する。 The present invention relates to a calculation processing device, a calculation processing method, and a calculation processing program.

特許文献1には、「鉄鋼選定の画面では、クライアントが鉄鋼選定に必要な項目を含む所定の条件を入力さえすれば、該当する鉄鋼を選定できるようになされている(図3、図4、段落「0050」参照)。重量計算の画面についても、鋼材選定の場合と同様に、サイズ等の条件を入力すれば、その重量が算出されるようになされている(図3、段落「0054」参照)」点が開示されている。 In Patent Document 1, "On the steel selection screen, the client can select the corresponding steel as long as the client inputs a predetermined condition including the items necessary for steel selection (FIGS. 3, FIG. 4, and Fig. 4). See paragraph "0050"). As for the weight calculation screen, as in the case of steel selection, the weight is calculated by inputting conditions such as size (see Fig. 3, paragraph "0054"). " ing.

特開2002-24562号公報JP-A-2002-24562

しかしながら、鋼材の重量計算は、既定となる公式はあるものの、複雑化している公式も存在し、公式パターンごとに計算プログラムを組む必要があるという問題点があった。これは、鋼材の重量計算以外の例、例えば木材の体積計算についても同様である。また、公式をマスタ化して対応したケースもあるが、マスタ化の際にプログラム作成と同様のレベルの設定が必要であり、設定の難易度が高いという問題点があった。 However, although there is a default formula for weight calculation of steel materials, there is also a complicated formula, and there is a problem that it is necessary to formulate a calculation program for each formula pattern. This also applies to examples other than the weight calculation of steel materials, for example, the volume calculation of wood. In addition, there are cases where the formula is mastered and dealt with, but there is a problem that it is necessary to set the same level as the program creation when mastering, and the difficulty of setting is high.

本発明は、上記に鑑みてなされたものであって、公式による計算式を容易に設定可能とする計算処理装置、計算処理方法および計算処理プログラムを提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a calculation processing device, a calculation processing method, and a calculation processing program capable of easily setting a calculation formula by a formula.

上述した課題を解決し、目的を達成するために、本発明に係る計算処理装置は、制御部と記憶部とを備えた計算処理装置であって、制御部は、品種をキーとし、演算子と、少なくとも商品変動特性又は品番に固有の特性である品番固定特性とをそれぞれ項目として区分する項目区分と、を関連付けた計算定義マスタを記憶部に設定する計算定義設定手段と、計算定義マスタにおける、演算子と、演算子に関連付けられる項目区分に対応する項目識別子とを、計算定義マスタのレコード内で連結して文字列を作成し、計算定義マスタの各レコードで作成された文字列それぞれを、計算定義マスタのレコード順に従い連結して計算式を作成する計算式作成手段と、品番固有特性に対応する項目識別子と、項目識別子に対応する特性値とを関連付けて記憶部に設定される特性設定マスタから、入力された品番に対応する特性値を取得し、取得した特性値を用いて計算式による計算を行う計算処理手段と、を備えることを特徴とする。 In order to solve the above-mentioned problems and achieve the object, the calculation processing device according to the present invention is a calculation processing device including a control unit and a storage unit, and the control unit uses a product type as a key and an operator. In the calculation definition setting means for setting the calculation definition master in which the calculation definition master associated with at least the product fluctuation characteristic or the product number fixed characteristic which is a characteristic peculiar to the product number is classified as an item, and the calculation definition master. , The operator and the item identifier corresponding to the item classification associated with the operator are concatenated in the record of the calculation definition master to create a character string, and each character string created in each record of the calculation definition master is created. , The characteristic set in the storage unit by associating the calculation formula creation means that creates the calculation formula by concatenating according to the record order of the calculation definition master, the item identifier corresponding to the product number specific characteristic, and the characteristic value corresponding to the item identifier. It is characterized by including a calculation processing means for acquiring a characteristic value corresponding to an input product number from a setting master and performing a calculation by a calculation formula using the acquired characteristic value.

また、本発明に係る計算処理装置においては、計算定義設定手段は、少なくとも商品変動特性、品番固定特性、又は、品種に固定の特性である品種固定特性が入力される項目区分と、演算子とを関連付けた計算定義マスタを記憶部に設定することを特徴とする。 Further, in the calculation processing apparatus according to the present invention, the calculation definition setting means includes at least an item classification in which a product variation characteristic, a product number fixed characteristic, or a product fixed characteristic which is a characteristic fixed to a product is input, and an operator. It is characterized in that the calculation definition master associated with is set in the storage unit.

また、本発明に係る計算処理装置においては、制御部は、計算式作成手段により作成した計算式を、演算子と項目識別子とを用いて表示させる画面を生成する画面生成手段をさらに備えることを特徴とする。 Further, in the calculation processing apparatus according to the present invention, the control unit further includes a screen generation means for generating a screen for displaying the calculation formula created by the calculation formula creation means by using an operator and an item identifier. It is a feature.

また、本発明に係る計算処理装置においては、画面生成手段は、特性設定マスタから取得した、入力された品番に対応する特性値を、計算式の、特性値に対応する項目識別子と置き換えた計算式を表示させる画面をさらに生成することを特徴とする。 Further, in the calculation processing apparatus according to the present invention, the screen generation means replaces the characteristic value corresponding to the input product number acquired from the characteristic setting master with the item identifier corresponding to the characteristic value in the calculation formula. It is characterized by further generating a screen for displaying an expression.

また、本発明に係る計算処理装置においては、計算定義設定手段は、少なくとも商品変動特性、品番固定特性、計算式において優先して計算を実行する範囲を指定するための括弧の開始位置および終了位置を示すダミー、又は、演算子のみを指定するレコードであることを示すダミーが入力される項目区分と、演算子とを関連付けた計算定義マスタを記憶部に設定することを特徴とする。 Further, in the calculation processing apparatus according to the present invention, the calculation definition setting means has at least the product fluctuation characteristic, the product number fixed characteristic, and the start position and the end position of the parentheses for designating the range in which the calculation is preferentially executed in the calculation formula. It is characterized in that a calculation definition master associated with an operator and an item classification in which a dummy indicating the above or a dummy indicating that the record is specified only for an operator is input is set in the storage unit.

また、本発明に係る計算処理装置においては、計算定義設定手段は、少なくとも商品変動特性、品番固定特性、計算定義マスタにおいて定義される計算式に対応する公式で使用される固定値、計算式に対して端数処理を指定する情報、又は、計算式に対して累乗計算を指定する情報が入力される項目区分と、演算子とを関連付けた計算定義マスタを記憶部に設定することを特徴とする。 Further, in the calculation processing apparatus according to the present invention, the calculation definition setting means is at least the product variation characteristic, the product number fixed characteristic, the fixed value used in the formula corresponding to the calculation formula defined in the calculation definition master, and the calculation formula. On the other hand, it is characterized in that a calculation definition master associated with an operator and an item classification in which information for specifying fractional processing or information for specifying multiplier calculation for a calculation formula is input is set in the storage unit. ..

また、本発明に係る計算処理方法は、制御部と記憶部とを備えた計算処理装置で実行される計算処理方法であって、制御部で実行される、品種をキーとし、演算子と、少なくとも商品変動特性又は品番に固定の特性である品番固定特性が入力される項目区分と、を関連付けた計算定義マスタを記憶部に設定する計算定義設定ステップと、計算定義マスタにおける、演算子と、演算子に関連付けられる項目区分に対応する項目識別子とを、計算定義マスタのレコード内で連結して文字列を作成し、計算定義マスタの各レコードで作成された文字列それぞれを、計算定義マスタのレコード順に従い連結して計算式を作成する計算式作成ステップと、品番固定特性に対応する項目識別子と、項目識別子に対応する特性値とを関連付けて記憶部に設定される特性設定マスタから、入力された品番に対応する特性値を取得し、取得した特性値を用いて計算式による計算を行う計算処理ステップと、を含むことを特徴とする。 Further, the calculation processing method according to the present invention is a calculation processing method executed by a calculation processing device including a control unit and a storage unit, and is executed by the control unit using a type as a key and an operator. A calculation definition setting step for setting a calculation definition master associated with at least a product variation characteristic or an item category in which a product number fixed characteristic which is a fixed characteristic for a product number is input in a storage unit, and an operator in the calculation definition master. A character string is created by concatenating the item identifier corresponding to the item classification associated with the operator in the record of the calculation definition master, and each character string created in each record of the calculation definition master is used in the calculation definition master. Input from the characteristic setting master set in the storage unit by associating the calculation formula creation step that creates the calculation formula by concatenating according to the record order, the item identifier corresponding to the product number fixed characteristic, and the characteristic value corresponding to the item identifier. It is characterized by including a calculation processing step of acquiring a characteristic value corresponding to the obtained product number and performing a calculation by a calculation formula using the acquired characteristic value.

また、本発明に係る計算処理プログラムは、制御部と記憶部とを備えた情報処理装置に実行させるための計算処理プログラムであって、制御部で実行させるための、品種をキーとし、演算子と、少なくとも商品変動特性又は品番に固定の特性である品番固定特性が入力される項目区分と、を関連付けた計算定義マスタを記憶部に設定する計算定義設定ステップと、計算定義マスタにおける、演算子と、演算子に関連付けられる項目区分に対応する項目識別子とを、計算定義マスタのレコード内で連結して文字列を作成し、計算定義マスタの各レコードで作成された文字列それぞれを、計算定義マスタのレコード順に従い連結して計算式を作成する計算式作成ステップと、品番固定特性に対応する項目識別子と、項目識別子に対応する特性値とを関連付けて記憶部に設定される特性設定マスタから、入力された品番に対応する特性値を取得し、取得した特性値を用いて計算式による計算を行う計算処理ステップと、を含むことを特徴とする。 Further, the calculation processing program according to the present invention is a calculation processing program for being executed by an information processing apparatus including a control unit and a storage unit, and is an operator with a product type as a key for execution by the control unit. A calculation definition setting step for setting a calculation definition master associated with at least a product variation characteristic or an item classification in which a product number fixed characteristic which is a fixed characteristic for a product number is input in a storage unit, and an operator in the calculation definition master. And the item identifier corresponding to the item classification associated with the operator are concatenated in the record of the calculation definition master to create a character string, and each character string created in each record of the calculation definition master is calculated and defined. From the calculation formula creation step that concatenates and creates the calculation formula according to the record order of the master, and the characteristic setting master that is set in the storage unit by associating the item identifier corresponding to the product number fixed characteristic and the characteristic value corresponding to the item identifier. It is characterized by including a calculation processing step of acquiring a characteristic value corresponding to an input product number and performing a calculation by a calculation formula using the acquired characteristic value.

本発明によれば、公式による計算式が容易に設定可能となるという効果を奏する。 According to the present invention, there is an effect that a formula can be easily set by a formula.

図1は、実施形態に係る計算処理装置に適用可能なハードウェア構成の例を示すブロック図である。FIG. 1 is a block diagram showing an example of a hardware configuration applicable to the calculation processing device according to the embodiment. 図2は、実施形態に係る計算処理装置の機能を説明するための機能ブロック図である。FIG. 2 is a functional block diagram for explaining the functions of the calculation processing apparatus according to the embodiment. 図3は、実施形態に適用可能な品種別特性定義マスタの例を示す図である。FIG. 3 is a diagram showing an example of a characteristic definition master for each product type applicable to the embodiment. 図4は、実施形態に適用可能なカテゴリ別特性設定マスタの例を示す図である。FIG. 4 is a diagram showing an example of a characteristic setting master for each category applicable to the embodiment. 図5は、実施形態に適用可能な品番マスタの例を示す図である。FIG. 5 is a diagram showing an example of a product number master applicable to the embodiment. 図6は、実施形態に適用可能な品種マスタの例を示す図である。FIG. 6 is a diagram showing an example of a variety master applicable to the embodiment. 図7は、実施形態に適用可能な単位マスタの例を示す図である。FIG. 7 is a diagram showing an example of a unit master applicable to the embodiment. 図8は、実施形態に係る計算定義に使用可能な項目を一覧で示す図である。FIG. 8 is a diagram showing a list of items that can be used in the calculation definition according to the embodiment. 図9は、実施形態に係る計算定義マスタの例を示す図である。FIG. 9 is a diagram showing an example of a calculation definition master according to an embodiment. 図10は、実施形態に係る計算定義マスタの第1の適用例について説明するための図である。FIG. 10 is a diagram for explaining a first application example of the calculation definition master according to the embodiment. 図11は、計算定義マスタの編集を行うための画面である計算定義マスタメンテ画面の例を示す図である。FIG. 11 is a diagram showing an example of a calculation definition master maintenance screen, which is a screen for editing the calculation definition master. 図12は、実施形態に係る式チェック画面の例を示す図である。FIG. 12 is a diagram showing an example of a formula check screen according to an embodiment. 図13は、実施形態に適用可能な拡張された式チェック画面の例を示す図である。FIG. 13 is a diagram showing an example of an expanded formula check screen applicable to the embodiment. 図14は、実施形態に適用可能な、計算式マスタによる計算を行うための情報を入力する入力画面の例を示す図である。FIG. 14 is a diagram showing an example of an input screen for inputting information for performing a calculation by the calculation formula master, which is applicable to the embodiment. 図15は、実施形態に係る計算処理を示す一例のフローチャートである。FIG. 15 is an example flowchart showing the calculation process according to the embodiment. 図16は、実施形態に係る計算定義マスタの第2の適用例について説明するための図である。FIG. 16 is a diagram for explaining a second application example of the calculation definition master according to the embodiment. 図17は、実施形態に係る計算定義マスタの第2の適用例について説明するための図である。FIG. 17 is a diagram for explaining a second application example of the calculation definition master according to the embodiment. 図18は、実施形態に係る計算定義マスタの第3の適用例について説明するための図である。FIG. 18 is a diagram for explaining a third application example of the calculation definition master according to the embodiment. 図19は、実施形態に係る計算定義マスタの第3の適用例について説明するための図である。FIG. 19 is a diagram for explaining a third application example of the calculation definition master according to the embodiment. 図20は、実施形態に係る計算定義マスタの第3の適用例について説明するための図である。FIG. 20 is a diagram for explaining a third application example of the calculation definition master according to the embodiment. 図21は、実施形態に係る計算定義マスタの第3の適用例について説明するための図である。FIG. 21 is a diagram for explaining a third application example of the calculation definition master according to the embodiment. 図22は、実施形態に係る計算定義マスタの第3の適用例について説明するための図である。FIG. 22 is a diagram for explaining a third application example of the calculation definition master according to the embodiment. 図23は、実施形態に係る計算定義マスタの第3の適用例について説明するための図である。FIG. 23 is a diagram for explaining a third application example of the calculation definition master according to the embodiment.

以下に、本発明に係る計算処理装置、計算処理方法および計算処理プログラムの実施形態を、図面に基づいて詳細に説明する。なお、本実施形態によりこの発明が限定されるものではない。 Hereinafter, embodiments of a calculation processing apparatus, a calculation processing method, and a calculation processing program according to the present invention will be described in detail with reference to the drawings. The present invention is not limited to this embodiment.

[1.概要]
鋼材の重量計算や、木材の体積計算などは、既定となる公式はあるものの、複雑化している公式も存在し、公式パターンごとに計算プログラムを組む必要があった。また、公式をマスタ化して対応したケースもあるが、マスタ化の際にプログラム作成と同様のレベルの設定が必要であり、設定の難易度が高い。さらに、これらの場合において、作成された計算プログラムやマスタの設定と公式との比較は、プログラムや設定を解読しながらの確認となり、一定のスキルを必要とする。さらにまた、丸太などのような自然物は、長さによる先細りを考慮して、長さにより公式を変動させる必要がある場合があり、公式に対する単純な設定のパターン化のみでは、対応が難しかった。
[1. Overview]
Although there are default formulas for weight calculation of steel materials and volume calculation of wood, there are also complicated formulas, and it was necessary to create a calculation program for each formula pattern. In addition, there are cases where the formula is mastered and dealt with, but it is necessary to set the same level as the program creation when mastering, and the difficulty of setting is high. Furthermore, in these cases, the comparison between the created calculation program or master setting and the formula is a confirmation while decoding the program or setting, and requires a certain skill. Furthermore, for natural objects such as logs, it may be necessary to change the formula according to the length in consideration of the tapering due to the length, and it was difficult to deal with it only by patterning a simple setting for the formula.

そこで、本実施形態では、品種という商品グループ毎に、公式に近い形で計算式のマスタを設定可能とした。このとき、長さなど商品により変動する商品変動特性値を、計算式を適用する際の閾値として用いて、同一の商品であっても長さなど商品変動特性値の違いにより公式が変動する場合に対応可能とした。それと共に、重量といった複数の計算が必要となる場合を考慮し、計算結果として意図する単位の種別毎に公式を持てるようにした。 Therefore, in the present embodiment, it is possible to set a master of the calculation formula in a form close to the formula for each product group called a variety. At this time, when the product fluctuation characteristic value that fluctuates depending on the product such as length is used as a threshold value when applying the calculation formula, the formula fluctuates due to the difference in the product fluctuation characteristic value such as length even for the same product. It was made possible to correspond to. At the same time, in consideration of the case where multiple calculations such as weight are required, it is possible to have a formula for each type of intended unit as a calculation result.

また、マスタに設定した各計算式では、品種毎に固有の特性である品種固有特性(比重など)、品番毎に固有の特性である品番固有特性(固定寸法など)、変動寸法や取扱数量といった入力値、および、固定値である固定係数を、計算数として使用可能とした。さらに、計算式中の任意のタイミングで実行可能な端数処理や累乗計算と、括弧演算子による優先計算とを使用可能とした。さらにまた、設定内容から導かれる計算式、および、計算式に各値を代入した場合の式を画面に表示させ、計算式を容易に確認可能とした。 In addition, in each calculation formula set in the master, the product type-specific characteristics (specific gravity, etc.) that are unique to each product type, the product number-specific characteristics (fixed dimensions, etc.) that are unique to each product number, variable dimensions, handling quantity, etc. The input value and the fixed coefficient, which is a fixed value, can be used as the number of calculations. Furthermore, it is possible to use rounding and exponentiation calculations that can be executed at any time in the formula, and priority calculations using the parentheses operator. Furthermore, the calculation formula derived from the setting contents and the formula when each value is assigned to the calculation formula are displayed on the screen so that the calculation formula can be easily confirmed.

[2.構成]
本実施形態に係る計算処理装置の構成について説明する。図1は、実施形態に係る計算処理装置に適用可能なハードウェア構成の例を示す。図1において、計算処理装置10は、CPU(Central Processing Unit)1000と、ROM(Read Only Memory)1001と、RAM(Random Access Memory)1002と、グラフィックI/F(インタフェース)1003と、ストレージ1004と、入出力I/F1005と、通信I/F1006とを含み、これら各部がバス1010により互いに通信可能に接続される。このように、実施形態に係る計算処理装置10は、一般的なコンピュータを用いて構成できる。
[2. Constitution]
The configuration of the calculation processing apparatus according to this embodiment will be described. FIG. 1 shows an example of a hardware configuration applicable to the calculation processing apparatus according to the embodiment. In FIG. 1, the calculation processing device 10 includes a CPU (Central Processing Unit) 1000, a ROM (Read Only Memory) 1001, a RAM (Random Access Memory) 1002, a graphic I / F (interface) 1003, and a storage 1004. , Input / output I / F 1005 and communication I / F 1006, and each of these parts is communicably connected to each other by a bus 1010. As described above, the calculation processing device 10 according to the embodiment can be configured by using a general computer.

ストレージ1004は、ハードディスクドライブやフラッシュメモリといった不揮発性の記憶媒体であって、CPU1000が動作するためのプログラムや、各種のデータが記憶される。CPU1000は、ストレージ1004やROM1001に記憶されるプログラムに従い、RAM1002をワークメモリとして用いて、この計算処理装置10の全体の動作を制御する。 The storage 1004 is a non-volatile storage medium such as a hard disk drive or a flash memory, and stores a program for operating the CPU 1000 and various data. The CPU 1000 uses the RAM 1002 as a work memory according to a program stored in the storage 1004 and the ROM 1001 to control the overall operation of the calculation processing device 10.

グラフィックI/F1003は、CPU1000によりプログラムに従い生成された表示制御信号を、ディスプレイ1020が対応可能な画像信号に変換して出力する。これにより、プログラムに従った画面をディスプレイ1020上に表示させることができる。 The graphic I / F 1003 converts a display control signal generated by the CPU 1000 according to a program into an image signal compatible with the display 1020 and outputs the signal. As a result, the screen according to the program can be displayed on the display 1020.

入出力I/F1005は、外部機器との間でデータの入出力を行うインタフェースである。入出力I/F1005としては、例えばUSB(Universal Serial Bus)を適用できる。図1の例では、入出力I/F1005に対して、ユーザ操作に応じた制御信号を出力する入力デバイス1021が接続されている。入力デバイス1021からユーザ操作に応じて出力された制御信号は、入出力I/F1005を介してCPU1000に送られる。 The input / output I / F 1005 is an interface for inputting / outputting data to / from an external device. As the input / output I / F 1005, for example, USB (Universal Serial Bus) can be applied. In the example of FIG. 1, an input device 1021 that outputs a control signal corresponding to a user operation is connected to the input / output I / F 1005. The control signal output from the input device 1021 in response to the user operation is sent to the CPU 1000 via the input / output I / F 1005.

入力デバイス1021は、キーボードやポインティングデバイスを適用できる。これに限らず、入力デバイス1021として、表示デバイスと一体的に構成されたタッチパネルを適用させてもよいし、音声入力を行うマイクロホンを適用させてもよい。入力デバイス1021としてマイクロホンを適用させる場合、入出力I/F1005は、アナログ音声信号をディジタル音声信号に変換するA/D変換器を含む。また、入出力I/F1005に対して、出力デバイスとしてプリンタやスピーカを接続することができる。出力デバイスとしてスピーカを適用させる場合、入出力I/F1005は、ディジタル音声信号をアナログ音声信号に変換するD/A変換器を含む。 A keyboard or a pointing device can be applied to the input device 1021. Not limited to this, as the input device 1021, a touch panel configured integrally with the display device may be applied, or a microphone for performing voice input may be applied. When applying a microphone as the input device 1021, the input / output I / F 1005 includes an A / D converter that converts an analog audio signal into a digital audio signal. Further, a printer or a speaker can be connected to the input / output I / F 1005 as an output device. When applying a speaker as an output device, the input / output I / F 1005 includes a D / A converter that converts a digital audio signal into an analog audio signal.

通信I/F1006は、CPU1000の指示に従い、LAN(Local Area Network)やインターネットといったネットワークに対する通信を行う。 The communication I / F 1006 communicates with a network such as a LAN (Local Area Network) or the Internet according to the instruction of the CPU 1000.

図2は、実施形態に係る計算処理装置10の機能を説明するための機能ブロック図である。図2において、計算処理装置10は、制御部110と、記憶部120と、入出力I/F(インタフェース)部130と、通信I/F140部とを含む。これら制御部110、記憶部120、入出力I/F部130および通信I/F部140のうち、制御部110、入出力I/F部130および通信I/F部140は、CPU1000上で動作する計算処理プログラムが実行することで構成される。記憶部120は、例えばストレージ1004の所定の記憶領域が用いられる。 FIG. 2 is a functional block diagram for explaining the function of the calculation processing device 10 according to the embodiment. In FIG. 2, the calculation processing device 10 includes a control unit 110, a storage unit 120, an input / output I / F (interface) unit 130, and a communication I / F 140 unit. Of these control unit 110, storage unit 120, input / output I / F unit 130, and communication I / F unit 140, the control unit 110, input / output I / F unit 130, and communication I / F unit 140 operate on the CPU 1000. It is composed of execution by a calculation processing program. For the storage unit 120, for example, a predetermined storage area of the storage 1004 is used.

なお、制御部110、記憶部120、入出力I/F部130および通信I/F部140の一部または全部を、互いに協働して動作するハードウェア回路により構成することも可能である。 It is also possible to configure a part or all of the control unit 110, the storage unit 120, the input / output I / F unit 130, and the communication I / F unit 140 by a hardware circuit that operates in cooperation with each other.

記憶部120は、品種別特性定義マスタ121と、カテゴリ別特性設定マスタ122と、品番マスタ123と、品種マスタ124と、単位マスタ125と、計算定義マスタ126と、の各マスタが記憶される。以下では、これら各マスタは、複数の項目を含むレコードによるテーブルとして構成されるものとする。各マスタの詳細については、後述する。 The storage unit 120 stores each master of the product type characteristic definition master 121, the category-specific characteristic setting master 122, the product number master 123, the product type master 124, the unit master 125, and the calculation definition master 126. In the following, each of these masters shall be configured as a table of records containing a plurality of items. Details of each master will be described later.

制御部110は、マスタ管理部111と、計算定義設定部112と、計算式作成部113と、計算処理部114と、画面生成部115と、を含む。 The control unit 110 includes a master management unit 111, a calculation definition setting unit 112, a calculation formula creation unit 113, a calculation processing unit 114, and a screen generation unit 115.

マスタ管理部111は、記憶部120に記憶される各マスタの管理を行う。例えば、マスタ管理部111は、記憶部120に記憶される各マスタから、要求された条件に適合するデータを抽出する。また例えば、マスタ管理部111は、要求に従い、各マスタの情報の更新や、新規のレコードの追加などを行う。 The master management unit 111 manages each master stored in the storage unit 120. For example, the master management unit 111 extracts data conforming to the requested conditions from each master stored in the storage unit 120. Further, for example, the master management unit 111 updates the information of each master, adds a new record, and the like according to the request.

計算式定義設定部112は、計算定義マスタ126に対して計算式の要素を設定し、計算式を定義する。すなわち、計算式定義設定部112は、品種と、商品の構成に用いられる特性であって商品において変動する特性である商品変動特性に対する閾値である商品変動特性閾値と、単位と、をキーとし、演算子と、少なくとも商品変動特性と品番に固有の特性である品番固定特性とをそれぞれ項目として区分する項目区分と、を関連付けた計算定義マスタ126を記憶部120に設定する。 The calculation formula definition setting unit 112 sets the elements of the calculation formula in the calculation definition master 126, and defines the calculation formula. That is, the calculation formula definition setting unit 112 uses the product type, the product fluctuation characteristic threshold, which is a threshold for the product fluctuation characteristic, which is a characteristic used in the composition of the product and is a characteristic that fluctuates in the product, and the unit, as keys. A calculation definition master 126 in which the operator is associated with at least the item classification that classifies the product variation characteristic and the product number fixed characteristic, which is a characteristic unique to the product number, as items, is set in the storage unit 120.

計算式作成部113は、計算式定義設定部112に設定された計算式の要素に基づき計算式を作成する。すなわち、計算定義マスタ126における、演算子と、演算子に関連付けられる項目区分に対応する項目識別子(厚み、幅、外形、など)とを、計算定義マスタ126のレコード内で連結して文字列を作成し、計算定義マスタ126の各レコードで作成された文字列それぞれを、計算定義マスタ126のレコード順に従い連結して計算式を作成する。 The calculation formula creation unit 113 creates a calculation formula based on the calculation formula elements set in the calculation formula definition setting unit 112. That is, the operator in the calculation definition master 126 and the item identifier (thickness, width, outline, etc.) corresponding to the item classification associated with the operator are concatenated in the record of the calculation definition master 126 to form a character string. Create and concatenate each character string created in each record of the calculation definition master 126 according to the record order of the calculation definition master 126 to create a calculation formula.

計算処理部114は、計算式作成部113で作成された計算式に入力値を適用し、当該計算式による数値計算を行う。すなわち、計算処理部114は、品番固有特性に対応する項目識別子と、項目識別子に対応する特性値とを関連付けて記憶部120に設定されるカテゴリ別特性設定マスタ122から、入力された品番に対応する特性値を取得し、取得した特性値を用いて計算式による計算を行う。 The calculation processing unit 114 applies the input value to the calculation formula created by the calculation formula creation unit 113, and performs numerical calculation by the calculation formula. That is, the calculation processing unit 114 corresponds to the product number input from the category-specific characteristic setting master 122 set in the storage unit 120 in association with the item identifier corresponding to the product number unique characteristic and the characteristic value corresponding to the item identifier. Acquire the characteristic value to be used, and perform the calculation by the calculation formula using the acquired characteristic value.

画面生成部115は、ディスプレイ1020に画面を表示させるための画面情報を生成する。例えば、画面生成部115は、計算式定義設定部112による計算式の要素の設定を行うための画面や、計算式作成部113が作成した計算式を確認するための画面をディスプレイ1020に表示させるための画面情報を生成する。また、画面生成部115は、計算式作成部113が作成した計算式に従った計算を実行させるための入力値と、当該入力値に応じた計算結果とを表示させる画面をディスプレイ1020に表示させるための画面情報を生成する。 The screen generation unit 115 generates screen information for displaying the screen on the display 1020. For example, the screen generation unit 115 causes the display 1020 to display a screen for setting the elements of the calculation formula by the calculation formula definition setting unit 112 and a screen for confirming the calculation formula created by the calculation formula creation unit 113. Generate screen information for. Further, the screen generation unit 115 causes the display 1020 to display a screen for displaying an input value for executing a calculation according to the calculation formula created by the calculation formula creation unit 113 and a calculation result corresponding to the input value. Generate screen information for.

計算処理装置10において、入出力I/F130部は、入力装置150および出力装置151が接続される。入力装置150は、例えば図1における入力デバイス1021に対応し、入出力I/F部130は、入出力I/F1005を制御して、入力デバイス1021から出力された制御信号に応じた入力データを生成し、制御部110に渡す。出力装置151は、例えば図1におけるディスプレイ1020であって、入出力I/F部130は、グラフィックI/F1003を制御して、CPU1000により生成された表示制御信号を画像信号に変換してディスプレイ1020に供給する。 In the calculation processing device 10, the input / output I / F 130 unit is connected to the input device 150 and the output device 151. The input device 150 corresponds to, for example, the input device 1021 in FIG. 1, and the input / output I / F unit 130 controls the input / output I / F 1005 to input input data corresponding to the control signal output from the input device 1021. Generate and pass to the control unit 110. The output device 151 is, for example, the display 1020 in FIG. 1, and the input / output I / F unit 130 controls the graphic I / F 1003 to convert the display control signal generated by the CPU 1000 into an image signal and display the display 1020. Supply to.

通信I/F部140は、図1における通信I/F1006を制御して、ネットワーク30に対する通信を行う。 The communication I / F unit 140 controls the communication I / F 1006 in FIG. 1 to perform communication with the network 30.

計算処理装置10は、通信I/F部140の制御により、ネットワーク30を介してサーバ20との間で通信を行うことができる。なお、記憶部120に記憶される各マスタは、サーバ20に記憶させてもよい。 The calculation processing device 10 can communicate with the server 20 via the network 30 under the control of the communication I / F unit 140. Each master stored in the storage unit 120 may be stored in the server 20.

計算処理装置10における実施形態に係る各機能を実現するための計算処理プログラムは、インストール可能な形式または実行可能な形式のファイルでコンピュータにて読み取り可能な記録媒体に記録して提供される。このコンピュータで読み取り可能な記録媒体としては、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD(Compact Disk)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Discなどの任意の可搬用の物理媒体を含むものとする。したがって、本明細書で以下に説明するような処理または処理方法を実行するためのプログラムを格納した記録媒体もまた本発明を構成することとなる。 The calculation processing program for realizing each function according to the embodiment in the calculation processing apparatus 10 is provided by recording a file in an installable format or an executable format on a recording medium readable by a computer. Recording media that can be read by this computer include memory cards, USB (Universal Serial Bus) memories, SD (Secure Digital) cards, flexible disks, magneto-optical disks, ROMs, EPROMs (Erasable Programmable Read Only Memory), and EEPROMs (registered). Any portable use such as (Electrically Erasable and Programmable Read Only Memory), CD (Compact Disk), MO (Magneto-Optical disk), DVD (Digital Versatile Disk), and Blu-ray (registered trademark) Disc. It shall include physical media. Therefore, a recording medium containing a program for executing a process or a process method as described below in the present specification also constitutes the present invention.

これに限らず、当該計算処理プログラムを、インターネットなどのネットワークに接続されたコンピュータ上に格納し、当該ネットワークを介してダウンロードさせることにより提供してもよい。また、当該計算処理プログラムをインターネットなどのネットワークを経由して提供または配布するように構成してもよい。 Not limited to this, the calculation processing program may be provided by storing it on a computer connected to a network such as the Internet and downloading it via the network. Further, the calculation processing program may be configured to be provided or distributed via a network such as the Internet.

当該計算処理プログラムは、制御部110(マスタ管理部111、計算定義設定部112、計算式作成部113、計算処理部114および画面生成部115)、入出力I/F部130および通信I/F部140を含むモジュール構成となっている。実際のハードウェアとしては、CPU1000がROM1001などの記憶媒体から当該計算処理プログラムを読み出して実行することにより、上述した各部がRAM1002などの主記憶装置上にロードされ、制御部110(マスタ管理部111、計算定義設定部112、計算式作成部113、計算処理部114および画面生成部115)、入出力I/F部130および通信I/F部140が主記憶装置上に生成されるようになっている。 The calculation processing program includes a control unit 110 (master management unit 111, calculation definition setting unit 112, calculation formula creation unit 113, calculation processing unit 114 and screen generation unit 115), input / output I / F unit 130, and communication I / F. It has a module configuration including a unit 140. As actual hardware, when the CPU 1000 reads the calculation processing program from a storage medium such as ROM 1001 and executes it, each of the above-described units is loaded onto a main storage device such as RAM 1002, and the control unit 110 (master management unit 111) is used. , Calculation definition setting unit 112, calculation formula creation unit 113, calculation processing unit 114 and screen generation unit 115), input / output I / F unit 130 and communication I / F unit 140 are now generated on the main storage device. ing.

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OS(Operating System)に代表される別個のプログラムと協働してその機能を達成するものをも含む。 Further, the "program" is a data processing method described in any language or description method, regardless of the format such as source code or binary code. The "program" is not necessarily limited to a single program, but is distributed as a plurality of modules or libraries, or cooperates with a separate program represented by an OS (Operating System). Including those that achieve the function.

[3.実施形態に係る各マスタの詳細]
次に、図3~図7を用いて、上述した各マスタ(品種別特性定義マスタ121、カテゴリ別特性設定マスタ122、品番マスタ123、品種マスタ124、単位マスタ125および計算定義マスタ126)について、より詳細に説明する。
[3. Details of each master according to the embodiment]
Next, with reference to FIGS. 3 to 7, for each of the above-mentioned masters (characteristic definition master 121 for each product type, characteristic setting master 122 for each category, product number master 123, product type master 124, unit master 125, and calculation definition master 126). It will be explained in more detail.

図3は、実施形態に適用可能な品種別特性定義マスタ121の例を示す。品種別特性定義マスタ121は、レコードに「品種」、「カテゴリ区分」、「行NO」および「特性」の各項目を含み、項目「品種」で特定されるグループがどのような共通要素により構成および分類されるかを定義するためのマスタである。 FIG. 3 shows an example of the characteristic definition master 121 for each product type applicable to the embodiment. The characteristic definition master 121 for each product type includes each item of "product type", "category classification", "row NO", and "characteristic" in the record, and the group specified by the item "product type" is composed of what common elements. And a master for defining what is classified.

例えば、品種「板鋼」のグループに属する品番は、「比重」、「厚み」、「幅」および「長さ」という特性を持つ。これらの特性のうち、「比重」は、板鋼の全体で共通する数値となり、品種単位で固定された特性(品種固定特性)である。一方、「厚み」および「幅」といった固定寸法は、品番毎に固定の特性(品番固定特性)となる。また、「長さ」は、板鋼が切断されることにより個体毎に異なる値となる特性(商品変動特性)である。 For example, a product number belonging to the group of the product type "plate steel" has the characteristics of "specific gravity", "thickness", "width" and "length". Among these characteristics, "specific gravity" is a numerical value common to all sheet steels and is a characteristic fixed for each product type (product type fixing characteristic). On the other hand, fixed dimensions such as "thickness" and "width" are fixed characteristics for each product number (product number fixing characteristics). Further, the "length" is a characteristic (commodity variation characteristic) that becomes a value different for each individual when the sheet steel is cut.

図3において、項目「品種」として、「板鋼」、「パイプ」および「丸太」の3つの品種が設定されている。項目「カテゴリ区分」は、品種の特性を示すためのカテゴリ区分を設定する。図3の例では、項目「カテゴリ区分」は、「品種固定特性」、「品番固定特性」および「商品変動特性」の3つの特性が特性のカテゴリとして区分され設定されている。また、各品種は、少なくとも「品番固定特性」および「商品変動特性」の2つの特性が設定される。 In FIG. 3, three varieties of "plate steel", "pipe" and "log" are set as the item "variety". The item "category classification" sets the category classification for showing the characteristics of the variety. In the example of FIG. 3, in the item "category classification", three characteristics of "product number fixed characteristic", "product number fixed characteristic" and "product variation characteristic" are classified and set as characteristic categories. In addition, at least two characteristics, "product number fixed characteristic" and "product fluctuation characteristic", are set for each product type.

カテゴリ区分のうち、項目「品種固定特性」は、品種に対して固定である特性を示す。項目「品番固定特性」は、品種内での品番に対して固定である特性を示す。例えば、ある品種に対してサイズなどの特性が異なる複数の規格が存在する場合、これら複数の規格それぞれに対して異なる品番が付与される。項目「商品変動特性」は、商品毎に異なる特性を示す。項目「行NO」は、品番に対して複数の特性が定義される場合に、これら複数の特性を識別するための番号を示す。項目「特性」は、特性の内容が設定される項目であって、項目「カテゴリ区分」に設定される各特性を識別するための項目識別子である。 Among the category categories, the item "Cultivar fixed characteristic" indicates a characteristic that is fixed to the variety. The item "Product number fixed characteristic" indicates a characteristic that is fixed to the product number in the product type. For example, when there are a plurality of standards having different characteristics such as size for a certain product type, different product numbers are assigned to each of the plurality of standards. The item "product fluctuation characteristics" indicates characteristics that differ from product to product. The item "row NO" indicates a number for identifying a plurality of characteristics when a plurality of characteristics are defined for the product number. The item "characteristic" is an item in which the content of the characteristic is set, and is an item identifier for identifying each characteristic set in the item "category category".

一例として、品種「板鋼」は、品種固定特性、品番固定特性および商品変動特性の3つのカテゴリ区分が設定される。品種固定特性は、特性として「比重」のみが設定され、行NOが「1」に設定されている。品番固定特性は、特性として「厚み」および「幅」の2つが設定され、行NOが「2」に設定されている。すなわち、品種「板鋼」は、「厚み」および「幅」が異なる複数の規格を含むことができる。また、商品変動特性は、特性として「長さ」が設定され、行NOが「1」に設定されている。 As an example, the product type "plate steel" is set into three category categories: product type fixing characteristic, product number fixing characteristic, and product variation characteristic. As for the product type fixing characteristic, only "specific density" is set as the characteristic, and the row NO is set to "1". As the product number fixing characteristic, two characteristics, "thickness" and "width", are set, and the row number is set to "2". That is, the product type "plate steel" can include a plurality of standards having different "thickness" and "width". Further, as the product variation characteristic, "length" is set as a characteristic, and the row number is set to "1".

別の例として、品種「丸太」は、品番固定特性および商品変動特性の2つのカテゴリ区分が設定される。このように、品種は、カテゴリ区分として品種固定特性を含まない設定も可能である。 As another example, for the product type "log", two category categories, a fixed product number characteristic and a product variation characteristic, are set. As described above, the varieties can be set not to include the cultivar fixing characteristics as the category classification.

図4は、実施形態に適用可能なカテゴリ別特性設定マスタ122の例を示す。カテゴリ別特性設定マスタ122は、図3を用いて説明した品種別特性定義マスタ121において区分される各カテゴリ(品種固定特性→品番固定特性→商品変動特性)において、特性の具体的な内容を管理するためのマスタである。カテゴリ別特性設定マスタ122は、各カテゴリおよび特性を、品種毎に管理できる。 FIG. 4 shows an example of a category-specific characteristic setting master 122 applicable to the embodiment. The category-specific characteristic setting master 122 manages the specific contents of the characteristics in each category (product fixed characteristic → product number fixed characteristic → product variation characteristic) classified in the product type characteristic definition master 121 described with reference to FIG. It is a master to do. The category-specific characteristic setting master 122 can manage each category and characteristic for each product type.

図4の例では、カテゴリ別特性設定マスタ122は、レコードに「カテゴリ区分」、「カテゴリコード」、「特性」、「特性数値」の各項目を含む。なお、図4において、右端の列は、カテゴリ区分に対する説明であって、カテゴリ別特性設定マスタ122を構成する情報として含まれなくて良い。 In the example of FIG. 4, the category-specific characteristic setting master 122 includes each item of "category classification", "category code", "characteristic", and "characteristic numerical value" in the record. In FIG. 4, the rightmost column is an explanation for the category division and does not have to be included as the information constituting the category-specific characteristic setting master 122.

項目「カテゴリ区分」は、図3の品種別特性定義マスタ121における項目「カテゴリ区分」に対応する。カテゴリ別特性設定マスタ122においては、項目「カテゴリ区分」に対し、上述した「品種固定特性」、「品番固定特性」および「商品変動特性」の3つのカテゴリのうち、カテゴリ「品種固定特性」およびカテゴリ「品番固定特性」が設定される。 The item "category classification" corresponds to the item "category classification" in the characteristic definition master 121 for each type of FIG. In the category-specific characteristic setting master 122, for the item "category classification", among the above-mentioned three categories of "product number fixed characteristic", "product number fixed characteristic" and "product variation characteristic", the category "product fixed characteristic" and The category "Product number fixed characteristics" is set.

項目「カテゴリコード」は、品種および品番を特定するための情報が設定される。より具体的には、カテゴリ区分が「品種固定特性」のレコードにおいては品種(品種名)が設定され、カテゴリ区分が「品番固定特性」のレコードにおいては品番(品番名)が設定される。 Information for specifying the product type and product number is set in the item "category code". More specifically, the product type (product number name) is set in the record whose category category is "product number fixed characteristic", and the product number (product number name) is set in the record whose category category is "product number fixed characteristic".

また、カテゴリ別特性設定マスタ122において、項目「カテゴリコード」に設定される文字列に含まれる品種、および、カテゴリ区分について、品種別特性定義マスタ121の項目「行NO」に設定された値に応じてレコードが作成される。図4の例では、カテゴリ別特性設定マスタ122に対し、品種「板鋼」は、品種固定特性について行NOに設定された値「1」(図3参照)に応じて1つのレコードが作成される。また、品番固定特性について行NOに設定された値「1」および「2」(図3参照)に応じて、カテゴリコードが共通の2つのレコードが作成されている。 Further, in the category-specific characteristic setting master 122, the product type included in the character string set in the item "category code" and the category classification are set to the values set in the item "row NO" of the product type-specific characteristic definition master 121. Records are created accordingly. In the example of FIG. 4, for the type “plate steel”, one record is created according to the value “1” (see FIG. 3) set in the row NO for the type fixing characteristic with respect to the category-specific characteristic setting master 122. To. Further, two records having a common category code are created according to the values "1" and "2" (see FIG. 3) set in the row NO for the fixed product number characteristic.

項目「特性」は、図3の品種別特性定義マスタ121における項目「特性」に対応し、そのレコードの項目「カテゴリ区分」および項目「カテゴリコード」に対応する特性の内容が設定される。また、項目「特性数値」は、項目「特性」に設定される特性に対して具体的な数値を設定する。 The item "characteristic" corresponds to the item "characteristic" in the characteristic definition master 121 for each type of FIG. 3, and the content of the characteristic corresponding to the item "category classification" and the item "category code" of the record is set. Further, in the item "characteristic numerical value", a specific numerical value is set for the characteristic set in the item "characteristic".

図4の例では、カテゴリ区分が「品種固定特性」、カテゴリコードが「板鋼」の特性「比重」に対して、特性数値「7.85(Kg/1m3)」が設定されている。また、カテゴリ区分「品番固定特性」について、カテゴリコード「板鋼 914×1829×6」が共通する2つのレコードの特性「厚み」および「幅」に対して、それぞれ特性数値「6.0mm」および「914mm」が設定されている。 In the example of FIG. 4, the characteristic numerical value "7.85 (Kg / 1m 3 )" is set for the characteristic "specific gravity" of the category classification "type fixing characteristic" and the category code "plate steel". Regarding the category category "fixed product number", the characteristic values "6.0 mm" and "width" for the characteristics "thickness" and "width" of the two records in common with the category code "plate steel 914 x 1829 x 6", respectively. "914 mm" is set.

図4の別の例では、カテゴリ区分が「品種固定特性」、カテゴリコードが「丸太」には、品種固定特性が未設定である(図3参照)。また、カテゴリ区分「品番固定特性」について、カテゴリコード「丸太 D50」および「丸太 D55」の特性「直径」に対して、それぞれ特性数値「50cm」および「55cm」が設定されている。 In another example of FIG. 4, the variety fixing characteristic is not set when the category category is “variety fixing characteristic” and the category code is “log” (see FIG. 3). Further, regarding the category category "product number fixed characteristic", the characteristic numerical values "50 cm" and "55 cm" are set for the characteristic "diameter" of the category codes "log D50" and "log D55", respectively.

図5は、実施形態に適用可能な品番マスタ123の例を示す。品番マスタ123は、レコードに「品番コード(CD)」、「品番名」、「品種」および「員数単位」の各項目を含む。項目「品番コード」は、品番を識別する品番識別情報が設定される。 FIG. 5 shows an example of a product number master 123 applicable to the embodiment. The product number master 123 includes each item of "product number code (CD)", "product number name", "product type", and "number unit" in the record. In the item "product number code", the product number identification information for identifying the product number is set.

項目「品番名」は、品番に付与された名前が設定される。なお、項目「品番名」は、図4のカテゴリ別特性設定マスタ122の項目「カテゴリコード」における値(「板鋼 914×1829×6」など)が設定される。項目「品種」は、図3の品種別特性定義マスタ121における項目「品種」に対応し、項目「品番コード」で識別される品番の品種が設定される。項目「員数単位」は、項目「品番コード」で識別される商品の個体を計数する際の単位(例えば「枚」、「本」)が設定される。 The name given to the product number is set in the item "product number name". For the item "product number name", a value (such as "plate steel 914 x 1829 x 6") in the item "category code" of the category-specific characteristic setting master 122 of FIG. 4 is set. The item "product type" corresponds to the item "product type" in the characteristic definition master 121 for each product type in FIG. 3, and the product type of the product number identified by the item "product number code" is set. In the item "number unit", a unit (for example, "sheet", "book") for counting the individual of the product identified by the item "product number code" is set.

図6は、実施形態に適用可能な品種マスタ124の例を示す。品種マスタ124は、レコードに「品種コード(CD)」、「品種名」および「換算単位」の各項目を含む。項目「品種コード」は、品種を識別する品種識別情報が設定される。項目「品種名」は、品種コードにより識別される品種の名前が設定される。なお、項目「品種名」は、図3の品種別特性定義マスタ121および図5の品番マスタ123における項目「品種」における値(この例では「板鋼」、「パイプ」および「丸太」)が設定される。項目「換算単位」は、項目「品種コード」で示される品種に対する計算を行った計算結果に用いる単位(例えば「Kg」、「m」)が設定される。 FIG. 6 shows an example of the product type master 124 applicable to the embodiment. The variety master 124 includes each item of "variety code (CD)", "variety name" and "conversion unit" in the record. In the item "variety code", the variety identification information for identifying the variety is set. In the item "variety name", the name of the variety identified by the variety code is set. The item "product name" has a value in the item "product" in the characteristic definition master 121 for each product type in FIG. 3 and the product number master 123 in FIG. 5 (in this example, "plate steel", "pipe", and "log"). Set. In the item "conversion unit", a unit (for example, "Kg", "m 3 ") used for the calculation result obtained by performing the calculation for the variety indicated by the item "variety code" is set.

図7は、実施形態に適用可能な単位マスタ125の例を示す。単位マスタ125は、単位を管理するマスタであって、「単位コード(CD)」、「単位名」および「単位区分」の各項目を含む。項目「単位コード」は、単位を識別するための単位識別情報が設定される。項目「単位名」は、単位の表示名が設定される(この例では、「Kg」、「m3」、「枚」、「本」)。項目「単位区分」は、単位の区分が設定される(この例では、「重量」、「体積」、「員数」)。 FIG. 7 shows an example of the unit master 125 applicable to the embodiment. The unit master 125 is a master that manages units, and includes each item of "unit code (CD)", "unit name", and "unit classification". In the item "unit code", unit identification information for identifying the unit is set. For the item "unit name", the display name of the unit is set (in this example, "Kg", "m 3 ", "sheet", "book"). The item "unit classification" is set to the unit classification (in this example, "weight", "volume", "number of members").

[4.実施形態に係る計算定義]
次に、実施形態に係る計算定義について説明する。実施形態では、重量計算、あるいは、体積計算などを行うための計算式を、計算定義マスタ126を用いて定義する。この、計算定義マスタ126による計算式の定義は、品種毎に行う。このとき、同一品種でも異なる複数の計算を行う場合などを想定する必要がある。例えば、品種「丸太」では、商品変動特性値(長さ)によって計算の方法が異なる場合がある。そのため、実施形態では、計算定義マスタ126に対し、品種と、商品変動特性値に対する閾値と、計算結果に対する単位区分と、をキーとして設定する。ここで、キーとして設定される商品変動特性値に対する閾値は、その定義が適用される下限値(定義適用下限値)である。
[4. Calculation definition according to the embodiment]
Next, the calculation definition according to the embodiment will be described. In the embodiment, a calculation formula for performing weight calculation, volume calculation, or the like is defined by using the calculation definition master 126. The definition of the calculation formula by the calculation definition master 126 is performed for each product type. At this time, it is necessary to assume a case where a plurality of different calculations are performed even for the same product type. For example, in the product type "log", the calculation method may differ depending on the product variation characteristic value (length). Therefore, in the embodiment, the product type, the threshold value for the product variation characteristic value, and the unit classification for the calculation result are set as keys in the calculation definition master 126. Here, the threshold value for the product variation characteristic value set as the key is the lower limit value (definition application lower limit value) to which the definition is applied.

図8は、実施形態に係る計算定義に使用可能な項目を一覧で示す。図8に項目区分にて示されるように、実施形態に係る計算定義には、「品種固定特性」、「品番固定特性」、「商品変動特性数値」、「員数」、「その他固定値」、「端数処理開始/終了」、「累乗開始/終了」および「ダミー」の各項目を使用可能である。これら各項目は、計算定義マスタ126のレコードに対して1つが設定され、そのレコードに定義される項目を区分する。 FIG. 8 shows a list of items that can be used in the calculation definition according to the embodiment. As shown in the item classification in FIG. 8, the calculation definition according to the embodiment includes “product number fixed characteristic”, “product number fixed characteristic”, “product fluctuation characteristic numerical value”, “number of members”, “other fixed value”, and the like. Each item of "rounding start / end", "exponentiation start / end" and "dummy" can be used. One of these items is set for the record of the calculation definition master 126, and the item defined in the record is classified.

図8に示される各項目について説明する。項目「品種固定特性」は、計算定義マスタ126に対し、図4のカテゴリ別特性設定マスタ122の項目「カテゴリ区分」が「品種固定特性」(カテゴリ区分=2:品種)であるレコードにおける設定値(特性、特性値)を設定する。項目「品種固定特性」を含むレコードに設定される値としては、特性および特性値として、例えば物質比重およびその値が想定される。 Each item shown in FIG. 8 will be described. The item "Fixed product type characteristic" is a set value in the record in which the item "Category classification" of the characteristic setting master 122 for each category in FIG. 4 is "Fixed product type characteristic" (category category = 2: product type) with respect to the calculation definition master 126. Set (characteristics, characteristic values). As the value set in the record including the item "type fixed characteristic", for example, the substance specific density and its value are assumed as the characteristic and the characteristic value.

項目「品番固定特性」は、同様に、計算定義マスタ126に対し、図4のカテゴリ別特性設定マスタ122の項目「カテゴリ区分」が「品番固定特性」(カテゴリ区分=0:品番)であるレコードにおける設定値(特性、特性値)を設定する。項目「品番固定特性」を含むレコードに設定される値としては、例えば厚み、幅、直径といった品番毎に固定の寸法が想定される。 Similarly, the item "fixed product number characteristic" is a record in which the item "category classification" of the characteristic setting master 122 for each category in FIG. 4 is "product number fixed characteristic" (category classification = 0: product number) with respect to the calculation definition master 126. Set the set values (characteristics, characteristic values) in. As the value set for the record including the item "product number fixed characteristic", fixed dimensions such as thickness, width, and diameter are assumed for each product number.

項目「商品変動特性数値」は、計算定義マスタ126に対し、商品毎に変動する特性値(商品変動特性値)に対するユーザによる入力値を設定する。項目「商品変動特性数値」に設定される商品変動特性値としては、長さなどの、商品毎、入力毎に変更される可能性がある寸法が想定される。項目「員数」は、同様に、ユーザにより入力値が適用される。項目「員数」に適用される値としては、本数、枚数といった物流上の数量が想定される。 In the item "product fluctuation characteristic numerical value", the input value by the user for the characteristic value (product fluctuation characteristic value) that fluctuates for each product is set in the calculation definition master 126. As the product fluctuation characteristic value set in the item "product fluctuation characteristic numerical value", dimensions such as length that may be changed for each product and each input are assumed. Similarly, an input value is applied to the item "number of members" by the user. As the value applied to the item "number of members", physical distribution quantities such as the number of pieces and the number of sheets are assumed.

項目「その他固定値」は、計算定義マスタ126において定義される計算式に対応する公式で使用される固定係数などの値を設定する。 In the item "Other fixed values", a value such as a fixed coefficient used in the formula corresponding to the calculation formula defined in the calculation definition master 126 is set.

項目「端数処理開始/終了」は、計算定義マスタ126に対し、計算式に対する端数処理を設定する。項目「端数処理開始/終了」は、計算式において端数処理の開始位置に配置した場合は、端数処理方法を指定する。指定される端数処理方法としては、四捨五入、切り上げ、切り捨て、が想定されるが、これらに限定されるものではない。また、項目「端数処理開始/終了」は、計算式において端数処理の終了位置に配置した場合は、端数処理の結果における有効小数桁を指定する。 The item "Rounding start / end" sets the rounding for the calculation formula in the calculation definition master 126. When the item "start / end of rounding" is placed at the start position of rounding in the calculation formula, the rounding method is specified. The specified rounding method is assumed to be rounding, rounding up, and rounding down, but is not limited to these. Further, when the item "start / end of rounding" is placed at the end position of rounding in the calculation formula, it specifies a valid decimal digit in the result of rounding.

項目「累乗開始/終了」は、計算定義マスタ126に対し、計算式に対する累乗計算の開始位置、終了位置および累乗根を設定する。累乗根は、累乗計算の終了位置において指定される。 The item "Exponentiation start / end" sets the start position, end position, and root of exponentiation for the calculation formula in the calculation definition master 126. The roots are specified at the end of the exponentiation calculation.

項目「ダミー」は、計算定義マスタ126に対し、計算式内において優先して計算を実行する範囲を指定する括弧(括弧演算子)の開始位置および終了位置や、演算子のみを指定するレコードを設定する。 The item "dummy" indicates to the calculation definition master 126 the start position and end position of parentheses (parentheses operator) that specify the range in which the calculation is preferentially executed in the calculation formula, and the record that specifies only the operator. Set.

[5.実施形態に係る計算定義マスタの具体例]
次に、実施形態に係る計算定義マスタ126について、より具体的に説明する。記憶部120は、複数の計算定義マスタ126を設定することができる。例えば、計算定義マスタ126は、キー項目における項目「品種コード」、「変動特性閾値」および「計算結果」の異なる組み合わせ毎に設定できる。以下では、特に記載の無い限り、計算定義マスタ126は、記憶部120に記憶される複数の計算定義マスタ126のうち任意の1つを指すものとする。
[5. Specific example of calculation definition master according to the embodiment]
Next, the calculation definition master 126 according to the embodiment will be described more specifically. The storage unit 120 can set a plurality of calculation definition masters 126. For example, the calculation definition master 126 can be set for each different combination of the items "variety code", "variation characteristic threshold value", and "calculation result" in the key item. In the following, unless otherwise specified, the calculation definition master 126 refers to any one of the plurality of calculation definition masters 126 stored in the storage unit 120.

図9は、実施形態に係る計算定義マスタ126の例を示す。計算定義マスタ126は、レコードに、「品種コード」、「変動特性閾値」、「計算結果」、「連番」、「項目区分」、「括弧他Start」、「演算子」、「項目値コード(CD)」、「定数」および「括弧他End」の各項目を含む。 FIG. 9 shows an example of the calculation definition master 126 according to the embodiment. In the calculation definition master 126, "product code", "variation characteristic threshold", "calculation result", "serial number", "item classification", "parentheses and other Starts", "operator", and "item value code" are recorded in the record. (CD) ”,“ constant ”and“ parentheses and other Ends ”are included.

これらのうち、「品種コード」、「変動特性閾値」、「計算結果」および「連番」の各項目は、計算定義マスタ126のキー項目であって、項目「品種コード」、「変動特性閾値」および「計算結果」は、当該計算定義マスタ126の全レコードで共通の値が設定される。項目「連番」は、レコードの順に従い増加する値が設定される。例えば、計算式作成部113(図2参照)は、これら項目「品種コード」、「変動特性閾値」および「計算結果」の値に従い、計算対象となる公式を特定できる。 Of these, each item of "variety code", "variation characteristic threshold", "calculation result" and "serial number" is a key item of the calculation definition master 126, and the items "variety code" and "variation characteristic threshold". And "calculation result" are set to common values in all the records of the calculation definition master 126. The item "serial number" is set to a value that increases in the order of records. For example, the calculation formula creation unit 113 (see FIG. 2) can specify the formula to be calculated according to the values of these items “variety code”, “variation characteristic threshold value”, and “calculation result”.

項目「品種コード」は、図6の品種マスタ124の項目「品種コード」または項目「品種名」の値が設定され、この計算定義マスタ126が計算を行う商品の品種が特定される。項目「変動特性閾値」は、商品変動特性値に対する閾値が設定される。項目「品種コード」および後述する項目「計算結果」が同一の計算定義マスタ126が複数存在する場合に、計算に用いる計算定義マスタ126を、入力された商品変動特性値と、この項目「変動特性閾値」に設定された値と、に基づき特定する。 In the item "variety code", the value of the item "variety code" or the item "variety name" of the variety master 124 of FIG. 6 is set, and the variety of the product to be calculated by the calculation definition master 126 is specified. In the item "variation characteristic threshold value", a threshold value for the product variation characteristic value is set. When there are a plurality of calculation definition masters 126 having the same item "product code" and the item "calculation result" described later, the calculation definition master 126 used for the calculation is used for the input product variation characteristic value and this item "variation characteristic". It is specified based on the value set in the "threshold value".

項目「計算結果」は、当該計算定義マスタ126に定義される計算式による計算結果の単位が設定される。 In the item "calculation result", the unit of the calculation result by the calculation formula defined in the calculation definition master 126 is set.

計算定義マスタ126の各項目のうち、項目「項目区分」、ならびに、左から右へ向けて順に並べられる項目「括弧他Start」、「演算子」、「項目値コード(CD)」、「定数」および「括弧他End」は、計算式を示す文字列である式文字列を作成するための各要素が設定される。項目「項目区分」は、図8を用いて説明した、実施形態に係る計算定義に使用可能な項目が設定される。 Of each item of the calculation definition master 126, the item "item classification" and the items "parentheses and other Starts", "operators", "item value code (CD)", and "constants" arranged in order from left to right. "And" Parentheses and others End "are set with each element for creating an expression character string which is a character string indicating a calculation formula. In the item "item classification", items that can be used in the calculation definition according to the embodiment described with reference to FIG. 8 are set.

項目「括弧他Start」および項目「括弧他End」は、それぞれ、括弧計算または累乗計算といった、計算式において優先して計算される範囲の開始位置および終了位置を指定するための、優先範囲指定演算子を設定する。括弧計算の開始位置は、項目「括弧他Start」の値を値「(」とすることで設定され、終了位置は、項目「括弧他End」の値を値「)」とすることで設定される。累乗計算の開始位置は、項目「括弧他Start」の値を「累乗開始(」とすることで設定される。累乗計算の終了位置は、項目「括弧他End」の値を、「)」と累乗根とを組み合わせた値(例えば「)2乗」)とすることで設定される。 The item "Brackets and others Start" and the item "Brackets and others End" are priority range specification operations for specifying the start position and end position of the range that is preferentially calculated in the formula, such as parenthesis calculation or exponentiation calculation, respectively. Set the child. The start position of the parenthesis calculation is set by setting the value of the item "parentheses and other Start" to the value "(", and the end position is set by setting the value of the item "parentheses and other End" to the value ")". To. The start position of the exponentiation calculation is set by setting the value of the item "parentheses and other Starts" to "start of exponentiation (". It is set by setting it as a value (for example, ") squared" in combination with the roots.

また、項目「括弧他Start」および項目「括弧他End」は、それぞれ、端数処理の開始位置および終了位置を設定する。この場合、項目「括弧他Start」は、端数処理の開始位置と共に、端数処理の種類を設定する。また、項目「括弧他End」は、端数処理の終了位置と共に、端数処理の桁数を設定する。 Further, the item "parentheses and others Start" and the item "parentheses and others End" set the start position and the end position of the rounding, respectively. In this case, the item "parentheses and other Starts" sets the type of rounding as well as the start position of rounding. In addition, the item "parentheses and others End" sets the number of digits of the rounding process together with the end position of the rounding process.

項目「演算子」は、四則演算を示す記号(例えば「+」、「-」、「×」および「÷」)が設定される。 Symbols (for example, "+", "-", "x", and "÷") indicating four arithmetic operations are set in the item "operator".

項目「項目値コード」は、そのレコードのキー項目「品種コード」の値と、項目「項目区分」の値とに基づき、図3を用いて説明した品種別特性定義マスタ121から特定された項目「特性」の値が設定される。項目「定数」は、そのレコードの項目「項目区分」の値が「固定値」である場合に値が設定される項目である。 The item "item value code" is an item specified from the product type characteristic definition master 121 described with reference to FIG. 3 based on the value of the key item "product code" of the record and the value of the item "item classification". The value of "Characteristics" is set. The item "constant" is an item for which a value is set when the value of the item "item classification" of the record is "fixed value".

ここで、図2を参照し、計算式作成部113は、計算定義マスタ126の各レコード内においては、項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」の値を、計算定義マスタ126における並び順に従い、左から右に連結して文字列を生成する。さらに、計算式作成部113は、各レコードにおいて生成した各文字列を、各レコードの項目「連番」の順に連結し、最終的な計算式を表す式文字列を生成する。 Here, referring to FIG. 2, in each record of the calculation definition master 126, the calculation formula creation unit 113 includes the items “parentheses and other Start”, “operator”, “item value code”, “constant”, and “constant”. The values of "parentheses and others End" are concatenated from left to right according to the order in the calculation definition master 126 to generate a character string. Further, the calculation formula creation unit 113 concatenates each character string generated in each record in the order of the item "serial number" of each record, and generates an expression character string representing the final calculation formula.

なお、計算定義マスタ126において、「括弧他Start」、「演算子」および「括弧他End」の各項目に設定される括弧、累乗根、演算子は、例えば後述する計算定義マスタメンテ画面において表示させるための文字列である。計算処理部114は、例えば、これら「括弧他Start」、「演算子」および「括弧他End」の各項目に設定される文字列に応じた計算を実行するための関数を備える。計算処理部114は、計算定義マスタ126から、これら「括弧他Start」、「演算子」および「括弧他End」の各項目に設定される文字列を取得すると共に、上述した、公式に当てはめる各数値を取得する。計算処理部114は、取得した各文字列および数値を当該関数に渡し、これら各文字列および数値による当該関数による計算を実行する。 In the calculation definition master 126, the parentheses, roots, and operators set in each item of "start of parentheses and others", "operator", and "End of parentheses and others" are displayed on, for example, the calculation definition master maintenance screen described later. It is a character string to make it. The calculation processing unit 114 includes, for example, a function for executing a calculation according to a character string set in each of these "start of parentheses and others", "operator", and "End of parentheses and others". The calculation processing unit 114 acquires the character strings set in each of these "parentheses and other Starts", "operators", and "parentheses and other Ends" from the calculation definition master 126, and applies each of the above-mentioned formulas. Get the number. The calculation processing unit 114 passes each acquired character string and numerical value to the function, and executes a calculation by the function using each of these character strings and numerical values.

[6.実施形態の第1の適用例]
図10を用いて、実施形態に係る計算定義マスタ126の第1の適用例について説明する。第1の適用例は、計算定義マスタ126を板鋼の重量計算に適用した例である。図10(a)は、板鋼の重量計算を行うための公式を示す。板鋼の重量は、計算式「(厚み×幅×長さ×比重)/定数」を公式として計算される。ここで、定数は、単位換算のための値であって、厚み、幅および長さの単位が「mm」、比重の単位が「Kg/1m3」であり、計算結果として必要な単位が「Kg」である場合、定数は、図10(a)の例のように「1,000,000」となる。
[6. First application example of the embodiment]
A first application example of the calculation definition master 126 according to the embodiment will be described with reference to FIG. The first application example is an example in which the calculation definition master 126 is applied to the weight calculation of sheet steel. FIG. 10A shows a formula for calculating the weight of sheet steel. The weight of the sheet steel is calculated using the formula "(thickness x width x length x specific gravity) / constant" as a formula. Here, the constant is a value for unit conversion, the unit of thickness, width and length is "mm", the unit of specific gravity is "Kg / 1m 3 ", and the unit required as a calculation result is "". In the case of "Kg", the constant is "1,000,000" as in the example of FIG. 10 (a).

図10(b)は、図10(a)の公式に対応する計算式を定義する計算定義マスタ126aの例を示す。図10(b)の例では、キー項目中の項目「品種コード」の値「板鋼」と、項目「変動特性閾値」の値「0」と、項目「計算結果」の値「Kg」とに従い図10(a)の公式が特定される。ここで、板鋼の重量計算の場合、商品変動特性値(長さ)に関わらず単一の公式が適用されるため、項目「変動特性閾値」は、無視できる。なお、公式が、分子あるいは分母に複数の項を含む分数式で表される場合、当該複数の項の全体に対して、開始括弧および閉じ括弧が暗黙的に設定されるものとする。 FIG. 10B shows an example of a calculation definition master 126a that defines a calculation formula corresponding to the formula of FIG. 10A. In the example of FIG. 10B, the value "plate steel" of the item "type code" in the key item, the value "0" of the item "variation characteristic threshold", and the value "Kg" of the item "calculation result" Therefore, the formula of FIG. 10 (a) is specified. Here, in the case of weight calculation of sheet steel, since a single formula is applied regardless of the product variation characteristic value (length), the item “variation characteristic threshold” can be ignored. When the formula is expressed by a fractional expression containing a plurality of terms in the numerator or denominator, the opening parenthesis and the closing parenthesis are implicitly set for the entire of the plurality of terms.

特定された公式および項目「項目区分」の値に従い、項目「連番」が「0」のレコード(以下、連番「0」のレコードなどと記述する)において、項目「括弧他Start」に値「(」、項目「項目コード」に値「厚み」がそれぞれ設定され、連番「1」のレコードにおいて、項目「演算子」に値「×」、項目「項目コード」に値「幅」がそれぞれ設定される。また、連番「2」のレコードにおいて、項目「演算子」に値「×」、項目「項目コード」に値「比重」がそれぞれ設定される。 In the record where the item "serial number" is "0" (hereinafter referred to as the record with the serial number "0", etc.) according to the specified formula and the value of the item "item classification", the value is set to the item "parentheses and other Start". The value "thickness" is set for "(" and the item "item code", respectively, and in the record with serial number "1", the value "x" is set for the item "operator" and the value "width" is set for the item "item code". In the record of the serial number "2", the value "x" is set in the item "operator" and the value "specific weight" is set in the item "item code".

連番「3」のレコードにおいて、項目「演算子」に値「×」が設定される。このレコードは、商品変動特性値のレコードであって、計算に用いる値は、後述する入力画面においてユーザにより入力されるため、当該レコードの項目「項目値コード」は、空欄とされている。連番「4」のレコードは、ダミーのレコードであって、項目「括弧他End」に値「)」が設定される。連番「5」のレコードは、固定値のレコードであって、項目「演算子」に値「÷」が設定され、項目「定数」に、公式において規定される固定値としての値「1,000,000」が設定される。 In the record of serial number "3", the value "x" is set in the item "operator". Since this record is a record of the product variation characteristic value and the value used for the calculation is input by the user on the input screen described later, the item "item value code" of the record is left blank. The record with the serial number "4" is a dummy record, and the value ")" is set in the item "parentheses and other Ends". The record with the serial number "5" is a record with a fixed value, and the value "÷" is set in the item "operator", and the value "1," as a fixed value officially specified in the item "constant". "Million" is set.

図10(c)は、図10(b)の計算定義マスタ126aに対して、品番名「板鋼 914×1829×6」の板鋼を想定して具体的な数値を代入した例を示す。図10(c)の例では、図10(b)の計算定義マスタ126aにおける項目「項目値コード」および「定数」を纏めて、公式に当てはめる数値としている。例えば計算処理部114は、連番「0」~「2」の各レコードでは、項目「品種コード」および項目「項目区分」の値に従い、図4のカテゴリ別特性設定マスタ122からそれぞれ対応する値「6」(厚み)、「914」(幅)および「7.85」(比重)を取得し、公式に当てはめる数値として設定する。また、連番「3」の、商品変動特性のレコードでは、ユーザにより入力された値「1,000」(長さ)が公式に当てはめる数値として設定される。さらに、連番「5」の固定値のレコードでは、公式に従い値「1,000,000」が設定される。 FIG. 10 (c) shows an example in which a concrete numerical value is substituted for the calculation definition master 126a of FIG. 10 (b) assuming the sheet steel of the product number name “plate steel 914 × 1829 × 6”. In the example of FIG. 10 (c), the items "item value code" and "constant" in the calculation definition master 126a of FIG. 10 (b) are collectively applied as numerical values. For example, in each record of the serial numbers "0" to "2", the calculation processing unit 114 has corresponding values from the category-specific characteristic setting master 122 of FIG. 4 according to the values of the item "variety code" and the item "item classification". Acquire "6" (thickness), "914" (width) and "7.85" (specific weight), and set them as officially applicable values. Further, in the record of the product variation characteristic of the serial number "3", the value "1,000" (length) input by the user is set as a numerical value to be officially applied. Further, in the record of the fixed value of the serial number "5", the value "1,000,000" is set according to the formula.

図11は、計算定義マスタ126の編集を行うための画面である計算定義マスタメンテ画面200の例を示す。図2を参照し、計算定義設定部112は、記憶部120に設定される各マスタを参照して、計算定義マスタメンテ画面200を表示するための各情報を取得し、画面生成部115に渡す。画面生成部115は、計算定義設定部112から渡された情報に基づき画面情報を生成し、生成した画面情報を、入出力I/F部130を介して例えばディスプレイ1020である出力装置151に渡し、当該ディスプレイ1020に計算定義マスタメンテ画面200を表示させる。 FIG. 11 shows an example of the calculation definition master maintenance screen 200, which is a screen for editing the calculation definition master 126. With reference to FIG. 2, the calculation definition setting unit 112 refers to each master set in the storage unit 120, acquires each information for displaying the calculation definition master maintenance screen 200, and passes it to the screen generation unit 115. .. The screen generation unit 115 generates screen information based on the information passed from the calculation definition setting unit 112, and passes the generated screen information to, for example, an output device 151 which is a display 1020 via the input / output I / F unit 130. , The calculation definition master maintenance screen 200 is displayed on the display 1020.

図11において、計算定義マスタメンテ画面200は、入力部210、211および212と、マスタ表示部213と、ボタン214と、を含む。なお、図11に示す計算定義マスタメンテ画面200は、図10(b)を用いて説明した、板鋼の重量計算を行うための計算定義マスタ126aの編集を行う、重量計算定義マスタメンテ画面を想定している。 In FIG. 11, the calculation definition master maintenance screen 200 includes input units 210, 211 and 212, a master display unit 213, and a button 214. The calculation definition master maintenance screen 200 shown in FIG. 11 is a weight calculation definition master maintenance screen for editing the calculation definition master 126a for performing the weight calculation of the sheet steel described with reference to FIG. 10 (b). I'm assuming.

入力部210、211および212は、計算定義マスタ126のキー項目である「品種コード」、「変動特性閾値」および「計算結果」の各項目に対する設定を行うために設けられる。 The input units 210, 211 and 212 are provided to set the key items of the calculation definition master 126 for each item of "variety code", "variation characteristic threshold value" and "calculation result".

入力部210は、項目「品種コード」に設定する値を入力するための入力領域2101と、入力領域2101に入力された値に対応する品種を表示するための表示領域2102とを含む。入力領域2101は、図6に示した品種マスタ124の項目「品種コード」に設定された値が入力される。入力領域2101に対する入力は、ユーザが手動にて行ってもよいし、ユーザに、品種コードの一覧を含むドロップダウンリストから選択させてもよい。例えば、計算定義設定部112が品種マスタ124を参照して品種コードの一覧を取得し、取得した品種コードの一覧を画面生成部115に渡す。画面生成部115は、この品種コードの一覧に基づきドロップダウンリストなどを生成し、表示領域2102に表示させる。 The input unit 210 includes an input area 2101 for inputting a value set in the item "product code" and a display area 2102 for displaying a product type corresponding to the value input in the input area 2101. In the input area 2101, the value set in the item "variety code" of the variety master 124 shown in FIG. 6 is input. The input to the input area 2101 may be performed manually by the user, or the user may be made to select from a drop-down list including a list of product types. For example, the calculation definition setting unit 112 refers to the product type master 124 to acquire a list of product type codes, and passes the acquired list of product type codes to the screen generation unit 115. The screen generation unit 115 generates a drop-down list or the like based on this list of product code and displays it in the display area 2102.

また、計算定義設定部112は、品種マスタ124を参照し、項目「品種名」から、入力領域2101に入力された値に対応する値を取得し、取得した値を、画面生成部115により表示領域2102に表示させる。図11の例では、入力領域2101に対して商品コード「ITA」が入力され、表示領域2102に、商品コード「ITA」に品種マスタ124において関連付けられる品種名「板鋼」が表示されている。 Further, the calculation definition setting unit 112 refers to the product type master 124, acquires a value corresponding to the value input to the input area 2101 from the item “product name”, and displays the acquired value by the screen generation unit 115. Displayed in area 2102. In the example of FIG. 11, the product code “ITA” is input to the input area 2101, and the product code “ITA” is displayed with the product type name “plate steel” associated with the product type master 124 in the display area 2102.

入力部211は、項目「変動特性閾値」に設定する値(商品変動特性閾値)を入力するための入力領域2111と、入力領域2111に入力された値に対応する単位を表示するための表示領域2112とを含む。変動特性閾値は、商品変動特性値(「長さ」など)に応じて適用される公式が異なる場合の、商品変動特性値に対する閾値である。商品変動特性値によって公式が変わらない場合は、変動特性閾値として値「0」が入力される。また、計算定義設定部112は、カテゴリ別特性設定マスタ122を参照して、入力領域2101に入力された品種コードが示す品種に対して予め定められた単位を表示領域2112に表示させる。図11の例では、入力領域2111に対して値「0.00」が入力され、表示領域2112に、入力領域2101に入力された品種コードに対応する単位名「mm」が表示されている。 The input unit 211 has an input area 2111 for inputting a value (product variation characteristic threshold value) set in the item "variation characteristic threshold value" and a display area for displaying a unit corresponding to the value input in the input area 2111. Includes 2112. The variation characteristic threshold is a threshold value for the product variation characteristic value when the formula applied differs depending on the product variation characteristic value (“length” or the like). If the formula does not change depending on the product variation characteristic value, the value "0" is input as the variation characteristic threshold. Further, the calculation definition setting unit 112 refers to the category-specific characteristic setting master 122, and causes the display area 2112 to display a predetermined unit for the product type indicated by the product type code input to the input area 2101. In the example of FIG. 11, the value “0.00” is input to the input area 2111, and the unit name “mm” corresponding to the product type code input to the input area 2101 is displayed in the display area 2112.

入力部212は、項目「計算結果」に設定する値(単位コード)を入力するための入力領域2121と、入力領域2121に入力された値に対応する単位(計算結果単位)を表示するための表示領域2122とを含む。入力領域2121は、図7に示した単位マスタ125の項目「単位コード」に設定された値が入力される。入力領域2121に対する入力は、ユーザが手動にて行ってもよいし、ユーザに、ドロップダウンリストから選択させてもよい。例えば、計算定義設定部112が単位マスタ125を参照して単位コードの一覧を取得し、取得した単位名コードの一覧を画面生成部115に渡す。画面生成部115は、この品種コードの一覧に基づきドロップダウンリストを作成し、表示領域2122に表示させる。図11の例では、入力領域2121に対して単位コード「13」が入力され、表示領域2122は、単位コード「13」に単位マスタ125において関連付けられる単位名「Kg」が表示されている。 The input unit 212 displays an input area 2121 for inputting a value (unit code) set in the item "calculation result" and a unit (calculation result unit) corresponding to the value input in the input area 2121. Includes display area 2122. In the input area 2121, the value set in the item "unit code" of the unit master 125 shown in FIG. 7 is input. The input to the input area 2121 may be performed manually by the user or may be made to select from the drop-down list. For example, the calculation definition setting unit 112 refers to the unit master 125 to acquire a list of unit codes, and passes the acquired list of unit name codes to the screen generation unit 115. The screen generation unit 115 creates a drop-down list based on this list of product code and displays it in the display area 2122. In the example of FIG. 11, the unit code “13” is input to the input area 2121, and the unit name “Kg” associated with the unit code “13” in the unit master 125 is displayed in the display area 2122.

マスタ表示部213は、計算定義マスタ126における項目「連番」、および、項目「連番」の右側の各項目(項目「項目区分」、項目「括弧他Start」、「演算子」、「項目値コード(CD)」、「定数」および「括弧他End」)が、それぞれ設定された値を含めて表示される。 The master display unit 213 includes the item "serial number" in the calculation definition master 126 and each item on the right side of the item "serial number" (item "item classification", item "parentheses and other constants", "operator", "item". The value code (CD) ”,“ constant ”, and“ parentheses and other Ends ”) are displayed including the set values.

計算定義設定部112は、入力領域2101、2111および2121に入力された「品種コード」、「変動特性閾値」および「計算結果」の各値をキーとして、記憶部120に設定される計算定義マスタ126から、キーに対応する計算定義マスタ126を特定する。画面生成部115は、計算定義設定部112により特定された計算定義マスタ126の項目「連番」と、項目「項目区分」と、項目「括弧他Start」、「演算子」、「項目値コード(CD)」、「定数」および「括弧他End」とに設定された各値を、マスタ表示部213の対応するレコードおよび項目に表示させる。 The calculation definition setting unit 112 is a calculation definition master set in the storage unit 120 using the values of the “type code”, the “variation characteristic threshold”, and the “calculation result” input to the input areas 2101, 2111, and 2121 as keys. From 126, the calculation definition master 126 corresponding to the key is specified. The screen generation unit 115 includes an item "serial number", an item "item classification", an item "parentheses and other Starts", an "operator", and an "item value code" of the calculation definition master 126 specified by the calculation definition setting unit 112. (CD) ”,“ constant ”and“ parentheses and other Ends ”are set to be displayed in the corresponding records and items of the master display unit 213.

また、画面生成部115は、計算定義設定部112が入力されたキーに対応する計算定義マスタ126を記憶部120から特定できなかった場合、マスタ表示部213に、各レコードが空欄とされた計算定義マスタ126を表示させる。これは、例えば新規の計算定義マスタ126を設定する場合に該当する。この場合、ユーザは、入力装置150を操作して、マスタ表示部213に表示された計算定義マスタ126の各欄に対し、値を直接的に設定することができる。 Further, when the calculation definition setting unit 112 cannot specify the calculation definition master 126 corresponding to the input key from the storage unit 120, the screen generation unit 115 calculates that each record is blank in the master display unit 213. Display the definition master 126. This corresponds to, for example, the case of setting a new calculation definition master 126. In this case, the user can operate the input device 150 to directly set a value for each column of the calculation definition master 126 displayed on the master display unit 213.

図11の例では、マスタ表示部213は、図10(b)の計算定義マスタ126aにおいて、連番「0」~「5」に対応する各レコードの、項目「項目区分」と、項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」に設定された値が、それぞれレコードおよび項目が対応する位置に表示されている。 In the example of FIG. 11, the master display unit 213 has the item “item classification” and the item “parentheses” of each record corresponding to the serial numbers “0” to “5” in the calculation definition master 126a of FIG. 10 (b). The values set in "Other Start", "Operator", "Item value code", "Constant" and "Parentheses and others End" are displayed at the corresponding positions of the record and the item, respectively.

例えば、計算定義設定部112は、計算定義マスタメンテ画面200の各入力部210~212、および、マスタ表示部213に入力および表示される情報に応じて、記憶部120に設定される、対応する計算定義マスタ126を更新する。これに限らず、計算定義設定部112は、計算定義マスタメンテ画面200の各入力部210~212、および、マスタ表示部213に入力および表示される情報をRAM1002などに一時的に記憶し、所定のトリガに応じて、記憶した情報に基づき記憶部120に記憶される計算定義マスタ126を更新してもよい。 For example, the calculation definition setting unit 112 is set in the storage unit 120 according to the information input and displayed in the input units 210 to 212 of the calculation definition master maintenance screen 200 and the master display unit 213. Update the calculation definition master 126. Not limited to this, the calculation definition setting unit 112 temporarily stores the information input and displayed in the input units 210 to 212 of the calculation definition master maintenance screen 200 and the master display unit 213 in the RAM 1002 or the like, and determines the information. The calculation definition master 126 stored in the storage unit 120 may be updated based on the stored information in response to the trigger of.

計算定義マスタメンテ画面200において、ボタン214は、当該計算定義マスタメンテ画面200において定義される計算式を確認するためのボタンである。図12は、実施形態に係る、ボタン214を操作することで表示される式チェック画面300の例を示す。式チェック画面300は、表示領域310および311と、ボタン312とを含む。 On the calculation definition master maintenance screen 200, the button 214 is a button for confirming the calculation formula defined on the calculation definition master maintenance screen 200. FIG. 12 shows an example of the formula check screen 300 displayed by operating the button 214 according to the embodiment. The formula check screen 300 includes display areas 310 and 311 and a button 312.

表示領域310は、計算定義マスタメンテ画面200において設定された計算式が表示される。上述したように、計算式作成部113(図2参照)は、計算定義マスタメンテ画面200のマスタ表示部213に表示される項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」に設定される値を、各レコード内においては、各項目の値をレコード内での並び順に従い左から右に連結して文字列を生成する。さらに、計算式作成部113は、各レコードにおいて作成した各文字列を、各レコードの項目「連番」の順に連結し、最終的な計算式を表す式文字列を生成する。画面生成部115は、計算式作成部113により作成された式文字列を、表示領域310に表示させる。 In the display area 310, the calculation formula set on the calculation definition master maintenance screen 200 is displayed. As described above, the calculation formula creation unit 113 (see FIG. 2) has the items “parentheses and other Starts”, “operators”, “item value codes”, which are displayed on the master display unit 213 of the calculation definition master maintenance screen 200. In each record, the values set in "constant" and "parentheses and other Ends" are concatenated from left to right according to the order in which the items are arranged in the record to generate a character string. Further, the calculation formula creation unit 113 concatenates each character string created in each record in the order of the item "serial number" of each record, and generates an expression character string representing the final calculation formula. The screen generation unit 115 displays the formula character string created by the calculation formula creation unit 113 in the display area 310.

より具体的には、図11を参照し、計算式作成部113は、連番「0」のレコードの項目「括弧他Start」に設定される値「(」の右に項目「項目値コード」に設定される値「厚み」を連結し、文字列「(厚み」を生成する。連番「1」のレコードの項目「演算子」に設定される値「×」の右に項目「項目値コード」に設定される値「幅」を連結し、文字列「×幅」を生成する。この処理を、連番「2」~「5」の各レコードにおいて実行し、文字列「×比重」、「×長さ」、「)」および「÷1,000,000」をそれぞれ生成する。 More specifically, referring to FIG. 11, the calculation formula creation unit 113 has the item "item value code" to the right of the value "(") set in the item "parentheses and other Starts" of the record with the serial number "0". The value "thickness" set in is concatenated to generate the character string "(thickness". The item "item value" to the right of the value "x" set in the item "operator" of the record with serial number "1". The value "width" set in "code" is concatenated to generate the character string "x width". This process is executed in each record of the serial numbers "2" to "5", and the character string "x specific weight" is executed. , "X length", ")" and "÷ 1,000,000" respectively.

なお、計算式作成部113は、項目「項目区分」に値「商品変動特性」が設定される連番「3」のレコードでは、入力領域2101に入力された品種コードに基づき品種マスタ124および品種別特性定義マスタ121を参照し、品種コードに対応するカテゴリ区分「商品変動特性」に対応する項目「特性」の値(この例では「長さ」)を取得する。計算式作成部113は、この取得したカテゴリ区分「商品変動特性」に対応する項目「特性」の値を、項目「項目値コード」の値と見做して、項目「演算子」に設定される値「×」の右に連結する。 In addition, in the record of the serial number "3" in which the value "product fluctuation characteristic" is set in the item "item classification", the calculation formula creation unit 113 has the product type master 124 and the product based on the product type code input in the input area 2101. With reference to the type characteristic definition master 121, the value (“length” in this example) of the item “characteristic” corresponding to the category category “product variation characteristic” corresponding to the product type code is acquired. The calculation formula creation unit 113 regards the value of the item "characteristic" corresponding to the acquired category category "product fluctuation characteristic" as the value of the item "item value code", and sets it in the item "operator". Concatenate to the right of the value "x".

計算式作成部113は、連番「0」~「5」の各レコードにおいて生成された文字列を、連番順に連結して、最終的な計算式を作成する。図11の例では、連番「0」~「5」の各文字列「(厚み」、「×幅」、「×比重」、「×長さ」、「)」および「÷1,000,000」を連結し、図12において表示領域310に表示される、計算式を表す式文字列「(厚み×幅×比重×長さ)÷[定数 1,000,000]」を作成する。なお、この式文字列に含まれる「[定数」および「]」の各文字列は、項目「定数」に応じて、制御部110により補われる。 The calculation formula creation unit 113 creates a final calculation formula by concatenating the character strings generated in each record of the serial numbers "0" to "5" in the order of the serial numbers. In the example of FIG. 11, each character string "(thickness", "x width", "x specific weight", "x length", ")" and "÷ 1,000," of the serial numbers "0" to "5" 000 ”is concatenated to create an expression character string“ (thickness × width × specific weight × length) ÷ [constant 1,000,000]] representing a calculation formula displayed in the display area 310 in FIG. Each character string of "[constant" and "]" included in this expression character string is supplemented by the control unit 110 according to the item "constant".

式チェック画面300において、表示領域311は、表示領域310に表示される計算式に具体的な数値を当て嵌めた計算式が表示される。例えば、計算式作成部113は、他の画面、例えば商品の受注入力を行う受注入力画面にて入力装置150から入力された品番コードと商品変動特性値とを取得する。計算式作成部113は、取得した品番コードに基づき品番マスタ123およびカテゴリ別特性設定マスタ122を参照して、当該品番コードに対応する、カテゴリ区分「品種固定特性」における特性数値と、カテゴリ区分「品番固定特性」における特性数値とを取得する。 On the formula check screen 300, the display area 311 displays a calculation formula in which a specific numerical value is applied to the calculation formula displayed in the display area 310. For example, the calculation formula creation unit 113 acquires a product number code and a product variation characteristic value input from the input device 150 on another screen, for example, an order input screen for inputting an order for a product. The calculation formula creation unit 113 refers to the product number master 123 and the category-specific characteristic setting master 122 based on the acquired product number code, and the characteristic numerical value in the category category “type fixed characteristic” corresponding to the product number code and the category category “ Acquire the characteristic numerical value in "Product number fixed characteristic".

図12の例では、計算式作成部113は、他の画面に入力された、例えば品番コード「ITA_914×1829×6」が入力される。計算処理部114は、品番マスタ123を参照し、入力された品番コード「ITA_914×1829×6」に対応する品番名「板鋼 914×1829×6」および品種「板鋼」を取得する。計算処理部114は、カテゴリ別特性設定マスタ122を参照して、取得した品種「板鋼」に対応する特性「比重」と、特性数値「7.85(Kg/1m3)」とを取得する。同様に、計算処理部114は、カテゴリ別特性設定マスタ122を参照して、取得した品番名「板鋼 914×1829×6」に対応する特性「厚み」および「幅」と、それぞれに対応する特性数値「6.0mm」および「914mm」を取得する。 In the example of FIG. 12, the calculation formula creating unit 113 inputs, for example, the product number code “ITA_914 × 1829 × 6” input to another screen. The calculation processing unit 114 refers to the product number master 123, and acquires the product number name “plate steel 914 × 1829 × 6” and the product type “plate steel” corresponding to the input product number code “ITA_914 × 1829 × 6”. The calculation processing unit 114 acquires the characteristic "specific gravity" corresponding to the acquired type "plate steel" and the characteristic numerical value "7.85 (Kg / 1m 3 )" with reference to the category-specific characteristic setting master 122. .. Similarly, the calculation processing unit 114 refers to the category-specific characteristic setting master 122, and corresponds to the characteristics “thickness” and “width” corresponding to the acquired product number name “plate steel 914 × 1829 × 6”, respectively. The characteristic numerical values "6.0 mm" and "914 mm" are acquired.

また、計算式作成部113は、当該他の画面に入力された商品変動特性値(この例では「1,000mm」)を取得する。 In addition, the calculation formula creation unit 113 acquires the product variation characteristic value (“1,000 mm” in this example) input to the other screen.

これに限らず、例えば計算定義マスタメンテ画面200におけるボタン214に対する操作に応じて、画面生成部115により、品番コードと商品変動特性値とを入力するための品番入力画面を表示させるようにしてもよい。品番入力画面において、品番コードの入力は、入力装置150からユーザが手動にて行ってもよいし、画面生成部115が品番マスタ123を参照してドロップダウンリストなどを生成し、ユーザに、このドロップダウンリストから選択させてもよい。計算式作成部113は、品番入力画面に入力された品番コードに基づき品番マスタ123およびカテゴリ別特性設定マスタ122を参照して、入力された品番コードに対応する、カテゴリ区分「品種固定特性」における特性数値と、カテゴリ区分「品番固定特性」における特性数値とを取得する。 Not limited to this, for example, in response to an operation on the button 214 on the calculation definition master maintenance screen 200, the screen generation unit 115 may display the product number input screen for inputting the product number code and the product variation characteristic value. good. On the product number input screen, the user may manually input the product number code from the input device 150, or the screen generation unit 115 refers to the product number master 123 to generate a drop-down list or the like, and the user is informed of this. You may select from the drop-down list. The calculation formula creation unit 113 refers to the product number master 123 and the category-specific characteristic setting master 122 based on the product number code input on the product number input screen, and corresponds to the input product number code in the category classification “product fixed characteristic”. Acquire the characteristic numerical value and the characteristic numerical value in the category category "fixed product number characteristic".

計算式作成部113は、取得した特性「厚み」、「幅」および「比重」に設定された各値「6.0mm」および「914mm」と、商品変動特性値「7.85(Kg/1m3)」とを、表示領域310に表示される計算式の対応する文字列とそれぞれ置き換えて、計算式を作成する。表示領域311には、このようにして作成された計算式「(6*914*7.85*1,000)/1,000,000」が表示される。なお、この例では、文字列式における演算子「×」を、「*」に置き換えて計算式を表示させている。 The calculation formula creation unit 113 has the acquired characteristics "thickness", "width" and "specific gravity" set to the respective values "6.0 mm" and "914 mm", and the product variation characteristic value "7.85 (Kg / 1 m)". 3 ) ”is replaced with the corresponding character string of the calculation formula displayed in the display area 310, respectively, to create the calculation formula. The calculation formula "(6 * 914 * 7.85 * 1,000) / 1,000,000" created in this way is displayed in the display area 311. In this example, the operator "x" in the character string expression is replaced with "*" to display the calculation expression.

ユーザは、これら表示領域310および311の表示により、計算定義マスタメンテ画面200において設定された計算式が意図したものであるか否かを容易に判定可能である。 The user can easily determine whether or not the calculation formula set on the calculation definition master maintenance screen 200 is intended by displaying the display areas 310 and 311.

式チェック画面300において、ボタン312は、式チェック画面300を拡大または縮小するためのボタンである。図12に示される式チェック画面300の状態でボタン312を操作することで、式チェック画面300が拡張され、計算式に関するさらに詳細な情報を表示させることができる。 In the formula check screen 300, the button 312 is a button for enlarging or reducing the formula check screen 300. By operating the button 312 in the state of the formula check screen 300 shown in FIG. 12, the formula check screen 300 can be expanded to display more detailed information about the calculation formula.

図13は、実施形態に適用可能な、式チェック画面300においてボタン312が操作されることで表示される、拡張された式チェック画面300’の例を示す。なお、図13において、上述した図12と共通する部分には同一の符号を付して、詳細な説明を省略する。 FIG. 13 shows an example of an expanded expression check screen 300'applicable to the embodiment, which is displayed by operating the button 312 on the expression check screen 300. In FIG. 13, the same reference numerals are given to the portions common to those in FIG. 12 described above, and detailed description thereof will be omitted.

式チェック画面300’は、上述した式チェック画面300に対して、入力部216、217および218と、表示部220と、特性値表示部230とが追加されている。 In the formula check screen 300', input units 216, 217 and 218, a display unit 220, and a characteristic value display unit 230 are added to the above-mentioned formula check screen 300.

入力部216は、入力領域2161と、表示領域2162とを含む。入力領域2161は、品番コードを入力するための領域であって、初期値として、上述した他の画面(例えば受注入力画面)や、品番入力画面に入力された品番コードが表示されている。入力領域2161において、品番コードの入力は、ユーザが手動にて行ってもよいし、ユーザに、品番コードの一覧を含むドロップダウンリストから選択させてもよい。例えば、計算定義設定部112が品番マスタ123を参照して品番コードの一覧を取得し、取得した品番コードの一覧を画面生成部115に渡す。画面生成部115は、この品番コードの一覧に基づきドロップダウンリストなどを生成し、表示させる。表示領域2162は、入力領域2161に表示される品番コードに対応する品番名が表示される。 The input unit 216 includes an input area 2161 and a display area 2162. The input area 2161 is an area for inputting a product number code, and as an initial value, the above-mentioned other screen (for example, an order input screen) or the product number code input to the product number input screen is displayed. In the input area 2161, the product number code may be manually input by the user, or the user may be allowed to select from a drop-down list including a list of product number codes. For example, the calculation definition setting unit 112 refers to the product number master 123 to acquire a list of product number codes, and passes the acquired list of product number codes to the screen generation unit 115. The screen generation unit 115 generates and displays a drop-down list or the like based on the list of product number codes. In the display area 2162, the product number name corresponding to the product number code displayed in the input area 2161 is displayed.

入力部217は、入力領域2171と、表示領域2172とを含む。入力領域2171は、商品変動特性の値を入力する領域である。入力領域2171は、初期値として、上述した他の画面(例えば受注入力画面)や、品番入力画面に入力された商品変動特性値が表示されている。 The input unit 217 includes an input area 2171 and a display area 2172. The input area 2171 is an area for inputting the value of the product variation characteristic. In the input area 2171, as the initial value, the product variation characteristic value input to the above-mentioned other screen (for example, the order input screen) or the product number input screen is displayed.

入力部218は、入力領域2181と、表示領域2182とを含む。入力領域2181は、計算結果の単位を示す単位コードを入力するための領域であって、初期値として、図11を用いて説明した入力領域2121に入力された単位コードが表示される。入力領域2181において、単位コードの入力は、ユーザが手動にて行ってもよいし、ユーザに、単位コードの一覧を含むドロップダウンリストから選択させてもよい。例えば、計算定義設定部112が単位マスタ125を参照して単位コードの一覧を取得し、取得した単位コードの一覧を画面生成部115に渡す。画面生成部115は、この単位コードの一覧に基づきドロップダウンリストなどを生成し、表示させる。表示領域2182は、入力領域2181に表示される単位コードに対応する単位名が表示される。 The input unit 218 includes an input area 2181 and a display area 2182. The input area 2181 is an area for inputting a unit code indicating a unit of the calculation result, and as an initial value, the unit code input to the input area 2121 described with reference to FIG. 11 is displayed. In the input area 2181, the unit code may be manually input by the user, or the user may be allowed to select from a drop-down list including a list of unit codes. For example, the calculation definition setting unit 112 refers to the unit master 125 to acquire a list of unit codes, and passes the acquired list of unit codes to the screen generation unit 115. The screen generation unit 115 generates and displays a drop-down list or the like based on the list of unit codes. In the display area 2182, the unit name corresponding to the unit code displayed in the input area 2181 is displayed.

表示部220は、品種コードを表示するための表示領域2201と、表示領域2201に表示される品種コードに対応する品種を表示する表示領域2202とを含む。表示領域2201は、図11の入力領域2101に入力された値が表示される。また、表示領域2202は、表示領域2201に入力された値に対応する品種名が表示される。表示領域2201は、表示される値の変更が不可とされる。 The display unit 220 includes a display area 2201 for displaying the product type code and a display area 2202 for displaying the product type corresponding to the product type code displayed on the display area 2201. In the display area 2201, the value input to the input area 2101 of FIG. 11 is displayed. Further, in the display area 2202, the product type name corresponding to the value input in the display area 2201 is displayed. In the display area 2201, the displayed value cannot be changed.

特性値表示部230は、カテゴリ別特性設定マスタ122における「カテゴリ区分」、「特性」および「特性数値」の各項目を含み、これら各項目に対し、入力領域2161に入力される品番コードに対応して設定された各値が表示される。例えば、画面生成部115は、計算処理部114が上述した表示領域311に計算式を表示させる際に取得した特性および特性数値を、カテゴリ区分に対応付けて、特性値表示部230に表示させる。 The characteristic value display unit 230 includes each item of "category classification", "characteristic", and "characteristic numerical value" in the characteristic setting master 122 for each category, and corresponds to the product number code input to the input area 2161 for each item. Each value set in the above is displayed. For example, the screen generation unit 115 causes the characteristic value display unit 230 to display the characteristics and characteristic numerical values acquired when the calculation processing unit 114 displays the calculation formula in the display area 311 described above in association with the category classification.

この特性値表示部230の表示により、表示領域310に表示される計算式と、表示部311に表示される具体的な数値による計算式との対応を容易に確認可能である。 By displaying the characteristic value display unit 230, it is possible to easily confirm the correspondence between the calculation formula displayed on the display area 310 and the calculation formula using specific numerical values displayed on the display unit 311.

また、特性値表示部230において、項目「特性数値」に設定される各値を変更可能とすることができる。この場合も、上述の計算定義マスタメンテ画面200の例と同様に、計算定義設定部112は、式チェック画面300’の特性値表示部230において変更された値に応じて、記憶部120に設定される、対応する計算定義マスタ126を更新する。これに限らず、計算定義設定部112は、式チェック画面300’の特性値表示部230に入力および表示される情報をRAM1002などに一時的に記憶し、所定のトリガに応じて、記憶した情報に基づき記憶部120に記憶される計算定義マスタ126を更新してもよい。 Further, in the characteristic value display unit 230, each value set in the item "characteristic numerical value" can be changed. Also in this case, similarly to the above-mentioned example of the calculation definition master maintenance screen 200, the calculation definition setting unit 112 is set in the storage unit 120 according to the value changed in the characteristic value display unit 230 of the formula check screen 300'. The corresponding calculation definition master 126 is updated. Not limited to this, the calculation definition setting unit 112 temporarily stores the information input and displayed in the characteristic value display unit 230 of the formula check screen 300'in the RAM 1002 or the like, and stores the stored information in response to a predetermined trigger. The calculation definition master 126 stored in the storage unit 120 may be updated based on the above.

ボタン312は、式チェック画面300’を図12の式チェック画面300に切り替えるためのボタンである。 The button 312 is a button for switching the formula check screen 300'to the formula check screen 300 of FIG.

[7.計算定義マスタに従った計算例]
次に、実施形態に係る計算定義マスタ126に従った計算の例について説明する。ここでは、図10(a)~図10(c)を用いて説明した、板鋼の重量計算を行うための計算定義マスタ126aを例にとって説明する。
[7. Calculation example according to the calculation definition master]
Next, an example of calculation according to the calculation definition master 126 according to the embodiment will be described. Here, the calculation definition master 126a for performing the weight calculation of the sheet steel described with reference to FIGS. 10 (a) to 10 (c) will be described as an example.

図14は、実施形態に適用可能な、計算式マスタ126による計算を行うための情報を入力する入力画面の例を示す。図14に例示される入力画面400は、商品の移動に係る計算を行うための移動入力の画面例である。入力画面400は、品番コードを入力するための入力部410と、商品変動特性値を入力するための入力部411と、員数を入力するための入力部412とを含む。また、入力画面400は、計算結果を表示するための表示部413をさらに含む。図14の例では、計算結果が「資産数量」として示されている。さらにまた、入力画面400は、再計算を指示するためのボタン420と、式チェックを実行するためのボタン421とをさらに含む。 FIG. 14 shows an example of an input screen for inputting information for performing a calculation by the calculation formula master 126, which is applicable to the embodiment. The input screen 400 exemplified in FIG. 14 is an example of a movement input screen for performing a calculation related to the movement of a product. The input screen 400 includes an input unit 410 for inputting a product number code, an input unit 411 for inputting a product variation characteristic value, and an input unit 412 for inputting the number of members. Further, the input screen 400 further includes a display unit 413 for displaying the calculation result. In the example of FIG. 14, the calculation result is shown as "asset quantity". Furthermore, the input screen 400 further includes a button 420 for instructing recalculation and a button 421 for performing an expression check.

入力部410は、品番コードを入力するための入力領域4101と、入力領域4101に入力された品番コードに対応する品番名を表示するための表示領域4102とを含む。入力領域4101は、図5に示した品番マスタ123の項目「品番コード(CD)」に設定された値が入力される。入力領域4101に対する入力は、ユーザが手動にて行ってもよいし、ユーザに、品番コードの一覧を含むドロップダウンリストから選択させてもよい。例えば、計算処理部114が品番マスタ123を参照して品番コードの一覧を取得し、取得した品番コードの一覧を画面生成部115に渡す。画面生成部115は、この品番コードの一覧に基づきドロップダウンリストなどを生成し、表示領域4101に表示させる。 The input unit 410 includes an input area 4101 for inputting a product number code and a display area 4102 for displaying the product number name corresponding to the product number code input to the input area 4101. In the input area 4101, the value set in the item "product number code (CD)" of the product number master 123 shown in FIG. 5 is input. The input to the input area 4101 may be manually performed by the user, or the user may be made to select from a drop-down list including a list of product number codes. For example, the calculation processing unit 114 refers to the product number master 123 to acquire a list of product number codes, and passes the acquired list of product number codes to the screen generation unit 115. The screen generation unit 115 generates a drop-down list or the like based on this list of product number codes and displays it in the display area 4101.

また、計算処理部114は、品番マスタ123を参照し、項目「品番名」から入力領域4101に入力された値に対応する値を取得し、画面生成部115に渡す。画面生成部115は、計算処理部114から渡された品番名の値を表示領域4102に表示させる。図14の例では、入力領域4101に対して品番コード「ITA_914×1829×6」が入力され、表示領域4102に、品番コード「ITA_914×1829×6」に品番マスタ123において関連付けられる品番名「板鋼 914×1829×6」が表示されている。 Further, the calculation processing unit 114 refers to the product number master 123, acquires a value corresponding to the value input to the input area 4101 from the item “product number name”, and passes it to the screen generation unit 115. The screen generation unit 115 causes the display area 4102 to display the value of the product number name passed from the calculation processing unit 114. In the example of FIG. 14, the product number code “ITA_914 × 1829 × 6” is input to the input area 4101, and the product number code “ITA_914 × 1829 × 6” is associated with the product number code “ITA_914 × 1829 × 6” in the display area 4102 in the product number master 123. Steel 914 x 1829 x 6 "is displayed.

入力部411は、項目「商品変動特性値」に設定する値を入力するための入力領域4111と、入力領域4111に入力された値に対応する単位を表示するための表示領域4112とを含む。計算処理部114は、カテゴリ別特性設定マスタ122を参照して、入力領域4101に入力された品番コードに対応する品種に対して予め定められた単位を取得し、取得した単位を画面生成部115に渡す。画面生成部115は、計算処理部114から渡された単位を表示領域4112に表示させる。図14の例では、入力領域4111に対して値「1,000,000.00」が入力され、表示領域4112に、入力領域4101に入力された品番コードに対応する品種に対応する単位「mm」が表示されている。 The input unit 411 includes an input area 4111 for inputting a value to be set in the item "commodity variation characteristic value" and a display area 4112 for displaying a unit corresponding to the value input in the input area 4111. The calculation processing unit 114 refers to the category-specific characteristic setting master 122, acquires a predetermined unit for the product type corresponding to the product number code input to the input area 4101, and acquires the acquired unit as the screen generation unit 115. Pass to. The screen generation unit 115 displays the unit passed from the calculation processing unit 114 in the display area 4112. In the example of FIG. 14, the value “1,000,00.000” is input to the input area 4111, and the unit “mm” corresponding to the product type corresponding to the product number code input to the input area 4101 is input to the display area 4112. Is displayed.

入力部412は、員数を設定する値を入力するための入力領域4121と、入力領域4121に入力された値に対応する単位を表示するための表示領域4122とを含む。計算処理部114は、品番マスタ123の項目「員数単位」を参照して、入力領域4101に入力された品番コードに対応する値を取得し、取得した当該値を画面生成部115に渡す。画面生成部115は、計算処理部114から渡された、品番コードに対応する当該値を表示領域4122に表示させる。図14の例では、入力領域4121に対して値「100」が入力され、表示領域4122に、入力領域4101に入力された品番コードに対応する単位「枚」が表示されている。 The input unit 412 includes an input area 4121 for inputting a value for setting the number of members, and a display area 4122 for displaying a unit corresponding to the value input to the input area 4121. The calculation processing unit 114 acquires a value corresponding to the product number code input to the input area 4101 with reference to the item “number unit” of the product number master 123, and passes the acquired value to the screen generation unit 115. The screen generation unit 115 causes the display area 4122 to display the value corresponding to the product number code passed from the calculation processing unit 114. In the example of FIG. 14, the value “100” is input to the input area 4121, and the unit “sheet” corresponding to the product number code input to the input area 4101 is displayed in the display area 4122.

表示部413は、表示領域4131および4132を含む。表示領域4131は、入力部410、411および412に入力された値に基づく計算結果が表示される。表示領域4132は、表示領域4131に表示される値に対する単位が表示される。計算処理部114は、入力領域4101に入力された品番コードに基づき品番マスタ123を参照して項目「品種」の値を取得し、取得した項目「品種」の値に基づきさらに品種マスタ124を参照して、取得した項目「品種」の値に対応する、項目「換算単位」の値を取得し、取得した当該値を画面生成部115に渡す。画面生成部115は、計算処理部114から渡された、項目「換算単位」の当該値を、表示領域4132に表示させる。 The display unit 413 includes display areas 4131 and 4132. The display area 4131 displays the calculation result based on the values input to the input units 410, 411 and 412. The display area 4132 displays a unit for the value displayed in the display area 4131. The calculation processing unit 114 refers to the product number master 123 based on the product number code input to the input area 4101 to acquire the value of the item "type", and further refers to the product type master 124 based on the acquired value of the item "product". Then, the value of the item "conversion unit" corresponding to the value of the acquired item "variety" is acquired, and the acquired value is passed to the screen generation unit 115. The screen generation unit 115 causes the display area 4132 to display the value of the item “conversion unit” passed from the calculation processing unit 114.

入力画面400において、ボタン420は、入力画面400の各入力領域4101、4111および4121に入力された値に従い計算処理部114に再計算を指示するための、換算数量再計算ボタンである。例えば、各入力領域4101、4111および4121に入力する入力値を変更した場合に、このボタン420を操作することで計算処理部114は、変更された入力値を用いて再計算を行う。 On the input screen 400, the button 420 is a conversion quantity recalculation button for instructing the calculation processing unit 114 to recalculate according to the values input to the input areas 4101, 4111 and 4121 of the input screen 400. For example, when the input values to be input to the input areas 4101, 4111 and 4121 are changed, the calculation processing unit 114 recalculates using the changed input values by operating this button 420.

ボタン421は、式チェックを指示するための式チェックボタンである。画面生成部115は、ボタン421に対する操作に応じて、図12を用いて説明した式チェック画面300を表示させる。画面生成部115は、この場合においても、式チェック画面300のボタン312の操作に応じて、式チェック画面300の表示を、図13に示した式チェック画面300’に切り替える。なお、入力画面400からこの式チェック画面300’に遷移した場合は、入力領域2161、2171および2181、ならびに、特性値表示部230に表示される値は変更できず、閲覧のみとなる。 The button 421 is an expression check button for instructing the expression check. The screen generation unit 115 displays the formula check screen 300 described with reference to FIG. 12 in response to an operation on the button 421. Even in this case, the screen generation unit 115 switches the display of the formula check screen 300 to the formula check screen 300'shown in FIG. 13 in response to the operation of the button 312 of the formula check screen 300. When the transition from the input screen 400 to the formula check screen 300', the values displayed in the input areas 2161, 2171 and 2181 and the characteristic value display unit 230 cannot be changed and can only be viewed.

図15は、実施形態に係る計算処理を示す一例のフローチャートである。この図15のフローチャートによる処理の実行に先立って、ユーザは、上述の入力画面400における入力領域4101、4111および4121に対して、品番コード、商品変動特性値および員数をそれぞれ入力する。入力領域4101、4111および4121に対する入力が完了すると、図15のフローチャートによる処理が開始される。 FIG. 15 is an example flowchart showing the calculation process according to the embodiment. Prior to executing the process according to the flowchart of FIG. 15, the user inputs the product number code, the product variation characteristic value, and the number of members in the input areas 4101, 4111, and 4121 in the above-mentioned input screen 400, respectively. When the input to the input areas 4101, 4111 and 4121 is completed, the process according to the flowchart of FIG. 15 is started.

ステップS10で、計算処理部114は、計算実行時に、入力画面400の各入力領域4101、4111および4121に入力された、品番コード(商品コード)、商品変動特性値および員数をそれぞれ受け取る。また、計算処理部114は、表示領域4132に表示される項目「換算単位」の値を、計算結果に対する単位として取得する。 In step S10, the calculation processing unit 114 receives the product number code (product code), the product variation characteristic value, and the number of members, which are input to the input areas 4101, 4111, and 4121 of the input screen 400 at the time of executing the calculation. Further, the calculation processing unit 114 acquires the value of the item "conversion unit" displayed in the display area 4132 as a unit for the calculation result.

次のステップS11で、計算処理部114は、ステップS10で取得した品番コードに基づき品番マスタ123を参照し、項目「品番名」および「品種」から、当該品番コードに対応する品番名および品種を特定する。計算処理部114は、品種マスタ124を参照し、項目「品種コード」から、特定した品種に対応する品種コードを特定する。また、計算処理部114は、品種別特性定義マスタ121を参照し、項目「カテゴリ区分」から、特定した品種に対応するカテゴリ区分を取得する。ここでは、計算処理部114は、少なくとも、品種に対応するカテゴリ区分「品番固定特性」の項目「特性」の値を特定する。計算処理部114は、当該品種に対応するカテゴリ区分が「品種固定特性」をさらに含む場合、対応する項目「特性」の値をさらに特定する。 In the next step S11, the calculation processing unit 114 refers to the product number master 123 based on the product number code acquired in step S10, and from the items "product number name" and "product type", the product number name and product type corresponding to the product number code are selected. Identify. The calculation processing unit 114 refers to the product type master 124 and specifies the product type code corresponding to the specified product type from the item “product code”. Further, the calculation processing unit 114 refers to the characteristic definition master 121 for each product type, and acquires the category category corresponding to the specified product type from the item “category category”. Here, the calculation processing unit 114 specifies at least the value of the item "characteristic" of the category category "product number fixed characteristic" corresponding to the product type. When the category classification corresponding to the product type further includes the “product type fixing characteristic”, the calculation processing unit 114 further specifies the value of the corresponding item “characteristic”.

次のステップS12で、計算処理部114は、対象となる計算定義マスタ126を特定する。すなわち、計算処理部114は、ステップS11における品種コード特定の際に特定した品種(R100)と、ステップS10において取得した計算結果単位(R101)と、ステップS10で取得した商品変動特性値(R102)に対する閾値判定とに基づき、対象となる計算定義マスタ126を特定する。 In the next step S12, the calculation processing unit 114 specifies the target calculation definition master 126. That is, the calculation processing unit 114 has the product type (R100) specified at the time of specifying the product type code in step S11, the calculation result unit (R101) acquired in step S10, and the product variation characteristic value (R102) acquired in step S10. The target calculation definition master 126 is specified based on the threshold determination for.

ステップS12における、商品変動特性値に対する閾値判定について説明する。例えば、記憶部120に品種と計算結果単位とが一致する複数の計算定義マスタ126が記憶されている場合、計算処理部114は、この複数の計算定義マスタ126それぞれから、キー項目である項目「変動特性閾値」の値(変動特性閾値)を取得する。計算処理部114は、取得した複数の変動特性閾値のうち、ステップS10で取得した商品変動特性値以下であって、且つ、最大の変動特性閾値を特定する。計算処理部114は、この特定された変動特性閾値が設定される計算定義マスタ126を、対象の計算特定マスタ126として記憶部120に記憶される複数の計算定義マスタ126から特定する。 The threshold value determination for the product variation characteristic value in step S12 will be described. For example, when a plurality of calculation definition masters 126 whose product types and calculation result units match are stored in the storage unit 120, the calculation processing unit 114 may use the item "key item" from each of the plurality of calculation definition masters 126. The value of "variation characteristic threshold" (variation characteristic threshold) is acquired. The calculation processing unit 114 specifies the maximum fluctuation characteristic threshold value that is equal to or less than the product fluctuation characteristic value acquired in step S10 among the plurality of acquired fluctuation characteristic threshold values. The calculation processing unit 114 specifies the calculation definition master 126 in which the specified fluctuation characteristic threshold value is set from a plurality of calculation definition masters 126 stored in the storage unit 120 as the target calculation identification master 126.

次のステップS13で、計算処理部114は、ステップS12で特定された対象の計算定義マスタ126を記憶部120から取得する。すなわち、上述のステップS10~ステップS12において、計算定義マスタ126におけるキー項目である項目「品種」、「変動特性閾値」および「計算結果(計算結果単位)」が特定されている(R103、R104、R105)。計算処理部114は、この特定されたキー項目の値に基づき、記憶部120に記憶される複数の計算定義マスタ126から、対象の計算定義マスタ126を取得する。 In the next step S13, the calculation processing unit 114 acquires the calculation definition master 126 of the target specified in step S12 from the storage unit 120. That is, in steps S10 to S12 described above, the key items "type", "variation characteristic threshold value" and "calculation result (calculation result unit)" in the calculation definition master 126 are specified (R103, R104, R105). The calculation processing unit 114 acquires the target calculation definition master 126 from the plurality of calculation definition masters 126 stored in the storage unit 120 based on the value of the specified key item.

次のステップS14で、計算処理部114は、ステップS13で取得した対象の計算定義マスタ126に対して、項目区分毎に数値をマッピングする。 In the next step S14, the calculation processing unit 114 maps a numerical value for each item category to the target calculation definition master 126 acquired in step S13.

より具体的には、計算処理部114は、対象の計算定義マスタ126を駆動表として、ステップS11で特定された、品種固定特性および品番固定特性の各特性の値をカテゴリ別特性設定マスタ122から取得する(R106)。計算処理部114は、取得した各値を、対象の計算定義マスタ126の当該各値に対応する項目「項目値コード」の値に関連付ける。また、計算処理部114は、ステップS10で入力画面400において入力領域4111に入力された商品変動特性値を計算定義マスタ126における項目「項目区分」の値「商品変動特性」に対応する値として保持する(R107)。さらに、計算処理部114は、ステップS10で入力画面400において入力領域4121に入力された員数の値を、計算定義マスタ126に定義される計算式による計算結果に対する乗数として保持する(R108)。さらにまた、計算処理部114は、ステップS13で取得した計算定義マスタ126の項目「定数」に設定される固定値、および、項目「括弧他Start」および「括弧他End」に設定される端数処理の設定値を保持する(R109)。 More specifically, the calculation processing unit 114 uses the target calculation definition master 126 as a driving table, and sets the values of each characteristic of the product type fixing characteristic and the product number fixing characteristic specified in step S11 from the category-specific characteristic setting master 122. Acquire (R106). The calculation processing unit 114 associates each acquired value with the value of the item "item value code" corresponding to each value of the target calculation definition master 126. Further, the calculation processing unit 114 holds the product variation characteristic value input to the input area 4111 on the input screen 400 in step S10 as a value corresponding to the value "product variation characteristic" of the item "item classification" in the calculation definition master 126. (R107). Further, the calculation processing unit 114 holds the value of the number of members input to the input area 4121 in the input screen 400 in step S10 as a multiplier for the calculation result by the calculation formula defined in the calculation definition master 126 (R108). Furthermore, the calculation processing unit 114 is a fixed value set in the item "constant" of the calculation definition master 126 acquired in step S13, and a rounding process set in the items "parentheses other Start" and "parentheses other End". Holds the set value of (R109).

次のステップS15で、計算処理部114は、計算定義マスタ126の項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」の値を、レコード内の並び順、および、各レコードの項目「連番」の順に連結し、計算式を表す式文字列を作成する。計算処理部114は、作成した式文字列に、ステップS14でマッピングした各数値を適用させて、当該式文字列による計算式の計算を実行する。計算処理部114は、計算式による計算結果に対して、ステップS14で保持されている員数を乗じて、最終的な計算結果を算出する。この計算結果は、図14に示した入力画面400の表示領域4131に表示される。 In the next step S15, the calculation processing unit 114 sets the values of the items "parentheses and other Starts", "operators", "item value codes", "constants" and "parentheses and other Ends" of the calculation definition master 126 in the record. Create an expression character string that represents the calculation formula by concatenating the order of the items and the item "serial number" of each record. The calculation processing unit 114 applies each numerical value mapped in step S14 to the created formula character string, and executes the calculation of the calculation formula by the formula character string. The calculation processing unit 114 multiplies the calculation result by the calculation formula by the number of members held in step S14 to calculate the final calculation result. This calculation result is displayed in the display area 4131 of the input screen 400 shown in FIG.

なお、入力画面400において換算数量再計算を指示するボタン420が操作された場合には、計算処理部114は、図15のフローチャートのステップS10からの処理を再度実行する。また、式チェックを指示するボタン421が操作された場合には、計算処理部114は、ステップS15で作成した式文字列と、当該式文字列に対してステップS14でマッピングした各数値を適用させた計算式とを画面生成部115に渡す。 When the button 420 instructing the conversion quantity recalculation is operated on the input screen 400, the calculation processing unit 114 re-executes the processing from step S10 in the flowchart of FIG. Further, when the button 421 instructing the expression check is operated, the calculation processing unit 114 applies the expression character string created in step S15 and each numerical value mapped in step S14 to the expression character string. The calculated formula is passed to the screen generation unit 115.

なお、計算処理部114は、必要に応じて、ステップS15で算出した計算結果に対して単位換算を行うことができる。単位換算は、例えばユーザ操作により指示される。 The calculation processing unit 114 can perform unit conversion on the calculation result calculated in step S15, if necessary. The unit conversion is instructed by, for example, a user operation.

上述した図15のフローチャートによる各処理を、図10(b)を用いて説明した、板鋼の重量計算を行うための計算定義マスタ126aを例にとって、より具体的に説明する。 Each process according to the flowchart of FIG. 15 described above will be described more specifically by taking as an example the calculation definition master 126a for performing the weight calculation of the sheet steel described with reference to FIG. 10 (b).

図15のフローチャートによる処理の実行に先立って、ユーザは、上述の入力画面400における入力領域4101、4111および4121に対して、品番コード「ITA_914×1829×6」、商品変動特性値「1,000,000.00」および員数「100」をそれぞれ入力する。入力領域4101、4111および4121に対する入力が完了すると、図15のフローチャートによる処理が開始される。 Prior to executing the process according to the flowchart of FIG. 15, the user has a product number code “ITA_914 × 1829 × 6” and a product variation characteristic value “1,000” for the input areas 4101, 4111 and 4121 in the above input screen 400. , 000.00 ”and the number of members“ 100 ”, respectively. When the input to the input areas 4101, 4111 and 4121 is completed, the process according to the flowchart of FIG. 15 is started.

ステップS10で、計算処理部114は、計算実行時に、入力画面400の各入力領域4101、4111および4121に入力された、品番コード「ITA_914×1829×6」、商品変動特性値「1,000.00」および員数「100」をそれぞれ受け取る。また、計算処理部114は、表示領域4132に表示される項目「換算単位」の値「Kg」を、計算結果に対する単位として取得する。 In step S10, when the calculation processing unit 114 executes the calculation, the product number code “ITA_914 × 1829 × 6” and the product variation characteristic value “1,000. Receive "00" and the number of members "100" respectively. Further, the calculation processing unit 114 acquires the value "Kg" of the item "conversion unit" displayed in the display area 4132 as a unit for the calculation result.

次のステップS11で、計算処理部114は、ステップS10で取得した品番コード「ITA_914×1829×6」に基づき品番マスタ123を参照し、項目「品番名」および「品種」から、当該品番コードに対応する品番名「板鋼 914×1829×6」および品種「板鋼」を特定する。計算処理部114は、品種マスタ124を参照し、項目「品種コード」から、特定した品種「板鋼」に対応する品種コード「ITA」を特定する。また、計算処理部114は、品種別特性定義マスタ121を参照し、項目「カテゴリ区分」から、特定した品種「板鋼」に対応するカテゴリ区分「品種固定特性」および「品番固定特性」を取得する。また、計算処理部114は、取得したカテゴリ区分「品種固定特性」に対応する特性「比重」と、カテゴリ区分「品番固定特性」に対応する特性「厚み」および「幅」とを取得する。 In the next step S11, the calculation processing unit 114 refers to the product number master 123 based on the product number code “ITA_914 × 1829 × 6” acquired in step S10, and changes from the items “product number name” and “product number” to the product number code. The corresponding product number name "plate steel 914 x 1829 x 6" and the type "plate steel" are specified. The calculation processing unit 114 refers to the product type master 124 and specifies the product type code “ITA” corresponding to the specified product type “plate steel” from the item “product code”. Further, the calculation processing unit 114 refers to the characteristic definition master 121 for each product type, and acquires the category category “type fixed characteristic” and “product number fixed characteristic” corresponding to the specified product type “plate steel” from the item “category category”. do. Further, the calculation processing unit 114 acquires the characteristic "specific gravity" corresponding to the acquired category category "type fixed characteristic" and the characteristics "thickness" and "width" corresponding to the category category "product number fixed characteristic".

次のステップS12で、計算処理部114は、対象となる計算定義マスタ126aを特定する。すなわち、計算処理部114は、ステップS11における品種コード特定の際に特定した品種「板鋼」と、ステップS10において取得した計算結果単位「Kg」と、ステップS10で取得した商品変動特性値「1,000.00」に対する閾値判定とに基づき、対象となる計算定義マスタ126を特定する。 In the next step S12, the calculation processing unit 114 identifies the target calculation definition master 126a. That is, the calculation processing unit 114 includes the product type “plate steel” specified when the product type code is specified in step S11, the calculation result unit “Kg” acquired in step S10, and the product variation characteristic value “1” acquired in step S10. , 000.00 ”, and the target calculation definition master 126 is specified.

計算処理部114は、記憶部120に記憶される複数の計算定義マスタ126から、品種「板鋼」と計算結果単位「Kg」とが一致する計算定義マスタ126aを特定し、特定した計算定義マスタ126aから、キー項目である項目「変動特性閾値」の値「0」を取得する。この場合、1つの計算定義マスタ126aしか取得されておらず、当該計算定義マスタ126aにおける項目「変動特性閾値」の値が「0」であり、ステップS10で取得した商品変動特性値が「1,000.00」であるため、変動特性閾値は、「0」に特定される。計算定義マスタ126aは、この条件に合致しているため、対象の計算定義マスタ126aとして特定される。次のステップS13で、計算処理部114は、ステップS12で特定された対象の計算定義マスタ126aを記憶部120から取得する。 The calculation processing unit 114 identifies a calculation definition master 126a in which the product type “plate steel” and the calculation result unit “Kg” match from the plurality of calculation definition masters 126 stored in the storage unit 120, and the specified calculation definition master From 126a, the value "0" of the item "variation characteristic threshold" which is a key item is acquired. In this case, only one calculation definition master 126a is acquired, the value of the item "variation characteristic threshold" in the calculation definition master 126a is "0", and the product variation characteristic value acquired in step S10 is "1,". Since it is "000.00", the fluctuation characteristic threshold value is specified as "0". Since the calculation definition master 126a satisfies this condition, it is specified as the target calculation definition master 126a. In the next step S13, the calculation processing unit 114 acquires the target calculation definition master 126a specified in step S12 from the storage unit 120.

次のステップS14で、計算処理部114は、ステップS13で取得した対象の計算定義マスタ126aに対して、項目区分毎に数値をマッピングする。 In the next step S14, the calculation processing unit 114 maps a numerical value for each item category to the target calculation definition master 126a acquired in step S13.

より具体的には、計算処理部114は、対象の計算定義マスタ126aを駆動表として、ステップS11で特定された、品種固定特性「比重」の値「7.85」と、品番固定特性「厚み」および「幅」の各値「6」および「914」とをカテゴリ別特性設定マスタ122から取得する。計算処理部114は、取得した比重の値「7.85」と、厚みおよび幅の各値「6」および「914」とを、対象の計算定義マスタ126aの当該各値に対応する項目「項目値コード」の値「比重」、「厚み」および「幅」にそれぞれ関連付ける。 More specifically, the calculation processing unit 114 uses the target calculation definition master 126a as a drive table, and has the value “7.85” of the product type fixing characteristic “specific gravity” and the product number fixing characteristic “thickness” specified in step S11. , And the respective values "6" and "914" of "width" are acquired from the category-specific characteristic setting master 122. The calculation processing unit 114 sets the acquired density value “7.85” and the thickness and width values “6” and “914” into the item “item” corresponding to each value of the target calculation definition master 126a. It is associated with the values "specific weight", "thickness" and "width" of "value code", respectively.

また、計算処理部114は、ステップS10で入力画面400において入力領域4111に入力された商品変動特性値「1,000.00」を計算定義マスタ126aにおける項目「項目区分」の値「商品変動特性」に対応する値として保持する。さらに、計算処理部114は、ステップS10で入力画面400において入力領域4121に入力された員数の値「100」を、計算定義マスタ126aに定義される計算式による計算結果に対する乗数として保持する。さらにまた、計算処理部114は、ステップS13で取得した計算定義マスタ126aの項目「定数」に設定される固定値「1,000,000」を保持する。計算定義マスタ126aにおいては、端数処理は設定されていないため、端数処理の設定値は保持されない。 Further, the calculation processing unit 114 calculates the product variation characteristic value "1,000.00" input to the input area 4111 on the input screen 400 in step S10, and the value "product variation characteristic" of the item "item classification" in the calculation definition master 126a. Is retained as the corresponding value. Further, the calculation processing unit 114 holds the value “100” of the number of members input to the input area 4121 in the input screen 400 in step S10 as a multiplier for the calculation result by the calculation formula defined in the calculation definition master 126a. Furthermore, the calculation processing unit 114 holds a fixed value "1,000,000" set in the item "constant" of the calculation definition master 126a acquired in step S13. In the calculation definition master 126a, since the rounding is not set, the setting value of the rounding is not retained.

次のステップS15で、計算処理部114は、計算定義マスタ126aの項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」の値を、レコード内の並び順、および、各レコードの項目「連番」の順に連結し、計算式を表す式文字列「(厚み×幅×比重×長さ)÷定数」を作成する。計算処理部114は、作成した式文字列「(厚み×幅×比重×長さ)÷定数」に、ステップS14でマッピングした各数値を適用させて計算式「(6×914×7.85×1,000.00)÷1,000,000」を作成し、当該計算式の計算を実行する。この例では、計算結果として値「43.0494」が得られる。計算処理部114は、例えばRAM1002あるいはストレージ1004に計算結果を格納する。 In the next step S15, the calculation processing unit 114 sets the values of the items "parentheses and other Starts", "operators", "item value codes", "constants" and "parentheses and other Ends" of the calculation definition master 126a in the record. Create an expression character string "(thickness x width x specific weight x length) ÷ constant" that represents the calculation formula by concatenating the order of the items and the item "serial number" of each record. The calculation processing unit 114 applies each numerical value mapped in step S14 to the created formula character string “(thickness × width × specific gravity × length) ÷ constant”, and applies the calculation formula “(6 × 914 × 7.85 ×”. "1,000.00) ÷ 1,000,000" is created, and the calculation of the formula is executed. In this example, the value "43.0494" is obtained as a calculation result. The calculation processing unit 114 stores the calculation result in, for example, the RAM 1002 or the storage 1004.

計算処理部114は、計算式による計算結果に対して、ステップS14で保持されている員数「100」を乗じて、最終的な計算結果「4304.94Kg」を算出する。この計算結果は、図14に示した入力画面400の表示領域4131に表示される。 The calculation processing unit 114 multiplies the calculation result by the calculation formula by the number of members "100" held in step S14 to calculate the final calculation result "4304.94 kg". This calculation result is displayed in the display area 4131 of the input screen 400 shown in FIG.

[8.実施形態の第2の適用例]
図16および図17を用いて、実施形態に係る計算定義マスタ126の第2の適用例について説明する。第2の適用例は、計算定義マスタ126を管材(パイプ)の重量計算に適用した例である。図16(a)は、パイプの重量計算を行うための公式を示す。パイプ(管材)1m当たりの重量は、計算式「((外形-厚み)×厚み×3.1416×比重)/定数」を公式として計算される。定数は、厚み、幅および長さの単位が「mm」、比重の単位が「Kg/1m3」であり、計算結果として必要な単位が「Kg」である場合、図16(a)の例のように「1,000」となる。
[8. Second application example of the embodiment]
A second application example of the calculation definition master 126 according to the embodiment will be described with reference to FIGS. 16 and 17. The second application example is an example in which the calculation definition master 126 is applied to the weight calculation of the pipe material (pipe). FIG. 16 (a) shows a formula for calculating the weight of a pipe. The weight per 1 m of pipe (pipe material) is calculated using the formula "((outer shape-thickness) x thickness x 3.1416 x specific gravity) / constant". The constant is an example of FIG. 16A when the unit of thickness, width and length is "mm", the unit of specific gravity is "Kg / 1m 3 " and the unit required as a calculation result is "Kg". It becomes "1,000" like.

図16(b)は、図16(a)の公式に対応する計算式を定義する計算定義マスタ126bの例を示す。図16(b)の例では、キー項目中の項目「品種コード」の値「パイプ」と、項目「変動特性閾値」の値「0」と、項目「計算結果」の値「Kg」に従い図16(a)の公式が特定される。 FIG. 16B shows an example of a calculation definition master 126b that defines a calculation formula corresponding to the formula of FIG. 16A. In the example of FIG. 16B, the figure according to the value "pipe" of the item "variety code" in the key item, the value "0" of the item "variation characteristic threshold", and the value "Kg" of the item "calculation result". The formula of 16 (a) is specified.

図16(b)において、特定された公式および項目「項目区分」の値に従い、連番「0」~「8」のレコードに、図16(a)の公式の順に従い、「項目区分」、「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」の各項目の値が設定されている。 In FIG. 16 (b), according to the specified formula and the value of the item "item classification", the records of the serial numbers "0" to "8" are subjected to the "item classification", according to the order of the formula of FIG. 16 (a). The values of each item of "parentheses and others Start", "operator", "item value code", "constant" and "parentheses and others End" are set.

図16(b)において、連番「0」は、項目「項目区分」が値「ダミー」とされ、項目「括弧他Start」に値「(」が設定される。 In FIG. 16B, for the serial number "0", the item "item classification" is set to the value "dummy", and the value "(" is set to the item "parentheses and other Start".

連番「1」~「3」は、それぞれ項目「項目区分」が値「品番固定特性」に設定されている。連番「1」は、項目「括弧他Start」に値「(」が設定され、項目「項目値コード」に値「外径」が設定される。連番「2」は、項目「演算子」に値「-」が設定され、項目「項目値コード」に値「厚み」が設定され、項目「括弧他End」に、連番「1」の項目「括弧他Start」の値「(」と対となる値「)」が設定される。連番「3」は、項目「演算子」に値「×」が設定され、項目「項目値コード」に値「厚み」が設定される。 For each of the serial numbers "1" to "3", the item "item classification" is set to the value "product number fixed characteristic". For the serial number "1", the value "(" is set in the item "parentheses and other Starts", and the value "outer diameter" is set in the item "item value code". The serial number "2" is the item "operator". The value "-" is set in "", the value "thickness" is set in the item "item value code", and the value "(") of the item "brackets and others Start" of the serial number "1" is set in the item "parentheses and others End". The value ")" paired with is set. For the serial number "3", the value "x" is set in the item "operator", and the value "thickness" is set in the item "item value code".

連番「4」は、項目「項目区分」に値「固定値」が設定され、項目「演算子」に値「×」が設定され、項目「定数」に値「3.1416」が設定される。連番「5」は、項目「項目区分」に値「品種固定特性」が設定され、項目「演算子」に値「×」が設定され、項目「項目値コード」に値「比重」が設定される。連番「6」は、項目「項目区分」に値「商品変動特性」が設定され、項目「演算子」に値「×」が設定される。 For the serial number "4", the value "fixed value" is set in the item "item classification", the value "x" is set in the item "operator", and the value "3.1416" is set in the item "constant". To. For the serial number "5", the value "type fixed characteristic" is set in the item "item classification", the value "x" is set in the item "operator", and the value "specific weight" is set in the item "item value code". Will be done. For the serial number "6", the value "commodity fluctuation characteristic" is set in the item "item classification", and the value "x" is set in the item "operator".

連番「7」は、項目「項目区分」が値「ダミー」とされ、項目「括弧他End」に、連番「0」の項目「括弧他Start」の値「(」と対となる値「)」が設定される。 For the serial number "7", the item "item classification" is set to the value "dummy", and the item "parentheses and others End" is paired with the value "(") of the item "parentheses and others Start" of the serial number "0". ")" Is set.

連番「0」および「7」の括弧の対、ならびに、連番「1」および「2」の括弧の対に示されるように、計算定義マスタ126bにおいては、多重の括弧演算を設定可能である。また、連番「2」および「3」に示されるように、同一の項目区分および項目値コードを複数設定することも可能である。 As shown in the pair of parentheses of serial numbers "0" and "7" and the pair of parentheses of serial numbers "1" and "2", multiple bracket operations can be set in the calculation definition master 126b. be. Further, as shown in the serial numbers "2" and "3", it is possible to set a plurality of the same item categories and item value codes.

図16(c)は、図16(b)の計算定義マスタ126bに対して、品番名「パイプ 165.0×5.0」のパイプ(管材)を想定して具体的な数値を代入した例を示す。例えば計算処理部114は、連番「1」~「3」および「5」の各レコードでは、項目「品種コード」および項目「項目区分」の値に従い、図4のカテゴリ別特性設定マスタ122からそれぞれ対応する値「165」(外径)、「5」(厚み)および「7.85」(比重)を取得し、公式に当てはめる数値として設定する。厚みを示す値「5」は、連番「2」および「3」において繰り返し用いられている。また、連番「6」の、商品変動特性のレコードでは、ユーザにより入力された値「1,000」(長さ)が公式に当てはめる数値として設定される。さらに、連番「8」の固定値のレコードでは、公式に従い値「1,000,000」が設定される。 FIG. 16 (c) shows an example in which a specific numerical value is substituted for the calculation definition master 126b of FIG. 16 (b) assuming a pipe (pipe material) having the product number name “pipe 165.0 × 5.0”. Is shown. For example, the calculation processing unit 114 may use the category-specific characteristic setting master 122 in FIG. 4 according to the values of the item “product code” and the item “item classification” in each record of the serial numbers “1” to “3” and “5”. Acquire the corresponding values "165" (outer diameter), "5" (thickness) and "7.85" (specific gravity), and set them as officially applicable values. The value "5" indicating the thickness is repeatedly used in the serial numbers "2" and "3". Further, in the record of the product variation characteristic of the serial number "6", the value "1,000" (length) input by the user is set as a numerical value to be officially applied. Further, in the record of the fixed value of the serial number "8", the value "1,000,000" is set according to the formula.

図11を用いて説明した計算定義マスタメンテ画面200は、この計算定義マスタ126bに対しても同様に適用可能であるので、ここでの詳細な説明を省略する。 Since the calculation definition master maintenance screen 200 described with reference to FIG. 11 is similarly applicable to the calculation definition master 126b, detailed description thereof will be omitted here.

図17は、図16(b)および図16(c)に対応する式チェック画面300の例を示す。なお、図17において、上述した図12と共通する部分には同一の符号を付して、詳細な説明を省略する。また、ここでは、式チェック画面300は、上述した計算定義マスタメンテ画面200のボタン214に対する操作に応じて表示された画面であるものとする。 FIG. 17 shows an example of the formula check screen 300 corresponding to FIGS. 16 (b) and 16 (c). In FIG. 17, the same reference numerals are given to the portions common to those in FIG. 12 described above, and detailed description thereof will be omitted. Further, here, it is assumed that the formula check screen 300 is a screen displayed in response to the operation for the button 214 of the calculation definition master maintenance screen 200 described above.

計算式作成部113は、上述した計算定義マスタメンテ画面200に係る図12の式チェック画面300における説明と同様に、計算定義マスタ126bの各項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」に設定される値を、各レコードにおいてはレコード内での並び順に従い左から右に連結して文字列を作成する。さらに、計算式作成部113は、各レコードにおいて作成した各文字列を、各レコードの項目「連番」の順に連結し、最終的な計算式を表す式文字列を生成する。式チェック画面300の表示領域310には、このようにして作成された式文字列「((外径-厚み)×厚み×[定数 3.1416]×比重×長さ)/[定数 1,000,000]」が表示されている。 The calculation formula creation unit 113 has the same items as the description on the formula check screen 300 of FIG. 12 according to the above-mentioned calculation definition master maintenance screen 200, that is, each item “parentheses and other Start”, “operator”, and “item” of the calculation definition master 126b. In each record, the values set in "value code", "constant", and "parentheses and other Ends" are concatenated from left to right according to the order in the record to create a character string. Further, the calculation formula creation unit 113 concatenates each character string created in each record in the order of the item "serial number" of each record, and generates an expression character string representing the final calculation formula. In the display area 310 of the formula check screen 300, the formula character string created in this way "((outer diameter-thickness) x thickness x [constant 3.1416] x specific gravity x length) / [constant 1,000" 000] ”is displayed.

式チェック画面300において、表示領域311は、表示領域310に表示される計算式に具体的な数値を当て嵌めた計算式が表示される。例えば、計算式作成部113は、上述と同様に画面生成部115により表示された品番入力画面に入力された品番コードに基づき、品番マスタ123およびカテゴリ別特性設定マスタ122を参照して、入力された品番コードに対応する、カテゴリ区分「品種固定特性」における特性数値と、カテゴリ区分「品番固定特性」における特性数値とを取得する。 On the formula check screen 300, the display area 311 displays a calculation formula in which a specific numerical value is applied to the calculation formula displayed in the display area 310. For example, the calculation formula creation unit 113 is input with reference to the product number master 123 and the category-specific characteristic setting master 122 based on the product number code input to the product number input screen displayed by the screen generation unit 115 in the same manner as described above. Acquire the characteristic numerical value in the category category "fixed product number characteristic" and the characteristic numerical value in the category category "fixed product number characteristic" corresponding to the product number code.

図17の例では、品番入力画面に対して、例えば品番コード「PA_165.0×5.0」が入力される。計算式作成部113は、品番マスタ123を参照し、入力された品番コード「PA_165.0×5.0」に対応する品番名「パイプ 165.0×5.0」および品種「パイプ」を取得する。計算式作成部113は、カテゴリ別特性設定マスタ122を参照して、取得した品種「パイプ」に対応する特性「比重」と、特性数値「7.85(Kg/1m3)」とを取得する。同様に、計算式作成部113は、カテゴリ別特性設定マスタ122を参照して、取得した品番名「パイプ 165.0×5.0」に対応する特性「厚み」および「外径」と、それぞれに対応する特性数値「5mm」および「165mm」とを取得する。 In the example of FIG. 17, for example, the product number code “PA_165.0 × 5.0” is input to the product number input screen. The calculation formula creation unit 113 refers to the product number master 123, and acquires the product number name “pipe 165.0 × 5.0” and the product type “pipe” corresponding to the input product number code “PA_165.0 × 5.0”. do. The calculation formula creation unit 113 refers to the category-specific characteristic setting master 122, and acquires the characteristic "specific gravity" corresponding to the acquired product type "pipe" and the characteristic numerical value "7.85 (Kg / 1m 3 )". .. Similarly, the calculation formula creation unit 113 refers to the category-specific characteristic setting master 122, and has the characteristics “thickness” and “outer diameter” corresponding to the acquired product number name “pipe 165.0 × 5.0”, respectively. The characteristic numerical values "5 mm" and "165 mm" corresponding to the above are acquired.

また、計算式作成部113は、品番入力画面に入力された商品変動特性値(この例では「1,000mm」)を取得する。 Further, the calculation formula creation unit 113 acquires the product variation characteristic value (“1,000 mm” in this example) input to the product number input screen.

計算式作成部113は、取得した特性「外径」、「厚み」および「比重」に設定された各値「5mm」、「165mm」および「7.85(Kg/1m3)」と、商品変動特性値「1,000」とを、表示領域310に表示される計算式の対応する文字列とそれぞれ置き換えて、計算式を作成する。表示領域311には、このようにして作成された計算式「((165-5)*5*3.1416*7.85*1,000)/1,000,000」が表示される。 The calculation formula creation unit 113 describes the acquired characteristics "outer diameter", "thickness" and "specific gravity" as the respective values "5 mm", "165 mm" and "7.85 (Kg / 1 m 3 )", and the product. A calculation formula is created by replacing the variation characteristic value "1,000" with the corresponding character string of the calculation formula displayed in the display area 310. The calculation formula "((165-5) * 5 * 3.1416 * 7.85 * 1,000) / 1,000,000" created in this way is displayed in the display area 311.

例えば、計算処理部114がこの計算式に従い計算を実行した場合、計算結果として値「19.729248」が得られる。計算処理部114は、この計算結果を、例えばRAM1002あるいはストレージ1004に格納する。 For example, when the calculation processing unit 114 executes the calculation according to this calculation formula, the value "19.729248" is obtained as the calculation result. The calculation processing unit 114 stores the calculation result in, for example, the RAM 1002 or the storage 1004.

[9.実施形態の第3の適用例]
図18乃至図23を用いて、実施形態に係る計算定義マスタ126の第3の適用例について説明する。第3の適用例は、計算定義マスタ126を丸太の体積計算に適用した例である。丸太は、自然物であって、「長さ」に応じた先細りを考慮する必要がある。したがって、この第3の適用例においては、計算に用いる公式を「長さ」に応じて切り替える。より具体的には、先細りを考慮しない場合と、先細りを考慮した場合との2つの計算定義マスタ126を用意する。入力された商品変動特性値としての「長さ」に対して閾値判定を行い、判定結果に応じて、2つの計算定義マスタ126のうち何れを用いるかを特定する。以下では、「長さ」に対する閾値を「6m」として説明を行う。
[9. Third application example of the embodiment]
A third application example of the calculation definition master 126 according to the embodiment will be described with reference to FIGS. 18 to 23. The third application example is an example in which the calculation definition master 126 is applied to the volume calculation of a log. Logs are natural objects, and it is necessary to consider the taper according to the "length". Therefore, in this third application example, the formula used for the calculation is switched according to the "length". More specifically, two calculation definition masters 126 are prepared, one in which the taper is not considered and the other in which the taper is considered. A threshold value is determined for the input "length" as the product variation characteristic value, and which of the two calculation definition masters 126 is used is specified according to the determination result. In the following, the threshold value for "length" will be set to "6 m".

図18を用いて、実施形態の第3の適用例に係る、先細りを考慮しない場合の丸太の体積計算を行うための公式および計算定義マスタ126について説明する。図18(a)は、先細りを考慮しない場合(「長さ」が6m未満)に丸太の体積計算を行うための公式を示す。この場合、丸太の体積は、計算式「(直径×直径×長さ)/定数」を公式として計算される。ここで、「直径」の単位が「cm」、「長さ」の単位が「m」であり、計算結果の単位が「m3」とし定数が「10,000」であるものとする。また、丸太の体積計算の場合、計算結果に対して小数第3位で端数処理(例えば四捨五入)を行うものとする。 With reference to FIG. 18, the formula and calculation definition master 126 for performing the volume calculation of the log without considering the tapering will be described according to the third application example of the embodiment. FIG. 18 (a) shows a formula for calculating the volume of a log when tapering is not taken into consideration (“length” is less than 6 m). In this case, the volume of the log is calculated using the formula "(diameter x diameter x length) / constant" as a formula. Here, it is assumed that the unit of "diameter" is "cm", the unit of "length" is "m", the unit of the calculation result is "m 3 ", and the constant is "10,000". Further, in the case of log volume calculation, it is assumed that the calculation result is rounded to the third decimal place (for example, rounding).

図18(b)は、図18(a)の公式に対応する計算式を定義する計算定義マスタ126c1の例を示す。図18(b)の例では、キー項目中の項目「品種コード」の値「丸太」と、項目「変動特性閾値」の値「0」と、項目「計算結果」の値「cm3」とに従い図18(a)の公式が特定される。 FIG. 18 (b) shows an example of the calculation definition master 126c 1 that defines the calculation formula corresponding to the formula of FIG. 18 (a). In the example of FIG. 18B, the value "log" of the item "variety code" in the key item, the value "0" of the item "variation characteristic threshold", and the value "cm 3 " of the item "calculation result" According to this, the formula of FIG. 18 (a) is specified.

特定された公式および項目「項目区分」の値に従い、連番「0」のレコードは、端数処理を設定するためのレコードであって、項目「括弧他Start」に、端数処理の開始位置を示す値「端数四捨五入(」が設定される。連番「1」のレコードにおいて、項目「括弧他Start」に値「(」、項目「項目値コード」に値「直径」が設定される。連番「2」のレコードにおいて、項目「演算子」に値「×」、項目「項目値コード」に値「直径」がそれぞれ設定される。連番「3」のレコードは、項目「演算子」に値「×」が設定される。このレコードは、商品変動特性値のレコードであって、計算に用いる値は、後述する入力画面においてユーザにより入力されるため、当該レコードの項目「項目値コード」は、空欄とされている。 According to the specified formula and the value of the item "item classification", the record with the serial number "0" is a record for setting the rounding, and the item "parentheses and other Starts" indicates the start position of the rounding. The value "rounding to the nearest whole number (") is set. In the record of the serial number "1", the value "(" is set in the item "parentheses and other Starts" and the value "diameter" is set in the item "item value code". In the record of "2", the value "x" is set in the item "operator" and the value "diameter" is set in the item "item value code". The record of the serial number "3" is set in the item "operator". The value "x" is set. Since this record is a record of the product variation characteristic value and the value used for the calculation is input by the user on the input screen described later, the item "item value code" of the record is set. Is left blank.

連番「4」のレコードは、ダミーのレコードであって、項目「括弧他End」に、連番「1」のレコードの項目「括弧他Start」の値「(」と対になる値「)」が設定される。連番「5」のレコードは、固定値のレコードであって、項目「演算子」に値「÷」が設定され、項目「定数」に、公式において規定される値「10,000」が設定される。連番「6」のレコードは、連番「0」のレコードと対となる、端数処理を設定するためのレコードであって、項目「括弧他End」に、端数処理の終了位置と桁数を示す値「)端数処理終了(3桁)」が設定される。 The record with the serial number "4" is a dummy record, and the value "(" paired with the value "(") of the item "parentheses and others Start" of the record with the serial number "1" is added to the item "parentheses and others End". Is set. The record with the serial number "5" is a record with a fixed value, and the value "÷" is set in the item "operator", and the officially specified value "10,000" is set in the item "constant". Will be done. The record with the serial number "6" is a record for setting the rounding that is paired with the record with the serial number "0", and the end position and the number of digits of the rounding are set in the item "parentheses and other Ends". The indicated value ") Rounding end (3 digits)" is set.

図19を用いて、実施形態の第3の適用例に係る、先細りを考慮する場合の丸太の体積計算を行うための公式および計算定義マスタ126について説明する。図19(a)は、先細りを考慮する場合(「長さ」が6m以上)に丸太の体積計算を行うための公式を示す。この場合、丸太の体積は、計算式「([直径+{(長さ-4)/2}]^2×長さ)/定数」を公式として計算される。ここで、「直径」の単位が「cm」、「長さ」の単位が「m」であり、計算結果の単位が「m3」とし定数が「10,000」であるものとする。また、図18(a)の公式と同様に、計算結果に対して小数第3位で四捨五入による端数処理が行われるものとする。さらに、図19(a)から分かるように、この公式は、3重括弧(分数の分子全体に対する括弧を含めると4重括弧)と、値「2」を累乗根とする累乗計算とが含まれる。 A formula and a calculation definition master 126 for performing a log volume calculation in the case of considering tapering according to the third application example of the embodiment will be described with reference to FIG. FIG. 19A shows a formula for calculating the volume of a log when tapering is taken into consideration (“length” is 6 m or more). In this case, the volume of the log is calculated using the formula "([diameter + {(length-4) / 2}] ^ 2 x length) / constant" as a formula. Here, it is assumed that the unit of "diameter" is "cm", the unit of "length" is "m", the unit of the calculation result is "m 3 ", and the constant is "10,000". Further, as in the formula of FIG. 18A, it is assumed that the calculation result is rounded to the third decimal place. Further, as can be seen from FIG. 19 (a), this formula includes triple brackets (quadruple brackets including the brackets for the entire numerator of the fraction) and a power calculation with the value "2" as the root. ..

図19(b)は、図19(a)の公式に対応する計算式を定義する計算定義マスタ126c2の例を示す。図19(b)の例では、キー項目中の項目「変動特性閾値」に値「6」が設定され、キー項目中の項目「品種コード」の値「丸太」と、項目「変動特性閾値」の値「6」と、項目「計算結果」の値「m3」とに従い図19(a)の公式が特定される。 FIG. 19 (b) shows an example of the calculation definition master 126c 2 that defines the calculation formula corresponding to the formula of FIG. 19 (a). In the example of FIG. 19B, the value "6" is set in the item "variation characteristic threshold" in the key item, the value "log" of the item "variety code" in the key item, and the item "variation characteristic threshold". The formula of FIG. 19A is specified according to the value “6” of the item “calculation result” and the value “m 3 ” of the item “calculation result”.

特定された公式および項目「項目区分」の値に従い、連番「0」のレコードは、端数処理を設定するためのレコードであって、項目「括弧他Start」に、端数処理の開始位置を示す値「端数四捨五入(」が設定される。連番「1」のレコードは、項目「項目区分」の値「累乗」に従い、累乗計算の開始位置を設定するためのレコードであって、項目「括弧他Start」に、累乗計算の開始位置を示す値「累乗開始(」が設定される。 According to the specified formula and the value of the item "item classification", the record with the serial number "0" is a record for setting the rounding, and the item "parentheses and other Starts" indicates the start position of the rounding. The value "rounding to the nearest whole number (") is set. The record with the serial number "1" is a record for setting the start position of the exponentiation according to the value "exponentiation" of the item "item classification", and is the record for setting the start position of the exponentiation calculation. In "Other Start", the value "power start (") indicating the start position of the power calculation is set.

連番「2」のレコードにおいて、項目「項目値コード」に値「直径」が設定される。連番「3」のレコードは、ダミーのレコードであって、項目「演算子」に値「+」が設定される。連番「4」のレコードは、ダミーのレコードであって、項目「括弧他Start」に値「(」が設定される。 In the record of serial number "2", the value "diameter" is set in the item "item value code". The record with the serial number "3" is a dummy record, and the value "+" is set in the item "operator". The record of the serial number "4" is a dummy record, and the value "(" is set in the item "parentheses and other Starts".

連番「5」のレコードは、項目「括弧他Start」に値「(」が設定される。このレコードは、商品変動特性値のレコードであって、計算に用いる値は、入力画面においてユーザにより入力されるため、当該レコードの項目「項目値コード」は、空欄とされている。 In the record of the serial number "5", the value "(" is set in the item "parentheses and other Start". This record is a record of the product fluctuation characteristic value, and the value used for the calculation is set by the user on the input screen. Since it is input, the item "item value code" of the record is left blank.

連番「6」のレコードは、固定値のレコードであって、項目「演算子」に値「-」が設定され、項目「定数」に、公式において規定される値「4」が設定される。また、このレコードにおいて、項目「括弧他End」に、連番「5」の項目「括弧他Start」に設定される値「(」と対となる値「)」が設定される。連番「7」のレコードは、固定値のレコードであって、項目「演算子」に値「÷」が設定され、項目「定数」に、公式において規定される値「2」が設定される。また、このレコードにおいて、項目「括弧他End」に、連番「4」の項目「括弧他Start」に設定される値「(」と対となる値「)」が設定される。 The record with the serial number "6" is a record with a fixed value, and the value "-" is set in the item "operator", and the value "4" specified in the formula is set in the item "constant". .. Further, in this record, the value "(" and the paired value ")" set in the item "parentheses and others Start" of the serial number "5" are set in the item "parentheses and others End". The record with the serial number "7" is a record with a fixed value, and the value "÷" is set in the item "operator", and the officially specified value "2" is set in the item "constant". .. Further, in this record, the value "(" and the paired value ")" set in the item "parentheses and others Start" of the serial number "4" are set in the item "parentheses and others End".

連番「8」のレコードは、項目「項目区分」の値「累乗」に従い、連番「1」のレコードで開始位置が設定された累乗計算の終了位置および累乗根を設定するためのレコードであって、項目「括弧他End」に、累乗計算の終了位置および累乗根を示す値「)2乗」が設定される。 The record of the serial number "8" is a record for setting the end position and the root of the exponentiation whose start position is set in the record of the serial number "1" according to the value "exponentiation" of the item "item classification". Therefore, in the item "parentheses and other Ends", a value ") squared" indicating the end position and roots of the roots calculation is set.

連番「9」のレコードは、項目「演算子」に値「×」が設定される。このレコードは、商品変動特性値のレコードであって、計算に用いる値は、入力画面においてユーザにより入力されるため、当該レコードの項目「項目値コード」は、空欄とされている。連番「10」のレコードは、固定値のレコードであって、項目「演算子」に値「÷」が設定され、項目「定数」に、公式において規定される値「10,000」が設定される。連番「11」のレコードは、連番「0」のレコードと対となる、端数処理を設定するためのレコードであって、項目「括弧他End」に、端数処理の終了位置と桁数を示す値「)端数処理終了(3桁)」が設定される。 For the record with the serial number "9", the value "x" is set in the item "operator". Since this record is a record of the product variation characteristic value and the value used for the calculation is input by the user on the input screen, the item "item value code" of the record is left blank. The record with the serial number "10" is a record with a fixed value, and the value "÷" is set in the item "operator", and the officially specified value "10,000" is set in the item "constant". Will be done. The record with the serial number "11" is a record for setting the rounding that is paired with the record with the serial number "0", and the end position and the number of digits of the rounding are set in the item "parentheses and other Ends". The indicated value ") Rounding end (3 digits)" is set.

上述した計算定義マスタ126c1および126c2のうち何れを用いるかは、上述した表示領域311への計算式の表示のための品番入力画面、あるいは、計算式マスタ126による計算を行うための情報を入力する入力画面400に対して入力される商品変動特性値に応じて決定される。 Which of the above-mentioned calculation definition masters 126c 1 and 126c 2 is used depends on the product number input screen for displaying the calculation formula in the above-mentioned display area 311 or the information for performing the calculation by the calculation formula master 126. It is determined according to the product variation characteristic value input to the input screen 400 to be input.

計算定義マスタ126c1および126c2は、項目「品種」および項目「計算結果」の値が一致する。この場合、図15のフローチャートのステップS12において説明したように、計算処理部114は、計算定義マスタ126c1および126c2のそれぞれから、項目「変動特性閾値」の値を取得する。計算処理部114は、取得した各変動特性閾値のうち、「入力された商品変動特性値以下であって、且つ、最大の変動特性閾値」の条件を満たす変動特性閾値を特定する。 In the calculation definition masters 126c 1 and 126c 2 , the values of the item "variety" and the item "calculation result" match. In this case, as described in step S12 of the flowchart of FIG. 15, the calculation processing unit 114 acquires the value of the item “variation characteristic threshold” from each of the calculation definition masters 126c 1 and 126c 2 . The calculation processing unit 114 specifies a fluctuation characteristic threshold that satisfies the condition of "the input fluctuation characteristic value or less and the maximum fluctuation characteristic threshold" among the acquired fluctuation characteristic thresholds.

一例として、商品変動特性値として値「5」が入力された場合には、計算定義マスタ126c2の項目「変動特性閾値」に設定される値「6」は、入力された商品変動特性値を超えるため、条件を満たさない。一方、計算定義マスタ126c1の項目「変動特性閾値」に設定される値「0」がこの条件を満たすため、計算処理部114は、当該計算定義マスタ126c1を選択する。 As an example, when the value "5" is input as the product variation characteristic value, the value "6" set in the item "variation characteristic threshold" of the calculation definition master 126c 2 is the input product variation characteristic value. It does not meet the conditions because it exceeds. On the other hand, since the value "0" set in the item "variation characteristic threshold" of the calculation definition master 126c 1 satisfies this condition, the calculation processing unit 114 selects the calculation definition master 126c 1 .

別の例として、商品変動特性値として値「8」が入力された場合には、計算定義マスタ126c1および126c2の何れも、項目「変動特性閾値」に設定された値(それぞれ「0」および「6」)が入力された値「8」以下となる。一方、計算定義マスタ126c1および126c2では、項目「変動特性閾値」の値が計算定義マスタ126c2の方が大きいので、計算処理部114は、計算定義マスタ126c2を選択する。 As another example, when the value "8" is input as the product variation characteristic value, both the calculation definition masters 126c 1 and 126c 2 are set to the item "variation characteristic threshold" (each is "0"). And "6") is less than or equal to the input value "8". On the other hand, in the calculation definition masters 126c 1 and 126c 2 , the value of the item “variation characteristic threshold” is larger in the calculation definition master 126c 2 , so that the calculation processing unit 114 selects the calculation definition master 126c 2 .

図20は、商品変動特性値として閾値「6」以下の値「5」が入力されて選択された、図18(b)の計算定義マスタ126c1に対して、品番名「丸太 D55」の丸太を想定して具体的な数値を代入した例を示す。 FIG. 20 shows a log having a product number name “log D55” with respect to the calculation definition master 126c 1 of FIG. 18B, in which a value “5” having a threshold value “6” or less is input and selected as a product variation characteristic value. Here is an example of substituting specific numerical values assuming.

例えば計算処理部114は、連番「0」のレコードでは、項目「括弧他Start」の値に従い、端数処理の開始およびその方法を指示する値「端数四捨五入(」が設定される。連番「1」および「2」の各レコードでは、項目「品種コード」および項目「項目区分」の値に従い、図4のカテゴリ別特性設定マスタ122から対応する値「55」(直径)を取得し、公式に当てはめる数値として設定する。直径を示す値「55」は、連番「1」および「2」において繰り返し用いられている。また、連番「3」の、商品変動特性のレコードでは、ユーザにより入力された値「5」(長さ)が公式に当てはめる数値として設定される。さらに、連番「5」の固定値のレコードでは、公式に従い値「10,000」が設定される。 For example, in the record of the serial number "0", the calculation processing unit 114 sets the value "rounding off (") instructing the start and method of fraction processing according to the value of the item "parentheses and other Starts". In each record of "1" and "2", the corresponding value "55" (diameter) is acquired from the category-specific characteristic setting master 122 of FIG. 4 according to the values of the item "product code" and the item "item classification", and the formula is obtained. The value "55" indicating the diameter is repeatedly used in the serial numbers "1" and "2". In the record of the product variation characteristic of the serial number "3", the value "55" is set by the user. The input value "5" (length) is set as a numerical value to be officially applied. Further, in the fixed value record of the serial number "5", the value "10,000" is set according to the formula.

図11を用いて説明した計算定義マスタメンテ画面200は、この計算定義マスタ126c1に対しても同様に適用可能であるので、ここでの詳細な説明を省略する。 Since the calculation definition master maintenance screen 200 described with reference to FIG. 11 is similarly applicable to the calculation definition master 126c 1 , detailed description here will be omitted.

図21は、図18(b)および図20に対応する式チェック画面300の例を示す。なお、図21において、上述した図12と共通する部分には同一の符号を付して、詳細な説明を省略する。また、ここでは、式チェック画面300は、上述した計算定義マスタメンテ画面200のボタン214に対する操作に応じて表示された画面であるものとする。 FIG. 21 shows an example of the formula check screen 300 corresponding to FIGS. 18 (b) and 20. In FIG. 21, the same reference numerals are given to the portions common to those in FIG. 12 described above, and detailed description thereof will be omitted. Further, here, it is assumed that the formula check screen 300 is a screen displayed in response to the operation for the button 214 of the calculation definition master maintenance screen 200 described above.

計算式作成部113は、上述した計算定義マスタメンテ画面200に係る図12の式チェック画面300における説明と同様に、計算定義マスタ126c1の各項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」に設定される値を、各レコードにおいてはレコード内での並び順に従い左から右に連結して文字列を作成する。さらに、計算式作成部113は、各レコードにおいて作成した各文字列を、各レコードの項目「連番」の順に連結し、最終的な計算式を表す式文字列を生成する。式チェック画面300の表示領域310には、このようにして作成された式文字列「四捨五入((直径×直径×長さ)/[定数 10,000],3桁)」が表示されている。文字列式の末尾の「3桁」は、端数処理の桁数を示している。 The calculation formula creation unit 113 has the same items as the description on the formula check screen 300 of FIG. 12 according to the above-mentioned calculation definition master maintenance screen 200, that is, each item “parentheses and other Starts”, “operator”, and “s) of the calculation definition master 126c 1 . In each record, the values set in "item value code", "constant" and "parentheses and other Ends" are concatenated from left to right according to the order in the record to create a character string. Further, the calculation formula creation unit 113 concatenates each character string created in each record in the order of the item "serial number" of each record, and generates an expression character string representing the final calculation formula. In the display area 310 of the formula check screen 300, the formula character string "rounded ((diameter x diameter x length) / [constant 10,000], 3 digits)" created in this way is displayed. The "3 digits" at the end of the character string expression indicates the number of digits in the rounding process.

式チェック画面300において、表示領域311は、表示領域310に表示される計算式に具体的な数値を当て嵌めた計算式が表示される。例えば、計算式作成部113は、上述と同様に画面生成部115により表示された品番入力画面に入力された品番コードに基づき、品番マスタ123およびカテゴリ別特性設定マスタ122を参照して、入力された品番コードに対応する、カテゴリ区分「品種固定特性」における特性数値と、カテゴリ区分「品番固定特性」における特性数値とを取得する。 On the formula check screen 300, the display area 311 displays a calculation formula in which a specific numerical value is applied to the calculation formula displayed in the display area 310. For example, the calculation formula creation unit 113 is input with reference to the product number master 123 and the category-specific characteristic setting master 122 based on the product number code input to the product number input screen displayed by the screen generation unit 115 in the same manner as described above. Acquire the characteristic numerical value in the category category "fixed product number characteristic" and the characteristic numerical value in the category category "fixed product number characteristic" corresponding to the product number code.

図21の例では、品番入力画面に対して、例えば品番コード「LOG_D55」が入力される。計算式作成部113は、品番マスタ123を参照し、入力された品番コード「LOG_D55」に対応する品番名「丸太 D55」および品種「丸太」を取得する。計算式作成部113は、カテゴリ別特性設定マスタ122を参照して、取得した品番名「丸太 D55」に対応する特性「直径」と、対応する特性数値「55cm」とを取得する。なお、品種「丸太」においては、品種固定特性が未設定であり、対応する特性も取得されない。 In the example of FIG. 21, for example, the product number code “LOG_D55” is input to the product number input screen. The calculation formula creation unit 113 refers to the product number master 123, and acquires the product number name “log D55” and the product type “log” corresponding to the input product number code “LOG_D55”. The calculation formula creation unit 113 refers to the category-specific characteristic setting master 122, and acquires the characteristic “diameter” corresponding to the acquired product number name “log D55” and the corresponding characteristic numerical value “55 cm”. In the cultivar "log", the cultivar fixing characteristic has not been set, and the corresponding characteristic is not acquired.

また、計算式作成部113は、品番入力画面に入力された商品変動特性値(この例では「5」)を取得する。 Further, the calculation formula creation unit 113 acquires the product variation characteristic value (“5” in this example) input to the product number input screen.

計算式作成部113は、取得した特性「直径」に設定された値「55cm」と、商品変動特性値「5」とを、表示領域310に表示される計算式の対応する文字列とそれぞれ置き換えて、計算式を作成する。表示領域311には、このようにして作成された計算式「ROUND((55*55*5)/10,000,3)」が表示される。計算式の末尾の「3」は、端数処理の桁数を示している。 The calculation formula creation unit 113 replaces the value "55 cm" set in the acquired characteristic "diameter" and the product variation characteristic value "5" with the corresponding character strings of the calculation formula displayed in the display area 310, respectively. And create a calculation formula. The calculation formula "ROUND ((55 * 55 * 5) / 10,000,3)" created in this way is displayed in the display area 311. The "3" at the end of the calculation formula indicates the number of digits in the rounding process.

例えば、計算処理部114がこの計算式に従い計算を実行した場合、端数処理を含まない計算結果として値「1.5125」が得られ、これに小数3桁の四捨五入による端数処理を施して、値「1.513」が最終的な計算結果として得られる。計算処理部114は、この計算結果を、例えばRAM1002あるいはストレージ1004に格納する。 For example, when the calculation processing unit 114 executes the calculation according to this calculation formula, the value "1.5125" is obtained as the calculation result excluding the fraction processing, and the value is rounded to three decimal places to obtain the value. "1.513" is obtained as the final calculation result. The calculation processing unit 114 stores the calculation result in, for example, the RAM 1002 or the storage 1004.

図22は、商品変動特性値として閾値「6」を超える値「8」が入力されて選択された、図19(b)の計算定義マスタ126c2に対して、品番名「丸太 D55」の丸太を想定して具体的な数値を代入した例を示す。 FIG. 22 shows a log having the product number “Log D55” with respect to the calculation definition master 126c 2 of FIG. 19B, in which a value “8” exceeding the threshold value “6” is input and selected as the product variation characteristic value. Here is an example of substituting specific numerical values assuming.

例えば計算処理部114は、連番「2」のレコードでは、項目「品種コード」および項目「項目区分」の値に従い、図4のカテゴリ別特性設定マスタ122から対応する値「55」(直径)を取得し、公式に当てはめる数値として設定する。連番「5」および「9」のレコードは、商品変動特性のレコードであって、それぞれ、ユーザにより入力された値「8」が、公式に当てはめる商品変動特性値として設定される。 For example, in the record of the serial number "2", the calculation processing unit 114 has the corresponding value "55" (diameter) from the category-specific characteristic setting master 122 of FIG. 4 according to the values of the item "variety code" and the item "item classification". And set it as a numerical value that is officially applied. The records of the serial numbers "5" and "9" are records of the product variation characteristic, and the value "8" input by the user is set as the officially applied product variation characteristic value, respectively.

図11を用いて説明した計算定義マスタメンテ画面200は、この計算定義マスタ126c2に対しても同様に適用可能であるので、ここでの詳細な説明を省略する。 Since the calculation definition master maintenance screen 200 described with reference to FIG. 11 is similarly applicable to the calculation definition master 126c 2 , detailed description here will be omitted.

図23は、図19(b)および図22に対応する式チェック画面300の例を示す。なお、図23において、上述した図12と共通する部分には同一の符号を付して、詳細な説明を省略する。また、ここでは、式チェック画面300は、上述した計算定義マスタメンテ画面200のボタン214に対する操作に応じて表示された画面であるものとする。 FIG. 23 shows an example of the formula check screen 300 corresponding to FIGS. 19 (b) and 22. In FIG. 23, the same reference numerals are given to the portions common to those in FIG. 12 described above, and detailed description thereof will be omitted. Further, here, it is assumed that the formula check screen 300 is a screen displayed in response to the operation for the button 214 of the calculation definition master maintenance screen 200 described above.

計算式作成部113は、上述した計算定義マスタメンテ画面200に係る図12の式チェック画面300における説明と同様に、計算定義マスタ126c2の各項目「括弧他Start」、「演算子」、「項目値コード」、「定数」および「括弧他End」に設定される値を、各レコードにおいてはレコード内での並び順に従い左から右に連結して文字列を作成する。さらに、計算式作成部113は、各レコードにおいて作成した各文字列を、各レコードの項目「連番」の順に連結し、最終的な計算式を表す式文字列を生成する。式チェック画面300の表示領域310には、このようにして作成された式文字列「四捨五入((直径+((長さ-[定数 4])/[定数 2]))^2×長さ/[定数 10,000],3桁)」が表示されている。 The calculation formula creation unit 113 has the same items as the description on the formula check screen 300 of FIG. 12 according to the above-mentioned calculation definition master maintenance screen 200, that is, each item “parentheses and others Start”, “operator”, and “s) of the calculation definition master 126c 2 . In each record, the values set in "item value code", "constant" and "parentheses and other Ends" are concatenated from left to right according to the order in the record to create a character string. Further, the calculation formula creation unit 113 concatenates each character string created in each record in the order of the item "serial number" of each record, and generates an expression character string representing the final calculation formula. In the display area 310 of the formula check screen 300, the formula character string created in this way is rounded ((diameter + ((length- [constant 4]) / [constant 2])) ^ 2 x length / [Constant 10,000], 3 digits) ”is displayed.

式チェック画面300において、表示領域311は、表示領域310に表示される計算式に具体的な数値を当て嵌めた計算式が表示される。例えば、計算式作成部113は、上述と同様に画面生成部115により表示された品番入力画面に入力された品番コードに基づき、品番マスタ123およびカテゴリ別特性設定マスタ122を参照して、入力された品番コードに対応する、カテゴリ区分「品種固定特性」における特性数値と、カテゴリ区分「品番固定特性」における特性数値とを取得する。 On the formula check screen 300, the display area 311 displays a calculation formula in which a specific numerical value is applied to the calculation formula displayed in the display area 310. For example, the calculation formula creation unit 113 is input with reference to the product number master 123 and the category-specific characteristic setting master 122 based on the product number code input to the product number input screen displayed by the screen generation unit 115 in the same manner as described above. Acquire the characteristic numerical value in the category category "fixed product number characteristic" and the characteristic numerical value in the category category "fixed product number characteristic" corresponding to the product number code.

図23の例では、品番入力画面に対して、例えば品番コード「LOG_D55」が入力される。計算式作成部113は、品番マスタ123を参照し、入力された品番コード「LOG_D55」に対応する品番名「丸太 D55」および品種「丸太」を取得する。計算式作成部113は、カテゴリ別特性設定マスタ122を参照して、取得した品番名「丸太 D55」に対応する特性「直径」と、対応する特性数値「55cm」とを取得する。なお、品種「丸太」においては、品種固定特性が未設定であり、対応する特性も取得されない。 In the example of FIG. 23, for example, the product number code “LOG_D55” is input to the product number input screen. The calculation formula creation unit 113 refers to the product number master 123, and acquires the product number name “log D55” and the product type “log” corresponding to the input product number code “LOG_D55”. The calculation formula creation unit 113 refers to the category-specific characteristic setting master 122, and acquires the characteristic “diameter” corresponding to the acquired product number name “log D55” and the corresponding characteristic numerical value “55 cm”. In the cultivar "log", the cultivar fixing characteristic has not been set, and the corresponding characteristic is not acquired.

また、計算式作成部113は、品番入力画面に入力された商品変動特性値(この例では「8」)を取得する。 Further, the calculation formula creation unit 113 acquires the product variation characteristic value (“8” in this example) input to the product number input screen.

計算式作成部113は、取得した特性「直径」に設定された値「55cm」と、商品変動特性値「5」とを、表示領域310に表示される計算式の対応する文字列とそれぞれ置き換えて、計算式を作成する。表示領域311には、このようにして作成された計算式「ROUND((55+((8-4)/2))^2*8)/10,000,3)」が表示される。 The calculation formula creation unit 113 replaces the value "55 cm" set in the acquired characteristic "diameter" and the product variation characteristic value "5" with the corresponding character strings of the calculation formula displayed in the display area 310, respectively. And create a calculation formula. The calculation formula "ROUND ((55+ ((8-4) / 2)) ^ 2 * 8) / 10,000,3)" created in this way is displayed in the display area 311.

例えば、計算処理部114がこの計算式に従い計算を実行した場合、端数処理を含まない計算結果として値「2.5992」が得られ、これに小数3桁の四捨五入による端数処理を施して、値「2.599」が最終的な計算結果として得られる。計算処理部114は、この計算結果を、例えばRAM1002あるいはストレージ1004に格納する。 For example, when the calculation processing unit 114 executes the calculation according to this calculation formula, the value "2.5992" is obtained as a calculation result excluding the fraction processing, and the value is rounded to three decimal places to obtain the value. "2.599" is obtained as the final calculation result. The calculation processing unit 114 stores the calculation result in, for example, the RAM 1002 or the storage 1004.

このように、実施形態では、各レコードに、計算式を構成する括弧、演算子、値といった各要素を項目区分毎に設定した計算定義マスタ126を、品種毎に設定して、重量計算や体積計算を行うようにしている。そのため、品種に属する品番の商品の重量計算や体積計算を行う計算式の確認や設定、不正箇所の指摘などを容易に行うことが可能となる。 As described above, in the embodiment, the calculation definition master 126 in which each element such as parentheses, operators, and values constituting the calculation formula is set for each item category is set for each product type, and the weight calculation and the volume are set. I try to do calculations. Therefore, it is possible to easily confirm and set a calculation formula for calculating the weight and volume of a product having a product number belonging to a product type, and point out an illegal part.

また、商品毎に変動する商品変動特性値に対して閾値判定を行い、判定結果に応じた計算定義マスタ126の切り替えを可能としている。そのため、例えば丸太のような、長さによって異なる公式が適用される商品に対する計算を容易に実行できる。 Further, the threshold value is determined for the product variation characteristic value that fluctuates for each product, and the calculation definition master 126 can be switched according to the determination result. Therefore, it is possible to easily perform a calculation for a product to which a formula different depending on the length is applied, such as a log.

[10.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[10. Other embodiments]
In addition to the above-described embodiments, the present invention may be implemented in various different embodiments within the scope of the technical idea described in the claims.

例えば、実施形態において説明した各処理のうち、自動にて行われるものとして説明した処理の全部または一部を手動にて行うこともでき、あるいは、手動にて行われるものとして説明した処理の全部または一部を公知の方法で自動にて行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being automatically performed may be performed manually, or all the processes described as being performed manually may be performed. Alternatively, a part can be automatically performed by a known method.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件などのパラメータを含む情報、画面例、マスタ構成については、特記する場合を除いて任意に変更することができる。 In addition, processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions for each processing, screen examples, and master configurations shown in this specification and drawings are not specified unless otherwise specified. Can be changed arbitrarily.

さらに、上述では、実施形態に係る計算処理装置10が1のコンピュータにより構成されるように説明したが、これはこの例に限定されない。すなわち、実施形態に係る計算処理装置10は、複数のコンピュータを統合的に運用するシステムにて構成することもできる。 Further, in the above description, the calculation processing device 10 according to the embodiment is described to be composed of one computer, but this is not limited to this example. That is, the calculation processing device 10 according to the embodiment can also be configured as a system that operates a plurality of computers in an integrated manner.

さらにまた、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution / integration of the device is not limited to the one shown in the figure, and all or part of the device may be functionally or physically in any unit according to various additions or functional loads. Can be distributed and integrated into the configuration. That is, the above-described embodiments may be arbitrarily combined and implemented, or the embodiments may be selectively implemented.

本発明は、特に、鉄鋼、木材、建材の業界において有用である。 The present invention is particularly useful in the steel, wood and building materials industries.

10 計算処理装置
110 制御部
112 計算定義設定部
113 計算式作成部
114 計算処理部
115 画面生成部
120 記憶部
121 品種別特性定義マスタ
122 カテゴリ別特性設定マスタ
123 品番マスタ
124 品種マスタ
125 単位マスタ
126,126a,126b,126c1,126c2 計算定義マスタ
200 計算定義マスタメンテ画面
300,300’ 式チェック画面
400 入力画面
1000 CPU
1002 RAM
1004 ストレージ
1020 ディスプレイ
10 Calculation processing device 110 Control unit 112 Calculation definition setting unit 113 Calculation formula creation unit 114 Calculation processing unit 115 Screen generation unit 120 Storage unit 121 Type-specific characteristic definition master 122 Category-specific characteristic setting master 123 Product number master 124 Product type master 125 Unit master 126 , 126a, 126b, 126c 1 , 126c 2 Calculation definition master 200 Calculation definition master maintenance screen 300, 300'Expression check screen 400 Input screen 1000 CPU
1002 RAM
1004 storage 1020 display

Claims (8)

制御部と記憶部とを備えた計算処理装置であって、
前記制御部は、
品種をキーとし、演算子と、少なくとも商品変動特性又は品番に固定の特性である品番固定特性が入力される項目区分と、を関連付けた計算定義マスタを前記記憶部に設定する計算定義設定手段と、
前記計算定義マスタにおける、前記演算子と、該演算子に関連付けられる前記項目区分に対応する項目識別子とを、該計算定義マスタのレコード内で連結して文字列を作成し、該計算定義マスタの各レコードで作成された該文字列それぞれを、該計算定義マスタのレコード順に従い連結して計算式を作成する計算式作成手段と、
前記品番固定特性に対応する前記項目識別子と、該項目識別子に対応する特性値とを関連付けて前記記憶部に設定される特性設定マスタから、入力された前記品番に対応する該特性値を取得し、取得した該特性値を用いて前記計算式による計算を行う計算処理手段と、
を備えることを特徴とする計算処理装置。
It is a calculation processing device equipped with a control unit and a storage unit.
The control unit
A calculation definition setting means for setting a calculation definition master in the storage unit, which is associated with an operator and an item classification in which at least a product number fixed characteristic, which is a characteristic fixed to a product number, is input, using a product type as a key. ,
The operator in the calculation definition master and the item identifier corresponding to the item classification associated with the operator are concatenated in the record of the calculation definition master to create a character string, and the calculation definition master is used. A calculation formula creation means for creating a calculation formula by concatenating each of the character strings created in each record according to the record order of the calculation definition master.
The characteristic value corresponding to the input product number is acquired from the characteristic setting master set in the storage unit by associating the item identifier corresponding to the part number fixed characteristic with the characteristic value corresponding to the item identifier. , A calculation processing means for performing a calculation by the above formula using the acquired characteristic value, and
A calculation processing device characterized by comprising.
前記計算定義設定手段は、
少なくとも前記商品変動特性、前記品番固定特性、又は、前記品種に固定の特性である品種固定特性が入力される項目区分と、前記演算子とを関連付けた前記計算定義マスタを前記記憶部に設定すること、
を特徴とする請求項1に記載の計算処理装置。
The calculation definition setting means is
The calculation definition master in which the operator is associated with the item classification in which at least the product variation characteristic, the product number fixed characteristic, or the product fixed characteristic which is a characteristic fixed to the product type is input is set in the storage unit. thing,
The calculation processing apparatus according to claim 1.
前記制御部は、
前記計算式作成手段により作成した前記計算式を、前記演算子と前記項目識別子とを用いて表示させる画面を生成する画面生成手段をさらに備えること、
を特徴とする請求項1又は請求項2に記載の計算処理装置。
The control unit
Further provided with a screen generation means for generating a screen for displaying the calculation formula created by the calculation formula creation means by using the operator and the item identifier.
The calculation processing apparatus according to claim 1 or 2.
前記画面生成手段は、
前記特性設定マスタから取得した、入力された前記品番に対応する前記特性値を、前記計算式の、該特性値に対応する前記項目識別子と置き換えた計算式を表示させる画面をさらに生成すること、
を特徴とする請求項3に記載の計算処理装置。
The screen generation means is
To further generate a screen for displaying a calculation formula in which the characteristic value corresponding to the input product number acquired from the characteristic setting master is replaced with the item identifier corresponding to the characteristic value in the calculation formula.
The calculation processing apparatus according to claim 3.
前記計算定義設定手段は、
少なくとも前記商品変動特性、前記品番固定特性、前記計算式において優先して計算を実行する範囲を指定するための括弧の開始位置および終了位置を示すダミー、又は、演算子のみを指定するレコードであることを示すダミーが入力される項目区分と、前記演算子とを関連付けた前記計算定義マスタを前記記憶部に設定すること、
を特徴とする請求項1から請求項4のうち、いずれか一項に記載の計算処理装置。
The calculation definition setting means is
It is a record that specifies at least the product variation characteristic, the product number fixed characteristic, a dummy indicating the start position and end position of parentheses for specifying the range in which the calculation is preferentially executed in the calculation formula, or only the operator. To set the calculation definition master in which the item classification in which a dummy indicating that is input is associated with the operator is set in the storage unit.
The calculation processing apparatus according to any one of claims 1 to 4, wherein the calculation processing apparatus is characterized.
前記計算定義設定手段は、
少なくとも前記商品変動特性、前記品番固定特性、前記計算定義マスタにおいて定義される計算式に対応する公式で使用される固定値、前記計算式に対して端数処理を指定する情報、又は、前記計算式に対して累乗計算を指定する情報が入力される項目区分と、前記演算子とを関連付けた前記計算定義マスタを前記記憶部に設定すること、
を特徴とする請求項1から請求項5のうち、いずれか一項に記載の計算処理装置。
The calculation definition setting means is
At least the product fluctuation characteristic, the product number fixed characteristic, the fixed value used in the formula corresponding to the calculation formula defined in the calculation definition master, the information for specifying fraction processing for the calculation formula, or the calculation formula. To set the calculation definition master in which the item classification in which the information for specifying the exponentiation calculation is input and the operator are associated with the storage unit.
The calculation processing apparatus according to any one of claims 1 to 5, wherein the calculation processing apparatus is characterized.
制御部と記憶部とを備えた計算処理装置で実行される計算処理方法であって、
前記制御部で実行される、
品種をキーとし、演算子と、少なくとも商品変動特性又は品番に固定の特性である品番固定特性が入力される項目区分と、を関連付けた計算定義マスタを前記記憶部に設定する計算定義設定ステップと、
前記計算定義マスタにおける、前記演算子と、該演算子に関連付けられる前記項目区分に対応する項目識別子とを、該計算定義マスタのレコード内で連結して文字列を作成し、該計算定義マスタの各レコードで作成された該文字列それぞれを、該計算定義マスタのレコード順に従い連結して計算式を作成する計算式作成ステップと、
前記品番固定特性に対応する前記項目識別子と、該項目識別子に対応する特性値とを関連付けて前記記憶部に設定される特性設定マスタから、入力された前記品番に対応する該特性値を取得し、取得した該特性値を用いて前記計算式による計算を行う計算処理ステップと、
を含むことを特徴とする計算処理方法。
It is a calculation processing method executed by a calculation processing device having a control unit and a storage unit.
Executed by the control unit,
A calculation definition setting step for setting a calculation definition master in the storage unit, which is associated with an operator and an item category in which at least a product number fixed characteristic, which is a characteristic fixed to a product number, is input, using a product type as a key. ,
The operator in the calculation definition master and the item identifier corresponding to the item classification associated with the operator are concatenated in the record of the calculation definition master to create a character string, and the calculation definition master is used. A calculation formula creation step for creating a calculation formula by concatenating each of the character strings created in each record according to the record order of the calculation definition master, and
The characteristic value corresponding to the input product number is acquired from the characteristic setting master set in the storage unit by associating the item identifier corresponding to the part number fixed characteristic with the characteristic value corresponding to the item identifier. , A calculation processing step for performing a calculation by the above formula using the acquired characteristic value, and
A calculation processing method characterized by including.
制御部と記憶部とを備えた情報処理装置に実行させるための計算処理プログラムであって、
前記制御部で実行させるための、
品種をキーとし、演算子と、少なくとも商品変動特性又は品番に固定の特性である品番固定特性が入力される項目区分と、を関連付けた計算定義マスタを前記記憶部に設定する計算定義設定ステップと、
前記計算定義マスタにおける、前記演算子と、該演算子に関連付けられる前記項目区分に対応する項目識別子とを、該計算定義マスタのレコード内で連結して文字列を作成し、該計算定義マスタの各レコードで作成された該文字列それぞれを、該計算定義マスタのレコード順に従い連結して計算式を作成する計算式作成ステップと、
前記品番固定特性に対応する前記項目識別子と、該項目識別子に対応する特性値とを関連付けて前記記憶部に設定される特性設定マスタから、入力された前記品番に対応する該特性値を取得し、取得した該特性値を用いて前記計算式による計算を行う計算処理ステップと、
を含むことを特徴とする計算処理プログラム。
It is a calculation processing program to be executed by an information processing device having a control unit and a storage unit.
To be executed by the control unit
A calculation definition setting step for setting a calculation definition master in the storage unit, which is associated with an operator and an item category in which at least a product number fixed characteristic, which is a characteristic fixed to a product number, is input, using a product type as a key. ,
The operator in the calculation definition master and the item identifier corresponding to the item classification associated with the operator are concatenated in the record of the calculation definition master to create a character string, and the calculation definition master is used. A calculation formula creation step for creating a calculation formula by concatenating each of the character strings created in each record according to the record order of the calculation definition master, and
The characteristic value corresponding to the input product number is acquired from the characteristic setting master set in the storage unit by associating the item identifier corresponding to the part number fixed characteristic with the characteristic value corresponding to the item identifier. , A calculation processing step for performing a calculation by the above formula using the acquired characteristic value, and
A computational processing program characterized by including.
JP2022046184A 2017-11-02 2022-03-23 Computational processing device, computational processing method and computational processing program Active JP7291264B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022046184A JP7291264B2 (en) 2017-11-02 2022-03-23 Computational processing device, computational processing method and computational processing program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017213248A JP7048263B2 (en) 2017-11-02 2017-11-02 Computational processing equipment, computational processing method and computational processing program
JP2022046184A JP7291264B2 (en) 2017-11-02 2022-03-23 Computational processing device, computational processing method and computational processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017213248A Division JP7048263B2 (en) 2017-11-02 2017-11-02 Computational processing equipment, computational processing method and computational processing program

Publications (2)

Publication Number Publication Date
JP2022084807A true JP2022084807A (en) 2022-06-07
JP7291264B2 JP7291264B2 (en) 2023-06-14

Family

ID=87885309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022046184A Active JP7291264B2 (en) 2017-11-02 2022-03-23 Computational processing device, computational processing method and computational processing program

Country Status (1)

Country Link
JP (1) JP7291264B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000090152A (en) * 1998-09-10 2000-03-31 Hitachi Information Systems Ltd Price calculating method and recording medium recorded with program thereof
JP2001101290A (en) * 1999-09-30 2001-04-13 Fujitsu Ltd Device and method for calculating charge and recording medium
JP2003036413A (en) * 2001-07-25 2003-02-07 Nec Corp System and method for simulating price
JP2003296418A (en) * 2002-03-29 2003-10-17 Fujitsu Ltd Method and device of commodity management and computer program
JP2004133506A (en) * 2002-10-08 2004-04-30 Fujitsu Ltd Best-before date management method and bet-before date management system
JP2012141873A (en) * 2011-01-05 2012-07-26 Hitachi Systems Ltd Contained chemical substance management system
JP2013077095A (en) * 2011-09-29 2013-04-25 Toshiba Corp Sql creation device, sql creation method and sql creation program
JP2014162101A (en) * 2013-02-25 2014-09-08 Teraoka Seiko Co Ltd Label issuing device
JP2017178574A (en) * 2016-03-31 2017-10-05 日本電気株式会社 Inspection processing device, inspection system, commodity master registration device, inspection processing method and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000090152A (en) * 1998-09-10 2000-03-31 Hitachi Information Systems Ltd Price calculating method and recording medium recorded with program thereof
JP2001101290A (en) * 1999-09-30 2001-04-13 Fujitsu Ltd Device and method for calculating charge and recording medium
JP2003036413A (en) * 2001-07-25 2003-02-07 Nec Corp System and method for simulating price
JP2003296418A (en) * 2002-03-29 2003-10-17 Fujitsu Ltd Method and device of commodity management and computer program
JP2004133506A (en) * 2002-10-08 2004-04-30 Fujitsu Ltd Best-before date management method and bet-before date management system
JP2012141873A (en) * 2011-01-05 2012-07-26 Hitachi Systems Ltd Contained chemical substance management system
JP2013077095A (en) * 2011-09-29 2013-04-25 Toshiba Corp Sql creation device, sql creation method and sql creation program
JP2014162101A (en) * 2013-02-25 2014-09-08 Teraoka Seiko Co Ltd Label issuing device
JP2017178574A (en) * 2016-03-31 2017-10-05 日本電気株式会社 Inspection processing device, inspection system, commodity master registration device, inspection processing method and program

Also Published As

Publication number Publication date
JP7291264B2 (en) 2023-06-14

Similar Documents

Publication Publication Date Title
JP5183384B2 (en) Layout processing method, layout processing apparatus, and layout control program
JP7048263B2 (en) Computational processing equipment, computational processing method and computational processing program
JP6215105B2 (en) Program conversion apparatus and conversion processing program
JP2022084807A (en) Calculation processing apparatus, calculation processing method, and calculation processing program
JP4995009B2 (en) POD screen generation device and program thereof
KR101726120B1 (en) Program editing device, program editing method and computer readable recoding medium for recording program editing program
JP2007047849A (en) Preparation program for screen data for programmable display unit and computer-readable recording medium and screen data preparing device
JP6576608B1 (en) Drawing support device, display device, drawing support method, and computer program
JP2004206405A (en) Electronic apparatus and program
JP2021082183A (en) Information processing device, information processing method, program and document
JP2007011758A (en) Insurance data management device and method, and program
JP2004164541A (en) Substitution method and system of audio player panel
JP5682365B2 (en) Electronic music equipment
JP3817747B2 (en) Typeface information setting device
JP6244743B2 (en) Layout editing processing method, apparatus and program
JP2007094979A (en) Programmable display, control program and recording medium recording with the program stored, screen creating device, and screen creating program and recording medium with the program stored
JP2019501593A (en) EPUB file encryption unit file compression and decompression method and apparatus
JPH02133822A (en) Data processor
JP4992809B2 (en) Audio device, file name assigning method, and program
JP4655522B2 (en) Control constant design adapting device for electric power steering system
JP2000082128A5 (en)
JP2024003204A (en) Operation support device, operation support method and computer program
JP6515463B2 (en) INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING PROGRAM
JP3047400B2 (en) Data processing device
JP2011186177A (en) Computer emulation device, computer, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220323

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230509

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230602

R150 Certificate of patent or registration of utility model

Ref document number: 7291264

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150