JPH10105205A - Material requirements counting method and system therefor - Google Patents

Material requirements counting method and system therefor

Info

Publication number
JPH10105205A
JPH10105205A JP25616996A JP25616996A JPH10105205A JP H10105205 A JPH10105205 A JP H10105205A JP 25616996 A JP25616996 A JP 25616996A JP 25616996 A JP25616996 A JP 25616996A JP H10105205 A JPH10105205 A JP H10105205A
Authority
JP
Japan
Prior art keywords
item
mrp
data
items
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25616996A
Other languages
Japanese (ja)
Inventor
Takahiro Chikushima
隆尋 築島
Masahiro Sato
匡弘 佐藤
Yoshihisa Arai
良尚 荒井
Tetsushi Tomizawa
哲志 富沢
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP25616996A priority Critical patent/JPH10105205A/en
Publication of JPH10105205A publication Critical patent/JPH10105205A/en
Pending legal-status Critical Current

Links

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 shorten the processing time of material requirements planing(MRP) calculation and also to fast cope with various fluctuation by gathering data about items in each item and maintaining them as a corresponding item data dell. SOLUTION: This system generates an item cell 11 for each item and stores data such as a part table about items, inventory, back order in each data area of the item cell. The cell 11 stores addresses which store a item number, a master item counter 13, a low level code, requirements data 20, item data, part table data 23, inventory data, back order data, lot data and a next item cell. When impartiality of the number of calculable items among MRP calculating parts occurs, the impartiality is canceled by shifting the item cell data which is gathered in each item of a calculable item. Therefore negative load can be shifted without applying large overhead and calculation that is equivalent to conventionally successive MRP calculation can be acquired in a short time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、生産計画が入力さ
れたとき、この生産計画に従って製品を生産するのに必
要な各種部品、原材料の量と納期とを求める資材所要量
計算方法およびシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and a system for calculating a required material amount for obtaining, when a production plan is input, various parts and raw materials required for producing a product in accordance with the production plan and a delivery date. .

【0002】[0002]

【従来の技術】モータ等の一つの製品が指定された場
合、この製品を作るのに必要な部品の種類とその個数と
を自動的に算出する方法の一つとして、資材所要量計画
(Material Requirements Planning、以下MRPと呼
ぶ)が知られている。
2. Description of the Related Art When one product such as a motor is designated, one of the methods for automatically calculating the type and the number of parts required for producing the product is a material requirement plan (Material Requirements Planning). Requirements Planning (hereinafter referred to as MRP) is known.

【0003】MRP及び従来のMRP計算方式は、例え
ば「図説MRP用語500選」(日刊工業新聞社:昭和
58年発行)等に記載があるが、以下、従来のMRP計
算方式について簡単に説明する。
[0003] The MRP and the conventional MRP calculation method are described in, for example, "500 illustrated MRP terms" (Nikkan Kogyo Shimbun, published in 1983). Hereinafter, the conventional MRP calculation method will be briefly described. .

【0004】MRP計算では、立案された製品レベルの
生産計画(Master Production Schedule、以下MPSと
呼ぶ)を基に、部品、原材料などの品目について”必要
なものを(品目)、必要な時に(納期)、必要なだけ
(所要量)”購買したり、製造したりするための手配計
画を計算する。この計算では大きく以下の3つの情報を
必要とする。
[0004] In the MRP calculation, based on a drafted product-level production plan (Master Production Schedule, hereinafter referred to as MPS), "necessary items (items) for parts, raw materials, etc., when necessary (delivery date) ), Calculate the arrangement plan for purchasing or manufacturing as much as necessary (required). This calculation largely requires the following three pieces of information.

【0005】(1)MPS 一般に、部品展開図でトップレベルにある品目(製品)
の生産計画。基準生産計画。
(1) MPS In general, items (products) at the top level in the parts exploded view
Production plan. Standard production plan.

【0006】(2)部品表 「品目データ」と呼ばれる品目に特有のデータと、「製
品構成データ」と呼ばれる、製品と部品、部品と部品、
部品と原材料といった品目と品目の関連を示したデータ
との2つのマスターデータからなる一覧表。
(2) Parts table Data specific to an item called “item data” and products and parts, parts and parts called “product configuration data”
A list including two master data items, such as parts and raw materials, and data indicating the relationship between the items.

【0007】品目データとして、例えば、その部品を製
造したり、購買したりするときに必要となる時間(以
下”リードタイム”と呼ぶ)等がある。また、製品構成
データによって、例えば、ある品目を製造するのに必要
な子品目は何で、製造する品目一つに対し、それぞれの
子品目が幾つ必要になるか(これを各子品目の”員数”
と呼ぶ)といった情報を得ることができる。
The item data includes, for example, the time required for manufacturing or purchasing the part (hereinafter referred to as “lead time”). Also, according to the product composition data, for example, what is a child item necessary to manufacture a certain item, and how many child items are required for one item to be manufactured (the number of child items required for each item) "
) Can be obtained.

【0008】(3)在庫・注残 それぞれの品目について現時点での在庫や仕掛数、ある
いは既に発注済みで将来納品される予定の品目の納期時
期と予定数(注残情報)。
[0008] (3) Inventory and backlog For each item, the current stock and the number of products in process, or the delivery date and planned number of items already ordered and scheduled to be delivered in the future (backlog information).

【0009】このような情報をもとに、MRP計算で
は、各品目に関して以下の5つの計算を行なう。
Based on such information, the following five calculations are performed for each item in the MRP calculation.

【0010】(1)総所要量計算 その品目の所要量データを読み込み、要求されている量
をある期間にまとめて、期間別の総所要量を算出する。
以下、説明を簡単にするため、期間は1日として、日別
の計画立案について説明する。
(1) Calculation of total required amount The required amount data of the item is read, the requested amount is collected into a certain period, and the total required amount for each period is calculated.
Hereinafter, for the sake of simplicity, the period will be one day, and daily planning will be described.

【0011】(2)正味所要量計算 算出された総所要量を基に、在庫や注残への引当を行な
い、日別に必要な正味所要量を算出する。
(2) Calculation of Net Requirement Based on the calculated total requirement, allocation is made for inventory and backlog, and a required net requirement is calculated for each day.

【0012】(3)ロットまとめ 算出された日別の正味所要量を基に、品目に設定されて
いるロットサイズを用いて、手配に最も適した数量にま
とめる。
(3) Lot Summarization Based on the calculated daily net requirement, the lot is set to the most suitable quantity for the order using the lot size set for the item.

【0013】(4)リードタイム計算 ロットまとめされた数量の納期からリードタイムを差し
引き、その発注日または着手日を算出してオーダを作成
する。
(4) Calculation of Lead Time An order is created by subtracting the lead time from the delivery date of the batched quantity and calculating the order date or start date.

【0014】(5)所要量展開 部品表を用いて下位品目へと、作成したオーダを展開す
る。具体的には、オーダの着手日の前日を要求日とし
て、製品構成データの子品目と員数をもとに、各子品目
の要求量を算出し、各品目の所要量データに書き込む。
(5) Developing required quantity The created order is developed into lower-level items using the parts table. More specifically, the required amount of each child item is calculated based on the child items and the number of members of the product configuration data, and the required amount is written to the required amount data of each item, with the day before the start date of the order as the request date.

【0015】上記の(1)から(5)までの計算を総称
して以下、部品展開計算と呼ぶこととする。
The above calculations (1) to (5) are hereinafter collectively referred to as component development calculation.

【0016】MRP計算は、MPSで設定された全ての
製品に関し、その製品を製造する際に必要となる全ての
品目の部品展開計算を行なう。ただし、各品目は、必要
とされている総所要量を求めるために、自己の親品目の
部品展開計算がすべて終了してから行わなければならな
い。
In the MRP calculation, for all the products set by the MPS, a component development calculation of all the items required when manufacturing the products is performed. However, each item must be performed after all of the parts development calculations for its own parent item have been completed in order to determine the total required amount.

【0017】例えば、図19の部品展開図に示すような
構成の製品の場合、品目CLは、品目HC及び品目RC
の子品目となっている。そのため品目CLの総所要量
は、品目HC及び品目RCからの要求量の和となり、品
目CLの部品展開計算は、品目HC及び品目RCの部品
展開計算が終了してから行なわれなければならない。
For example, in the case of a product having a configuration as shown in the parts exploded view of FIG. 19, the item CL includes the item HC and the item RC.
Child item. Therefore, the total required amount of the item CL is the sum of the required amounts from the item HC and the item RC, and the component expansion calculation of the item CL must be performed after the completion of the component expansion calculation of the item HC and the item RC.

【0018】この例では、一製品だけの比較的簡単な部
品構成であったが、実際には数百から数千の製品が、数
万に及ぶ品目で複雑に構成された状態での計算を行なう
必要がある。そこで、従来のMRP計算では、ローレベ
ルコードを導入し、キューを用いて各品目の部品展開計
算の制御を行なっている。キューの代わりにアクティビ
ティチェーンと呼ばれるポインタを使用するものも一般
的であるが、制御の方式としては本質的に全く同じもの
であるので、以下、キューを用いた方式を例に従来のM
RP計算について説明をする。
In this example, a relatively simple component configuration of only one product is used. In practice, however, calculation is performed in a state where hundreds to thousands of products are composed of tens of thousands of items in a complicated manner. You need to do it. Therefore, in the conventional MRP calculation, a low-level code is introduced, and a component development calculation of each item is controlled using a queue. Although it is common to use a pointer called an activity chain instead of a queue, the control method is essentially the same. Therefore, a conventional method using a queue will be described below.
The RP calculation will be described.

【0019】ここで、ローレベルコードについて簡単に
説明する。図19に示すようにある製品の部品展開図を
もとに、各品目には部品構成上のどの階層に属するかで
レベルコードを付与することができる。品目によって
は、複数のレベルコードを持ちうるので、その中でも最
も下位のレベルコードがローレベルコードである。ここ
で、下位とは、部品展開図上でより基本的な品目のレベ
ルに進む方向を指す。
Here, the low-level code will be briefly described. Based on the parts exploded view of a certain product as shown in FIG. 19, a level code can be assigned to each item according to which layer in the parts configuration. Some items can have a plurality of level codes, and the lowest level code among them is the low level code. Here, the term “lower” refers to a direction in which the level proceeds to a more basic item level on the parts exploded view.

【0020】通常、レベルコードは、製品レベルを0レ
ベルとして、基本的な品目に向かって階層が進むに従っ
てレベルコードの数が増える。従って、ローレベルコー
ドは、その品目が持つレベルコードのうち最大の値のレ
ベルコードとなっている。また、このことは、レベルコ
ードとは異なりローレベルコードに関しては各品目にお
いてそれぞれただ一つだけ定まるということである。
Normally, as for the level code, the number of level codes increases as the product level is set to 0 level and the hierarchy proceeds toward the basic items. Therefore, the low level code is a level code having the largest value among the level codes of the item. This also means that, unlike the level code, only one low level code is determined for each item.

【0021】各品目のローレベルコードは、MRP計算
が始まる前に部品表の全ての品目を検索することで設定
されており、品目特有の情報として品目データに書き込
まれている。
The low-level code of each item is set by searching all the items in the parts table before the MRP calculation starts, and is written in the item data as item-specific information.

【0022】このように、ローレベルコードを設定する
ことで、あるレベルより上の品目の部品展開計算が全て
終了していれば、次のレベルに属する品目は全て計算可
能となっていることを保証できる。
As described above, by setting the low-level code, it is possible to calculate that all the items belonging to the next level can be calculated if all the parts development calculations for the items above a certain level have been completed. Can be guaranteed.

【0023】そこで、従来のMRP計算は、ローレベル
コードを利用し、レベル・バイ・レベルで各品目の部品
展開計算の順番を決定している。具体的には、以下の手
順で処理が進められる。
Therefore, the conventional MRP calculation utilizes a low-level code and determines the order of the component development calculation of each item on a level-by-level basis. Specifically, the process proceeds according to the following procedure.

【0024】(1)MPSの読み込み MPSの中の製品レベルの品目に対し、MPSから読み
込んだ要求量を書き込む。また、この時、レベル0のキ
ューにその品目名を入れる。
(1) Reading of MPS For a product-level item in the MPS, the requested amount read from the MPS is written. At this time, the item name is put into the level 0 queue.

【0025】(2)レベル0のキューから計算開始 MPSの読み込みが全て終了した時点で、レベル0のキ
ューから品目名を一つ取り出し、その品目の部品展開計
算を行なう。終了すればキューから次の品目名を取り出
す。ここで、部品展開計算の中の所要量展開時に、子品
目名をその子品目のローレベルコードのキューに入れ
る。但し、既にキューに入っている場合は何もしない。
(2) Start of Calculation from Queue of Level 0 When reading of all MPSs is completed, one item name is taken out of the queue of Level 0 and the component development calculation of the item is performed. When finished, take out the next item name from the queue. Here, at the time of developing the required amount in the parts development calculation, the child item name is put in the queue of the low level code of the child item. However, if it is already in the queue, it does nothing.

【0026】(3)レベル・バイ・レベルの展開 あるレベルのキューが空になったとき、次の下位のレベ
ルのキューから品目名を一つ取り出し、その品目の部品
展開計算を行なう。空になるまではそのレベルのキュー
から取り出し続ける。部品展開計算の所要量展開時に、
子品目名をその子品目のローレベルコードのキューへ入
れる。但し、既にキューに入っている場合は何もしな
い。
(3) Level-by-Level Expansion When a queue at a certain level becomes empty, one item name is taken out from the queue at the next lower level, and a part expansion calculation of the item is performed. Until it is empty, it keeps getting out of the queue at that level. When expanding the required amount of the parts expansion calculation,
Queue the child item name to the child item's low-level code queue. However, if it is already in the queue, it does nothing.

【0027】(4)MRP計算の終了 全てのレベルのキューが空になった時点で計算終了。(4) Completion of MRP calculation Computation is completed when all levels of queues become empty.

【0028】また、上記のような従来のMRP計算方式
の改良として、特開平3−226845号公報記載の
「ツリー構造データ多重処理方式」がある。これは、部
品表のようにレベルが設定されているツリー構造データ
を、一つの対象レベル制御部と複数のデータ処理部を用
いて並列に処理するものである。対象レベル制御部は、
全てのデータ処理部であるレベルの処理が終了するま
で、次のレベルの計算指示を出さない。各データ処理部
は、対象レベル制御部の指示があるまで、次のレベルの
計算を始めない。このように、レベル毎に同期をとって
並列処理の進行制御を行なうものであり、レベル毎に各
品目の部品展開計算を複数のデータ処理部で行うことで
処理の高速化を図っている。
As an improvement of the above-described conventional MRP calculation method, there is a "tree structure data multiplex processing method" described in Japanese Patent Application Laid-Open No. 3-226845. In this method, tree structure data in which levels are set like a parts table are processed in parallel using one target level control unit and a plurality of data processing units. The target level control unit is
Until the processing of one level of all the data processing units is completed, the calculation instruction of the next level is not issued. Each data processing unit does not start calculation of the next level until instructed by the target level control unit. As described above, the progress of the parallel processing is controlled in synchronization with each level, and the processing speed is increased by performing the component development calculation of each item by a plurality of data processing units for each level.

【0029】[0029]

【発明が解決しようとする課題】複数のデータ処理部
で、複数の品目の部品展開計算を同時に行う場合、各デ
ータ処理部に対して、負荷を分散させる必要がある。こ
こで、各データ処理部の負荷とは、そのデータ処理部で
計算すべき品目の計算負荷量の合計を意味する。各品目
の計算負荷量が同程度とすれば、各データ処理部の負荷
の大きさは計算すべき品目の数で表すことができる。各
データ処理部に負荷を分散させることとは、各データ処
理部に計算する品目を割り当てることである。その負荷
分散処理のタイミングとして、下記の3通り考えられ
る。
When a plurality of data processing units simultaneously perform a component development calculation for a plurality of items, it is necessary to distribute the load to each data processing unit. Here, the load of each data processing unit means the total of the calculation load amounts of the items to be calculated by the data processing unit. Assuming that the calculation load of each item is almost the same, the magnitude of the load of each data processing unit can be represented by the number of items to be calculated. Distributing the load to each data processing unit means allocating an item to be calculated to each data processing unit. The following three types of timings of the load distribution processing are considered.

【0030】(1)負荷分散処理をMRP計算処理と同
時に行う方法 例えば、特開平3−226845号公報記載の「ツリー
構造データ多重処理方式」は、この方法である。計算す
る全ての品目を一括管理するデータ保持部が存在し、該
データ保持部が、複数あるデータ処理部に計算すべき品
目を割り当て、各データ処理部では、割り当てられた品
目の計算を行う。該計算を終えたデータ処理部は、また
一括管理するデータ保持部に計算品目の割り当て要求を
する方法である。動的負荷分散方式、または、マスタ・
スレーブ方式とも呼ばれ、処理の過程で負荷分散させる
一般的な方法である。
(1) Method of performing load distribution processing at the same time as MRP calculation processing For example, the "tree structure data multiplex processing method" described in JP-A-3-226845 is this method. There is a data holding unit that collectively manages all the items to be calculated. The data holding unit allocates an item to be calculated to a plurality of data processing units, and each data processing unit calculates the assigned item. The data processing unit that has completed the calculation requests the data holding unit, which is collectively managed, to allocate a calculation item. Dynamic load distribution method or master
It is also called a slave method and is a general method for distributing the load in the process of processing.

【0031】(2)負荷分散処理をMRP計算処理の前
に行う方法 MRP計算を行う前に、各データ処理部に対し、それぞ
れが計算すべき品目を分配する。そして、MRP計算時
は、各データ処理部が、自分に分配された品目だけを処
理する方法である。静的負荷分散方式と呼ばれる。
(2) Method of Performing Load Balancing Processing Before MRP Calculation Processing Before performing MRP calculation, an item to be calculated is distributed to each data processing unit. Then, at the time of MRP calculation, each data processing unit processes only the items distributed to itself. This is called a static load distribution method.

【0032】(3)(1)と(2)を組み合わせた方法 まず、(2)と同様にMRP計算を行う前に、各データ
処理部に計算すべき品目を割り当てる。そして、MRP
計算時は、各データ処理部が、基本的には、自分にあら
かじめ割り当てられた品目に従って処理を進める。しか
し、各データ処理部の間の負荷バランスが崩れた場合に
は、負荷が重いデータ処理部から軽いデータ処理部へ
と、計算品目の割り当てを変更する方法である。
(3) Method Combining (1) and (2) First, before performing the MRP calculation as in (2), an item to be calculated is allocated to each data processing unit. And MRP
At the time of calculation, each data processing unit basically proceeds with the process according to the item assigned to itself. However, when the load balance among the data processing units is lost, the method of changing the allocation of the calculation items from the heavy data processing unit to the light data processing unit is adopted.

【0033】ここで、重要となるのはデータの保持方法
である。(1)の場合、各品目のデータを管理するデー
タ保持部が1個所であり、データ処理部の数が増えると
データアクセス競合が発生し、処理速度が低下するとい
う問題がある。(2)の場合、各々の品目のデータにア
クセスするデータ処理部はあらかじめ決まっているた
め、データ処理部と対になるデータ保持部を用意し、そ
こにデータを格納することでデータアクセス競合を低減
することが可能である。しかしながら、MRP計算にお
いては、在庫引当等により各品目の計算負荷量が動的に
変わる可能性がある。そのため、予め各データ保持部に
計算すべき品目を均等に割り当てておいたとしても、計
算の過程で各データ処理部間の負荷のバランスが崩れ、
全体の処理速度が低下する可能性が高い。従って、上記
の(3)が有望な方法である。ところが、(3)におい
ても問題がある。(3)の場合、(1)のデータアクセ
ス競合という問題を避けるために、(2)と同様にデー
タ保持部をデータ処理部ごとに持つことが基本である。
ところが、処理の過程で、ある品目の計算を予め割り当
てられたデータ処理部と別のデータ処理部で行う場合が
発生する。このとき、その品目に関するデータ一式を、
新たに処理することになったデータ処理部のデータ保持
部へ移さなければならない。従来、各品目に関するデー
タは、部品表、在庫・注残情報、所要量情報と内容ごと
に別々のテーブルで管理されている。そのため、ある品
目に関するデータを、あるデータ保持部から別のデータ
保持部へ移すために、それぞれのテーブルで検索し、転
送することになる。このデータ検索・データ転送の処理
時間のため、負荷バランスを保とうとする処理自体のオ
ーバヘッドが大きく、結局、処理速度が低下する。一
方、全データ処理部に、全品目のデータを保持させるこ
とも考えられるが、膨大なデータエリアが各データ処理
部に必要という問題が生じる。
Here, what is important is the data holding method. In the case of (1), there is a single data holding unit for managing the data of each item, and there is a problem that if the number of data processing units increases, data access competition occurs and the processing speed decreases. In the case of (2), since the data processing unit that accesses the data of each item is predetermined, a data holding unit that is paired with the data processing unit is prepared, and the data is stored therein to prevent data access competition. It is possible to reduce. However, in the MRP calculation, there is a possibility that the calculation load amount of each item dynamically changes due to inventory allocation or the like. Therefore, even if the items to be calculated are uniformly allocated to the respective data holding units in advance, the load balance between the respective data processing units is lost during the calculation process,
There is a high possibility that the overall processing speed will decrease. Therefore, (3) above is a promising method. However, there is also a problem in (3). In the case of (3), in order to avoid the problem of the data access conflict of (1), it is fundamental to have a data holding unit for each data processing unit as in (2).
However, in the course of the processing, there is a case where the calculation of a certain item is performed by a data processing unit assigned in advance and another data processing unit. At this time, a set of data on the item
The data must be transferred to the data holding unit of the data processing unit that is to be newly processed. Conventionally, data relating to each item is managed in a separate table for each of the parts table, stock / unscheduled information, and required quantity information. Therefore, in order to transfer data relating to a certain item from one data holding unit to another data holding unit, it is searched in each table and transferred. Due to the processing time of the data search and the data transfer, the overhead of the processing for maintaining the load balance is large, and the processing speed is eventually reduced. On the other hand, it is conceivable to make all data processing units hold data of all items, but there is a problem that a huge data area is required for each data processing unit.

【0034】本発明は、上記(3)の方法における問題
を解決し、部品展開計算の並列処理により、MRP計算
の処理時間を短縮し、種々の変動に対応して生産計画を
高速に立案することをその目的とする。特にデータ処理
部の数に応じた処理速度の向上を可能とし、更に計算の
過程で計算負荷量が変動しても処理速度を低下させな
い、資材所要量計算方法およびシステムについて述べ
る。
The present invention solves the problem of the above method (3), shortens the processing time of the MRP calculation by parallel processing of the part expansion calculation, and quickly drafts a production plan in response to various fluctuations. That is its purpose. In particular, a method and system for calculating a required material amount, which enables the processing speed to be improved in accordance with the number of data processing units and does not reduce the processing speed even if the calculation load fluctuates in the course of the calculation.

【0035】[0035]

【課題を解決するための手段】上記の目的を達成するた
めに本発明によれば、製品の別途定められた生産計画を
読み込み、該生産計画に基づいて製品の生産を実行する
ために必要となる部品または原材料(以下、品目と呼
ぶ)の種類と、該品目の量と、該品目の納期とを算出す
るMRP計算手段を複数備える資材所要量計算システム
において、前記複数のMRP計算手段は、各々、当該M
RP計算手段で算出すべき品目であると予め定められた
品目に関して、少なくとも、前記品目を製造又は購入す
るときに必要となる期間と、前記品目と他品目との親子
関係と、前記品目についての現在の在庫や仕掛数あるい
は既に発注済みで将来納品される予定の納期と予定数と
を、前記品目ごとにまとめて、前記品目に対応する品目
セルデータとして保持する保持手段を備え、前記複数の
MRP計算手段は、各々、前記生産計画と、前記品目に
対応する品目セルデータとに基づいて、前記生産計画に
基づいて製品の生産を実行するために必要となる前記品
目セルデータに対応する品目の子品目の種類と、該子品
目の量と、該子品目の納期とを算出することができる。
According to the present invention, in order to achieve the above object, it is necessary to read a separately determined production plan of a product and execute production of the product based on the production plan. In a material requirement calculation system including a plurality of MRP calculation means for calculating a type of a part or a raw material (hereinafter, referred to as an item), an amount of the item, and a delivery date of the item, the plurality of MRP calculation means include: Each M
With respect to an item that is determined in advance as an item to be calculated by the RP calculation means, at least a period required when manufacturing or purchasing the item, a parent-child relationship between the item and another item, and Holding means for holding the current inventory and the number of works in progress or the delivery date and the expected number of products already ordered and scheduled to be delivered in the future for each of the items, and holding them as item cell data corresponding to the items; MRP calculation means, based on the production plan and the item cell data corresponding to the item, respectively, the item corresponding to the item cell data required to execute the production of the product based on the production plan Of the child item, the quantity of the child item, and the delivery date of the child item can be calculated.

【0036】また、前記複数のMRP計算手段は、各
々、前記生産計画と、前記品目セルデータとに基づい
て、前記生産計画に基づいて製品の生産を実行するため
に必要となる子品目の種類と、該子品目の量と、該子品
目の納期とを算出する算出手段と、該必要となる子品目
に対応する品目セルデータを、自己の保持手段が有する
か他のMRP計算手段の保持手段が有するかを判定する
判定手段とを備え、自己の保持手段が有する場合には、
該必要となる子品目に対応する品目セルデータに、該子
品目の量と、該子品目の納期とを追記し、前記必要とな
る子品目に対応する品目セルデータを、他のMRP計算
手段の保持手段が有する場合には、該他のMRP計算手
段に、該他のMRP計算手段の保持手段が有する、前記
必要となる子品目に対応する品目セルデータに、該子品
目の量と、該子品目の納期とを追記するように指示する
こともできる。
In addition, the plurality of MRP calculation means each execute a type of child item necessary for executing production of a product based on the production plan based on the production plan and the item cell data. Calculating means for calculating the quantity of the child item and the delivery date of the child item; and holding the item cell data corresponding to the necessary child item in its own holding means or in other MRP calculating means. Determination means to determine whether the means has, when the own holding means has,
The amount of the child item and the delivery date of the child item are added to the item cell data corresponding to the required child item, and the item cell data corresponding to the required child item is added to another MRP calculation means. In the case of having the holding means, the other MRP calculation means, the holding means of the other MRP calculation means has, in the item cell data corresponding to the required child item, the amount of the child item, It can be instructed to add the delivery date of the child item.

【0037】さらに、前記複数のMRP計算手段の動作
を制御する制御手段を備え、前記複数のMRP計算手段
は、各々、当該MRP計算手段で算出すべき品目である
と予め定められた品目のうち、現在、必要となる品目の
量と該品目の納期とが既に算出されている品目の数を、
計算可能品目数として前記制御手段に通知する通知手段
を備え、前記制御手段は、前記通知手段により通知され
た、前記複数のMRP計算手段の各々における計算可能
品目数のうちで、所定の数よりも少ない計算可能品目数
を通知したMRP計算手段があるか否かを検出する検出
手段と、該検出手段により所定の数よりも少ない計算可
能品目数を通知したMRP計算手段があることが検出さ
れた場合に、前記複数のMRP計算手段のうち、計算可
能品目数が多いMRP計算手段を選択する選択手段と、
該選択手段により選択されたMRP計算手段に対して、
必要となる品目の量と該品目の納期とが既に算出されて
いる品目のうちの所定数の品目に対応する品目セルデー
タを、前記検出手段により検出されたMRP計算手段へ
送信するように指示する指示手段と、を備え、前記検出
手段により検出されたMRP計算手段は、前記選択手段
により選択されたMRP計算手段に代わって、送信され
た品目セルデータに基づいて、製品の生産を実行するた
めに必要となる子品目の種類と、該子品目の量と、該子
品目の納期とを算出することもできる。
Further, the apparatus further comprises control means for controlling the operation of the plurality of MRP calculation means, wherein each of the plurality of MRP calculation means is one of the items which are predetermined to be calculated by the MRP calculation means. , The number of items for which the quantity of required items and the delivery date of the items have already been calculated,
Notifying means for notifying the control means as the number of calculable items, wherein the control means has a predetermined number of the calculable items in each of the plurality of MRP calculating means notified by the notifying means. Detecting means for detecting whether there is an MRP calculating means which has notified the number of items which can be calculated, and detecting that there is an MRP calculating means which has notified the number of items which can be calculated less than a predetermined number. Selecting means for selecting, among the plurality of MRP calculating means, an MRP calculating means having a large number of items that can be calculated,
For the MRP calculation means selected by the selection means,
An instruction to transmit the item cell data corresponding to a predetermined number of items out of the items for which the required amount of the item and the delivery date of the item have already been calculated to the MRP calculating means detected by the detecting means. Instruction means for performing the production of a product based on the transmitted item cell data in place of the MRP calculation means selected by the selection means. It is also possible to calculate the type of child item required for this, the amount of the child item, and the delivery date of the child item.

【0038】[0038]

【発明の実施の形態】以下、図面を用いて、本発明の実
施の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0039】図1に、本発明によるデータ保持方式を有
するシステムの全体ブロック図を示す。
FIG. 1 is an overall block diagram of a system having a data holding method according to the present invention.

【0040】このシステムにおいては、システム全体の
制御を行なう一つの作業指示部8に、複数のMRP計算
部が接続されている。これらのMRP計算部のうちの一
つをMRP計算部7として、MRP計算部7の構成につ
いて説明する。
In this system, a plurality of MRP calculation units are connected to one work instruction unit 8 for controlling the entire system. The configuration of the MRP calculator 7 will be described with one of the MRP calculators as the MRP calculator 7.

【0041】MRP計算部7は、このMRP計算部7の
初期処理を行なう初期処理部1と、MRP計算に必要な
データを管理するデータ管理部2とを有する。データ管
理部2は、MRP計算に必要なデータを品目毎に格納す
るデータ保持部32と、MRP計算をすることができる
品目を抽出する計算可能品目抽出部33とを有する。ま
た、MRP計算部7は、MRP計算をすることができる
品目の数と該品目に関するデータが保持されているデー
タ保持部32内のアドレスとを保持する計算可能品目管
理部3と、部品展開計算を行なう部品展開計算部4と、
部品展開計算部4で算出された結果を他のMRP計算部
へ送信したり、他のMRP計算部の部品展開計算部で算
出された結果を受信したり、データ保持部32に格納さ
れたデータを他のMRP計算部へ送信したり、他のMR
P計算部のデータ保持部に格納されたデータを受信した
りするための処理を行なう要求量送受信部5と、メッセ
ージ送受信を管理するメッセージ管理部6とを有する。
The MRP calculator 7 has an initial processor 1 for performing an initial process of the MRP calculator 7 and a data manager 2 for managing data necessary for the MRP calculation. The data management unit 2 includes a data holding unit 32 that stores data required for MRP calculation for each item, and a computable item extraction unit 33 that extracts items for which MRP calculation can be performed. Further, the MRP calculation unit 7 includes a computable item management unit 3 that holds the number of items that can perform the MRP calculation and an address in the data holding unit 32 that holds data related to the item; A part development calculator 4 for performing
The result calculated by the component expansion calculation unit 4 is transmitted to another MRP calculation unit, the result calculated by the component expansion calculation unit of the other MRP calculation unit is received, and the data stored in the data holding unit 32 Is sent to another MRP calculation unit, or another MR
It has a request amount transmitting / receiving unit 5 for performing processing for receiving data stored in the data holding unit of the P calculating unit, and a message managing unit 6 for managing message transmission / reception.

【0042】各MRP計算部のデータ保持部において
は、後で詳述するように、MRP計算に必要なデータを
品目毎に格納する点が、従来のデータ保持部における格
納方法と異なっている。
As will be described in detail later, the data holding unit of each MRP calculation unit differs from the conventional data holding unit in that data required for MRP calculation is stored for each item.

【0043】また、各MRP計算部においては、主とし
て自己の管理している品目の計算を行ない、自己の管理
している品目の中に計算することができる品目がない場
合には、他のMRP計算部から、計算することができる
品目の品目毎に格納されているデータを送信してもらう
ことで、部品展開計算を並列に進めることを特徴として
いる。
Each MRP calculation section mainly calculates the items managed by itself, and if there is no item that can be calculated among the items managed by itself, the other MRP calculation section performs the calculation. It is characterized in that part calculation is advanced in parallel by having the calculation unit transmit data stored for each of the items that can be calculated.

【0044】次に、図1に示すシステムにおける動作を
説明する。
Next, the operation of the system shown in FIG. 1 will be described.

【0045】MRP計算部7は、メッセージ管理部6で
作業指示部8からMRP計算開始指示を受けると、初期
処理部1に処理開始指示を送る。初期処理部は、データ
管理部2に対し、各種製品の要求量であるMPSデー
タ、部品表データ、在庫・注残データの内容を、読み込
み、データ管理部2内のデータ保持部32に品目毎に用
意されたテーブルである「品目セル」の当該データエリ
アに書き込むよう指示する。そして、データ管理部2内
の計算可能品目抽出部33に対し、レベル0の全ての品
目セルのデータアドレスを計算可能品目管理部3へ送る
よう指示する。
When the message management unit 6 receives the MRP calculation start instruction from the work instruction unit 8, the MRP calculation unit 7 sends a processing start instruction to the initial processing unit 1. The initial processing unit reads the contents of the MPS data, the bill of materials, and the stock / unscheduled data, which are the required quantities of various products, to the data management unit 2 and stores the contents for each item in the data holding unit 32 in the data management unit 2. Is instructed to write in the data area of the "item cell" which is a table prepared in the above. Then, it instructs the computable item extraction unit 33 in the data management unit 2 to send the data addresses of all the item cells of level 0 to the computable item management unit 3.

【0046】計算可能品目管理部3は、データ管理部2
内の計算可能品目抽出部33からデータアドレスを受け
取ると、それを計算可能品目として、レベル0のキュー
に登録する。その後、キューからデータアドレスを取り
出し、部品展開計算部4へ送る。部品展開計算部4は、
計算可能品目管理部3から計算可能な品目のデータアド
レスを受け取ると、該品目の部品展開計算を行なう。該
部品展開計算で算出された子品目の要求量は、該子品目
が同じMRP計算部7の計算対象ならデータ管理部2
へ、他のMRP計算部の計算対象ならば要求量送受信部
5へ送られる。
The computable item management unit 3 includes the data management unit 2
When the data address is received from the computable item extraction unit 33 in the, it is registered in the level 0 queue as a computable item. After that, the data address is taken out of the queue and sent to the component development calculation unit 4. The part development calculation unit 4
When receiving the data address of the computable item from the computable item management unit 3, the component development calculation of the item is performed. The required quantity of the child item calculated by the part expansion calculation is the data management unit 2 if the child item is the target of calculation by the same MRP calculation unit 7.
If it is a calculation target of another MRP calculation unit, it is sent to the required amount transmission / reception unit 5.

【0047】データ管理部2は、各品目の要求量をデー
タ保持部32へ送り、該当品目のセルの所要量のデータ
エリアに書き込む。要求量送受信部5は、各品目の要求
量を送信バッファに書き込む。送信バッファが一杯にな
ると、その都度メッセージ管理部6を経て、他のMRP
計算部へ送信バッファに格納された内容を送る。送信先
のMRP計算部では、要求量送受信部がメッセージ管理
部を経て、送信バッファの内容を受信すると、その内容
を各品目の要求量として自己のデータ管理部へ送る。
The data management unit 2 sends the required amount of each item to the data holding unit 32 and writes the required amount in the data area of the required amount of the cell of the item. The required amount transmitting / receiving unit 5 writes the required amount of each item in the transmission buffer. Each time the transmission buffer becomes full, another MRP is passed through the message management unit 6.
The contents stored in the transmission buffer are sent to the calculation unit. In the MRP calculation unit at the transmission destination, when the requested amount transmission / reception unit receives the contents of the transmission buffer via the message management unit, it sends the contents to its own data management unit as the requested amount of each item.

【0048】データ管理部2は、各品目の要求量をデー
タ保持部32へ送り、該当品目の所要量のデータエリア
に書き込む。データ管理部2は、計算可能品目抽出部3
で親子品目間の要求量授受を管理し、親品目からの要求
量が、所要量のデータエリアに書き込まれた品目があれ
ば、該品目を計算可能品目とし、該品目のデータアドレ
スをローレベルコードとともに計算可能品目管理部3へ
送る。但し、これは一番最初に書き込まれた時にのみ行
う。計算可能品目管理部3は、品目のデータアドレスと
ローレベルコードを受け取ると、それを計算可能品目と
して、そのローレベルコードのキューに登録する。計算
可能品目管理部3から送られたレベル0のデータアドレ
スの品目の部品展開計算を終えた部品展開計算部4は、
要求量送受信部5の送信バッファの内容を全て送信し、
その後、作業指示部8へメッセージ管理部6を介してレ
ベル0の計算終了報告を行う。その報告を受けた作業指
示部8は、すべてのMRP計算部からレベル0の終了報
告を受けると、すべてのMRP計算部へ再開指示を送
る。計算可能品目管理部3は、メッセージ管理部6を介
して再開指示を受け取ると、次のレベルのキューからデ
ータアドレスを取り出し、部品展開計算部4へ送る。以
後、レベルごとに同様に行う。全てのMRP計算部から
最後のレベルの計算終了報告を受けた作業指示部8は、
終了指示を全てのMRP計算部に送る。これにより、M
RP計算が終了する。
The data management unit 2 sends the required amount of each item to the data holding unit 32 and writes the required amount in the data area of the required amount of the item. The data management unit 2 includes a computable item extraction unit 3
Manages the transfer of the requested amount between parent and child items, and if there is an item for which the requested amount from the parent item has been written in the required data area, the item is set as a computable item and the data address of the item is set to low level. It is sent to the computable item management unit 3 together with the code. However, this is performed only when the data is first written. Upon receiving the data address and the low level code of the item, the computable item management unit 3 registers it as a computable item in the queue of the low level code. The component expansion calculation unit 4 that has completed the component expansion calculation of the item of the level 0 data address sent from the computable item management unit 3
The entire contents of the transmission buffer of the request amount transmitting / receiving unit 5 are transmitted,
After that, a level 0 calculation completion report is sent to the work instruction unit 8 via the message management unit 6. When receiving the report, the work instructing unit 8 receives the level 0 completion report from all the MRP calculation units and sends a restart instruction to all the MRP calculation units. When the resumable item management unit 3 receives the restart instruction via the message management unit 6, it extracts the data address from the next level queue and sends it to the component development calculation unit 4. Thereafter, the same operation is performed for each level. The work instructing unit 8 which has received the final level calculation completion report from all the MRP calculation units,
An end instruction is sent to all MRP calculation units. This gives M
The RP calculation ends.

【0049】ここで、各レベルにおいて、各計算可能品
目管理部はキューに入っている品目の数を管理する。品
目の数によって、各MRP計算部の状態をブルー、イエ
ロー、レッドと3種類に分ける。ブルーは計算すべき品
目が十分にあり、他のMRP計算部に供給可能な状態、
イエローは他のMRP計算部に提供するよりはそのまま
自分で計算してしまった方が速い状態、レッドはキュー
に入っている品目が残りわずかであり、他のMRP計算
部から供給を要求している状態である。各計算可能品目
管理部は、レベルの最初、及び状態が変化した際に、自
分の最新状態をメッセージ管理部を介して作業指示部8
に報告する。
Here, at each level, each computable item management unit manages the number of items in the queue. According to the number of items, the state of each MRP calculation unit is divided into three types: blue, yellow, and red. Blue indicates that there are enough items to calculate and can be supplied to other MRP calculation units.
Yellow is in a state where it is faster to calculate it as it is than to provide it to other MRP calculators. Red is a queue with few items left and requests supply from other MRP calculators. It is in the state that it is. Each of the computable item management units updates their own state at the beginning of the level and when the state changes, via the message management unit to the work instruction unit 8.
Report to

【0050】作業指示部8は、これらの報告を受け、各
MRP計算部の最新状態を常に保持する。特に、あるM
RP計算部がレッド状態になったという報告を受ける
と、ブルー状態のMRP計算部を一つ選択し、当該MR
P計算部に対し、レッド状態のMRP計算部へ負荷を送
るよう指示する。指示を受けたMRP計算部は、キュー
に入っている品目から複数個を選択し、キューから取り
除くと同時に、当該品目のセルを、レッド状態のMRP
計算部に送る。
The work instructing section 8 receives these reports and keeps the latest state of each MRP calculating section. In particular, some M
Upon receiving a report that the RP calculation unit has entered the red state, one of the MRP calculation units in the blue state is selected, and the corresponding MR
Instruct the P calculator to send the load to the MRP calculator in the red state. Upon receiving the instruction, the MRP calculation unit selects a plurality of items from the queue and removes them from the queue, and at the same time, replaces the cells of the items with the MRP in the red state.
Send to calculation unit.

【0051】当該品目のセルを受け取ったMRP計算部
は、当該セルを自己のデータ保持部にそのまま格納し、
当該品目名をキューにいれ、処理の対象とする。
The MRP calculation unit that has received the cell of the item stores the cell as it is in its own data holding unit,
The item name is put in a queue and processed.

【0052】これにより、まず、基本的に各データ処理
部がアクセスするデータは対となっている各データ保持
部より獲得可能であるため、データアクセス競合が発生
せず、データ処理部の数を増やすことで処理速度の向上
を実現できる。また、処理の過程で負荷のバランスが崩
れた場合、各データ処理部で計算する予定だった品目を
他のデータ処理部で行わせることが可能である。その
際、各データ保持部で品目に関するデータを転送する時
に、その品目に関する情報が既に一個所でまとめられて
管理されているため、当該品目の検索は一回で済み、デ
ータ転送の際も、その品目について情報がまとまってお
り、さらにそれを数個分という形で容易にまとめて送る
ことが可能であるため、データ転送のオーバヘッドを低
減することが可能である。その結果、計算の過程で、各
MRP計算部間で負荷のバランスが崩れても、処理速度
を低下させないことが可能である。
As a result, first, since the data accessed by each data processing unit can be basically obtained from each pair of data holding units, no data access contention occurs and the number of data processing units is reduced. By increasing the number, the processing speed can be improved. Further, when the load balance is lost in the course of processing, it is possible to cause another data processing unit to perform an item that was to be calculated by each data processing unit. At that time, when transferring data related to the item in each data holding unit, since the information about the item is already collected and managed in one place, the search for the item only needs to be performed once. Since the information on the item is collected and can be easily sent together in the form of several items, the overhead of data transfer can be reduced. As a result, it is possible to keep the processing speed from lowering even if the load balance between the MRP calculation units is lost during the calculation process.

【0053】分散メモリ型並列計算機は、図2のように
CPUとメモリをそれぞれ1つずつ備えたPE(Proces
sor Element)が複数存在し、それらがネットワークに
よって結合されたものである。この様な分散メモリ型並
列計算機で、複数の品目の部品展開計算を各PEに生成
されるMRP計算プロセスで同時に行う。ここで、本実
施例が前提とする割り当て処理について簡単に説明す
る。
As shown in FIG. 2, the distributed memory type parallel computer has a PE (Proces) having one CPU and one memory.
sor Element), which are connected by a network. In such a distributed memory type parallel computer, component development calculation of a plurality of items is performed simultaneously in the MRP calculation process generated in each PE. Here, the assignment processing assumed in the present embodiment will be briefly described.

【0054】割り当て処理は、部品表から品目を読み込
み、各PEに割り当て、品目番号をキーとし、割り当て
られたPE番号を示すテーブルに結果を格納する。割当
PEを決定する方法としては、様々な方法がある。例え
ば、最も簡単な割当決定方法は、部品表の品目を順番に
各PEに割り当てるというものである。このような割当
決定方法を用いて、全ての品目に関して割当PEを決定
した後、品目に関するMPS、部品表、在庫・注残等の
データを、各品目の割当PE番号に従って分散配置し、
終了する。
In the assignment process, an item is read from the parts table, assigned to each PE, and the result is stored in a table indicating the assigned PE number using the item number as a key. There are various methods for determining the assignment PE. For example, the simplest assignment determination method is to assign items in a bill of materials to each PE in turn. After determining the allocation PE for all the items using such an allocation determination method, the MPS, the bill of materials, the stock / unscheduled data on the items are distributed and arranged according to the allocation PE number of each item,
finish.

【0055】分散メモリ型並列計算機での本発明の構成
は、図3のようにPE毎にMRP計算部7に相当するM
RP計算プロセス9を配置し、この複数あるMRP計算
プロセスの処理状態を管理し、MRP計算の開始・終了
指示等を行なう作業指示部8を備えた制御プロセス10
を一つ用意する。MRP計算プロセスは、データ管理部
でメモリ上のデータの入出力を管理する。メモリ上には
部品表データ、在庫・注残データ等を品目毎にまとめな
おした品目セル11を持つ。計算可能品目管理部は、計
算可能な品目の品目セル先頭アドレスをローレベル別に
格納するジョブキュー15とローレベル別のジョブキュ
ーに入っているジョブ数を表すジョブカウンタ14を備
える。また、計算中のローレベルを表すレベルカウンタ
16をも持つ。要求量送受信部には、他のMRP計算プ
ロセスに割り当てられた品目へ要求量を送るための送信
バッファである要求量キャリア17、及び負荷を移動さ
せるために品目セルデータを送るための品目セルキャリ
ア18を、それぞれ他のMRP計算プロセス分だけ設け
る。制御プロセス10には、各MRPプロセスの状態を
保持する状態テーブル40を用意する。
The configuration of the present invention in the distributed memory type parallel computer is similar to the MRP calculation unit 7 for each PE as shown in FIG.
A control process 10 including an RP calculation process 9, managing the processing states of the plurality of MRP calculation processes, and including a work instruction unit 8 for instructing start / end of the MRP calculation.
Prepare one. In the MRP calculation process, the data management unit manages input / output of data on the memory. The memory has an item cell 11 in which parts table data, stock / unscheduled data, and the like are rearranged for each item. The computable item management unit includes a job queue 15 that stores the item cell head address of a computable item for each low level, and a job counter 14 that indicates the number of jobs in the job queue for each low level. It also has a level counter 16 that indicates the low level being calculated. The request amount transmitting / receiving unit includes a request amount carrier 17 which is a transmission buffer for transmitting a request amount to an item allocated to another MRP calculation process, and an item cell carrier for transmitting item cell data for moving a load. 18 are provided for each of the other MRP calculation processes. The control process 10 prepares a state table 40 for holding the state of each MRP process.

【0056】次に、分散メモリ型並列計算機での本発明
の具体的な処理の流れを図面を用いて説明する。
Next, a specific processing flow of the present invention in the distributed memory type parallel computer will be described with reference to the drawings.

【0057】図4は制御プロセスの処理を示すフローチ
ャートである。制御プロセスは、まず最初に各PEにM
RP計算プロセスを生成し(ステップ402)、生成し
たMRP計算プロセスから、該MRP計算プロセスのP
E番号とプロセス番号を受信する(ステップ404)。
すべてのMRP計算プロセスから受信したか否かを判定
し(ステップ406)、未受信のものがある場合には、
ステップ404へ戻る。すべてのMRP計算プロセスか
らPE番号とプロセス番号とを受信したら、受信した情
報から、MRP計算プロセスが存在するPEの名前とM
RP計算プロセス番号の一覧表を作成し、全MRP計算
プロセスに配布する(ステップ408)。MRP計算プ
ロセスは、この配布した一覧表をもとに要求量キャリア
及び品目セルキャリアを作成する。制御プロセスは、一
覧表を配布した後、全てのMRP計算プロセスに対して
MRP計算に必要な部品表等のデータの一括読み込み指
示を行い(ステップ410)、MRP計算プロセスから
の一括読み込み終了報告を待つ(ステップ412)。全
てのMRP計算プロセスから一括読み込み終了報告を受
けると(ステップ414)、次に、全てのMRP計算プ
ロセスに対してMRP計算指示を行い(ステップ41
6)、MRP計算プロセスからの状態報告もしくはレベ
ル終了報告を待つ(ステップ418)。
FIG. 4 is a flowchart showing the processing of the control process. The control process starts with M
An RP calculation process is generated (step 402), and the PRP of the MRP calculation process is calculated from the generated MRP calculation process.
The E number and the process number are received (step 404).
It is determined whether or not it has been received from all MRP calculation processes (step 406).
Return to step 404. When the PE number and the process number are received from all the MRP calculation processes, the received information indicates the name and M of the PE in which the MRP calculation process exists.
A list of RP calculation process numbers is created and distributed to all MRP calculation processes (step 408). The MRP calculation process creates a required amount carrier and an item cell carrier based on the distributed list. After distributing the list, the control process instructs all MRP calculation processes to read data such as a parts list necessary for MRP calculation at a time (step 410), and sends a batch read completion report from the MRP calculation process. Wait (step 412). When the batch read completion report is received from all the MRP calculation processes (step 414), next, an MRP calculation instruction is issued to all the MRP calculation processes (step 41).
6) Wait for a status report or level end report from the MRP calculation process (step 418).

【0058】ここで、各MRPプロセスの状態の定義を
説明する。各MRPプロセスの状態は、現在計算中のロ
ーレベルのキューに入っている品目の数で決まる。状態
は、品目の数の多い順に、ブルー、イエロー、レッドの
3種類に別れる。ブルーとイエローの境界となる品目の
数は、例えば、他MRPプロセスに渡すよりは自分で計
算してしまった方が早い限界値を用いる。これは、品目
セルデータの移動に時間がかかるため、各MRPプロセ
スでのキューの品目数の差がある一定値より小さけれ
ば、品目セルデータを移動させて、キュー内の品目数を
均等にするよりも、品目数に差があったまま各MRP計
算プロセスで計算を続行した方が早くなる場合があるた
めである。イエローとレッドの境界となる品目の数は、
例えば、他のMRP計算プロセスから品目セルのデータ
が欲しいとリクエストを出してから、実際に届くまでの
間の時間に処理できる品目の数を用いる。これにより、
各MRP計算プロセスが処理すべき品目をすべて完了し
て、何もせずに遊ぶ状態を減らすことが可能となる。こ
れら、各状態の境界となる品目の数は、並列計算機の性
能によって異なるため、実験等をもとに決定する。まと
めると、ブルー状態であれば他に負荷を提供可能、レッ
ド状態では他から負荷を要求、イエロー状態は、他に提
供もできず他からも要求しないという状態である。
Here, the definition of the state of each MRP process will be described. The state of each MRP process is determined by the number of items in the low-level queue currently being calculated. The status is divided into three types, blue, yellow, and red, in descending order of the number of items. For the number of items at the boundary between blue and yellow, for example, a limit value that is calculated earlier by itself rather than passed to another MRP process is used. This takes time to move the item cell data. If the difference in the number of items in the queue in each MRP process is smaller than a certain value, the item cell data is moved to equalize the number of items in the queue. This is because it may be faster to continue the calculation in each MRP calculation process while there is a difference in the number of items. The number of items at the border between yellow and red is
For example, the number of items that can be processed in the time from when a request for data of an item cell is requested from another MRP calculation process to when the data actually arrives is used. This allows
Each MRP calculation process completes all the items to be processed, and it is possible to reduce the state of playing without doing anything. Since the number of items at the boundary of each state depends on the performance of the parallel computer, it is determined based on experiments and the like. In summary, in the blue state, another load can be provided, in the red state, a load is requested from the other, and in the yellow state, no other load can be provided and no other request is made.

【0059】図4のステップ418において、MRP計
算プロセスから受信したメッセージが状態報告であった
場合には、ステップ426へ進み、状態報告対応処理を
行なう。
In step 418 of FIG. 4, if the message received from the MRP calculation process is a status report, the flow advances to step 426 to perform a status report corresponding process.

【0060】図5に制御プロセスにおける状態報告対応
処理のフローチャートを示す。制御プロセスがあるMR
P計算プロセスから状態報告を受け取ると、図6に示す
状態テーブル40の該当欄を更新する(ステップ50
2)。図6に示すように、状態テーブル40は、PE番
号と、該PE番号を有するPEで実行されているMRP
計算プロセス番号と、該MRP計算プロセス番号を有す
るMRP計算プロセスで実行されているジョブ数と、該
MRP計算プロセスの状態とを、各PEについて対にし
て格納している。
FIG. 5 shows a flowchart of the status report handling process in the control process. MR with control process
When the status report is received from the P calculation process, the corresponding column of the status table 40 shown in FIG. 6 is updated (step 50).
2). As shown in FIG. 6, the status table 40 includes a PE number and the MRP executed in the PE having the PE number.
The calculation process number, the number of jobs executed in the MRP calculation process having the MRP calculation process number, and the state of the MRP calculation process are stored as a pair for each PE.

【0061】状態報告がレッド状態になったか否かを判
定し(ステップ504)、状態報告がレッド状態になっ
たというものの場合、ブルー状態で、かつ、キュー内の
品目数が最も多いMRP計算プロセスを検索する(ステ
ップ506)。検索結果、該当するMRP計算プロセス
が存在するか否かを判定し(ステップ508)、該当す
るMRP計算プロセスに対して、状態報告をしてきたM
RP計算プロセスへのExport_MSGを送信する(ステップ
510)。これは、検索結果の該当MRPプロセスに対
して、レッド状態になったMRPプロセスへ負荷を移動
させるよう指示するということである。ステップ508
でブルー状態のMRP計算プロセスがない場合には、Ar
rived_MSGを状態報告をしてきたMRP計算プロセスへ
送る(ステップ512)。ステップ504で、レッド状
態になったという状態報告以外の状態報告を受けたと判
定された場合も、Arrived_MSGを当該MRP計算プロセ
スへ送る(ステップ512)。
It is determined whether the status report has reached the red status (step 504). If the status report has reached the red status, the MRP calculation process in the blue status and having the largest number of items in the queue is performed. Is retrieved (step 506). As a result of the search, it is determined whether or not the corresponding MRP calculation process exists (step 508), and a status report is sent to the corresponding MRP calculation process.
Send Export_MSG to the RP calculation process (step 510). This means that the corresponding MRP process in the search result is instructed to shift the load to the MRP process that has become red. Step 508
If there is no MRP calculation process in the blue state at
The "rived_MSG" is sent to the MRP calculation process that has reported the status (step 512). If it is determined in step 504 that a status report other than the status report of the red status has been received, Arrived_MSG is sent to the MRP calculation process (step 512).

【0062】図4のフローチャートに戻る。ステップ4
18でレベル終了報告を受信したと判定され、ステップ
420で全てのMRP計算プロセスからそのレベルの計
算品目についてレベル終了報告を受けたと判定される
と、今度は、全てのMRP計算プロセスに対して、次の
レベルの計算を行うようMRP計算指示を行う(ステッ
プ422)。全レベルを終了したか否かを判定し(ステ
ップ424)、全レベルを終了した場合、MRP計算結
果である各品目の所要量データ等の一括書き込み指示を
行い(ステップ428)、MRP計算プロセスからの一
括書き込み終了報告を待つ(ステップ430)。全ての
MRP計算プロセスから一括書き込み終了報告を受けた
か否かを判定し(ステップ432)、全てのMRP計算
プロセスから一括書き込み終了報告を受けると、最後に
全てのMRP計算プロセスに対してMRP計算終了指示
を行い(ステップ434)、制御プロセスも終了する。
Returning to the flowchart of FIG. Step 4
If it is determined at 18 that a level end report has been received, and at step 420 it is determined that a level end report has been received for a calculation item at that level from all MRP calculation processes, then for all MRP calculation processes, An MRP calculation instruction is issued to perform the next level calculation (step 422). It is determined whether or not all levels have been completed (step 424). If all levels have been completed, an instruction is issued to collectively write the required amount data of each item, which is the MRP calculation result (step 428), and the MRP calculation process starts. Wait for a batch write completion report (step 430). It is determined whether or not a batch write completion report has been received from all the MRP calculation processes (step 432). When a batch write completion report has been received from all the MRP calculation processes, the MRP calculation ends for all the MRP calculation processes. An instruction is issued (step 434), and the control process ends.

【0063】図7はMRP計算プロセスの処理を示すフ
ローチャートである。MRP計算プロセスは、制御プロ
セスにより生成された後、該MRP計算プロセスが存在
するPEのPE番号と、該MRP計算プロセスのプロセ
ス番号を制御プロセスに送信し(ステップ702)、制
御プロセスからMRP計算プロセス番号一覧表を受信す
る(ステップ704)。受信した一覧表から、他のMR
P計算プロセスへ割り当てられた子品目へ要求量を送信
するための要求量キャリア、及び負荷を移動させるため
の品目セルキャリアを、自分以外のMRP計算プロセス
毎に作成する(ステップ706)。そして、制御プロセ
スからの作業指示メッセージ受信待ち状態になり(ステ
ップ708)、ステップ710で受信した作業指示メッ
セージのタイプを判定し、制御プロセスの作業指示に従
って、以下の4つの処理を行う。
FIG. 7 is a flowchart showing the processing of the MRP calculation process. After being generated by the control process, the MRP calculation process sends the PE number of the PE in which the MRP calculation process exists and the process number of the MRP calculation process to the control process (step 702). A number list is received (step 704). From the received list, select another MR
A request amount carrier for transmitting the request amount to the child item allocated to the P calculation process and an item cell carrier for shifting the load are created for each MRP calculation process other than the own (step 706). Then, the system enters a state of waiting for a work instruction message from the control process (step 708), determines the type of the work instruction message received in step 710, and performs the following four processes according to the work instruction of the control process.

【0064】(1)一括読み込み処理(ステップ71
2) 一括読み込み処理は、一括読み込み指示を受けて行う処
理である。ハードディスクから、割り当てられた品目に
関するMPS、部品表等のMRP計算に必要なデータ
を、一括してメモリに展開する。この時、品目に関する
部品表、在庫・注残、等のデータは、各品目毎に品目セ
ル11を作成し、図8に示すような該品目セルの各デー
タエリアに格納する。ここで、品目セルの各データエリ
アについて説明する。図8に示すように、品目セルに
は、品目番号、親品目カウンタ13、ローレベルコー
ド、所要量データ20、品目データ、部品表データ2
3、在庫データ、注残データ、ロットデータ、次の品目
セルを格納しているアドレス、を格納するためのデータ
エリアが用意されている。各品目セルは、当該品目セル
に格納される品目の品目番号をキーとして、該キーを、
よく知られているHash関数によりキー変換して得られる
Hashテーブル[0]から[n]までのうちの該当テーブ
ルに格納されている。
(1) Batch read processing (step 71)
2) The batch reading process is a process performed in response to a batch reading instruction. From the hard disk, data necessary for MRP calculation, such as MPS and a bill of materials, for the assigned item is collectively developed in the memory. At this time, an item cell 11 is created for each item for data such as a parts table, inventory / unscheduled data, and the like, and stored in each data area of the item cell as shown in FIG. Here, each data area of the item cell will be described. As shown in FIG. 8, the item cell includes an item number, a parent item counter 13, a low-level code, a required amount data 20, an item data, and a bill of materials data 2.
3. A data area is provided for storing inventory data, backlog data, lot data, and an address for storing the next item cell. Each item cell uses the item number of the item stored in the item cell as a key, and
Obtained by key conversion using the well-known Hash function
Hash tables [0] to [n] are stored in the corresponding table.

【0065】また、レベルカウンタ他各種カウンタを0
に初期化する。その後、MPSデータを、一件ずつ読み
込み、該当品目の所要量データに書き込む。この時、所
要量データを書き込んだ品目については、計算可能品目
管理部内の当該品目のローレベルコードのジョブキュー
に品目セルアドレスを登録し、ローレベル毎のキューに
品目がそれぞれいくつ登録されているかを示す、ジョブ
カウンタをインクリメントする。全てのデータをメモリ
に展開した後は、制御プロセスに一括読み込み終了報告
を行い(ステップ714)、ステップ708へ戻って作
業指示メッセージ受信待ち状態になる。
The level counter and other various counters are set to 0.
Initialize to After that, the MPS data is read one by one and written to the required amount data of the corresponding item. At this time, for the item for which the required amount data has been written, the item cell address is registered in the job queue of the low-level code of the item in the computable item management unit, and how many items are registered in the queue for each low level, respectively. , The job counter is incremented. After all the data has been loaded into the memory, a batch reading completion report is sent to the control process (step 714), and the process returns to step 708 to wait for a work instruction message.

【0066】(2)MRP計算処理(ステップ716) MRP計算処理は、MRP計算指示を受けて行う処理で
ある。図9にこの処理のフローチャートを示す。図8の
品目関連データ構造、図10のジョブカウンタ及びジョ
ブキューのデータ構造も用いて説明する。図10に示す
ように、ジョブカウンタ14は、レベル毎に用意され、
当該レベルの計算可能な品目の数を格納する。また、ジ
ョブキュー15は、当該レベルの計算可能な品目の、デ
ータ管理部内の品目セルを格納しているアドレスを格納
する。ジョブキュー15は、具体的には、図10に示す
ようなList構造になっており、ジョブキュー15の最初
のハコには、当該レベルの計算可能なジョブの先頭アド
レスとして、次のハコのアドレスを格納し、該次のハコ
のアドレスには、当該レベルの計算可能な品目の品目セ
ルアドレスと該ハコの次のハコのアドレスとを格納す
る。以下、各ハコには、順次、当該レベルの計算可能な
品目の品目セルアドレスと該ハコの次のハコのアドレス
とを格納する。
(2) MRP Calculation Process (Step 716) The MRP calculation process is a process performed in response to an MRP calculation instruction. FIG. 9 shows a flowchart of this processing. The description will be given using the item-related data structure in FIG. 8 and the data structure of the job counter and the job queue in FIG. As shown in FIG. 10, the job counter 14 is prepared for each level,
Stores the number of computable items at that level. Further, the job queue 15 stores an address of an item which can be calculated at the level, which stores an item cell in the data management unit. Specifically, the job queue 15 has a List structure as shown in FIG. 10, and the first box of the job queue 15 has the address of the next box as the start address of a job that can be calculated at that level. Is stored in the next box address, the item cell address of the item that can be calculated at the level and the next box address of the box. Hereinafter, in each box, the item cell address of the item that can be calculated at the level and the address of the box next to the box are sequentially stored.

【0067】図9のフローチャートの説明をすると、ま
ず、最初に、送信メッセージカウンタを0に初期化する
(ステップ902)。レベルカウンタの示すレベルのジ
ョブカウンタの値を参照し、ブルー、イエロー、レッド
の状態判定をした後、カウンタの値と共に状態報告を制
御プロセスに対して行う。そして送信メッセージカウン
タをインクリメントする(ステップ904)。
Referring to the flowchart of FIG. 9, first, a transmission message counter is initialized to 0 (step 902). After referring to the value of the job counter at the level indicated by the level counter and determining the status of blue, yellow, and red, a status report is sent to the control process together with the counter value. Then, the transmission message counter is incremented (step 904).

【0068】それから、メッセージ受信チェックを行う
(ステップ906)。メッセージ受信チェックで、要求
量キャリアからの読み込みを促すCarry_MSGを受信して
いた場合、「Carry_MSG対応処理」を行う(ステップ9
08)。品目セルキャリアからの読み込みを促すCell_M
SGを受信していた場合、「Cell_MSG対応処理」を行う
(ステップ910)。負荷の移動指示を示すExport_MSG
を受信していた場合、「Export_MSG対応処理」を行う
(ステップ912)。送信したメッセージが無事届いた
ことを示すArrived_MSGを受信していた場合、送信メッ
セージカウンタをデクリメントする(ステップ91
4)。これらのメッセージ対応の処理が終了後、ジョブ
カウンタの値を参照し、ブルー、イエロー、レッドの状
態判定をし(ステップ916)、もし、状態が変化して
いれば、ジョブカウンタの値と共に状態報告を制御プロ
セスに対して行い、送信メッセージカウンタをインクリ
メントする(ステップ918)。もし、状態が変化して
いなければ、ステップ920へ進む。
Then, a message reception check is performed (step 906). In the message reception check, if Carry_MSG prompting reading from the requested amount carrier has been received, “Carry_MSG corresponding processing” is performed (step 9).
08). Cell_M to prompt reading from item cell carrier
If the SG has been received, “Cell_MSG corresponding processing” is performed (step 910). Export_MSG indicating load transfer instruction
If it has received “Export_MSG”, it performs “Export_MSG corresponding processing” (step 912). If Arrived_MSG indicating that the transmitted message has arrived successfully has been received, the transmitted message counter is decremented (step 91).
4). After the processing corresponding to these messages is completed, the statuses of the blue, yellow, and red are determined by referring to the values of the job counter (step 916). If the status has changed, the status report is sent together with the job counter value. Is performed on the control process, and the transmission message counter is incremented (step 918). If the state has not changed, go to step 920.

【0069】次に、ジョブカウンタの値が0であるか否
かを判定する(ステップ920)。ジョブカウンタの値
が0の場合、空の要求量キャリア以外は、届け先MRP
プロセス名称を付けてCarry_MSGによりすべて送信し、
送信メッセージカウンタを送信したキャリアの数だけイ
ンクリメントする(ステップ922)。送信した要求量
キャリアは初期化する(ステップ924)。要求量キャ
リアがすべて空の場合は何もしない。その後、更に、送
信メッセージカウンタが0であるか否かを判定し(ステ
ップ926)、送信メッセージカウンタが0の場合、レ
ベル終了報告を制御プロセスに行い、レベルカウンタを
インクリメントして(ステップ928)、ステップ90
6の作業指示メッセージ受信待ち状態に戻る。ステップ
926で送信メッセージカウンタが1以上の場合、ステ
ップ906のメッセージ受信チェックへ戻る。
Next, it is determined whether or not the value of the job counter is 0 (step 920). If the value of the job counter is 0, the destination MRP except for the empty requested amount carrier
Send all by Carry_MSG with process name,
The transmission message counter is incremented by the number of transmitted carriers (step 922). The transmitted request amount carrier is initialized (step 924). If all requested quantity carriers are empty, do nothing. Thereafter, it is further determined whether or not the transmission message counter is 0 (step 926). If the transmission message counter is 0, a level end report is made to the control process, and the level counter is incremented (step 928). Step 90
The process returns to the work instruction message reception waiting state of No. 6. If the transmission message counter is 1 or more in step 926, the process returns to step 906 for checking message reception.

【0070】ステップ920においてジョブカウンタが
0でない場合、ジョブキューから計算可能品目の品目セ
ルアドレスを取り出し(ステップ930)、「部品展開
計算処理」を行う(ステップ932)。そして、ジョブ
カウンタをデクリメントし(ステップ934)、ステッ
プ906のメッセージ受信チェックに戻る。
If the job counter is not 0 in step 920, the item cell address of the computable item is extracted from the job queue (step 930), and "parts development calculation processing" is performed (step 932). Then, the job counter is decremented (step 934), and the process returns to the message reception check of step 906.

【0071】図11は「部品展開計算処理」のフローチ
ャートである。図8の品目関連データ構造も用いて説明
する。部品展開計算処理は、「従来の技術」で「図説M
RP用語500選」を例に説明した通り、総所要量計
算、正味所要量計算、ロットまとめ、リードタイム計
算、所要量展開の順で各処理を行う。
FIG. 11 is a flowchart of the “parts development calculation process”. This will be described with reference to the item-related data structure shown in FIG. The part development calculation process is described in
As described in the example of "500 RP terms", each process is performed in the order of total requirement calculation, net requirement calculation, lot combination, lead time calculation, and requirement development.

【0072】従来のMRPと違うところは、「複数PE
で処理を行う」為、それに関連する処理が所要量展開に
加わる。要求量授受が複数PEにまたがるか否かの判
定、複数PEにまたがる場合の処理、そして所要量を算
出後に、ジョブキューに登録品目があるか否かの判定と
登録品目がない場合の要求量キャリアの送信処理が加わ
る。具体的には図11に示すように、子品目の割当PE
番号23が親品目と同一のPEであれば、該子品目の品
目セルを検索し、全ロットに対する納期と要求量を算出
し、「品目セル書き込み処理」を行う。該子品目が親品
目と違う割当PE番号の場合は、「要求量キャリア書き
込みデータエリア決定処理」を行う。そして、同一PE
と同様に全ロットに対する納期と要求量を算出し、要求
量キャリアのその品目の欄に書き込む。
What is different from the conventional MRP is that “multiple PEs
In this case, related processing is added to the required amount development. Determining whether or not the request quantity transfer spans multiple PEs, processing if multiple PEs are processed, and, after calculating the required quantity, determining whether there is a registered item in the job queue and request quantity when there is no registered item Carrier transmission processing is added. More specifically, as shown in FIG.
If the number 23 is the same PE as the parent item, the item cell of the child item is searched, the delivery date and the required amount for all lots are calculated, and the “item cell writing process” is performed. If the child item has an assigned PE number different from that of the parent item, “request amount carrier write data area determination processing” is performed. And the same PE
In the same manner as described above, the delivery date and the required quantity for all the lots are calculated and written in the column of the item of the required quantity carrier.

【0073】図11に示した処理を、一つづつ順に説明
する。まず、ステップ1102で、総所要量計算、正味
所要量計算、ロットまとめ、リードタイム計算を行な
い、ステップ1104以降で所要量展開を行なう。ステ
ップ1104では、全子品目について所要量展開を行な
ったか否かを判定する。全子品目について所要量展開を
行なった場合には、処理を終了する。全子品目について
所要量展開を行なっていない場合には、ステップ110
6へ進み、当該子品目が該PEの割当て品目か否かを判
定する。
The processing shown in FIG. 11 will be described one by one in order. First, in step 1102, a total requirement calculation, a net requirement calculation, a lot combination, and a lead time calculation are performed, and the requirement development is performed in step 1104 and thereafter. In step 1104, it is determined whether the required quantity has been developed for all the child items. When the required quantity has been developed for all the child items, the processing is terminated. If the required amount has not been developed for all child items, step 110
Proceeding to 6, it is determined whether the child item is an item assigned to the PE.

【0074】当該子品目が該PEの割当て品目である場
合には、ステップ1108へ進み、当該子品目の品目セ
ルを検索する。当該子品目の全ロットについて納期と要
求量とを算出したか否かを判定し(ステップ111
0)、全ロットについて納期と要求量とを算出した場合
には、ステップ1118へ進み、次の子品目を当該子品
目として、ステップ1104へ戻る。ステップ1110
で、全ロットについて納期と要求量とを算出していない
場合には、当該ロットについて納期と要求量とを算出し
(ステップ1112)、子品目セル書き込み処理を行な
って(ステップ1114)、次ロットを当該ロットとし
て(ステップ1116)、ステップ1110へ戻る。
If the child item is an item assigned to the PE, the flow advances to step 1108 to search for an item cell of the child item. It is determined whether the delivery date and the required quantity have been calculated for all the lots of the child item (step 111).
0), when the delivery date and the required amount have been calculated for all lots, the process proceeds to step 1118, and the process returns to step 1104 with the next child item as the child item. Step 1110
If the delivery date and the required quantity have not been calculated for all the lots, the delivery date and the required quantity are calculated for the lot (step 1112), and a child item cell writing process is performed (step 1114). Is set as the lot (step 1116), and the process returns to step 1110.

【0075】ステップ1106で、当該子品目が該PE
の割当て品目でない場合には、ステップ1120へ進
み、要求量キャリア書き込みデータエリア決定処理を行
う。当該子品目の全ロットについて納期と要求量とを算
出したか否かを判定し(ステップ1122)、全ロット
について納期と要求量とを算出した場合には、ステップ
1118へ進み、次の子品目を当該子品目として、ステ
ップ1104へ戻る。ステップ1122で、全ロットに
ついて納期と要求量とを算出していない場合には、当該
ロットについて納期と要求量とを算出し(ステップ11
24)、要求量キャリアに納期、要求量を追加して(ス
テップ1126)、次ロットを当該ロットとして(ステ
ップ1128)、ステップ1122へ戻る。
At step 1106, the child item is
If not, the process proceeds to step 1120 to perform a required-amount carrier writing data area determination process. It is determined whether the delivery date and the required amount have been calculated for all the lots of the child item (step 1122). If the delivery date and the required amount have been calculated for all the lots, the process proceeds to step 1118, and the next child item is executed. , And returns to step 1104. If the delivery date and the required amount have not been calculated for all lots in step 1122, the delivery date and the required amount are calculated for the lot (step 11).
24), the delivery date and the requested amount are added to the requested amount carrier (step 1126), the next lot is set as the lot (step 1128), and the process returns to step 1122.

【0076】図12は「要求量キャリア書き込みデータ
エリア決定処理」のフローチャートである。図8の品目
関連データ構造、図13の要求量キャリアデータ構造と
併せて説明する。図13に示すように、要求量キャリア
は、行先PE番号26と、行先プロセス番号27と、品
目番号28と、該品目番号を有する品目の納期と要求量
とを格納することができる。
FIG. 12 is a flowchart of the "request amount carrier write data area determination process". An explanation will be given in conjunction with the item-related data structure in FIG. 8 and the required amount carrier data structure in FIG. As shown in FIG. 13, the requested amount carrier can store the destination PE number 26, the destination process number 27, the item number 28, and the delivery date and requested amount of the item having the item number.

【0077】要求量キャリア書き込みデータエリア決定
処理は、まず、要求量キャリアの行先PE番号26が、
子品目データの割当PE番号23と同じ要求量キャリア
を検索する(ステップ1202)。そして、該要求量キ
ャリアに同じ子品目の要求量が、既に書き込まれている
か否かのチェックを行う(ステップ1204)。書き込
まれていれば、そのデータエリアを該子品目の書き込み
エリアとする(ステップ1206)。書き込まれていな
ければ、新規のデータエリアを該子品目の書き込みエリ
アとする。このとき、要求量キャリアがいっぱいで、新
規のデータエリアが得られないか否かを判定し(ステッ
プ1208)、新規のデータエリアが得られなければ、
該要求量キャリアに格納された内容をメッセージ管理部
を介して送信する(ステップ1210)。その際、送信
メッセージカウンタをインクリメントする。送信後、該
要求量キャリアを初期化し(ステップ1212)、新規
データエリアを該子品目の書き込みエリアとする(ステ
ップ1214)。ステップ1208において、要求量キ
ャリアに空きがあり、新規のデータエリアが得られる場
合には、ステップ1214へ進み、新規データエリアを
該子品目の書き込みエリアとする。
In the request amount carrier write data area determination processing, first, the destination PE number 26 of the request amount carrier is
The requested amount carrier having the same PE number 23 as the child item data is searched (step 1202). Then, it is checked whether the requested amount of the same child item has already been written in the requested amount carrier (step 1204). If it has been written, the data area is used as a writing area for the child item (step 1206). If not, the new data area is used as the writing area for the child item. At this time, it is determined whether or not the requested data carrier is full and a new data area cannot be obtained (step 1208).
The content stored in the requested amount carrier is transmitted via the message management unit (step 1210). At this time, the transmission message counter is incremented. After the transmission, the required amount carrier is initialized (step 1212), and the new data area is set as a writing area for the child item (step 1214). In step 1208, if there is a vacancy in the requested amount carrier and a new data area is obtained, the process proceeds to step 1214, where the new data area is set as a writing area of the child item.

【0078】図14は「子品目セル書き込み処理」のフ
ローチャートである。図8の品目関連データ構造も用い
て説明する。子品目セル書き込み処理は、子品目の納期
と要求量を、該子品目の品目セルの所要量データに追加
する(ステップ1402)。そして、該要求量が最終ロ
ットのものであるか否かを判定し(ステップ140
4)、該要求量が最終ロットのものでなければ終了す
る。該要求量が最終ロットのものである場合には、該子
品目の親品目カウンタ13をインクリメントし(ステッ
プ1406)、インクリメントした結果、親品目カウン
タ13の値が1であるか否かを判定する(ステップ14
08)。親品目カウンタ13の値が1であれば、該品目
セルのアドレスを該品目のレベルコードのジョブキュー
に登録し(ステップ1410)、そのレベルコードのジ
ョブカウンタをインクリメントして(ステップ141
2)終了する。ステップ1408で、親品目カウンタ1
3の値が1でないと判定された場合には、終了する。
FIG. 14 is a flowchart of the "child item cell writing process". This will be described with reference to the item-related data structure shown in FIG. The child item cell writing process adds the delivery date and required amount of the child item to the required amount data of the item cell of the child item (step 1402). Then, it is determined whether or not the requested amount is for the final lot (step 140).
4) If the requested quantity is not for the final lot, the process is terminated. If the requested quantity is for the last lot, the parent item counter 13 of the child item is incremented (step 1406), and it is determined whether the value of the parent item counter 13 is 1 as a result of the increment. (Step 14
08). If the value of the parent item counter 13 is 1, the address of the item cell is registered in the job queue of the level code of the item (step 1410), and the job counter of the level code is incremented (step 141).
2) End. At step 1408, parent item counter 1
If it is determined that the value of 3 is not 1, the process ends.

【0079】図15は「Carry_MSG対応処理」のフロー
チャートである。図8の品目関連データ構造、図13の
要求量キャリアデータ構造も用いて説明する。Carry_MS
G対応処理では、受信した要求量キャリアから、格納さ
れた全ての子品目の納期、要求量を読み込む。そして、
納期と要求量は該子品目の品目セルに書き込む。また、
親品目カウンタ13をインクリメントし終了する。イン
クリメントした結果、カウンタの値が1であれば、該品
目セルのアドレスを該品目のレベルコードの計算可能ジ
ョブキューに登録し、ジョブカウンタをインクリメント
する。これを要求量キャリア内の全品目について行う。
その後、要求量キャリア送信元のMRPプロセスに対
し、Arrived_MSGを送る。
FIG. 15 is a flowchart of the "Carry_MSG corresponding process". This will be described with reference to the item-related data structure of FIG. 8 and the required amount carrier data structure of FIG. Carry_MS
In the G corresponding processing, the delivery date and the requested amount of all the stored child items are read from the received requested amount carrier. And
The delivery date and the required quantity are written in the item cell of the child item. Also,
The parent item counter 13 is incremented, and the process ends. As a result of the increment, if the value of the counter is 1, the address of the item cell is registered in the computable job queue of the level code of the item, and the job counter is incremented. This is performed for all items in the requested amount carrier.
After that, Arrived_MSG is sent to the MRP process of the request amount carrier transmission source.

【0080】図15に示す処理を、一つづつ説明する。
まず、ステップ1502で、受信した要求量キャリアか
ら、格納された全ての子品目の納期、要求量を読み込ん
だか否かを判定する。全ての子品目の納期、要求量を読
み込んだと判定された場合には、Carry_MSG送信元のM
RPプロセスに対し、Arrived_MSGを送信して(ステッ
プ1514)終了する。全ての子品目の納期、要求量を
読み込んではいないと判定された場合には、要求量キャ
リアから、一品目分の納期、要求量を読み込み、品目セ
ルに書き込む(ステップ1504)。また、当該品目セ
ルの親品目カウンタ13をインクリメントする(ステッ
プ1506)。次に、前記親品目カウンタ13の値が1
であるか否かを判定する(ステップ1508)。前記親
品目カウンタ13の値が1でない場合には、ステップ1
502へ戻る。前記親品目カウンタ13の値が1である
場合には、当該品目セルのアドレスを該品目のレベルコ
ードの計算可能ジョブキューに登録し(ステップ151
0)、ジョブカウンタをインクリメントする(ステップ
1512)。そして、ステップ1502へ戻る。
The processing shown in FIG. 15 will be described one by one.
First, in step 1502, it is determined whether or not the delivery date and the requested amount of all the stored child items have been read from the received requested amount carrier. If it is determined that the delivery date and the requested amount of all the child items have been read, the Carry_MSG transmission source M
Arrived_MSG is transmitted to the RP process (step 1514), and the process ends. If it is determined that the delivery date and the requested amount of all the child items have not been read, the delivery date and the requested amount of one item are read from the requested amount carrier and written in the item cell (step 1504). Further, the parent item counter 13 of the item cell is incremented (step 1506). Next, the value of the parent item counter 13 is 1
Is determined (step 1508). If the value of the parent item counter 13 is not 1, step 1
Return to 502. If the value of the parent item counter 13 is 1, the address of the item cell is registered in the computable job queue of the level code of the item (step 151).
0), the job counter is incremented (step 1512). Then, the process returns to step 1502.

【0081】図16は、「Cell_MSG対応処理」のフロー
チャートである。Cell_MSG対応処理では、受信した品目
セルキャリアの各品目セルの内容を新たに品目セルとし
て登録し、当該品目セルのアドレスを、レベルカウンタ
の示すレベルのキューに登録し、ジョブカウンタをイン
クリメントする。品目セルキャリアのすべての品目につ
いて行った後、送信メッセージカウンタをデクリメント
し、品目セルキャリア送信元のMRP計算プロセスに対
し、Arrived_MSGを送る。
FIG. 16 is a flowchart of the “Cell_MSG corresponding process”. In the Cell_MSG corresponding process, the content of each item cell of the received item cell carrier is newly registered as an item cell, the address of the item cell is registered in a queue at the level indicated by the level counter, and the job counter is incremented. After performing for all items of the item cell carrier, the transmission message counter is decremented, and Arrived_MSG is sent to the MRP calculation process of the item cell carrier transmission source.

【0082】図17に、品目セルキャリアのデータ構造
を示す。図17に示すように、品目セルキャリアは、行
先PE番号29と、行先プロセス番号30と、品目セル
31とを格納することができる。
FIG. 17 shows the data structure of the item cell carrier. As shown in FIG. 17, the item cell carrier can store a destination PE number 29, a destination process number 30, and an item cell 31.

【0083】図16に示す処理を、一つづつ説明する。
まず、ステップ1602で、品目セルキャリアから、全
品目データを読み込んだか否かを判定する。品目セルキ
ャリアから、全品目データを読み込んだと判定された場
合には、送信メッセージカウンタをデクリメントし(ス
テップ1609)、Cell_MSG送信元のMRP計算プロセ
スに対し、Arrived_MSGを送信して(ステップ161
0)終了する。品目セルキャリアから、全品目データを
読み込んではいないと判定された場合には、品目セルキ
ャリアから一品目分の品目セルデータをデータ保持部に
移す(ステップ1604)。そして、当該品目セルのア
ドレスを、レベルカウンタの示すレベルのキューに登録
し(ステップ1606)、ジョブカウンタをインクリメ
ントする(ステップ1608)。この後、ステップ16
02へ戻る。
The processing shown in FIG. 16 will be described one by one.
First, in step 1602, it is determined whether or not all item data has been read from the item cell carrier. If it is determined that all the item data has been read from the item cell carrier, the transmission message counter is decremented (step 1609), and Arrived_MSG is transmitted to the MRP calculation process of the Cell_MSG transmission source (step 161).
0) End. If it is determined that all the item data has not been read from the item cell carrier, the item cell data of one item from the item cell carrier is transferred to the data holding unit (step 1604). Then, the address of the item cell is registered in the queue at the level indicated by the level counter (step 1606), and the job counter is incremented (step 1608). After this, step 16
Return to 02.

【0084】図18は、「Export_MSG対応処理」のフロ
ーチャートである。図8の品目関連データ構造、図17
の品目セルキャリアデータ構造も用いて説明する。Expo
rt_MSG対応処理では、まず、ジョブカウンタの値を参照
し、ブルー、イエロー、レッドの状態判定を行う(ステ
ップ1802)。これは、制御プロセスが管理している
状態テーブルの状態と、今、現在の状態がずれているこ
とがありうるために行うものである。状態がブルーであ
るか否かを判定し(ステップ1804)、ブルー以外の
状態の場合、届け先のMRP計算プロセスに対し、Arri
ved_MSGを送り(ステップ1814)、終了する。これ
により、レッドになったMRPプロセスにジョブは供給
されないことを意味する。
FIG. 18 is a flowchart of “Export_MSG corresponding processing”. Item related data structure of FIG. 8, FIG.
The description will be made using the item cell carrier data structure of FIG. Expo
In the rt_MSG corresponding process, first, the state of blue, yellow, and red is determined with reference to the value of the job counter (step 1802). This is performed because the state of the state table managed by the control process may be different from the current state. It is determined whether or not the status is blue (step 1804).
ved_MSG is sent (step 1814), and the process ends. This means that no job is supplied to the red MRP process.

【0085】Export_MSGを受けたMRPプロセスがブル
ー状態の場合、キューから、品目セルキャリアに搭載可
能な個数の品目セルアドレスを取り出し(ステップ18
06)、当該品目セルの内容を品目セルキャリアに移し
(ステップ1810)、届け先のMRP計算プロセスに
送る(ステップ1812)。その際、ジョブカウンタを
取り出した分だけデクリメントし(ステップ180
8)、送信メッセージカウンタをインクリメントする。
When the MRP process receiving Export_MSG is in the blue state, the number of item cell addresses that can be mounted on the item cell carrier is extracted from the queue (step 18).
06), the contents of the item cell are transferred to the item cell carrier (step 1810) and sent to the destination MRP calculation process (step 1812). At this time, the job counter is decremented by the amount taken out (step 180).
8) Increment the transmission message counter.

【0086】(3)一括書き込み処理 一括書き込み処理は、メモリ上にあるMRP計算の出力
結果である各品目の所要量データを、一括してハードデ
ィスクに書き込む(図7のステップ718)。書き込み
を行った後は、制御プロセスに一括書き込み終了報告を
行い(ステップ720)、作業指示メッセージ受信待ち
状態になる。
(3) Batch write process In the batch write process, the required amount data of each item, which is the output result of the MRP calculation in the memory, is written to the hard disk at a time (step 718 in FIG. 7). After the writing, a batch writing completion report is made to the control process (step 720), and the system enters a work instruction message reception waiting state.

【0087】(4)終了処理 プロセスの終了処理を行う。(4) Termination processing Termination processing of the process is performed.

【0088】以上、分散メモリ型並列計算機の実施例を
説明した。しかし、本発明は、この情報処理環境だけで
なく、従来のシングルCPUの計算機においても、共有
メモリ型並列計算機においても実現可能である。
The embodiment of the distributed memory type parallel computer has been described above. However, the present invention can be realized not only in this information processing environment but also in a conventional single CPU computer and a shared memory type parallel computer.

【0089】[0089]

【発明の効果】複数のMRP計算部もしくは部品展開計
算部により、複数品目の部品展開計算を同時に行うこと
ができる。各MRP計算部間で計算可能品目の数に不均
衡が発生した際には、計算可能品目の品目ごとにまとめ
られた品目セルデータを移すことで不均衡を解消するの
で、大きなオーバヘッドをかけることなく負荷を移動さ
せることができ、これにより、従来の逐次的なMRP計
算と同等の計算結果を、短時間で得ることが可能とな
る。
As described above, a plurality of MRP calculation units or a part development calculation unit can simultaneously perform a part development calculation of a plurality of items. When an imbalance occurs in the number of computable items between the MRP calculation units, the imbalance is eliminated by transferring the item cell data compiled for each item of the computable items, so that a large overhead is required. The load can be moved without any change, whereby it is possible to obtain a calculation result equivalent to the conventional sequential MRP calculation in a short time.

【0090】このため、営業、設計、資材、現場からの
日々発生する変更事項を即座に生産計画に反映させ、変
更によって生じる問題の抽出、対処を速やかに行なうこ
とができる。
For this reason, daily changes from sales, design, materials, and workplaces can be immediately reflected in the production plan, and problems caused by the changes can be quickly extracted and dealt with.

【図面の簡単な説明】[Brief description of the drawings]

【図1】全体のブロック図である。FIG. 1 is an overall block diagram.

【図2】分散メモリ型並列計算機の説明図である。FIG. 2 is an explanatory diagram of a distributed memory type parallel computer.

【図3】分散メモリ型並列計算機上での本発明の構成図
である。
FIG. 3 is a configuration diagram of the present invention on a distributed memory type parallel computer.

【図4】制御プロセスのフローチャートの説明図であ
る。
FIG. 4 is an explanatory diagram of a flowchart of a control process.

【図5】状態報告対応処理フローチャートの説明図であ
る。
FIG. 5 is an explanatory diagram of a state report correspondence processing flowchart.

【図6】状態テーブルのデータ構造である。FIG. 6 is a data structure of a state table.

【図7】MRP計算プロセスのフローチャートの説明図
である。
FIG. 7 is an explanatory diagram of a flowchart of an MRP calculation process.

【図8】品目関連データを格納するデータ構造の説明図
である。
FIG. 8 is an explanatory diagram of a data structure for storing item-related data.

【図9】MRP計算処理のフローチャートの説明図であ
る。
FIG. 9 is an explanatory diagram of a flowchart of an MRP calculation process.

【図10】ジョブカウント及びジョブキューのデータ構
造の説明図である。
FIG. 10 is an explanatory diagram of a data structure of a job count and a job queue.

【図11】部品展開計算処理のフローチャートの説明図
である。
FIG. 11 is an explanatory diagram of a flowchart of a component development calculation process.

【図12】要求量キャリア書き込みデータエリア決定処
理のフローチャートの説明図である。
FIG. 12 is an explanatory diagram of a flowchart of a required amount carrier write data area determination process.

【図13】要求量キャリアのデータ構造の説明図であ
る。
FIG. 13 is an explanatory diagram of a data structure of a requested amount carrier.

【図14】子品目セル書き込み処理のフローチャートの
説明図である。
FIG. 14 is an explanatory diagram of a flowchart of a child item cell writing process.

【図15】Carry_MSG対応処理のフローチャートの説明
図である。
FIG. 15 is an explanatory diagram of a flowchart of Carry_MSG corresponding processing.

【図16】Cell_MSG対応処理フローチャートの説明図で
ある。
FIG. 16 is an explanatory diagram of a Cell_MSG corresponding processing flowchart.

【図17】品目セルキャリアのデータ構造の説明図であ
る。
FIG. 17 is an explanatory diagram of a data structure of an item cell carrier.

【図18】Export_MSG対応処理フローチャートの説明図
である。
FIG. 18 is an explanatory diagram of an Export_MSG corresponding processing flowchart.

【図19】部品展開図とローレベルコードの説明図であ
る。
FIG. 19 is an explanatory diagram of a component development view and a low-level code.

【符号の説明】[Explanation of symbols]

1 … 初期処理部 2 … データ管理部 3 … 計算可能管理部 4 … 部品展開計算部 5 … 要求量送受信部 6 … メッセージ管理部 7 … MRP計算部 8 … 作業指示部 9 … 分散メモリ型並列計算機上でのMRP計算プ
ロセス 10 … 分散メモリ型並列計算機上での制御プロセス 11 … 品目セル 13 … 親品目カウンタ 14 … ジョブカウンタ 15 … ジョブキュー 16 … レベルカウンタ 17 … 要求量キャリア 18 … 品目セルキャリア 20 … 品目セルの要求量データ 22 … 品目セルのローレベルコード 23 … 品目セル子品目データの割当PE番号 26 … 要求量キャリアの行先PE番号 27 … 要求量キャリアの行先プロセス番号 28 … 要求量キャリアの品目番号 29 … 品目セルキャリアの行先PE番号 30 … 品目セルキャリアの行先プロセス番号 31 … 品目セルキャリアの品目セル 40 … 状態テーブル
DESCRIPTION OF SYMBOLS 1 ... Initial processing part 2 ... Data management part 3 ... Computable management part 4 ... Parts development calculation part 5 ... Request amount transmission / reception part 6 ... Message management part 7 ... MRP calculation part 8 ... Work instruction part 9 ... Distributed memory type parallel computer MRP calculation process on the above 10 ... Control process on the distributed memory type parallel computer 11 ... Item cell 13 ... Parent item counter 14 ... Job counter 15 ... Job queue 16 ... Level counter 17 ... Requested amount carrier 18 ... Item cell carrier 20 … Item cell request amount data 22… Item cell low-level code 23… Item cell child item data allocation PE number 26… Request amount carrier destination PE number 27… Request amount carrier destination process number 28… Request amount carrier Item number 29… Item cell carrier destination PE number 30… Item cell Destination process number 31 ... item cell of item cell carrier Yaria 40 ... state table

───────────────────────────────────────────────────── フロントページの続き (72)発明者 富沢 哲志 神奈川県川崎市幸区鹿島田890番地 株式 会社日立製作所情報システム事業部内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Tetsushi Tomizawa 890 Kashimada, Saiwai-ku, Kawasaki-shi, Kanagawa Prefecture Information Systems Division, Hitachi, Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】製品の別途定められた生産計画を読み込
み、該生産計画に基づいて製品の生産を実行するために
必要となる部品または原材料(以下、品目と呼ぶ)の種
類と、該品目の量と、該品目の納期とを算出するMRP
計算手段を複数備える資材所要量計算システムにおい
て、 前記複数のMRP計算手段は、各々、当該MRP計算手
段で算出すべき品目であると予め定められた品目に関し
て、少なくとも、前記品目を製造又は購入するときに必
要となる期間と、前記品目と他品目との親子関係と、前
記品目についての現在の在庫や仕掛数あるいは既に発注
済みで将来納品される予定の納期と予定数とを、前記品
目ごとにまとめて、前記品目に対応する品目セルデータ
として保持する保持手段を備え、 前記複数のMRP計算手段は、各々、前記生産計画と、
前記品目に対応する品目セルデータとに基づいて、前記
生産計画に基づいて製品の生産を実行するために必要と
なる前記品目セルデータに対応する品目の子品目の種類
と、該子品目の量と、該子品目の納期とを算出すること
を特徴とする資材所要量計算システム。
1. A method for reading a separately defined production plan of a product, the types of parts or raw materials (hereinafter referred to as "items") required to execute production of the product based on the production plan, and the type of the item. MRP to calculate quantity and delivery date of the item
In the material requirement calculation system including a plurality of calculation means, each of the plurality of MRP calculation means manufactures or purchases at least the above-mentioned item with respect to an item predetermined as an item to be calculated by the MRP calculation means. The required time period, the parent-child relationship between the item and other items, the current inventory and the number of works in progress for the item, or the delivery date and the expected number of items already ordered and scheduled to be delivered in the future, for each item And holding means for holding as item cell data corresponding to the item, wherein the plurality of MRP calculation means each include the production plan,
Based on the item cell data corresponding to the item, the type of the child item of the item corresponding to the item cell data required to execute the production of the product based on the production plan, and the amount of the child item And a delivery date of the child item.
【請求項2】前記複数のMRP計算手段は、各々、前記
生産計画と、前記品目セルデータとに基づいて、前記生
産計画に基づいて製品の生産を実行するために必要とな
る子品目の種類と、該子品目の量と、該子品目の納期と
を算出する算出手段と、 該必要となる子品目に対応する品目セルデータを、自己
の保持手段が有するか他のMRP計算手段の保持手段が
有するかを判定する判定手段とを備え、 自己の保持手段が有する場合には、該必要となる子品目
に対応する品目セルデータに、該子品目の量と、該子品
目の納期とを追記し、 前記必要となる子品目に対応する品目セルデータを、他
のMRP計算手段の保持手段が有する場合には、該他の
MRP計算手段に、該他のMRP計算手段の保持手段が
有する、前記必要となる子品目に対応する品目セルデー
タに、該子品目の量と、該子品目の納期とを追記するよ
うに指示することを特徴とする請求項1記載の資材所要
量計算システム。
2. The method according to claim 1, wherein the plurality of MRP calculation means are each based on the production plan and the item cell data, and execute the production of a product based on the production plan. Calculating means for calculating the quantity of the child item and the delivery date of the child item; and holding the item cell data corresponding to the required child item in its own holding means or in another MRP calculating means. A determination means for determining whether or not the means has the means, and if the holding means has its own means, the quantity of the child item, the delivery date of the child item, and If the holding means of the other MRP calculation means has the item cell data corresponding to the necessary child item, the holding means of the other MRP calculation means has the holding means of the other MRP calculation means. Corresponding to the necessary child items The item cell data, the child item quantities and, material requirements computing system of claim 1, wherein the instructing to append the delivery of the child item.
【請求項3】前記複数のMRP計算手段の動作を制御す
る制御手段を備え、 前記複数のMRP計算手段は、各々、当該MRP計算手
段で算出すべき品目であると予め定められた品目のう
ち、現在、必要となる品目の量と該品目の納期とが既に
算出されている品目の数を、計算可能品目数として前記
制御手段に通知する通知手段を備え、 前記制御手段は、 前記通知手段により通知された、前記複数のMRP計算
手段の各々における計算可能品目数のうちで、所定の数
よりも少ない計算可能品目数を通知したMRP計算手段
があるか否かを検出する検出手段と、 該検出手段により所定の数よりも少ない計算可能品目数
を通知したMRP計算手段があることが検出された場合
に、前記複数のMRP計算手段のうち、計算可能品目数
が多いMRP計算手段を選択する選択手段と、 該選択手段により選択されたMRP計算手段に対して、
必要となる品目の量と該品目の納期とが既に算出されて
いる品目のうちの所定数の品目に対応する品目セルデー
タを、前記検出手段により検出されたMRP計算手段へ
送信するように指示する指示手段と、 を備え、 前記検出手段により検出されたMRP計算手段は、前記
選択手段により選択されたMRP計算手段に代わって、
送信された品目セルデータに基づいて、製品の生産を実
行するために必要となる子品目の種類と、該子品目の量
と、該子品目の納期とを算出することを特徴とする請求
項1または2記載の資材所要量計算システム。
3. An apparatus according to claim 1, further comprising control means for controlling an operation of said plurality of MRP calculation means, wherein each of said plurality of MRP calculation means is one of items predetermined to be calculated by said MRP calculation means. A notification unit for notifying the control unit of the number of items for which the amount of the required item and the delivery date of the item have already been calculated, as the number of calculable items, wherein the control unit includes the notification unit Detecting means for detecting whether there is an MRP calculating means that has notified the number of calculable items smaller than a predetermined number, among the number of calculable items in each of the plurality of MRP calculating means, When the detecting means detects that there is an MRP calculating means that has notified the number of calculable items less than a predetermined number, the MRP meter having a large number of calculable items among the plurality of MRP calculating means. Selecting means for selecting the calculating means; and MRP calculating means selected by the selecting means.
An instruction to transmit the item cell data corresponding to a predetermined number of items out of the items for which the required amount of the item and the delivery date of the item have already been calculated to the MRP calculating means detected by the detecting means. And MRP calculating means detected by the detecting means, in place of the MRP calculating means selected by the selecting means,
A method for calculating a type of a child item, an amount of the child item, and a delivery date of the child item required to execute product production based on the transmitted item cell data. The material requirement calculation system according to 1 or 2.
【請求項4】製品の別途定められた生産計画を読み込
み、該生産計画に基づいて製品の生産を実行するために
必要となる部品または原材料(以下、品目と呼ぶ)の種
類と、該品目の量と、該品目の納期とを算出するMRP
計算手段を複数備える資材所要量計算システムにおける
資材所要量計算方法であって、 前記複数のMRP計算手段に、各々、当該MRP計算手
段で算出すべき品目であると予め定められた品目に関し
て、少なくとも、前記品目を製造又は購入するときに必
要となる期間と、前記品目と他品目との親子関係と、前
記品目についての現在の在庫や仕掛数あるいは既に発注
済みで将来納品される予定の納期と予定数とを、前記品
目ごとにまとめて、前記品目に対応する品目セルデータ
として保持させ、 前記複数のMRP計算手段に、各々、前記生産計画と、
前記品目に対応する品目セルデータとに基づいて、前記
生産計画に基づいて製品の生産を実行するために必要と
なる前記品目セルデータに対応する品目の子品目の種類
と、該子品目の量と、該子品目の納期とを算出させるこ
とを特徴とする資材所要量計算方法。
4. A part or raw material (hereinafter referred to as "item") required for reading a separately defined production plan of a product and executing production of the product based on the production plan, and the type of the item. MRP to calculate quantity and delivery date of the item
A material requirement calculation method in a material requirement calculation system including a plurality of calculation means, wherein the plurality of MRP calculation means each include at least an item which is predetermined as an item to be calculated by the MRP calculation means. , The period required when manufacturing or purchasing the item, the parent-child relationship between the item and other items, the current inventory and the number of works for the item or the delivery date that has already been ordered and will be delivered in the future. The planned number is grouped for each of the items and stored as item cell data corresponding to the item.
Based on the item cell data corresponding to the item, the type of the child item of the item corresponding to the item cell data required to execute the production of the product based on the production plan, and the amount of the child item And a delivery date of the child item.
JP25616996A 1996-09-27 1996-09-27 Material requirements counting method and system therefor Pending JPH10105205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25616996A JPH10105205A (en) 1996-09-27 1996-09-27 Material requirements counting method and system therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25616996A JPH10105205A (en) 1996-09-27 1996-09-27 Material requirements counting method and system therefor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007070458A Division JP4477649B2 (en) 2007-03-19 2007-03-19 Material requirement calculation system

Publications (1)

Publication Number Publication Date
JPH10105205A true JPH10105205A (en) 1998-04-24

Family

ID=17288875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25616996A Pending JPH10105205A (en) 1996-09-27 1996-09-27 Material requirements counting method and system therefor

Country Status (1)

Country Link
JP (1) JPH10105205A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293205A (en) * 1999-04-09 2000-10-20 Nec Yamagata Ltd Production support system, its control method and recording medium recording the method
JP2009245054A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Production management program, production management device and production management method
JP2014099101A (en) * 2012-11-15 2014-05-29 Hitachi Solutions East Japan Ltd Production planning device, production planning method, and production planning program
CN111768157A (en) * 2020-07-04 2020-10-13 浙江锐制软件技术有限公司 Dynamic material calculation method and system
CN115526491A (en) * 2022-09-28 2022-12-27 深圳市海葵信息技术有限公司 Data processing method, equipment and storage medium for material demand plan

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02178755A (en) * 1988-10-27 1990-07-11 American Teleph & Telegr Co <Att> Multiple processor load sharing apparatus
JPH0785105A (en) * 1993-09-02 1995-03-31 Internatl Business Mach Corp <Ibm> Method and system for redistribution of data in parallel database
JPH07129660A (en) * 1993-10-28 1995-05-19 Nec Corp Mrp processor
WO1996029666A1 (en) * 1995-03-17 1996-09-26 Hitachi, Ltd. Method and apparatus for parallel processing a calculation of a required amount of material
JPH08320850A (en) * 1995-05-26 1996-12-03 Hitachi Ltd Method and device for distributing load of necessary material amount calculation
JPH1015785A (en) * 1996-06-28 1998-01-20 Hitachi Ltd Production planning method and production planning system
JPH10301604A (en) * 1997-04-23 1998-11-13 Hitachi Ltd Material required amount calculating device and material required amount calculating method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02178755A (en) * 1988-10-27 1990-07-11 American Teleph & Telegr Co <Att> Multiple processor load sharing apparatus
JPH0785105A (en) * 1993-09-02 1995-03-31 Internatl Business Mach Corp <Ibm> Method and system for redistribution of data in parallel database
JPH07129660A (en) * 1993-10-28 1995-05-19 Nec Corp Mrp processor
WO1996029666A1 (en) * 1995-03-17 1996-09-26 Hitachi, Ltd. Method and apparatus for parallel processing a calculation of a required amount of material
JPH08320850A (en) * 1995-05-26 1996-12-03 Hitachi Ltd Method and device for distributing load of necessary material amount calculation
JPH1015785A (en) * 1996-06-28 1998-01-20 Hitachi Ltd Production planning method and production planning system
JPH10301604A (en) * 1997-04-23 1998-11-13 Hitachi Ltd Material required amount calculating device and material required amount calculating method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293205A (en) * 1999-04-09 2000-10-20 Nec Yamagata Ltd Production support system, its control method and recording medium recording the method
JP2009245054A (en) * 2008-03-31 2009-10-22 Fujitsu Ltd Production management program, production management device and production management method
JP2014099101A (en) * 2012-11-15 2014-05-29 Hitachi Solutions East Japan Ltd Production planning device, production planning method, and production planning program
CN111768157A (en) * 2020-07-04 2020-10-13 浙江锐制软件技术有限公司 Dynamic material calculation method and system
CN111768157B (en) * 2020-07-04 2024-02-13 浙江锐制软件技术有限公司 Dynamic material calculating method and system
CN115526491A (en) * 2022-09-28 2022-12-27 深圳市海葵信息技术有限公司 Data processing method, equipment and storage medium for material demand plan
CN115526491B (en) * 2022-09-28 2023-11-17 惠州市海葵信息技术有限公司 Data processing method, equipment and storage medium for material demand planning

Similar Documents

Publication Publication Date Title
US8516461B2 (en) Method to dynamically distribute a multi-dimensional work set across a multi-core system
US7596788B1 (en) Support of non-trivial scheduling policies along with topological properties
CN101727357B (en) Method and apparatus for allocating resources in a compute farm
US6751683B1 (en) Method, system and program products for projecting the impact of configuration changes on controllers
KR101502896B1 (en) Distributed memory cluster control apparatus and method using map reduce
US20130254776A1 (en) Method to reduce queue synchronization of multiple work items in a system with high memory latency between processing nodes
JP6515708B2 (en) Information processing apparatus, parallel computer system, job schedule setting program, and job schedule setting method
EP0992868B1 (en) Device and method for calculating required quantity of material
JP2003241822A (en) Management method based on flow management for supply-chain product management
JP5178778B2 (en) Virtual machine and CPU allocation method
JP2001043028A (en) Device and method for disk time sharing
JPH10105205A (en) Material requirements counting method and system therefor
CA1299758C (en) Task scheduling mechanism for large data processing systems
CN103218259A (en) Computer-implemented method for selection of a processor, which is incorporated in multiple processors to receive work, which relates to an arithmetic problem
JP3429582B2 (en) Multiprocessor system
JP4477649B2 (en) Material requirement calculation system
JP3610681B2 (en) Production planning method and production planning system
Epstein et al. Robust algorithms for total completion time
CN101169742B (en) Resource reservation for massively parallel processing systems
Tabucanon et al. Using simulation to evaluate the batching approach to part type selection in flexible manufacturing systems
JPH08320850A (en) Method and device for distributing load of necessary material amount calculation
CN117311990B (en) Resource adjustment method and device, electronic equipment, storage medium and training platform
US20240160487A1 (en) Flexible gpu resource scheduling method in large-scale container operation environment
JP3408012B2 (en) Material requirement calculation method and device
JP2023179057A (en) Arithmetic processing unit and arithmetic processing method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051128

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070116

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070215