Production plan demand reduction method and device, electronic equipment and storage medium
By screening and matching order information with original production plan data, net demand data is constructed, which solves the inefficiency caused by the complexity of demand reduction rules and large data volume in production plans, and improves the accuracy and execution efficiency of production plans.
Patent Information
- Application Number
- CN202510023414.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-05-09
AI Technical Summary
During the execution of production plans, the complexity of the rules and large amount of data of demand offset leads to operational complexity and inefficiency, affecting the accuracy and execution efficiency of production plans.
By obtaining order information and original production plan, using preset filtering and reducing orders, matching and reducing based on product information, and building net demand data to update production plan.
It improves the efficiency of demand reduction, improves the accuracy and execution efficiency of production plans, and ensures reasonable allocation of resources and timely adjustment of production plans.
Smart Images

Figure CN119962880A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of production management, and in particular to a method for reducing production plan demand, a device for reducing production plan demand, an electronic device and a computer-readable storage medium. Background Art
[0002] In the process of production plan execution, demand reduction becomes an essential link, which can correct errors in the plan, ensure the accuracy of the production plan, and thus improve production efficiency. However, in related technologies, there are many restrictions on demand reduction, and the reduction rules in different business scenarios are also different, which makes the production demand configuration work extremely complicated, especially when dealing with a large amount of demand and order data. The diversity and complexity of the configuration rules further reduce the reduction efficiency. Summary of the invention
[0003] The present invention is based on the inventor's discovery and understanding of the following facts and problems:
[0004] In the manufacturing industry, the accuracy of production plans is directly related to the company's operational benefits and market competitiveness. However, in the actual production process, we often encounter the problem of inaccurate demand forecasts, that is, the demand is too high or too low. Too high demand will lead to over-allocation of factory resources and waste of resources; while too low demand may lead to resource shortages, affecting production progress and delivery time. Therefore, it is necessary to reduce demand in the production plan to correct forecast errors and ensure the accuracy of the production plan.
[0005] However, the relevant technologies of demand reduction face many challenges in the implementation process. First, since the reduction rules in different business scenarios are different and there are many restrictions, the operation of configuring rules becomes extremely complicated. This not only increases the burden on operators, but also easily introduces human errors, affecting the accuracy of reduction. Secondly, when the amount of demand and order data is large, the execution efficiency of the reduction process is greatly reduced due to the huge amount of data that needs to be processed and the large number of configuration rules. This not only prolongs the adjustment cycle of the production plan, but also may miss the best adjustment time, further affecting production efficiency and product quality.
[0006] To this end, embodiments of the present invention propose a production plan demand reduction method, a production plan demand reduction device, an electronic device and a computer-readable storage medium, which can improve the reduction efficiency and enhance the accuracy and execution efficiency of the production plan.
[0007] The method for reducing production plan demand provided by the embodiment of the present invention comprises the following steps:
[0008] Acquire order information and an original production plan, wherein the order information includes at least product information, and the original production plan includes at least original demand data corresponding to the product information;
[0009] The order information is screened based on a preset screening model to obtain the offset orders to be offset;
[0010] According to the product information of the reduction order, the reduction order is matched with the original demand data;
[0011] Based on the preset reduction model, the matched reduction orders and original demand data are reduced to obtain the net demand data;
[0012] Based on the net demand data, a production plan after reduction is constructed.
[0013] In summary, the production plan demand reduction method provided by the present invention screens the order information, matches the order information with the data in the original production plan based on the product information, and performs demand reduction. Finally, a new production plan is established based on the net demand data after the demand reduction. This can improve the reduction efficiency and enhance the accuracy and execution efficiency of the production plan.
[0014] In some embodiments, the order information further includes location information and customer information, and the screening model is provided with screening conditions, and the screening conditions include at least one of product information conditions, location information conditions, and customer information conditions; the step of screening the order information based on the preset screening model to obtain the reduction order to be offset includes:
[0015] Get the filtering conditions in the filtering model;
[0016] Determining whether the order information is consistent with the screening condition;
[0017] If the order information is consistent with the screening condition, the order information is set as the reduction order to be reduced.
[0018] In some embodiments, the step of matching the reduction order with the original demand data according to the product information of the reduction order includes:
[0019] Obtain product information of the reduction order;
[0020] Determine whether there is original demand data in the original production plan that matches the product information of the reduction order;
[0021] If it exists, the reduction order is matched with the original demand data;
[0022] If the original production plan does not contain original demand data that matches the product information of the reduction order, the reduction order is abandoned, or the reduction order is converted into net demand data.
[0023] In some embodiments, the reduction model is provided with a reduction period and a reduction direction; the step of reducing the matched reduction orders and the original demand data based on the preset reduction model to obtain the net demand data includes:
[0024] Determine the time node of the reduction according to the reduction order;
[0025] Determine the offset period and offset direction according to the offset order and the offset time node of the offset order;
[0026] Based on the reduction period and the reduction direction, the reduction order and the original demand data are reduced to obtain net demand data.
[0027] In some embodiments, the time type of the consumption period includes at least one of a day, a week, a month, a year, or a full cycle; the consumption direction includes at least one of forward, backward, first and then later, or first and then first;
[0028] And / or, the reduction time node of the reduction order is the delivery date of the reduction order.
[0029] In some embodiments, the production plan demand reduction method further includes the steps of:
[0030] Get the item number of the reduction order;
[0031] According to the item number of the reduction order, marking the reduction priority of the reduction order;
[0032] Based on the reduction priority of the reduction order, a reduction order of the reduction order is determined.
[0033] In some embodiments, the item number of the reduction order includes at least the creation time of the reduction order.
[0034] In addition, the production plan demand reduction device provided by the embodiment of the present invention includes:
[0035] An acquisition module, the acquisition module is used to acquire order information and an original production plan, the order information at least includes product information, and the original production plan at least includes original demand data corresponding to the product information;
[0036] A screening module, wherein a screening model is provided in the screening module, and the screening module is used to screen the order information obtained by the acquisition module according to the screening model to obtain the reduction order to be reduced;
[0037] A matching module, the matching module is used to match the reduction order with the original demand data according to the product information of the reduction order;
[0038] A reduction module, wherein a reduction model is provided in the reduction module, and the reduction module is used to reduce the reduction order matched by the matching module and the original demand data according to the reduction model to obtain net demand data;
[0039] An output module is used to construct a production plan after reduction based on the net demand data obtained by the reduction module.
[0040] In addition, the electronic device provided by an embodiment of the present invention includes a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the machine-readable instructions are executed by the processor, the steps in the production plan demand reduction method provided in any of the above embodiments are executed.
[0041] The computer-readable storage medium provided in an embodiment of the present invention stores machine-readable instructions. When the storage medium runs on an electronic device, the machine-readable instructions are used to enable the electronic device to execute the steps in the production plan demand reduction method provided in any of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0043] Figure 1 It is a flowchart of a production plan demand reduction method provided in an embodiment of the present invention.
[0044] Figure 2 It is a structural schematic diagram of a production plan demand reduction device provided in an embodiment of the present invention.
[0045] Figure 3 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention.
[0046] Reference numerals:
[0047] 110, acquisition module; 120, screening module; 130, matching module; 140, reduction module; 150, output module; 210, processor; 220, memory; 230, communication interface; 240, communication bus. DETAILED DESCRIPTION
[0048] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to be used to explain the present invention, but should not be understood as limiting the present invention.
[0049] refer to Figure 1 , is a flow chart of a method for reducing production plan demand provided by an embodiment of the present invention. The method for reducing production plan demand includes the following steps:
[0050] S10, acquiring order information and an original production plan, wherein the order information includes at least product information, and the original production plan includes at least original demand data corresponding to the product information;
[0051] That is to say, first of all, we need to collect comprehensive order information and original production plans to ensure that the data after demand reduction is consistent with the actual situation and avoid confusion in production plans and waste of resources.
[0052] S20, filtering the order information based on a preset filtering model to obtain the reduction orders to be reduced.
[0053] Specifically, after obtaining comprehensive order information and the original production plan, it is necessary to use a preset screening model to screen the order information. The screening model can be customized according to the actual needs of the enterprise. For example, it can be screened according to product information, location information, customer information, order priority, order urgency and other conditions to obtain the reduction orders that need to be offset, which helps to concentrate resources on processing the most important orders and ensure that the adjustment of the production plan is more reasonable and efficient.
[0054] S30: According to the product information of the reduction order, the reduction order is matched with the original demand data.
[0055] Specifically, after filtering out the reduction orders, it is necessary to match the product information in these orders with the original demand data in the original production plan to ensure that the reduction operation can be accurately performed on the product production data that needs to be adjusted.
[0056] S40, based on a preset offset model, offset the matched offset order and the original demand data to obtain net demand data.
[0057] Specifically, after the matching is completed, the matched offset orders and original demand data are offset according to the preset offset model. The offset model can be customized according to the actual needs of the enterprise. For example, the offset period, offset direction and offset ratio can be determined according to factors such as order quantity and product priority, which helps to ensure that the adjustment of production plans meets the changes in market demand.
[0058] S50: constructing a production plan after reduction according to the net demand data.
[0059] That is to say, the last step is to establish a new production plan based on the net demand data obtained after the offset, so that the new production plan can reflect the changes in market demand while ensuring the rational allocation and utilization of resources.
[0060] In summary, the production plan demand reduction method provided by the present invention screens the order information, matches the order information with the data in the original production plan based on the product information, and performs demand reduction. Finally, a new production plan is established based on the net demand data after the demand reduction. This can improve the reduction efficiency and enhance the accuracy and execution efficiency of the production plan.
[0061] It should be noted that order information includes product quantity, which directly affects the logic and results of the offset operation. In the process of offsetting the order and the original demand data, there are two offset results: one is complete offset or insufficient after offset; the other is that there is still residual demand after offset.
[0062] When the offset is complete or insufficient, that is, the product quantity in the offset order is less than or equal to the product quantity in the original demand data, this means that the product quantity requested by the offset order can be fully met by the products in the original production plan. In this case, the product quantity in the original demand data will be reduced accordingly until it is cleared. At this time, the product quantity in the net demand data will become zero, indicating that the company no longer needs to produce the fully offset products in the offset order.
[0063] When there is still residual demand after the reduction, that is, the number of products in the reduction order is greater than the number of products in the original demand data, this means that even if all the products in the original production plan are used to meet the reduction order, it still cannot meet all the demand for the reduction order. In this case, the number of products in the original demand data will be completely reduced, and the remaining demand in the reduction order will be retained. At this time, the number of products in the net demand data will be updated to the number of products in the reduction order minus the number of products in the original demand data. This value represents the number of products that the company still needs to produce to meet the remaining demand of the reduction order.
[0064] In some embodiments, the order information further includes location information and customer information, and the screening model is provided with screening conditions, and the screening conditions include at least one of product information conditions, location information conditions, and customer information conditions; the step of screening the order information based on the preset screening model to obtain the reduction order to be offset includes:
[0065] Get the filtering conditions in the filtering model;
[0066] Determining whether the order information is consistent with the screening condition;
[0067] If the order information is consistent with the screening condition, the order information is set as the reduction order to be reduced.
[0068] Specifically, first, the screening conditions in the screening model are obtained, and the screening conditions can be specified or preset by the operator. Next, each order information is analyzed one by one to determine whether it meets the screening conditions. For order information that meets the screening conditions, the system will mark it as a reduction order to be offset and enter the next step. For example, when the screening condition is a product information condition, it is determined whether the product information in the order information is consistent with the product information condition in the screening condition. If they are consistent, the order information is marked as a reduction order to be offset. If they are inconsistent, the next order information is processed.
[0069] When the screening condition is a product information condition and a location information condition, it is determined whether the product information and location information in the order information both meet the product information condition and the location information condition in the screening condition. If they are consistent, the order information is marked as a reduction order to be offset. If they are inconsistent, the next order information is processed. In addition, when the screening condition is set as a location information condition or a customer information condition, the execution process is consistent with the screening condition being a product information condition, and will not be repeated again.
[0070] The product information may include product categories, specifications, etc. The location information may include the order location of the order information, the delivery location of the order, or the location of the manufacturer (merchant) corresponding to the order. The customer information may include the customer name, customer code, etc. of the order information.
[0071] In some embodiments, the step of matching the reduction order with the original demand data according to the product information of the reduction order includes:
[0072] Obtain product information of the reduction order;
[0073] Determine whether there is original demand data in the original production plan that matches the product information of the reduction order;
[0074] If it exists, the reduction order is matched with the original demand data;
[0075] If the original production plan does not contain original demand data that matches the product information of the reduction order, the reduction order is abandoned, or the reduction order is converted into net demand data.
[0076] Specifically, first obtain the product information of the offset order; then determine whether there is original demand data corresponding to the product information in the original production plan to determine the demand data that needs to be offset; if there is, it means that the offset order can be offset with the original demand data, so first establish a matching relationship between the offset order and the original demand data to facilitate the subsequent offset operation; if there is no, it means that the offset order is a new order or a problem order. When the offset order is a new order, the offset order can be directly converted into net demand data; when the offset order is a problem order, the offset order can be abandoned.
[0077] It should be noted that when there is no original demand data in the original production plan that matches the product information of the reduction order, whether to abandon the reduction or convert the reduction order into net demand data depends on the actual needs and business scenarios of the enterprise, and will not be explained in detail here.
[0078] In this embodiment, in the step of matching the reduction order with the original demand data according to the product information of the reduction order, the method is executed by determining whether there is original demand data in the original production plan that matches the product category of the reduction order.
[0079] In some embodiments of the present invention, the production plan demand reduction method can also use screening conditions to filter the original demand data in the original production plan to improve the matching efficiency between the reduction order and the original demand data. Among them, the step of filtering the original demand data in the original production plan using the screening conditions is similar to the step of filtering the order information using the screening conditions mentioned above. In particular, when it is uncertain whether there is original demand data corresponding to the product information in the order information in the original production plan, the screening conditions can be used to filter the original demand data in the original production plan to improve the matching efficiency.
[0080] In some embodiments, the reduction model is provided with a reduction period and a reduction direction; the step of reducing the matched reduction orders and the original demand data based on the preset reduction model to obtain the net demand data includes:
[0081] Determine the time node of the reduction according to the reduction order;
[0082] Determine the offset period and offset direction according to the offset order and the offset time node of the offset order;
[0083] Based on the reduction period and the reduction direction, the reduction order and the original demand data are reduced to obtain net demand data.
[0084] Specifically, in the process of executing the reduction, first, determine the reduction time node of the reduction order, which can be the delivery date of the reduction order, or other time nodes. Then, according to the reduction order and the determined reduction time node, further determine the reduction period and reduction direction. The reduction period refers to the time range of the reduction operation, which can be flexibly set according to the actual needs of the enterprise and the characteristics of the production plan. The reduction direction refers to whether the reduction operation is adjusted upward (i.e., increase demand) or downward (i.e., reduce demand).
[0085] Furthermore, the time type of the reduction period includes at least one of a day, a week, a month, a year or a full cycle, so that the operator can flexibly select the most suitable time unit to define the period of the reduction operation according to specific business needs or the actual situation of project management. More importantly, by setting the time type of the reduction period, the operator can more quickly select and locate the original demand data that needs to be adjusted when performing the reduction operation, thereby significantly improving the efficiency of the reduction operation.
[0086] The consumption direction includes at least one of forward, backward, first then second, or first then first. That is, when performing a consumption operation, the operator can not only adjust the data unidirectionally (such as only consumption forward or backward), but also select a more complex consumption path according to complex and changeable business scenarios, such as first consumption a part of the data forward, and then consumption the remaining part backward as needed, or vice versa, which not only meets the diverse business needs, but also greatly improves the flexibility and accuracy of the consumption operation.
[0087] In this embodiment, for a reduction process of a certain reduction order, the reduction time node is T, and the reduction period is N days. Similarly, the reduction period can also be set to N weeks, N months, N years or a full cycle.
[0088] When the consumption direction is set to forward, the original demand data of future time periods such as T+1, T+2, T+3...T+N will be consumed in chronological order (from back to front), while the time periods before T will not be affected. In other words, the original demand data in the future will be consumed first, and the later the original demand data is, the earlier it will be consumed, while the original demand data in the past will not be consumed.
[0089] When the consumption direction is set to backward, the original demand data of past time periods such as T-1, T-2, T-3...TN will be consumed in chronological order (from the beginning to the end), while the time periods after T will not be affected. In other words, the original demand data in the past will be consumed first, and the earlier the original demand data is, the earlier it will be consumed, while the original demand data in the future will not be consumed.
[0090] When the consumption direction is set to first and then last, the forward consumption period can be set to N days, and the backward consumption period can be set to M days. Then the future demand will be consumed first, and the demand in the earlier time will be consumed earlier. When the demand in a certain time period in the future (such as T to T+N) is completely consumed, the demand in the past (such as TM to T-1) will start to be consumed, and the demand in the later time will be consumed earlier.
[0091] When the consumption direction is set to first before last, the forward consumption period can be set to N days, and the backward consumption period can be set to M days. Past demands are consumed first, and the later demands are consumed first. When the demands in a certain period of time in the past (such as TM to T) are completely consumed, the future demands (such as T+1 to T+N) will begin to be consumed, and the earlier demands will be consumed earlier.
[0092] In some embodiments, when there are multiple reduction orders, the order of the reduction orders may be determined before executing step S40. The production plan demand reduction method provided in one embodiment of the present invention further includes the steps of:
[0093] Get the item number of the reduction order;
[0094] According to the item number of the reduction order, marking the reduction priority of the reduction order;
[0095] Based on the reduction priority of the reduction order, a reduction order of the reduction order is determined.
[0096] Specifically, when there are multiple reduction orders, the reduction priority of the reduction orders can be marked, and the reduction orders can be sorted in order from high to low priority, and the reduction operations can be performed in sequence, which can ensure that the most important orders are processed first, thereby maximizing the satisfaction of customer needs and the company's production plans.
[0097] Furthermore, the item number of the reduction order at least includes the creation time of the reduction order. That is, the reduction priority can be divided into the reduction priority of the reduction order according to the creation time of the reduction order. Of course, in some embodiments, the item number can also include the importance of the customer, the urgency of the order, etc., that is, the reduction priority of the reduction order can also be determined according to the combination of one or more of the importance of the customer, the urgency of the order or the creation time.
[0098] Of course, in the production plan demand reduction method provided in some embodiments, the reduction priority of the reduction order can also be directly marked according to the establishment time of the reduction order, the importance of the customer or the urgency of the order.
[0099] In one embodiment of the present invention, the above-mentioned production plan demand reduction method already has corresponding program code, and one form of the program code is as follows:
[0100] $.primaryKey({primaryKey:"ITEM_SITE_CUSTOMER"}); / / Define the primary key. Product information, location information, customer information, or a combination of them can be used as the primary key;
[0101] $.commonFilterCondition({itemCode: "item001, item002", siteCode: "site001, site002, site003"}); / / Define the filtering conditions, which can be product information, location information, customer information, etc., and match the filtered reduction orders with the original demand data in the original production plan;
[0102] $.filterOrder(); / / Define order filtering conditions;
[0103] $.filterNetDemand(); / / Define demand filtering conditions;
[0104] $.nettingRule({
[0105] nettingDateType:"DAY",
[0106] backDays:"3",
[0107] forwardDays:"2",
[0108] nettingDirection:"BACK_FORWARD",
[0109] isConvert:"true"}); / / Define the offset rules, offset deadline, time type of the offset deadline, offset direction, and whether the unoffset orders are converted into demand;
[0110] $.executeNetting(); / / Execute the reduction action command, and calculate the reduction order and original demand data matched by the above primary key and screening conditions according to this rule.
[0111] Among them, defining the primary key is to determine the execution principle in executing the production plan demand reduction, and then determine the specific screening conditions to filter out the reduction orders and original demand data that meet the screening conditions.
[0112] In addition, it should be made clear that Figure 1The flowchart of the production plan demand reduction method shown in the figure is a flowchart of a production plan demand reduction method, and the sequence of its steps is only based on the logical sequence provided by one of the many embodiments of the present invention. This sequence is intended to clearly illustrate the execution process of the method in a specific application scenario. However, in actual applications, the flexibility and scalability of the present invention allow technicians to adjust the sequence of the above steps according to different actual needs and environmental conditions, such as the existence of parallel or parallel relationships between some steps, etc., which will not be repeated here.
[0113] refer to Figure 2 , is a schematic diagram of the structure of a production plan demand reduction device provided by an embodiment of the present invention. The production plan demand reduction device includes an acquisition module 110, a screening module 120, a matching module 130, a reduction module 140 and an output module 150. The above modules are electrically connected to realize information transmission and reception.
[0114] The acquisition module 110 is used to acquire order information and an original production plan, wherein the order information at least includes product information, and the original production plan at least includes original demand data corresponding to the product information.
[0115] A screening model is provided in the screening module 120, and the screening module 120 is used to screen the order information obtained by the acquisition module 110 according to the screening model to obtain the reduction order to be reduced.
[0116] The matching module 130 is used to match the reduction order with the original demand data according to the product information of the reduction order.
[0117] The reduction module 140 is provided with a reduction model, and the reduction module 140 is used to reduce the reduction order matched by the matching module 130 and the original demand data according to the reduction model to obtain net demand data.
[0118] The output module 150 is used to construct a production plan after reduction according to the net demand data obtained by the reduction module 140.
[0119] It should be noted that the production plan demand reduction device provided in the embodiment of the present application has the same implementation principle and technical effects as those in the aforementioned production plan demand reduction method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned production plan demand reduction method embodiment.
[0120] refer to Figure 3, is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. The electronic device provided by this embodiment includes a processor 210 and a memory 220, and the memory 220 stores machine-readable instructions executable by the processor 210. When the machine-readable instructions are executed by the processor 210, the steps in the production plan demand reduction method described in any of the above embodiments are executed. Among them, each of the processor 210 and the memory 220 is provided with at least one.
[0121] In this embodiment, the electronic device further includes a communication interface 230 and a communication bus 240, wherein the processor 210, the memory 220 and the communication interface 230 are connected to each other via the communication bus 240. The communication bus 240 can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, Figure 3 In the figure, only one thick line is used to represent the communication bus 240, but it does not mean that there is only one communication bus 240 or one type of communication bus 240. The processor 210 may also be called a controller, and there is no limitation on the name.
[0122] In the embodiment of the present application, the memory 220 stores instructions that can be executed by at least one processor 210. The at least one processor 210 can execute the steps in the production plan demand reduction method discussed above by executing the instructions stored in the memory 220. The processor 210 can implement Figure 3 The functions of each module in the device shown.
[0123] Among them, the processor 210 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 220 and calling data stored in the memory 220, the various functions of the device and process data, the device can be monitored as a whole.
[0124] In one possible design, the processor 210 may include one or more processing units, and the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, an operating body interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor. In some embodiments, the processor 210 and the memory 220 may be implemented on the same chip or on separate chips.
[0125] The processor 210 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the production plan demand reduction method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0126] The memory 220, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 220 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 220 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 220 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0127] By programming the processor 210, the code corresponding to the production plan demand reduction method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2 The steps of the production plan demand reduction method of the embodiment shown are as follows: How to design and program the processor 210 is a technique known to those skilled in the art and will not be described in detail here.
[0128] In addition, the embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by the processor 210, they are used to implement the production plan demand reduction method described in any of the above embodiments, so they will not be described in detail here. In addition, the description of the beneficial effects of using the same method will not be described in detail. For technical details not disclosed in the computer storage medium embodiment involved in the present invention, please refer to the description of the method embodiment of the present invention.
[0129] In some possible implementations, various aspects of the production plan demand reduction method provided in the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of the production plan demand reduction method according to various exemplary embodiments of the present application described above in this specification.
[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0131] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0134] In addition, any process or method description in the flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0135] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for reducing production plan demand, characterized in that: The steps include: Acquire order information and an original production plan, wherein the order information includes at least product information, and the original production plan includes at least original demand data corresponding to the product information; The order information is screened based on a preset screening model to obtain the offset orders to be offset; According to the product information of the reduction order, the reduction order is matched with the original demand data; Based on the preset reduction model, the matched reduction orders and original demand data are reduced to obtain the net demand data; Based on the net demand data, a production plan after reduction is constructed.
2. The method for reducing production plan demand according to claim 1, characterized in that: The order information further includes location information and customer information. The screening model is provided with screening conditions, and the screening conditions include at least one of product information conditions, location information conditions and customer information conditions. The step of screening the order information based on a preset screening model to obtain the reduction order to be offset includes: Get the filtering conditions in the filtering model; Determining whether the order information is consistent with the screening condition; If the order information is consistent with the screening condition, the order information is set as the reduction order to be reduced.
3. The method for reducing production plan demand according to claim 1, characterized in that: The step of matching the reduction order with the original demand data according to the product information of the reduction order comprises: Obtain product information of the reduction order; Determine whether there is original demand data in the original production plan that matches the product information of the reduction order; If it exists, the reduction order is matched with the original demand data; If the original production plan does not contain original demand data that matches the product information of the reduction order, the reduction order is abandoned, or the reduction order is converted into net demand data.
4. The method for reducing production plan demand according to claim 1, characterized in that: The offset model is provided with an offset period and an offset direction; the step of offsetting the matched offset orders and the original demand data based on the preset offset model to obtain the net demand data includes: Determine the time node of the reduction according to the reduction order; Determine the offset period and offset direction according to the offset order and the offset time node of the offset order; Based on the reduction period and the reduction direction, the reduction order and the original demand data are reduced to obtain net demand data.
5. The method for reducing production plan demand according to claim 4, characterized in that: The time type of the reduction period includes at least one of day, week, month, year or full cycle; the reduction direction includes at least one of forward, backward, first and then later, or first and then first; And / or, the reduction time node of the reduction order is the delivery date of the reduction order.
6. The method for reducing production plan demand according to claim 1, characterized in that: The production plan demand reduction method also includes the steps of: Get the item number of the reduction order; According to the item number of the reduction order, marking the reduction priority of the reduction order; Based on the reduction priority of the reduction order, a reduction order of the reduction order is determined.
7. The method for reducing production plan demand according to claim 6, characterized in that: The item number of the reduction order at least includes the creation time of the reduction order.
8. A production plan demand reduction device, characterized in that: include: An acquisition module, the acquisition module is used to acquire order information and an original production plan, the order information at least includes product information, and the original production plan at least includes original demand data corresponding to the product information; A screening module, wherein a screening model is provided in the screening module, and the screening module is used to screen the order information obtained by the acquisition module according to the screening model to obtain the reduction order to be reduced; A matching module, the matching module is used to match the reduction order with the original demand data according to the product information of the reduction order; A reduction module, wherein a reduction model is provided in the reduction module, and the reduction module is used to reduce the reduction order matched by the matching module and the original demand data according to the reduction model to obtain net demand data; An output module is used to construct a production plan after reduction based on the net demand data obtained by the reduction module.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the machine-readable instructions are executed by the processor, the steps in the production plan demand reduction method described in any one of claims 1-7 are executed.
10. A computer-readable storage medium, characterized in that: Machine-readable instructions are stored therein. When the storage medium is run on an electronic device, the machine-readable instructions are used to enable the electronic device to execute the steps in the production plan demand reduction method described in any one of claims 1-7.