+

WO1996029666A1 - Method and apparatus for parallel processing a calculation of a required amount of material - Google Patents

Method and apparatus for parallel processing a calculation of a required amount of material Download PDF

Info

Publication number
WO1996029666A1
WO1996029666A1 PCT/JP1995/000484 JP9500484W WO9629666A1 WO 1996029666 A1 WO1996029666 A1 WO 1996029666A1 JP 9500484 W JP9500484 W JP 9500484W WO 9629666 A1 WO9629666 A1 WO 9629666A1
Authority
WO
WIPO (PCT)
Prior art keywords
level
calculation
item
parts
queue
Prior art date
Application number
PCT/JP1995/000484
Other languages
French (fr)
Japanese (ja)
Inventor
Takahiro Tsukishima
Hideaki Matoba
Mitsuhiro Enomoto
Mitsuharu Hayakawa
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 PCT/JP1995/000484 priority Critical patent/WO1996029666A1/en
Publication of WO1996029666A1 publication Critical patent/WO1996029666A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Definitions

  • Kibori Iri j relates to the method and apparatus for calculating the required amount of each ⁇ W product and raw materials required to produce the products produced by this production plan when raw l-jilif is manually input.
  • MRP Requirements Planning
  • the MRP and the conventional MRP meter are described in, for example, “Illustrated MRP Term 500 Selection” (Nikkan Kogyo Shimbun, published in 1983). ⁇ I will explain to ijt.
  • a table consisting of two pieces of data, one with the data indicating the value of 0 and the other with the data.
  • Goods The ⁇ data example, the, 'eta', [or to produce I, ⁇ 3 ⁇ 4 when or ⁇ : (hereinafter referred to as lead time) become, and the like. Also, depending on the product topography, for example, what is the child product 1 necessary to manufacture a certain product [71, and how many child products are required for each WJ to be manufactured (this (Called the U number of the product). (3) ⁇
  • MRP calculation performs the following five calculations for each item.
  • the data of the item is taken in, the required a is grouped into a certain ⁇ ⁇ , and the total location ⁇ : is obtained for each period.
  • the period will be one day, and daily planning will be explained.
  • the ⁇ -specified ⁇ ⁇ : taste 3 ⁇ 4 3 ⁇ 4 is given to 3 ⁇ 4, and ⁇ is set to a number suitable for arrangement using the set lot size.
  • each product can be assigned a level code based on the component composition hierarchy based on the component development diagram of the product.
  • the lowest level code is the low level code.
  • the term “lower” refers to the direction of escape to the level of a more basic product on the part development diagram.
  • the level code is set to the product level 0, and the number of level codes increases as the hierarchy progresses toward the basic product 0. Therefore, the oral level code is the largest level code of the item's level code. This also means that only one level code is defined for each item, much less for low-level codes.
  • the low-level code for each item is set by searching for all items in the BOM before the MR II calculation starts, and is written in the item data as item-specific information.
  • the conventional M R ⁇ calculation uses this low-level code to determine the order of the parts expansion of each item at the level 'by-level'. Specifically, the process proceeds according to the following procedure.
  • the conventional MRP meter ⁇ has a mouth-level code so that the product exhibition calculation of each item is always performed after the parent product (parts of ⁇ ⁇ ; ⁇
  • this control method sequentially performs the part expansion calculation for each ', ⁇ one by one, and the number of products, the number of parts, When 'j is large, a huge amount of processing time is required, so this MRP calculation cannot be performed frequently.
  • the MRP calculation method and apparatus comprises one or several MPS reading units (1 to 3) for reading MPS as shown in FIG. It has one or more parts expansion calculators (4 to 6) for calculating the parts expansion of fl, and the parts ffi opening of each item ⁇ is the parent product [I m; m I; H meter: After that, it is guaranteed that it will be performed afterwards, and the parts expansion calculation of each LI is performed in parallel at f3 ⁇ 44; It is characterized by having one W mechanism (7).
  • the MPS is read by one or more MPS reading units (1 to 3).
  • the request for the embedded product ', S: is sent as a mountain message to the parts display of the product.
  • the Doho mechanism part (7) sends a total of 1) start message to the parts development calculation part (4-6) that has the item whose MPS has been read.
  • the parts calculation that received the calculation start message; 'il ;, 4 to 6) starts the parts development calculation for each item.
  • the part expansion meter ⁇ : ⁇ ? 1; does not perform the parts l;, ⁇ ⁇ ⁇ for the parts ⁇ for which the parts expansion calculation of the parent item has not been completed.
  • the part development calculation section (4-6) is! In the calculation of the required quantity of the item for which the total is calculated, the request for the child product is a Yamapami message. : Send to the calculation part (4 to 6). Upon receiving the piled-up message, the parts unfolding calculation section (4 to 6) writes the required quantity data of the item.
  • the synchronization mechanism (7) receives a report on the progress of the calculation from the parts exhibition ⁇ ) ⁇ ⁇ ⁇ '; (4-6). Then, a calculation start or a continuation message is sent to the part deployment meter that has completed the part development calculation for the paddy. The synchronization mechanism (7) determines the end of the M R ⁇ calculation based on the various messages sent.
  • FIG. 1 is an overall block diagram
  • FIG. 2 is an exploded view of parts and an explanatory view of low-level code
  • ⁇ 3I is an explanatory view of a parts configuration
  • FIG. Fig. 5 is an explanatory diagram of the concept of hierarchical parallelism
  • Fig. 6 is an explanatory diagram of the concept of the product ⁇ Nfc sequence
  • Fig. 7 is an explanatory diagram of the concept of hierarchical parallelism.
  • Fig. 8 is a diagram for explaining the concept of product group hierarchy parallelism.
  • Fig. 9 is an explanatory diagram of other parallel / distributed computer environment I
  • Fig. 9 is an explanatory diagram of a data storage method
  • the figure is an explanatory diagram of the son i'i W method.
  • Fig. 12 is a diagram I of the hierarchical parallel process model.
  • the ⁇ 13 diagram is a flowchart of the synchronization mechanism process.
  • , and FIG. 14 is an explanatory diagram of a flowchart of the MPS reading process
  • FIG. 15 is an explanatory diagram of a flowchart of the component generation process.
  • Fig. 16 is an explanatory diagram of the flow chart of the parts stacking reception process
  • Fig. 17 is an explanatory diagram of the flow chart of the parts calculation process
  • Fig. 18 is a process model of product group parallel 19 (3 ⁇ 4
  • FIG. 20 is a subordinate diagram.
  • FIG. 21 is an explanatory diagram of a flow chart of a synchronous mechanism process
  • Fig. 21 is an explanatory view of a flow chart of a main synchronous mechanism process
  • Fig. 22 is a flowchart of a secondary synchronous machine 'process. It is an explanatory drawing.
  • FIG. 3 Three embodiments will be described with reference to FIGS. 3 to 22.
  • FIG. 3 Three embodiments will be described with reference to FIGS. 3 to 22.
  • the basic idea of the 1 iff example is that, as shown in Fig. 5, the whole sequence proceeds at the level of the conventional sequential; juice: and M levels. In, parts development calculations for items belonging to that level are performed in parallel.
  • this method is referred to as a hierarchical parallel method.
  • a synchronization mechanism is required in order to grasp the status of component development calculations that can be performed in parallel at each level, and to proceed with processing on a level-by-level basis.
  • the basic method of the second example is as follows: First, as shown in Fig. 6, all the items are divided into several groups, and the processing in each group proceeds by the same sequential calculation as before. Force The process of each group proceeds in parallel.
  • this method will be referred to as the production and group parallel method.
  • each product group is assigned to the part expansion calculation unit, and each part expansion calculation unit proceeds with the sequential MRP calculation as in the past.
  • the progress of each part expansion calculation unit must be grasped in order to satisfy the condition that the calculation must be performed after the calculation of the i item has been completed. Parts exhibition uj A total of n parts is required.
  • the embodiment of 3G [I] is a combination of the floor parallel system and the product group parallel system. That is, in the product-parallel system, each group of items was processed by the conventional sequential MRP ill-: force. Then,; ⁇ ⁇ ⁇ ). In each group is performed in a floor-parallel manner.
  • this method will be referred to as the product group floor / ⁇ parallel method.
  • the above is the basic concept of the present embodiment. ; suddenly', Floor)'; ⁇ ⁇ ; parallel force 'formula is a clause -Hi combination, and its fraud can be easily considered from the details of the pm parallel system and', ' ⁇ ', ⁇ parallel system.
  • this explanation is omitted.
  • each loosely coupled PE Processelement
  • FIG. 8 each loosely coupled PE (Processing Element) is a single CPU. This is also a setting for convenience of discussion, and the present invention can be implemented even if each PE is a tightly coupled multi-PU with shared memory.
  • this example is a situation where the database management system is distributed and distributed S to each loosely coupled PE. This is possible even in a situation where the database system is managed by a specific PE as shown in). It is also possible to use a normal file system without using a database system.
  • a set of calculations is called a process.
  • a set of multiple processes is also a process.
  • Multitasking operating systems allow multiple processes to run in parallel on a single PE.
  • the process will be explained with an example of a model in which processes interact with each other on such a multitasking operating system.
  • parallel J means that multiple processes can be processed independently and simultaneously. This means that it is logically possible to run them at the same time. For example, if the number of processes is running on a single PE in a time-sharing manner, such as in multitasking, it means that they are running in parallel. Can be. However, given a momentary question, if the PE is a single CPU, only one process is actually running. In contrast, “parallel” refers to a state in which multiple processes are physically proceeding simultaneously. If processes are running on multiple PEs, they can be said to be running “in parallel.” “Parallel” is a concept that is larger than “parallel”. Processes running in “parallel” do not always run in “parallel”, while processes running in "parallel” do not always run in “parallel”. In this embodiment, a plurality of processes
  • the order of messages sent by a process to another process is based on the calculation model that the process goes to the process in general. I will tell. If this is also done using a calculation model in which ⁇ ⁇ is not stored, for example, messages to a certain process are all sent with a serial number when they are sent, and the receiving side sends the serial ⁇
  • ⁇ ⁇ is not stored, for example, messages to a certain process are all sent with a serial number when they are sent, and the receiving side sends the serial ⁇
  • a process in a PE sends a process message, specify the destination process name! 1.
  • the PE @ mail process (9-11) immediately transfers to the destination process if the process exists in its own PE, and to the PEiiij mail process (8) otherwise. Forward.
  • This mechanism allows each process to exchange messages without knowing which PE has the process to which the message is sent.
  • MRP i
  • the PE ll'.J mail process (8) knows whether it is calculated, and the mail process in each PE (9-11) knows only the item name calculated by its own PE. Even if each PE @ mail process (9-11) does not know anything at all, messages always arrive via the PE [i! J mail process (8), but the People.
  • the communication method between processes by the post office method is a series of different methods, and the present invention can be implemented by another method.
  • the MPS reading unit comprises an MPS reading process (12 to 13).
  • the Doho Organization Department consists of the Iho Organization Process (14). This is because there are a number of queue processes (15 to 17) that manage the input and output of queues at a certain level, and control to receive messages to the synchronization mechanism and to send messages from the synchronization mechanism. It consists of a process (18).
  • the part development calculation unit is composed of a part development calculation process (19 to 20).
  • a single component development meter process a plurality of items to be calculated are defined, but one component process is always created for each item.
  • the part exhibition I-kawa calculation process is composed of several part processes (2 1-2 2) and a part generation process (2 3) that generates the parts and processes.
  • Each ⁇ process consists of two parts: a parts totaling process (24) that calculates the expansion of parts for a certain item, and a parts pile receiving process (25) that receives a pile-up message for that item.
  • the same machine process (14), the PE inquiry mail process (29), and the PE @ mail process (30) are allocated to PE0.
  • the synchronization mechanism process (14) communicates with the mail process (30) in the PE.
  • the MPS reading process (12 to 13), the part opening calculation process (19 to 20), and the mail process within the PE (31 to 32) are each one ⁇ ⁇ 7, ': Yes.
  • the PE @ mail process (31 to 32) communicates with each process and the MPS reading process that constitute the part's and mlifJ processes in the PE.
  • the intra-PE mail process (30 to 32) at each PE communicates with the inter-PE mail process (29) allocated to PE0.
  • ⁇ 51 3 shows the synchronization mechanism process
  • Fig. 14 shows the MPS reading process
  • Fig. 15 shows the component generation process
  • ⁇ 16 shows the component mountain acceptance process
  • Fig. 17 The flowchart of the parts calculation process is summarized below. Each document describes how to proceed when a specific message is received.
  • control process (18) of the Doho mechanism process receives a start message from the operator or another device.
  • the control process (18) of the synchronization mechanism process sends an MPS reading start message of "read-mps" to each MPS reading process (12 to 13).
  • Send a start message After sending the MPS start message, start reading MPS for each product.
  • the MPS reading process is based on the product part ', exhibition 1) 9 ⁇ - ⁇ , ij,', ',,', exhibition ⁇ ], toward the part generation process (2 3) of the process.
  • Send a create message of “create (product name)” and then send it to the part stacking acceptance process (25) of the product, ' ⁇ ', and send the request _3 ⁇ 4 Send as ffi message.
  • the piled-up message may be sent in the form of messages of the entire plan in the form of messages ⁇ , ⁇ , or a specific period may be divided into several parts> 1.
  • the piled-up message is to be sent separately as a message “set (mps, day, request No.)”, with the plan i being smaller than 1 II.
  • the first argument of this pile message indicates the source of this message. In this case, since it is a request J! L from MPS, it is "mps".
  • the MPS reading process sends an “MPs—finished” MPS reading end message “mps—finished” to the part stacking process (25) of the product. This is repeated for the number of ', and the processing ends.
  • the component development process (2 3) Upon receiving the create message “create (item name)”, the component development process (2 3) generates a component process (2 2) that performs the component expansion calculation for that item. . However, if the parts process for the item has already been created, nothing is done.
  • the generated parts process consists of two parts, a parts calculation process and a parts stacking reception process. In particular, first of all, when generating the parts calculation process, the parts table data is read from the database using the database management system ⁇ ], and the lead time, low-level code, child part name By using the information necessary for the calculation of the component development such as the number and the number of parts, these intense reports are stored in the component calculation process.
  • the part-completion process (23) is added to the control process (18) of the Doho mechanism process by "que-set (generated item name, row of the item).
  • the part set receiving process (25) is performed.
  • the MPS reading is performed in the part stacking receiving process (25). If messages are piled up from the process, those messages will be awaited in the PE mail process (31).
  • Parts mountain ⁇ seen acceptance process (2 5) has received a pile of messages, request most of the database ' ⁇ 3 ⁇ 4: to update the required amount of data in the database via the Present system.
  • the new process is to rewrite the contents of a mountain message to the amount of data already written for each day.
  • the message is forwarded to flji and then to the control process (18) of the M-th machine ⁇ process. Since the ⁇ ⁇ of the message sent from the MPS reading process (12 to 13) is saved, the MPS reading end message always comes after the rice paddy message. Therefore, when the parts stacking reception process (25) and the MPS reading end message are transferred, the required ffi data for the item has already been completed.
  • the parts generation process (23) sends the product queue set message
  • the parts stacking reception process (25) is generated, and the message to the synchronization mechanism process is always sent to the mail in the ⁇ ⁇ . Since the number of the message sent via the process (31) and sent from one process to another is saved, the synchronization mechanism process receives the message from the queue set message after the queue set message. It is guaranteed that the message that the product has finished reading the MPS will yield.
  • All MPS 3 ⁇ 4i the end receive the M ps Hajimeme message narrowing from the process (1 2-1 3) only, and, manufacturing of ⁇ of MPS start message, 1 "the number of the total number and M a few minutes, Exit menu narrowing seen MPS
  • the control process (18) determines that the reading of all MPSs has been completed, by receiving the MPS start message from all of the PS reading processes, It is possible to know the total number of all products, and by receiving the number of MPS reading end messages at the end of the parts pile acceptance process, it is possible to guarantee that all those products have been read.
  • control process (18) of the synchronization mechanism process issues a request to the level 0 queue process (15) for the product name in the queue. Go out Then, parts meter of each product ⁇ towards the process (2 to 4), send the parts calculations start message that "start_mrp".
  • the part meter ⁇ process (24) receives the start message from the part meter ⁇ .
  • the required data is read at the end of the database system SR system, and the part expansion calculation is started.
  • Each part meter ⁇ process (2 4) has the required ⁇ ⁇ [part unfolding raiii to perform the part unrolling of child items at the time of development.
  • a create message "create (child item name)" is sent. After that, the parts pile of the child product ⁇ is also sent to the "Prime receiving i" process (25) by "set (own item). ⁇ name.U, request £ i) "as an ill message.
  • the operations of the parts generation process (23), which receives the create message, and the part III cover receiving process (25), which receives the piled-up messages, are as described above.
  • the part generation process (23) generates a queue set message, and the control process (18) of the synchronous mechanism process that receives the message is performed in the same manner.
  • the parts stacking reception process (25) terminates the process when it receives an end message.
  • the control process (18) of the c- synchronous mechanism process starts from the parts calculation process (24) at the level where the calculation is in progress. Receives the calculation end message.
  • the control process completes the parts development meter ⁇ for items at that level. Then, the next lower-level queue process (16 to 17) is sent out all the item names in the queue, and the ⁇ 'item total process (24 ), The part calculation start message "start_mrp" is sent. If the queue is empty, go to the next lower level queue.
  • the MRP meter is advanced at the level 'by-level'. Then, at each level, the product at that level [; 1 parts development ⁇ is advanced in parallel.
  • any item ⁇ : ⁇ parts exhibition ⁇ ; ⁇ ⁇ ⁇ is the parent item part of the item It is kept after all the expansion calculations are completed.
  • the OH counter n is completed.
  • the MPS reading unit and the Doho mechanism unit are the same as in the example of the 1-story / parallel method. That is, the MPS reading section is composed of the MPS reading process (33 to 34).
  • the synchronization mechanism consists of the same machine ⁇ process (35). This is because there are multiple queue processes (36-38) that input and output queues at each level fi-I !. It consists of a control process (39) that sends out messages.
  • the part development calculation part consists of a part development meter ⁇ process (40 to 41).
  • the part expansion calculation process consists of a plurality of part processes (42 to 43), a part generation process (44) that generates a part ', a process, and a ⁇ ⁇ mechanism process ( 4 5).
  • the synchronization mechanism process (35) of the synchronization mechanism section is the "main synchronization mechanism process”
  • the synchronization mechanism process (45) of the component deployment calculation section is " This is called the “sub-synchronization mechanism process”.
  • Each 'product process' consists of a parts totaling process (47) that calculates the expansion of parts for a certain item, and a part that receives a pile message for that item r'. It consists of two.
  • each ⁇ of the loosely-coupled file non-symbols composed of ( ⁇ + 1) ⁇ ⁇ ( ⁇ ⁇ 0, ⁇ . PE i, ⁇ ⁇ ⁇ , PEN)
  • a database there is a database: a physical system and a database (49 to 51), and ⁇ ⁇ 0
  • the main domo machine send process 35
  • the PE inquiry mail process 52
  • the mail process within PE 53
  • the main synchronization mechanism process communicates with the mail process in PE.
  • each of the remaining PEs one MPS reading process (33-34), a component deployment calculation process (40-41), and a mail process in the PE (54-55) are distributed one by one. .
  • the mail processes (54 to 55) in the PE communicate with the processes constituting the ⁇ ', the development process and the MPS reading process in the PE.
  • the intra-PE mail process (53-55) in each PE communicates with the inter-PE mail process (52) allocated to PE0.
  • each of the grouped item groups is calculated by each part expansion ⁇ part, that is, the part development calculation process.
  • Fig. 19 shows a flowchart of the main synchronization mechanism process
  • Fig. 20 shows a flowchart of the sub synchronization mechanism process.
  • the MPS reading process, the component generation process, the component stacking acceptance process, and the component calculation process are almost the same as those in the flowcharts from FIG. 14 to FIG.
  • the main change is that in Fig. 14 to Fig. 17 in each case, the message that was sent by fi and Rona to the synchronous machine ⁇ process in each of the figures was sent to the synchronous machine ⁇ process.
  • the sub-synchronization mechanism process is used.
  • the parts metering process it is sent to the subordinate mechanism process.
  • the MRP meter Before the MRP meter, it is grouped into the process of calculating the inventories ⁇ (40-41). 1 "1il, and the top-level mouth-level code is top-level code. If the item [I, ',' is not in the group, the level code for the item is set to
  • control process (39) of the main synchronization process receives a message from the operator or another device to start the MRP calculation.
  • the control process (39) of the main synchronization mechanism process sets request-level-msg as the request message to the control process (46) of the sub-IRJ stage machine of each part expansion calculation process. 3 ⁇ 4: Send.
  • the control process (46) of the sub-synchronization mechanism process receives the request message, and moves from the top level to the main synchronization mechanism process (39) of the synchronization mechanism section.
  • the top level of the level message is "Top” for the top level, “Top” for the sync level, and "Top” for other levels.
  • Label “Continue”.
  • the process (39) sends a level message.
  • the pair of the ID number of the message width and the level type is placed in the queue for the level code queue process (36-38) also in the message block.
  • Instruct Count the number of messages received at each level.
  • the control process (39) of the main ffij-ho mechanism process knows the total number of parts exhibitions; ⁇ ⁇ ⁇ processes (40-41), and sends a level message from all parts exhibitions ff] total ⁇ processes. At that point, it sends an MPS read ⁇ start message called "read-mps" to the MPS read process (33-34).
  • the process of transmitting and receiving the level message may be performed in advance of the MRP calculation.
  • the MRP calculation starts from a message to start reading into the MPS.
  • the MPS reading process (33 to 34) receiving the message to start reading first starts the "mps—started (product to be read from now on) for the control process (39) of the main synchronization mechanism process. Number) is sent. After sending the MPS start message, start reading MPS for each product.
  • the MPS reading process sends a create message "create (product name)" to the component generation process (44) of the component expansion calculation process that performs the component expansion of the product ⁇
  • the request 3 ⁇ 4 is sent as a pile message to the parts stacking reception process (48) of the parts process of the product.
  • the MPS reading process (33 to 34) is called “mps_finis hed” at the point when the reading of a certain product is completed, and is directed to the process with the S (Shinamiyama) S (48) for that product. Send MPS reading end message. This is repeated for the number of products, and the process ends.
  • Part design The part creation process (44) of the process (40-41) receives the create message "create (product E1 name)" when it receives the create message.
  • a part process (43) for calculating the part development of the part is generated. However, if the parts process for the product 1 has already been performed, nothing is performed.
  • the generated parts process (43) consists of two parts, a parts calculation process and a parts stacking process. First of all, when generating the parts calculation process, the parts list data is read from the database via the data base ⁇ 1 system, and the parts such as lead time, level level code, child part name, and number of parts are read. Obtain the necessary information for the deployment meter ⁇ , and have this information stored in the parts calculation process.
  • the part generation process (44) is directed to the control process (46) of the sub-companion mechanism process of its own part development calculation process (2). ) "Is sent. After that, a parts stacking reception process (48) is generated. Here, if a stacking message has been received from the MPS reading process (33 to 34) before the parts stacking reception process (48) is generated, the PE ⁇ mail process (54) is used. Those messages are waited.
  • control process (46) of the sub-synchronization mechanism process in the parts development calculation process compares the item name in the message with the queue process of the mouth-level code in the message. And ask them to queue. Count the number of items received at each level.
  • the parts stacking reception process (48) receives the message from the MPS reading process (33-34), and calculates the required amount via the database management system in the data base. Update the data. This update is a process I !. that adds the contents of the piled-up message to the request ffi already received every day. When receiving the MPS reading finished message "mps_finished", the message is immediately sent to the synchronous machine. Transfer to the control process (39) of the main synchronous function process of the structure. Since the message sent from the MPS reading process (33-34) is preserved, the MPS reading end message always yields after the piled-up message. Therefore, when the parts stacking reception process (48) sends the MPS reading end message, the update of the required amount data has already been completed.
  • control process (39) of the main synchronous machine send process first, the power to receive the MPS start message and the number of products in this message are counted. After that, the reception of the MPS reading end message starts. Finished receiving MPS start messages from all MPS reading processes (33 to 34) and received MPS reading end messages for the same number as the total number of products in the MPS start messages.
  • the control process (39) determines that the reading of all MPS has been completed, opens the queue for the level 0 queue process, and sets the ID number of the part development calculation unit in the queue. For the type whose level type is “Top”, a level calculation start message “start_MRP” is sent to the control process of the sub-synchronization mechanism process of the part expansion calculation process with the ID ⁇ . .
  • the queue process of the top-level code of the part development calculation process receives the item name in the queue. And send a "startjrp" part calculation start message to the part counting process for that part.
  • control process (46) of the sub-synchronization mechanism process in the component development calculation process receives the message of the completion of the component calculation from the component calculation process (47) of the level where the calculation is in progress, it enters the queue process of that level. The next item name is extracted, and a component calculation start message "start_mrp" is sent to the component calculation process for that item.
  • start_mrp a component calculation start message
  • the control process determines that all of the items to be calculated in the part expansion calculation process have been completed for the item at that level, and the control process Part 1: For the InJ Tomo Organization process (39), "level—finished (part If the next lower level is not the synchronization level, the control process (46) immediately starts the sub-synchronization mechanism process.
  • the control process (39) of the main synchronization mechanism process of the synchronization mechanism section opens the level 0 queue, sends the level calculation start message to the corresponding part expansion calculation process, and then receives the level end message.
  • the end-of-level message comes with messages of various level codes. At a certain level, when the same number of end-level messages as already received are received, all items at that level are received. It is determined that all of the component deployment calculations have been completed. Due to the nature of how the level messages are created, the level at which the control process (39) of the main synchronization process determines the end must always be the level code at which the queue was last opened in the main synchronization process.
  • the control process (39) determines that a certain level has ended, the control process (39) causes the queue process (37-38) of the next level in the main fellowship process to open the queue and display the parts in the queue.
  • the control process (46) of the sub-synchronous mechanism process of the part expansion calculation process of the ID No. Send a level calculation start message "start-MRP".
  • the level type is "Synchronous”
  • the control process (46) of the sub-synchronization mechanism process of the part extension ijfj calculation process of the ID ⁇ ff continue the level calculation called "continue—the MRP (the rebeno record)". send a message.
  • ⁇ ⁇ ⁇ will be performed after all the part expansion calculations for the parent item of that item have been completed.
  • the control process of the synchronization unit determines that all levels have been completed; at the time ⁇ , the synchronization unit process determines the end of the MRP calculation, sends an end message to all processes, and ends the process. .
  • the process that has received the end message ends the processing.
  • the sub-synchronization mechanism process (45) in each component deployment calculation process executes the component deployment meter for each item at a certain level one by one sequentially. In particular, at the synchronization level, all processing at that level is suspended until a calculation continuation message arrives from the main synchronization mechanism process.
  • each part deployment meter is often interrupted at the synchronous level in the process (40 to 41), and processing is near May be. Therefore, by dividing the items into groups according to a certain S standard, it is possible to escape the processing without interrupting each part development calculation process (40 to 41).
  • the “: 1 level code is written and called the level. That is, the claim of the item may be written from another part deployment and metering process. Certain groups have the opportunity to complete multiple harmed levels. The lowest written level among them is called the lowest written level. (3) Write level
  • the level code of the item“ il ” is called a write level.
  • the level is called the highest harm level.
  • the control process (46) of the sub-synchronization mechanism process in each part expansion calculation process is started by the control process (39) of the main synchronization mechanism process of the synchronization mechanism section. From the level to the lowest level, send the level message "que_set-level (ID number of part development calculation unit, level code, level type)". In the level type column of this level message, for example, label “Start” if the level code is the start level; otherwise, label “Continue”.
  • control process (39) of the main synchronization mechanism process when a level message is received is the same as in the previous discussion.
  • the main control process of the long-term mechanism process (39) determines that reading of all MPSs has been completed, it opens the queue for the level 0 queue process, For the part of the ID ⁇ sign of the computation part that has “ ⁇ ” and “level” of “Start”, the part of the ID f ⁇ “”, the total number of the processes and the control process of the sub-community mechanism process sends the level calculation Hajimeme message that "s tart- MRP" c sub synchronization mechanism process control process (4 6) is called "start MRP" When the bell calculation start message is received, the top-level queue process of the parts development calculation process is caused to take out one item name in the queue, and the part of the product f I; the juice calculation process (47) Send a start message of " ⁇ _start_mrp".
  • control process (46) of the subordinate mechanism process in the parts deployment meter ⁇ process receives a message from the parts calculation process (47) at the level where the calculation is in progress, it receives that part calculation end message, The queue process of this item takes out the next item name, and sends a component start: " M start_nirp" message to the component calculation process for that item.
  • the control process (46) determines that all the component expansion calculations for the item at that level among the items to be calculated in the component expansion calculation process have been completed, and the main synchronization mechanism process (3 Sends a level end message “level—finished (ID number of the part development calculation unit, finished level code)” to 5), and the control process (46) immediately starts the sub-synchronization mechanism process. Noso
  • the queue process at the first level retrieves one item name in the queue, and sends a “start_mrp” part calculation start message to the lower-level item calculation process (47). If the queue is empty, proceed at a lower level as well.
  • the control process (39) of the main synchronization mechanism process of the synchronization mechanism section opens the level 0 queue, sends the calculation start message to the corresponding component development calculation process, and then receives the level end message.
  • End-of-level messages are powerful when messages of various level codes are received.At a certain level, when the same number of end-level messages that have already been received are received, the parts deployment calculation for all items at that level is performed. Judge that all has been completed. Due to the nature of the way level messages are created, The level at which the control process of the initial mechanism process determines the end is always the level code that opened the queue after S at that time in the main “ ⁇ ” initial mechanism process ⁇ .
  • the process opens the queue for the queue process at the next level of the main machine ⁇ process ⁇ , and displays the parts that were in the queue [3 ⁇ 4
  • the ID type of the calculation unit is “start” for the level type. If it does not, send a level start message of "start_MRP" to the control process (46) of the sub-computer process of the part expansion calculation process of the ID number.
  • the MRP measurement proceeds on a level-by-level basis.
  • Each part unfolding process receives the calculation start message and, at its own tempo, performs the level 'by.' Level calculation, so the part unfolding calculation for each part f
  • 1 ⁇ 2Because the calculation is started after all calculations at the lower level and above the level are completed, the part expansion calculation for any item is based on the part expansion of the parent item U of that item , ⁇ -are guaranteed to be done after all have been completed.
  • the M R ⁇ calculation ends when the control process of the synchronization mechanism determines that all levels have ended.
  • the component development calculation of each item is advanced in parallel by a plurality of component extensions m # 5, and each of the ', In ⁇ , it is possible to ensure that the calculation can be started after the parent item is completed. As a result, it is possible to shorten the conventional sequential calculation of M R ⁇ calculation and calculation calculation of ⁇ and the like in a short time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Method and apparatus for parallel processing a calculation of required amounts of materials such as various types of parts and raw materials needed for products to be produced in accordance with a production plan, comprising one or a plurality of MPS reading units for reading MPS (Master Production Schedule), one or a plurality of parts explosion calculation units and a synchronous mechanism unit for guaranteeing that a parts explosion calculation for each item is carried out after a parts explosion calculation for parent items has been completed and controlling the process of a parts explosion parallel calculation for each item within the range of the guarantee, whereby making it possible to obtain calculation results within a shorter period of time which are equivalent to conventional sequential required material amount explosion calculation.

Description

叨 細 書  Edifice
資材所 ¾量計算の並列処理方法及び装 U 技術分野 Material plant 並列 Parallel processing method and equipment for mass calculation U
木発 Iリ jは生 l-jilifが人力されたとき、 この生産計画によって生産され る製品を生 ¾するのに必 な各^ W品、 原材料の 材所要量計算方法及 び装置に関する。 背景技術  Kibori Iri j relates to the method and apparatus for calculating the required amount of each ^ W product and raw materials required to produce the products produced by this production plan when raw l-jilif is manually input. Background art
モータ等の一-つの製品が指定された ¾合、 この製品を作るのに必要な 部品の稲類とその個数とを ΰ動的に算出する方法の一つとして、 資材所 要虽計画 (Material Requirements Planning, 以下 MR Pと呼ぶ) が知 られている。 資材所要 il 計^方法及び装蹬とは、 この MR Ρのための計 算方法及び装^を指す。 以下、 ΪΪ材所要 S計算を MR P計算-と呼ぶ。  If one product, such as a motor, is specified, one of the methods for automatically calculating the number of rice and the number of parts required to make this product is as follows. Requirements Planning (hereinafter referred to as MRP) is known. Material requirements il method and equipment refer to the calculation method and equipment for this MR. Hereinafter, the calculation of material requirement S is referred to as MRP calculation.
MR P及び従来の MR P計 .方法は、 例えば 「図説 MR P用語 5 0 0 選」 (日刊工業新聞社 : 昭和 58年発行) 等に記戟があるが、 以下、 従来 の M R P計算方法について饷 ijtに説明する。  The MRP and the conventional MRP meter are described in, for example, “Illustrated MRP Term 500 Selection” (Nikkan Kogyo Shimbun, published in 1983).説明 I will explain to ijt.
M R Ρ 計算では、 立案された製品 レベルの生産計画 ( Master Production Schedule, 以下 M P Sと呼ぶ) を基に、 部品、 原材料などの 品目について" 必要なものを (品目) 、 必要な時に (納期) 、 必要なだ け (所要量) " 購買したり、 製造したりするための手配計画を計算する。 この計算では大きく以下の 3つの怙報を必耍とする。  In the MR 計算 calculation, based on a planned product-level production plan (Master Production Schedule, hereafter referred to as MPS), for items such as parts and raw materials, "necessary items (items), when necessary (delivery date), Only as needed (required) "Calculate an arrangement plan for purchasing or manufacturing. This calculation requires the following three types of ecology.
( 1 ) M P S  (1) M P S
一般には、 部品展開図で ト ップレベルにある品目 (製品) の生産計画。 基準生産計画ともいう。 ( 2 ) r¾ ππ Generally, it is the production plan of the item (product) at the top level in the parts exploded view. Also called standard production plan. (2) r¾ ππ
「品 EJデ一夕」 と呼ばれる ,'π', I Iに特ィ ίのデータと、 「製品構成データ J と呼ばれる、 と ,ν,、 ;¾ ,ν.と部品、 部品と原材料といった品 ø と ,',,', 品, デ, 特, デ ー タ, 品, 部品,., And parts, parts and raw materials デ ー タWhen ,',,',
0の閱迚を示したデータ との 2つのマス夕一データからなる一览表。 品 Πデータ としては例えば、 その,' η', [Iを製造したり、 睛買したりする ときに必¾::となる (以下リー ドタイムと呼ぶ) 等がある。 また、 製 品梢成デー夕によって、 例えばある品 [71を製造するのに必要な子品 1は 何で、 製造する WJ つに対し、 それぞれの子品目が幾つ必要になるか (これを各子品 Πの U数と呼ぶ) といった情報を得るこ とができる。 ( 3 ) 在茆 · 注残 A table consisting of two pieces of data, one with the data indicating the value of 0 and the other with the data. Goods The Π data example, the, 'eta', [or to produce I,必¾ when or 睛買: (hereinafter referred to as lead time) become, and the like. Also, depending on the product topography, for example, what is the child product 1 necessary to manufacture a certain product [71, and how many child products are required for each WJ to be manufactured (this (Called the U number of the product). (3) 茆
それぞれの品目について现 ' での在 ^や仕掛数、 あるいは既に発注济 みで将来納品される予定の品 の納品時期と予定数 (注残情報) 。 For each item, the location at 现 'and the number of products in process, or the delivery time and number of items already scheduled for delivery in the future (order back information).
このような情報をもとに、 M R P計算-では、 各品目に関して以下の 5つ の計算を行う。 Based on such information, MRP calculation performs the following five calculations for each item.
( 1 ) 総所要贵計算  (1) Total requirement calculation
その品 の所 データを み込み、 要求されている aをある ο ί¾にま とめて、 期問別の総所 ¾ : を^出する。 以下、 説明を简単にするため、 期問は 1 日 と して、 日別の計画立案について説明する。 The data of the item is taken in, the required a is grouped into a certain ο 、, and the total location 別: is obtained for each period. In the following, for the sake of simplicity, the period will be one day, and daily planning will be explained.
( 2 ) 正味所要 ffi計算  (2) Net required ffi calculation
算出された総所要 ¾を¾に、 在^や注残への引当を行い、 日別に必要な 正味所耍盪を算出する。 Based on the calculated total requirements ¾, reserves for stocks and backlogs and calculate the required net shaking on a daily basis.
( 3 ) ロッ トま とめ  (3) Lots
出された π別の π·:味 ¾ ¾を ¾に、 品目に設:^されているロ ッ トサイ ズを用いて、 手配に ¾も適した数^にま とめる。  The π-specified π ·: taste ¾ ¾ is given to ¾, and 品目 is set to a number suitable for arrangement using the set lot size.
( 4 ) リー ドタイ厶計  (4) Lead time meter
ロ ッ トまとめされた数 .の納朋からリ一ドタイムを! £引き、 その発注日 または 手 uを^出してオーダを作成する。 Lots of lots put together for a lead time! £ discount, the order date OR Create a order by issuing a hand u.
( 5 ) 所要傲展開  (5) Necessary arrogance
部品 ¾を川いて 1、·位, , Mへと、 作成したオーダを展開する。 具体的には、 オーダの若手 Πの前 I!を¾求 Π として、 製品栴成データの子品目と員数 をもとに、 ^子 W1の :求 を :出し、 各品口の所要量データに書き込 む。 Expand the created order to the 1st place,,, M, with parts ¾. To be specific, I am in front of the young order Π! Based on the child items and the number of products in the product feed data, the request for the child W1 is issued and written in the required quantity data for each item.
上記の ( 1 ) から ( 5 ) までの計^を総称して以下、 部品展開計算と 呼ぶこ ととする。 MR P ,汁^は、 M P Sで設定されたすベての製品に |¾ し、 その製品を製造する際に必耍となる全ての品目の部品展開計算を行 う。  The totals ^ from (1) to (5) above are collectively referred to as part expansion calculation hereinafter. MRP, juice ^ is || for all products set in MPS, and the parts development calculation of all items necessary for manufacturing the products is performed.
この時、 注; Sしなければならないのは各品 I の部品展開計算を行う夕 イ ミ ングである。 例えば、 笫 2図の部品展開図に示すような構成の製品 の場合、 品目 C Lは、 品 H C及び品目 R Cの子品目となっている。 そ のため品目 C Lの総所要盘は、 品 [Π H C及び品目 R Cからの要求量の和 となり、 品目 C Lの部品展 |¾計^は、 品目 H C及び品目 R Cの部品展開 計算が終了してから行われなければならない。  At this time, note; what must be done is the evening when the component development calculation for each product I is performed. For example, in the case of a product with a configuration as shown in the parts exploded view in Fig. 2, item CL is a child item of item HC and item RC. Therefore, the total requirement of item CL is the sum of the requirements from the item [Π HC and item RC, and the parts exhibition of item CL | Must be done from.
この例では、 一製ん',だけの比較的 な部品構成であつたが、 突際に は数百から数千の製品が、 数万に及ぶ品目で複雑に構成された状態での 計算を行う必要がある。 そこで、 従来の MR P計算では、 ロー レベルコ ー ドを導入し、 キューを川いて各品目の部品展開計算の制御を行ってい る。 キューの代わりにアクティ ビティチェーンと呼ばれるポイ ンタを使 う ものも一般的である力;、 制御の方式としては本質的に全く同じもので あるので、 以下、 キューを用いた方式を例に従来の  In this example, it was a relatively simple part configuration, but in the event of a sudden, calculations were performed in a state where hundreds to thousands of products were composed of tens of thousands of items in a complex manner. There is a need to do. Therefore, in the conventional MRP calculation, a low-level code is introduced, and a queue is controlled to control the component development calculation of each item. It is also common to use a pointer called an activity chain instead of a queue. The control method is essentially the same, so the following describes the conventional method using a queue as an example.
MR P計算について説明をする。 The MRP calculation will be described.
2図に示すようにある製 ,'„ の部品展開図をもとに各品 Θには部品 成上のどの階層に厲するかでレベルコー ドを付与することができる。 品 目によっては、 ある製ん',の屮で祓数の階層に厲する場合や、 あるいは祓 数の製品において^なる附 /ί· に尿する場合があり、 その品目は複数のレ ベルコー ドを持ちう る。 そこで、 その中でも最も下位のレベルコー ドを ローレベルコー ドとする。 ここで、 下位とは、 部品展開図上でより基本 的な品 のレべルに逃む方向を指す。 通常、 レベルコー ドは製品レベル を 0 レベルとして、 ^本的な品 0に向かって階層が進むに従ってレベル コー ドの数が増える。 従って、 口一レベルコー ドは、 その品目が持つレ ベルコ一 ドのうち最大のィ ιι'ι:のレベルコー ドとなっている。 また、 このこ とは、 レベルコー ドとは ¾なりローレベルコ一 ドに関しては各品目にお いてそれぞれただ一つだけ定まるということである。 各品目のローレべ ルコー ドは、 M R Ρ計算が始まる前に部品表の全ての品目を検索するこ とで設定されており、 品 特有の情報として品目データに書き込まれて いる。 As shown in Fig. 2, each product can be assigned a level code based on the component composition hierarchy based on the component development diagram of the product. Depending on the eyes, there may be a case where a certain product's block enters the hierarchy of the number of exclusions, or a product of the number of exclusions urinates to the な る / ί. Bring it. Therefore, the lowest level code is the low level code. Here, the term “lower” refers to the direction of escape to the level of a more basic product on the part development diagram. Normally, the level code is set to the product level 0, and the number of level codes increases as the hierarchy progresses toward the basic product 0. Therefore, the oral level code is the largest level code of the item's level code. This also means that only one level code is defined for each item, much less for low-level codes. The low-level code for each item is set by searching for all items in the BOM before the MR II calculation starts, and is written in the item data as item-specific information.
從来の M R Ρ計算は、このローレベルコー ドを利用し、 レベル'バイ · レベルで各品目の部品展 1 計 の順^を決定している。 具体的には、 以 下の手順で処理が進められる。  The conventional M R Ρ calculation uses this low-level code to determine the order of the parts expansion of each item at the level 'by-level'. Specifically, the process proceeds according to the following procedure.
( 1 ) M P Sの読み込み  (1) Read MPS
M P Sの中の製品レベルの品目に対し、 M P Sから読み込んだ要求量を 書き込む。 また、 このとき、 レベル 0のキューにその品目名を入れる。 ( 2 ) レベル 0のキューから計算-開始  For the product-level items in MPS, write the requested quantity read from MPS. At this time, the item name is put in the level 0 queue. (2) Start calculation from level 0 queue
M P Sの読み込みがすべて終了した時点で、 レベル 0のキューから品目 名を一つ取りだし、 その Iの部^展開計算を行う。 終了すればキュー から次の品目名を取り出す。 ここで、 部品展開計算の中の所要量展開の ときに、 子品目名をその子品目のローレベルコー ドのキューに入れる。 但し、 既にキューに入っている場合は何もしない。  When all the reading of the MPS is completed, one item name is taken out from the level 0 queue, and the part I expansion calculation is performed. When finished, retrieve the next item name from the queue. At this time, the child item name is put into the low-level code queue of the child item at the time of the required amount expansion in the parts expansion calculation. However, do nothing if already in the queue.
( 3 ) レベル ' バイ · レベルの展^ あるレベルのキューが :になったとき、 次の下位のレベルのキューから 品 Θ名を一つ取りだし、 その,' π', 11の部品展開計算を行う。 空になるまで はそのレベルのキューから取りだし続ける。 部品展開計算の所要 展開 時に子品 1名をその Γ· nu Πのローレベルコー ドのキューへ入れる。 但し、 既にキューに入っている 介は何もしない。 (3) Level 'By Level Exhibition ^ When the cue of a certain level becomes:, take out one product name from the cue of the next lower level, and perform the part expansion calculation of 'π', 11. Until it is empty, it keeps removing it from the queue at that level. Required for part expansion calculation At the time of expansion, one child product is put into the low-level code queue of its {nu}. However, it does nothing if it is already in the queue.
( 4 ) M R P計 .の終了  (4) End of MRP meter
全てのレベルのキューが? になつた Π 点で計算終了。 Queues at all levels? The calculation ends at the に point.
既に説》 したように、 従来の MR P計^は、 各品目の郜品展 計算が その親品 (^の部品展 Ι;ΗίΠ· :がすべて終了してから必ず行われるように口 一レベルコー ドとキューを川いて制御されている。 しかしながら、 この 制御方式は、 その結果として各 ', ΓΙの部品展開計算を一つずつ逐次的に 行う ものであり、 製品数、 部品数、 画期 Pu'jが大きい場合、 膨大な処理 時問が必要となっている。 そのため、 この MR P計算を頻繁に行うこ と ができず、 例えば市場動向に応じて生産計画を立案しなおしたい場合や、 在寐、 注残等の変更があった場合にも、 細かく対応することができない c 本発明は、 各品 ίΞΐの部 1,展開計^を並列に処理することで、 MR P ;1- : の処现時 を短縮し、 ί'Τί々の変動に対応して生産計画を高速に立案する ことをその目的とする。 発明の開示 As already explained, the conventional MRP meter ^ has a mouth-level code so that the product exhibition calculation of each item is always performed after the parent product (parts of ^ Ι; ΗίΠ However, as a result, this control method sequentially performs the part expansion calculation for each ', ΓΙ one by one, and the number of products, the number of parts, When 'j is large, a huge amount of processing time is required, so this MRP calculation cannot be performed frequently. For example, if you want to re-create a production plan according to market trends, standing寐, Note also in case of change of the remaining such as, finely corresponding c present invention can not be the part 1 of the article IXi, to treat the expanded meter ^ in parallel, MR P; 1-: To shorten the processing time of production, and to quickly formulate production plans in response to fluctuations The target. DISCLOSURE OF THE INVENTION
上記の目的を途成するために本発明による MR P計算方法及び装置は 第 1 図に示すように、 M P Sの読み込みを行う M P S読み込み部 ( 1〜 3 ) を一つないし祓数個 し、 ^ flの部品展開計算を行うための部品 展開計算部 ( 4〜 6 ) を一つないし複数個有し、 各品目の部品 ffi開計^ がその親品 [Iの ¾ m I;H計 :が終 してから行われることを保訨し、 か つ、 その保証の; f¾四 において各 , LIの部品展開計算を並列に; Ιίί:めるこ とを可能とする同)W機構部 ( 7 ) を一つ有するこ とを特徴としている。 一つないし複数個の M P S み込み部 ( 1〜 3 ) により、 M P Sの読 み込みが行われる。 み込んだ製 ',の要求 S:は山稂みメ ッセージとして、 該製品の部品展 1) 計 ' を う部 ' Ji 計^部 ( 4〜 6 ) へ送られる。 In order to achieve the above object, the MRP calculation method and apparatus according to the present invention comprises one or several MPS reading units (1 to 3) for reading MPS as shown in FIG. It has one or more parts expansion calculators (4 to 6) for calculating the parts expansion of fl, and the parts ffi opening of each item ^ is the parent product [I m; m I; H meter: After that, it is guaranteed that it will be performed afterwards, and the parts expansion calculation of each LI is performed in parallel at f¾4; It is characterized by having one W mechanism (7). The MPS is read by one or more MPS reading units (1 to 3). The request for the embedded product ', S: is sent as a mountain message to the parts display of the product.
同朋機構部 ( 7 ) は、 M P Sの読み込みが終了した品目を有する部品 展開計算-部 ( 4〜 6 ) に対し、 計^ 1) 始メ ッセージを送る。 計算開始メ ッセージを受けた部品 計算; 'il; 、 4〜 6 ) は、 各品目の部品展開計算 を開始する。 但し、 部品展開計 Τ:ί?1;は、 親品目の部品展開計算が終了し ていない品 ^に関しては、 部品 l ; ,Π·^を行わない。  The Doho mechanism part (7) sends a total of 1) start message to the parts development calculation part (4-6) that has the item whose MPS has been read. The parts calculation that received the calculation start message; 'il ;, 4 to 6) starts the parts development calculation for each item. However, the part expansion meter Τ: ί? 1; does not perform the parts l;, Π · ^ for the parts ^ for which the parts expansion calculation of the parent item has not been completed.
部品展開計算部 ( 4〜 6 ) は、 !計^を行なっている品目の所要量 展開計算において、 子品 の要求 は山嵇みメ ッセージとして、 その子 品目の部品展開計算を行なう部品!: 計算-部 ( 4〜 6 ) へ送る。 部品展 開計算部 ( 4 ~ 6 ) は山積みメ ッセージを受け取ると、 その品目の所要 量データへ書き込む。  The part development calculation section (4-6) is! In the calculation of the required quantity of the item for which the total is calculated, the request for the child product is a Yamapami message. : Send to the calculation part (4 to 6). Upon receiving the piled-up message, the parts unfolding calculation section (4 to 6) writes the required quantity data of the item.
同期機構部 ( 7 ) は、 部品展 Ι)ίΠΙ·ϊίίίΙ'; ( 4〜 6 ) より計算の進行状況 の報告を受ける。 そして、 その籾品 Πの部品展開計算が終了している品 目を有する部品展開計^部に対し、 計算 始もしく は計算継続メ ッセー ジを送る。 また、 同期機構部 ( 7 ) は送られてく る種々のメ ッセージを もとに、 M R Ρ計算の終了を判;^する。 図面の簡単な説明  The synchronization mechanism (7) receives a report on the progress of the calculation from the parts exhibition Ι) ίΠΙ · ϊίίίΙ '; (4-6). Then, a calculation start or a continuation message is sent to the part deployment meter that has completed the part development calculation for the paddy. The synchronization mechanism (7) determines the end of the M R Ρ calculation based on the various messages sent. BRIEF DESCRIPTION OF THE FIGURES
第 1図は、 全体のブロ ッ ク図であり、 第 2図は、 部品展開図とローレ ベルコー ドの説明図であり、 笫 3 Iは、 部品構成の説明図であり、 第 4 図は、 逐次計棼の考え方の説 Iリ jfelであり、 第 5図は、 階層並列の考え方 の説明図であり、 第 6図は、 製品 ^Nfc列の考え方の説明図であり、 第 7 図は、 製品群階層並列の考え方の説明図であり、 第 8図は、 疎結合フ ァ ィル非共冇形並列 '機の説明図であり、 第 9図は、 その他の並列 , 分 散計算機環境の説明 Iであり、 ; 1 0図は、 データ格納方式の説明図で あり、 1 図は、 邨 i'i W方忒の説明図であり、 第 1 2図は、 階層並列 のプロセスモデルの説 Iリ j図であり、 ^ 1 3図は、 同期機構プロセスのフ ローチャー トの説明 [¾|であり、 ^ 1 4図は、 M P S読み込みプ口セスの フローチヤ一 卜の説明図であり、 第 1 5図は、 部品生成プロセスのフロ 一チャー トの説叨図であり、 笫 1 6図は、 部品山積み受付プロセスのフ ローチャー トの説明図であり、 第 1 7図は、 部品計算プロセスのフロー チヤ一 卜の説明図であり、 1 8図は、 製品群並列のプロセスモデルの 説明図であり、 1 9 (¾|は、 主同期機構プロセスのフローチヤ一卜の説 明図であり、 第 2 0図は、 副同期機構プロセスのフローチヤ一 卜の説明 図であり、 第 2 1図は、 主.同期機構プロセスのフローチヤ一卜の説明図 であり、 第 2 2図は、 副同期機 'プロセスのフローチヤ一卜の説明図で ある。 発叨を実施するための: ¾良の形態 FIG. 1 is an overall block diagram, FIG. 2 is an exploded view of parts and an explanatory view of low-level code, 笫 3I is an explanatory view of a parts configuration, and FIG. Fig. 5 is an explanatory diagram of the concept of hierarchical parallelism, Fig. 6 is an explanatory diagram of the concept of the product ^ Nfc sequence, and Fig. 7 is an explanatory diagram of the concept of hierarchical parallelism. Fig. 8 is a diagram for explaining the concept of product group hierarchy parallelism. Fig. 9 is an explanatory diagram of other parallel / distributed computer environment I; Fig. 9 is an explanatory diagram of a data storage method; The figure is an explanatory diagram of the son i'i W method. Fig. 12 is a diagram I of the hierarchical parallel process model. The ^ 13 diagram is a flowchart of the synchronization mechanism process. Explanation [¾ |, and FIG. 14 is an explanatory diagram of a flowchart of the MPS reading process, and FIG. 15 is an explanatory diagram of a flowchart of the component generation process. Fig. 16 is an explanatory diagram of the flow chart of the parts stacking reception process, Fig. 17 is an explanatory diagram of the flow chart of the parts calculation process, and Fig. 18 is a process model of product group parallel 19 (¾ | is an explanatory diagram of a flowchart of the main synchronization mechanism process, and FIG. 20 is a subordinate diagram. Fig. 21 is an explanatory diagram of a flow chart of a synchronous mechanism process, and Fig. 21 is an explanatory view of a flow chart of a main synchronous mechanism process. Fig. 22 is a flowchart of a secondary synchronous machine 'process. It is an explanatory drawing.
本発明をより詳細に説述するために、 添付の図面に従ってこれを説明 する。  The present invention will be described in more detail with reference to the accompanying drawings.
第 3図から第 2 2図を用いて、 3つの実施例を説明する。  Three embodiments will be described with reference to FIGS. 3 to 22. FIG.
まず、 最初にこれらの ¾施例の ¾本的な考え方について述べる。 例题 として、 笫 3図に示すような部品構成での M R P計算について考える。 この部品構成では、
Figure imgf000009_0001
Λ、 製品 Β、 製品 Cの 3種類だけで、 お互い共 冇部品を持ち、 ¾下 /:のローレベルコー ドは 6である。 M R .P計算.は、 この図で筘で示された品「I全てについて部品展開計算を行うことである < 但し、 ある品 Wの計 :は、 その^品 1 1の計算が全て終了してから行わな ければならない。 従来の逐次計^は、 第 4図に示すように矢印の顺番に 部品展 -を行っている。 すなわち、 レベル ' バイ · レベルで全体が 進み、 各レベルにおいては、 そのレベルに属する品目の部品展開計算を 順次進めていく という ものである。
First, the basic concept of these examples is described. As an example, let us consider an MRP calculation with a parts configuration as shown in Fig. 3. In this part configuration,
Figure imgf000009_0001
Only three types, の, Β, and CC, share parts with each other, and the low-level code of の /: is 6. The MR.P calculation is to perform the part expansion calculation for all products "I" shown in 筘 in this figure. <However, for a certain product W: As shown in Fig. 4, the conventional sequential meter ^ Parts exhibition- In other words, the whole progresses at the level 'by' level, and in each level, the parts development calculation of the items belonging to that level is sequentially advanced.
これに対し、 1 iff Πの¾施例の ¾本的な考え方は、 第 5図に示すよう に、 従来の逐次;汁 :と Mじょう にレベル · バイ · レベルで全体が進むが、 各レベルにおいては、 そのレベルに属する品目の部品展開計算を並列に 進めていく という ものであ 。 以後この方式を階層並列方式と呼ぶこ と とする。 階層並列方式では、 各レベルで並列に進められる部品展開計算 の状況を把握し、 レベル ' バイ · レベルで処理を進めていく ために同期 機構部を必 ¾とし、 各部 m u!j ill- 部ではそれぞれに適当に割り当てら れた各レベルの品目の計 nを行う。  On the other hand, the basic idea of the 1 iff example is that, as shown in Fig. 5, the whole sequence proceeds at the level of the conventional sequential; juice: and M levels. In, parts development calculations for items belonging to that level are performed in parallel. Hereinafter, this method is referred to as a hierarchical parallel method. In the hierarchical parallel method, a synchronization mechanism is required in order to grasp the status of component development calculations that can be performed in parallel at each level, and to proceed with processing on a level-by-level basis.The mu! Jill- Perform a total of n items at each level appropriately assigned to each.
2番 の突施例の ½本的な え方は、 笫 6図に示すよう に、 まず、 全 品目を幾つかのグループに分け、 各グループ内の処理は従来と同様の逐 次計算で進める力 各グループの処理を並列に進めていく という もので ある。 以後この方式を製 ',群並列方式と呼ぶこ ととする。 製品^並列方 式では、 品 のグループがそれぞれ部品展開計算部に割り当てられ、 各 部品展開計算部では従来と同様の逐次的 M R P計算が進む。 ただし、 任 意の品 EIの計算は、 そのお i品目の ,汁算が全て終了してから行わなければ ならないという条件を満たすために、 各部品展 計算部の進行状況を把 握し、 各部品展 u j計 n部の計 I 始のタイ ミ ングを管理する同 jw機 部 が必要となる。 また、 これに閥係して、 製品^並列方式では品目のグル ープ分けをある^準を ¾たすよう にすると比較的に簡単に並列に処 a [を 進めるこ とができる。 この ¾準については後述する。  The basic method of the second example is as follows: First, as shown in Fig. 6, all the items are divided into several groups, and the processing in each group proceeds by the same sequential calculation as before. Force The process of each group proceeds in parallel. Hereafter, this method will be referred to as the production and group parallel method. In the product ^ parallel method, each product group is assigned to the part expansion calculation unit, and each part expansion calculation unit proceeds with the sequential MRP calculation as in the past. However, in order to calculate the EI for an arbitrary item, the progress of each part expansion calculation unit must be grasped in order to satisfy the condition that the calculation must be performed after the calculation of the i item has been completed. Parts exhibition uj A total of n parts is required. Also, in relation to this, in the product-parallel method, it is relatively easy to perform the process a [in parallel if the grouping of the items satisfies a certain criterion. This standard will be described later.
3忝【Iの実施例は、 7冈に示すよう に階 並列方式と製品群並列方 式の組合せである。 即ち、 製品^並列方式では、 各品目のグループは従 来の逐次的 M R P ill- :力 で処理が ϋめられたが、 この 3番目の実施例 では各グループでの ;Ι· Τ).を階^並列方式で行う という ものである。 以後 この方式を製品群階/ ^並列方 と呼ぶこ ととする。 以上が本実施例の基 本的考え方である。 製 ;„', 階 )';·■;並列力'式は節 -Hiな組合せであり、 その詐 細は p m並列方式、 製 ,'η', η並列方式の詳細から容易に考察できるため以 後この説明は^略する。 As shown in Fig. 7 (3), the embodiment of 3G [I] is a combination of the floor parallel system and the product group parallel system. That is, in the product-parallel system, each group of items was processed by the conventional sequential MRP ill-: force. Then,; Ι · Τ). In each group is performed in a floor-parallel manner. Hereinafter, this method will be referred to as the product group floor / ^ parallel method. The above is the basic concept of the present embodiment. ; „', Floor)'; · ■; parallel force 'formula is a clause -Hi combination, and its fraud can be easily considered from the details of the pm parallel system and', 'η', η parallel system. Hereinafter, this explanation is omitted.
次に、 階層並列方式、 製品^並列方式の各実施例の詳細に入る前に、 共通の事項について説 Iリ jする。  Next, before going into the details of each embodiment of the hierarchical parallel method and the product ^ parallel method, the common items will be explained.
本実施例は、 第 8図に示すよう に疎結合ファィル非共有型の並列計算 機上での例である力 <、 9図に示すよう な密結合型並列計算機、 あるい は疎結合ファ ィル共打 !計!?:機、 あるいはこれらの並列計算機や従来の 逐次型計算機がネッ トワークで結合された分散環境でも可能である。 ま た、 第 8図では、 疎結合された各 P E ( Process ing Element )は、 シング ル C P Uとしている。 これも説叨の便宜上の設定であり、 各 P Eが更に メモリ共有の密結合型マルチし ' P Uであつても本発明の実施は可能であ る。  In this embodiment, as shown in FIG. 8, the power is less than that of a loosely-coupled file non-shared type parallel computer, and the tightly-coupled parallel computer shown in FIG. Le co-hit! Total! It is also possible in a distributed environment where?: Machines, or these parallel computers and conventional sequential computers are connected by a network. In FIG. 8, each loosely coupled PE (Processing Element) is a single CPU. This is also a setting for convenience of discussion, and the present invention can be implemented even if each PE is a tightly coupled multi-PU with shared memory.
また、 本突施例では^ 1 0図( a :)に示すよう に、 疎結合された各 P E にデータベース管理システムが分散配 Sされている状況の例であるが、 第 1 0図( b )に示すような特定の P Eにデータベースシステムが桀中管 理されている状況でも可能である。 データベースシステムを用いず、 通 常のフ ァイルシステムを/ 1 、るこ とも可能である。  As shown in Fig. 10 (a :), this example is a situation where the database management system is distributed and distributed S to each loosely coupled PE. This is possible even in a situation where the database system is managed by a specific PE as shown in). It is also possible to use a normal file system without using a database system.
以下の説明では、 一つのま とまつた計算のかたま りをプロセスと呼ぶ こ ととする。 複数のプロセスの集合もまたプロセスである。 マルチタス クのオペレーティ ング . システムでは、 1 つの P E上で複数のプロセス を並行に動かすこ とができる。 本灾施例では、 このよう なマルチタスク のオペレーティ ング · システム上で、 プロセスが迎信しあうモデルの例 で説明を進めるが、 例えば、 実行可能なプロセスをキューにいれて顺次 実行するという機構を設けるこ とにより、 1 つの P E上で常に 1 つのプ 口セスが動く シ ングルタ スクのシステムでも簡単に実現するこ とが可能 である。 In the following description, a set of calculations is called a process. A set of multiple processes is also a process. Multitasking operating systems allow multiple processes to run in parallel on a single PE. In this example, the process will be explained with an example of a model in which processes interact with each other on such a multitasking operating system. By providing a mechanism to execute, it is possible to easily realize a single task system in which one process always runs on one PE.
ここで、 以後の説明に川いる 「並行」 と 「並列」 という用語について 定義をしておく 。 「並行 J とは複数のプロセスが独立に同時に処理が可 能という状態を措す。 これは論理的には同時に動かすこ とは可能という こ とであり、 物现的に M I に処 が進んでいるかは特に言及しない。 例 えば、 マルチタスクのよう に 1つの P E上でタイムシ アリ ング的に祓 数のプロセスが動いている 4合は、 それらは 「並行」 して動いていると いう こ とができる。 しかし、 ある瞬問を考えるとその P Eがシングル C P Uの場合、 実際に動いているのは 1つのプロセスだけである。 これに 対し、 「並列」 とは複数のプロセスが物理的に同時に処理が進んでいる 状態を指す。 複数の P E上で、 それぞれプロセスが動いている場合、 そ れらは 「並列」 して動いているという こ とができる。 「並列」 より も 「並 行」の方が大きい概念である。 「並列」 に勁いているプロセスは必ず「並 行」 して動いている力 、 「並行」 して動いているプロセスは必ずしも 「並 列」 に動いているとは限らない。 本実施例は、 複数のプロセスがメ ッセ Here, the terms "parallel" and "parallel" are defined in the following description. "Parallel J means that multiple processes can be processed independently and simultaneously. This means that it is logically possible to run them at the same time. For example, if the number of processes is running on a single PE in a time-sharing manner, such as in multitasking, it means that they are running in parallel. Can be. However, given a momentary question, if the PE is a single CPU, only one process is actually running. In contrast, “parallel” refers to a state in which multiple processes are physically proceeding simultaneously. If processes are running on multiple PEs, they can be said to be running "in parallel." “Parallel” is a concept that is larger than “parallel”. Processes running in "parallel" do not always run in "parallel", while processes running in "parallel" do not always run in "parallel". In this embodiment, a plurality of processes
—ジを交換しながら並行して動く モデルで説明をしている。 これらのプ ロセスすべてを 1つの P E上に割り当てて処理をすすめるこ とも可能で あるが、 複数の P E上に割り当てるこ とにより並列に処理が進む。 既に 述べたように、 各 P E上に割り当てられた複数個のプロセスは、 各プロ セスの処理をもっと細かく スライスして、 マルチタスク的に動かしても 良いが、 実行可能な状態となっている各プロセスの処理を丸ごと逐次的 に動かしても構わない。 —The explanation is based on a model that moves in parallel while exchanging dice. Although it is possible to assign all of these processes to one PE to proceed with the process, assigning them to multiple PEs allows the process to proceed in parallel. As mentioned earlier, multiple processes assigned to each PE may be sliced more finely and run in multitasking, but each process is executable. The whole process of the process may be moved sequentially.
また、 あるプロセスが別のあるプロセスに向けて送ったメ ッセージの 順番は、 顺岙通りそのプロセスへ Ιι;く という計算モデルで本実施例は説 明する。 これも、 顺^が保存されない計算モデルで実施する場合は、 例 えばあるプロセスへのメ ッセージには、 発信する際すべてシリ アル番号 をつけて送り、 受信側ではシ リ アル^号の顺赉でメ ッセージを処理する という機構を設けるこ とにより、 木実施例と同様に実施することができ る。 The order of messages sent by a process to another process is based on the calculation model that the process goes to the process in general. I will tell. If this is also done using a calculation model in which 顺 ^ is not stored, for example, messages to a certain process are all sent with a serial number when they are sent, and the receiving side sends the serial ^ By providing a mechanism for processing a message in the tree, it is possible to carry out the same operation as in the tree embodiment.
あるプロセスが、 別のプロセスにメ ッセージを送る場合、 そのプロセ スがどの P E上にあるかを知る必要がある。 そこで、 どのプロセスがど の P E上にあるかを 屮的に^现し、 それに芘づきプロセス間の通信を 行う と简潔にシステムを構築するこ とができる。 分散環境用 ミ ドルゥェ ァと呼ばれている一般的なソフ 卜ウェアを利用する方法を始め、 このプ ロセス問の通信方式は、 幾つかの方法がありう るが、 本実施例では第 1 1 図に示すような 「邨 局方式」 と呼ばれる通信方式で説叨を進める。 これは、 どのプロセスがどの P E上にあるかを 1 ケ所で集中的に管理す る P E問メールプロセス ( 8 ) を - つ置く という ものである。 P E間メ ールプロセス ( 8 ) は、 あるプロセス宛のメ ッセージを受け取ると、 そ のプロセスの存在する P Eへ転送する。 各 P Eには P E内メールプロセ ス ( 9〜 1 1 ) がそれぞれ一つあり、 P E問メールプロセス ( 8 ) 力、ら 転送されてきたメ ッセージを、 宛先となっているプロセスへ転送する。 また、 ある P E内のプロセスがあるプロセスヘメ ッセージを送る場合は 宛先のプロセス名を!1 、て I分のいる P Eの P E内メールプロセス ( 9 〜 1 1 ) へ送る。 P E內メールプロセス ( 9 〜 1 1 ) は宛先となってい るプロセスが自分の P E内に存在する場合は、 すぐにそのプロセスへ転 送し、 そうでない場合は、 P E iiijメールプロセス ( 8 ) へ転送する。 こ の仕組みによ り、 各プロセスは、 メ ッセージを送る相手のプロセスがど の P Eに存在するかを知らなくてもメ ッセージのやり取りを進めるこ と ができる。 特に、 M R P i ^においては、 各品目がどの P Eで部品展開 計算されるかを、 P E ll'.Jメールプロセス ( 8 ) が把握しており、 各 P E 内メールプロセス ( 9〜 1 1 ) は自分の P Eで計算される品目名のみを 把握している。 各 P E內メールプ uセス ( 9〜 1 1 ) が全く何も知らな い状況でも P E [i!Jメールプロセス ( 8 ) 経由で必ずメ ッセージは届くが、 その ·合通信に要する I [liJが 人する。 この郵便局方式によるプロセス 間の通信方式は ί なる 列であり、 別の方式でも本発明を実施するこ と は可能である。 When a process sends a message to another process, it needs to know which PE it is on. Therefore, it is possible to construct a system in a brilliant way by communicating which processes are on which PEs and communicating between the processes. There are several communication methods for this process, including a method using common software called a middleware for distributed environment. In this embodiment, there are 11 methods. As shown in the figure, we will proceed with the communication system called the “son station system”. This involves placing one PE inquiry mail process (8) that centrally manages which processes are on which PEs in one place. The PE mail process (8) receives a message addressed to a certain process and transfers it to the PE where the process exists. Each PE has one in-PE mail process (9-11), and the PE inquiry mail process (8) transfers the forwarded message to the destination process. Also, if a process in a PE sends a process message, specify the destination process name! 1. Send to the in-PE mail process (9-11) of the PE where the I is located. The PE @ mail process (9-11) immediately transfers to the destination process if the process exists in its own PE, and to the PEiiij mail process (8) otherwise. Forward. This mechanism allows each process to exchange messages without knowing which PE has the process to which the message is sent. In particular, in the case of MRP i ^ The PE ll'.J mail process (8) knows whether it is calculated, and the mail process in each PE (9-11) knows only the item name calculated by its own PE. Even if each PE @ mail process (9-11) does not know anything at all, messages always arrive via the PE [i! J mail process (8), but the People. The communication method between processes by the post office method is a series of different methods, and the present invention can be implemented by another method.
また、 どのプロセスをどの Ρ Εに割り付けるかについても複数の方法 がありう る。 本実施例は割り ^け方の一例であり、 他の割り付け方でも 可能である。  There are also several ways to assign which process to which device. This embodiment is an example of the allocation method, and other allocation methods are also possible.
以上の事頃をもとに、 1岙 Πと して階層並列方式の実施例について以 下説明する。 まず、 1 2図を川いて† 成から説明する。  Based on the above circumstances, an embodiment of the hierarchical parallel method will be described below as 1 岙. First, the composition will be described with reference to FIG.
M P S読み込み部は、 M P S読み込みプロセス ( 1 2 ~ 1 3 ) からな る。  The MPS reading unit comprises an MPS reading process (12 to 13).
同朋機構部は、 I 朋機構プロセス ( 1 4 ) からなる。 これは、 ある レ ベルのキューの入出力を管理するキュープロセス ( 1 5〜 1 7 ) 複数個 と、 同期機構部へのメ ッセージを受け付けたり、 同期機構部からのメ ッ セージを発信する制御プロセス ( 1 8 ) から構成される。  The Doho Organization Department consists of the Iho Organization Process (14). This is because there are a number of queue processes (15 to 17) that manage the input and output of queues at a certain level, and control to receive messages to the synchronization mechanism and to send messages from the synchronization mechanism. It consists of a process (18).
部品展開計算部は、 部品展開計算プロセス ( 1 9〜 2 0 ) からなる。 一つの部品展開計^プロセスには、 そこで計算すべき品目が複数個定め られるが、 一つの品目につき必ず--つその品目を担当する部品プロセス が生成される。 すなわち、 部品展 I川計算プロセスは、 部品プロセス ( 2 1 - 2 2 ) 祓数個と、 部ん',プロセスを生成する部品生成プロセス ( 2 3 ) から構成される。 個々の ^プロセスは、 ある品目の部品展開計算を行 う部品計^プロセス ( 2 4 ) と、 その品目への山積-みメ ッセージを受け 付ける部品山 'み受付プロセス ( 2 5 ) の 2つから構成される。 ( N + 1 ) 個の P E ( P E 0, ···, P E i, ···, P E N) から構成される疎 結合フアイル非共ィ の並列計^機において、 個々の P E上にはデータ ベース管理システム及びデータベース ( 2 6〜 2 8 ) が存在し、 The part development calculation unit is composed of a part development calculation process (19 to 20). In a single component development meter process, a plurality of items to be calculated are defined, but one component process is always created for each item. In other words, the part exhibition I-kawa calculation process is composed of several part processes (2 1-2 2) and a part generation process (2 3) that generates the parts and processes. Each ^ process consists of two parts: a parts totaling process (24) that calculates the expansion of parts for a certain item, and a parts pile receiving process (25) that receives a pile-up message for that item. Consists of In a parallel machine with loosely-coupled files consisting of (N + 1) PEs (PE 0, PE, PE i, PEN), a database is stored on each PE. There is a management system and database (26-28),
P E 0に、 同朋機梢プロセス ( 1 4 )、 P E問メールプロセス ( 2 9 )、 及び P E內メ一ルプロセス ( 3 0 ) を配 Sする。 同期機構プロセス ( 1 4 ) は、 P E内メールプロセス ( 3 0 ) と通信を行う。  The same machine process (14), the PE inquiry mail process (29), and the PE @ mail process (30) are allocated to PE0. The synchronization mechanism process (14) communicates with the mail process (30) in the PE.
残りの各 P Eには、 M P S読み込みプロセス ( 1 2〜 1 3 ) 、 部品股 開計算プロセス ( 1 9〜 2 0 ) と P E内メールプロセス ( 3 1〜 3 2 ) をそれぞれ一^ ^ずっ配|7,':する。 P E內メールプロセス ( 3 1〜 3 2 ) は、 その P E内にある、 部ん', m lifJ計^プロセスを構成する各プロセス及び M P S読み込みプロセスと通信を う。 各 P Eでの P E内メールプロセス ( 3 0〜 3 2 ) は、 P E 0に配 されている P E間メールプロセス ( 2 9 ) と通信を行う。  For each of the remaining PEs, the MPS reading process (12 to 13), the part opening calculation process (19 to 20), and the mail process within the PE (31 to 32) are each one ^ ^ 7, ': Yes. The PE @ mail process (31 to 32) communicates with each process and the MPS reading process that constitute the part's and mlifJ processes in the PE. The intra-PE mail process (30 to 32) at each PE communicates with the inter-PE mail process (29) allocated to PE0.
以下、 MR P計算の進行に沿って、 第 1 2図を用いて全体の挙動を説 叨する。 各プロセスの^動については、 ^51 3図に同期機構プロセス、 第 1 4図に M P S読み込みプロセス、 第 1 5図に部品生成プロセス、 ^ 1 6図に部品山 み受付プロセス、 第 1 7図に部品計算プロセスのフロ 一チヤ一 卜をまとめる。 それぞれ特定のメ ッセージを受けたときにどの ような処理を進めるかの説明となっている。  Hereinafter, the overall behavior will be described with reference to FIG. 12 along with the progress of the MRP calculation. Regarding the behavior of each process, ^ 51 3 shows the synchronization mechanism process, Fig. 14 shows the MPS reading process, Fig. 15 shows the component generation process, ^ 16 shows the component mountain acceptance process, and Fig. 17 The flowchart of the parts calculation process is summarized below. Each document describes how to proceed when a specific message is received.
まず、 同朋機構プロセスの制御プロセス ( 1 8 ) がオペレータもしく は他の装置から、 開始メ ッセージを受ける。 同期機構プロセスの制御プ ロセス ( 1 8 ) は各 M P S読み込みプロセス ( 1 2〜 1 3 ) に対し、 " read— mps"という M P S み込み開始メ ッセージを送る。  First, the control process (18) of the Doho mechanism process receives a start message from the operator or another device. The control process (18) of the synchronization mechanism process sends an MPS reading start message of "read-mps" to each MPS reading process (12 to 13).
読み込み 始メ ッセ一ジを受けた M P S読み込みプロセス ( 1 2〜 1 3 ) は、 まず、 ¾初に冋) 機構プロセスの制御プロセス ( 1 8 ) に け て、" mps started (これから読み込む M P S中の製品の数)"という M P S 1 The MPS reading process (12 to 13) that received the message to start reading, firstly, “mps started” in the control process (18) of the mechanism process (18) Number of products) "MPS 1
開始メ ッセージを送る。 M P S 始メ ッセ一ジ送信後、 一つ一つの製品 について M P Sの読み込みを始める。 M P S読み込みプロセスは、 その 製品の部 ',展 1)9 ίΠ-τ, を ij う ί¾ ,',,',展 \] ,Π·算プ口セスの部品生成プロセス ( 2 3 ) に向けて、 "create (製品名)"という ク リエイ トメ ッセージを送 り、 その後で、 その製 ,'π',の; プロセスの部品山積み受付プロセス ( 2 5 ) にト' けて、 ¾求 _¾を山 ffiみメ ッセージとして送る。 山積みメ ッセー ジは全計画朋問の内容を ·Γ',Ιのメ ッセージで送っても良いし、 特定の期 問分をまとめて数 ίϊ>1に分けても い。 この実施例では山積みメ ッセージ は、 計画の i¾小 を 1 II と して、 Η別に細かく 、 "set(m p s , 日,要求 盘)"という メ ッセージで送るものとする。 この山積みメ ッセージの第一 引き数は、 このメ ッセージの送り元を表している。 この場合、 M P Sか らの要求 J!lなので" m p s "となっている。 また、 M P S読み込みプロセ スは、 ある製品の読み込みが終了した時点で、 その製品の部品山積み受 付プロセス ( 2 5 ) に けて、 "mps— finished"という M P S読み込み終 了メ ッセージを送る。 これを製 ',の数だけ繰り返して終了する。 Send a start message. After sending the MPS start message, start reading MPS for each product. The MPS reading process is based on the product part ', exhibition 1) 9 ίΠ-τ, ij,', ',,', exhibition \], toward the part generation process (2 3) of the process. , Send a create message of “create (product name)”, and then send it to the part stacking acceptance process (25) of the product, 'π', and send the request _¾ Send as ffi message. The piled-up message may be sent in the form of messages of the entire plan in the form of messages Γ, Γ, or a specific period may be divided into several parts> 1. In this embodiment, the piled-up message is to be sent separately as a message “set (mps, day, request No.)”, with the plan i being smaller than 1 II. The first argument of this pile message indicates the source of this message. In this case, since it is a request J! L from MPS, it is "mps". When the reading of a certain product is completed, the MPS reading process sends an “MPs—finished” MPS reading end message “mps—finished” to the part stacking process (25) of the product. This is repeated for the number of ', and the processing ends.
部品展開計算.プロセスの部品 .成プロセス ( 2 3 ) は、 " create (品目 名)"という ク リエイ トメ ッセージを受け取ると、 その品目の部品展開計 算を行う部品プロセス ( 2 2 ) を生成する。 但し、 その品目の部品プロ セスが既に生成されているときには何も行なわない。 生成される部品プ ロセスは、 部品計算プロセスと部品山積み受付プロセスの 2つから楕成 されている。 特にまず ¾初に、 部品計算プロセスを生成する際には、 デ —夕ベース管理システ厶経 \\]で、 データベースから部品表データを読み 込み、 リー ドタイ厶、 ローレベルコー ド、 子部品名、 数等の部品展開 計算に必要な悄報を ί て、 これらの怙報を部品計算プロセスに保持させ る。 またその際、 部品 -成プロセス ( 2 3 ) は、 同朋機構プロセスの制 御プロセス ( 1 8 ) に [ け、 "que— set (生成した品目名,その品目のロー レベルコー ド)"というキューセッ トメ ッセージを送る。 その後、 部品山 稍み受付プロセス ( 2 5 ) を 成する。 ここで、 部品山積み受付プロセ ス ( 2 5 ) が生成される ί)ίίに、 M P S読み込みプロセスから山積みメ ッ セージが屈いている ¾介は、 P E メールプロセス ( 3 1 ) でそれらの メ ッセ一ジは待たされる。 Upon receiving the create message “create (item name)”, the component development process (2 3) generates a component process (2 2) that performs the component expansion calculation for that item. . However, if the parts process for the item has already been created, nothing is done. The generated parts process consists of two parts, a parts calculation process and a parts stacking reception process. In particular, first of all, when generating the parts calculation process, the parts table data is read from the database using the database management system \\], and the lead time, low-level code, child part name By using the information necessary for the calculation of the component development such as the number and the number of parts, these intense reports are stored in the component calculation process. Also, at this time, the part-completion process (23) is added to the control process (18) of the Doho mechanism process by "que-set (generated item name, row of the item). After that, the part set receiving process (25) is performed. Here, the MPS reading is performed in the part stacking receiving process (25). If messages are piled up from the process, those messages will be awaited in the PE mail process (31).
部品山稅み受付プロセス ( 2 5 ) は、 山積みメ ッセージを受けとると、 要求最をデータベース' Τ¾:现システムを経由してデータベースの中の所要 量データの更新を行う。 この 新は、 日別に既に書き込まれている要求 量に山 みメ ッセ一 ジの内容を/ JIIえて^き直すという 処理である。 "mps_finished"という M P S読み込み終了メ ッセージを受けとると、 そ のメ ッセージを fljiちに M期機^プロセスの制御プロセス ( 1 8 ) へ向け て転送する。 M P S読み込みプロセス ( 1 2〜 1 3 ) から送信されるメ ッセージの顺^は保存されているので、 M P S読み込み終了メ ッセージ は必ず山稻みメ ッセージの後から ΙΠ;く。 従って、 部品山積み受付プロセ ス ( 2 5 ) 、 M P S読み込み終了メ ッセージを転送する際には、 その 品目の所要 ffiデータの ΐΐ!新は既に終了している。 また、 部品生成プロセ ス ( 2 3 ) が製品のキューセッ 卜メ ッセージを送った後で部品山積み受 付プロセス ( 2 5 ) を生成し、 かつ、 同期機構プロセスへのメ ッセージ は必ず Ρ Ε内メールプロセス ( 3 1 ) 経由で送られ、 かつ、 プロセスか らプロセスへと送られるメ ッセージの顺番は保存されるこ とから、 同期 機構プロセスには、 製 のキューセッ 卜メ ッセージのあとで、 その製品 の M P S読み込み終了メ ッセージが屈く こ とが保証される。 Parts mountain稅seen acceptance process (2 5) has received a pile of messages, request most of the database 'Τ¾: to update the required amount of data in the database via the Present system. The new process is to rewrite the contents of a mountain message to the amount of data already written for each day. Upon receiving the MPS reading completion message "mps_finished", the message is forwarded to flji and then to the control process (18) of the M-th machine ^ process. Since the 顺 ^ of the message sent from the MPS reading process (12 to 13) is saved, the MPS reading end message always comes after the rice paddy message. Therefore, when the parts stacking reception process (25) and the MPS reading end message are transferred, the required ffi data for the item has already been completed. Also, after the parts generation process (23) sends the product queue set message, the parts stacking reception process (25) is generated, and the message to the synchronization mechanism process is always sent to the mail in the Ρ Ρ. Since the number of the message sent via the process (31) and sent from one process to another is saved, the synchronization mechanism process receives the message from the queue set message after the queue set message. It is guaranteed that the message that the product has finished reading the MPS will yield.
同朋機構プロセスの制御プロセス ( 1 8 ) は、 まず M P S開始メ ッセ —ジを受け取るが、 この I メ ッセージの中の製品数をカウ ン ト しておく c また、 キューセッ トメ ッセージを ¾け取ると、 メ ッセージの中の品目名 を、 同じく メ ッセ一ジの屮のロー レベルコー ドのキュープロセス ( 1 5 〜 1 7 ) に対し、 キューに入 るよう指示し、 各レベルで受け取った品 目の数はカウ ン 卜 しておく 。 の後、 M P S読み込み終了メ ッセージの 受信が始まる。 すべての M P S ¾iみ込みプロセス ( 1 2〜 1 3 ) から M p s 始メ ッセージを受け取 終わり、 かつ、 M P S開始メ ッセージの 屮の製,1„ 数の総数と M数分、 M P S み込み終了メ ッセージを受け取つ た時点で、 制御プロセス ( 1 8 ) は、 全 M P Sの読み込みが終了したと 判定する。 これは、 すべての ; P S読み込みプロセスから M P S開始メ ッセージを受け取るこ とで、 P S中の全製品の総数を知るこ とができ、 かつ、 部品山 ¾み受付プロセス終山で M P S読み込み終了メ ッセージを その数だけ受け取るこ とで、 それらの全製品がすべて読み込み終了した こ とを保証できるからである。 M P Sの読み込みが終了したと判定す ると、 同期機構プロセスの制 'プロセス ( 1 8 ) は、 レベル 0のキュー プロセス ( 1 5 ) に対し、 キューに入っている製品名のすベてを出させ、 各製品の部品計^プロセス ( 2 4 ) に向けて、 "start_mrp"という部品計 算開始メ ッセージを送る。 Companions mechanism Process Control Process (1 8), first MPS start menu Tsu Se - receive di but, c keep count down preparative number of products in the I message also takes only ¾ of Kyuse' Tome message And the item name in the message, the queue process of the low-level code of the message Instruct ~ 17) to enter the queue and count the number of items received at each level. After that, the reception of the MPS reading end message starts. All MPS ¾i the end receive the M ps Hajimeme message narrowing from the process (1 2-1 3) only, and, manufacturing of屮of MPS start message, 1 "the number of the total number and M a few minutes, Exit menu narrowing seen MPS Upon receiving the message, the control process (18) determines that the reading of all MPSs has been completed, by receiving the MPS start message from all of the PS reading processes, It is possible to know the total number of all products, and by receiving the number of MPS reading end messages at the end of the parts pile acceptance process, it is possible to guarantee that all those products have been read. If it is determined that the reading of the MPS has been completed, the control process (18) of the synchronization mechanism process issues a request to the level 0 queue process (15) for the product name in the queue. Go out Then, parts meter of each product ^ towards the process (2 to 4), send the parts calculations start message that "start_mrp".
部品計 ^プロセス ( 2 4 ) は、 部品計 ίΤ·開始メ ッセージを受け付ける と、 データベース管 SRシステム終山で所要量データを読み込み、 部品展 開計算を開始する。 これは、 レベル 0のキューに入っていた製品の数だ け並行して処理が進むという こ とである。 同じ部品展開計算プロセス内 の部品計 プロセスの ¾介、 Ηじ Ρ Ε上で励く ため、 マルチタスク と し て動くが、 別の ρ Ε上の部 ,'„', ,i i- プロセスは、 並列に計算が進む。  The part meter ^ process (24) receives the start message from the part meter ίΤ. When the start message is received, the required data is read at the end of the database system SR system, and the part expansion calculation is started. This means that the processing proceeds in parallel with the number of products in the level 0 queue. It works as a multitasking in order to encourage the part metering process in the same part expansion calculation process, but it works as a multitask, but the parts, '„',, i-process on another ρ は, The calculation proceeds in parallel.
各部品計^プロセス ( 2 4 ) は、 所要 ΰ [展開時に、 子品目の部品展 ra 計 を行う部品展 raiii :プロセスの部品生成プロセス ( 2 3 ) に向けて- Each part meter ^ process (2 4) has the required 時 に [part unfolding raiii to perform the part unrolling of child items at the time of development.
"create (子品目名)"という ク リエイ トメ ッセージを送り、 その後で、 そ の子品 \\の部品山も 'ίみ受 i' プロセス ( 2 5 ) に向けて、 " set (自分の品 ΰ 名. U , 求 £i )"という ill ¾みメ ッセージとして送る。 自分の品目の部品 ^ 計^が^て終了 した 点で 機も プロセスの制御プロセス ( 1 8 ) に |'Jけて、 " mi-p—f i n i shed"という部品 π|·浦了メ ッセージを送り、 έι分の^ 1の部,1, 山 ½み受 ί'ίプロセスに けて、 終了メ ッセージを送り、 自分の処现を終了する。 A create message "create (child item name)" is sent. After that, the parts pile of the child product \\ is also sent to the "Prime receiving i" process (25) by "set (own item). ΰname.U, request £ i) "as an ill message. Parts of my item At the point where ^ total ^ was completed, the machine also entered the process control process (18) | | J, sent a part called “mi-p—fini shed” π | ^ Part 1 , 1 , 山 ί ί ί ί ί ί ί ί ί ί 送 り ί ί ί 終了 終了 終了 終了 ί ί 終了 終了 終了 終了 終了 終了 終了 終了 ί ί ί ί ί ί ί ί ί 終了 終了 終了 ί ί 終了 ί ί 終了 終了 終了 終了
ク リエイ トメ ッセージを ¾け取った部品生成プロセス ( 2 3 ) や、 山 積みメ ッセージを受け った部 III被み受付プロセス ( 2 5 ) の举動は 既に述べた通りである。 また、 その結采、 部品生成プロセス ( 2 3 ) は キューセッ トメ ッセージを ίΠ·するが、 そのメ ッセージを受け取った同 期機構プロセスの制御プロセス ( 1 8 ) 举動も同様である。 部品山積み 受付プロセス ( 2 5 ) は、 終了メ ッセージを受け取ると処理を終了する c 同期機構プロセスの制御プロセス ( 1 8 ) は、 計算が進行中のレベルの 部品計算プロセス ( 2 4 ) より、 部品計算終了メ ッセージを受け取る。 部品計算終了メ ッセ一ジが、 そのレベルのキュープロセスが受けとった 品 01の数と同数となった時点で、 制御プロセス ( 1 8 ) は、 そのレベル の品目の部品展開計^がすべて終了したと判定し、 次の下位のレベルの キュープロセス ( 1 6〜 1 7 ) に対し、 キューに入っている品目名のす ベてを出させ、各品 yの ί '品計 プロセス( 2 4 )に向けて、 " start_mrp" という部品計算開始メ ッセージを送る。 もし、 キューが空の場合は、 顺 次下位のレベルのキューに進む。 以上の処理を繰り返すこ とにより、 レ ベル ' バイ · レベルで M R P計^が進む。 そして、 各レベルでは、 その レベルの品 [;1の部品展 計 ·が並行して進められる。 全品目が同朋機^ 部のレベル · バイ . レベルの制御で染中的に一括管理されているため、 任意の品 Γ:ΐの部品展 ^ ;π· ηは、 その品目の親品目の部品展開計算がすベ て終了してから行なわれるこ とが保 される。 全てのレベルのキューに 入っている品目の部品 m OH計 nが終了した時 Λ'Λで、 同朋機構プロセスはThe operations of the parts generation process (23), which receives the create message, and the part III cover receiving process (25), which receives the piled-up messages, are as described above. In addition, as a result, the part generation process (23) generates a queue set message, and the control process (18) of the synchronous mechanism process that receives the message is performed in the same manner. The parts stacking reception process (25) terminates the process when it receives an end message. The control process (18) of the c- synchronous mechanism process starts from the parts calculation process (24) at the level where the calculation is in progress. Receives the calculation end message. When the number of parts calculation completion messages reaches the same number as the number of products 01 received by the queue process at that level, the control process (18) completes the parts development meter ^ for items at that level. Then, the next lower-level queue process (16 to 17) is sent out all the item names in the queue, and the ί 'item total process (24 ), The part calculation start message "start_mrp" is sent. If the queue is empty, go to the next lower level queue. By repeating the above processing, the MRP meter is advanced at the level 'by-level'. Then, at each level, the product at that level [; 1 parts development · is advanced in parallel. Since all items are managed collectively under the level-by-level control of the same machine, any item Γ: ΐ parts exhibition ^; π · η is the parent item part of the item It is kept after all the expansion calculations are completed. When the parts of the items in the queues at all levels are completed, the OH counter n is completed.
M R Ρ計 :の終了を判^し、 すべてのプロセスに対し終了メ ッセージを 送った後、 処理を終了する。 終了メ ッセージを受けたプロセスは処理を 終了する。 Determines the end of MR measurement and sends an end message to all processes. After sending, the process ends. The process that has received the end message ends the processing.
次に 2岙 [ΪΙと して製 ^並列方式の実施例について説明する。 まず、 ^ 1 8図を川いて 成か 説明する。 M P S読み込み部、 同朋機構部は、 1 ¾ Πの階^並列方式の' 施例と I じである。 すなわち、 M P S読み込 み部は、 M P S読み込みプロセス ( 3 3〜 3 4 ) からなる。  Next, a description will be given of an embodiment of a 2 並列 [ΪΙ] parallel method. First of all, I will explain whether I figured out the ^ 18 figure. The MPS reading unit and the Doho mechanism unit are the same as in the example of the 1-story / parallel method. That is, the MPS reading section is composed of the MPS reading process (33 to 34).
同期機構部は、 同朋機^プロセス ( 3 5 ) からなる。 これは、 各レべ ルのキューの入出力を fi I!.するキュープロセス ( 3 6 - 3 8 ) 複数個と、 同朋機構部へのメ ッセ一ジを受け付けたり、 同期機構部からのメ ッセー ジを発信する制御プロセス ( 3 9 ) から構成される。  The synchronization mechanism consists of the same machine ^ process (35). This is because there are multiple queue processes (36-38) that input and output queues at each level fi-I !. It consists of a control process (39) that sends out messages.
部品展開計算部は、 部 展開計^プロセス ( 4 0〜 4 1 ) からなる。 一つの部品展開計算プロセスには、 そこで計算すべき品目が複数個定め られるが、 一つの品目につき必ず一つその品目を担当する部品プロセス が生成される。 すなわち、 部品展 計算プロセスは、 部品プロセス ( 4 2〜 4 3 )複数個と、部 ',プロセスを生成する部品生成プロセス ( 4 4 )、 および同朋機怫部と同じ 成の ^朋機構プロセス ( 4 5 ) から構成され る。 同期機構部の同朋機構プロセス ( 3 5 ) と区別するため、 同期機構 部の同期機構プロセス ( 3 5 ) は 「主同期機構プロセス」 、 部品展開計 算部の同期機構プロセス ( 4 5 ) は 「副同期機構プロセス」 と呼ぶこ と とする。 この副同期機^プロセスが加わつた点が階層並列方式の実施例 と大き く異なる点である。 個々の '品プロセスは、 ある品目の部品展開 計算を行う部品計 プロセス ( 4 7 ) と、 その品目への山積みメ ッセ一 ジを受け付ける部 r'.山 'ίみ受付プロセス ( 4 8 ) の 2つから構成される。  The part development calculation part consists of a part development meter ^ process (40 to 41). In one part development calculation process, a plurality of items to be calculated are defined, but one part process is always created for each item. In other words, the part expansion calculation process consists of a plurality of part processes (42 to 43), a part generation process (44) that generates a part ', a process, and a ^ 機構 mechanism process ( 4 5). In order to distinguish them from the Domo mechanism process (35) of the synchronization mechanism section, the synchronization mechanism process (35) of the synchronization mechanism section is the "main synchronization mechanism process", and the synchronization mechanism process (45) of the component deployment calculation section is " This is called the “sub-synchronization mechanism process”. The addition of the sub-synchronous machine process is significantly different from the embodiment of the hierarchical parallel system. Each 'product process' consists of a parts totaling process (47) that calculates the expansion of parts for a certain item, and a part that receives a pile message for that item r'. It consists of two.
( Ν + 1 ) 個の Ρ Ε ( Ρ Ε 0, ···. P E i, ·■·, P E N) から構成される疎 結合ファィル非共 ί !の、 Ιίί列計^機において、 個々の Ρ Ε上にはデータ ベース :理システム及びデータベース ( 4 9〜 5 1 ) か存在し、 Ρ Ε 0 に、 主同朋機栴プロセス ( 3 5 ) 、 P E問メールプロセス ( 5 2 ) 、 及 び P E内メールプロセス ( 5 3 ) を配置する。 主同期機構プロセスは、 P E内メールプロセスと通信を行-う。 In the sequence analyzer, each 計 of the loosely-coupled file non-symbols composed of (Ν + 1) Ρ Ε (Ρ Ε 0, ···. PE i, · ■ ·, PEN) On the database, there is a database: a physical system and a database (49 to 51), and Ε Ε 0 At the same time, the main domo machine send process (35), the PE inquiry mail process (52), and the mail process within PE (53) are arranged. The main synchronization mechanism process communicates with the mail process in PE.
残りの各 P Eには、 M P S読み込みプロセス ( 3 3〜 3 4 ) 、 部品展 開計算プロセス ( 4 0〜 4 1 ) と P E内メールプロセス ( 5 4〜 5 5 ) をそれぞれ一つずつ配 1¾する。 P E内メ一ルプロセス ( 5 4 ~ 5 5 ) は、 その P E内にある、 邙 ',展 計^プロセスを構成する各プロセス及び M P S読み込みプロセスと通信を行う。 各 P Eでの P E内メールプロセス ( 5 3 - 5 5 ) は、 P E 0に配 :されている P E間メールプロセス ( 5 2 ) と通信を行う。 ここで、 一つ注意すべきこ とがある。 基本的な考え 方のところで述べたよう に製品群並列方式では、 グループ分けされた品 目群の一つ一つを各部品展 計^部すなわち部品展開計算プロセスで計 算させる。 したがって、 一つの P Eに一つの部品展開計算プロセスを割 り当てる方針の場合、 P Eの数にあわせて、 グループ分けをする必要が ある。 一方、 逆にグループ分けしやすさ という こ とを優先し、 特にグル ープ数が P Eの数より多く なつた場合は、 一つの P Eに複数個の部品展 開計算プロセスを割り ¾てるこ とも可能である。  On each of the remaining PEs, one MPS reading process (33-34), a component deployment calculation process (40-41), and a mail process in the PE (54-55) are distributed one by one. . The mail processes (54 to 55) in the PE communicate with the processes constituting the 邙 ', the development process and the MPS reading process in the PE. The intra-PE mail process (53-55) in each PE communicates with the inter-PE mail process (52) allocated to PE0. There is one thing to note here. As described in the basic idea, in the product group parallel method, each of the grouped item groups is calculated by each part expansion ^ part, that is, the part development calculation process. Therefore, in the case of a policy of assigning one component development calculation process to one PE, it is necessary to divide the group according to the number of PEs. On the other hand, priority is given to ease of grouping, especially if the number of groups is greater than the number of PEs, it is possible to assign multiple parts deployment calculation processes to one PE. It is.
以下 MR P計算の進行に沿って、 笫 1 8図を用いて全体の挙動を説明 する。 各プロセスの举動については、 第 1 9図に主同期機構プロセス、 第 2 0図に副同期機構プロセスのフローチヤ一 卜を示す。 M P S読み込 みプロセス、 部品生成プロセス、 部品山積み受付プロセス、 部品計算プ ロセスは、 第 1 4図から笫 1 7図までのフローチャー ト とほぼ同様であ るので将略する。 主な変更点は、 ^ 1 4図から笫 1 7図でそれぞれにお いてこれまで同期機 ^プロセスに fi,ロナて送られていたメ ッセージ力く、 P S読み込みプロセスでは主同朋機構プロセスに、 部品生成プロセスで は副同期機構プロセスに、 部品山 Μ·み受付プロセスでは主同期機 プ口 セスに、 部品計^プロセスでは副 朋機構プロセスに、 向けて送られる よう になつた点である。 The overall behavior is described below with reference to Fig. 18 along with the progress of the MRP calculation. Regarding the operation of each process, Fig. 19 shows a flowchart of the main synchronization mechanism process, and Fig. 20 shows a flowchart of the sub synchronization mechanism process. The MPS reading process, the component generation process, the component stacking acceptance process, and the component calculation process are almost the same as those in the flowcharts from FIG. 14 to FIG. The main change is that in Fig. 14 to Fig. 17 in each case, the message that was sent by fi and Rona to the synchronous machine ^ process in each of the figures was sent to the synchronous machine ^ process. In the parts generation process, the sub-synchronization mechanism process is used. In the parts metering process, it is sent to the subordinate mechanism process.
まず ¾初に、 M R P計 の前に^; 品股開計算プロセス ( 4 0 ~ 4 1 ) にグループ分けされている,1" Ί ilに I Iし、 最上位の口一レベルコ一 ドを 卜 ップレベルコー ドとし、 各品 [Iのお ,',目がそのグループ内にない場合に は、 その品目の口一レベルコー ドを |ΰ·】期レベルコー ドとし、 各グループ ごとにこれらのレベルコー ドを求めておく。 この情報は、 部品展開計算 プロセスの副同朋機構プロセスの制 ί,ϊ プロセス ( 4 6 ) に保持させてお く。 その結 ¾と して各グループは ト ップレベルコー ドを一つ、 同期レべ ルコー ドを 0個以上複数個持つ。 また、 各部品展開計算プロセスはそれ ぞれ I D番号を持ち、 これも副同期機構プロセスの制御プロセス( 4 6 ) に保持させておく。 First, before the MRP meter, it is grouped into the process of calculating the inventories ^ (40-41). 1 "1il, and the top-level mouth-level code is top-level code. If the item [I, ',' is not in the group, the level code for the item is set to | ΰ] period level code, and these level codes are obtained for each group. This information is stored in the sub-community mechanism process control (46) of the parts deployment calculation process (46), which means that each group has one top-level code and Each part expansion calculation process has an ID number, which is stored in the control process (46) of the sub-synchronization mechanism process.
処理は以下のように進む。 ず、 主同期機構プロセスの制御プロセス ( 3 9 ) がオペレータ もしく は他の装置から、 M R P計算開始のメ ッセ ージを受ける。 主同期機構プロセスの制御プロセス ( 3 9 ) は、 各部品 展開計算プロセスの副 IRJ期機^プロセスの制御プロセス ( 4 6 ) に対し、 request— level— msg とし、つ リ クェス トメ ッセ一ジ ¾:送る。  Processing proceeds as follows. First, the control process (39) of the main synchronization process receives a message from the operator or another device to start the MRP calculation. The control process (39) of the main synchronization mechanism process sets request-level-msg as the request message to the control process (46) of the sub-IRJ stage machine of each part expansion calculation process. ¾: Send.
各部品展開計算プロセスに いて副同期機構プロセスの制御プロセス ( 4 6 ) は、 リ クエス トメ ッセージを受け取ると、 同期機構部の主同期 機構プロセス ( 3 9 ) に向けて、 ト ップレベルから最下位のレベルまで 順次、 "que— set— level (部品展開計 :部の I 号、 レベルコー ド、 レべ ル ίΐ類) "という レベルメ ッセージを送る。 このレベルメ ッセージのレべ ル ίίΤί類の櫊には、 例えばレべ コ一 ド力く 卜 ップレベルの場合 「 ト ップ」 、 同期レベルの場合は 「问朋」 、 それ以外のレベルの場合は 「継続」 とい う ラベルを付ける。  In each component development calculation process, the control process (46) of the sub-synchronization mechanism process receives the request message, and moves from the top level to the main synchronization mechanism process (39) of the synchronization mechanism section. Send a level message "que-set-level (part deployment meter: part I, level code, level type)" to the level. For example, the top level of the level message is "Top" for the top level, "Top" for the sync level, and "Top" for other levels. Label “Continue”.
キ同期機 プロセスの制 ΪΠにノ ロセス ( 3 9 ) は、 レベルメ ッセージを 受け取'ると、 メ ッセ一ジの巾の I D番号とレベル種類の組を、 同じく メ ッセージの屮に f いてある レベルコー ドのキュープロセス ( 3 6〜 3 8 ) に対し、 キューに人れるよう指示する。 各レベルで受け取ったメ ッ セージの数はカウン 卜 しておく。主 ffij朋機構プロセスの制御プロセス( 3 9 ) は、 部品展 ;Ι· ^プロセス ( 4 0〜 4 1 ) の総数を把握しており、 全ての部品展 ff]計^プロセスからレベルメ ッセージをすベて受け取つた 時点で、 M P S読み込みプロセス ( 3 3〜 3 4 ) に向けて、 "read— mps" という M P S読み込み^始メ ッセージを送る。 To control the synchronous machine process, the process (39) sends a level message. Upon receipt, the pair of the ID number of the message width and the level type is placed in the queue for the level code queue process (36-38) also in the message block. Instruct Count the number of messages received at each level. The control process (39) of the main ffij-ho mechanism process knows the total number of parts exhibitions; Ι · ^ processes (40-41), and sends a level message from all parts exhibitions ff] total ^ processes. At that point, it sends an MPS read ^ start message called "read-mps" to the MPS read process (33-34).
このレベルメ ッセージの送信と受信という処理は、 M R P計算の事前 に行っておいても良い。 その場合、 階層並列方式の ¾施例同様、 M P S への読み込み開始メ ッセージから M R P計算は始まる。  The process of transmitting and receiving the level message may be performed in advance of the MRP calculation. In that case, as in the embodiment of the hierarchical parallel method, the MRP calculation starts from a message to start reading into the MPS.
読み込み開始メ ッセージを受けた M P S読み込みプロセス ( 3 3〜 3 4 ) は、 まず、 最初に主同期機構プロセスの制御プロセス ( 3 9 ) に向 けて、" mps— started (これから読み込む M P S中の製品の数)"という M P S開始メ ッセージを送る。 M P S開始メ ッセージ送信後、 一つ一つの製 品について M P Sの読み込みを始める。 M P S読み込みプロセスは、 そ の製品の部品展開計^を行う部品展開計算プロセスの部品生成プロセス ( 4 4 ) に向けて、 "create (製品名) "という ク リエイ トメ ッセージを送 り、 その後で、 その製品の部品プロセスの部品山積み受付プロセス ( 4 8 ) に向けて、 要求 ¾を山稅みメ ッセージとして送る。 また、 M P S読 み込みプロセス ( 3 3 〜 3 4 ) は、 ある製品の読み込みが終了した時点 で、その製品の 品山 ίみ S付プロセス( 4 8 )に向けて、" mps_f i n i s hed " という M P S読み込み終了メ ッセージを送る。 これを製品の数だけ繰り 返して終了する。  The MPS reading process (33 to 34) receiving the message to start reading first starts the "mps—started (product to be read from now on) for the control process (39) of the main synchronization mechanism process. Number) is sent. After sending the MPS start message, start reading MPS for each product. The MPS reading process sends a create message "create (product name)" to the component generation process (44) of the component expansion calculation process that performs the component expansion of the product ^ The request ¾ is sent as a pile message to the parts stacking reception process (48) of the parts process of the product. The MPS reading process (33 to 34) is called “mps_finis hed” at the point when the reading of a certain product is completed, and is directed to the process with the S (Shinamiyama) S (48) for that product. Send MPS reading end message. This is repeated for the number of products, and the process ends.
部品展 計 :プロセス ( 4 0〜 4 1 ) の部品生成プロセス ( 4 4 ) は、 "create (品 E1名)"という ク リエイ トメ ッセージを受け取ると、 その品目 の部品展開計算を行う部品プロセス ( 4 3 ) を生成する。 但し、 既にそ の品 1の部品プロセスが 成されている場合は何も行なわない。 生成さ れる部品プロセス ( 4 3 ) は、 部品計算プロセスと部品山積み受付プロ セスの 2つから桃成されている。 特にまず最初に、 部品計算プロセスを 生成する際には、 デ一夕べ一ス^ 1 システム経由で、 データベースから 部品表データを読み込み、 リー ドタイム、 口一レベルコー ド、 子部品名、 員数等の部品展開計^に必要な 報を得て、 これらの情報を部品計算プ 口セスに保持させる。 またその際、 部品生成プロセス ( 4 4 ) は、 自分 の部品展開計算プロセス內の副同朋機構プロセスの制御プロセス ( 4 6 ) に向け、 "que— set 成した品目名,その品目のローレベルコ一 ド)" というキューセッ トメ ッセージを送る。 その後、 部品山積み受付プロセ ス ( 4 8 ) を生成する。 ここで、 部品山積み受付プロセス ( 4 8 ) が生 成される前に、 M P S読み込みプロセス ( 3 3〜 3 4 ) から山積みメ ッ セージが届いている場合は、 P E內メールプロセス ( 5 4 ) でそれらの メ ッセージは待たされる。 Part design: The part creation process (44) of the process (40-41) receives the create message "create (product E1 name)" when it receives the create message. A part process (43) for calculating the part development of the part is generated. However, if the parts process for the product 1 has already been performed, nothing is performed. The generated parts process (43) consists of two parts, a parts calculation process and a parts stacking process. First of all, when generating the parts calculation process, the parts list data is read from the database via the data base ^ 1 system, and the parts such as lead time, level level code, child part name, and number of parts are read. Obtain the necessary information for the deployment meter ^, and have this information stored in the parts calculation process. At this time, the part generation process (44) is directed to the control process (46) of the sub-companion mechanism process of its own part development calculation process (2). ) "Is sent. After that, a parts stacking reception process (48) is generated. Here, if a stacking message has been received from the MPS reading process (33 to 34) before the parts stacking reception process (48) is generated, the PE 內 mail process (54) is used. Those messages are waited.
部品展開計算プロセス内の副同期機構プロセスの制御プロセス ( 4 6 ) は、 キューセッ トメ ッセージを受け取ると、 メ ッセージの中の品目 名を、 同じく メ ッセージの中の口一レベルコー ドのキュープロセスに対 し、 キューに入れるよう指示する。 また、 各レベルで受け取った品目の 数はカウン ト しておく。  Upon receiving the queue set message, the control process (46) of the sub-synchronization mechanism process in the parts development calculation process compares the item name in the message with the queue process of the mouth-level code in the message. And ask them to queue. Count the number of items received at each level.
部品山積み受付プロセス ( 4 8 ) は、 M P S読み込みプロセス ( 3 3 - 3 4 ) から山稍みメ ッセージを受けとると、 要求量をデータベース管 理システムを経由してデ一夕ベースの中の所要量データの更新を行う。 この更新は、 日別に既に^き込まれている要求 ffiに山積みメ ッセージの 内容を加えて— ίき すという処 I!.である。 "mps_f inished"という M P S 読み込み終了メ ッセージを受けとると、 そのメ ッセージを直ちに同期機 構部の主同期機½プロセスの制御プロセス ( 3 9 ) へ向けて転送する。 M P S読み込みプロセス ( 3 3〜 3 4 ) から送信されるメ ッセ一ジの顺 ¾は保 されているので、 M P S読み込み終了メ ッセージは必ず山積み メ ッセージの後から屈く。 従って、 部品山積み受付プロセス ( 4 8 ) が、 M P S読み込み終了メ ッセージを 送する際には、 所要量データの更新 は既に終了している。 The parts stacking reception process (48) receives the message from the MPS reading process (33-34), and calculates the required amount via the database management system in the data base. Update the data. This update is a process I !. that adds the contents of the piled-up message to the request ffi already received every day. When receiving the MPS reading finished message "mps_finished", the message is immediately sent to the synchronous machine. Transfer to the control process (39) of the main synchronous function process of the structure. Since the message sent from the MPS reading process (33-34) is preserved, the MPS reading end message always yields after the piled-up message. Therefore, when the parts stacking reception process (48) sends the MPS reading end message, the update of the required amount data has already been completed.
主同期機栴プロセスの制御プロセス ( 3 9 ) は、 まず M P S開始メ ッ セージを受け取る力 、 この メ ッセージの中の製品数をカウン 卜 してお く。 その後、 M P S読み込み終了メ ッセ一ジの受信が始まる。 すべての MP S読み込みプロセス ( 3 3〜 3 4 ) から MP S開始メ ッセージを受 け取り終わり、 かつ、 M P S開始メ ッセージの中の製品数の総数と同数 分、 M P S読み込み終了メ ッセージを受け取った時点で、 制御プロセス ( 3 9 ) は、 全 M P Sの読み込みが終了したと判定し、 レベル 0のキュ 一プロセスに対しキューをオープンさせ、 キューに入っていた部品展開 計算部の I D番号の内、 レベル種類が 「 トップ」 となっているものに対 して、 その I D ^号の部品展開計算プロセスの副同期機構プロセスの制 御プロセスに向けて、" start_MRP"という レベル計算開始メ ッセージを送 る。  In the control process (39) of the main synchronous machine send process, first, the power to receive the MPS start message and the number of products in this message are counted. After that, the reception of the MPS reading end message starts. Finished receiving MPS start messages from all MPS reading processes (33 to 34) and received MPS reading end messages for the same number as the total number of products in the MPS start messages. At this point, the control process (39) determines that the reading of all MPS has been completed, opens the queue for the level 0 queue process, and sets the ID number of the part development calculation unit in the queue. For the type whose level type is “Top”, a level calculation start message “start_MRP” is sent to the control process of the sub-synchronization mechanism process of the part expansion calculation process with the ID ^. .
副同期機槠プロセスの制御プロセス ( 4 6 ) は、 "start_MRP"という レ ベル計算開始メ ッセージを受け取ると、 その部品展開計算プロセスの ト ップレベルコー ドのキュープロセスに対し、 キューに入っている品目名 を一つ取り出させ、 その品 の部品計^プロセスに向けて、 " startjrp" という部品計算開始メ ッセージを送る。  When the control process of the sub-synchronous machine process (46) receives the level calculation start message "start_MRP", the queue process of the top-level code of the part development calculation process receives the item name in the queue. And send a "startjrp" part calculation start message to the part counting process for that part.
部品計^プロセス ( 4 7 ) は、 部品計^開始メ ッセージを受け付ける と、 データベース^? Kシステム経山で所 ¾Sデータを読み込み、 部品展 開計算を開始する。 各部品計算プロセス ( 4 7 ) は、 所要量展開時に、 子品目の部 πΐ· を行う部 ,'„*,展開計算プロセスの部品生成プロセスWhen the part meter ^ process (47) receives the message to start the part meter ^, the data is read from the database ^? K system Kanayama and the part expansion calculation is started. Each part calculation process (4 7) The part that performs πΐ
( 4 4 ) に向けて、 " create (子品 ^名)"という ク リエイ トメ ッセージを 送り、 その後で、 その Γ , !!の部 ^プロセスの部品山積み受付プロセスTo (4 4), send a create message "create (child product ^ name)", and then そ の,! ! Part ^ Process parts stacking reception process
( 4 8 )に [i.Jけて、 " set: ( \'\分の 11名, I」,要求量)"という 山積みメ ッセ ージを送る。 !分の品 ί Iの部品展開 H が全て終了した時点で、 同じ部 品展開計 プロセス内の副 iij朋機構プロセス ( 4 6 ) に向けて、 "mrp— finished"という部品計 -終了メ ッセージを送り、 自分の品目の部 品山積み受付プロセスに終了メ ッセ一ジを送り、 自分の処理を終了する ク リエイ トメ ッセージを受け取った部品生成プロセス ( 4 4 ) や、 山 積みメ ッセージを受け取った部品山積み受付プロセス ( 4 8 ) の举動は 既に述べた通りである。 また、 その結果、 部品生成プロセス ( 4 4 ) は キューセッ トメ ッセージを発信するが、 そのメ ッセージを受け取ったそ の部品展開計算プロセス内の副同期機構プロセスの制御プロセス ( 4 6 ) 挙動も同様である。 (48), send a message of [iJ, "set: (\ '\' s 11 people, I", required amount).]! Minute goods ί Parts development H of I At the end of all the process, send the "mrp-finished" parts total-end message to the subordinate iij-ho mechanism process (46) in the same parts deployment meter process, and receive the parts stack of your own item. It sends a termination message to the process and terminates its own processing. The part generation process (44) that received a create message and the component stacking reception process (48) that received a pile message. As a result, the component generation process (44) sends a queue set message, and the control of the sub-synchronization mechanism process in the component deployment calculation process that receives the message is performed. The process (46) behavior is similar.
部品展開計算プロセス内の副同期機構プロセスの制御プロセス ( 4 6 ) は、 計算が進行中のレベルの部品計算プロセス ( 4 7 ) より、 部品 計算終了メ ッセージを受け取ると、 そのレベルのキュープロセスに次の 品目名を一つ取り 出させ、 その品目の部品計算プロセスに向けて、 " start_mrp"という部品計算開始メ ッセージを送る。キューの中が空とな つた時点で、 制御プロセスは、 その部品展開計算プロセス内で計算すベ き品目の内、 そのレベルでの品目の部品展開計算がすべて終了したと判 定 し 、 同朋機 部の 1·: InJ 朋機構プ ロ セ ス ( 3 9 ) に 向 け て 、 " level— finished (部
Figure imgf000026_0001
ΙίΙ· 部の I D岙号,終了 したレベルコ一 ド)" という レベル終了メ ッセージを送る。 ここで、 次の下位のレベルが同期 レベルでない場合、 制御プロセス ( 4 6 ) は直ちに、 副同期機構プロセ ス ( 4 5 ) 内のそのレベルのキュープロセスに対し、 キューに入ってい る品目名を一つ取り出させ、 その品 0の部品計算プロセス ( 4 7 ) に向 けて、 "start_mrp"という部品計算開始メ ッセージを送る。 もし、 次の下 位のレベルが同朋レベルである場仓、 同朋機構部の主同期機構プロセス より、 "continue_MRP (その同朋レベルコー ド)"という レベル計算継続メ ッセージが届いているかを確認する。 もし、 屈いていなければ、 そのメ ッセージが来るまで処现は中断される。 そしてそのメ ッセージが届いた とき、 もしく は既に屈いていた場合、 その同期レベルのキューに入って いる品目名を一つ取り出させ、 各品目の部品計算プロセス ( 4 7 ) に向 けて、 " start— mrp"という部品計算開始メ ッセージを送る。キューが空の 場合は、 更に下位のレベルで同様に進めていく。
When the control process (46) of the sub-synchronization mechanism process in the component development calculation process receives the message of the completion of the component calculation from the component calculation process (47) of the level where the calculation is in progress, it enters the queue process of that level. The next item name is extracted, and a component calculation start message "start_mrp" is sent to the component calculation process for that item. When the queue becomes empty, the control process determines that all of the items to be calculated in the part expansion calculation process have been completed for the item at that level, and the control process Part 1: For the InJ Tomo Organization process (39), "level—finished (part
Figure imgf000026_0001
If the next lower level is not the synchronization level, the control process (46) immediately starts the sub-synchronization mechanism process. Queued to that level of queue process in One part name is taken out, and a part calculation start message "start_mrp" is sent to the part calculation process (47) for the item 0. If the next lower level is the same level, check if the level calculation continuation message "continue_MRP (the same level code)" has been received from the main synchronization mechanism process of the same level. If not, processing is suspended until the message arrives. When the message arrives, or if it has already yielded, one item name in the queue of the synchronization level is taken out and the parts calculation process (47) for each item is taken. Sends the "start-mrp" part calculation start message. If the queue is empty, proceed in a similar manner at lower levels.
同期機構部の主同期機構プロセスの制御プロセス ( 3 9 ) は、 レベル 0のキューをオープンして、 レベル計算開始メ ッセージを該当する部品 展開計算プロセスに送った後、 レベル終了メ ッセージを受け付ける。 レ ベル終了メ ッセ一ジは様々なレベルコー ドのメ ッセージが来るが、 ある レベルで、 既に受け取ったレベルメ ッセージと同数のレベル終了メ ッセ —ジを受け取った時点で、 そのレベルの全品目の部品展開計算は全て終 了したと判定する。 既に述べたレベルメ ッセージの作られ方の性質から、 主同期機構プロセスの制御プロセス ( 3 9 ) が終了を判定するレベルは 必ず、 主同期機構プロセス内においてその時点で最後にキューをオーブ ンしたレベルコー ドとなる。 あるレベルが終了と判定すると、 制御プロ セス( 3 9 )は主同朋機構プロセス内の次のレベルのキュープロセス( 3 7〜 3 8 ) に対し、 キューをオープンさせ、 キューに入っていた部品展 開計算部の I D岙号の内、 レベル嵇類が 「 トップ」 となっているものに 関しては、 その I D¾号の部品展開計算プロセスの副同期機構プロセス の制御プロセス ( 4 6 ) に向けて、 "start—MRP"という レベル計算開始メ ッセージを送る。 また、 レベルの種類が 「同期」 となっているものに閱 しては、 その I D ^ff の部品展 ijfj計算プロセスの副同期機構プロセスの 制御プロセス ( 4 6 ) に | 'Jけて、 " continue— MRP (そのレべノレコー ド)"と いう レベル計算継続メ ッセージを送る。 The control process (39) of the main synchronization mechanism process of the synchronization mechanism section opens the level 0 queue, sends the level calculation start message to the corresponding part expansion calculation process, and then receives the level end message. The end-of-level message comes with messages of various level codes. At a certain level, when the same number of end-level messages as already received are received, all items at that level are received. It is determined that all of the component deployment calculations have been completed. Due to the nature of how the level messages are created, the level at which the control process (39) of the main synchronization process determines the end must always be the level code at which the queue was last opened in the main synchronization process. And When the control process (39) determines that a certain level has ended, the control process (39) causes the queue process (37-38) of the next level in the main fellowship process to open the queue and display the parts in the queue. Regarding the ID No. of the open calculation department whose level class is “Top”, the control process (46) of the sub-synchronous mechanism process of the part expansion calculation process of the ID No. Send a level calculation start message "start-MRP". Also, if the level type is "Synchronous" Then, to the control process (46) of the sub-synchronization mechanism process of the part extension ijfj calculation process of the ID ^ ff, continue the level calculation called "continue—the MRP (the rebeno record)". send a message.
以上の処理を跺り返すこ とにより、 レベル ' バイ · レベルで M R P計 算が進む。 各部品 ^ :プロセス ( 4 0 〜 4 1 ) は、 ¾本的に独立し て、 レベル . バイ . レベルの叶' を進めるため、 各品目の部品展開計算 は、 部品展開計^プロセス卜' で、 Ιί':行して進められる。 ある品目の親品目 が別の部品展開計!?:プロセスで ,, Ι· Ϊ7·される場合には、 その品目の計算を 行う部品展 計 ^プロセスは、 その品目のレベルより上のレベルの品目 の計算が全ての部品展 計^プロセスで終了したこ とが確認されるまで, その品目のレベルで処理を中断する。 このような同期機構があるため、 任意の品目の部品展開! η·^は、 その品目の親品目の部品展開計算がすべ て終了してから行なわれるこ とが保証される。 同期機構部の制御プロセ スが全てのレベルの終了を判; ^した時点で、 同期機構プロセスは M R P 計算の終了を判定し、 すべてのプロセスに対し終了メ ッセージを送つた 後、 処理を終了する。 終了メ ッセージを受けたプロセスは処理を終了す る。  By repeating the above processing, the MRP calculation proceeds on a level-by-level basis. Each part ^: The process (40 to 41) is basically independent, and the progress of the level.by.level realization is advanced. , Ιί ': Go and proceed. A parent item of a certain item is another part deployment meter! ?: In the process, if ,, Ϊ Ϊ Ϊ Ϊ Ϊ · · · · 部品 部品 部品 部品 部品 部品 部品 部品 部品 部品 部品 部品 部品, 部品 部品 部品 部品 部品 部品 部品 部品 部品 部品 部品Processing is suspended at the item level until completion is confirmed. With such a synchronization mechanism, it is guaranteed that the part expansion of any item! Η · ^ will be performed after all the part expansion calculations for the parent item of that item have been completed. When the control process of the synchronization unit determines that all levels have been completed; at the time ^, the synchronization unit process determines the end of the MRP calculation, sends an end message to all processes, and ends the process. . The process that has received the end message ends the processing.
上記の製品^並列方式の实施例において、 各部品展開計算プロセス内 の副同期機構プロセス ( 4 5 ) が、 あるレベルの品目に関し、 一つ一つ 逐次的に部品展開計^を '行させており、 特に同期レベルでは、 主同期 機構プロセスより計算継続メ ッセ一ジが届く まで、 そのレベルの処理を すべて中断している。 ここで、 すべてを中断するのではなく一部だけを 中断するこ とにより処 速 ¾の 十-を図るこ とも可能である。 すなわち、 副同期機構プロセス ( 4 5 ) のキューに入っている品目に、 親品目の中 で他の部品 m []fj n i- ηプロセスで; ΪΊ :されるものがあるか否か、 という怙 報を持たせ、 同期レベルで計 継続メ ッセージ待ち状態になっている場 合には、 副同朋機¾プロセスの制御プロセス ( 4 6 ) は、 そのレベルの キューの中から親品「:1が他の部品展 計算プロセスで計算されない品目 を一つ取りだし、 部,'"',展 1 計算を行わせる。 計算終了メ ッセージを受け 取ると に 品 i-iが他の ί'ίΐί M 十 ηプロセスで計 -されない次の品 を取り出して処现を進める。 キューの中に親品目が他の部品展開計算 プロセスで計^される ', I Iだけが残った時点で、 処理を中断し、 計算継 続メ ッセージが l ;くのを :つ。 この様にすることで、 従来、 中断中の待 ち時問として何もしていなかった H. Wを、 するべき処理の時間として有 効に利川することができ、 全休の処 ¾ 問の向上が可能となる。 In the above example of the product-parallel system, the sub-synchronization mechanism process (45) in each component deployment calculation process executes the component deployment meter for each item at a certain level one by one sequentially. In particular, at the synchronization level, all processing at that level is suspended until a calculation continuation message arrives from the main synchronization mechanism process. Here, it is also possible to achieve a speedup of 10 by interrupting only a part, not all. That is, whether there are any items in the queue of the sub-synchronization mechanism process (45) that are processed by the other parts m [] fjni-η process in the parent item; If you have escalation information and are waiting for a continuous message at the synchronization level, In this case, the control process (46) of the Deputy Dopomo Machine Process processes the parent product “: 1” from the queue at that level, and extracts one item that is not calculated by the other part expansion calculation process. ', Exhibition 1 Upon receiving the calculation end message, item ii takes out the next item that is not counted by another ί'ίΐί M10η process and proceeds. When the parent item remains in the queue, and only II, which is calculated by the other parts expansion calculation process, remains, the processing is interrupted and the calculation continuation message is sent. In this way, H.W, which previously did nothing as a waiting question during suspension, can be effectively used as a time for processing to be performed, and the processing of all holidays can be improved. It becomes possible.
また、 上記の製品^並列方式の^施例では、 品目のグループ分けの仕 方によっては、 各部品展開計^:プロセス ( 4 0 〜 4 1 ) において同期レ ベルでしばしば中断し、 処理が近くなる場合がある。 そこで品目のグル 一プ分けをある S準に従って行うことで、 各部品展開計算プロセス ( 4 0 〜 4 1 ) がー切中断しないで処理を逃めることも可能である。  Also, in the above-mentioned product-parallel system example, depending on the method of grouping the items, each part deployment meter is often interrupted at the synchronous level in the process (40 to 41), and processing is near May be. Therefore, by dividing the items into groups according to a certain S standard, it is possible to escape the processing without interrupting each part development calculation process (40 to 41).
ここで、 グループ分けに関し以下の説明に用いる幾つかの用語につい て説明する。  Here, some terms used in the following description regarding grouping will be explained.
( 1 ) トップレベル  (1) Top level
そのグループに厲する品目のローレベルコー ドの中で最も上位のレべ ル o  O The highest level of low-level code for the items in the group o
( 2 ) 書き込まれレベル  (2) Write level
そのグループに属する品 で、 親品 EJがそのグループ外で部品展開計 算されるものを持つ場合、 その 『:1のレベルコー ドを書き込まれレベル と呼ぶ。 すなわち、 その品目の所¾ ¾は、 別の部品展開計谆プロセスか ら書き込まれる可能性があるということである。 あるグループは、 複数 の害き込まれレベルをィ了する場 がある。 その中で最も下位の書き込ま れレベルを、 最低辔き込まれレベルと呼ぶこととする。 ( 3 ) 書き込みレベル If the parent product EJ belongs to the group and has a component development calculation outside the group, the “: 1 level code is written and called the level. That is, the claim of the item may be written from another part deployment and metering process. Certain groups have the opportunity to complete multiple harmed levels. The lowest written level among them is called the lowest written level. (3) Write level
そのグループに属する Πで、 」'· ,'„', Πがそのグループ外で部品展開計 算されるものを持つ ¾合、 その品 i lのレベルコ一 ドを書き込みレベルと 呼ぶ。 すなわち、 その了 [ 1の所 ¾ を、 別の部品展開計算プロセスへ ^き込む可能性があるという こ とである。 あるグループは、 複数の書き 込みレベルを有する ¾合がある。 その屮で最も上位の書き込みレベルを、 最高害き込みレベルと呼ぶこ ととする。  If “Π”, “„ ”, and“ を 持 つ ”that belong to the group have a component expansion calculation outside the group, the level code of the item“ il ”is called a write level. [There is a possibility that one part may be transferred to another part development calculation process. Some groups may have multiple write levels. The level is called the highest harm level.
各部品展開計算.プロセスが一切屮 しないで処理を進めるこ とを可能 とするグループ分けの ^ とは以下のものである。 すなわち、  Each part expansion calculation. The ^ in the grouping that allows the process to proceed without any blocking is as follows. That is,
基準 : 各グループにおいて、 : ½低 き込まれレベルが最高書き込み レベル以上とするこ と。  Criteria: In each group: ½The lowering level must be higher than the maximum writing level.
上記の基準を満たした简 なグループ分けの例として、 レベル 0の品 目をルー ト として親子 ra係でつながった品目群をひとつのグループとす るという方法がある。 但し、 共有部ん',のように複数の品目が親品目とな つている品目は、 それ自身をルー 卜 として親子関係でつながった品目群 を別のグループとする。 このような分け方により、 各グループの ト ップ レベルは、 レベル 0の製品か、 もしく は複数の親品目を持つ共有部品と なり、 各グループの ト ップレベル以降は、 すべて品目においてその親品 目がそのグループ内に存在するこ ととなる。 その結果、 各グループでの 最低書き込まれレベルは、 そのグループでの ト ップレベルとなり、 上記 の基準を必ず満たす。  As an example of a special grouping that satisfies the above criteria, there is a method in which an item group connected by parent and child ra is used as a root with items of level 0 as a root. However, for items that have multiple items as a parent item, such as a common part, a group of items that are connected in a parent-child relationship with itself as a root is another group. Due to this division, the top level of each group is either a level 0 product or a shared part with multiple parent items. The eyes will be in that group. As a result, the lowest write level in each group will be the top level in that group and will always meet the above criteria.
上記の基準を満たしたグループ分けを行った場合、 同期機構部の主同 期機構プロセス ( 3 5 ) と、 各部品展開; Π·算部の副同期機構プロセス ( 4 5 ) の举動を簡略化するこ とができ、 その結果として各部品展開計 ίίプ 口セスが同期レベルで屮断するという こ とが全く なく並行して部品展 ί 計算を進めるこ とができる。 以下、 同朋レベルでの中断がない場合の各 プロセスの挙動を説明する。 When grouping that satisfies the above criterion is performed, the operation of the main synchronization mechanism process (35) of the synchronization mechanism section and each component deployment; the operation of the sub-synchronization mechanism process (45) of the calculation section is simplified. As a result, the component deployment calculation can proceed in parallel without any breaking of each component deployment process at the synchronization level. Below, each without interruption at the same level Explain the behavior of the process.
まず、 M R p叶 nの前に各部 >'.,*, m ι 計^プロセスにグループ分けされ ている品目に閱し、 上位のローレベルコー ドを ト ップレベルとし、 低書き込まれレベルを ^始レベルとし、 各グループごとにこれらのレべ ルコー ドを求めておく 。 この怙報は、 部品展開計^プロセスの副同期機 構プロセスの制御プロセスに保持させておく。 また、 各部品展開計算プ 口セスはそれぞれ I を持ち、 これも副同朋機構プロセスの制御プ 口セスに保持させておく 。  First, the items that are grouped into each process> '., *, M ι total ^ process before MR p leaf n are identified, the upper low level code is set as the top level, and the low written level is started. Levels, and ask for these levels for each group. This esoteric report is stored in the control process of the sub-synchronous mechanism process of the parts deployment meter ^ process. Also, each component deployment calculation process has I, which is also stored in the control process of the Deputy Domoho process.
M R P計^が 始されると、 各部品展開計算プロセスにおいて副同期 機構プロセスの制御プロセス ( 4 6 ) は、 同期機構部の主同期機構プロ セスの制御プロセス ( 3 9 ) に^けて、 開始レベルから最下位のレベル まで顺次、 " que_set— level (部品展開計算部の I D番号、 レベルコー ド、 レベル種類) "という レベルメ ッセージを送る。 このレベルメ ッセージの レベル桠類の欄には、 例えばレベルコー ドが開始レベルの場合 「開始」 . それ以外のレベルの場合は 「継続」 という ラベルを付ける。  When the MRP meter is started, the control process (46) of the sub-synchronization mechanism process in each part expansion calculation process is started by the control process (39) of the main synchronization mechanism process of the synchronization mechanism section. From the level to the lowest level, send the level message "que_set-level (ID number of part development calculation unit, level code, level type)". In the level type column of this level message, for example, label “Start” if the level code is the start level; otherwise, label “Continue”.
レベルメ ッセージを受け取った時の主同期機構プロセスの制御プロセ ス ( 3 9 ) の举動はこれまでの説叨と同様である。  The operation of the control process (39) of the main synchronization mechanism process when a level message is received is the same as in the previous discussion.
M P S読み込みプロセス、 部品展開計算プロセスの部品生成プロセス 部品山積み受付プロセス、 部品計^プロセスの举動も、 既に説明した举 動と同様である。 同朋機構部の主 [¾期機構プロセスの制御プロセス( 3 9 ) は、 全 M P Sの読み込みが終了したと判定した時、 レベル 0のキュ 一プロセスに対しキューをオープンさせ、 キューに入っていた部品展開 計算部の I D ^号の內、 レベル ^類が 「開始」 となっているものに関し て、 その I D f ^"の部 ', ^計^プロセスの副同朋機構プロセスの制御 プロセスに^けて、" s tart— MRP"という レベル計算 始メ ッセージを送る c 副同期機構プロセスの制御プロセス ( 4 6 ) は、 " start MRP"という レ ベル計算開始メ ッセージを受け取ると、 その部品展開計算プロセスの ト ップレベルのキュープロセスに対し、 キューに入っている品目名を一つ 取り出させ、その品 f Iの部品;汁算プロセス( 4 7 )に向けて、" start_mrp" という部品計^^始メ ッセージを送る。 The operations of the MPS reading process, the component generation process of the component development calculation process, the component stacking reception process, and the operation of the component totaling process are the same as those already described. When the main control process of the long-term mechanism process (39) determines that reading of all MPSs has been completed, it opens the queue for the level 0 queue process, For the part of the ID ^ sign of the computation part that has “內” and “level” of “Start”, the part of the ID f ^ “”, the total number of the processes and the control process of the sub-community mechanism process sends the level calculation Hajimeme message that "s tart- MRP" c sub synchronization mechanism process control process (4 6) is called "start MRP" When the bell calculation start message is received, the top-level queue process of the parts development calculation process is caused to take out one item name in the queue, and the part of the product f I; the juice calculation process (47) Send a start message of "^ _start_mrp".
部品展開計^プロセス内の副 朋機構プロセスの制御プロセス ( 4 6 ) は、 計算が進行中のレベルの部品計算プロセス ( 4 7 ) より、 部品 計算終了メ ッセ一ジを受け取ると、 そのレベルのキュープロセスに次の 品目名を一つ取り 出させ、 その品目の部品計算プロセスに向けて、 Mstart_nirp"という部品計 :閲始メ ッセージを送る。キューの中が空とな つた時点で、 制御プロセス ( 4 6 ) は、 その部品展開計算プロセス内で 計算すべき品目の内、 そのレベルでの品目の部品展開計算がすべて終了 したと判定し、 同期機½部の主同期機構プロセス ( 3 5 ) に向けて、 "level— finished (部品展開計算部の I D番号,終了したレベルコ一 ド)" という レベル終了メ ッセージを送る。 そして、 制御プロセス ( 4 6 ) は 直ちに、 副同期機構プロセス内のそのレベルのキュープロセスに対し、 キューに入っている品 名を一つ取り出させ、 その下位の品目の部品計 算プロセス ( 4 7 ) に向けて、 " start_mrp"という部品計算開始メ ッセ一 ジを送る。 キューが空の場合は、 更に下位のレベルで、 同様に進めていWhen the control process (46) of the subordinate mechanism process in the parts deployment meter ^ process receives a message from the parts calculation process (47) at the level where the calculation is in progress, it receives that part calculation end message, The queue process of this item takes out the next item name, and sends a component start: " M start_nirp" message to the component calculation process for that item. When the queue becomes empty, The control process (46) determines that all the component expansion calculations for the item at that level among the items to be calculated in the component expansion calculation process have been completed, and the main synchronization mechanism process (3 Sends a level end message “level—finished (ID number of the part development calculation unit, finished level code)” to 5), and the control process (46) immediately starts the sub-synchronization mechanism process. Noso The queue process at the first level retrieves one item name in the queue, and sends a “start_mrp” part calculation start message to the lower-level item calculation process (47). If the queue is empty, proceed at a lower level as well.
< o <o
同期機構部の主同期機構プロセスの制御プロセス ( 3 9 ) は、 レベル 0のキューをオープンして、 計算開始メ ッセージを該当する部品展開計 算プロセスに送った後、 レベル終了メ ッセージを受け付ける。 レベル終 了メ ッセージは様々なレベルコー ドのメ ッセージが来る力く、 あるレベル で、 既に受け取ったレベルメ ッセージと同数のレベル終了メ ッセージを 受け取った時点で、 そのレベルの全品目の部品展開計算は全て終了した と判定する。 既に述べたレベルメ ッセージの作られ方の性質から、 主同 期機構プロセスの制御プロセスが終了を判定するレベルは必ず、 主「π】期 機構プロセス內においてその時点で S後にキューをオープンしたレベル コー ドとなる。 あるレベルが終了と判'定すると、 制御プロセスは主 期 機^プロセス內の次のレベルのキュープロセスに対し、 キューをオーブ ンさせ、 キューに人っていた部品展 [¾計算部の I D番号の内、 レベル種 類が 「開始」 となっているものに関しては、 その I D番号の部品展 計 算プロセスの副冋朋機^プロセスの制御プロセス ( 4 6 ) に向けて、 " start_MRP"という レベル計 ^始メ ッセージを送る。 The control process (39) of the main synchronization mechanism process of the synchronization mechanism section opens the level 0 queue, sends the calculation start message to the corresponding component development calculation process, and then receives the level end message. End-of-level messages are powerful when messages of various level codes are received.At a certain level, when the same number of end-level messages that have already been received are received, the parts deployment calculation for all items at that level is performed. Judge that all has been completed. Due to the nature of the way level messages are created, The level at which the control process of the initial mechanism process determines the end is always the level code that opened the queue after S at that time in the main “π” initial mechanism process 。. The process opens the queue for the queue process at the next level of the main machine ^ process 、, and displays the parts that were in the queue [¾ The ID type of the calculation unit is “start” for the level type. If it does not, send a level start message of "start_MRP" to the control process (46) of the sub-computer process of the part expansion calculation process of the ID number.
以上の処理を跺り返すことにより、 レベル ·バイ · レベルで M R P計 箅が進む。 各部品展開計 プロセスは、 計算開始メ ッセージを受けると 独自のテンポで、 レベル ' バイ . レベルの計算を進めるため、 各品 f |の 部品展開計算は、 部品 1;Η ^プロセス間で並行して進められる。 各部 品展開計算プロセスでは、 ½低書き込まれレベルより上のレベルの計算 がすべて終了してから計算が開始されるため、 任意の品目の部品展開計 算は、 その品目の親品 Uの部品展開 ,Π -がすべて終了してから行なわれ ることが保証される。 同期機構部の制御プロセスが全てのレベルの終了 を判定した時点で、 M R Ρ計算は終了する。 産業上の利用可能性  By repeating the above processing, the MRP measurement proceeds on a level-by-level basis. Each part unfolding process receives the calculation start message and, at its own tempo, performs the level 'by.' Level calculation, so the part unfolding calculation for each part f | Can be advanced. In the part expansion calculation process, ½Because the calculation is started after all calculations at the lower level and above the level are completed, the part expansion calculation for any item is based on the part expansion of the parent item U of that item , Π-are guaranteed to be done after all have been completed. The M R Ρ calculation ends when the control process of the synchronization mechanism determines that all levels have ended. Industrial applicability
以上のように、 本発明にかかる資材所要量計算の並列処理方法及び装 置では、 複数の部品展 m ίίΐ5により各品目の部品展開計算が並行して 進められ、 同期機構部により、 各 ', ΙΊでは必ず親品目が終了してから計 算が始められることが保 ,ίιΗできる。 これにより、 従来の逐次的な M R Ρ 計算と冋等の計算結架を、 短時間で ることが可能となる。  As described above, in the parallel processing method and apparatus for calculating the material requirement according to the present invention, the component development calculation of each item is advanced in parallel by a plurality of component extensions m # 5, and each of the ', In ΙΊ, it is possible to ensure that the calculation can be started after the parent item is completed. As a result, it is possible to shorten the conventional sequential calculation of M R Ρ calculation and calculation calculation of の and the like in a short time.

Claims

^求の範囲 ^ Scope of request
1 . 资材所耍 S計算を なう装 において、 基準となる生産計画の読み 込みを行なう一つないし 数 ίΙ'''Ιの M P S 'み込み部と、 複数の品目の部 品展開計 を行なう -つないし^数個の部品展 計算部と、 各部品展開 計算部で計 nされる各 ,'„', 1 1の ' ,ν,',展 i;fj計 ηがその親品目の部品展開計算 が終了した後で行なわれるこ とを保証し、 各部品展開計算部に対し計算 始指示を行なう I m機 部とで 成され、 各部品展開計算部が並列に 部品展開計^を処理するこ とを特徴とする資材所要量計算装置。 1. In the equipment that performs S-calculation, one or several MPS'-incorporated parts that read the production plan to be used as a reference, and a parts deployment meter for multiple items -One or several parts expansion calculation parts and each part expansion calculation part, n, '„', 11 ', ν,', expansion i; fj total η is the part of the parent item It is guaranteed that the calculation will be performed after the completion of the expansion calculation, and it is composed of the Im unit that instructs each part expansion calculation unit to start calculation, and each parts expansion calculation unit processes the parts expansion meter ^ in parallel A material requirement calculation device characterized by the following.
2 . 請求の範四笫 1项 載の 材所耍 S計算装 ίΕにおいて、 前記各 M P 2. In the material calculation machine S described in claim 41, the M P
S読み込み部が、 まず ¾初に ¾ ':\-.産計両をそれぞれ読み込む際に読み 込む製品の数を同期機 ^部に報告し、 一つ一つの製品の読み込みが終了 したとき、 読み込み終了の報告を、 各製品の所要量データを書き込む部 品展開計算部へ送る M P S読み込み部であり、 The S reading unit reports the number of products to be read when reading each of the industrial and industrial vehicles to the synchronous machine ^ unit first, and then reads when each product has been read. The MPS reading unit that sends the end report to the component development calculation unit that writes the required amount data for each product.
該各部品展開計^部が同期機構部へ各製品の所要量データの害き込み 終了の報告を送る部品展開計算部であり、  Each of the parts deployment calculators is a parts deployment calculation unit that sends a report of the end of the damage of required quantity data of each product to the synchronization mechanism unit,
前記同期機構部が 」: 計画上のすべての製品の読み込み及び所要 量データの書き込みが終了したこ とを検知する同期機榴部であるこ とを 特徴とする資材所要量計 装置。  The synchronous mechanism unit is a synchronous grenade unit for detecting completion of reading of all planned products and writing of required amount data.
3 . 請求の範四笫 1 iJi ! 戟の資材所要!:計算装置において、 前記部品展 開計算部が同じローレベルコー ドの品目の部品展開計算を並列に処理を 進める部品展開計算部であり、  3. Claim scope 40 1 iJi! : In the computing device, the component expansion calculation unit is a component expansion calculation unit that performs parallel processing of component expansion calculation for items of the same low-level code,
前記同期機構部がレベル · バイ · レベルによる処理の制御を行なう 同 期機構部であるこ とを特徴とする ¾材所 ¾ Ά計^装置。  The above-mentioned synchronizing mechanism section is a synchronizing mechanism section which controls processing by level-by-level.
4 . 求の? 3 ^の ΪΪ材所 i I J):装 Eにおいて、 前記同朋機 構部が各口一レベルコー ドのキューを持つ同期機構プロセスからなり 、 前記各部品展開 π I- n部が、 一つの品目の所耍量データの更新及び部品 展開計算を専門に行なう ·つ又は i 数の部品プロセスと、 該部品プロセ スの生成を行なう部品 .成プロセスとから構成され、 4. 3 ^ 所 ΪΪ I I 装 装 装 装 装 同 E: In the equipment E, the same machine unit consists of a synchronization mechanism process with a queue of each mouth level code, The part development π I-n part specializes in updating the required quantity data of one item and calculating the part development, and one or i number of part processes and a part that generates the part process. Process and
前記同期機構プロセスは上位のキューから顺に、 キューに入っている 品目の展開計算を なうように、 ^部品展開計算部内の各品目の担当の 前記部品プロセスに対して指示を行なうプロセスであり、  The synchronization mechanism process is a process for giving an instruction to the parts process in charge of each item in the parts expansion calculation unit from the upper queue to 顺 to calculate the expansion of the items in the queue. ,
前記各部品プロセスは、 衍示のあった品目の部品展開計算の際、 子品 目の部品プロセスを .成するように、 その子品目を担当する部品展開計 箅-部の部品生成プロセスに対して^示し、 その後、 その子品目への要求 ffiを所要贵データに^き込むようにその子品目の部品プロセスに対して 指示し、 部品展開計算終了後、 前^同期機構プロセスに対してその品目 の計算が終了したことを報告するプロセスであり、  Each of the parts processes described above is applied to the parts generation process of the part development manager in charge of the child item so as to form the parts process of the child item at the time of the parts expansion calculation of the expanded item. ^ After that, instruct the part process of the child item to include the request ffi for the child item in the required data, and after the completion of the part expansion calculation, calculate the item for the previous synchronization mechanism process. Is the process of reporting that
前記各部品生成プロセスは、 指示のあった品目の部品プロセスを生成 する際、 その品目名を前記同朋機構プロセスにおいてその品目のローレ ベルコー ドと同じレベルキューに入れるように、 前記同期機構プロセス に対して指示するプロセスであり、  Each of the component generation processes, when generating a component process of the specified item, sends the item name to the same level queue as the low-level code of the item in the same peer mechanism process. Is the process of instructing
また、 前記同期機構プロセスは、 各部品プロセスから計算終了報告を そのレベルのキューに入っていた品目の数だけ受けると、 次のレベルの キューに入っている品目の展開計算を行なうよう指示するプロセスであ ることを特徴とする資材所要 _ 計算装置。  When the synchronization mechanism process receives the calculation completion report from each part process by the number of items in the queue at that level, the synchronization mechanism process instructs to perform the expansion calculation of the items in the queue at the next level. Material requirement _ calculation device characterized by the following.
5 . 請求の範囲笫 1项記戦の ΪΪ材所要量計算装置において、  5. Claims 1. In the equipment requirement calculation device for the 1st match,
部品展開計算を行なうすべての品目を一つないし複数個のグループに 分け、  Divide all items to be subjected to parts development calculation into one or more groups,
前記各部品展開計算部が、 記品目グループの一つを処理対象として 受持ち、 該品目グループの各品 [:1の部品展開計算をレベル 'バイ · レべ ルで行ない、 ある品 の親品目が他の部品展開計算部で計算される場仓 は、 その品目の一つ上のレベルの処理がすべての部品展開計算部で終了 するまで、 その品 [ lのレベルで処现を中断する部品展開計算部であり、 前記冋期機構部が、 各部 Κ ^ ίΠ· ^部の進行状況をもとに各部品展開 計算部に対し計^ 始も しく は ϋΙ· :継続を指示するこ とにより、 各部品 展開計^部における部 Ι)Η ;Π· :を並列に進める同期機構部であるこ と を特徴とする资材所 ί>;: ,Π· ^ ¾ ί 。 Each of the component development calculation units receives one of the item groups as a processing target, performs a component development calculation of each item [: 1 at the level 'by level', and a parent item of a certain item is processed. When calculated by other parts development calculators. Is a part development calculation unit that suspends processing at the level of the item [l until the processing at the next higher level of the item is completed in all the part development calculation units.計 ίΠ の 部 す る こ す る こ す る こ す る こ 計 計 す る こ 部 す る こ 部 部 す る こ す る こ 部品 す る こ す る こ 部品 部品 す る こ す る こ す る こ す る こ 部品 部品 す る こ す る こ す る こ す る こ す る こ す る こ 部品 す る こ 部品 部品 す る こ す る こ资: Π: 特 徴: 特 徴 特 徴: 资:::: 资: 资:::: 资 资: 资 资.
6 . 請求の範 I 5 , LM の ΪΪ材所要; Si:計^装置において、  6. Claims I 5, Material requirements for LM; Si:
前記同期機構部が各ローレベルコ一 ドのキューを持つ主同期機描プ口 セスからなり、  The synchronization mechanism comprises a master synchronization drawing process having a queue for each low-level code;
前記^部品展 部は、 同期機構部と同様の副同期機構プロセスと、 一つの品 Iの所要贳デ—夕の 31新及び部品展開計算を専門に行なう一つ 又は複数の部品プロセスと、 それら部品プロセスの生成を行なう部品生 成プロセスとから構成され、 そこで計算される品目の最上位ローレベル コー ドを ト ップレベルとし、 親品目が他の部品展開計算部で計算される 品目のローレベルコー ドを同】 レベルとし、 ト ップレベルから最下位レ ベルまで同期レベル以外を継続レベルとし、 主同期機構プロセスのキュ 一に対し、 卜 ップレベルから最下位レベルまで各部品展開計算部の I D 番号とレベルの種類の組を入力する部品展開計算部であり、  The parts expansion section includes a sub-synchronization mechanism process similar to that of the synchronization mechanism section, one or more parts processes specializing in calculation of new and part development of the required data of one product I, and The top-level low-level code of the item that is calculated is defined as the top level, and the parent item is the low-level code of the item that is calculated by another parts development calculation unit. The level is the same as the level. The levels other than the synchronization level are the continuation levels from the top level to the lowest level. For the queue of the main synchronization mechanism process, from the top level to the lowest level, the ID number and level of each part development calculation unit Part development calculation unit that inputs a set of
前記主同期機構プロセスは上位のキューから順に、 キューに入ってい る部品展開計算部の I D iff号のう ち、 レベル嵇類が ト ップレベルとなつ ている部品展開計算部に対し、 計 ^を開始するよう に指示するプロセス であり、  The main synchronization mechanism process starts, in order from the upper queue, the total ^ for the part expansion calculation section having the top-level level II among the ID expansion numbers of the part expansion calculation sections in the queue. Is the process of instructing
該計 開始 示を受けた各部品展開計 n部の副同期機構プロセスは、 上位のキューから顺に、 キューに入っている品 Iをまず一つ取りだし、 部品展開計算をするよう に、 その lの部品プロセスに対して指示する プロセスであり、 前記^部 ',プロセスは、 のあった品目の部品展開計算の際、 子品 目の部品プロセスを 成するように、 その子品目を担当する部品展開計 算部の部品生成プロセスに対して指示し、 その後、 その子品目への-要求 ffiを所要 Sデータに^き込むようにその子品目の部品プロセスに対して 指示し、 部品展 [¾ ί · :終了後、 副 Μ期機構プロセスに対してその品目の 計算が終了したことを報^するプロセスであり、 The sub-synchronization mechanism process of each part deployment meter, which received the start of the measurement, takes out the product I in the queue first from the upper-level queue to そ の, and performs the component development calculation so that Is a process that instructs the parts process of The ^ part ', process instructs the parts generation process of the parts development calculation part in charge of the child item to compose the parts process of the child item when calculating the parts expansion of the item that was found. Then, instruct the part process of the child item to include the -request ffi for the child item in the required S data, and then, after the part exhibition [¾ ί ·: This is a process to report that the calculation of the item has been completed.
前記 部品生成プロセスは、 ^示のあつた品目の部品プロセスを生成 する際、 その品 [ΓΙ名を副 I司期機栂プロセスにおいてその品目のローレべ ルコー ドと同じレベルキューに入れるように、 副同期機構プロセスに対 して指示するプロセスであり、  When the part generation process generates the part process for the item indicated by ^, the part name is put in the same level queue as the low-level code of the item in the deputy I second stage machine process. This is a process that instructs the sub-synchronization mechanism process.
また、 前記副同期機桢プロセスは、 各部品プロセスから計算終了報告 を受けると、 そのレベルのキューに入っている次の品目を展開計算を行 なうよう指示し、 キューが空となるとそのレベルが終了したことを主同 期機構プロセスに報告し、 次のレベルが同期レベルでない場合は、 次の レベルのキューに入っている品目を一つ取りだし、 展開計算を行なう よ う指示し、 もし、 次のレベルが同期レベルの場合は、 主同期プロセスか ら計箅継続指示が届く まで処理を中断し、 計算継続指示が届く と次のレ ベルのキューに入っている品目を一つ取りだし、 展開計算を行なうよう 指示するプロセスであり、  When the sub-synchronous machine process receives the calculation completion report from each component process, it instructs the next item in the queue at that level to perform the expansion calculation, and when the queue becomes empty, the level becomes higher. To the main synchronization process, and if the next level is not the synchronization level, instruct the system to remove one item from the next level queue and perform a deployment calculation, If the next level is the synchronization level, the process is suspended until a measurement continuation instruction is received from the main synchronization process, and when a calculation continuation instruction is received, one item in the next level queue is extracted and expanded. A process that instructs the user to perform a calculation
前記主同期機栴プロセスは各部品展開計算部からどのレベルが終了し たかの報告を受け、 あるレベルでキューに入っている部品展開計算部と 同数の報告を受けると、 次のキューに入っている部品展開計算部の I D 番号のうち、 レベル種類がト ップレベルとなつている部品展開計算部に 対し、 計算を開始するように指示し、 同期レベルとなっている部品展開 計算部に対し、 計算を継続するように指示するプロセスであることを特 徴とする資材所要蛩計^装置。 The main synchronous machine send process receives a report on which level has been completed from each part expansion calculation unit, and if it receives the same number of reports as the number of parts expansion calculation units queued at a certain level, it enters the next queue. Among the ID numbers of the part development calculation part, the part development calculation part whose level type is the top level is instructed to start the calculation, and the calculation is performed to the part development calculation part of the synchronization level. Material requirement equipment that features a process to instruct to continue.
7 . 求の範 ffl 6 ΙΓΠ ,成の ff材所 ¾ s計算装置において、 7. The required range ffl 6 ΙΓΠ, the ff material ff 成
前 各部品展 l)H計^部の 同期機^プロセスが、 同期レベルで処理を 中断している際に、 その同朋レベルに厲する品目のう ち、 親品目が他の 部品展開計算部で計 されない品 1の部品プロセスに対し、 部品展開計 算を行なう よう に桁示するこ とで、 処理の高速化を図るプロセスである こ とを特徴とする資材所要 計算装置。  Previous Each part exhibition l) When the synchronous machine process of the H section is interrupted at the synchronization level, the parent item of the items at the same level is processed by another part development calculation section. A material requirement calculation device characterized by the fact that it is a process that speeds up processing by indicating digits to perform component development calculation for the component process of uncalculated product 1.
8 . 资材所要 を行なう方法において、 一つないし複数個の M P S 読み込み部が各々 ¾準となる生¾計画の読み込みを行ない、 一つないし 複数個の部品展 Pf]計^部が各々複数の品目の部品展開計算を行ない、 冋 期機 m部が各部 n展 \)] i ι· η部で π ι· される各品目の部品展開計算がその 親品目の部品展開計- :が終了した後で行なわれるこ とを保証し、 各部品 展開計算.部に対し計^ 1 始 示を行ない、 各部品展開計算部が並列に部 品展開計算を処理するこ とを特徴とする資材所要量計算方法。  8. In the method of material requirement, one or a plurality of MPS reading units read standard production plans, and one or a plurality of parts exhibition Pf] total units each include a plurality of items. After the parts expansion calculation of the parent item is completed, the parts expansion calculation for each item, which is π ι in the η The material requirement calculation is characterized by performing a total ^ 1 start for each part expansion calculation section and guaranteeing that each part expansion calculation section processes parts expansion calculation in parallel. Method.
9 . 請求の範囲笫 8项記載の資材所要量計算方法において、  9. In the material requirement calculation method described in the claim {8},
前記各 M P S読み込み部が、 まず最初に基準生産計画をそれぞれ読み 込む際に読み込む製品の数を同朋機構部に報告し、 一つ一つの製品の^ み込みが終了したとき、 読み込み終了の報告を、 各製品の所耍盘デ一夕 を書き込む部品展開計算部へ送り、  First, each MPS reading unit first reports the number of products to be read when each of the standard production plans are read to the Dopho mechanism unit, and when the loading of each product is completed, a report of the completion of reading is given. , And send it to the parts development calculator where the data for each product is written.
前記各部品展開計算部が前記同期機構部へ各製品の所要量データの fli き込み終了の報告を送り、  Each of the parts deployment calculation units sends a report of the completion of fli addition of required quantity data of each product to the synchronization mechanism unit,
前記同期機構部が ¾準生症計画上のすべての製品の読み込み及び所要 量データの IFき込みが終了したこ とを検知するこ とを特徴とする資材所 要量計算方法。  A method for calculating a material requirement, wherein the synchronization mechanism detects that the reading of all products in the metabolic disease plan and the insertion of the required data into the IF have been completed.
1 0 . ί求の範 ffl第 8 , の K材所耍 I計^方法において、  1 0. In the request range ffl 8th, K material I total ^ method,
前記部品展開計 部が同じローレベルコー ドの品目の部品展開計^を 並列に処理を進め、 ijij ,¾ fHj朋機構部がレベル ' バイ · レベルによる処理の制御を行なう こ とを特徴とする 材所要 計^方法。 The parts development unit proceeds in parallel with the parts development unit ^ of the item of the same low-level code, ijij, 材 A material requirement method, characterized in that the fHj mechanism mechanism controls processing based on level-by-level.
1 1 . ^求の範 iffl ^ i 0 W 叔の资材所要盘計算方法において、  1 1. ^ Requirement range iffl ^ i 0 W
前記冋朋機^部が各口一レベルコー ドのキューを持つ同期機構プロセ スからなり、  The 冋 冋 machine consists of a synchronization mechanism process with a queue of each mouth-level code,
前記各部品展 1 計! Ϊ部が、 一つの品目の所要量データの更新及び部品 展開計 :を ι、ϊ- 1"]に行なう ·つ又は複数の部品プロセスと、 該部品プロセ スの^成を行なう部,' HWI:成プロセスとから構成され、  Each of the above parts exhibition 1 total! The part performs the update of the required quantity data of one item and the parts development meter: ι, ϊ-1 "]. · The part that performs one or more parts processes and the parts process, 'HWI : Composed of
fiij記同期機栴プロセスは上位のキューから順に、 キューに入っている 品目の展開計算を行なうように、 各部品展開計算部内の各品目の担当の 前記部品プロセスに対して指示を行ない、  The fiij synchronous machine send process instructs the parts process in charge of each item in each parts expansion calculation unit to calculate the expansion of the items in the queue in order from the upper queue,
前記各部品プロセスは、 指示のあった品目の部品展開計算の際、 子品 目の部品プロセスを生成するように、 その子品目を担当する部品展開計 算部の部品生成プロセスに対して桁示し、 その後、 その子品目への要求 量を所要量データに辔き込むようにその子品目の部品プロセスに対して 指示し、 部品展開計 ΪΪ終了後、 前記同期機構プロセスに対してその品目 の計算が終了したことを報告し、  Each of the component processes indicates a digit to the component generation process of the component development calculation unit in charge of the child item so that a component process of the child item is generated at the time of the component expansion calculation of the instructed item, After that, it instructed the part process of the child item to include the required amount for the child item in the required amount data, and after the completion of the part expansion meter, the calculation of the item was completed for the synchronization mechanism process. Report that
前記各部品生成プロセスは、 指示のあった品目の部品プロセスを生成 する際、 その品 l名を前 冋期機桢プロセスにおいてその品目のローレ ベルコー ドと同じレベルキューに入れるように、 前記同期機構プロセス に対して指示し、  Each of the component generation processes is configured such that, when a component process of an item specified is generated, the synchronization mechanism is configured to put the name of the item in the same level queue as the low-level code of the item in the previous term machine process. Instruct the process
また、 前記同朋機 ½プロセスは、 各部品プロセスから計算終了報告を そのレベルのキューに人っていた品目の数だけ受けると、 次のレベルの キューに入つている ', 1 1の展 計 を行なうよう指示するこ とを特徴と する 材所要 fi I' :方 。  Upon receiving the calculation completion report from each part process by the number of items in the queue at that level, the Doho Machine 'process calculates the sum of', 11 1 in the queue at the next level. The material required to be instructed to do so is fi I '.
1 2 . 求の ti ffl ^ 8 Jj'i , , | の¾材所 ¾ S計^方法において、 部品展開計算を行なうすべての品目を一つないし複数個のグループに 分け、 1 2. In the ti ffl ^ 8 Jj'i,, | Divide all items to be subjected to parts development calculation into one or more groups,
前記各部品展 計^部が、 j'jii記 ' 1グループの一つを処理対象と して 受持ち、 該品 グループの各品 lの部品展開計^をレベル . バイ · レべ ルで行ない、 ある品 1 1の親 ,'π', LIが他の部品展開 H I-算部で計算される場合 は、 その品目の一つ上のレベルの処现がすべての部品展開計算部で終了 するまで、 その品 Rのレベルで処?1!.を中断し、  Each of the parts decompressor ^ takes charge of one of the j'jii's 1 groups as a processing target, and performs a parts decomposer ^ of each part l of the part group at a level.by level. If the parent, 'π', LI of a certain item 1 is calculated by another part expansion HI-calculation unit, the processing at the next higher level of the item ends in all the part expansion calculation units. Until the product at the R level? 1 !.
前記同期機構部が、 各部品展 n t- ^部の進行状況をもとに各部品展開 計算部に対し計 開始も しく は計 継続を指示するこ とにより、 各部品 展開計 ^部における部品展 [jfj !Π· を並列に進めるこ とを特徴とする資材 所要量計算方法。  The synchronization mechanism unit instructs each part expansion calculation unit to start or continue counting based on the progress of each part extension n t- ^ unit, and thereby the parts in each part expansion unit ^ unit A method of calculating material requirements, characterized in that the exhibition [jfj! Π · is advanced in parallel.
1 3 . 請求の範囲第 1 2坝記戟の资材所要量計算方法において、  1 3. In the method of calculating the material requirement of the first and second claims,
前記同期機構部が各口一レベルコー ドのキューを持つ主同期機構プロ セスからなり、  The synchronization mechanism unit comprises a main synchronization mechanism process having a queue of each mouth-level code,
前記各部品展開 π I- 部は、 同期機構部と同様の副同期機構プロセスと、 一つの品目の所要量データの更新及び部品展開計算を専門に行なう一つ 又は複数の部品プロセスと、 それら部品プロセスの生成を行なう部品生 成プロセスとから構成され、 そこで計算される品目の最上位ローレベル コー ドを ト ップレベルと し、 親品 [ΞΙが他の部品展開計算部で計算される 品目のローレベルコー ドを同期レベルとし、 ト ップレベルから最下位レ ベルまで同期レベル以外を継続レベルとし、 主同期機構プロセスのキュ 一に対し、 卜 ップレベルから最下位レベルまで各部品展開計算部の I D 番号とレベルの稲類の組を入力し、  Each of the component development π I- units includes a sub-synchronization mechanism process similar to the synchronization mechanism unit, one or more component processes dedicated to updating required data of one item and calculating component development, and The top-level low-level code of the item calculated there is defined as the top level, and the parent product [ΞΙ is the row of the item calculated by the other parts development calculation unit. The level code is the synchronization level, and the levels other than the synchronization level are the continuation levels from the top level to the lowest level. For the queue of the main synchronization mechanism process, the ID number of each part development calculation unit from the top level to the lowest level and Enter a set of level rice,
前記主同期機 プロセスは上位のキューから順に、 キューに入ってい る部品展 D i' .部の I D 号のう ち、 レベル種類が ト ップレベルとなつ ている部品展開計^部に対し、 計^を開始するように指示し、 計算 P/ j始 m示を受けた各 t .'„'.展開計算部の副同期機構プロセスは、 上位のキューから顺に、 キューに入っている品目をまず一つ取りだし、 部品展開計算をするように、 その品目の部品プロセスに対して指示し、 前記各部品プロセスは、 指 のあった品目の部品展開計算の際、 子品 の部品プロセスを' t:.成するよう に、 その子品目を担当する部品展 計 算部の部品生成プロセスに Wして: ( 示し、 その後、 その子品目への要求 量を所要贵デ一夕に^き込むよう にその子品目の部品プロセスに対して 指示し、 部品 計 n終 r後、 副 期機 ¾プロセスに対してその品目の 計算が終了したこ とを報告し、 The main synchronous machine process counts in order from the higher-order queue to the part deployment meter that has the top-level level type among the ID numbers of the part exhibitions D i '. In the queue. To start, After receiving the calculation P / j start m, each sub-synchronization mechanism process of the expansion calculation unit takes out one item in the queue from the upper-level queue to を, and performs the part expansion calculation. Instructs the part process of the item to execute the part process of the child item at the time of the part expansion calculation of the item pointed to by the child item. Instruct the part process of the child item to write the required amount for the child item to the required part of the process. After the end of the total number of parts, the secondary machine reports to the process that the calculation of the item has been completed.
前記各部品生成プロセスは、 ^示のあつた品目の部品プロセスを生成 する際、 その品 tl名を i,W ΙΓί]期機^プロセスにおいてその品目のローレべ ルコー ドと同じレベルキューに入れるように、 副同期機構プロセスに対 して指示し、  Each of the component generation processes described above, when generating a component process for the indicated item, puts the item tl name in the same level queue as the low level code of the item in the i, W ΙΓί] period machine ^ process. Instruct the secondary synchronization process to
また、 前記副同朋機構プロセスは、 各部品プロセスから計算終了報告 を受けると、 そのレベルのキューに人っている次の品目を展開計算を行 なう よう指示し、 キューが空となるとそのレベルが終了したこ とを主同 期機構プロセスに報告し、 次のレベルが同期レベルでない場合は、 次の レベルのキューに入っている品 uを一つ取りだし、 展開計算を行なう よ う指示し、 もし、 次のレベルが 期レベルの場合は、 主同期プロセスか ら計算継続措示が屈く まで処理を中断し、 計算継続指示が届く と次のレ ベルのキューに入っている品目を一つ取りだし、 展開計算を行なう よう 指示し、  In addition, when receiving the calculation completion report from each component process, the sub-domo partner process instructs the next item in the queue at that level to perform the expansion calculation, and when the queue becomes empty, the level becomes lower. Is reported to the main synchronization process, and if the next level is not the synchronization level, one item u in the next level queue is taken out and the unfolding calculation is instructed. If the next level is the term level, the process is suspended from the main synchronization process until the calculation continuation instruction succumbs, and when the calculation continuation instruction arrives, one item in the next level queue is deleted. Take out, instruct to perform the unfolding calculation,
前; Ε主 fnj m機 プロセスは各; ,ν,',展 ι;υ ;;Ί· νι部からどのレべルが終了 し たかの報告を受け、 ある レベルでキューに入っている部品展開計算部と 同数の報告を受けると、 次のキューに入っている部品展開計!?部の I D 岙号のう ち、 レベル 'ίί類が ト ップレベルとなっている部品展開計^部に 対し、 計 ΪΤ.を 0 始するよう に指示し、 同) レベルとなっている部品展^ 計算部に対し、 計 を継続するよう に指示するこ とを特徴とする資材所 要 a計 方法。 Before; ΕMain fnj m machine Each process;, ν, ', Expand ;; υ ;; ΊΊνι receives a report on which level has been completed, and calculates the deployment of parts queued at a certain level. When the same number of reports are received, the part deployment meter in the next queue! Of the part ID numbers in the? Part, the part deployment meter ^ part whose level is the top level A material method, which instructs the parts expansion calculation unit at the same level to start the measurement, and instructs it to continue the measurement.
1 4 . 請求の範 ffl第 1 3 X i ; 叔の资材所要 ffi計算方法において、  1 4. Claim range ffl 1 3 X i;
前記各部品展 計 部の ;リ in]期機構プロセスが、 同期レベルで処理を 中断している際に、 その同朋レベルに属する品目のう ち、 親品目が他の 部品展 計 部で計 nされな 、品 iiiの部品プロセスに対し、 部品展開計 算を行なう よう に指示するこ とで、 処理の高速化を図るこ とを特徴とす る資材所要贵計^方 。  When the “re-in” period process of each of the above-mentioned parts is interrupted at the synchronization level, the parent item of the items belonging to the same level is counted by the other parts expansion unit. However, by instructing the component process of the product iii to perform a component development calculation, the material processing is speeded up by processing the material.
1 5 . 請求の範 1 2项記戦の资材所要量計算方法において、  1 5. Claims 1 2 In the method of calculating material requirements for
部品 計 を行なう全品 Hiを各グループに分ける際に、 そのグルー プに厲する品目で親品 が他のグループに属する品目のレベルの最下位 を最低書き込まれレベルと し、 そのグループに属する品目で子品目が他 のグループに厲する品 の最上位を最高書き込みレベルとし、 各グルー プで、 最低書き込まれレベルが ¾高 き込みレベル以上になるようにす るこ とで、 各部品展開計算部の計算が中断するこ となく処理を進めるこ とを特徴とする資材所耍 M計算方法。  When all parts Hi for which parts are to be totaled are divided into groups, the lowest level of the level of the items belonging to the group whose parent product belongs to another group is the lowest written level, and the items belonging to that group The highest write level is the highest level of the item that the child item falls into the other group, and the lowest write level is higher than the highest write level in each group. Material calculation method characterized by the fact that the processing proceeds without interruption.
PCT/JP1995/000484 1995-03-17 1995-03-17 Method and apparatus for parallel processing a calculation of a required amount of material WO1996029666A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP1995/000484 WO1996029666A1 (en) 1995-03-17 1995-03-17 Method and apparatus for parallel processing a calculation of a required amount of material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1995/000484 WO1996029666A1 (en) 1995-03-17 1995-03-17 Method and apparatus for parallel processing a calculation of a required amount of material

Publications (1)

Publication Number Publication Date
WO1996029666A1 true WO1996029666A1 (en) 1996-09-26

Family

ID=14125770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1995/000484 WO1996029666A1 (en) 1995-03-17 1995-03-17 Method and apparatus for parallel processing a calculation of a required amount of material

Country Status (1)

Country Link
WO (1) WO1996029666A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10105205A (en) * 1996-09-27 1998-04-24 Hitachi Ltd Material requirement calculation method and system
JPH11102399A (en) * 1997-07-28 1999-04-13 Canon Inc System and method for component ordering, component management system, device and method for order reception and ordering management, and recording medium
US6535773B1 (en) * 1997-04-23 2003-03-18 Hitachi, Ltd. Device and method for calculating required quantity of material
JP2021174037A (en) * 2020-04-20 2021-11-01 大 益滿 Program calculating type and quantity range of b constituting a and b

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0343137A (en) * 1989-07-10 1991-02-25 Toshiba Corp Processing device for developing required amount of material
JPH03287357A (en) * 1990-04-04 1991-12-18 Hitachi Ltd Arrangement program support system using high speed mrp technique
JPH06231135A (en) * 1992-07-07 1994-08-19 Hitachi Ltd Production planning system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0343137A (en) * 1989-07-10 1991-02-25 Toshiba Corp Processing device for developing required amount of material
JPH03287357A (en) * 1990-04-04 1991-12-18 Hitachi Ltd Arrangement program support system using high speed mrp technique
JPH06231135A (en) * 1992-07-07 1994-08-19 Hitachi Ltd Production planning system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10105205A (en) * 1996-09-27 1998-04-24 Hitachi Ltd Material requirement calculation method and system
US6535773B1 (en) * 1997-04-23 2003-03-18 Hitachi, Ltd. Device and method for calculating required quantity of material
JPH11102399A (en) * 1997-07-28 1999-04-13 Canon Inc System and method for component ordering, component management system, device and method for order reception and ordering management, and recording medium
JP2021174037A (en) * 2020-04-20 2021-11-01 大 益滿 Program calculating type and quantity range of b constituting a and b

Similar Documents

Publication Publication Date Title
US6122560A (en) Method and device for computing material requirements
Adhau et al. A multi-agent system for decentralized multi-project scheduling with resource transfers
CN102591268B (en) JIT material production is controlled via billboard
CN104598979A (en) Delivery optimization based on time and position
CN101907883A (en) Dynamic Maintenance Planning Device
JPH10301604A (en) Material requirement calculation device and material requirement calculation method
KR20150105145A (en) Method and system for plan of product production by considering appointed date of payment and stockpiling expenses
WO1996029666A1 (en) Method and apparatus for parallel processing a calculation of a required amount of material
CN112085442B (en) Device operation method, apparatus, electronic device, and computer-readable medium
CN110276469A (en) Order distribution control method, device and computer system
JP2019121296A (en) Required amount prediction device, required amount prediction method and program
EP1750225A1 (en) Supply scheduling
JP7063781B2 (en) Parallel distributed processing control system, program, and parallel distributed processing control method
Wang et al. Modeling and analysis for multi-period, multi-product and multi-resource production scheduling
JP3610681B2 (en) Production planning method and production planning system
JP4442356B2 (en) Scheduling system and scheduling method
JP4648013B2 (en) Production scheduling system
JPH10105205A (en) Material requirement calculation method and system
Huang et al. Backward simulation with multiple objectives control
JP2004062674A (en) Production management method and production management program
JP7515086B2 (en) Planning system, planning management system, planning method, and program
JP4477649B2 (en) Material requirement calculation system
JP2004002013A (en) Apparatus and method for allocating shipping goods and program therefor
JP2023171080A (en) Control rule generation device, performance reflection device, and control rule generation system
JP2000190177A (en) Method and device for production plan preparation and recording medium for storing production plan preparing program

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载