Order splitting and merging method and device, equipment and medium
By obtaining and processing real-time inventory and warehousing information in advanced planning and scheduling systems and dynamically adjusting order allocation strategies, the problem of difficult order management to deal with dynamic changes in multiple factors is solved, and efficient resource utilization and productivity improvement are achieved.
Patent Information
- Application Number
- CN202510055708.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-04-15
AI Technical Summary
In the existing advanced planning and scheduling systems, order management is difficult to cope with complex multi-factor dynamic changes, such as insufficient inventory, production line vacancy rate, production progress error, etc., resulting in waste of production line resources or inventory backlog, affecting production efficiency and cost control.
By obtaining the current pending order and real-time inventory and warehousing information, determine the actual pending order, and split it into available vacant production lines according to the preset order allocation strategy, and merge or split production line orders to meet the optimization target requirements.
Effectively utilize the spare time of the production line, optimize the order splitting and merging strategy, avoid waste of production line resources and inventory backlog, and improve production efficiency and cost control capabilities.
Smart Images

Figure CN119831286A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an order splitting and merging method, device, equipment and medium. Background Art
[0002] In the existing Advanced Planning and Scheduling (APS) system, order management often depends on inventory, storage space, and production line conditions. In the current technical solution, the order splitting and merging strategies are relatively simple, and it is difficult to cope with complex dynamic changes of multiple factors, such as insufficient inventory, production line vacancy rate, production schedule error, etc. The existing solution cannot optimize resource allocation in real time, which is easy to cause waste of production line resources or inventory backlog, thus affecting production efficiency and cost control.
[0003] For example, in some existing production planning systems, when inventory is insufficient, orders can only wait in line, and the idle time of the production line cannot be effectively utilized. This method leads to a decrease in production efficiency, and warehousing and inventory management cannot be adjusted dynamically. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide an order splitting and merging method, device, equipment and medium, which can effectively utilize the idle time of the production line and optimize the order splitting and merging strategy. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses an order splitting and merging method, comprising:
[0006] Obtaining current pending orders, and retrieving real-time status information including current inventory and current warehousing information, so as to determine actual pending orders among the current pending orders based on the real-time status information;
[0007] According to a preset order allocation strategy, the actual pending order is split and allocated to each available vacant production line to be split into a number of production line orders;
[0008] Obtain the total equipment capacity of each target available production line. If the total equipment capacity meets the order quantity requirement of the production line order, check whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements respectively.
[0009] The production line orders are merged or split according to the inspection results to obtain the final order allocation result for each target available production line, until the final order allocation result meets the optimization target requirements.
[0010] Optionally, determining the actual pending orders among the currently pending orders based on the real-time status information includes:
[0011] If there is an order product corresponding to the current pending order in the current inventory, and the storage location of the order product meets the transportation cost requirements and delivery requirements, the order product quantity of the current pending order is modified to obtain the actual pending order.
[0012] Optionally, the actual pending order is split and allocated to each available idle production line according to a preset order allocation strategy to be split into a number of production line orders, including:
[0013] Get the production lines that are not working and mark them as vacant production lines;
[0014] Check whether each of the idle production lines can produce the order products of the actual pending orders;
[0015] If each of the idle production lines can produce the order products of the actual pending order, each of the idle production lines is marked as an available idle production line, and the actual pending order is evenly distributed to each of the available idle production lines according to the order equalization strategy, so as to be split into several production line orders;
[0016] If each of the idle production lines cannot produce the ordered products of the actual pending orders, the original order allocation strategy of the actual pending orders is maintained;
[0017] Mark the available idle production lines used to produce the production line order and the original production lines in the original order allocation strategy as target available production lines.
[0018] Optionally, after obtaining the total equipment capacity of each target available production line, the method further includes:
[0019] If the total equipment capacity of each of the target available production lines is less than the total order volume of the corresponding production line orders, the product production on the target available production lines will be divided into multiple batches of production to obtain several batches of production orders for each of the target available production lines as the final order allocation result for each of the target available production lines.
[0020] Optionally, if the total equipment capacity meets the order quantity requirement of the production line order, checking whether the delivery time difference and the customized specification difference of each production line order meet the corresponding difference threshold requirements respectively includes:
[0021] If the total equipment capacity of each of the target available production lines is greater than or equal to the total order volume of the corresponding production line orders, then checking whether the delivery time difference of each of the production line orders exceeds a preset time difference threshold to obtain a first checking result;
[0022] If the first inspection result is that the delivery time difference of the production line orders exceeds the preset time difference threshold, merging the production line orders is prohibited;
[0023] If the first inspection result is that the delivery time difference of each production line order does not exceed the preset time difference threshold, then check whether the customization specification difference of each production line order exceeds the preset specification difference threshold to obtain the corresponding second inspection result.
[0024] Optionally, the merging or splitting of production line orders according to the inspection results to obtain a final order allocation result for each target available production line includes:
[0025] If the second inspection result is that the customization specification difference of each of the production line orders exceeds the preset specification difference threshold, it is prohibited to merge the production line orders to obtain the final order allocation result of each target available production line;
[0026] If the second inspection result is that the customization specification difference of each production line order does not exceed the preset specification difference threshold, then the production line orders are merged to obtain the final order allocation result of each target available production line.
[0027] Optionally, the order splitting and merging method further includes:
[0028] Calculate a preset target equation for optimizing order splitting and merging requirements based on the final order allocation result to obtain a corresponding equation calculation result;
[0029] If the result of the equation calculation does not meet the preset order processing end condition, jump to execute the actual pending order in the current pending orders determined based on the real-time status information;
[0030] If the calculation result of the equation presets the order processing end condition, the loop ends and the current final order allocation result is output.
[0031] In a second aspect, the present application discloses an order splitting and merging device, comprising:
[0032] An order processing module, used to obtain current pending orders and retrieve real-time status information including current inventory and current warehousing information, so as to determine the actual pending orders in the current pending orders based on the real-time status information;
[0033] A production line order splitting module is used to split the actual pending order into each available vacant production line according to a preset order allocation strategy, so as to split it into a number of production line orders;
[0034] A difference checking module is used to obtain the total equipment capacity of each target available production line. If the total equipment capacity meets the order quantity requirement of the production line order, then check whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements respectively;
[0035] The order allocation module is used to merge or split the production line orders according to the inspection results to obtain the final order allocation results of each target available production line until the final order allocation results meet the optimization target requirements.
[0036] In a third aspect, the present application discloses an electronic device, comprising:
[0037] Memory, used to store computer programs;
[0038] A processor is used to execute the computer program to implement the steps of the order splitting and merging method disclosed above.
[0039] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the order splitting and merging method disclosed above are implemented.
[0040] It can be seen that the present invention discloses an order splitting and merging method, including: obtaining the current pending order, and retrieving the real-time status information including the current inventory and the current warehousing information, so as to determine the actual pending order in the current pending order based on the real-time status information; splitting and allocating the actual pending order to each available vacant production line according to the preset order allocation strategy, so as to split it into several production line orders; obtaining the total equipment capacity of each target available production line, if the total equipment capacity meets the order quantity requirement of the production line order, then checking whether the delivery time difference and the customized specification difference of each production line order meet the corresponding difference threshold requirements respectively; merging or splitting the production line orders according to the inspection results, so as to obtain the final order allocation result of each target available production line, until the final order allocation result meets the optimization target requirement. It can be seen that by splitting and allocating the actual pending order to each available vacant production line according to the preset order allocation strategy, the vacant production line resources are fully utilized. It avoids the waste of production capacity due to idle production lines and ensures the continuous operation of the production lines. In the process of processing orders, the actual orders to be processed are determined based on real-time status information including current inventory and current warehousing information, and dynamic adjustments are made based on multiple factors such as the total equipment capacity of each target available production line, the delivery time differences of production line orders, and the customized specification differences to meet the order delivery requirements and customized specification requirements, ensuring precision control in the production process. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0042] Figure 1 This is a flow chart of an order splitting and merging method disclosed in this application;
[0043] Figure 2 A flowchart of a specific order splitting and merging method disclosed in this application;
[0044] Figure 3 This is a schematic diagram of the structure of an order splitting and merging device disclosed in this application;
[0045] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0047] In existing advanced planning and scheduling systems, order management often depends on inventory, storage space, and production line conditions. In current technical solutions, the order splitting and merging strategies are relatively simple, and it is difficult to cope with complex dynamic changes in multiple factors, such as insufficient inventory, production line vacancy rate, production schedule errors, etc. Existing solutions cannot optimize resource allocation in real time, which can easily lead to waste of production line resources or inventory backlogs, thus affecting production efficiency and cost control.
[0048] For example, in some existing production planning systems, when inventory is insufficient, orders can only wait in line, and the idle time of the production line cannot be effectively utilized. This method leads to a decrease in production efficiency, and warehousing and inventory management cannot be adjusted dynamically.
[0049] To this end, the present invention provides an order splitting and merging solution, which can effectively utilize the idle time of the production line and optimize the order splitting and merging strategy.
[0050] Reference Figure 1 As shown, an embodiment of the present invention discloses an order splitting and merging method, comprising:
[0051] Step S11: Acquire the current pending orders, and retrieve the real-time status information including the current inventory and the current warehousing information, so as to determine the actual pending orders in the current pending orders based on the real-time status information.
[0052] In this embodiment, the current pending order is obtained, wherein the current pending order includes the total product quantity required for the order, the product delivery location, the product delivery time, and the product customization specifications. In this way, in order to avoid inventory backlog, the inventory information of the current inventory is first retrieved to check whether there are inventory order products that have been produced in the current inventory.
[0053] If there is an order product corresponding to the current pending order in the current inventory, and the storage location where the order product is located meets the transportation cost requirements and delivery requirements, the order product quantity of the current pending order is modified to obtain the actual pending order. It can be understood that if there is a corresponding order product in the current inventory, and the storage location where the order product is located meets the preset physical distance requirements and transportation cost requirements from the product delivery location of the order product, the specific warehouse location of the order product in the warehouse (such as the near end of the channel in the warehouse, the far end of the channel in the warehouse) is further determined. If the order product is at the near end of the channel, the time cost of transporting the order product is low, and it is easy to meet the delivery time requirements of the order product, then the number of order products in the current inventory is subtracted from the total number of products in the current pending order to obtain the modified actual pending order; if the order product is at the far end of the channel, the time cost of transporting the order product is high, and the delivery time requirements of the order product are not met, then the total number of products of the original current pending order is still maintained, and the current pending order is directly used as the actual pending order.
[0054] It should be noted that after retrieving the actual status information, in order to realize order allocation or merging, it is also necessary to ensure that the total amount of materials in the actual status information is greater than or equal to the amount of materials required to produce the actual pending orders.
[0055] In addition, after retrieving the actual status information, you can also choose to split it in a single way according to actual needs, choose to split it by storage location, or choose to split it by inventory quantity.
[0056] Step S12: splitting and distributing the actual pending order to each available idle production line according to a preset order distribution strategy, so as to split it into a plurality of production line orders.
[0057] In this embodiment, non-working production lines are obtained and marked as idle production lines; it is checked whether each of the idle production lines can produce the order products of the actual pending orders; if each of the idle production lines can produce the order products of the actual pending orders, each of the idle production lines is marked as an available idle production line, and the actual pending orders are evenly distributed to each of the available idle production lines according to the order equalization strategy to split them into several production line orders; if each of the idle production lines cannot produce the order products of the actual pending orders, the original order allocation strategy of the actual pending orders is maintained; the available idle production lines used to produce the production line orders and the original production lines in the original order allocation strategy are marked as target available production lines. It can be understood that the production lines that are not currently performing production work are obtained and marked as idle production lines, and then the capacity of the idle production lines is checked to check whether each idle production line can produce the order products of the actual pending orders. If it has this capacity, the idle production line is marked as an available idle production line, and the actual pending orders are allocated to each available idle production line according to the order equalization principle. If the idle production line cannot produce the order products of the actual pending orders, the production line does not have the ability to process the actual pending orders, and the production line is eliminated from the candidate production lines for processing the actual pending orders. If all the current idle production lines do not have the ability to process the actual pending orders, the original order allocation strategy of the current pending orders is maintained; both the available idle production lines and the original production lines are marked as target available production lines, and subsequent steps are executed.
[0058] Step S13: Obtain the total equipment capacity of each target available production line. If the total equipment capacity meets the order quantity requirement of the production line order, check whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements.
[0059] In this embodiment, the total equipment capacity of each target available production line is obtained. If the total equipment capacity is greater than or equal to the total order volume of the production line orders of the production line, it means that one production can meet the requirements of the current production line orders and there is no need for batch processing. On this basis, in order to further meet the requirement of not wasting production resources, it is necessary to check the delivery time differences and customization specification differences of other production line orders of the production line to further determine whether to merge the orders.
[0060] In this embodiment, if the total equipment capacity of each target available production line is greater than or equal to the total order volume of the corresponding production line order, then check whether the delivery time difference of each production line order exceeds the preset time difference threshold to obtain a first inspection result; if the first inspection result is that the delivery time difference of each production line order exceeds the preset time difference threshold, then it is prohibited to merge each production line order; if the first inspection result is that the delivery time difference of each production line order does not exceed the preset time difference threshold, then check whether the customized specification difference of each production line order exceeds the preset specification difference threshold to obtain the corresponding second inspection result. It can be understood that if the total equipment capacity of each target available production line is greater than or equal to the total order volume of the corresponding production line order, then check whether the delivery time difference of each production line order exceeds the preset time difference threshold to obtain the first inspection result. Among them, the preset time difference threshold is pre-defined according to the actual situation. For example, the conventional definition is that the preset time difference threshold is 2 to 3 days before the delivery time of each order product. It can be defined according to the actual situation and is not specifically limited. If the first inspection result exceeds the preset time difference threshold, it means that the different orders on the current production line cannot be merged and processed uniformly, otherwise some orders will exceed the delivery time. If the first inspection result does not exceed the preset time difference threshold, it is further determined whether the product customization specifications in the orders of each production line to be merged exceed the preset specification difference threshold, and the second inspection result is obtained. Among them, the preset specification difference threshold is pre-defined according to the actual situation. For example, the conventional definition is that the preset specification difference threshold is an error of 3 mm above and below the specified product specification. It can be defined according to the actual situation and is not specifically limited.
[0061] After obtaining the total equipment capacity of each target available production line in this embodiment, it also includes: if the total equipment capacity of each target available production line is less than the total order amount of the corresponding production line order, the product production on the target available production line is divided into multiple batches of production to obtain several batches of production orders on each target available production line as the final order allocation result for each target available production line. It can be understood that if the total equipment capacity of the current production line is less than the total order amount of the production line order, the production line order currently assigned to the production line is split again and split into multiple batches of production to obtain several batches of production orders on the production line as the final order allocation result for the production line.
[0062] Step S14: The production line orders are merged or split according to the inspection results to obtain the final order allocation result of each target available production line, until the final order allocation result meets the optimization target requirement.
[0063] In this embodiment, if the second inspection result is that the customization specification difference of each production line order exceeds the preset specification difference threshold, it is prohibited to merge the production line orders to obtain the final order allocation result of each target available production line; it can be understood that if the second inspection result is that the customization specification difference of each production line order exceeds the preset specification difference threshold, it indicates that the current production line’s one-time production cannot meet the specification requirements of each production line order. In order to avoid rework, it is prohibited to merge the production line orders to obtain the final order allocation result of each target available production line.
[0064] In this embodiment, if the second inspection result is that the customization specification difference of each production line order does not exceed the preset specification difference threshold, then the production line orders are merged to obtain the final order allocation result of each target available production line. It can be understood that if the second inspection result is that the customization specification difference of each production line order does not exceed the preset specification difference threshold, indicating that one production of the current production line can meet the specification requirements of some production line orders, then the partial production line orders that meet the requirements are merged to obtain the final order allocation result of each target available production line. In this way, multiple production line orders can be produced at one time without wasting production line resources.
[0065] In this embodiment, a preset target equation for optimizing the order splitting and merging requirements is calculated based on the final order allocation result to obtain the corresponding equation calculation result; if the equation calculation result does not meet the preset order processing end condition, then jump to execute the actual pending order in the current pending order based on the real-time status information; if the equation calculation result meets the preset order processing end condition, then end the loop and output the current final order allocation result. It can be understood that the preset target equation is constructed first, where the preset target equation is:
[0066] ;
[0067] in, Represent the weight coefficient of each variable, represents the production time of the ith order, depending on the current inventory availability and production line status, It represents the production error of the i-th order, which is defined as the absolute value of the difference between the actual production time and the planned production time. represents the delivery delay of the i-th order, which is defined as the difference between the actual delivery time and the expected delivery time; represents the inventory cost of the i-th order, and the calculation formula is:
[0068] ;
[0069] Where h is the inventory holding cost coefficient, is the inventory quantity of the i-th order.
[0070] Therefore, the preset target equation Z represents the system minimizing the sum of these factors under the premise of considering production time, production error, inventory cost and delivery delay. Then, in the minimization calculation process, the optimal calculation result is determined and used as the final target order allocation result.
[0071] like Figure 2 As shown, a specific order allocation and merging method process is disclosed, and the specific steps are as follows:
[0072] Step 1: Import information. The system imports information such as orders, materials, warehouses, inventory, resources, etc. This is the basic data input step of the entire process.
[0073] Step 2: Check whether the order needs to be split. Specifically, determine whether the warehouse location and inventory quantity meet the splitting conditions (considering transportation costs and delivery rules). The specific splitting is as follows: Step 2.1: Split by warehouse location. If the conditions for splitting by warehouse location are met, enter this step. Step 2.2: Split by inventory quantity. If the conditions for splitting by inventory quantity are met, enter this step.
[0074] Step 3: Check the production line vacancy rate and allocation strategy, including checking whether the production lines can produce the same products.
[0075] Step 3.1: Check whether the idle production lines are available. If the idle production lines can produce the same material, split the order to multiple production lines.
[0076] Step 3.2: If the vacant production line cannot produce the same material, keep the original production line allocation order and go to step 4.
[0077] Step 4: Check the equipment capacity and production batch, that is, calculate the current order volume and compare it with it.
[0078] Step 4.1: If the order quantity exceeds the equipment capacity, split the order into multiple batches and generate multiple sub-orders / batches. Step 4.2: If the order quantity does not exceed the equipment capacity, proceed to step 5.
[0079] Step 5: Check whether the delivery date difference exceeds the threshold value, and determine whether the delivery date difference exceeds the threshold value.
[0080] Step 5.1: If the delivery date difference exceeds the threshold, do not merge.
[0081] Step 5.2: If the delivery date difference does not exceed the threshold, proceed to step 6.
[0082] Step 6: Determine whether there are any custom specification differences.
[0083] Step 6.1: If the customized specifications are different, produce independently.
[0084] Step 6.2: If the custom specifications are the same, merge the orders.
[0085] Step 7: Calculate the target equation and determine whether the loop end condition is met.
[0086] Step 7.1: If the loop end condition is reached, output the result.
[0087] Step 7.2: If the loop end condition is not met, return to step 2 and recheck the order splitting and merging.
[0088] In this way, orders can be split and merged based on factors such as warehouse location, inventory quantity, production line vacancy rate, equipment capacity, delivery date difference, custom specifications, etc. Dynamic adjustment strategy: through real-time monitoring and calculation, the order processing method is constantly adjusted to achieve the purpose of optimizing resource allocation, improving production efficiency, reducing inventory pressure and production costs. Thresholds are set in terms of delivery date difference and production batch to ensure precision control in the production process, avoid production delays and resource waste, and achieve optimal allocation of production resources and improve production efficiency.
[0089] It can be seen that the present invention discloses an order splitting and merging method, including: obtaining the current pending order, and retrieving the real-time status information including the current inventory and the current warehousing information, so as to determine the actual pending order in the current pending order based on the real-time status information; splitting and allocating the actual pending order to each available vacant production line according to the preset order allocation strategy, so as to split it into several production line orders; obtaining the total equipment capacity of each target available production line, if the total equipment capacity meets the order quantity requirement of the production line order, then checking whether the delivery time difference and the customized specification difference of each production line order meet the corresponding difference threshold requirements respectively; merging or splitting the production line orders according to the inspection results, so as to obtain the final order allocation result of each target available production line, until the final order allocation result meets the optimization target requirement. It can be seen that by splitting and allocating the actual pending order to each available vacant production line according to the preset order allocation strategy, the vacant production line resources are fully utilized. It avoids the waste of production capacity due to idle production lines and ensures the continuous operation of the production lines. In the process of processing orders, the actual orders to be processed are determined based on real-time status information including current inventory and current warehousing information, and dynamic adjustments are made based on multiple factors such as the total equipment capacity of each target available production line, the delivery time differences of production line orders, and the customized specification differences to meet the order delivery requirements and customized specification requirements, ensuring precision control in the production process.
[0090] Reference Figure 3 As shown, the present invention also discloses an order splitting and merging device, comprising:
[0091] The order processing module 11 is used to obtain the current pending orders and retrieve the real-time status information including the current inventory and the current warehousing information, so as to determine the actual pending orders in the current pending orders based on the real-time status information;
[0092] The production line order splitting module 12 is used to split the actual pending order into each available vacant production line according to a preset order allocation strategy, so as to split it into a plurality of production line orders;
[0093] The difference checking module 13 is used to obtain the total equipment capacity of each target available production line. If the total equipment capacity meets the order quantity requirement of the production line order, it checks whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements respectively;
[0094] The order allocation module 14 is used to merge or split the production line orders according to the inspection results to obtain the final order allocation results of each target available production line until the final order allocation results meet the optimization target requirements.
[0095] It can be seen that the present invention discloses obtaining the current pending orders, and retrieving the real-time status information including the current inventory and the current warehousing information, so as to determine the actual pending orders in the current pending orders based on the real-time status information; splitting and distributing the actual pending orders to each available vacant production line according to the preset order allocation strategy, so as to split them into several production line orders; obtaining the total equipment capacity of each target available production line, and if the total equipment capacity meets the order quantity requirements of the production line order, then checking whether the delivery time difference and the customized specification difference of each production line order meet the corresponding difference threshold requirements respectively; merging or splitting the production line orders according to the inspection results, so as to obtain the final order allocation results of each target available production line, until the final order allocation results meet the optimization target requirements. It can be seen that by splitting and distributing the actual pending orders to each available vacant production line according to the preset order allocation strategy, the vacant production line resources are fully utilized. It avoids the waste of production capacity due to idle production lines and ensures the continuous operation of the production lines. In the process of processing orders, the actual orders to be processed are determined based on real-time status information including current inventory and current warehousing information, and dynamic adjustments are made based on multiple factors such as the total equipment capacity of each target available production line, the delivery time differences of production line orders, and the customized specification differences to meet the order delivery requirements and customized specification requirements, ensuring precision control in the production process.
[0096] Furthermore, the present application also discloses an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0097] Figure 4The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the order splitting and merging method disclosed in any of the above embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0098] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0099] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0100] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0101] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the order splitting and merging method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can also further include a computer program that can be used to complete other specific tasks. In addition to data received by the electronic device and transmitted from an external device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0102] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the order splitting and merging method disclosed above is implemented. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the above embodiments, and no further description will be given here.
[0103] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0104] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory RAM (Random Access Memory), memory, read-only memory ROM (Read Only Memory), electrically programmable EPROM (Electrically Programmable Read Only Memory), electrically erasable programmable EEPROM (ElectricErasable Programmable Read Only Memory), register, hard disk, removable disk, CD-ROM (CompactDisc-Read Only Memory), or any other form of storage medium known in the technical field.
[0105] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0106] The scheme provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for splitting and merging orders, characterized in that: include: Obtaining current pending orders, and retrieving real-time status information including current inventory and current warehousing information, so as to determine actual pending orders among the current pending orders based on the real-time status information; According to a preset order allocation strategy, the actual pending order is split and allocated to each available vacant production line to be split into a number of production line orders; Obtain the total equipment capacity of each target available production line. If the total equipment capacity meets the order quantity requirement of the production line order, check whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements respectively. The production line orders are merged or split according to the inspection results to obtain the final order allocation result for each target available production line, until the final order allocation result meets the optimization target requirements.
2. The order splitting and merging method according to claim 1, characterized in that: The determining the actual pending orders among the currently pending orders based on the real-time status information comprises: If there is an order product corresponding to the current pending order in the current inventory, and the storage location of the order product meets the transportation cost requirements and delivery requirements, the order product quantity of the current pending order is modified to obtain the actual pending order.
3. The order splitting and merging method according to claim 1, characterized in that: The actual pending order is split and allocated to each available idle production line according to the preset order allocation strategy to be split into several production line orders, including: Get the production lines that are not working and mark them as vacant production lines; Check whether each of the idle production lines can produce the order products of the actual pending orders; If each of the idle production lines can produce the order products of the actual pending order, each of the idle production lines is marked as an available idle production line, and the actual pending order is evenly distributed to each of the available idle production lines according to the order equalization strategy, so as to be split into several production line orders; If each of the idle production lines cannot produce the ordered products of the actual pending orders, the original order allocation strategy of the actual pending orders is maintained; Mark the available idle production lines used to produce the production line order and the original production lines in the original order allocation strategy as target available production lines.
4. The order splitting and merging method according to claim 3 is characterized in that: After obtaining the total equipment capacity of each target available production line, the method further includes: If the total equipment capacity of each of the target available production lines is less than the total order volume of the corresponding production line orders, the product production on the target available production lines will be divided into multiple batches of production to obtain several batches of production orders for each of the target available production lines as the final order allocation result for each of the target available production lines.
5. The order splitting and merging method according to claim 1, characterized in that: If the total equipment capacity meets the order quantity requirement of the production line order, then checking whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements respectively includes: If the total equipment capacity of each of the target available production lines is greater than or equal to the total order volume of the corresponding production line orders, then checking whether the delivery time difference of each of the production line orders exceeds a preset time difference threshold to obtain a first checking result; If the first inspection result is that the delivery time difference of the production line orders exceeds the preset time difference threshold, merging the production line orders is prohibited; If the first inspection result is that the delivery time difference of each production line order does not exceed the preset time difference threshold, then check whether the customization specification difference of each production line order exceeds the preset specification difference threshold to obtain the corresponding second inspection result.
6. The order splitting and merging method according to claim 5, characterized in that: The production line orders are merged or split according to the inspection results to obtain the final order allocation results of each target available production line, including: If the second inspection result is that the customization specification difference of each of the production line orders exceeds the preset specification difference threshold, it is prohibited to merge the production line orders to obtain the final order allocation result of each target available production line; If the second inspection result is that the customization specification difference of each production line order does not exceed the preset specification difference threshold, then the production line orders are merged to obtain the final order allocation result of each target available production line.
7. The order splitting and merging method according to any one of claims 1 to 6, characterized in that: Also includes: Calculate a preset target equation for optimizing order splitting and merging requirements based on the final order allocation result to obtain a corresponding equation calculation result; If the result of the equation calculation does not meet the preset order processing end condition, jump to execute the actual pending order in the current pending orders determined based on the real-time status information; If the calculation result of the equation presets the order processing end condition, the loop ends and the current final order allocation result is output.
8. An order splitting and merging device, characterized in that: include: An order processing module, used to obtain current pending orders and retrieve real-time status information including current inventory and current warehousing information, so as to determine the actual pending orders in the current pending orders based on the real-time status information; A production line order splitting module is used to split the actual pending order into each available vacant production line according to a preset order allocation strategy, so as to split it into a number of production line orders; A difference checking module is used to obtain the total equipment capacity of each target available production line. If the total equipment capacity meets the order quantity requirement of the production line order, then check whether the delivery time difference and customized specification difference of each production line order meet the corresponding difference threshold requirements respectively; The order allocation module is used to merge or split the production line orders according to the inspection results to obtain the final order allocation results of each target available production line until the final order allocation results meet the optimization target requirements.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the order splitting and merging method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the order splitting and merging method as described in any one of claims 1 to 7 are implemented.