TWI771615B - Product order prediction method - Google Patents
Product order prediction method Download PDFInfo
- Publication number
- TWI771615B TWI771615B TW108133466A TW108133466A TWI771615B TW I771615 B TWI771615 B TW I771615B TW 108133466 A TW108133466 A TW 108133466A TW 108133466 A TW108133466 A TW 108133466A TW I771615 B TWI771615 B TW I771615B
- Authority
- TW
- Taiwan
- Prior art keywords
- order
- product
- neural network
- orders
- planning system
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004519 manufacturing process Methods 0.000 claims abstract description 39
- 238000013439 planning Methods 0.000 claims abstract description 21
- 238000003062 neural network model Methods 0.000 claims abstract description 14
- 238000013277 forecasting method Methods 0.000 claims description 8
- 238000000611 regression analysis Methods 0.000 claims description 3
- 230000006403 short-term memory Effects 0.000 claims description 2
- 230000001537 neural effect Effects 0.000 description 7
- 239000002994 raw material Substances 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 238000012261 overproduction Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000015654 memory Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000012731 temporal analysis Methods 0.000 description 1
- 238000000700 time series analysis Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- General Factory Administration (AREA)
Abstract
Description
本發明係關於一種訂單預測的方法,特別是一種使用類神經網路訓練得到的模型預測訂單的方法。The present invention relates to a method for order prediction, in particular to a method for predicting orders using a model trained by a neural network.
對於電子產品製造商而言,最理想的情況是庫存維持在一定數量以下,過高的庫存以及較低的庫存周轉率將佔用大量的資金,對現金流造成壓力,此外,高庫存也增加額外的時間以及人力成本用於倉儲費用、揀選產品及盤點。For electronics manufacturers, the ideal situation is to maintain inventory below a certain amount. Excessive inventory and low inventory turnover will take a lot of money and put pressure on cash flow. In addition, high inventory also adds additional The time and labor costs are used for warehousing expenses, picking products and counting.
現今對於訂單預測的方式,大多係依賴經驗、先前的訂單及庫存資料進行判斷。然而,人類並無法精確地掌握過於複雜且高維度的資料,即使採用簡單迴歸或時間序列分析來預訂單,亦只能依循前期的狀況進行預測,無法從長期的角度來分析而確保其預測準確率。因此,目前極需一種高準確率的訂單預測方法。Most of the current methods of order forecasting rely on experience, previous orders and inventory data to make judgments. However, humans cannot accurately grasp overly complex and high-dimensional data. Even if simple regression or time series analysis is used to book orders, they can only make predictions based on the previous situation, and cannot be analyzed from a long-term perspective to ensure accurate predictions. accuracy. Therefore, a high-accuracy order prediction method is currently in great demand.
有鑑於此,本發明提出一種基於類神經網路模型的訂單預測方法,藉此解決現有方法中訂單預測準確率不高的問題。In view of this, the present invention proposes an order prediction method based on a neural network-like model, thereby solving the problem of low accuracy of order prediction in the existing method.
依據本發明一實施例所敘述的一種訂單預測方法,適用於一產品生產計畫系統。所述的方法包括:取得關聯於產品之下次參考訂單之參考資訊及產品之本次實際訂單;依據參考資訊及本次實際訂單執行一基於類神經網路模型的演算法以產生特徵向量;以及依據特徵向量執行另一基於類神經網路模型的演算法以輸出下次預測訂單至產品生產計畫系統,以供產品生產計畫系統依據下次預測訂單計畫生產線生產產品之運行。An order forecasting method described according to an embodiment of the present invention is applicable to a product production planning system. The method includes: obtaining reference information related to the next reference order of the product and the actual order of the product; executing an algorithm based on a neural network model according to the reference information and the actual order to generate a feature vector; and executing another algorithm based on the neural network model according to the feature vector to output the next predicted order to the product production planning system for the product production planning system to plan the operation of the production line to produce the product according to the next predicted order.
藉由上述架構,本發明所揭露的訂單預測方法可綜合考量關聯於訂單的多種類型資訊,做出更為精確的下次訂單預測。例如:若預測下週將接獲大量訂單,則提前在本週主動提高產能以滿足下週的訂單;若預測到下週的訂單數量減少將導致庫存率升高,則在本週降低產能以避免生產過剩。本發明有助於減少庫存,進一步減少盤點倉儲的時間成本及人力成本。With the above structure, the order forecasting method disclosed in the present invention can comprehensively consider various types of information related to an order to make a more accurate forecast for the next order. For example: if it is predicted that a large number of orders will be received next week, it will actively increase production capacity this week in advance to meet next week's orders; if it is predicted that the decrease in the number of orders next week will lead to an increase in the inventory rate, reduce production capacity this week to Avoid overproduction. The invention helps to reduce inventory, and further reduces the time cost and labor cost of inventory and storage.
以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the present disclosure and the following description of the embodiments are used to demonstrate and explain the spirit and principle of the present invention, and provide further explanation of the scope of the patent application of the present invention.
以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are described in detail below in the embodiments, and the content is sufficient to enable any person skilled in the relevant art to understand the technical content of the present invention and implement it accordingly, and according to the content disclosed in this specification, the scope of the patent application and the drawings , any person skilled in the related art can easily understand the related objects and advantages of the present invention. The following examples further illustrate the viewpoints of the present invention in detail, but do not limit the scope of the present invention in any viewpoint.
本發明提出的訂單預測方法適用於產品生產計畫系統。所述的產品生產計畫系統例如係雲端伺服器,可用於控制產品生產線的運作。產品生產計畫系統可包含處理器及記憶體,亦可更進一步包含硬碟及複數個可進行平行處理的運算單元。產品生產計畫系統的處理器運行本發明提出的訂單預測方法。產品生產計畫系統依據本發明提出的訂單預測方法的輸出結果適應性地調整生產線上的機具運作的參數,藉此提高生產週期或降低生產週期實現控制產品產量的效果。實務上,產品生產計畫系統例如係企業資源計畫系統(Enterprise Resource Planning,ERP)、進銷存(Purchase, Sales, Inventory,PSI)管理系統。The order prediction method proposed by the present invention is suitable for a product production planning system. The product production planning system is, for example, a cloud server, which can be used to control the operation of the product production line. The product production planning system may include a processor and a memory, and may further include a hard disk and a plurality of computing units capable of parallel processing. The processor of the product production planning system runs the order forecasting method proposed by the present invention. The product production planning system adaptively adjusts the operation parameters of the machines and tools on the production line according to the output result of the order forecasting method proposed by the present invention, thereby increasing the production cycle or reducing the production cycle to achieve the effect of controlling product output. In practice, the product production planning system is, for example, an enterprise resource planning system (Enterprise Resource Planning, ERP), a purchase, sales, inventory (Purchase, Sales, Inventory, PSI) management system.
請參考圖1,其係繪示本發明之一實施例的訂單預測方法的流程圖。Please refer to FIG. 1 , which is a flowchart illustrating an order prediction method according to an embodiment of the present invention.
請參考步驟S1,取得產品之本次實際訂單及參考資訊。Please refer to step S1 to obtain the actual order and reference information of the product.
詳言之,本次實際訂單例如係銷售訂單(Sales Order,SO)記載之數值。參考資訊關聯於產品之下次參考訂單。參考資訊包括一或複數個參考值。若參考資訊為一參考值,該參考值例如為下次參考訂單。若參考資訊為複數個參考值,則這些參考值分別對應到複數個參考訂單,這些參考訂單其中一者係下次參考訂單,且這些參考訂單在時間上依據第一週期連續。所述的第一週期例如採用以「週」為單位,所述的參考資訊例如係下週參考訂單以及其後的連續N-1週的參考訂單(即參考資訊為連續N週的參考訂單)。所述的參考資訊可以更包括連續N週的目標庫存率、或者是連續N期的原物料預測價格、連續N週的天氣,或者是上述列舉的任意組合,本發明對於前述舉例的N值以及可作為參考資訊的種類和數目並不特別限制。To be more specific, this actual order is, for example, the value recorded in the Sales Order (SO). The reference information is associated with the next reference order for the product. Reference information includes one or more reference values. If the reference information is a reference value, the reference value is, for example, the next reference order. If the reference information is a plurality of reference values, the reference values respectively correspond to a plurality of reference orders, one of these reference orders is the next reference order, and these reference orders are consecutive in time according to the first cycle. The first cycle is, for example, in a “week” unit, and the reference information is, for example, the reference order for the next week and the reference orders for consecutive N-1 weeks thereafter (that is, the reference information is the reference order for consecutive N weeks) . The reference information may further include the target inventory rate for N consecutive weeks, or the forecast price of raw materials for N consecutive periods, the weather for N consecutive weeks, or any combination of the above enumerations. The types and numbers of information that can be used as reference are not particularly limited.
請參考步驟S2,依據參考資訊及本次實際訂單執行基於類神經網路模型之演算法以產生特徵向量。在本發明一實施例中,所述的基於類神經網路模型的演算法例如係包含注意力機制(Attention mechanism)的長短期記憶網路(Long Short-Term Memory,LSTM),其輸入參數為多維度的向量(例如N+1維度),由參考資訊(例如連續N週的參考訂單)及本次實際訂單(例如從上週日起至本週六止累計的訂單量)所組成。採用LSTM的類神經網路模型以前述多維度(例如30維)的向量作為輸入層參數,並產生一個多維度的特徵向量(例如係64維)。Please refer to step S2, and according to the reference information and the actual order of this time, an algorithm based on a neural network model is executed to generate a feature vector. In an embodiment of the present invention, the algorithm based on the neural network model is, for example, a Long Short-Term Memory (LSTM) network including an attention mechanism (Attention mechanism), and its input parameters are A multi-dimensional vector (such as N+1 dimension), which consists of reference information (such as reference orders for N consecutive weeks) and this actual order (such as the cumulative order volume from last Sunday to this Saturday). The neural network-like model using LSTM takes the aforementioned multi-dimensional (eg, 30-dimensional) vector as the input layer parameter, and generates a multi-dimensional feature vector (eg, 64-dimensional).
實務上,採用LSTM的類神經網路模型係預先根據過往的參考資訊及過往的實際訂單訓練而成。例如採用第1週至第20週的參考訂單和實際訂單等資訊自動調整類神經網路模型中的多個權重,並且在第21週時將訓練後的模型用在產品生產計畫系統及生產線上運作,從第21週起所做的預測和實際訂單,可選擇性地反饋到類神經網路模型當中。另外需提及的是,所述的參考資訊可採用不同的週期輸入至採用LSTM的類神經網路模型。舉例來說,參考訂單係以「週」為單位作為輸入層參數,原物料預測價格則係以「月」為單位作為輸入層參數。在每週更新參考訂單的輸入層參數時,若非適逢每月更新原物料預測價格的時間點,則可選擇性地輸入0值或是延續前次輸入值作為代替。In practice, the LSTM-like neural network model is pre-trained based on past reference information and past actual orders. For example, using information such as reference orders and actual orders from week 1 to
請參考步驟S3,依據特徵向量執行另一演算法以輸出下次預測訂單至產品生產計畫系統,以供產品生產計畫系統依據下次預測訂單控制生產線生產產品之運行。所述的另一演算法係基於一類神經網路模型的演算法,或基於一迴歸分析的演算法。實務上,所述的基於類神經網路模型的另一演算法係多層感知器(Multilayer perceptron,MLP)。MLP以LSTM產生的多維度特徵向量作為輸入參數,並採用線性組合(linear combination)的方式將該特徵向量轉換為一純量,此純量代表下次預測訂單。因此,產線控制系統可依據該下次預測訂單之數值適應地調整後續產線上的生產進度,藉此可避免額外的生產導致庫存率提高。在本發明另一實施例中,MLP亦可以輸出複數個純量代表連續數次的預測訂單。舉例來說,若預測週期為4,則輸出連續四週的預測訂單,藉此作為產品生產計畫系統下個月的參考指標。生產線上的各項生產機具亦可依據下次預測訂單而決定本身運行時的參數設定。Referring to step S3, another algorithm is executed according to the feature vector to output the next predicted order to the product production planning system, so that the product production planning system can control the operation of the production line to produce products according to the next predicted order. Said other algorithm is an algorithm based on a type of neural network model, or an algorithm based on a regression analysis. In practice, another algorithm based on the neural network-like model described above is a multi-layer perceptron (MLP). MLP takes the multi-dimensional feature vector generated by LSTM as an input parameter, and converts the feature vector into a scalar by means of linear combination, which represents the next prediction order. Therefore, the production line control system can adaptively adjust the production progress of the subsequent production line according to the value of the next predicted order, thereby avoiding an increase in the inventory rate caused by additional production. In another embodiment of the present invention, the MLP may also output a plurality of scalars representing consecutive forecast orders. For example, if the forecast period is 4, the forecast orders for four consecutive weeks will be output, which will be used as the reference index of the product production planning system for the next month. Various production machines on the production line can also determine their own parameter settings during operation according to the next forecasted order.
請參考圖2,其係應用本發明一實施例的訂單預測方法所得到的下次預測訂單、下次參考訂單及本次實際訂單的「訂單量-時間」之折線圖,其中前20週為類神經網路模型的訓練階段,因此實際訂單、預測訂單及參考訂單的數值相同。第21週起為類神經網路模型上線運作階段,由圖2可看出,應用本發明一實施例的訂單預測方法所得到的預測訂單在約第50週起之後愈來愈貼近實際訂單的折線,這代表本發明一實施例的訂單預測方法的精確度可隨著上線運作時間而更為提高。Please refer to FIG. 2 , which is a line chart of “order volume-time” of the next predicted order, the next reference order and the actual order obtained by applying the order forecasting method according to an embodiment of the present invention, of which the first 20 weeks are The training phase of the neural network-like model, so the values of the actual order, the predicted order and the reference order are the same. The 21st week is the online operation stage of the neural network model. It can be seen from FIG. 2 that the predicted orders obtained by applying the order prediction method according to an embodiment of the present invention are getting closer and closer to the actual orders after about the 50th week. The broken line indicates that the accuracy of the order prediction method according to an embodiment of the present invention can be further improved with the online operation time.
綜上所述,本發明提出的訂單預測方法,係採用 LSTM以及MLP分別作為權重區以及分析區,LSTM輸出多維向量資訊作為MLP之輸入,MLP輸出一維(亦可為多維)向量資訊作為下次預測訂單。LSTM的輸入資料包括本次實際訂單與參考資訊,參考資訊可涵蓋多種類的預測資訊,例如連續半年的參考訂單、預測庫存率等。本發明所述的訂單預測方法可在訓練過程中自動調整權重區中的權重值,並且在上線運行之後,仍可持續根據實際運作結果以及誤差作為新的訓練資料反饋至類神經網路的模型中,因此得以進一步提升預測的準確率。整體而言,本案所揭露的訂單預測系統可綜合考量關聯於產品生產的多種類型資訊,做出更為精確的下次訂單預測。例如:若預測下週將接獲大量訂單,則提前在本週主動提高產能以滿足下週的訂單;若預測到下週的訂單數量減少將導致庫存率升高,則在本週降低產能以避免生產過剩。本發明並且有助於減少庫存,進一步減少盤點倉儲的時間成本及人力成本。To sum up, the order prediction method proposed by the present invention uses LSTM and MLP as the weight area and the analysis area respectively, LSTM outputs multi-dimensional vector information as the input of MLP, and MLP outputs one-dimensional (or multi-dimensional) vector information as the lower part. forecast orders. The input data of LSTM includes this actual order and reference information, and the reference information can cover various types of forecast information, such as reference orders for six consecutive months, forecast stock rate, etc. The order prediction method of the present invention can automatically adjust the weight value in the weight area during the training process, and after the online operation, it can continue to feed back to the neural network-like model as new training data according to the actual operation results and errors. Therefore, the accuracy of prediction can be further improved. Overall, the order forecasting system disclosed in this case can comprehensively consider various types of information related to product production and make more accurate forecasts for the next order. For example: if it is predicted that a large number of orders will be received next week, it will actively increase production capacity this week in advance to meet next week's orders; if it is predicted that the decrease in the number of orders next week will lead to an increase in the inventory rate, reduce production capacity this week to Avoid overproduction. The invention also helps to reduce inventory, and further reduces the time cost and labor cost of inventory and warehousing.
雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention is disclosed in the foregoing embodiments, it is not intended to limit the present invention. Changes and modifications made without departing from the spirit and scope of the present invention belong to the scope of patent protection of the present invention. For the protection scope defined by the present invention, please refer to the attached patent application scope.
S1~S3:步驟S1~S3: Steps
圖1係依據本發明一實施例的訂單預測方法所繪示的流程圖。 圖2係下次預測訂單、下次參考訂單及本次實際訂單的「訂單量-時間」之折線圖。FIG. 1 is a flowchart illustrating an order prediction method according to an embodiment of the present invention. Figure 2 is a line chart of the "order volume-time" of the next forecast order, the next reference order and the actual order this time.
S1~S3:步驟S1~S3: Steps
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108133466A TWI771615B (en) | 2019-09-17 | 2019-09-17 | Product order prediction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108133466A TWI771615B (en) | 2019-09-17 | 2019-09-17 | Product order prediction method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202113743A TW202113743A (en) | 2021-04-01 |
TWI771615B true TWI771615B (en) | 2022-07-21 |
Family
ID=76604279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108133466A TWI771615B (en) | 2019-09-17 | 2019-09-17 | Product order prediction method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI771615B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI394089B (en) * | 2009-08-11 | 2013-04-21 | Univ Nat Cheng Kung | Virtual production control system and method and computer program product thereof |
CN103310286A (en) * | 2013-06-25 | 2013-09-18 | 浙江大学 | Product order prediction method and device with time series characteristics |
WO2016127918A1 (en) * | 2015-02-13 | 2016-08-18 | 北京嘀嘀无限科技发展有限公司 | Transport capacity scheduling method and system |
US20190066041A1 (en) * | 2017-08-28 | 2019-02-28 | X Development Llc | Dynamic Truck Route Planning Between Automated Facilities |
-
2019
- 2019-09-17 TW TW108133466A patent/TWI771615B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI394089B (en) * | 2009-08-11 | 2013-04-21 | Univ Nat Cheng Kung | Virtual production control system and method and computer program product thereof |
CN103310286A (en) * | 2013-06-25 | 2013-09-18 | 浙江大学 | Product order prediction method and device with time series characteristics |
WO2016127918A1 (en) * | 2015-02-13 | 2016-08-18 | 北京嘀嘀无限科技发展有限公司 | Transport capacity scheduling method and system |
US20190066041A1 (en) * | 2017-08-28 | 2019-02-28 | X Development Llc | Dynamic Truck Route Planning Between Automated Facilities |
Also Published As
Publication number | Publication date |
---|---|
TW202113743A (en) | 2021-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xia et al. | A seasonal discrete grey forecasting model for fashion retailing | |
JP6819607B2 (en) | Information processing system, information processing method and information processing program | |
WO2019001120A1 (en) | Method and system for processing dynamic pricing data of commodity | |
KR20200131549A (en) | Item sales volume prediction method, apparatus and system using artificial intelligence model | |
US20140310059A1 (en) | System , method and computer program forecasting energy price | |
WO2017037881A1 (en) | Online prediction system and method | |
US20190378061A1 (en) | System for modeling the performance of fulfilment machines | |
TW201837814A (en) | Method and system for forecasting product sales on model-free prediction basis | |
US11379767B2 (en) | Adjusting a master build plan based on events using machine learning | |
US20230045901A1 (en) | Method and a system for customer demand driven supply chain planning | |
JP5831363B2 (en) | Manufacturing lead time prediction device, manufacturing lead time prediction method, and computer program | |
CN114091770A (en) | Prediction analysis method, device, equipment and storage medium for material demand plan | |
JP6193817B2 (en) | Demand prediction apparatus and program | |
TWI771615B (en) | Product order prediction method | |
JP5847137B2 (en) | Demand prediction apparatus and program | |
US20210073896A1 (en) | Product order prediction method | |
US12093855B2 (en) | Systems and methods for service location optimization | |
JP6276655B2 (en) | Demand prediction apparatus and program | |
JP5826892B1 (en) | Change point detection apparatus, change point detection method, and computer program | |
Gokhale et al. | A reinforcement learning approach to inventory management | |
CN114626660A (en) | Method and apparatus for surge regulation forecasting | |
Vaitkus et al. | Electrical spare parts demand forecasting | |
CN113657945A (en) | User value prediction method, device, electronic equipment and computer storage medium | |
Long et al. | Intelligent decision support system for optimizing inventory management under stochastic events | |
Viedienieiev et al. | Forecasting the selling price of the agricultural products in ukraine using deep learning algorithms |