Order allocation methods and electronic devices

By using a multi-objective optimization model and order clustering, the problem of low order allocation accuracy was solved, and dynamic adaptation and resource optimization of order allocation were achieved, thereby improving production efficiency and accuracy.

CN122865099BActive Publication Date: 2026-11-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611339529.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-17
Estimated Expiration
2046-08-31

AI Technical Summary

Technical Problem

Existing technologies suffer from low order allocation accuracy, reliance on human experience leading to inconsistent allocation results, difficulty in comprehensively considering multiple objectives for optimization in a short period of time, inability to adapt to fast-paced market demands, and inability to provide real-time feedback on factory execution anomalies, resulting in suboptimal resource allocation.

Method used

By acquiring order demand data and real-time factory resource data, a multi-objective optimization model is used for order allocation, including clustering and dynamic adjustment. Combining material relationships and production constraints, a target order allocation plan is generated.

Benefits of technology

It enables dynamic adaptation to the factory's real-time capacity and material supply, improves the accuracy of order allocation, balances material matching accuracy, production delivery timeliness and factory capacity utilization, and alleviates the problems of factory capacity idleness and overload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122865099B_ABST
    Figure CN122865099B_ABST
Patent Text Reader

Abstract

This application discloses an order allocation method and electronic device, relating to the field of production scheduling technology. Through a multi-objective optimization model, it performs multi-dimensional calculations on real-time collected order demand data and real-time factory resource data to obtain a target order allocation scheme. This scheme can dynamically adapt to the real-time capacity surplus, material supply status, and production load fluctuations of each factory. Compared to fixed-rule allocation methods, it can take into account multiple dimensions of indicators such as material matching accuracy, production delivery timeliness, and factory capacity utilization, effectively balancing the production load of multiple factories and alleviating the problems of idle capacity in some factories and overload accumulation in others. This improves the accuracy of order allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of production scheduling technology, and in particular to order allocation methods and electronic devices. Background Technology

[0002] Product manufacturing can be carried out in multiple different factories. Optimal allocation and scheduling of orders across this network of factories has become crucial for improving overall production efficiency and reducing operating costs. Currently, order allocation using manual inspection and static rules suffers from low accuracy. Summary of the Invention

[0003] This application provides an order allocation method and electronic device to at least solve the problem of low order allocation accuracy in related technologies.

[0004] This application provides an order allocation method, including:

[0005] Obtain order demand data and real-time resource data from multiple factories;

[0006] Multiple product identifiers are identified from the order demand data, and the order demand data is clustered and grouped according to the overlapping relationships of the materials corresponding to the multiple product identifiers to obtain multiple order demand data groups;

[0007] Determine the production constraints for multiple order demand data groups;

[0008] By inputting real-time resource data, multiple order demand data sets, and production constraints into a multi-objective optimization model, a target order allocation scheme is obtained.

[0009] Based on the target order allocation plan, dynamic order allocation is performed to multiple factories.

[0010] This application also provides an order allocation device, including:

[0011] The acquisition module is used to acquire order demand data and real-time resource data from multiple factories;

[0012] The clustering module is used to identify multiple product identifiers from the order demand data, and to cluster and group the order demand data according to the overlapping relationships of the materials corresponding to the multiple product identifiers, thus obtaining multiple order demand data groups.

[0013] The constraint determination module is used to determine the production constraints for multiple order demand data groups;

[0014] The generation module is used to input real-time resource data, multiple order demand data groups, and production constraints into a multi-objective optimization model to obtain a target order allocation scheme.

[0015] The allocation module is used to dynamically allocate orders to multiple factories according to the target order allocation plan.

[0016] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described order allocation methods.

[0017] This application also provides a non-volatile computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-described order allocation methods.

[0018] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described order allocation methods.

[0019] This application utilizes a multi-objective optimization model to perform multi-dimensional calculations on real-time collected order demand data and factory real-time resource data to obtain a target order allocation scheme. This scheme can dynamically adapt to the real-time capacity reserves, material supply status, and production load fluctuations of each factory. Compared to fixed-rule allocation methods, it can balance multiple indicators such as material matching accuracy, production delivery timeliness, and factory capacity utilization, effectively balancing the production load of multiple factories and alleviating the problems of idle capacity in some factories and overloaded capacity in others. This improves the accuracy of order allocation. Attached Figure Description

[0020] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram illustrating an application scenario of an order allocation method provided in an embodiment of this application.

[0022] Figure 2 A flowchart illustrating an order allocation method provided in an embodiment of this application;

[0023] Figure 3 A flowchart illustrating another order allocation method provided in an embodiment of this application;

[0024] Figure 4 A schematic diagram of the intelligent order platform provided in an embodiment of this application;

[0025] Figure 5 A schematic diagram illustrating intelligent order allocation provided in an embodiment of this application;

[0026] Figure 6 A schematic diagram illustrating the data interaction flow of the intelligent order platform provided in this application embodiment;

[0027] Figure 7 A schematic diagram of order analysis provided for embodiments of this application;

[0028] Figure 8 This is a schematic diagram of the structure of an order allocation device provided in an embodiment of this application;

[0029] Figure 9 This is a schematic diagram of another order allocation device provided in an embodiment of this application;

[0030] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0032] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0033] For example, large manufacturing enterprises typically have multiple factories located in different geographical locations, each with heterogeneous production capabilities, different cost structures, and dynamic operating statuses. In the context of the Industrial Internet and smart manufacturing, it is necessary to rationally allocate orders to factories with different specializations for production based on customer order demands.

[0034] Customer orders are diverse, including small-batch, multi-variety, and time-sensitive orders, which places higher demands on order allocation and scheduling.

[0035] For example, a company headquarters receives order requests from customers, which include information such as product identification, quantity, and delivery date. At the same time, the company needs to obtain resource data from each factory in real time, including parameters such as overall equipment efficiency, production line cycle time, and material inventory, in order to support order allocation decisions.

[0036] In related technologies, order allocation is typically handled manually by the headquarters dispatch center based on historical data such as monthly static capacity and standard working hours reported by each factory. This model, which relies heavily on human experience, depends heavily on the personal experience of the dispatcher and lacks consistency.

[0037] Because different dispatchers have different experiences and preferences, similar orders may receive drastically different allocation results, lacking global optimality. Manual dispatching also struggles to comprehensively consider multiple objectives in a short period of time, such as lowest cost, shortest delivery time, most balanced capacity load, and optimal logistics routes. It usually focuses on a single objective, sacrificing cost and efficiency.

[0038] Manual communication is inefficient, requiring multiple rounds of human interaction from headquarters decision-making to factory receipt and confirmation, resulting in response times measured in hours or even days, failing to meet the demands of a fast-paced market. In unstructured communications such as emails and phone calls, critical information like order requirements and process considerations is easily misunderstood or omitted. Progress and anomalies during factory operations cannot be automatically and promptly relayed to the headquarters dispatch center, hindering effective dynamic adjustments. When factory capacity is insufficient or idle, the system cannot automatically and intelligently trigger cross-factory order transfers or collaborative production, preventing optimal resource allocation at the global level. Furthermore, there is a problem with low order allocation accuracy.

[0039] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0040] The specific application environment architecture upon which the order allocation method depends is described here. (References) Figure 1 Orders are allocated rationally based on demand, resulting in multiple assigned orders with varying workloads. These orders are executed by different factories to complete the overall production task. The more rational the order allocation, the better the overall production efficiency and cost control.

[0041] Figure 2 This is a flowchart illustrating the order allocation method provided in an embodiment of this application, as shown below. Figure 2 As shown, an embodiment of this application provides an order allocation method, which is described in detail below.

[0042] S201. Obtain order demand data and real-time resource data from multiple factories.

[0043] For example, order demand data includes information such as the product type, order quantity, and delivery deadline in a customer's order. This data can be obtained from an Enterprise Resource Planning (ERP) system or a Customer Relationship Management (CRM) system.

[0044] For example, order demand data is stored in a structured form in the database, with each order containing a unique order identifier and a corresponding product identifier.

[0045] For example, real-time resource data includes current production capacity data, equipment operating status, material inventory levels, and human resource allocation for each factory. This real-time resource data is collected in real-time by systems such as Manufacturing Execution System (MES) and Warehouse Management System (WMS) and uploaded to a central processing platform.

[0046] For example, factory capacity data represents the number of products a factory can produce per unit of time. For instance, Factory A has a maximum daily capacity of 10,000 units, Factory B 8,000 units, and Factory C 12,000 units. Equipment failure rate data reflects the current health status of the production line; for example, the failure rate of equipment A is 5%. Material inventory data comes from the WMS system and includes the real-time inventory and in-transit quantity of each material.

[0047] S202. Identify multiple product identifiers from the order demand data, and cluster the order demand data according to the overlapping relationships of the materials corresponding to the multiple product identifiers to obtain multiple order demand data groups.

[0048] For example, a product identifier is a code used to uniquely identify a product or model, such as model number "M001" or "M002". Material overlap refers to the sharing of the same material number in the Bill of Materials (BOM) corresponding to different product identifiers.

[0049] By comparing the material sets corresponding to different products, it can be determined which products are suitable for production in the same factory. For example, if product A's BOM includes materials PN001, PN002, and PN003, and product B's BOM includes materials PN002, PN003, and PN004, then A and B share materials PN002 and PN003, with a shared material quantity of 2. If the number of shared materials exceeds a preset threshold, such as 5, then A and B can be considered suitable to be grouped into the same order demand data group.

[0050] For example, the clustering process merges a group of orders with a high degree of material overlap into a single data group for unified production scheduling. For instance, if products A, B, and D have strong material sharing relationships, the system can group orders for these three products together for centralized production on a production line in the same factory. If product C shares more materials with A but less with B, then C might be assigned to a different production line.

[0051] In this feasible implementation, by clustering and grouping based on the overlapping relationships of materials, orders with high material sharing can be produced in a centralized manner, thereby simplifying the material preparation process and improving the utilization rate of the production line.

[0052] S203. Determine the production constraints for multiple order demand data groups.

[0053] For example, production constraints are the various limitations that each order demand data set needs to meet during factory production. These constraints include, but are not limited to, material matching accuracy, material supply matching degree, production process duration, delivery cycle compliance, factory capacity capacity margin, and available equipment hours.

[0054] For example, material matching accuracy refers to the degree of matching between the factory's current material inventory and the materials required for an order; a high matching degree indicates sufficient inventory of a particular material. Material supply matching degree refers to the reliability of a supplier's ability to supply materials on time; if there is a risk to the supplier's delivery time, constraints will require a safety margin to be included in the allocation.

[0055] For example, production process duration refers to the total production and processing time required to complete the order. If the available working hours of the current factory's equipment are insufficient, the order cannot be assigned to that factory. Delivery cycle compliance refers to whether the order's delivery date conflicts with the factory's production plan. If the delivery date is tight, it is necessary to select a factory with sufficient capacity and high production efficiency for allocation.

[0056] In this feasible implementation, by determining the production constraints, clear boundary conditions are provided for the optimal allocation, enabling the allocation scheme to achieve multi-objective optimization while meeting actual production requirements.

[0057] S204. Input real-time resource data, multiple order demand data groups, and production constraints into the multi-objective optimization model to obtain the target order allocation scheme.

[0058] For example, a multi-objective optimization model is a mathematical model that considers multiple optimization objectives simultaneously, including but not limited to the lowest overall cost, the shortest delivery time, and the most balanced capacity load.

[0059] Multi-objective optimization models can be solved using heuristic algorithms such as genetic algorithms, particle swarm optimization, and simulated annealing, or using exact algorithms such as linear programming or integer programming.

[0060] For example, the input to a multi-objective optimization model includes three parts: real-time resource data (capacity, equipment status, material inventory, etc. of each factory), order demand data set (a set of orders after clustering), and production constraints (material matching accuracy, delivery cycle compliance, etc.). The model outputs one or more optimal solutions, i.e., the target order allocation scheme, through iterative calculation.

[0061] For example, the target order allocation scheme includes which orders are allocated to each factory, the production sequence, and the estimated completion time. For instance, the model output scheme is as follows: Factory A is allocated to product group A, with an estimated completion time of 10 days and a cost of 1 million yuan; Factory B is allocated to product group B, with an estimated completion time of 12 days and a cost of 800,000 yuan; Factory C is allocated to product group C, with an estimated completion time of 8 days and a cost of 1.2 million yuan.

[0062] In this feasible implementation, a multi-objective optimization model integrates objectives and constraints from multiple dimensions, which can automatically generate globally optimal or near-optimal order allocation schemes, significantly improving the scientific nature and efficiency of allocation and avoiding the subjectivity and bias of human decision-making.

[0063] S205. Based on the target order allocation plan, dynamically allocate orders to multiple factories.

[0064] For example, the allocation rules recorded in the target order allocation scheme, the receiving factories corresponding to each order demand data group, and the allocation quantity information are used as the basis for execution. The clustered order demand data groups are then assigned to the corresponding factories to complete the cross-factory order issuance and production task assignment.

[0065] For example, during the order allocation and execution process, multiple coordinated actions are carried out simultaneously: the demand for all order models and the upper limit of each factory's capacity are aggregated to identify excess capacity orders, and the aforementioned clustering grouping rules, production constraints, and multi-objective optimization models are reused to complete the intelligent reallocation of excess orders; based on the allocation results, the Bill of Materials (BOM) is retrieved, and the total material demand for each group of orders is calculated in combination with the preset material loss ratio, matching real-time inventory to generate material procurement requirements and allocating suppliers based on the factory location; raw material warehousing information is continuously retrieved, and the timing of production order issuance is controlled based on the preset material completeness threshold; after the production order is issued to the factory, historical production efficiency data of each production line is retrieved, the order is split, and the best option is allocated to the appropriate production line to complete the production scheduling.

[0066] The order allocation method provided in this application acquires order demand data and real-time resource data from multiple factories; identifies multiple product identifiers from the order demand data, and clusters and groups the order demand data according to the overlapping relationships of the materials corresponding to the multiple product identifiers, resulting in multiple order demand data groups; determines the production constraints of the multiple order demand data groups; and inputs the real-time resource data, multiple order demand data groups, and production constraints into a multi-objective optimization model to obtain a target order allocation scheme. Through the multi-objective optimization model, the target order allocation scheme is obtained by performing multi-dimensional calculations on the real-time collected order demand data and the real-time resource data of the factories. This can dynamically adapt to the real-time capacity surplus, material supply status, and production load fluctuations of each factory. Compared with fixed-rule allocation methods, it can take into account multiple dimensions of indicators such as material matching accuracy, production delivery timeliness, and factory capacity utilization, effectively balancing the production load of multiple factories and alleviating the problem of idle capacity in some factories and overload accumulation in others. This improves the accuracy of order allocation.

[0067] Based on any of the above embodiments, the following, in conjunction with Figure 3 The detailed process of order allocation is explained.

[0068] Figure 3 This is a flowchart illustrating another order allocation method provided in an embodiment of this application. Figure 3 As shown, the method includes the following steps:

[0069] S301. Obtain order demand data and real-time resource data from multiple factories.

[0070] Below, in conjunction with Figure 4 The intelligent order platform will be explained.

[0071] Figure 4 This is a schematic diagram of the intelligent order platform provided in an embodiment of this application. Figure 4 As shown, the ERP and Advanced Planning and Optimization (APO) system serve as the core scheduling hub, covering the entire value chain business links from suppliers to branch factories, R&D to data, demand to planning, business opportunities to orders, orders to delivery, and procurement to payment. The CRM customer relationship management module receives customer order requirements, forms order requirement data, and aggregates it into the ERP. The ERP integrates multi-dimensional information such as the factory's basic static capacity, dynamic production data returned from each factory's MES, and financial and logistics-related cost data, and synchronizes it to the APO.

[0072] The order allocation method in this embodiment is embedded in the APO module. APO retrieves order demand data and real-time resource data from multiple factories, clusters and groups orders based on material overlap relationships, and constructs differentiated production constraints. It then iteratively calculates a target order allocation scheme through a multi-objective optimization model and sends it back to the ERP system. The ERP system, based on the allocation scheme, coordinates the entire business flow. On one hand, it uses intelligent material replenishment to parse the BOM list, calculate material requirements, and generate procurement needs based on inventory status. Through Supplier Relationship Management (SRM) and a collaborative platform, it allocates procurement needs to various material suppliers. On the other hand, it integrates intelligent production scheduling and intelligent logistics scheduling functions with the WMS warehouse management system, TMS transportation management system, and MES production execution system to automatically retrieve material availability status, control the timing of production order issuance, and complete order splitting and production line optimization scheduling after order issuance. During production, the MES continuously feeds back dynamic data such as resource load and production anomalies to the central system, enabling dynamic correction of production constraints and a new round of optimization calculations, forming a closed-loop scheduling. The framework connects multiple branch factories (A, B, C, and D) and various supply chain platforms via a central factory collaboration platform on the left, enabling cross-factory production order issuance and production data feedback. On the right, a supplier collaboration platform connects with material suppliers at all levels, simultaneously facilitating delivery date feedback and contract settlement. The underlying layer supports on-site production execution through intelligent manufacturing facilities, comprehensively integrating customers, multiple factories, and multi-level suppliers to achieve integrated operation of intelligent cross-factory order allocation, material collaboration, and production scheduling.

[0073] S302. Determine the multiple sets of materials corresponding to multiple product identifiers.

[0074] For example, a material set refers to the collection of all materials contained in the bill of materials corresponding to each product identifier. For product A, its material set MA is {PN001,PN002,PN003,PN004}; for product B, its material set MB is {PN002,PN003,PN005,PN006}.

[0075] Optionally, the system can retrieve the bill of materials corresponding to each product identifier by querying the BOM data table in the ERP system, and store the material numbers in the form of a set.

[0076] S303. Cross-compare any two product identifiers with the corresponding material sets to obtain multiple overlap correlation degrees.

[0077] For example, overlap correlation is used to quantify the degree of material sharing between two products. The system determines the overlap correlation by calculating the size of the intersection of the two material sets. For instance, if MA={PN001,PN002,PN003,PN004} and MB={PN002,PN003,PN005,PN006}, then the intersection of MA and MB is {PN002,PN003}, and the intersection size is 2, meaning the overlap correlation is 2.

[0078] For example, the system can quickly calculate the intersection size between all product pairs based on set operation algorithms (such as hash tables or sorted comparisons). The calculated overlap correlation can be stored in matrix form, such as a 4×4 upper triangular matrix, where the element (i,j) represents the overlap correlation between product i and product j.

[0079] In this feasible implementation, the overlap correlation degree is obtained by cross-comparing the material sets, which provides a quantitative basis for clustering and grouping. This makes the grouping decision no longer based on experience judgment, but on objective material sharing data, thereby improving the accuracy of order allocation.

[0080] S304. Based on multiple correlation thresholds corresponding to multiple product identifiers.

[0081] For example, the correlation threshold is used to determine whether two products are suitable for production in the same order demand data group. Different product identifiers can correspond to different correlation thresholds, which can be set based on factors such as the complexity of the product's materials, the capacity characteristics of the production line, or the company's management strategy.

[0082] For example, for product A, which has many types of materials and complex processes, the correlation threshold can be set to 5; for product C, which has few types of materials and simple processes, the correlation threshold can be set to 3.

[0083] For example, the correlation threshold is stored in the system configuration database, and managers can dynamically adjust the threshold according to the actual production situation to adapt to the production needs at different stages.

[0084] S305. Traverse multiple correlation thresholds, and for any overlapping correlation, determine the target correlation threshold based on the multiple correlation thresholds.

[0085] For example, the system iterates through each product pair. For the overlap correlation between product A and product B, the system first obtains the correlation threshold of product A (e.g., 5) and the correlation threshold of product B (e.g., 3), and then determines the target correlation threshold according to the preset rules.

[0086] Optionally, the maximum of the two thresholds can be taken, i.e., the target correlation threshold = max(5,3) = 5. Another rule is to take the average of the two thresholds, i.e., the target correlation threshold = (5+3) / 2 = 4. This adaptive threshold mechanism allows the grouping decision to take into account the differences in material complexity between the related parties, avoiding unreasonable grouping caused by a single fixed threshold.

[0087] With the help of scenario examples, the introduction of the correlation threshold makes clustering and grouping flexible and adaptive, and can adapt to the differences in material relationships between different products.

[0088] S306. When the overlap correlation degree is greater than or equal to the target correlation degree threshold, the order demand data corresponding to the overlap correlation degree are clustered and grouped.

[0089] For example, when the overlap correlation between product A and product B is 5, and the target correlation threshold is 4, the system will group the order demand data corresponding to product A and product B into the same order demand data group. For instance, if the order quantity for product A is 100 units and the order quantity for product B is 200 units, the system will merge these two orders into one group, labeled as group A.

[0090] For example, when grouping, the system also retains the original information of each order, including order identifier, product identifier, quantity, and delivery date, to ensure that the grouped data is complete and traceable.

[0091] S307. Continue iterating through multiple correlation thresholds to obtain multiple order demand data groups.

[0092] For example, the system performs the threshold comparison and grouping operations described above sequentially on all product pairs. For instance, the system first compares A and B (grouping), then compares A and C, and so on. Once all product pairs have been processed, the system obtains the final multiple order demand data groups.

[0093] For example, if the overlap correlation between a product and any other product is below the corresponding target correlation threshold, then that product becomes a separate order demand data group. For instance, if the overlap correlation between product C and A, B, and D is below their respective thresholds, then the orders for product C are divided into a separate order demand data group.

[0094] In this feasible implementation, by traversing thresholds and conditional judgments, the system automatically generates order groups with high material sharing and relatively independent order groups, realizing intelligent clustering of orders, reducing human error, and thus improving the accuracy of order allocation.

[0095] S308. Determine the production constraints for multiple order demand data groups.

[0096] One feasible implementation method is to determine production constraints by: determining production limit parameters for each order demand data group from order demand data, and determining resource carrying capacity parameters from real-time resource data; determining constraint evaluation dimensions for each order demand data group based on inter-group material differences; and performing constraint boundary comparison calculations on the production limit parameters and resource carrying capacity parameters of each order demand data group based on the constraint evaluation dimensions to obtain production constraints for multiple order demand data groups.

[0097] For example, production constraint parameters include delivery cycles, process requirements, and special equipment requirements for each order demand data group. For instance, group A has a delivery cycle of 15 days and requires special fixtures for processing; these parameters are extracted from additional fields in the order demand data. Resource capacity parameters include the factory's available capacity, overall equipment efficiency, and current load factor. For example, factory A's current available capacity is 8,000 units per day, and its overall equipment efficiency is 85%; these parameters are obtained in real-time from the MES system.

[0098] For example, the system matches production constraint parameters with resource capacity parameters to determine whether the factory has sufficient resources to meet the production needs of the order group. For instance, group A requires a daily production capacity of 1,500 units, which can be met by the available capacity of factory A (8,000 units / day). However, if group A requires special fixtures that factory A does not have, then factory A is not suitable for producing group A.

[0099] For example, inter-group material differences are used to measure the degree of material sharing between different order demand data groups. The system calculates the overlap coverage, the percentage of overlapping materials, and the degree of material correlation by comparing the material sets of each group.

[0100] For example, if group A has a material set of {PN001, PN002, PN003} and group B has a material set of {PN004, PN005, PN006}, and there is no overlap in materials between the two groups, then the material differences between the groups are significant. The corresponding constraint evaluation dimensions may focus on material matching accuracy and material supply matching degree. Conversely, if group A and group B share some materials, then the material differences between the groups are small, and the constraint evaluation dimensions may focus on production process duration and capacity carrying capacity margin.

[0101] For example, based on the constraint evaluation dimensions obtained by matching each order demand data group, corresponding evaluation indicators are selected in a differentiated manner, and constraint boundary comparison calculations are carried out for the production restriction parameters of each group and the resource carrying capacity parameters of each factory; for different constraint evaluation dimensions, appropriate comparison and judgment logic is adopted to distinguish the priority of indicators.

[0102] If the order demand data group corresponds to constraint evaluation dimensions mainly based on material-related indicators, then priority should be given to comparing the material matching accuracy and material supply matching degree to verify whether the factory's material supply capacity and material compatibility meet the order production restriction parameters. If the order demand data group corresponds to constraint evaluation dimensions related to working hours and production capacity, then the focus should be on comparing the production process duration, delivery cycle compliance, factory capacity carrying capacity margin, and available working hours of equipment to verify whether the factory's available capacity and equipment operating conditions can handle the order production tasks.

[0103] By comparing the production constraint parameter thresholds with the factory resource carrying capacity parameters, the access boundaries for each order group to match factory production are defined, and the production constraints that fit the order demand data group are summarized. The production constraints clarify the lower limits of various resource indicators that factories capable of undertaking this order group must meet, serving as the constraint basis for subsequent multi-objective optimization model to carry out order allocation calculations.

[0104] In this feasible implementation, the constraint evaluation dimension is determined by the material differences between groups, making the determination of production constraints more targeted. The constraint focus can be flexibly adjusted according to the material relationship between different order groups, thereby improving the accuracy of order allocation.

[0105] One feasible approach is to determine the constraint evaluation dimensions for each order demand data group using the following method: Based on the overlapping coverage of the material sets, the proportion of overlapping materials, and the degree of material correlation for each order demand data group, determine the inter-group material difference value; based on the inter-group material difference value and a preset difference value boundary, determine the constraint evaluation dimensions. The indicators for the constraint evaluation dimensions include at least one of the following: material matching accuracy, material supply matching degree, production process duration, delivery cycle compliance, factory capacity carrying capacity margin, and available equipment hours.

[0106] For example, the overlap coverage of material sets refers to the ratio of the intersection size to the union size of the material sets of two order demand data groups. For instance, if the material set size of group A is 10 and the material set size of group B is 15, and the intersection size is 5, then the overlap coverage is 5 / (10+15-5)=5 / 20=0.25.

[0107] The percentage of overlapping materials refers to the ratio of the number of materials in the same group to the total number of materials in the group. The degree of material correlation can be quantified using a dependency graph, such as whether materials shared between two groups are critical materials.

[0108] For example, the preset difference threshold can be an empirical value used to classify the magnitude of material differences. For instance, if the threshold is set to 0.3, and the inter-group material difference value g1 = 0.4 is greater than 0.3, then the inter-group material difference is considered large, and the constraint evaluation dimension focuses on the compliance of production process time and delivery cycle; if g1 = 0.2 is less than 0.3, then the inter-group material difference is considered small, and the constraint evaluation dimension focuses on the material matching accuracy and material supply matching degree.

[0109] In this feasible implementation, through multi-dimensional material difference analysis and threshold judgment, the system can automatically determine the constraint evaluation dimensions of each order group, making the setting of production constraints more refined, thereby improving the accuracy of order allocation.

[0110] One feasible implementation involves obtaining production constraints from multiple order demand data sets, followed by: acquiring dynamic data from each factory, including at least one of the following: resource load fluctuation data, material supply schedule deviation data, and real-time order production status change data; and modifying the production constraints based on the dynamic data to obtain modified constraint boundaries.

[0111] For example, resource load fluctuation data reflects changes in factory capacity over time, such as a decrease in capacity due to sudden equipment failure. Material supply schedule deviation data reflects the difference between the actual delivery time and the planned delivery time of a supplier, such as a material that was expected to arrive today but was actually delayed by 2 days. Real-time order production status change data reflects whether there are any changes such as suspension, cancellation, or expedited processing for orders that have been placed.

[0112] For example, the system retrieves dynamic data from systems such as MES, WMS, and TMS at preset time intervals (e.g., every 30 minutes). When the dynamic data triggers a threshold, the system automatically initiates correction processing.

[0113] For example, if the resource load rate of Factory A suddenly rises to 95% during a certain period, the system will identify the risk of a capacity bottleneck and reduce the capacity carrying capacity in the production constraints, so that the system's subsequent allocation plan will not allocate new orders to Factory A.

[0114] For example, when there is a deviation in the material supply schedule, the system corrects the material supply matching index in the constraint conditions according to the direction and magnitude of the deviation, such as changing the matching score of a certain supplier from "high" to "medium".

[0115] In this feasible implementation, by acquiring dynamic data and correcting production constraints, the system can respond in real time to fluctuations in the factory production environment and supply chain, ensuring the timeliness and feasibility of the order allocation plan, thereby improving the accuracy of order allocation.

[0116] S309. Input real-time resource data, multiple order demand data groups, and production constraints into the multi-objective optimization model to obtain the target order allocation scheme.

[0117] One feasible implementation method for order allocation includes: determining the weight parameters in a multi-objective optimization model; adjusting the weight parameters based on real-time resource data, multiple order demand data sets, and production constraints to obtain a modified multi-objective optimization model; and inputting the real-time resource data, multiple order demand data sets, and production constraints into the modified multi-objective optimization model for iterative calculation to obtain the target order allocation scheme.

[0118] For example, weight parameters are used to adjust the relative importance of different optimization objectives in a multi-objective optimization model. For instance, the cost objective might have a weight of 0.5, the delivery timeliness objective a weight of 0.3, and the capacity balancing objective a weight of 0.2. These weight parameters can be initially set based on the company's current work objectives and then adjusted according to real-time data.

[0119] For example, when real-time resource data indicates that a factory's capacity utilization rate is nearing full capacity, the system automatically increases the weight of the capacity balancing target to prioritize avoiding overload. When one of multiple order demand data groups has a particularly urgent delivery date, the system increases the weight of the delivery timeliness target.

[0120] For example, the corrected weight parameters form a corrected multi-objective optimization model. The system inputs real-time resource data, order demand data sets, and production constraints into the corrected model. The model is iteratively optimized using a genetic algorithm, for example, with a population size of 50 and 200 generations, eventually converging to obtain a Pareto optimal solution set. The solution with the highest comprehensive evaluation value is selected as the target order allocation scheme.

[0121] In this feasible implementation, by dynamically adjusting the weight parameters, the multi-objective optimization model can adaptively adjust according to the actual environment and decision preferences, thereby improving the accuracy of order allocation.

[0122] A feasible implementation method can obtain the target order allocation scheme through the following steps: Calculate using a modified multi-objective optimization model to output an intermediate order allocation scheme; verify whether the allocated orders of each factory in the intermediate order allocation scheme exceed the corresponding resource carrying capacity parameter, obtaining a verification result, which is either verification passed or verification failed; if the verification result is verification passed, determine the intermediate order allocation scheme as the target order allocation scheme; if the verification result is verification failed, determine whether the iterative convergence condition is met, the iterative convergence condition including at least one of the following: the iterative calculation reaches a preset maximum number of iterations, the deviation of the order allocation scheme in multiple iterations is less than a preset deviation threshold, and the matching degree between the resource carrying capacity parameter of each factory and the corresponding production constraint condition converges; if the iterative convergence condition is met, determine the intermediate order allocation scheme as the target order allocation scheme.

[0123] For example, during the iterative calculation of the modified multi-objective optimization model, the system performs a verification step whenever a candidate allocation scheme is generated. The core of the verification step is to compare whether the total number of orders allocated to each factory exceeds its resource carrying capacity parameter.

[0124] For example, if factory A has a daily available capacity of 8,000 units, and the intermediate solution allocates 4,500 units to factory A, then it is within the verification range (passes). If any factory's allocation exceeds its capacity parameter, for example, if factory B has a daily available capacity of 6,000 units, but the intermediate solution allocates 7,000 units to factory B, then the verification result is failed.

[0125] For example, when the verification fails, the system determines whether the iterative convergence condition is met. The preset maximum number of iterations can be set to 500 generations; the deviation threshold can be set to the difference in fitness values ​​between the optimal solutions of the two generations being less than 0.1%; the matching degree convergence can be defined as the variance of the resource matching degree of all factories in the candidate solution and the constraint conditions being less than 0.01. If any convergence condition is met, even if the verification fails, the system will use the last intermediate solution as the target order allocation solution and add an overload adjustment suggestion, such as suggesting that the overloaded orders of factory B be transferred to factory C.

[0126] In this feasible implementation, the feasibility of the output scheme is ensured by introducing a verification and convergence judgment mechanism, avoiding the generation of infeasible allocation schemes that are detached from actual resource capabilities, thereby improving the accuracy of order allocation.

[0127] A feasible implementation method for establishing a multi-objective optimization model includes: acquiring sample data and sample production constraints, whereby the sample data includes historical order demand data and historical factory resource data; constructing an objective function based on the sample production constraints; performing condition-adaptive calibration on the objective function based on the sample data to obtain adjustable ranges for multiple indicator weights; determining the solution constraint boundary of the objective function based on the sample data; and within the constraints of the solution constraint boundary, substituting the sample data into the objective function for calculation based on the adjustable ranges for multiple indicator weights, and obtaining the multi-objective optimization model after iterative convergence.

[0128] For example, historical order demand data includes information such as product type, quantity, delivery date, and actual production plant for all customer orders within the past year. Historical factory resource data includes capacity utilization rate, equipment failure rate, and material availability rate for each factory within the past year. Sample production constraints include the factory's resource limitations and delivery date requirements at that time.

[0129] Optionally, the objective function can be constructed as follows:

[0130]

[0131] Where F represents the objective function, C represents the comprehensive cost, T represents the total production time, L represents the capacity balance, and w1, w2, and w3 are the weights to be calibrated.

[0132] For example, working condition adaptation calibration refers to adjusting the adjustable range of weight parameters according to different production scenarios (such as peak season, off-season, and emergencies). For example, the adjustable range for peak season is w1 corresponding to [0.4, 0.6], w2 corresponding to [0.3, 0.5], and w3 corresponding to [0.1, 0.3].

[0133] For example, the constraint boundary is determined based on feasible conditions in historical data. For instance, the maximum capacity of a single factory cannot exceed the theoretical upper limit of its overall equipment efficiency. The system substitutes sample data into the objective function, iterates through weight combinations within the constraint boundary, and continuously iterates until the loss function converges, ultimately obtaining the optimal weight parameter combination, thus acquiring a trained multi-objective optimization model.

[0134] Below, in conjunction with Figure 5 Explanation of intelligent order allocation.

[0135] Figure 5 This is a schematic diagram illustrating the intelligent order allocation provided in an embodiment of this application. Figure 5As shown, when an order enters the system, the ERP first receives customer order demand data carrying the model, quantity, delivery date, and urgency flag. The ERP then aggregates the total demand for the same model with the total capacity of all factories to conduct an initial capacity assessment. If the total order demand exceeds the total capacity of all factories, a capacity overflow is determined, and the system immediately initiates the capacity overflow processing procedure, reusing the clustering rules, production constraints, and multi-objective optimization model of this invention to intelligently reallocate the overflow orders. After the reallocation is completed, the capacity capacity is checked again. If the demand still cannot be met, the capacity expansion decision process is triggered, and the MES generates and outputs the optimal capacity expansion alternative.

[0136] When the total capacity can meet the order demand, or the capacity conditions are met after the overflow orders are redistributed, the system enters the order priority branch judgment: if the order is marked as an urgent order, the system switches to emergency mode, with the goal of optimal delivery time, integrates TMS logistics delivery information, calculates the optimal path for raw material arrival and finished product delivery, directly locks the target production plant and starts expedited production.

[0137] For regular orders, the system adopts the most cost-effective and efficient allocation mode: First, it conducts a material commonality analysis of the machine model BOM to count the number of shared materials between different models, thereby characterizing the material overlap and correlation characteristics between order groups; when the number of shared materials between machine models exceeds a preset threshold, it indicates a high similarity in material matching characteristics. The system groups such orders into high-common-demand groups and prioritizes their allocation to the same factory or corresponding production line, simultaneously triggering the WMS system to prepare materials for completeness; if the number of shared materials does not reach the threshold or there is a conflict in material resource allocation, the system relies on multi-objective optimization calculations, comprehensively incorporating multi-dimensional data such as TMS logistics costs, MES system production efficiency, and financial operating costs, to calculate and select the receiving factory with the lowest overall cost and the best production efficiency.

[0138] After emergency mode and normal mode each complete their factory decisions, they are aggregated to form the final production factory information, and the ERP system outputs a complete order allocation plan.

[0139] Below, in conjunction with Figure 6 This section explains the data interaction and flow of the intelligent order platform.

[0140] Figure 6 This is a schematic diagram illustrating the data interaction flow of the intelligent order platform provided in this application embodiment. For example... Figure 6As shown, the customer order center uniformly carries basic data related to customers, orders, and delivery addresses, and pushes order requirements to the ERP system through the order data synchronization function. The ERP system, as the core data hub of the entire platform, aggregates factory master data and capacity information, production orders, and BOM (Bill of Materials). It relies on Material Requirements Planning (MRP) to complete basic material calculations and deploys the intelligent decision engine module corresponding to the order allocation method of this invention. The intelligent decision engine retrieves multi-dimensional real-time data to perform optimization calculations. On the one hand, it reuses material commonality analysis, clustering and grouping rules, differentiated production constraints, and multi-objective optimization models to output cross-factory order allocation schemes. On the other hand, it pushes instructions bidirectionally to various business systems and receives dynamic data feedback, forming a continuously iterative closed-loop scheduling.

[0141] The ERP system enables multi-system collaboration: it integrates with the WMS (Warehouse Management System) to retrieve real-time inventory data, complete material availability status searches, and simultaneously output procurement requirements for supply chain collaboration. It connects with the MES (Manufacturing Execution System) to issue production task instructions and continuously collect dynamic production data such as factory capacity, production efficiency, yield, and production resource load to dynamically adjust production constraints. It also integrates with the TMS (Transportation Management System) to obtain information on logistics routes, transportation costs, and delivery timeliness, supporting supply chain scheduling and delivery date prediction. Order allocation information is synchronously transferred to the CRM (Customer Relationship Management) module to achieve synchronized order delivery dates and performance status feedback. Simultaneously, the ERP system pushes material procurement requirements to the Supply Chain Collaboration (SCC) platform to assign procurement needs to suppliers, conduct supply chain delivery date collaboration, and track performance. Inventory, production, logistics, and supply chain data generated by various peripheral systems continuously flow back to the ERP intelligent decision engine, driving a new round of order optimization and allocation calculations. This comprehensively connects the client, multiple factory sites, warehousing and logistics, and the upstream supply chain, achieving a closed-loop digital data system across the entire chain of order receiving, intelligent allocation, material coordination, production execution, and supply chain fulfillment. Among these metrics, Overall Equipment Effectiveness (OEE) represents the percentage of equipment that is effectively utilized to produce qualified products within the planned production time.

[0142] In this feasible implementation, by utilizing historical sample data and working condition adaptation calibration, a multi-objective optimization model that reflects actual production patterns and has scene adaptability can be constructed, thereby improving the model's generalization ability and allocation effect under different working conditions and thus enhancing the accuracy of order allocation.

[0143] S310. Based on the target order allocation plan, dynamically allocate orders to multiple factories.

[0144] As an example, some factory order management scenarios also involve the complex handling of customer customization requests. Specifically, when a customer customization request arises, the system, based on an established logistics route and cost database, calculates the logistics cost from the nearest finished goods warehouse to the customer, as well as the logistics cost of transporting raw materials to the nearest factory. Simultaneously, considering the customer's specific needs and the distance and time of raw material transportation, optional features are created within the HUB system using a programming language.

[0145] When a customer order is received, if the customer's needs are urgent and the customer selects an urgency flag, the ERP system receives the instruction, automatically integrates the optimal path for raw material delivery and the fastest path from finished product production to customer delivery, and generates a production demand instruction that is transmitted to the production system.

[0146] For non-urgent production, the system compares costs based on preset thresholds: if the logistics cost of raw materials is higher than the logistics cost of finished products, the system prioritizes production based on the customer's location; if the logistics cost of raw materials is equal to or lower than the logistics cost of finished products, the system prioritizes placing production orders at factories closer to the customer. In the event of an urgent order, the system does not perform pre-allocation of orders. Instead, it places the order with the corresponding factory based on the optimal route and fastest time determined by the system, and marks it as expedited production.

[0147] In this example, by comprehensively considering logistics costs and delivery time, the system can automatically select the optimal production location and route in both urgent and non-urgent scenarios, improving the flexibility and efficiency of order delivery.

[0148] As an example, some factory order management scenarios also involve the automated processing of capacity overflow and expansion decisions. Specifically, after a customer order is uploaded, the ERP system receives the order, obtains the production demand for each model in the order, and compares it with the current maximum output value of the corresponding model in each factory. If the total demand for the order model exceeds the sum of the maximum output values ​​of that model in all factories, the capacity overflow processing procedure is triggered. The system uses algorithms for intelligent reallocation, allocating the overflow order quantity to one or more optimal alternative factories.

[0149] If, after intelligent reallocation, the existing factory capacity is still insufficient, or if the long-term demand forecast for a certain model consistently and significantly exceeds the maximum total capacity of the existing factory, then the capacity expansion decision process is triggered. The ERP system sends the data back to the MES system, which generates alternative capacity expansion plans, compares all the plans, and outputs the recommended optimal capacity expansion type, recommended location, and recommended scale.

[0150] In this example, the system can automatically identify capacity bottlenecks and initiate overflow handling or capacity expansion decisions, providing quantitative data support for enterprise strategic decision-making and thereby improving the accuracy of order allocation.

[0151] As an example, some factory order management scenarios also involve pre-production preparation and risk control. Specifically, when customers upload their order requirements, they simultaneously provide the completion time. Computer-readable instructions calculate the optimal raw material production plant, and then the ERP system, combined with real-time data provided by the MES system, calculates a threshold for the proportion of uncontrollable factors in production based on the complexity of the machine model and the proportion of historical production anomalies. Based on this threshold, the earliest production start time is determined.

[0152] For example, if an order is scheduled to go live on January 7th and the model is highly complex, and historical data indicates a 30% probability of anomalies, the system determines that production needs to start 3 days earlier, meaning the uncontrollable factor threshold is 3 days. Therefore, it calculates that all raw materials needed for this batch of production must arrive by January 4th. After this requirement is transmitted to the SCC system, the supplier provides their latest delivery date based on their production conditions. If this latest delivery date cannot meet the production requirements, the system judges based on the urgency of the order: if it is urgent production, the system automatically confirms the use of a second supplier for production; if production is not urgent, the order is placed based on the supplier's latest delivery date.

[0153] If the supplier fails to deliver the goods within the agreed time after the promised delivery date, the system will automatically calculate the penalty interest based on a certain percentage of the value of the batch of goods according to the preset default threshold. The penalty interest information will be automatically transferred to the HUB system after calculation by the SCC system, and the penalty interest will be automatically deducted from the supplier's account when the supplier's expenses are settled in the financial account.

[0154] In this example, the system enhances the scientific nature of production planning and the ability to manage supply chain risks by using thresholds for uncontrollable factors and supplier delivery time management.

[0155] As an example, some factory order management scenarios also involve automating material completeness checks and order placement. Specifically, the system automatically schedules production for orders based on the urgency of customer needs and the actual arrival status of materials, generates pre-completion production information, feeds it back to the ERP system, and then the ERP system sends it back to the customer's system for confirmation of the pre-completion time. After customer confirmation, the ERP system generates a production order. After the production order is generated, the ERP system sets a search time threshold to search the raw material inventory returned to the ERP system from the WMS system. If the BOM material is found within the time threshold, and the material number PN is met, the indicator light is green; if the quantity is not met, the indicator light is red. Simultaneously, the search header is set with the order requirement PN quantity, indicating how many PN quantities have been met and how many PN quantities have not been met.

[0156] If all required materials in the BOM of an order awaiting production are found to meet the requirements, the ERP system automatically places the order with the MES system. For materials lacking in the BOM of an order awaiting production, the ERP system automatically links to the TMS system to obtain relevant logistics information and displays the estimated arrival time after the record of the missing material in the ERP system. Simultaneously, the ERP system sets a threshold for the availability of missing materials. For example, if 80% of the materials in an order are available, and the system finds that the remaining 20% ​​are expected to arrive within one day, the system automatically triggers the placement of the order with the MES system based on the set threshold.

[0157] In this example, through real-time visual monitoring of material availability and flexible setting of availability thresholds, the system can agilely trigger order placement and shorten order waiting time while ensuring production continuity.

[0158] As an example, some factory order management scenarios also involve intelligent scheduling after orders are placed with the MES (Manufacturing Execution System). Specifically, after the MES system receives an order, it breaks it down according to the order details. For example, if there are 10 production orders sent to the MES system, the system schedules production based on the production line frequency and efficiency data. If model A has been produced on line 1 with high efficiency, the system automatically schedules it to line 1; if the number of orders exceeds the total production capacity of line 1, it schedules it to line 2, which has higher production proficiency but lower efficiency than line 1.

[0159] In this example, through intelligent scheduling based on historical production efficiency data, the MES system can automatically allocate orders to the optimal production line, achieving load balancing and maximizing efficiency.

[0160] Below, in conjunction with Figure 7 Explain the order analysis.

[0161] Figure 7This is a schematic diagram illustrating order analysis provided in an embodiment of this application. For example... Figure 7 As shown, after the platform completes order clustering and grouping, multi-objective optimization calculations and outputs target order allocation schemes, it executes cross-factory production plans, continuous tracking of supply chain material resources, risk identification and dynamic adjustment.

[0162] First, the master production schedule is monitored, covering the analysis of reserved orders for the next four weeks, continuously verifying the matching status of medium and long-term order capacity reservations, and supporting the prediction of capacity overflow and dynamic adjustment of plans.

[0163] Second, conduct an analysis of the complete set of orders for the next 8 days, carry out risk statistics on the complete set of planned materials for short-term orders, further implement material supply and demand balance analysis, output material supply risk details and risk cause statistics, realize the early identification of supply chain bottlenecks, and carry out relevant business of material complete set verification and supply chain resource adaptation in the corresponding handover documents.

[0164] Third, supply lock-in plan coverage analysis: Based on the locked production plan, a seven-day lock-in material guarantee list is generated to confirm the supply chain material supply capacity and ensure that the cross-factory order allocation results can be implemented.

[0165] Fourth, analyze the discrepancies in the supply lock-in plan, automatically distinguish between the seven-day automatic lock-in anomaly list and unlocked plan orders, trace the causes of the anomalies, and promote the handling of the anomalies.

[0166] The entire set of analysis functions continuously reads order allocation results, factory capacity, WMS inventory, and SRM supply chain delivery data. It feeds back the identified planning gaps, material supply anomalies, and capacity conflicts to the intelligent decision engine, driving dynamic correction of production constraints and secondary optimization and reallocation of orders to form a closed-loop adaptive scheduling. This ensures the stable implementation of multi-factory order allocation schemes and achieves integrated management and control of order planning, production scheduling, and supply chain collaboration.

[0167] Figure 8 This is a schematic diagram of an order allocation device provided in an embodiment of this application. Figure 8 As shown, the order allocation device 80 may include: an acquisition module 81, a clustering module 82, a constraint determination module 83, a generation module 84, and an allocation module 85.

[0168] The acquisition module 81 is used to acquire order demand data and real-time resource data from multiple factories.

[0169] Clustering module 82 is used to identify multiple product identifiers from the order demand data, and to cluster and group the order demand data according to the overlapping relationships of the materials corresponding to the multiple product identifiers, so as to obtain multiple order demand data groups.

[0170] The constraint determination module 83 is used to determine the production constraints for multiple order demand data groups.

[0171] The generation module 84 is used to input real-time resource data, multiple order demand data groups, and production constraints into a multi-objective optimization model to obtain a target order allocation scheme.

[0172] The allocation module 85 is used to dynamically allocate orders to multiple factories according to the target order allocation scheme.

[0173] Optionally, module 81 can be executed. Figure 2 S201 in the embodiment.

[0174] Optionally, clustering module 82 can execute Figure 2 S202 in the embodiment.

[0175] Optionally, the constraint determination module 83 can perform... Figure 2 S203 in the embodiment.

[0176] Optionally, the generation module 84 can be executed. Figure 2 S204 in the embodiment.

[0177] Optionally, allocation module 85 can execute Figure 2 S205 in the embodiment.

[0178] In one possible implementation, clustering module 82 is specifically used for:

[0179] Identify multiple sets of materials corresponding to multiple product identifiers.

[0180] Cross-compare the material sets corresponding to any two product identifiers to obtain multiple overlap correlations.

[0181] Based on multiple overlapping correlations, the order demand data is clustered and grouped to obtain multiple order demand data groups.

[0182] In one possible implementation, clustering module 82 is specifically used for:

[0183] Based on multiple correlation thresholds corresponding to multiple product identifiers.

[0184] Iterate through multiple correlation thresholds, and for any overlapping correlation, determine the target correlation threshold based on the multiple correlation thresholds.

[0185] When the overlap correlation is greater than or equal to the target correlation threshold, the order demand data corresponding to the overlap correlation will be clustered and grouped.

[0186] This process continues until multiple correlation thresholds are reached, resulting in multiple order demand data groups.

[0187] In one possible implementation, the constraint determination module 83 is specifically used for:

[0188] From the order demand data, determine the production constraint parameters for each order demand data group, and from the real-time resource data, determine the resource carrying capacity parameters.

[0189] Based on the material differences between each order demand data group, determine the constraint evaluation dimensions for each order demand data group.

[0190] Based on the constraint evaluation dimensions of each order demand data group, the constraint boundary comparison calculation is performed on the production limit parameters and resource carrying capacity parameters of each order demand data group to obtain the production constraint conditions of multiple order demand data groups.

[0191] In one possible implementation, the constraint determination module 83 is specifically used for:

[0192] Based on the overlapping coverage of material sets, the percentage of overlapping materials, and the degree of material correlation of each order demand data group, the inter-group material difference value is determined.

[0193] Based on the material difference values ​​between groups and the preset difference value boundary, the constraint evaluation dimensions are determined. The indicators of the constraint evaluation dimensions include at least one of the following: material matching accuracy, material supply matching degree, production process duration, delivery cycle compliance, factory capacity carrying capacity margin, and equipment available man-hours.

[0194] In one possible implementation, the generation module 84 is specifically used for:

[0195] Determine the weight parameters in the multi-objective optimization model.

[0196] Based on real-time resource data, multiple order demand data sets, and production constraints, the weight parameters are adjusted to obtain a modified multi-objective optimization model.

[0197] By inputting real-time resource data, multiple order demand data sets, and production constraints into the modified multi-objective optimization model for iterative calculation, a target order allocation scheme is obtained.

[0198] In one possible implementation, the generation module 84 is specifically used for:

[0199] The intermediate order allocation scheme is output by performing calculations through a modified multi-objective optimization model.

[0200] In the intermediate order allocation scheme, it is verified whether the allocated orders of each factory exceed the corresponding resource carrying capacity parameters, and the verification result is obtained, which is either verification passed or verification failed.

[0201] If the verification result is successful, the intermediate order allocation scheme will be determined as the target order allocation scheme.

[0202] If the verification result is that the verification fails, it is determined whether the iterative convergence condition is met. The iterative convergence condition includes at least one of the following: the iterative calculation reaches the preset maximum number of iterations, the deviation of the order allocation scheme in multiple iterations is less than the preset deviation threshold, and the matching degree between the resource carrying parameters of each factory and the corresponding production constraints converges.

[0203] When the iterative convergence condition is met, the intermediate order allocation scheme is determined as the target order allocation scheme.

[0204] It should be noted that the order allocation device shown in the embodiments of this application can execute the technical solution shown in the above method embodiments, and its implementation principle and beneficial effects are similar, so they will not be described again here.

[0205] Figure 9 This is a schematic diagram of another order allocation device provided in an embodiment of this application. Figure 8 Based on the illustrated embodiments, as Figure 9 As shown, the order allocation device 80 also includes: a correction module 86 and an establishment module 87.

[0206] Correction module 86, used for:

[0207] Acquire dynamic data from each factory, including at least one of the following: resource load fluctuation data, material supply schedule deviation data, and real-time production status change data for orders.

[0208] Based on dynamic data, the production constraints are modified to obtain the modified constraint boundaries.

[0209] Create module 87 for:

[0210] Obtain sample data and sample production constraints. Sample data includes historical order demand data and historical factory resource data.

[0211] Based on the constraints of the sample production, construct the objective function.

[0212] Based on the sample data, the objective function is calibrated to adapt to different operating conditions, resulting in adjustable ranges for the weights of multiple indicators.

[0213] Based on the sample data, determine the solution constraint boundary of the objective function.

[0214] Within the constraints of solving the boundary conditions, the sample data is substituted into the objective function for calculation based on the adjustable range of multiple index weights. After iterative convergence, a multi-objective optimization model is obtained.

[0215] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0216] For a description of the features in the embodiment corresponding to the order allocation device, please refer to the relevant description in the embodiment corresponding to the order allocation method, which will not be repeated here.

[0217] Figure 10 A schematic diagram of the structure of the electronic device provided in this application. Figure 10 As shown, the electronic device 100 provided in this embodiment includes at least one processor 1001 and a memory 1002. Optionally, the electronic device 100 further includes a communication component 1003. The processor 1001, memory 1002, and communication component 1003 are connected via a bus.

[0218] In a specific implementation, at least one processor 1001 executes computer execution instructions stored in memory 1002, causing at least one processor 1001 to execute the above-described order allocation method embodiment.

[0219] The specific implementation process of processor 1001 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0220] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0221] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0222] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0223] Embodiments of this application also provide a non-volatile computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described order allocation method embodiments when it runs.

[0224] In one exemplary embodiment, the aforementioned non-volatile computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0225] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described order allocation method embodiments.

[0226] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above-described order allocation method embodiments.

[0227] Any of the components, modules, units, parts, methods, and operations described herein can be implemented using software, firmware, hardware (e.g., fixed logic circuitry), manual processing, or any combination thereof. Alternatively or additionally, any functionality described herein can be performed at least in part by one or more hardware logic components, such as, but not limited to, a central processing unit (CPU), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), an application-specific standard product (ASSP), a system-on-a-chip (SoC), a complex programmable logic device (CPLD), a microprocessor (MCU), etc. The terms "system," "computing device," or "apparatus" as used herein encompass various means, devices, and machines for processing data, including, for example, one or more programmable processors, computers, SoCs, or combinations thereof. The apparatus may also include code that creates an execution environment for the computer program in question, such as code constituting processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination thereof. The aforementioned computer program (also known as a program, software, software application, app, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be deployed in any form, including as a standalone program or as a module, component, subroutine, object, or other unit suitable for a computing environment.

[0228] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0229] The order allocation method and electronic device provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only intended to help understand the method and core ideas of this application. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of this application.

Claims

1. An order allocation method, characterized in that, include: Obtain order demand data and real-time resource data from multiple factories; Multiple product identifiers are identified from the order demand data, and the order demand data is clustered and grouped according to the overlapping relationships of the materials corresponding to the multiple product identifiers to obtain multiple order demand data groups; The process of clustering and grouping the order demand data includes: determining multiple material sets corresponding to the multiple product identifiers; cross-comparing any two material sets corresponding to product identifiers to obtain multiple overlap correlations; and clustering and grouping the order demand data according to the multiple overlap correlations to obtain multiple order demand data groups. The process involves clustering the order demand data based on the multiple overlapping correlations to obtain multiple order demand data groups. This includes: using multiple correlation thresholds corresponding to the multiple product identifiers; iterating through the multiple correlation thresholds, and for any overlapping correlation, determining a target correlation threshold based on the multiple correlation thresholds; when the overlapping correlation is greater than or equal to the target correlation threshold, clustering the order demand data corresponding to the overlapping correlation; and continuing until all the multiple correlation thresholds have been iterated through to obtain the multiple order demand data groups. Determine the production constraints for the multiple order demand data groups; The process of determining the production constraints of the multiple order demand data groups includes: determining production limit parameters for each order demand data group from the order demand data; determining resource carrying capacity parameters from the real-time resource data; determining constraint evaluation dimensions for each order demand data group based on the material differences between the groups; and performing constraint boundary comparison calculations on the production limit parameters and resource carrying capacity parameters of each order demand data group based on the constraint evaluation dimensions to obtain the production constraints of the multiple order demand data groups. After obtaining the production constraints, the process further includes: determining and acquiring dynamic data for each factory, wherein the dynamic data includes at least one of the following: resource load fluctuation data, material supply schedule deviation data, and real-time order production status change data; and modifying the production constraints based on the dynamic data to obtain modified constraint boundaries. The real-time resource data, the multiple order demand data groups, and the production constraints are input into a multi-objective optimization model to obtain a target order allocation scheme. According to the target order allocation scheme, dynamic order allocation is performed to the multiple factories.

2. The order allocation method according to claim 1, characterized in that, Based on the inter-group material differences of each order demand data group, determine the constraint evaluation dimensions for each order demand data group, including: Based on the overlapping coverage of material sets, the percentage of overlapping materials, and the degree of material correlation of each order demand data group, determine the inter-group material difference value for each order demand data group; Based on the inter-group material difference value and the preset difference value boundary value, the constraint evaluation dimension is determined. The constraint evaluation dimension indicators include at least one of the following: material matching accuracy, material supply matching degree, production process duration, delivery cycle compliance, factory capacity carrying capacity margin, and equipment available working hours.

3. The order allocation method according to claim 1, characterized in that, The real-time resource data, the multiple order demand data groups, and the production constraints are input into a multi-objective optimization model to obtain a target order allocation scheme, including: Determine the weight parameters in the multi-objective optimization model; Based on the real-time resource data, the multiple order demand data groups, and the production constraints, the weight parameters are corrected to obtain a corrected multi-objective optimization model. The real-time resource data, the multiple order demand data groups, and the production constraints are input into the modified multi-objective optimization model for iterative calculation to obtain the target order allocation scheme.

4. The order allocation method according to claim 3, characterized in that, The target order allocation scheme is obtained by performing iterative calculations, including: The intermediate order allocation scheme is output by calculating using the modified multi-objective optimization model. In the intermediate order allocation scheme, it is verified whether the allocated orders of each factory exceed the corresponding resource carrying capacity parameter, and the verification result is obtained, which is either verification passed or verification failed. When the verification result is successful, the intermediate order allocation scheme is determined as the target order allocation scheme; When the verification result is that the verification fails, it is determined whether the iterative convergence condition is met. The iterative convergence condition includes at least one of the following: the iterative calculation reaches the preset maximum number of iterations, the deviation of the order allocation scheme in multiple rounds of iteration is less than the preset deviation threshold, and the matching degree between the resource carrying parameters of each factory and the corresponding production constraints converges. When the iterative convergence condition is met, the intermediate order allocation scheme is determined as the target order allocation scheme.

5. The order allocation method according to any one of claims 1-4, characterized in that, The process of establishing the multi-objective optimization model includes: Obtain sample data and sample production constraints, wherein the sample data includes historical order demand data and historical factory resource data; Based on the sample production constraints, construct the objective function; Based on the sample data, the objective function is calibrated to adapt to different operating conditions, resulting in adjustable ranges for the weights of multiple indicators. Based on the sample data, determine the solution constraint boundary of the objective function; Within the constraints of the solution boundary, the sample data is substituted into the objective function for calculation according to the adjustable range of the weights of the multiple indicators, and the multi-objective optimization model is obtained after iterative convergence.

6. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the order allocation method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Multi-target production order allocation device and multi-target production order allocation method

    CN112070326A

  • ODM order production scheduling factory control processing method and device

    CN118485391A