WO2023202326A1 - Data processing method and related apparatus - Google Patents

Data processing method and related apparatus Download PDF

Info

Publication number
WO2023202326A1
WO2023202326A1 PCT/CN2023/084017 CN2023084017W WO2023202326A1 WO 2023202326 A1 WO2023202326 A1 WO 2023202326A1 CN 2023084017 W CN2023084017 W CN 2023084017W WO 2023202326 A1 WO2023202326 A1 WO 2023202326A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
inventory
node
target product
demand
Prior art date
Application number
PCT/CN2023/084017
Other languages
French (fr)
Chinese (zh)
Inventor
艾又琼
孙磊
刘复兴
金啸宇
王亮
明威
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023202326A1 publication Critical patent/WO2023202326A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • This application relates to the field of data processing technology, and specifically to a data processing method and related devices.
  • Production scheduling is the formulation of production plans. It is the work of enterprises to make overall arrangements for production tasks and specifically formulate the varieties, quantities, and progress plans of production products. Production scheduling is an important part of the enterprise's business plan and an important basis for the enterprise's production management. It is not only an important means to achieve the enterprise's business objectives, but also the basis for organizing and guiding the enterprise's production activities in a planned manner. At the same time, the reasonable arrangement of production plans is also conducive to improving production organization.
  • This application provides a data processing method and related devices for processing data to generate a production schedule, so that when using the production schedule for production, it can reduce production conflicts, reduce inventory costs, and improve the inventory completeness rate.
  • the first aspect of this application provides a data processing method, which is applied to a computer device.
  • the computer device may specifically be a terminal, a server, or other computer device with data processing capabilities.
  • the following description takes application to a server as an example.
  • the server can first obtain input data.
  • the input data is data related to the production of the target product by multiple factories.
  • the input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and the list of materials required for the processing of the target product. (bill of material, BOM) manufacturing cycle; the transfer data is used to indicate the path and time of material transportation.
  • the multiple nodes include factory nodes and warehouse nodes.
  • the target product refers to the product that is finally delivered to the demander.
  • the BOM required for the processing of the target product includes the BOM of the target product and the BOM of all levels of sub-components of the target product. It can be understood that materials used for direct processing into target products are first-level sub-components, materials used for direct processing into first-level sub-components are second-level sub-components, and so on.
  • the supply system refers to the supply network composed of subordinate nodes related to the production of target products by manufacturing enterprises, and the unified coding system of materials transported between various subordinate nodes.
  • the subordinate nodes include factory nodes, warehouse nodes and sales nodes. Sales node; the materials include products, middleware, raw materials, components and consumables.
  • the manufacturing cycle required for processing the target product refers to the processing cycle corresponding to each BOM required for processing the target product.
  • the path of material transportation refers to the sequence of nodes through which the material transportation passes, and the actual path between two nodes in adjacent sequences, such as from the node in A to B, and then from B to C. .
  • the server can build a target model based on the input data, where the target model includes supply constraints based on the decision variables and an objective function based on the decision variables.
  • the supply constraint condition is established based on the BOM, the manufacturing cycle and the transshipment data.
  • the supply constraint condition is used to constrain the inventory status of the factory node and the warehouse node to remain stable.
  • the inventory status is based on the manufacturing cycle and the transshipment data.
  • the decision variable is obtained based on the demand of the target product, and the objective function is used to indicate the optimization goal of the production scheduling plan of the target product.
  • Keeping the inventory status stable means that the inventory sluggishness rate of all coded materials in the inventory is kept as low as possible, so that the process of producing the target product can achieve the balance of supply and demand of production as much as possible, that is, the production of the current factory production line.
  • the materials meet production needs and market demand as accurately as possible.
  • the server can call the solver to solve the target model and obtain the production schedule.
  • the production scheduling plan includes the processing volume of the target product processed by the factory node, and the transportation volume of materials corresponding to the target product between the multiple nodes.
  • the server obtains input data and builds a target model based on the input data.
  • the supply constraints in the target model are based on the manufacturing cycle of the target product and the supply system of the target product.
  • the transfer data between multiple nodes is established; the supply constraints of the multiple factories are combined into a whole, and finally the target model representing the overall production scheduling problem of the multiple factories is solved to obtain the information about the multiple factories.
  • the production scheduling plan of each factory can reduce production conflicts between factories, reduce inventory costs, and improve the inventory completeness rate.
  • the input data also includes the production line material relationship of the factory node; the transshipment data includes transshipment paths and transshipment cycles; and the target model is built based on the input data, including: based on the BOM, the production line According to the material relationship and the transfer path, the target factory node for processing the target product and the target warehouse node for storing the corresponding materials of the target product are obtained from the multiple nodes; each target factory node and the target warehouse node are established based on the manufacturing cycle and the transfer cycle.
  • the material inventory equation of the target warehouse node serves as the supply constraint.
  • the transshipment path refers to the path of material transportation
  • the transshipment cycle refers to the time for materials to be transported between two nodes.
  • the production line material relationship is used to indicate the materials required for production and the materials obtained from production of the production line.
  • the material inventory equation is used to constrain the inventory status of each material in the factory node or warehouse node to remain stable in the current period.
  • the server can first establish the information of all nodes in the supply system based on the input data.
  • the material inventory equation is then filtered from the material inventory equations of all nodes to obtain the target material inventory equation with complete equation data as the supply constraint.
  • establishing a material inventory equation for each target factory node and target warehouse node based on the manufacturing cycle and the transfer cycle as the supply constraint includes: according to the BOM network and the manufacturing cycle, The new processing items and processing consumption items of the target factory node are calculated; according to the transshipment network and the transshipment cycle, the new transfer items and transfer-out consumption items of the target factory node and the target warehouse node are calculated; according to the The inventory input is calculated by processing the new item and the transferred-in new item, and the inventory output is calculated based on the processing consumption item and the transfer-out consumption item; substitute the inventory input and the inventory output into the preset inventory relationship formula, Establish the material inventory equation as the supply constraint.
  • the new processing items and processing consumption items of the production line of the target product can be obtained for each target factory node; according to the target factory node, the target warehouse node and the transfer path and In the transfer cycle, you can get the transferred-in new items of materials corresponding to the target product that are transferred into each target factory node or target warehouse node, as well as the transferred-out consumption items of the transferred materials corresponding to the target product.
  • the inventory relationship equation can be obtained according to preset supply matching business rules, and the inventory relationship equation is one of the material inventory equations.
  • the input data includes demand priority information of the target product; building the target model based on the input data includes: establishing an objective function based on the demand priority information.
  • the demand priority information is used to indicate the priority of the target product in scheduling and production.
  • the input data also includes business goals; establishing the goal function based on the demand priority information includes: establishing an initial function based on the business goal, and the initial function is a demand priority that does not consider the target product.
  • the business goal is used to indicate the optimization direction of production scheduling. Therefore, it can be understood that there are decision variables in the initial function established according to the business goal.
  • the server can obtain the business goal by solving the values of each decision variable in the initial function. Under this condition, the optimized production scheduling plan does not consider the demand priority of the target product.
  • the decision variable corresponds to the demand of the target product
  • the penalty coefficient corresponds to the demand priority of the target product. Therefore, the decision variable in the initial function has a corresponding relationship with the penalty coefficient.
  • the priority factor can be considered when defining the target function, so that the server can prioritize high-priority demands when scheduling production.
  • the priority of the decision variables is quantified by determining the penalty coefficient based on the demand priority information, so that the server can perform priority-related operations when scheduling production according to the objective function, so that the final obtained The production schedule meets the requirements of demand priorities as much as possible.
  • the method before determining the penalty coefficient based on the demand priority information, further includes: calculating the feasible region of the preset constraint element function based on the target constraint factor corresponding to the decision variable, the target constraint
  • the elements are constraint elements that affect the priority of the decision variable under the business goal when solving the initial function; the penalty coefficient is determined based on the demand priority information, including: based on the demand priority of the decision variable and the constraint element function feasible region, determine the penalty coefficient.
  • the constraint elements refer to the constraints of decision variables when performing optimization calculations of business objectives.
  • the constraint element function is used to calculate the penalty coefficient.
  • the penalty coefficient can be made more accurate, and a more reasonable production schedule can be obtained plan.
  • the server can determine the penalty coefficient corresponding to each priority based on the demand priority information, and then establish an objective function based on the penalty coefficient, the target product demand and the business goal.
  • the demand priority information includes the demand priority of each decision variable; determining a penalty coefficient according to the demand priority information includes: determining a corresponding preset penalty coefficient according to the demand priority.
  • the input data is obtained, including: production schedules constructed from an enterprise resource planning (ERP) system or a manufacturing execution system (MES) based on each node in the supply system.
  • ERP enterprise resource planning
  • MES manufacturing execution system
  • the input data is obtained from the computer network.
  • the server can automatically collect the above data of each node in the supply system through the production scheduling computer network, or can obtain the above data from the data file input by the planning and dispatching specialist of each node through the production scheduling computer network; these data can be processed After preprocessing, data in a standard format required by the server to execute the data processing method provided by this application is obtained.
  • the target model also includes demand matching constraints and capacity occupancy constraints.
  • the demand matching constraints are obtained based on the demand matching rules in the business rules, and are used to constrain the matching of new demand in the current period and the satisfied demand in the current period;
  • the capacity occupancy constraints are obtained based on the capacity occupancy rules in the business rules, and are used to constrain the processing volume in the current period. match the actual occupied capacity.
  • the target model also includes holiday constraints.
  • the holiday constraint conditions are obtained based on the holiday rules in the business rules.
  • the holiday constraint conditions are used to constrain the relevant values of production, transshipment and procurement to be 0 when the date is a holiday.
  • a second aspect of this application provides a data processing device, including:
  • the acquisition unit is used to acquire input data, which is data related to the target product produced by multiple factories.
  • the input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and The bill of materials BOM and manufacturing cycle required for the processing of the target product.
  • the transshipment data is used to indicate the path and time of material transportation.
  • the multiple nodes include factory nodes and warehouse nodes;
  • the inventory status is determined based on the manufacturing cycle and the transshipment data.
  • the decision variable is obtained based on the demand for the target product.
  • the objective function is used to indicate the target product.
  • the solving unit is used to call the solver to solve the target model and obtain the production schedule.
  • the input data also includes the production line material relationship of the factory node;
  • the transshipment data includes the transshipment path and transshipment cycle;
  • the modeling unit is specifically used to: based on the BOM, the production line material relationship and The transfer road Path, obtain the target factory node that processes the target product and the target warehouse node that stores the materials corresponding to the target product from the multiple nodes; establish a relationship between each target factory node and the warehouse node based on the manufacturing cycle and the transfer cycle.
  • the material inventory equation serves as this supply constraint.
  • the modeling unit is specifically used to: calculate new processing items and processing consumption items of the target factory node based on the BOM network and manufacturing cycle; calculate based on the transshipment network and transshipment cycle.
  • Calculate the inventory output substitute the inventory input and inventory output into the preset inventory relationship equation, and establish the material inventory equation as the supply constraint.
  • the modeling unit is specifically used to: establish the objective function based on the demand priority information.
  • the input data also includes business goals; the modeling unit is specifically used to: establish an initial function based on the business goals, and the initial function indicates the target product without considering the demand priority of the target product. function of the optimization goal of the production scheduling plan; determine the penalty coefficient based on the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal; assign the penalty coefficient to the initial
  • the corresponding decision variables in the function are used to obtain the objective function.
  • the device further includes: a calculation unit, used to calculate the feasible region of the preset constraint element function according to the target constraint element corresponding to the decision variable, where the target constraint element is when solving the initial function Constraint elements that affect the priority of the decision variable under the business goal; the modeling unit is specifically used to determine the penalty coefficient based on the demand priority of the decision variable and the feasible region of the constraint element function.
  • the acquisition unit is specifically configured to: acquire the input data from a production scheduling computer network constructed based on the ERP system or MES of each node in the supply system.
  • a third aspect of the present application provides a computer device, including: a processor and a memory; instruction operations or codes are stored in the memory; the processor is configured to communicate with the memory and execute instructions in the memory Operations or code to perform the method described in the first aspect above.
  • the computer device may also include an input/output (I/O) interface.
  • a fourth aspect of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium includes instructions. When the instructions are run on a computer, they cause the computer to execute the method described in the first aspect.
  • a fifth aspect of the present application provides a computer program product, which is characterized in that it includes computer readable instructions.
  • the computer readable instructions When the computer readable instructions are run on a computer device, the computer device causes the computer device to execute the method described in the first aspect. method.
  • a sixth aspect of the present application provides a chip system.
  • the chip system includes a processor for supporting the data processing device of the second aspect to implement the functions involved in the above aspect, such as generating or processing the method of the first aspect.
  • the data and/or information involved is included in a possible implementation, the chip system further includes a memory, which is used to store necessary program instructions and data of the data processing device to implement the function of the first aspect.
  • the chip system can be composed of chips or include chips and other discrete devices.
  • Figure 1 is a schematic diagram of the application architecture of the data processing method provided by the embodiment of the present application.
  • Figure 2 is a schematic diagram of a deployment environment of the data processing device provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of another deployment environment of the data processing device provided by the embodiment of the present application.
  • Figure 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present application.
  • Figure 5 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • Figure 6 is a schematic diagram of input data processing of a data processing method provided by an embodiment of the present application.
  • Figure 7 is a schematic diagram of the network architecture of the production scheduling computer network provided by the embodiment of the present application.
  • Figure 8 is a schematic diagram of a supply system provided by an embodiment of the present application.
  • Figure 9 is a graph showing the comparison results of the cumulative inventory completeness rate provided by the embodiment of the present application.
  • Figure 10 is a schematic structural diagram of another data processing device provided by an embodiment of the present application.
  • Figure 11 is a schematic structural diagram of a computer network provided by an embodiment of the present application.
  • the naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering.
  • the process steps that have been named or numbered can be implemented according to the purpose to be achieved. The order of execution can be changed for technical purposes, as long as the same or similar technical effect can be achieved.
  • the division of units presented in this application is a logical division. In actual applications, there may be other divisions. For example, multiple units may be combined or integrated into another system, or some features may be ignored. , or not executed.
  • the coupling or direct coupling or communication connection between the units shown or discussed may be through some interfaces, and the indirect coupling or communication connection between units may be electrical or other similar forms. There are no restrictions in the application.
  • the units or subunits described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed into multiple circuit units, and some or all of them may be selected according to actual needs. unit to achieve the purpose of this application plan.
  • factories are usually established near the production areas of raw materials, so that the various factories of manufacturing companies are in different geographical locations.
  • Set. Multiple factories of a manufacturing company can process and generate products independently, or they can use the transfer path between factories to obtain semi-finished products processed from local raw materials by factories in other regions and reprocess them to obtain products.
  • production activities also have the characteristics of multi-cycle, multi-priority and sharing.
  • the multi-period feature means that the arrangement of a production activity can consider multiple periods, such as daily or weekly production schedules in the future.
  • the multi-priority feature means that product demand has multiple priorities.
  • the priority is determined based on attributes such as product demand source, demand type, demand time, demand quantity, and product characteristics.
  • Production scheduling needs to determine the production sequence of products based on demand priority.
  • Sharing features include material sharing, supply network sharing and production line sharing.
  • Material sharing means that multiple products share the same material; supply network sharing means that one warehouse can supply to multiple different factories at the same time, and materials can be shared between different factories; production line sharing means that the same production line in the factory can produce Processes a variety of products.
  • Embodiments of the present application provide a data processing method and related devices for processing data to generate a production schedule, so that when using the production schedule for production, production conflicts can be reduced, inventory costs can be reduced, and inventory completion rates can be improved.
  • the market makes a demand plan based on sales forecasts
  • the manufacturer's product department makes a demand forecast for the main production plan based on market demand and current material supply capacity, so that the manufacturer's production planning department makes a demand forecast based on this.
  • various constraints such as materials, production capacity, demand priority, and supply network to coordinate and optimize the production plan for the next period of time.
  • the production planning department needs to comprehensively consider the balance of upstream and downstream supply and demand, and at the same time consider the factory's production capacity arrangement to schedule production, output the production scheduling plan, and lock in materials and production capacity in advance.
  • the product department can output the supply plan for specific products and make supply commitments.
  • the application architecture 100 includes a data processing device 110, a master production schedule (MPS) module 120, an ERP system or MES 130 of supply system nodes (such as factory nodes, warehouse nodes and sales nodes), Allocation commitment module 140, supplier collaboration module 150, order commitment 160, inventory optimization (IO) module 170, material requirement planning (material requirement planning, MRP) module 180, demand management module 190, demand reduction module 191, ERP order management module 192, and ERP inventory or purchasing management module 193.
  • MPS master production schedule
  • ERP enterprise resource planning
  • MES 130 of supply system nodes (such as factory nodes, warehouse nodes and sales nodes)
  • Allocation commitment module 140 such as factory nodes, warehouse nodes and sales nodes
  • IO inventory optimization
  • material requirement planning material requirement planning
  • MRP material requirement planning
  • the data processing device 110 is used to execute the data processing method provided by this application, and is specifically used to receive the demand forecast of the master production plan made by the MPS module 120 and the production data provided by the ERP system or MES130 of the supply system node to schedule production and obtain the schedule. production plan; also used to send the production schedule to the MPS module 120.
  • the data processing device 110 is also used to update the available-to-promise (ATP) of the product to the distribution commitment module 140 according to the obtained production schedule, send a corresponding material delivery request to the supplier collaboration module 150, and
  • the order commitment module 160 makes delivery commitments for existing orders.
  • the MPS120 module is used to obtain the demand data provided by the demand offset module, the material inventory data provided by the IO module 170, and the procurement commitment provided by the supplier collaboration module, and then make a demand forecast for the master production plan based on the current market demand and material supply capacity. , and sends the demand forecast to the data processing device 110 .
  • the MPS120 module is also used to commit the available supply amount ATP of the product to the allocation commitment module.
  • the ERP system or MES130 of the supply system node is used to provide production data, material inventory data and transfer data with other nodes of the corresponding node.
  • the allocation commitment module 140 is used to feed back the ATP of the product to the demand management module 190, and send to the order commitment module 160 the net predicted ATP obtained after excluding the supply of items such as safety stock and stocking plans.
  • the supplier collaboration module 150 is used to obtain inventory information and procurement information from the ERP inventory management module or procurement management module 193, provide the inventory information and the procurement information to the IO module 170, and provide the MPS with the inventory information and the procurement information based on the inventory information and the procurement information.
  • Module 120 proposes a purchase commitment.
  • the order commitment module 160 is used to receive market inquiries and make commitments to the market based on the acquired net predicted ATP and the promised delivery date of existing orders; it is also used to store committed orders in the ERP order management module 192 .
  • the IO module 170 is used to perform inventory management based on the material demand information provided by the MRP module, the purchasing information and inventory information provided by the supplier collaboration module 150, and the production schedule or production plan provided by the MPS module 120.
  • the MRP module 180 is used to calculate the demand and demand time for materials required for product production based on the offset demand data provided by the demand offset module 191 and the inventory information provided by the IO module, and determine the processing progress and procurement schedule of the product.
  • the demand management module 190 is used to generate demand forecasts based on the order information provided by the ERP order management module 192, the demand forecast obtained from the sales and operations forecast process model (S&OP), the product demand of the manufacturer's internal safety stock or stocking plan, and distribution.
  • the available supply ATP provided by the commitment module 140 calculates and manages the demand for the product; and provides the available supply ATP that non-order items need to occupy to the allocation commitment module 140, so that the allocation commitment module calculates the net forecast ATP.
  • the demand reduction module 191 is used to perform demand reduction based on the demand data provided by the demand management module 190 and the current supply amount ATP of the product, to obtain net forecast demand data.
  • the ERP order management module 192 is used to provide order information from the producer.
  • the ERP inventory management module or procurement management module is used to provide inventory information and procurement information from the producer.
  • material A is used as a raw material for processing in production line 1 and in production line 1. 2 consumables used as auxiliary production. Therefore, in the embodiment of this application, when executing the data processing method provided by this application, a unified coding system is used to uniformly code various materials, so that the data of each node in the supply system can be processed uniformly.
  • Figure 1 is only a schematic diagram of an application architecture provided by an embodiment of the present application, and the positional relationship between the devices, devices, modules, etc. shown in Figure 1 does not constitute any limitation.
  • the modules or devices shown in Figure 1 can be independently arranged on the computer device, or multiple modules or devices can be jointly deployed on the same computer device, which is not specifically limited here.
  • the computer device may be a terminal, a server, or other computer device with data processing capabilities.
  • the data processing device 110 can be deployed on a server or in the cloud.
  • the data processing device 110 provided by this application can also be deployed on network nodes in a centralized deployment manner or a distributed deployment manner, such as an enterprise's computer room or a research institute server. Or supply chain office server, etc., all data is transmitted through the Internet. After the server obtains the data, it establishes a target model based on the data, then uses a solver to solve the target model to obtain the production schedule, and finally outputs the production schedule to the human-computer interaction interface of the server.
  • the data processing device 110 can be deployed in the cloud. After the supply system node uploads data to the cloud, the data processing device 110 uses the solver and related software services provided by the cloud to complete the establishment and creation of the target model in the cloud. Solve, and finally return the solved production schedule to the corresponding supply system node.
  • the application system framework and deployment environment of the data processing method provided by the embodiment of the present application have been described above.
  • the internal structure of the data processing device provided by the embodiment of the present application will be described below.
  • Figure 4 is a schematic structural diagram of a data processing device in an embodiment provided by this application.
  • the data processing device includes an input unit 401, a data pre-processing unit 402, a modeling and solving unit 403, a data post-processing unit 404 and Output unit 405.
  • the input unit 401 is used to input input data from various nodes in the supply system and from other devices or modules in the application system to the data preprocessing unit 402.
  • the data preprocessing unit 402 is used to convert the input data input by the input unit 401 into a unified preset input format and standard, which may specifically include unified material coding data, planning time and work calendar, supply and production capacity data, transfer paths and Offset data.
  • the modeling and solving unit 403 is used to perform mathematical modeling and solving based on the preprocessed input data to obtain a production schedule.
  • the data post-processing unit 404 is used to analyze and calculate based on the production schedule to obtain the recommended manufacturing table, material transfer table, beginning and ending inventory table, production capacity usage detailed table, etc. These detailed tables are used to reflect demand satisfaction, supply and usage, and material shortages. .
  • the data post-processing unit 404 is also used to obtain a pegging table based on the foregoing table.
  • the content finally output by the data post-processing unit 404 through the output unit 405 includes: recommended task orders, demand satisfaction and delays, material consumption details, production capacity utilization details, material transfer details, ending inventory, and supply and demand matching details.
  • the production staff can adjust the production schedule based on these output contents.
  • FIG. 5 is a schematic flowchart of a data processing method in an embodiment. As shown in Figure 5, the data processing method includes the following steps 501-503.
  • the data processing device obtains input data.
  • the input data is data related to the production of the target product by multiple factories.
  • the input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and the BOM and BOM required for the processing of the target product. Manufacturing cycle; this transshipment data is used to indicate the path and time of material transportation.
  • the multiple nodes include factory nodes and warehouse nodes.
  • the requirements of the target product include the type of requirement, time of requirement, priority of requirement, quantity of requirement, priority of requirement and ID of requirement.
  • the BOM required for the processing of the target product includes the material's parent code, sub-item code, BOM usage, BOM effective date and expiry date, etc.
  • the input data also includes the work calendar and production capacity information of each factory in the multiple factories, including factory location ID, standard date, time, whether it is a holiday, product series, production capacity code and public capacity information.
  • the input data also includes supply data, which includes factory supply data and warehouse supply data, specifically including the type of material supply, supply time, supply priority, supply quantity, and supply ID.
  • the data processing device obtains the input data from a production scheduling computer network built based on ERP systems of multiple factories.
  • the data processing device can connect the ERP system, MES or other software that manages input data at factory nodes, assembly plant nodes, warehouse nodes and sales nodes in the entire supply system through the production scheduling computer network, and obtain corresponding data.
  • the data processing device converts the input data into a unified preset input format and performs standard preprocessing before performing step 502.
  • the data processing device builds a target model based on the input data.
  • FIG. 6 is a schematic diagram of input data processing when building a target model based on the input data in one embodiment, specifically including steps 601 to 604.
  • the data processing device defines decision variables based on the input data.
  • the data processing device can define decision variables based on the target product demand in the input data and the coding of the target product. For example, the processing amount of each target product can be defined as X. If the factory that processes product A includes factory 1 and factory 2, Then the main decision variables can be defined as X A1 and X A2 .
  • the data processing device can also define auxiliary decision variables based on the target product requirements and business goals, such as the demand satisfaction quantity and the delay quantity.
  • the demand satisfaction quantity refers to the demand satisfaction quantity at a certain point in time or a certain time period.
  • the satisfied quantity of a demand, the delayed quantity refers to the unsatisfied quantity of the target product produced after the end of the current period relative to a certain demand.
  • the data processing device establishes constraints based on the input data.
  • the data processing device can establish constraints based on preset business rules and decision variables, as well as transshipment data, production line information and target product BOM in the input data.
  • the business rules refer to the description of business definitions and constraints, which are used to maintain the business structure, control and influence production behavior.
  • the transshipment data includes transshipment cycles and transshipment paths;
  • the production line information includes production line material relationships and manufacturing cycles of each of the multiple factories.
  • supply constraints can be established according to the supply matching rules in the business rules, as well as the BOM in the target product information, the production line information, the transshipment path and the transshipment cycle, and the supply constraint conditions are used to constrain the factory nodes. And the inventory status of the warehouse node remains stable.
  • the data processing device can first obtain the target factory node that processes the target product and the node that stores the corresponding materials of the target product from the multiple nodes based on the BOM, the production line material relationship, and the transfer path.
  • the target warehouse node and then based on the manufacturing cycle and the transfer cycle, the material inventory equation of each target factory node and target warehouse node is established as the supply constraint.
  • the BOM of target product E is processed into a processing relationship of raw material A and raw material B being processed into semi-finished product D, and semi-finished product D and raw material C being processed into target product E; and, through the production line material relationships of the multiple factories It is known that factory 1 can process A and B into D, and factory 2 can process D and C into E. At the same time, the three raw materials A, B, and C are all in the central warehouse. According to the transfer path data, it is known that the central warehouse and Direct transshipment is possible between factory 1 and factory 2, and direct transshipment is also possible between factory 1 and factory 2.
  • Figure 8 is a schematic diagram of the supply system in this embodiment.
  • each node plane represents a corresponding BOM.
  • the points in the node plane are the codes of a material.
  • the arrows in the node plane are used to indicate the BOM relationship.
  • the arrows between different node planes are used to indicate the transfer relationship.
  • the target warehouse node is the central warehouse, and the target factory nodes are factory 1 and factory 2.
  • the central warehouse transfers A and B to factory 1, and transfers C to factory 2; factory 1 processes A and B into semi-finished product D, and transfers D to factory 2; factory 2 processes raw material C and semi-finished product D into target product E .
  • the material inventory equation corresponding to the target factory node and the corresponding target warehouse node can be established as the supply constraint based on the manufacturing cycle and corresponding transfer cycle of the target product.
  • Ending inventory Beginning inventory + Inventory input - Inventory output
  • Ending inventory Beginning inventory + New supply at this node + Transfer in from other nodes - Consumption at this node - Transfer out to other nodes
  • the material inventory equation obtained by further expanding the inventory relationship, combined with the coding of various materials in the unified coding system, the material inventory equation can be expressed as:
  • i represents the material code
  • s represents the factory node or warehouse node
  • p represents the demand priority
  • t represents time
  • L represents the processing cycle
  • PL represents the purchasing cycle.
  • the specific definition of variables is as follows: supply quantity Supply ist , demand satisfaction quantity D istp , production quantity X ist , ending inventory N ist , transshipment quantity Y is1s2t , recommended purchase quantity DummyPO ist , parent material Parent.
  • BOD stands for supply system.
  • I is an indicator function that outputs 1 when the input is True and 0 when the input is False.
  • establishing a material inventory equation for each target factory node and target warehouse node based on the manufacturing cycle and the transfer cycle as the supply constraint includes: calculating the target based on the manufacturing cycle The new processing items and processing consumption items of the factory node; according to the transfer cycle, the target factory node and the The transferred-in new items and transferred-out consumption items of the target warehouse node; the inventory input is calculated based on the new processing items and the transferred-in new items, and the inventory output is calculated based on the processing consumption items and the transferred-out consumption items; Substitute the inventory input and inventory output into the preset inventory relationship equation, and establish the material inventory equation as the supply constraint.
  • the processing new items and processing consumption items of the production line of the target product can be obtained for each target factory node; according to the target factory node, the target warehouse node, and the transfer cycle, each target factory node can be obtained The new imported items of raw materials or semi-finished products corresponding to the target product that are transferred into the target factory node or target warehouse node, and the transferred-out consumption items of raw materials or semi-finished products corresponding to the target product.
  • the complete machine (FG) and the lower bare metal (MF) are processed in factory A, and the processing time is 2 days respectively; but the structural parts required for processing the bare metal are not only in factory A, but also in the central warehouse, from the central warehouse to The transfer cycle of factory A is 2 days. Therefore, taking the date of transfer of structural parts as the current period, the inventory balance equation as shown below can be constructed.
  • the target model built based on the supply constraints can be guided to realize the coordinated production scheduling of multiple factories.
  • the server can first establish the material inventory equations of all nodes in the supply system based on the input data, and then filter the material inventory equations of all nodes to obtain the target material inventory with complete equation data.
  • the target model also includes demand matching constraints, capacity occupancy constraints, and/or holiday constraints.
  • the demand matching constraints are obtained based on the demand matching rules in the business rules, and are used to constrain the matching of new demand in the current period and the satisfied demand in the current period;
  • the capacity occupancy constraints are obtained based on the capacity occupancy rules in the business rules, and are used to constrain the processing volume in the current period. match the actual occupied capacity.
  • the holiday constraint conditions are obtained based on the holiday rules in the business rules.
  • the holiday constraint conditions are used to constrain the relevant values of production, transshipment and procurement to be 0 when the date is a holiday.
  • i coding
  • s factory or warehouse
  • p demand priority
  • t time
  • g capacity sharing group.
  • the variables are specifically defined as follows : demand satisfaction quantity D istp , cumulative demand delay quantity GAP itsp , production quantity isg , capacity short quantity CapLeft gst , total capacity Capacity gst .
  • the data processing device establishes an objective function based on the input data.
  • the data processing device can establish an objective function based on target product requirements, business objectives and requirement priority information in the input data.
  • the data processing device can first establish an initial function based on the business goal; then determine a penalty coefficient based on the demand priority information; and finally assign the penalty coefficient to the corresponding decision variable in the initial function to obtain the goal. function.
  • the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal.
  • the initial function is a function indicating the optimization objective of the production schedule of the target product without considering the demand priority of the target product.
  • the demand priority information is used to indicate the priority of the target product during production scheduling.
  • the method for determining the penalty coefficient may be: the data processing device determines the penalty coefficient based on the target approximation corresponding to the decision variable. Constraint elements are used to calculate the feasible region of the preset constraint element function; and then the penalty coefficient is determined based on the demand priority of the decision variable and the feasible region of the constraint element function.
  • the target constraint element is a constraint element that affects the priority of the decision variable under the business goal when solving the initial function.
  • the constraint element function is used to calculate the penalty coefficient.
  • the constraint element function can be: F(obj 1 ,obj 2 ,...,obj n )>Max(obj x /obj y )(x>y,x,y ⁇ n)
  • obj n is the target constraint element corresponding to the decision variable with demand priority n, and there are n levels of demand priority.
  • Penalty p F(obj 1 ,obj 2 ,...,obj n ) np
  • Penalty p is the penalty coefficient corresponding to the decision variable with demand priority P.
  • Penalty p Penalty p+1 *f(obj n )
  • Penalty n Basic Penalty
  • BasicPenalty is the preset penalty base.
  • the business goal is to maximize the complete set of target products, that is, to minimize the number of delays in target products.
  • the initial function can be constructed as:
  • GAP n is the delayed quantity of the target product.
  • the production scheduling goal is to maximize demand satisfaction, these 100 pieces of D will be completely allocated to C, and up to 100 pieces of C can be used together.
  • this result violates the principle of demand priority, and the requirements of A and B with a higher priority than C are not satisfied.
  • the key factor leading to this result is the BOM usage involved in the production scheduling target.
  • the penalty coefficient When the first possible implementation is used to calculate the penalty coefficient, it can be calculated that F (obj 1 , obj 2 ,..., obj n )>10, and the data processing device can take any value from the feasible region to calculate the penalty coefficient. , for example 11.
  • the penalty cost can be constructed first.
  • the penalty cost of plan 1.1 can be smaller than the penalty cost of plan 1.2, and the penalty cost of plan 1.2 can be smaller than the penalty cost of plan 1.3.
  • P n is the penalty coefficient
  • n is the demand priority
  • the calculation of the penalty coefficient is based on the calculation equation adopted when the initial function is the Min function, so that the penalty coefficient increases step by step, which can guide the data processing device to give priority to satisfying high-priority needs during production scheduling.
  • the initial function is the Max function
  • the above calculation equation can be changed so that the penalty coefficient is gradually reduced, which can also guide the data processing device to give priority to satisfying high-priority requirements during production scheduling.
  • the embodiments of this application can quantify the priority of decision variables by determining the penalty coefficient based on demand priority information, so that the server can perform priority-related operations when scheduling production according to the objective function, so that the final result is The production scheduling plan meets the requirements of demand priority as much as possible.
  • the demand priority information includes the demand priority of each decision variable; the data processing device can determine the corresponding preset penalty coefficient according to the demand priority.
  • the data processing device can first establish an initial function according to the target product requirements and business goals, then determine the corresponding preset penalty coefficient according to the demand priority, and finally assign the penalty coefficient to the corresponding decision variable in the initial function to obtain the goal function.
  • the data processing device determines the change direction of the penalty coefficient based on the initial function, it sets the penalty coefficient with the highest or lowest priority as the base, and then determines the penalty coefficient of the decision variable with demand priority N as demand priority based on the demand priority information.
  • the penalty coefficient of the decision variable with level N+1 is 100 times or one-hundredth of one, thereby guiding decision variables with demand priority N to be given priority when scheduling production.
  • the data processing device can also determine the penalty coefficient corresponding to each priority based on the demand priority information, and then establish an objective function based on the penalty coefficient, the target product demand and the business goal.
  • step 602 there is no fixed execution order of step 602 and step 603, and the two steps can be executed at the same time, or in a specific or random order.
  • the data processing device constructs an objective model based on the decision variable, the constraint condition and the objective function.
  • the target model is a mathematical model.
  • the data processing device solves the target model and obtains the production schedule.
  • the data processing device obtains input data and generates data based on the input data. Input data to construct a target model.
  • the supply constraints in the target model are established based on the manufacturing cycle of the target product and the transfer data between multiple nodes in the supply system of the target product; through the supply constraints, the multiple factories
  • the inventories are combined into a whole, and finally the target model representing the overall production scheduling problem of the multiple factories is solved to obtain the production scheduling plans for the multiple factories, which can reduce production conflicts between various factories and reduce inventory costs. , improve the inventory completeness rate.
  • This application uses three pairs of similar terminal product orders as comparison objects. Each pair of orders is scheduled using the data processing method provided by this application and the existing technology to decouple multi-factory problems into multiple single-factory problem scheduling methods. The cumulative matching rate for a total of 4 weeks in a cycle is calculated. The comparative statistical results are shown in Figure 9 and Table 1.
  • the average cumulative inventory demand fulfillment rate can be increased by more than 5%, and the cumulative inventory fulfillment rate of 80% of products is improved.
  • Inventory completeness rate improved to nearly 80%.
  • An example of the data processing device 1000 in the embodiment of the present application includes:
  • the acquisition unit 1001 is used to acquire input data.
  • the input data is data related to the target product produced by multiple factories.
  • the input data includes the demand for the target product and the transfer data between multiple nodes in the supply system of the target product.
  • the transshipment data is used to indicate the path and time of material transportation.
  • the multiple nodes include factory nodes and warehouse nodes;
  • the modeling unit 1002 is configured to build a target model based on the input data.
  • the target model includes supply constraints and objective functions based on decision variables, where the supply constraints are established based on the manufacturing cycle and the transshipment data.
  • the supply constraints The conditions are used to constrain the inventory status of the factory node and the warehouse node to remain stable.
  • the inventory status is determined based on the manufacturing cycle and the transshipment data.
  • the decision variable is obtained based on the demand for the target product.
  • the objective function is used to indicate the goal. Optimization goals of product scheduling plans;
  • the solving unit 1003 is used to call the solver to solve the target model and obtain the production scheduling plan.
  • the data processing device obtains input data through the acquisition unit 1001, and builds a target model based on the input data through the modeling unit 1002.
  • the supply constraints in the target model are based on the target product.
  • the input data also includes the production line material relationship of the factory node;
  • the transshipment data includes the transshipment path and transshipment cycle;
  • the modeling unit 1002 is specifically used to: based on the BOM, the production line material relationship and the transfer path, obtain the target factory node for processing the target product and the target warehouse node for storing the materials corresponding to the target product from the multiple nodes; establish each target factory node and the said target product based on the manufacturing cycle and the transfer cycle.
  • the material inventory equation of the warehouse node serves as the supply constraint.
  • the modeling unit 1002 is specifically configured to: calculate new processing items and processing consumption items of the target factory node based on the BOM and the manufacturing cycle; based on the transshipment path and the transshipment cycle, Calculate the transfer-in new items and transfer-out consumption items of the target factory node and the target warehouse node; calculate the inventory input based on the new processing items and the transfer-in new items, and calculate the inventory input items based on the processing consumption items and the transfer-out items.
  • the consumption item is calculated to obtain the inventory output item; the inventory input item and the inventory output item are substituted into the preset inventory relationship equation, and the material inventory equation is established as the supply constraint condition.
  • the modeling unit 1002 is specifically configured to establish the objective function based on the demand priority information.
  • the input data also includes business goals; the modeling unit 1002 is specifically configured to: establish an initial function based on the business goals, and the initial function indicates the goal without considering the demand priority of the target product.
  • the function of the optimization goal of the product's production scheduling plan determine the penalty coefficient based on the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal; assign the penalty coefficient to the
  • the corresponding decision variables in the initial function are used to obtain the objective function.
  • the device 1000 further includes: a calculation unit 1004, configured to calculate the feasible region of the preset constraint element function according to the target constraint element corresponding to the decision variable, the target constraint element being to solve the initial
  • the function is a constraint element that affects the priority of the decision variable under the business goal
  • the modeling unit 1002 is specifically used to determine the penalty coefficient according to the demand priority of the decision variable and the feasible region of the constraint element function.
  • the acquisition unit 1001 is specifically configured to: acquire the input data from a production scheduling computer network constructed based on the ERP system or MES of each node in the supply system.
  • the data processing device 1000 provided in the embodiment of the present application can be understood by referring to the corresponding content of the foregoing data processing method embodiment, and the details will not be repeated here.
  • the computer device 1100 includes a processor 1101, a communication interface 1102, a memory 1103, and a bus 1104.
  • the processor 1101 may include a CPU, or at least one of a CPU and a GPU, an NPU, and other types of processors.
  • the processor 1101, the communication interface 1102, and the memory 1103 are connected to each other through a bus 1104.
  • the processor 1101 is used to control and manage the actions of the computer device 1100.
  • the processor 1101 is used to perform the steps in FIG. 5 and/or other processes for the technology described herein.
  • the communication interface 1102 is used to support the computer device 1100 to communicate.
  • Memory 1103 is used to store program code and data for computer device 800 .
  • the processor 1101 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and functions described in connection with the disclosure of this application. circuit.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on.
  • the bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • a computer-readable storage medium is also provided.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the device executes the above figure. Data processing methods described in Part 5 embodiments.
  • a computer program product in another embodiment of the present application, includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium; at least one processor of the device can obtain data from a computer-readable storage medium.
  • the storage medium is read to read the computer execution instructions, and at least one processor executes the computer execution instructions to cause the device to execute the data processing method described in part of the embodiment in FIG. 5 .
  • a chip system in another embodiment of the present application, includes a processor and is used to support the above-mentioned data processing device to implement the functions involved in the above-mentioned data processing method.
  • the chip system further includes a memory, which is used to store necessary program instructions and data of the data processing device to implement the functions of the above data processing method.
  • the chip system can be composed of chips or include chips and other discrete devices.
  • B corresponding to A means that B is associated with A, and B can be determined based on A.
  • determining B based on A does not mean determining B only based on A.
  • B can also be determined based on A and/or other information.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Primary Health Care (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

Disclosed in the present application are a data processing method and a related apparatus, which are used for processing input data to generate a production scheduling plan in a multi-factory scenario, such that production conflicts can be reduced by using the production scheduling plan to perform production scheduling, the inventory cost is reduced, and the inventory availability rate is improved. The solution comprises: firstly, acquiring input data; constructing a target model on the basis of the input data, wherein a supply constraint condition in the target model is established on the basis of a manufacturing period and material list of a target product and transfer data between a plurality of nodes in a supply system of the target product, an objective function takes the production priority of the target product into consideration, production scheduling is driven on the basis of a service target, and the supplies of a plurality of factories are combined into a whole by means of the supply constraint condition; and finally, under the limitation of the constraint condition and the drive of the objective function, solving the target model which represents the overall production scheduling problem of the plurality of factories, so as to obtain a production scheduling plan with regard to the plurality of factories.

Description

数据处理方法及相关装置Data processing methods and related devices
本申请要求于2022年04月18日提交中国专利局、申请号为CN202210405762.4、申请名称为“数据处理方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on April 18, 2022, with the application number CN202210405762.4 and the application title "Data processing method and related devices", the entire content of which is incorporated into this application by reference. middle.
技术领域Technical field
本申请涉及数据处理技术领域,具体涉及一种数据处理方法及相关装置。This application relates to the field of data processing technology, and specifically to a data processing method and related devices.
背景技术Background technique
排产即制定生产计划,是企业对生产任务作出统筹安排,具体拟定生产产品的品种、数量、和进度计划的工作。排产是企业经营计划的重要组成部分,是企业进行生产管理的重要依据,既是实现企业经营目标的重要手段,也是组织和指导企业生产活动有计划进行的依据。同时,生产计划的合理安排,也有利于改进生产组织。Production scheduling is the formulation of production plans. It is the work of enterprises to make overall arrangements for production tasks and specifically formulate the varieties, quantities, and progress plans of production products. Production scheduling is an important part of the enterprise's business plan and an important basis for the enterprise's production management. It is not only an important means to achieve the enterprise's business objectives, but also the basis for organizing and guiding the enterprise's production activities in a planned manner. At the same time, the reasonable arrangement of production plans is also conducive to improving production organization.
近年来,许多制造企业的制造网络逐渐覆盖全球,由全球供应商、制造和装配厂以及外包实体组成。这就要求排产时考虑多工厂的因素;在多工厂的生产背景下,排产计划需要同时安排每个周期内不同工厂的所有生产作业。现有技术中,制造企业通过将多工厂的排产问题解耦为多个单工厂的子问题,然后将子问题各自求解,最后根据多个子问题的求解结果合并生成最终的排产计划。In recent years, the manufacturing networks of many manufacturing companies have gradually expanded across the globe, consisting of global suppliers, manufacturing and assembly plants, and outsourcing entities. This requires considering multi-factory factors when scheduling production; in the context of multi-factory production, the production schedule needs to simultaneously schedule all production operations in different factories in each cycle. In the existing technology, manufacturing enterprises decouple the production scheduling problem of multiple factories into multiple single-factory sub-problems, then solve the sub-problems individually, and finally combine the solution results of multiple sub-problems to generate a final production scheduling plan.
在多工厂场景下,采用现有技术的方法虽然在各个子问题上都得到了相应的解,但是在实际排产当中,各个工厂的生产活动之间具有相互依赖性,因此根据现有技术得到的排产计划容易存在生产冲突,从而导致库存成本提高,库存齐套率低。In a multi-factory scenario, although the methods using the existing technology have obtained corresponding solutions to each sub-problem, in actual production scheduling, the production activities of each factory are interdependent, so according to the existing technology, the Production scheduling plans are prone to production conflicts, which leads to increased inventory costs and low inventory completion rates.
发明内容Contents of the invention
本申请提供一种数据处理方法及相关装置,用于处理数据生成排产计划,并使得采用该排产计划进行生产时能够减少生产冲突,降低库存成本,提高库存齐套率。This application provides a data processing method and related devices for processing data to generate a production schedule, so that when using the production schedule for production, it can reduce production conflicts, reduce inventory costs, and improve the inventory completeness rate.
本申请第一方面提供一种数据处理方法,应用于计算机设备,该计算机设备具体可以是终端、服务器或其他具备数据处理能力的计算机设备,以下均以应用于服务器为例进行说明。The first aspect of this application provides a data processing method, which is applied to a computer device. The computer device may specifically be a terminal, a server, or other computer device with data processing capabilities. The following description takes application to a server as an example.
在多工厂场景下进行排产,服务器可以先获取输入数据。其中,该输入数据为多个工厂生产目标产品的相关数据,该输入数据包括目标产品的需求、目标产品的供应体系中多个节点之间的转运数据,以及该目标产品加工所需的物料清单(bill of material,BOM)的制造周期;该转运数据用于指示物料运输的路径和时间,该多个节点包括工厂节点和仓库节点。When scheduling production in a multi-factory scenario, the server can first obtain input data. Among them, the input data is data related to the production of the target product by multiple factories. The input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and the list of materials required for the processing of the target product. (bill of material, BOM) manufacturing cycle; the transfer data is used to indicate the path and time of material transportation. The multiple nodes include factory nodes and warehouse nodes.
其中,目标产品是指最终交付给需求方的产品,该目标产品加工所需的BOM包括该目标产品的BOM以及该目标产品的各级子部件的BOM。可以理解的是,用于直接加工为目标产品的物料为一级子部件,用于直接加工为一级子部件的物料为二级子部件,以此类推。Among them, the target product refers to the product that is finally delivered to the demander. The BOM required for the processing of the target product includes the BOM of the target product and the BOM of all levels of sub-components of the target product. It can be understood that materials used for direct processing into target products are first-level sub-components, materials used for direct processing into first-level sub-components are second-level sub-components, and so on.
其中,供应体系是指由制造企业生产目标产品相关的下属节点构成的供应网络,以及在各个下属节点间运输的物料的统一编码系统。该下属节点包括工厂节点,仓库节点和销 售节点;该物料包括产品、中间件、原材料、器件和易耗品。Among them, the supply system refers to the supply network composed of subordinate nodes related to the production of target products by manufacturing enterprises, and the unified coding system of materials transported between various subordinate nodes. The subordinate nodes include factory nodes, warehouse nodes and sales nodes. Sales node; the materials include products, middleware, raw materials, components and consumables.
其中,该目标产品加工所需的制造周期是指该目标产品加工所需的每一个BOM对应的加工周期。Among them, the manufacturing cycle required for processing the target product refers to the processing cycle corresponding to each BOM required for processing the target product.
其中,物料运输的路径是指物料运输所经过的节点的顺序,以及相邻顺序的两个节点之间的实际路径,如从A地的节点到B地,再从B地到C地的节点。Among them, the path of material transportation refers to the sequence of nodes through which the material transportation passes, and the actual path between two nodes in adjacent sequences, such as from the node in A to B, and then from B to C. .
在获得该输入数据后,服务器可以基于该输入数据构建目标模型,该目标模型包括基于决策变量的供应约束条件和基于该决策变量的目标函数。After obtaining the input data, the server can build a target model based on the input data, where the target model includes supply constraints based on the decision variables and an objective function based on the decision variables.
其中,供应约束条件为基于该BOM、该制造周期和该转运数据建立,该供应约束条件用于约束该工厂节点和该仓库节点的库存状态保持稳定,该库存状态基于该制造周期和该转运数据决定,该决策变量为基于该目标产品的需求得到,该目标函数用于指示该目标产品的排产计划的优化目标。Among them, the supply constraint condition is established based on the BOM, the manufacturing cycle and the transshipment data. The supply constraint condition is used to constrain the inventory status of the factory node and the warehouse node to remain stable. The inventory status is based on the manufacturing cycle and the transshipment data. Decision, the decision variable is obtained based on the demand of the target product, and the objective function is used to indicate the optimization goal of the production scheduling plan of the target product.
库存状态保持稳定是指库存中所有编码的物料的库存呆滞率保持在尽可能低的水平,以使得生产目标产品的过程尽可能地达到生产的供需平衡,也即当期工厂产线的生产所得到的物料尽可能准确地满足生产需求和市场需求。Keeping the inventory status stable means that the inventory sluggishness rate of all coded materials in the inventory is kept as low as possible, so that the process of producing the target product can achieve the balance of supply and demand of production as much as possible, that is, the production of the current factory production line. The materials meet production needs and market demand as accurately as possible.
可知,供应约束条件实际约束的是整个供应体系的所有节点中物料的库存状态,以使得所有节点中的物料尽可能地保持稳定的状态,减少物料的呆滞积压,从而降低库存成本和生产风险。It can be seen that the supply constraints actually restrict the inventory status of materials in all nodes of the entire supply system, so that the materials in all nodes can maintain a stable state as much as possible, reduce the sluggish backlog of materials, and thereby reduce inventory costs and production risks.
最后,服务器可以调用求解器对该目标模型进行求解,得到排产计划。Finally, the server can call the solver to solve the target model and obtain the production schedule.
其中,排产计划包括该工厂节点加工目标产品的加工量,以及该多个节点之间转运与该目标产品对应的物料的运输量。Among them, the production scheduling plan includes the processing volume of the target product processed by the factory node, and the transportation volume of materials corresponding to the target product between the multiple nodes.
本申请在多工厂排产的场景下,服务器通过获取输入数据,并基于该输入数据构建目标模型,该目标模型中的供应约束条件为基于目标产品的制造周期,以及该目标产品的供应体系中多个节点之间的转运数据建立;通过该供应约束条件使得该多个工厂的供应联合为一个整体,最后对代表该多个工厂的整体排产问题的该目标模型进行求解,得到关于该多个工厂的排产计划,能够减少各个工厂之间的生产冲突,降低库存成本,提高库存齐套率。In this application, in the scenario of multi-factory scheduling, the server obtains input data and builds a target model based on the input data. The supply constraints in the target model are based on the manufacturing cycle of the target product and the supply system of the target product. The transfer data between multiple nodes is established; the supply constraints of the multiple factories are combined into a whole, and finally the target model representing the overall production scheduling problem of the multiple factories is solved to obtain the information about the multiple factories. The production scheduling plan of each factory can reduce production conflicts between factories, reduce inventory costs, and improve the inventory completeness rate.
在一种可能的实现中,该输入数据还包括该工厂节点的产线物料关系;该转运数据包括转运路径和转运周期;该基于该输入数据构建目标模型,包括:基于该BOM、该产线物料关系和该转运路径,从该多个节点中获取加工该目标产品的目标工厂节点和存储该目标产品对应物料的目标仓库节点;基于该制造周期和该转运周期建立每个该目标工厂节点和目标仓库节点的物料库存等式作为该供应约束条件。In a possible implementation, the input data also includes the production line material relationship of the factory node; the transshipment data includes transshipment paths and transshipment cycles; and the target model is built based on the input data, including: based on the BOM, the production line According to the material relationship and the transfer path, the target factory node for processing the target product and the target warehouse node for storing the corresponding materials of the target product are obtained from the multiple nodes; each target factory node and the target warehouse node are established based on the manufacturing cycle and the transfer cycle. The material inventory equation of the target warehouse node serves as the supply constraint.
其中,该转运路径是指物料运输的路径,该转运周期是指物料在两个节点间运输的时间。Among them, the transshipment path refers to the path of material transportation, and the transshipment cycle refers to the time for materials to be transported between two nodes.
其中,产线物料关系用于指示产线的生产所需物料和生产所得物料。Among them, the production line material relationship is used to indicate the materials required for production and the materials obtained from production of the production line.
其中,该物料库存等式用于约束工厂节点或仓库节点中的各项物料在当期的库存状态保持稳定。Among them, the material inventory equation is used to constrain the inventory status of each material in the factory node or warehouse node to remain stable in the current period.
在一种可能的实现中,服务器可以先将基于该输入数据建立该供应体系中所有节点的 物料库存等式,再从该所有节点的物料库存等式中筛选得到等式数据完整的目标物料库存等式作为该供应约束条件。In a possible implementation, the server can first establish the information of all nodes in the supply system based on the input data. The material inventory equation is then filtered from the material inventory equations of all nodes to obtain the target material inventory equation with complete equation data as the supply constraint.
在一种可能的实现中,该基于该制造周期和该转运周期建立每个该目标工厂节点和目标仓库节点的物料库存等式作为该供应约束条件,包括:根据该BOM网络和该制造周期,计算得到该目标工厂节点的加工新增项和加工消耗项;根据该转运网络和该转运周期,计算得到该目标工厂节点和该目标仓库节点的转入新增项和转出消耗项;根据该加工新增项和该转入新增项计算得到库存进项,根据该加工消耗项和该转出消耗项计算得到库存销项;将该库存进项和该库存销项代入预设的库存关系式,建立该物料库存等式作为该供应约束条件。In a possible implementation, establishing a material inventory equation for each target factory node and target warehouse node based on the manufacturing cycle and the transfer cycle as the supply constraint includes: according to the BOM network and the manufacturing cycle, The new processing items and processing consumption items of the target factory node are calculated; according to the transshipment network and the transshipment cycle, the new transfer items and transfer-out consumption items of the target factory node and the target warehouse node are calculated; according to the The inventory input is calculated by processing the new item and the transferred-in new item, and the inventory output is calculated based on the processing consumption item and the transfer-out consumption item; substitute the inventory input and the inventory output into the preset inventory relationship formula, Establish the material inventory equation as the supply constraint.
其中,根据BOM、产线物料关系和制造周期,可以得到每个目标工厂节点关于目标产品的产线的加工新增项和加工消耗项;根据该目标工厂节点、该目标仓库节点以及转运路径和转运周期,可以得到每个目标工厂节点或目标仓库节点被转入的与目标产品对应物料的转入新增项,以及转出的与目标产品对应物料的转出消耗项。Among them, according to the BOM, production line material relationship and manufacturing cycle, the new processing items and processing consumption items of the production line of the target product can be obtained for each target factory node; according to the target factory node, the target warehouse node and the transfer path and In the transfer cycle, you can get the transferred-in new items of materials corresponding to the target product that are transferred into each target factory node or target warehouse node, as well as the transferred-out consumption items of the transferred materials corresponding to the target product.
其中,该库存关系式可以根据预设的供应匹配业务规则得到,该库存关系式为物料库存等式中的一种。The inventory relationship equation can be obtained according to preset supply matching business rules, and the inventory relationship equation is one of the material inventory equations.
在一种可能的实现中,输入数据包括目标产品的需求优先级信息;该基于输入数据构建目标模型,包括:基于该需求优先级信息建立目标函数。In a possible implementation, the input data includes demand priority information of the target product; building the target model based on the input data includes: establishing an objective function based on the demand priority information.
其中,该需求优先级信息用于指示目标产品在排产和生产时的优先级。The demand priority information is used to indicate the priority of the target product in scheduling and production.
在一种可能的实现中,该输入数据还包括业务目标;该基于该需求优先级信息建立该目标函数,包括:根据该业务目标建立初始函数,该初始函数为不考虑该目标产品的需求优先级时指示该目标产品的排产计划的优化目标的函数;根据该需求优先级信息确定惩罚系数,该惩罚系数用于调整该初始函数中各个该决策变量在该业务目标下的优先级;将该惩罚系数赋予该初始函数中对应的决策变量,得到该目标函数。In a possible implementation, the input data also includes business goals; establishing the goal function based on the demand priority information includes: establishing an initial function based on the business goal, and the initial function is a demand priority that does not consider the target product. A function that indicates the optimization goal of the production schedule of the target product; determines a penalty coefficient based on the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal; The penalty coefficient is assigned to the corresponding decision variable in the initial function to obtain the objective function.
其中,该业务目标用于指示排产的优化方向,因此可以理解的是,根据该业务目标建立的初始函数中存在决策变量,服务器可以通过求解初始函数中各决策变量的值可以得到该业务目标下,不考虑该目标产品的需求优先级时的优化排产计划。Among them, the business goal is used to indicate the optimization direction of production scheduling. Therefore, it can be understood that there are decision variables in the initial function established according to the business goal. The server can obtain the business goal by solving the values of each decision variable in the initial function. Under this condition, the optimized production scheduling plan does not consider the demand priority of the target product.
其中,决策变量对应于目标产品的需求,惩罚系数对应于目标产品的需求优先级,因此初始函数中的决策变量与惩罚系数有对应关系。Among them, the decision variable corresponds to the demand of the target product, and the penalty coefficient corresponds to the demand priority of the target product. Therefore, the decision variable in the initial function has a corresponding relationship with the penalty coefficient.
本申请中,通过将需求优先级信息与初始函数相结合,使得在定义目标函数时能够考虑优先级因素,使得服务器在排产时能够优先满足高优先级的需求。In this application, by combining the demand priority information with the initial function, the priority factor can be considered when defining the target function, so that the server can prioritize high-priority demands when scheduling production.
本申请中,通过根据需求优先级信息确定惩罚系数的方式,将决策变量的优先级进行了量化,以便于服务器在根据目标函数进行排产时能够进行优先级相关的运算,进而使得最后得到的排产计划尽可能地符合需求优先级的要求。In this application, the priority of the decision variables is quantified by determining the penalty coefficient based on the demand priority information, so that the server can perform priority-related operations when scheduling production according to the objective function, so that the final obtained The production schedule meets the requirements of demand priorities as much as possible.
在一种可能的实现中,在根据该需求优先级信息确定惩罚系数之前,该方法还包括:根据对应于该决策变量的目标约束要素,计算预设的约束要素函数的可行域,该目标约束要素为求解该初始函数时影响该决策变量在所述业务目标下的优先级的约束要素;该根据该需求优先级信息确定惩罚系数,包括:根据该决策变量的需求优先级和该约束要素函数 的可行域,确定该惩罚系数。In a possible implementation, before determining the penalty coefficient based on the demand priority information, the method further includes: calculating the feasible region of the preset constraint element function based on the target constraint factor corresponding to the decision variable, the target constraint The elements are constraint elements that affect the priority of the decision variable under the business goal when solving the initial function; the penalty coefficient is determined based on the demand priority information, including: based on the demand priority of the decision variable and the constraint element function feasible region, determine the penalty coefficient.
其中,约束要素是指在进行业务目标的优化计算时决策变量的制约因素。Among them, the constraint elements refer to the constraints of decision variables when performing optimization calculations of business objectives.
其中,该约束要素函数用于计算惩罚系数。Among them, the constraint element function is used to calculate the penalty coefficient.
本申请中,通过根据该需求优先级和该约束要素函数的可行域确定惩罚系数,相比依据需求优先级直接确定惩罚系数的方法,能够使惩罚系数更精准,进而能够得到更合理的排产计划。In this application, by determining the penalty coefficient based on the demand priority and the feasible region of the constraint factor function, compared with the method of directly determining the penalty coefficient based on the demand priority, the penalty coefficient can be made more accurate, and a more reasonable production schedule can be obtained plan.
在另一种可能的实现中,服务器可以根据需求优先级信息确定每个优先级对应的惩罚系数,再根据惩罚系数、该目标产品需求和该业务目标建立目标函数。In another possible implementation, the server can determine the penalty coefficient corresponding to each priority based on the demand priority information, and then establish an objective function based on the penalty coefficient, the target product demand and the business goal.
在另一种可能的实现中,该需求优先级信息包括每个该决策变量的需求优先级;根据需求优先级信息确定惩罚系数,包括:根据需求优先级确定对应预设的惩罚系数。In another possible implementation, the demand priority information includes the demand priority of each decision variable; determining a penalty coefficient according to the demand priority information includes: determining a corresponding preset penalty coefficient according to the demand priority.
在一种可能的实现中,该获取输入数据,包括:从基于该供应体系中各个节点的企业资源计划(enterprise resource planning,ERP)系统或制造执行系统(manufacturing execution system,MES)构建的排产计算机网络中获取所述输入数据。In a possible implementation, the input data is obtained, including: production schedules constructed from an enterprise resource planning (ERP) system or a manufacturing execution system (MES) based on each node in the supply system. The input data is obtained from the computer network.
其中,服务器可以通过排产计算机网络自动采集该供应体系中各个节点的上述数据,也可以通过排产计算机网络从由该各个节点的计划调度专员输入的数据文件中获取上述数据;将这些数据进行预处理后得到服务器执行本申请提供的数据处理方法所需的标准格式的数据。Among them, the server can automatically collect the above data of each node in the supply system through the production scheduling computer network, or can obtain the above data from the data file input by the planning and dispatching specialist of each node through the production scheduling computer network; these data can be processed After preprocessing, data in a standard format required by the server to execute the data processing method provided by this application is obtained.
在一种可能的实现中,该目标模型还包括需求匹配约束条件和产能占用约束条件。In one possible implementation, the target model also includes demand matching constraints and capacity occupancy constraints.
其中,需求匹配约束条件基于业务规则中的需求匹配规则得到,用于约束当期新增需求和当期已满足需求的匹配;产能占用约束条件业务规则中的产能占用规则得到,用于约束当期加工量和实际占用产能的匹配。Among them, the demand matching constraints are obtained based on the demand matching rules in the business rules, and are used to constrain the matching of new demand in the current period and the satisfied demand in the current period; the capacity occupancy constraints are obtained based on the capacity occupancy rules in the business rules, and are used to constrain the processing volume in the current period. match the actual occupied capacity.
在一种可能的实现中,该目标模型还包括节假日约束条件。In one possible implementation, the target model also includes holiday constraints.
其中,节假日约束条件基于业务规则中的节假日规则得到,该节假日约束条件用于约束当日期为节假日时,生产、转运和采购的相关数值为0。Among them, the holiday constraint conditions are obtained based on the holiday rules in the business rules. The holiday constraint conditions are used to constrain the relevant values of production, transshipment and procurement to be 0 when the date is a holiday.
本申请第二方面提供一种数据处理装置,包括:A second aspect of this application provides a data processing device, including:
获取单元,用于获取输入数据,该输入数据为多个工厂生产目标产品的相关数据,该输入数据包括该目标产品的需求、该目标产品的供应体系中多个节点之间的转运数据,以及该目标产品加工所需的物料清单BOM和制造周期,该转运数据用于指示物料运输的路径和时间,该多个节点包括工厂节点和仓库节点;The acquisition unit is used to acquire input data, which is data related to the target product produced by multiple factories. The input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and The bill of materials BOM and manufacturing cycle required for the processing of the target product. The transshipment data is used to indicate the path and time of material transportation. The multiple nodes include factory nodes and warehouse nodes;
建模单元,用于基于该输入数据构建目标模型,该目标模型包括基于决策变量的供应约束条件和目标函数,其中,该供应约束条件为基于该制造周期和该转运数据建立,该供应约束条件用于约束该工厂节点和该仓库节点的库存状态保持稳定,该库存状态基于该制造周期和该转运数据决定,该决策变量为基于该目标产品的需求得到,该目标函数用于指示该目标产品的排产计划的优化目标;A modeling unit for constructing a target model based on the input data, the target model including supply constraints and an objective function based on decision variables, wherein the supply constraints are established based on the manufacturing cycle and the transshipment data, and the supply constraints are It is used to constrain the inventory status of the factory node and the warehouse node to remain stable. The inventory status is determined based on the manufacturing cycle and the transshipment data. The decision variable is obtained based on the demand for the target product. The objective function is used to indicate the target product. The optimization goal of the production scheduling plan;
求解单元,用于调用求解器对该目标模型进行求解,得到该排产计划。The solving unit is used to call the solver to solve the target model and obtain the production schedule.
在一种可能的实现中,该输入数据还包括该工厂节点的产线物料关系;该转运数据包括转运路径和转运周期;该建模单元具体用于:基于该BOM、该产线物料关系和该转运路 径,从该多个节点中获取加工该目标产品的目标工厂节点和存储该目标产品对应物料的目标仓库节点;基于该制造周期和该转运周期建立每个该目标工厂节点和所述仓库节点的物料库存等式作为该供应约束条件。In a possible implementation, the input data also includes the production line material relationship of the factory node; the transshipment data includes the transshipment path and transshipment cycle; the modeling unit is specifically used to: based on the BOM, the production line material relationship and The transfer road Path, obtain the target factory node that processes the target product and the target warehouse node that stores the materials corresponding to the target product from the multiple nodes; establish a relationship between each target factory node and the warehouse node based on the manufacturing cycle and the transfer cycle. The material inventory equation serves as this supply constraint.
在一种可能的实现中,该建模单元具体用于:根据该BOM网络和制造周期,计算得到该目标工厂节点的加工新增项和加工消耗项;根据该转运网络和转运周期,计算得到该目标工厂节点和该目标仓库节点的转入新增项和转出消耗项;根据该加工新增项和该转入新增项计算得到库存进项,根据该加工消耗项和该转出消耗项计算得到库存销项;将该库存进项和该库存销项代入预设的库存关系式,建立该物料库存等式作为该供应约束条件。In a possible implementation, the modeling unit is specifically used to: calculate new processing items and processing consumption items of the target factory node based on the BOM network and manufacturing cycle; calculate based on the transshipment network and transshipment cycle. The transfer-in new items and transfer-out consumption items of the target factory node and the target warehouse node; the inventory input is calculated based on the new processing items and the transfer-in new items, and the inventory input is calculated based on the processing consumption items and the transfer-out consumption items. Calculate the inventory output; substitute the inventory input and inventory output into the preset inventory relationship equation, and establish the material inventory equation as the supply constraint.
在一种可能的实现中,该建模单元具体用于:基于该需求优先级信息建立该目标函数。In a possible implementation, the modeling unit is specifically used to: establish the objective function based on the demand priority information.
在一种可能的实现中,该输入数据还包括业务目标;该建模单元具体用于:根据该业务目标建立初始函数,该初始函数为不考虑该目标产品的需求优先级时指示该目标产品的排产计划的优化目标的函数;根据该需求优先级信息确定惩罚系数,该惩罚系数用于调整该初始函数中各个该决策变量在该业务目标下的优先级;将该惩罚系数赋予该初始函数中对应的决策变量,得到该目标函数。In a possible implementation, the input data also includes business goals; the modeling unit is specifically used to: establish an initial function based on the business goals, and the initial function indicates the target product without considering the demand priority of the target product. function of the optimization goal of the production scheduling plan; determine the penalty coefficient based on the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal; assign the penalty coefficient to the initial The corresponding decision variables in the function are used to obtain the objective function.
在一种可能的实现中,该装置还包括:计算单元,用于根据对应于该决策变量的目标约束要素,计算预设的约束要素函数的可行域,该目标约束要素为求解该初始函数时影响该决策变量在该业务目标下的优先级的约束要素;该建模单元具体用于:根据该决策变量的需求优先级和该约束要素函数的可行域,确定该惩罚系数。In a possible implementation, the device further includes: a calculation unit, used to calculate the feasible region of the preset constraint element function according to the target constraint element corresponding to the decision variable, where the target constraint element is when solving the initial function Constraint elements that affect the priority of the decision variable under the business goal; the modeling unit is specifically used to determine the penalty coefficient based on the demand priority of the decision variable and the feasible region of the constraint element function.
在一种可能的实现中,该获取单元具体用于:从基于该供应体系中各个节点的ERP系统或MES构建的排产计算机网络中获取该输入数据。In a possible implementation, the acquisition unit is specifically configured to: acquire the input data from a production scheduling computer network constructed based on the ERP system or MES of each node in the supply system.
本申请第三方面提供了一种计算机设备,包括:处理器、存储器;所述存储器中存储有指令操作或代码;所述处理器配置为与所述存储器通信,并执行所述存储器中的指令操作或代码以执行上述第一方面所述的方法。可选地,该计算机设备还可以包括输入/输出(input/output,I/O)接口。A third aspect of the present application provides a computer device, including: a processor and a memory; instruction operations or codes are stored in the memory; the processor is configured to communicate with the memory and execute instructions in the memory Operations or code to perform the method described in the first aspect above. Optionally, the computer device may also include an input/output (I/O) interface.
本申请第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质包括指令,当所述指令在计算机上运行时,使得计算机执行上述第一方面所述的方法。A fourth aspect of the present application provides a computer-readable storage medium. The computer-readable storage medium includes instructions. When the instructions are run on a computer, they cause the computer to execute the method described in the first aspect.
本申请第五方面提供了一种计算机程序产品,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机设备上运行时,使得所述计算机设备执行上述第一方面所述的方法。A fifth aspect of the present application provides a computer program product, which is characterized in that it includes computer readable instructions. When the computer readable instructions are run on a computer device, the computer device causes the computer device to execute the method described in the first aspect. method.
本申请第六方面提供了一种芯片系统,该芯片系统包括处理器,用于支持上述第二方面的数据处理装置实现上述方面中所涉及的功能,例如生成或处理上述第一方面的方法中所涉及的数据和/或信息。在一种可能的实现中,该芯片系统还包括存储器,该存储器,用于保存该数据处理装置必要的程序指令和数据,以实现上述第一方面的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。A sixth aspect of the present application provides a chip system. The chip system includes a processor for supporting the data processing device of the second aspect to implement the functions involved in the above aspect, such as generating or processing the method of the first aspect. The data and/or information involved. In a possible implementation, the chip system further includes a memory, which is used to store necessary program instructions and data of the data processing device to implement the function of the first aspect. The chip system can be composed of chips or include chips and other discrete devices.
上述第二方面至第六方面提供的方案,用于实现或配合实现上述第一方面提供的方法,因此可以与第一方面达到相同或相应的有益效果,此处不再进行赘述。 The solutions provided by the above-mentioned second aspect to the sixth aspect are used to implement or cooperate with the method provided by the above-mentioned first aspect, and therefore can achieve the same or corresponding beneficial effects as those of the first aspect, and will not be described again here.
附图说明Description of the drawings
图1为本申请实施例提供的数据处理方法的应用体系架构示意图;Figure 1 is a schematic diagram of the application architecture of the data processing method provided by the embodiment of the present application;
图2为本申请实施例提供的数据处理装置的一种部署环境示意图;Figure 2 is a schematic diagram of a deployment environment of the data processing device provided by the embodiment of the present application;
图3为本申请实施例提供的数据处理装置的另一部署环境示意图;Figure 3 is a schematic diagram of another deployment environment of the data processing device provided by the embodiment of the present application;
图4为本申请实施例提供的一种数据处理装置的结构示意图;Figure 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present application;
图5为本申请实施例提供的一种数据处理方法的流程示意图;Figure 5 is a schematic flowchart of a data processing method provided by an embodiment of the present application;
图6为本申请实施例提供的一种数据处理方法的输入数据处理示意图;Figure 6 is a schematic diagram of input data processing of a data processing method provided by an embodiment of the present application;
图7为本申请实施例提供的排产计算机网络的网络架构示意图;Figure 7 is a schematic diagram of the network architecture of the production scheduling computer network provided by the embodiment of the present application;
图8为本申请实施例提供的一种供应体系示意图;Figure 8 is a schematic diagram of a supply system provided by an embodiment of the present application;
图9为本申请实施例提供的累计库存齐套率对比结果图;Figure 9 is a graph showing the comparison results of the cumulative inventory completeness rate provided by the embodiment of the present application;
图10为本申请实施例提供的另一数据处理装置的结构示意图;Figure 10 is a schematic structural diagram of another data processing device provided by an embodiment of the present application;
图11为本申请实施例提供的一种计算机网络的结构示意图。Figure 11 is a schematic structural diagram of a computer network provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,下面结合附图,对本申请的实施例进行描述。显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。In order to make the purpose, technical solutions and advantages of the present application more clear, the embodiments of the present application are described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Persons of ordinary skill in the art will know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的描述在适当情况下可以互换,以便使实施例能够以除了在本申请图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。在本申请中出现的对步骤进行的命名或者编号,并不意味着必须按照命名或者编号所指示的时间/逻辑先后顺序执行方法流程中的步骤,已经命名或者编号的流程步骤可以根据要实现的技术目的变更执行顺序,只要能达到相同或者相类似的技术效果即可。本申请中所出现的单元的划分,是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个单元可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元之间的间接耦合或通信连接可以是电性或其他类似的形式,本申请中均不作限定。并且,作为分离部件说明的单元或子单元可以是也可以不是物理上的分离,可以是也可以不是物理单元,或者可以分布到多个电路单元中,可以根据实际的需要选择其中的部分或全部单元来实现本申请方案的目的。The terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the descriptions so used are interchangeable under appropriate circumstances so as to enable the embodiments to be practiced in a sequence other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules and need not be limited to those explicitly listed. Those steps or modules may instead include other steps or modules not expressly listed or inherent to the processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can be implemented according to the purpose to be achieved. The order of execution can be changed for technical purposes, as long as the same or similar technical effect can be achieved. The division of units presented in this application is a logical division. In actual applications, there may be other divisions. For example, multiple units may be combined or integrated into another system, or some features may be ignored. , or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed may be through some interfaces, and the indirect coupling or communication connection between units may be electrical or other similar forms. There are no restrictions in the application. Furthermore, the units or subunits described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed into multiple circuit units, and some or all of them may be selected according to actual needs. unit to achieve the purpose of this application plan.
随着经济水平的提高,许多制造企业的制造网络不断扩大,并且出于成本考虑,通常会在原料的产出地附近建立相应的工厂,从而使得制造企业的各个工厂处于不同的地理位 置。制造企业的多个工厂可以各自独立地加工生成产品,也可以借助工厂之间的转运路径,获取其他地区工厂根据当地原料加工而成的半成品进行再加工得到产品。With the improvement of economic level, the manufacturing network of many manufacturing companies continues to expand, and for cost considerations, corresponding factories are usually established near the production areas of raw materials, so that the various factories of manufacturing companies are in different geographical locations. Set. Multiple factories of a manufacturing company can process and generate products independently, or they can use the transfer path between factories to obtain semi-finished products processed from local raw materials by factories in other regions and reprocess them to obtain products.
在上述制造企业的多个工厂联合生产的背景下,生产活动还具备多周期、多优先级以及共享性的特征。In the context of the joint production of multiple factories of the above-mentioned manufacturing enterprises, production activities also have the characteristics of multi-cycle, multi-priority and sharing.
具体地,多周期特征是指一次生产活动的安排可以考虑多个周期,例如按天或按周,未来每天或每周的排产计划。Specifically, the multi-period feature means that the arrangement of a production activity can consider multiple periods, such as daily or weekly production schedules in the future.
多优先级特征是指产品需求具有多个优先级,该优先级的确定是基于产品需求来源、需求类型、需求时间、需求数量以及产品特征等属性综合确定。排产计划需要根据需求优先级,决定产品的生产顺序。The multi-priority feature means that product demand has multiple priorities. The priority is determined based on attributes such as product demand source, demand type, demand time, demand quantity, and product characteristics. Production scheduling needs to determine the production sequence of products based on demand priority.
共享性特征包括物料共享,供应网络共享和产线共享。物料共享是指多个产品共用同一种物料;供应网络共享是指一个仓库可以同时供应给多个不同工厂,以及不同工厂之间可以共享物料;产线共享是指工厂的同一条产线可以生产加工多种产品。Sharing features include material sharing, supply network sharing and production line sharing. Material sharing means that multiple products share the same material; supply network sharing means that one warehouse can supply to multiple different factories at the same time, and materials can be shared between different factories; production line sharing means that the same production line in the factory can produce Processes a variety of products.
可知,在多工厂背景下,各个工厂之间的联系和依赖大大加强。现有技术中将多个工厂的联合生产活动安排问题拆分为单个工厂的子问题并进行求解,最后将多个单工厂排产计划组合为整体排产计划的方式,会导致生产冲突增多,生产活动不能顺利进行,进而导致库存成本高,库存齐套率低,制造企业的效益受到影响。It can be seen that in a multi-factory context, the connections and dependencies between various factories are greatly strengthened. In the existing technology, the joint production activity arrangement problem of multiple factories is divided into sub-problems of a single factory and solved, and finally the multiple single factory production schedules are combined into an overall production schedule, which will lead to an increase in production conflicts. Production activities cannot proceed smoothly, which leads to high inventory costs and low inventory consistency, which affects the efficiency of manufacturing companies.
因此,亟需一种能够解决上述问题的生成排产计划的方法。Therefore, there is an urgent need for a method of generating a production scheduling plan that can solve the above problems.
本申请实施例提供一种数据处理方法及相关装置,用于处理数据生成排产计划,并使得采用该排产计划进行生产时能够减少生产冲突,降低库存成本,提高库存齐套率。Embodiments of the present application provide a data processing method and related devices for processing data to generate a production schedule, so that when using the production schedule for production, production conflicts can be reduced, inventory costs can be reduced, and inventory completion rates can be improved.
在供应链计划管理体系中,市场根据销售预测做出要货计划,生产方的产品部门根据市场需求和当前物料供应能力作出主生产计划的需求预测,从而生产方的生产计划部门在此基础上进一步考虑物料、产能、需求优先级、供应网络等各类约束,对未来一段时间的生产计划进行统筹优化。在该管理体系中,生产计划部门需要综合考虑上下游的供需平衡,同时考虑工厂的产能安排进行排产,输出排产计划,提前锁定物料和产能。在排产计划的基础上,产品部门才能输出具体产品的供应计划,做出供应承诺。In the supply chain planning management system, the market makes a demand plan based on sales forecasts, and the manufacturer's product department makes a demand forecast for the main production plan based on market demand and current material supply capacity, so that the manufacturer's production planning department makes a demand forecast based on this. Further consider various constraints such as materials, production capacity, demand priority, and supply network to coordinate and optimize the production plan for the next period of time. In this management system, the production planning department needs to comprehensively consider the balance of upstream and downstream supply and demand, and at the same time consider the factory's production capacity arrangement to schedule production, output the production scheduling plan, and lock in materials and production capacity in advance. On the basis of the production schedule, the product department can output the supply plan for specific products and make supply commitments.
请参阅图1,图1为本申请实施例提供的数据处理方法的应用体系架构100的示意图。如图1所示,该应用体系架构100包括数据处理装置110,主生产计划(master production schedule,MPS)模块120,供应体系节点(如工厂节点、仓库节点和销售节点)的ERP系统或MES130,分配承诺模块140,供应商协同模块150,订单承诺160,库存优化(inventory optimization,IO)模块170,物料需求计划(material requirement planning,MRP)模块180,需求管理模块190,需求冲减模块191,ERP订单管理模块192,以及ERP库存或采购管理模块193。Please refer to Figure 1, which is a schematic diagram of the application architecture 100 of the data processing method provided by the embodiment of the present application. As shown in Figure 1, the application architecture 100 includes a data processing device 110, a master production schedule (MPS) module 120, an ERP system or MES 130 of supply system nodes (such as factory nodes, warehouse nodes and sales nodes), Allocation commitment module 140, supplier collaboration module 150, order commitment 160, inventory optimization (IO) module 170, material requirement planning (material requirement planning, MRP) module 180, demand management module 190, demand reduction module 191, ERP order management module 192, and ERP inventory or purchasing management module 193.
数据处理装置110用于执行本申请提供的数据处理方法,具体用于接收MPS模块120作出的主生产计划的需求预测,以及供应体系节点的ERP系统或MES130提供的生产数据进行排产,得到排产计划;还用于将该排产计划发送至MPS模块120。The data processing device 110 is used to execute the data processing method provided by this application, and is specifically used to receive the demand forecast of the master production plan made by the MPS module 120 and the production data provided by the ERP system or MES130 of the supply system node to schedule production and obtain the schedule. production plan; also used to send the production schedule to the MPS module 120.
数据处理装置110还用于根据得到的排产计划向分配承诺模块140更新产品的可承诺量(available-to-promise,ATP),向供应商协同模块150发送相应的叫料派送请求,以及向 订单承诺模块160作出对现有订单的交期承诺。The data processing device 110 is also used to update the available-to-promise (ATP) of the product to the distribution commitment module 140 according to the obtained production schedule, send a corresponding material delivery request to the supplier collaboration module 150, and The order commitment module 160 makes delivery commitments for existing orders.
MPS120模块用于获取需求冲减模块提供的需求数据,IO模块170提供的物料库存数据,以及供应商协同模块提供的采购承诺,进而根据当前的市场需求和物料供应能力作出主生产计划的需求预测,并将该需求预测发送至数据处理装置110。MPS120模块还用于向分配承诺模块承诺产品的可供应量ATP。The MPS120 module is used to obtain the demand data provided by the demand offset module, the material inventory data provided by the IO module 170, and the procurement commitment provided by the supplier collaboration module, and then make a demand forecast for the master production plan based on the current market demand and material supply capacity. , and sends the demand forecast to the data processing device 110 . The MPS120 module is also used to commit the available supply amount ATP of the product to the allocation commitment module.
供应体系节点的ERP系统或MES130用于提供对应节点的生产数据、物料库存数据以及和其他节点的转运数据。The ERP system or MES130 of the supply system node is used to provide production data, material inventory data and transfer data with other nodes of the corresponding node.
分配承诺模块140用于向需求管理模块190反馈产品的ATP,以及向订单承诺模块160发送除去安全库存和囤货计划等项目的供应量后得到的净预测ATP。The allocation commitment module 140 is used to feed back the ATP of the product to the demand management module 190, and send to the order commitment module 160 the net predicted ATP obtained after excluding the supply of items such as safety stock and stocking plans.
供应商协同模块150用于从ERP库存管理模块或采购管理模块193中获取库存信息和采购信息,并向IO模块170提供该库存信息和该采购信息,以及根据该库存信息和该采购信息向MPS模块120提出采购承诺。The supplier collaboration module 150 is used to obtain inventory information and procurement information from the ERP inventory management module or procurement management module 193, provide the inventory information and the procurement information to the IO module 170, and provide the MPS with the inventory information and the procurement information based on the inventory information and the procurement information. Module 120 proposes a purchase commitment.
订单承诺模块160用于接收市场询单,以及根据获取的净预测ATP和现有订单的承诺交期向市场作出承诺;还用于将承诺的订单存储至ERP订单管理模192。The order commitment module 160 is used to receive market inquiries and make commitments to the market based on the acquired net predicted ATP and the promised delivery date of existing orders; it is also used to store committed orders in the ERP order management module 192 .
IO模块170用于根据MRP模块提供的物料需求信息,供应商协同模块150提供的采购信息和库存信息,以及MPS模块120提供的排产计划或生产计划,进行库存管理。The IO module 170 is used to perform inventory management based on the material demand information provided by the MRP module, the purchasing information and inventory information provided by the supplier collaboration module 150, and the production schedule or production plan provided by the MPS module 120.
MRP模块180用于根据需求冲减模块191提供的冲减后的需求数据,以及IO模块提供的库存信息,计算产品生产所需物料的需求量以及需求时间,确定产品的加工进度和采购日程。The MRP module 180 is used to calculate the demand and demand time for materials required for product production based on the offset demand data provided by the demand offset module 191 and the inventory information provided by the IO module, and determine the processing progress and procurement schedule of the product.
需求管理模块190用于根据ERP订单管理模192提供的订单信息,从销售及运作预测流程模型(S&OP)得到的需求预测,生产方内部的安全库存或囤货计划等项目的产品需求,以及分配承诺模块140提供的可供应量ATP,计算和管理产品的需求;并向分配承诺模块140提供非订单项目需要占用的可供应量ATP,以使得分配承诺模块计算得到净预测ATP。The demand management module 190 is used to generate demand forecasts based on the order information provided by the ERP order management module 192, the demand forecast obtained from the sales and operations forecast process model (S&OP), the product demand of the manufacturer's internal safety stock or stocking plan, and distribution. The available supply ATP provided by the commitment module 140 calculates and manages the demand for the product; and provides the available supply ATP that non-order items need to occupy to the allocation commitment module 140, so that the allocation commitment module calculates the net forecast ATP.
需求冲减模块191用于根据需求管理模块190提供的需求数据和当前产品的可供应量ATP进行需求冲减,得到净预测的需求数据。The demand reduction module 191 is used to perform demand reduction based on the demand data provided by the demand management module 190 and the current supply amount ATP of the product, to obtain net forecast demand data.
ERP订单管理模块192用于提供生产方的订单信息。The ERP order management module 192 is used to provide order information from the producer.
ERP库存管理模块或采购管理模块用于提供生产方的库存信息和采购信息。The ERP inventory management module or procurement management module is used to provide inventory information and procurement information from the producer.
可以理解的是,由于多工厂背景下的生产活动具有共享性特征,同一物料在不同节点或不同产线中可能起到不同的作用,例如物料A在产线1中作为加工原材料,在产线2中作为辅助生产的易耗品。因此,在本申请实施例中,执行本申请提供的数据处理方法时,采用统一编码系统为各种物料进行统一编码,以便供应体系中的各个节点的数据能够统一进行处理。It is understandable that due to the shared characteristics of production activities in a multi-factory context, the same material may play different roles in different nodes or different production lines. For example, material A is used as a raw material for processing in production line 1 and in production line 1. 2 consumables used as auxiliary production. Therefore, in the embodiment of this application, when executing the data processing method provided by this application, a unified coding system is used to uniformly code various materials, so that the data of each node in the supply system can be processed uniformly.
值得注意的,图1仅是本申请实施例提供的一种应用体系架构的示意图,图1中所示设备、器件、模块等之间的位置关系不构成任何限制。It is worth noting that Figure 1 is only a schematic diagram of an application architecture provided by an embodiment of the present application, and the positional relationship between the devices, devices, modules, etc. shown in Figure 1 does not constitute any limitation.
图1中所示的模块或装置可以各自独立地布置于计算机设备上,也可以多个模块或装置共同部署于同一计算机设备上,此处不作具体限定。该计算机设备可以是终端、服务器或其他具有数据处理能力的计算机设备。The modules or devices shown in Figure 1 can be independently arranged on the computer device, or multiple modules or devices can be jointly deployed on the same computer device, which is not specifically limited here. The computer device may be a terminal, a server, or other computer device with data processing capabilities.
请参阅图2和图3,数据处理装置110可以部署于服务器,也可以部署于云端。 Referring to Figures 2 and 3, the data processing device 110 can be deployed on a server or in the cloud.
具体地,如图2所示,在一个实施例中,本申请提供的数据处理装置110也可以采用集中部署的方式或者分布式部署的方式部署在网络节点上,比如企业的机房,研究所服务器或者供应链办公室服务器等,所有的数据通过互联网传输。服务器获取数据后,根据该数据建立目标模型,再采用求解器求解目标模型得到排产计划,最后将该排产计划输出至服务器的人机交互使用界面中。Specifically, as shown in Figure 2, in one embodiment, the data processing device 110 provided by this application can also be deployed on network nodes in a centralized deployment manner or a distributed deployment manner, such as an enterprise's computer room or a research institute server. Or supply chain office server, etc., all data is transmitted through the Internet. After the server obtains the data, it establishes a target model based on the data, then uses a solver to solve the target model to obtain the production schedule, and finally outputs the production schedule to the human-computer interaction interface of the server.
在另一个实施例中,数据处理装置110可以部署于云端,在供应体系节点向云端上传数据后,数据处理装置110利用云端提供的求解器和相关的软件服务,在云端完成目标模型的建立和求解,最后将求解得到的排产计划返回至对应的供应体系节点中。In another embodiment, the data processing device 110 can be deployed in the cloud. After the supply system node uploads data to the cloud, the data processing device 110 uses the solver and related software services provided by the cloud to complete the establishment and creation of the target model in the cloud. Solve, and finally return the solved production schedule to the corresponding supply system node.
以上对本申请实施例提供的数据处理方法的应用体系框架和部署环境进行了说明,下面对本申请实施例提供的数据处理装置的内部结构进行说明。可以参阅图4,图4为本申请提供的一个实施例中数据处理装置的结构示意图,该数据处理装置包括输入单元401,数据预处理单元402,建模求解单元403,数据后处理单元404以及输出单元405。The application system framework and deployment environment of the data processing method provided by the embodiment of the present application have been described above. The internal structure of the data processing device provided by the embodiment of the present application will be described below. Please refer to Figure 4, which is a schematic structural diagram of a data processing device in an embodiment provided by this application. The data processing device includes an input unit 401, a data pre-processing unit 402, a modeling and solving unit 403, a data post-processing unit 404 and Output unit 405.
输入单元401用于将来自供应体系的各个节点,以及来自应用体系中其他装置或模块的输入数据输入至数据预处理单元402。The input unit 401 is used to input input data from various nodes in the supply system and from other devices or modules in the application system to the data preprocessing unit 402.
数据预处理单元402用于将输入单元401输入的输入数据转化为统一的预设的输入格式和标准,具体可以包括统一的物料编码数据、计划时间与工作日历、供应和产能数据、转运路径和偏移量数据。The data preprocessing unit 402 is used to convert the input data input by the input unit 401 into a unified preset input format and standard, which may specifically include unified material coding data, planning time and work calendar, supply and production capacity data, transfer paths and Offset data.
建模求解单元403用于根据预处理后的输入数据进行数学建模以及求解,得到排产计划。The modeling and solving unit 403 is used to perform mathematical modeling and solving based on the preprocessed input data to obtain a production schedule.
数据后处理单元404用于根据排产计划分析计算得到建议制造表、物料转运表、期初期末库存表和产能使用明细表等,这些明细表用于反映需求满足情况、供应使用情况以及欠料情况。数据后处理单元404还用于根据前述表格得到限定标准(pegging)表。The data post-processing unit 404 is used to analyze and calculate based on the production schedule to obtain the recommended manufacturing table, material transfer table, beginning and ending inventory table, production capacity usage detailed table, etc. These detailed tables are used to reflect demand satisfaction, supply and usage, and material shortages. . The data post-processing unit 404 is also used to obtain a pegging table based on the foregoing table.
通过上述表格的基础,数据后处理单元404最终通过输出单元405输出的内容包括:建议任务令,需求满足与延迟情况,物料消耗明细,产能利用明细,物料转运明细,期末库存,供需匹配明细。Based on the above table, the content finally output by the data post-processing unit 404 through the output unit 405 includes: recommended task orders, demand satisfaction and delays, material consumption details, production capacity utilization details, material transfer details, ending inventory, and supply and demand matching details.
可以理解的是,生产方的工作人员可以根据这些输出内容对排产计划进行调整。It is understandable that the production staff can adjust the production schedule based on these output contents.
在图1所示的应用体系架构的基础上,本申请实施例还提供了一种数据处理方法。可以参阅图5,图5为一个实施例中数据处理方法的流程示意图。如图5所示,该数据处理方法包括以下的步骤501-503。Based on the application architecture shown in Figure 1, embodiments of the present application also provide a data processing method. Please refer to FIG. 5 , which is a schematic flowchart of a data processing method in an embodiment. As shown in Figure 5, the data processing method includes the following steps 501-503.
501、数据处理装置获取输入数据。501. The data processing device obtains input data.
其中,该输入数据为多个工厂生产目标产品的相关数据,该输入数据包括目标产品的需求、目标产品的供应体系中多个节点之间的转运数据,以及该目标产品加工所需的BOM和制造周期;该转运数据用于指示物料运输的路径和时间,该多个节点包括工厂节点和仓库节点。Among them, the input data is data related to the production of the target product by multiple factories. The input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and the BOM and BOM required for the processing of the target product. Manufacturing cycle; this transshipment data is used to indicate the path and time of material transportation. The multiple nodes include factory nodes and warehouse nodes.
更具体地,该目标产品的需求包括需求的类型、需求的时间、需求的优先级、需求的数量、需求优先级以及需求的ID。More specifically, the requirements of the target product include the type of requirement, time of requirement, priority of requirement, quantity of requirement, priority of requirement and ID of requirement.
该目标产品加工所需的BOM包括物料的父项编码、子项编码、BOM的用量、BOM的生效日期和失效日期等。 The BOM required for the processing of the target product includes the material's parent code, sub-item code, BOM usage, BOM effective date and expiry date, etc.
输入数据还包括该多个工厂中每个工厂的工作日历与产能信息,具体包括工厂位置ID、标准日期、时间、是否为节假日、产品系列、产能编码和产能公用信息。The input data also includes the work calendar and production capacity information of each factory in the multiple factories, including factory location ID, standard date, time, whether it is a holiday, product series, production capacity code and public capacity information.
输入数据还包括供应数据,该供应数据包括工厂供应数据和仓库供应数据,具体包括物料供应的类型,供应的时间、供应的优先级、供应的数量、供应的ID。The input data also includes supply data, which includes factory supply data and warehouse supply data, specifically including the type of material supply, supply time, supply priority, supply quantity, and supply ID.
请参阅图7,在一种可能的实现中,数据处理装置从基于多个工厂的ERP系统构建的排产计算机网络中获取该输入数据。数据处理装置可以通过该排产计算机网络连接整个供应体系中的工厂节点、组装厂节点、仓库节点和销售节点的ERP系统、MES或其他管理输入数据的软件,并获取相应的数据。Referring to Figure 7, in one possible implementation, the data processing device obtains the input data from a production scheduling computer network built based on ERP systems of multiple factories. The data processing device can connect the ERP system, MES or other software that manages input data at factory nodes, assembly plant nodes, warehouse nodes and sales nodes in the entire supply system through the production scheduling computer network, and obtain corresponding data.
在一种可能的实现中,数据处理装置对该输入数据进行转化为统一的预设的输入格式和标准的预处理后,再执行步骤502。In one possible implementation, the data processing device converts the input data into a unified preset input format and performs standard preprocessing before performing step 502.
502、数据处理装置基于该输入数据构建目标模型。502. The data processing device builds a target model based on the input data.
可以参阅图6,图6为一个实施例中基于该输入数据构建目标模型时的输入数据处理示意图,具体包括步骤601至604。Please refer to FIG. 6 , which is a schematic diagram of input data processing when building a target model based on the input data in one embodiment, specifically including steps 601 to 604.
601、数据处理装置根据该输入数据定义决策变量。601. The data processing device defines decision variables based on the input data.
数据处理装置可以根据输入数据中的目标产品需求和目标产品的编码定义决策变量,例如每种目标产品的加工量,可以定义加工量为X,若加工A产品的工厂包括工厂1和工厂2,则可以定义主决策变量为XA1、XA2The data processing device can define decision variables based on the target product demand in the input data and the coding of the target product. For example, the processing amount of each target product can be defined as X. If the factory that processes product A includes factory 1 and factory 2, Then the main decision variables can be defined as X A1 and X A2 .
另外,在建立目标函数前,数据处理装置也可以根据目标产品需求和业务目标定义辅助决策变量,例如需求满足数量和延迟数量等,该需求满足数量是指某个时间点或某个时间段对于一种需求的已满足数量,该延迟数量是指当期结束后生产的目标产品相对于某一需求的未满足数量。In addition, before establishing the objective function, the data processing device can also define auxiliary decision variables based on the target product requirements and business goals, such as the demand satisfaction quantity and the delay quantity. The demand satisfaction quantity refers to the demand satisfaction quantity at a certain point in time or a certain time period. The satisfied quantity of a demand, the delayed quantity refers to the unsatisfied quantity of the target product produced after the end of the current period relative to a certain demand.
602、数据处理装置根据该输入数据建立约束条件。602. The data processing device establishes constraints based on the input data.
数据处理装置可以根据预设的业务规则和决策变量,以及输入数据中的转运数据、产线信息和目标产品BOM建立约束条件。The data processing device can establish constraints based on preset business rules and decision variables, as well as transshipment data, production line information and target product BOM in the input data.
其中,该业务规则是指对业务定义和约束的描述,用于维持业务结构,控制和影响生产行为。Among them, the business rules refer to the description of business definitions and constraints, which are used to maintain the business structure, control and influence production behavior.
其中,转运数据包括转运周期和转运路径;产线信息包括该多个工厂中每个工厂的产线物料关系和制造周期。Among them, the transshipment data includes transshipment cycles and transshipment paths; the production line information includes production line material relationships and manufacturing cycles of each of the multiple factories.
其中,根据该业务规则中的供应匹配规则,以及该目标产品信息中的BOM、该产线信息、该转运路径和该转运周期可以建立供应约束条件,该供应约束条件用于约束所述工厂节点和所述仓库节点的库存状态保持稳定。Among them, supply constraints can be established according to the supply matching rules in the business rules, as well as the BOM in the target product information, the production line information, the transshipment path and the transshipment cycle, and the supply constraint conditions are used to constrain the factory nodes. And the inventory status of the warehouse node remains stable.
库存状态保持稳定是指库存中所有编码的物料的库存呆滞率保持在尽可能低的水平,可知,供应约束条件实际约束的是整个供应体系的所有节点中物料的库存状态。Keeping the inventory status stable means that the inventory sluggishness rate of all coded materials in the inventory is kept as low as possible. It can be seen that the supply constraints actually constrain the inventory status of materials in all nodes of the entire supply system.
在一种可能的实现中,数据处理装置可以先基于该BOM、该产线物料关系和该转运路径,从该多个节点中获取加工该目标产品的目标工厂节点和存储该目标产品对应物料的目标仓库节点;再基于该制造周期和该转运周期建立每个该目标工厂节点和目标仓库节点的物料库存等式作为该供应约束条件。 In a possible implementation, the data processing device can first obtain the target factory node that processes the target product and the node that stores the corresponding materials of the target product from the multiple nodes based on the BOM, the production line material relationship, and the transfer path. The target warehouse node; and then based on the manufacturing cycle and the transfer cycle, the material inventory equation of each target factory node and target warehouse node is established as the supply constraint.
在一个可能的实施例中,目标产品E的BOM得到加工关系为原料A和原料B加工为半成品D,半成品D和原料C加工为目标产品E;并且,通过该多个工厂的产线物料关系得知工厂1可以将A和B加工为D,工厂2可以将D和C加工为E;同时,A、B、C三种原料均处于中央仓库中,根据转运路径数据得知中央仓库分别与工厂1和工厂2之间能够直接转运,工厂1和工厂2之间也能够直接转运。In a possible embodiment, the BOM of target product E is processed into a processing relationship of raw material A and raw material B being processed into semi-finished product D, and semi-finished product D and raw material C being processed into target product E; and, through the production line material relationships of the multiple factories It is known that factory 1 can process A and B into D, and factory 2 can process D and C into E. At the same time, the three raw materials A, B, and C are all in the central warehouse. According to the transfer path data, it is known that the central warehouse and Direct transshipment is possible between factory 1 and factory 2, and direct transshipment is also possible between factory 1 and factory 2.
具体请参阅图8,图8为该实施例中的供应体系示意图。其中,每一个节点平面表示一个对应的BOM,节点平面中的点为一种物料的编码,节点平面中的箭头用于指示BOM关系,不同节点平面间的箭头用于指示转运关系,可能存在双向转运,图8中所示的单向箭头表示单向转运。Please refer to Figure 8 for details. Figure 8 is a schematic diagram of the supply system in this embodiment. Among them, each node plane represents a corresponding BOM. The points in the node plane are the codes of a material. The arrows in the node plane are used to indicate the BOM relationship. The arrows between different node planes are used to indicate the transfer relationship. There may be two-way Transport, the unidirectional arrow shown in Figure 8 indicates unidirectional transport.
参阅图8可知,目标仓库节点为中央仓库,目标工厂节点为工厂1和工厂2。中央仓库将A和B转运至工厂1,将C转运至工厂2;工厂1将A和B加工为半成品D,并将D转运至工厂2;工厂2将原料C和半成品D加工为目标产品E。Referring to Figure 8, we can see that the target warehouse node is the central warehouse, and the target factory nodes are factory 1 and factory 2. The central warehouse transfers A and B to factory 1, and transfers C to factory 2; factory 1 processes A and B into semi-finished product D, and transfers D to factory 2; factory 2 processes raw material C and semi-finished product D into target product E .
在明确目标产品的加工流程的基础上,可以再基于该目标产品的制造周期和对应的转运周期建立对应目标工厂节点和对应目标仓库节点的物料库存等式作为该供应约束条件。On the basis of clarifying the processing flow of the target product, the material inventory equation corresponding to the target factory node and the corresponding target warehouse node can be established as the supply constraint based on the manufacturing cycle and corresponding transfer cycle of the target product.
其中,该供应匹配规则对应的库存关系式为:
期末库存=期初库存+库存进项-库存出项
期末库存=期初库存+本节点新增供应+其他节点转入-本节点消耗-转出到其他节点
Among them, the inventory relationship corresponding to the supply matching rule is:
Ending inventory = Beginning inventory + Inventory input - Inventory output Ending inventory = Beginning inventory + New supply at this node + Transfer in from other nodes - Consumption at this node - Transfer out to other nodes
根据该库存关系式进一步拓展得到的物料库存等式,结合统一编码系统中各种物料的编码,该物料库存等式可以表示为:
According to the material inventory equation obtained by further expanding the inventory relationship, combined with the coding of various materials in the unified coding system, the material inventory equation can be expressed as:
其中,i表示物料编码,s表示工厂节点或仓库节点,p表示需求优先级,t表示时间,L表示加工周期,PL表示采购周期。变量具体定义如下:供应数量Supplyist,需求满足数量Distp,生产数量Xist,期末库存Nist,转运数量Yis1s2t,建议采购数量DummyPOist,父项物料Parent。BOD表示供应体系。I为指示函数,当输入为True时输出1,当输入为False时输出0。Among them, i represents the material code, s represents the factory node or warehouse node, p represents the demand priority, t represents time, L represents the processing cycle, and PL represents the purchasing cycle. The specific definition of variables is as follows: supply quantity Supply ist , demand satisfaction quantity D istp , production quantity X ist , ending inventory N ist , transshipment quantity Y is1s2t , recommended purchase quantity DummyPO ist , parent material Parent. BOD stands for supply system. I is an indicator function that outputs 1 when the input is True and 0 when the input is False.
在一种可能的实现中,该基于该制造周期和该转运周期建立每个该目标工厂节点和目标仓库节点的物料库存等式作为该供应约束条件,包括:根据该制造周期,计算得到该目标工厂节点的加工新增项和加工消耗项;根据该转运周期,计算得到该目标工厂节点和该 目标仓库节点的转入新增项和转出消耗项;根据该加工新增项和该转入新增项计算得到库存进项,根据该加工消耗项和该转出消耗项计算得到库存销项;将该库存进项和该库存销项代入预设的库存关系式,建立该物料库存等式作为该供应约束条件。In a possible implementation, establishing a material inventory equation for each target factory node and target warehouse node based on the manufacturing cycle and the transfer cycle as the supply constraint includes: calculating the target based on the manufacturing cycle The new processing items and processing consumption items of the factory node; according to the transfer cycle, the target factory node and the The transferred-in new items and transferred-out consumption items of the target warehouse node; the inventory input is calculated based on the new processing items and the transferred-in new items, and the inventory output is calculated based on the processing consumption items and the transferred-out consumption items; Substitute the inventory input and inventory output into the preset inventory relationship equation, and establish the material inventory equation as the supply constraint.
其中,根据物料关系和制造周期,可以得到每个目标工厂节点关于目标产品的产线的加工新增项和加工消耗项;根据该目标工厂节点、该目标仓库节点以及转运周期,可以得到每个目标工厂节点或目标仓库节点被转入的与目标产品对应的原料或半成品的转入新增项,以及转出的与目标产品对应的原料或半成品的转出消耗项。Among them, according to the material relationship and manufacturing cycle, the processing new items and processing consumption items of the production line of the target product can be obtained for each target factory node; according to the target factory node, the target warehouse node, and the transfer cycle, each target factory node can be obtained The new imported items of raw materials or semi-finished products corresponding to the target product that are transferred into the target factory node or target warehouse node, and the transferred-out consumption items of raw materials or semi-finished products corresponding to the target product.
例如,整机(FG)和下层裸机(MF)在工厂A加工,加工时间分别为2天;但加工裸机所需的结构件Part除在工厂A以外,还在中央仓库中,从中央仓库到工厂A的转运周期为2天。因此,以结构件转入的日期为当期,可以构建如下所示的库存平衡等式。For example, the complete machine (FG) and the lower bare metal (MF) are processed in factory A, and the processing time is 2 days respectively; but the structural parts required for processing the bare metal are not only in factory A, but also in the central warehouse, from the central warehouse to The transfer cycle of factory A is 2 days. Therefore, taking the date of transfer of structural parts as the current period, the inventory balance equation as shown below can be constructed.
对于中央仓库:For central warehouse:
结构件Part:期初库存+承诺的供应数量-仓库转出(T-2)=期末库存Structural Parts Part: Beginning inventory + committed supply quantity - warehouse transfer (T-2) = ending inventory
对于工厂A:For factory A:
(1)结构件Part:(1) Structural Parts:
期初库存+采购数量+仓库转入(T)-需求满足(Part)-制造MF的数量(T-2)*BOM用量=期末库存Beginning inventory + purchase quantity + warehouse transfer (T) - demand satisfaction (Part) - quantity of manufacturing MF (T-2) * BOM usage = ending inventory
(2)裸机MF:
期初库存+在制品数量(MF)+新增制造数量(MF,T)-需求满足(MF)-制造FG的数量
(T-2)*BOM用量=期末库存
(2) Bare metal MF:
Beginning inventory + quantity of work in progress (MF) + new manufacturing quantity (MF, T) - demand satisfaction (MF) - quantity of manufactured FG
(T-2)*BOM usage=ending inventory
(3)整机FG:
期初库存+在制品数量(FG)+新增制造数量(FG,T)-需求满足(MF)=期末库存
(3) Complete machine FG:
Beginning inventory + work in progress quantity (FG) + new manufacturing quantity (FG, T) - demand satisfaction (MF) = ending inventory
其中,整机和裸机属于加工件,库存进项包括之前未完工的在制和本期新增制造,库存出项包括自身需求满足;裸机的库存进项与整机类似,但除自身需求(独立订单等)用库存来满足以外,父项(整机)加工也会消耗裸机库存。结构件则属于采购件,其库存进项包括本工厂新增采购到货和从中央仓库转入的供应,其库存出项包括自身需求满足和父项(裸机)消耗。中央仓库的进项为每期供应商承诺到达的供应,出项为从仓库转出到工厂的供应数量。Among them, complete machines and bare metals are processed parts, inventory inputs include previously unfinished work-in-progress and new manufacturing in the current period, and inventory outputs include satisfaction of own needs; inventory inputs for bare metals are similar to complete machines, except for their own needs (independent orders) etc.) are satisfied with inventory, the parent item (complete machine) processing will also consume bare metal inventory. Structural parts are purchased parts, and their inventory inputs include the arrival of new purchases from the factory and supplies transferred from the central warehouse, and their inventory outputs include the satisfaction of their own needs and the consumption of parent items (bare metal). The input of the central warehouse is the supply promised by the supplier in each period, and the output is the supply quantity transferred from the warehouse to the factory.
通过在物料库存等式中引入制造周期和转运周期,通过统一编码系统关联不同物料在不同工厂的供应,能够引导基于该供应约束条件构建的目标模型实现多个工厂的联动排产。By introducing the manufacturing cycle and transfer cycle into the material inventory equation, and correlating the supply of different materials in different factories through a unified coding system, the target model built based on the supply constraints can be guided to realize the coordinated production scheduling of multiple factories.
在一种可能的实现中,服务器可以先将基于该输入数据建立该供应体系中所有节点的物料库存等式,再从该所有节点的物料库存等式中筛选得到等式数据完整的目标物料库存等式作为该供应约束条件。In a possible implementation, the server can first establish the material inventory equations of all nodes in the supply system based on the input data, and then filter the material inventory equations of all nodes to obtain the target material inventory with complete equation data. As this supply constraint, Eq.
在一种可能的实现中,该目标模型还包括需求匹配约束条件、产能占用约束条件和/或节假日约束条件。In one possible implementation, the target model also includes demand matching constraints, capacity occupancy constraints, and/or holiday constraints.
其中,需求匹配约束条件基于业务规则中的需求匹配规则得到,用于约束当期新增需求和当期已满足需求的匹配;产能占用约束条件业务规则中的产能占用规则得到,用于约束当期加工量和实际占用产能的匹配。 Among them, the demand matching constraints are obtained based on the demand matching rules in the business rules, and are used to constrain the matching of new demand in the current period and the satisfied demand in the current period; the capacity occupancy constraints are obtained based on the capacity occupancy rules in the business rules, and are used to constrain the processing volume in the current period. match the actual occupied capacity.
其中,节假日约束条件基于业务规则中的节假日规则得到,该节假日约束条件用于约束当日期为节假日时,生产、转运和采购的相关数值为0。Among them, the holiday constraint conditions are obtained based on the holiday rules in the business rules. The holiday constraint conditions are used to constrain the relevant values of production, transshipment and procurement to be 0 when the date is a holiday.
其中,需求匹配规则为:当期新增需求+历史未满足需求=当期满足需求+当期累计未满足需求;产能占用规则为:当期加工量=当期利用产能*良率,当期利用产能+当期放空产能=当期总产能;节假日规则为:节假日的生产、转运、采购=0。Among them, the demand matching rule is: new demand in the current period + historical unsatisfied demand = satisfied demand in the current period + accumulated unsatisfied demand in the current period; the production capacity occupation rule is: processing volume in the current period = production capacity utilized in the current period * yield, production capacity utilized in the current period + empty production capacity in the current period =Total production capacity for the current period; holiday rules are: production, transshipment, and procurement on holidays = 0.
其中,需求匹配约束条件的数学等式:
Demandistp+GAPis(t-1)p=Distp+GAPistp
Among them, the mathematical equation of demand matching constraints:
Demand istp +GAP is(t-1)p =D istp +GAP istp
产能占用约束条件的数学等式为:

The mathematical equation of capacity occupancy constraints is:

节假日约束条件条件的等式为:

The equation for the holiday constraint condition is:

其中,i表示编码,s表示工厂或仓库,p表示需求优先级,t表示时间,g表示产能共用组。变量具体定义如下:需求满足数量Distp,累计需求延迟数量GAPitsp,生产数量Xitsp,转运数量Yis1s2t,建议采购数量DummyPOist,产能占用数量CapUsedisgt,当期新增需求Demandistp,良品率Utilizationisg,产能放空数量CapLeftgst,总产能CapacitygstAmong them, i represents coding, s represents factory or warehouse, p represents demand priority, t represents time, and g represents capacity sharing group. The variables are specifically defined as follows : demand satisfaction quantity D istp , cumulative demand delay quantity GAP itsp , production quantity isg , capacity short quantity CapLeft gst , total capacity Capacity gst .
603、数据处理装置根据该输入数据建立目标函数。603. The data processing device establishes an objective function based on the input data.
数据处理装置可以根据输入数据中的目标产品需求、业务目标和需求优先级信息建立目标函数。The data processing device can establish an objective function based on target product requirements, business objectives and requirement priority information in the input data.
在一种可能的实现中,数据处理装置可以先根据该业务目标建立初始函数;再根据该需求优先级信息确定惩罚系数;最后将该惩罚系数赋予该初始函数中对应的决策变量,得到该目标函数。In a possible implementation, the data processing device can first establish an initial function based on the business goal; then determine a penalty coefficient based on the demand priority information; and finally assign the penalty coefficient to the corresponding decision variable in the initial function to obtain the goal. function.
其中,该惩罚系数用于调整该初始函数中各个该决策变量在该业务目标下的优先级。The penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal.
其中,该初始函数为不考虑该目标产品的需求优先级时指示该目标产品的排产计划的优化目标的函数。Wherein, the initial function is a function indicating the optimization objective of the production schedule of the target product without considering the demand priority of the target product.
其中,该需求优先级信息用于指示目标产品在排产时的优先级。The demand priority information is used to indicate the priority of the target product during production scheduling.
具体地,确定惩罚系数的方法可以是:数据处理装置根据对应于该决策变量的目标约 束要素,计算预设的约束要素函数的可行域;再根据该决策变量的需求优先级和该约束要素函数的可行域,确定该惩罚系数。Specifically, the method for determining the penalty coefficient may be: the data processing device determines the penalty coefficient based on the target approximation corresponding to the decision variable. Constraint elements are used to calculate the feasible region of the preset constraint element function; and then the penalty coefficient is determined based on the demand priority of the decision variable and the feasible region of the constraint element function.
其中,该目标约束要素为求解该初始函数时影响该决策变量在所述业务目标下的优先级的约束要素。Wherein, the target constraint element is a constraint element that affects the priority of the decision variable under the business goal when solving the initial function.
其中,该约束要素函数用于计算惩罚系数。Among them, the constraint element function is used to calculate the penalty coefficient.
在计算惩罚系数的一种可能实现中,当惩罚系数参考所有需求优先级对应的目标约束要素进行计算时,约束要素函数可以为:
F(obj1,obj2,...,objn)>Max(objx/objy)(x>y,x,y∈n)
In one possible implementation of calculating the penalty coefficient, when the penalty coefficient is calculated with reference to the target constraint elements corresponding to all demand priorities, the constraint element function can be:
F(obj 1 ,obj 2 ,...,obj n )>Max(obj x /obj y )(x>y,x,y∈n)
其中,objn为需求优先级为n的决策变量对应的目标约束要素,需求优先级共n级。Among them, obj n is the target constraint element corresponding to the decision variable with demand priority n, and there are n levels of demand priority.
对应的惩罚系数的计算等式为:
Penaltyp=F(obj1,obj2,...,objn)n-p
The corresponding calculation equation of the penalty coefficient is:
Penalty p =F(obj 1 ,obj 2 ,...,obj n ) np
其中,Penaltyp为需求优先级为P的决策变量对应的惩罚系数。Among them, Penalty p is the penalty coefficient corresponding to the decision variable with demand priority P.
在计算惩罚系数的另一种可能实现中,当惩罚系数参考相邻的需求优先级对应的目标约束要素进行计算时,约束要素函数可以为:
f(objn)=Penaltyp/Penaltyp+1
In another possible implementation of calculating the penalty coefficient, when the penalty coefficient is calculated with reference to the target constraint elements corresponding to adjacent demand priorities, the constraint element function can be:
f(obj n )=Penalty p /Penalty p+1
该约束要素函数中的参数含义与前述等式一致,此处不再赘述。The meaning of the parameters in this constraint feature function is consistent with the aforementioned equation and will not be described again here.
对应的惩罚系数的计算等式为:
Penaltyp=Penaltyp+1*f(objn)
Penaltyn=BasicPenalty
The corresponding calculation equation of the penalty coefficient is:
Penalty p = Penalty p+1 *f(obj n )
Penalty n = Basic Penalty
其中,BasicPenalty为预设的惩罚基数。Among them, BasicPenalty is the preset penalty base.
例如,某个订单中,有目标产品A、B和C三种需求各100,A、B和C三种需求的优先级依次降低,分别为1,2和3。A、B和C共用物料D,对应的BOM用量分别为10,5和1。业务目标为最大化目标产品的齐套,也即最小化目标产品的延迟数量,可以构建初始函数为:For example, in a certain order, there are three requirements for target products A, B and C, each of which is 100. The priorities of the three requirements of A, B and C decrease in order, to 1, 2 and 3 respectively. A, B and C share material D, and the corresponding BOM quantities are 10, 5 and 1 respectively. The business goal is to maximize the complete set of target products, that is, to minimize the number of delays in target products. The initial function can be constructed as:
Min GAPA+GAPB+GAPC Min GAP A +GAP B +GAP C
其中,GAPn为目标产品的延迟数量。Among them, GAP n is the delayed quantity of the target product.
当排产目标为最大化需求满足时,这100件D会完全分配给C使用,最多可齐套100件C。但该结果违背了需求优先级原则,优先级比C更高的A和B需求均没有被满足。导致出现这一结果的关键因素是排产目标中涉及的BOM用量,低需求优先级的C对瓶颈物料D的单位需求量小于高需求优先级的A和B。因此,可以确定目标约束要素为BOM用量,得到obj1=10,obj2=5,obj3=1。When the production scheduling goal is to maximize demand satisfaction, these 100 pieces of D will be completely allocated to C, and up to 100 pieces of C can be used together. However, this result violates the principle of demand priority, and the requirements of A and B with a higher priority than C are not satisfied. The key factor leading to this result is the BOM usage involved in the production scheduling target. The unit demand for bottleneck material D by C with low demand priority is smaller than A and B with high demand priority. Therefore, the target constraint element can be determined to be the BOM amount, and obj 1 =10, obj 2 =5, and obj 3 =1 are obtained.
当采用第一种可能实现计算惩罚系数时,可以计算得到F(obj1,obj2,...,objn)>10,数据处理装置可以从该可行域中取任意数值进行惩罚系数的计算,例如11。当F(obj1,obj2,...,objn)=11时,对应的惩罚系数可以计算得到Penalty1=121,Penalty2=11,Penalty3=1。When the first possible implementation is used to calculate the penalty coefficient, it can be calculated that F (obj 1 , obj 2 ,..., obj n )>10, and the data processing device can take any value from the feasible region to calculate the penalty coefficient. , for example 11. When F(obj 1 , obj 2 ,..., obj n )=11, the corresponding penalty coefficients can be calculated as Penalty 1 =121, Penalty 2 =11, and Penalty 3 =1.
当采用第二种可能实现计算惩罚系数时,可以先构造惩罚成本。 When using the second possible implementation to calculate the penalty coefficient, the penalty cost can be constructed first.
方案1.1:如果D完全用来制造A,A可满足10件,GAPA=90,GAPB=100,GAPC=100。Option 1.1: If D is completely used to manufacture A, A can satisfy 10 pieces, GAP A = 90, GAP B = 100, GAP C = 100.
方案1.2:如果D完全用来制造B,B可满足20件,GAPA=100,GAPB=80,GAPC=100。Option 1.2: If D is completely used to manufacture B, B can satisfy 20 pieces, GAP A = 100, GAP B = 80, GAP C = 100.
方案1.3:如果D完全用来制造C,C可满足100件,GAPA=100,GAPB=100,GAPC=0。Option 1.3: If D is completely used to manufacture C, C can satisfy 100 pieces, GAP A = 100, GAP B = 100, GAP C = 0.
通过最小化惩罚成本的方式引导数据处理装置排产时优先满足高优先级的需求,可以使得方案1.1的惩罚成本小于方案1.2的惩罚成本,方案1.2的惩罚成本小于方案1.3的惩罚成本。即可建立算式:
P1*90+P2*100+P3*100<P1*100+P2*80+P3*100
P1*100+P2*80+P3*100<P1*100+P2*100+P3*0
By minimizing the penalty cost and guiding the data processing device to prioritize high-priority requirements during production scheduling, the penalty cost of plan 1.1 can be smaller than the penalty cost of plan 1.2, and the penalty cost of plan 1.2 can be smaller than the penalty cost of plan 1.3. You can create a calculation:
P 1 *90+P 2 *100+P 3 *100<P 1 *100+P 2 *80+P 3 *100
P 1 *100+P 2 *80+P 3 *100<P 1 *100+P 2 *100+P 3 *0
计算得到P1>2P2,P2>5P3,进而可以得到f(obj1)>2,f(obj2)>5。The calculation results are P 1 > 2P 2 and P 2 > 5P 3 , and further we can obtain f(obj 1 ) > 2 and f (obj 2 ) > 5.
其中,Pn为惩罚系数,n为需求优先级。Among them, P n is the penalty coefficient, and n is the demand priority.
可以取f(obj1)=2.1,f(obj2)=5.1,惩罚基数BasicPenalty=1,进而计算得到P1=1,P2=5.1,P3=10.71。We can assume that f(obj 1 )=2.1, f(obj 2 )=5.1, and the penalty base BasicPenalty=1, and then calculate P 1 =1, P 2 =5.1, and P 3 =10.71.
可以理解的是,上述惩罚系数的计算是针对于初始函数为Min函数而采取的计算等式,使得惩罚系数逐级增大,进而能够引导数据处理装置在排产时优先满足高优先级的需求。当初始函数为Max函数时,可以变化上述计算等式,使得惩罚系数逐级减小,同样能够引导数据处理装置在排产时优先满足高优先级的需求,此为根据本申请实施例的发明思路进行的简单演变,对应的方案同样处于本申请的保护范围中,此处不再赘述。It can be understood that the calculation of the penalty coefficient is based on the calculation equation adopted when the initial function is the Min function, so that the penalty coefficient increases step by step, which can guide the data processing device to give priority to satisfying high-priority needs during production scheduling. . When the initial function is the Max function, the above calculation equation can be changed so that the penalty coefficient is gradually reduced, which can also guide the data processing device to give priority to satisfying high-priority requirements during production scheduling. This is an invention according to the embodiment of the present application. The simple evolution of the idea and the corresponding solution are also within the protection scope of this application and will not be described again here.
本申请实施例可以通过根据需求优先级信息确定惩罚系数的方式,将决策变量的优先级进行了量化,以便于服务器在根据目标函数进行排产时能够进行优先级相关的运算,进而使得最后得到的排产计划尽可能地符合需求优先级的要求。The embodiments of this application can quantify the priority of decision variables by determining the penalty coefficient based on demand priority information, so that the server can perform priority-related operations when scheduling production according to the objective function, so that the final result is The production scheduling plan meets the requirements of demand priority as much as possible.
在另一种可能的实现中,该需求优先级信息包括每个该决策变量的需求优先级;数据处理装置可以根据需求优先级确定对应预设的惩罚系数。In another possible implementation, the demand priority information includes the demand priority of each decision variable; the data processing device can determine the corresponding preset penalty coefficient according to the demand priority.
其中,数据处理装置可以先根据目标产品需求和业务目标建立初始函数,再根据需求优先级确定对应预设的惩罚系数,最后将该惩罚系数赋予该初始函数中对应的决策变量,得到所述目标函数。Among them, the data processing device can first establish an initial function according to the target product requirements and business goals, then determine the corresponding preset penalty coefficient according to the demand priority, and finally assign the penalty coefficient to the corresponding decision variable in the initial function to obtain the goal function.
例如,数据处理装置根据初始函数确定惩罚系数的变化方向后,设定最高或最低优先级的惩罚系数作为基数,再根据需求优先级信息确定需求优先级为N的决策变量的惩罚系数为需求优先级为N+1的决策变量的惩罚系数的100倍或100分之一,从而引导排产时优先满足需求优先级为N的决策变量。For example, after the data processing device determines the change direction of the penalty coefficient based on the initial function, it sets the penalty coefficient with the highest or lowest priority as the base, and then determines the penalty coefficient of the decision variable with demand priority N as demand priority based on the demand priority information. The penalty coefficient of the decision variable with level N+1 is 100 times or one-hundredth of one, thereby guiding decision variables with demand priority N to be given priority when scheduling production.
在另一种可能的实现中,数据处理装置还可以根据需求优先级信息确定每个优先级对应的惩罚系数,再根据惩罚系数、该目标产品需求和该业务目标建立目标函数。In another possible implementation, the data processing device can also determine the penalty coefficient corresponding to each priority based on the demand priority information, and then establish an objective function based on the penalty coefficient, the target product demand and the business goal.
可以理解的时,步骤602和步骤603没有固定的执行顺序,可以同时执行该两个步骤,也可以按照特定或随机的顺序执行。It can be understood that there is no fixed execution order of step 602 and step 603, and the two steps can be executed at the same time, or in a specific or random order.
604、数据处理装置根据该决策变量、该约束条件和该目标函数构建目标模型。604. The data processing device constructs an objective model based on the decision variable, the constraint condition and the objective function.
其中,该目标模型为数学模型。Among them, the target model is a mathematical model.
503、数据处理装置求解目标模型,得到排产计划。503. The data processing device solves the target model and obtains the production schedule.
本申请实施例在多工厂排产的场景下,数据处理装置通过获取输入数据,并基于该输 入数据构建目标模型,该目标模型中的供应约束条件为基于目标产品的制造周期,以及该目标产品的供应体系中多个节点之间的转运数据建立;通过该供应约束条件使得该多个工厂的库存联合为一个整体,最后将代表该多个工厂的整体排产问题的该目标模型进行求解,得到关于该多个工厂的排产计划,能够减少各个工厂之间的生产冲突,降低库存成本,提高库存齐套率。In the embodiment of the present application, in the scenario of multi-factory production scheduling, the data processing device obtains input data and generates data based on the input data. Input data to construct a target model. The supply constraints in the target model are established based on the manufacturing cycle of the target product and the transfer data between multiple nodes in the supply system of the target product; through the supply constraints, the multiple factories The inventories are combined into a whole, and finally the target model representing the overall production scheduling problem of the multiple factories is solved to obtain the production scheduling plans for the multiple factories, which can reduce production conflicts between various factories and reduce inventory costs. , improve the inventory completeness rate.
下面将结合实际的生产数据,对本申请实施例的有益效果进行进一步地说明,请参阅图9和表1,本申请实施例提供的累计库存齐套率对比结果图。The beneficial effects of the embodiments of the present application will be further described below in conjunction with actual production data. Please refer to Figure 9 and Table 1, which are the cumulative inventory completion rate comparison results provided by the embodiments of the present application.
本申请以3对相似的终端产品订单为对照对象,每对订单分别采用本申请提供的数据处理方法和现有技术将多工厂问题解耦为多个单工厂问题排产的方法进行排产,统计一个周期内总共4周的累计齐套率,对比的统计结果如图9和表1。
This application uses three pairs of similar terminal product orders as comparison objects. Each pair of orders is scheduled using the data processing method provided by this application and the existing technology to decouple multi-factory problems into multiple single-factory problem scheduling methods. The cumulative matching rate for a total of 4 weeks in a cycle is calculated. The comparative statistical results are shown in Figure 9 and Table 1.
表1Table 1
可以看到采用本申请提供的数据处理方法时,相较于现有技术,平均累计库存需求齐套率可以提升超过5%,并且改善80%产品的累计库存齐套率,所有产品系列中,库存齐套率获得改善的接近80%。It can be seen that when using the data processing method provided by this application, compared with the existing technology, the average cumulative inventory demand fulfillment rate can be increased by more than 5%, and the cumulative inventory fulfillment rate of 80% of products is improved. Among all product series, Inventory completeness rate improved to nearly 80%.
上面对本申请实施例中的数据处理方法进行了描述,下面对本申请实施例中的数据处理装置进行描述,请参阅图10,本申请实施例中的数据处理装置1000一个实施例包括:The data processing method in the embodiment of the present application is described above, and the data processing device in the embodiment of the present application is described below. Please refer to Figure 10. An example of the data processing device 1000 in the embodiment of the present application includes:
获取单元1001,用于获取输入数据,该输入数据为多个工厂生产目标产品的相关数据,该输入数据包括该目标产品的需求、该目标产品的供应体系中多个节点之间的转运数据,以及该目标产品加工所需的物料清单BOM和制造周期,该转运数据用于指示物料运输的路径和时间,该多个节点包括工厂节点和仓库节点;The acquisition unit 1001 is used to acquire input data. The input data is data related to the target product produced by multiple factories. The input data includes the demand for the target product and the transfer data between multiple nodes in the supply system of the target product. As well as the bill of materials BOM and manufacturing cycle required for the processing of the target product, the transshipment data is used to indicate the path and time of material transportation. The multiple nodes include factory nodes and warehouse nodes;
建模单元1002,用于基于该输入数据构建目标模型,该目标模型包括基于决策变量的供应约束条件和目标函数,其中,该供应约束条件为基于该制造周期和该转运数据建立,该供应约束条件用于约束该工厂节点和该仓库节点的库存状态保持稳定,该库存状态基于该制造周期和该转运数据决定,该决策变量为基于该目标产品的需求得到,该目标函数用于指示该目标产品的排产计划的优化目标;The modeling unit 1002 is configured to build a target model based on the input data. The target model includes supply constraints and objective functions based on decision variables, where the supply constraints are established based on the manufacturing cycle and the transshipment data. The supply constraints The conditions are used to constrain the inventory status of the factory node and the warehouse node to remain stable. The inventory status is determined based on the manufacturing cycle and the transshipment data. The decision variable is obtained based on the demand for the target product. The objective function is used to indicate the goal. Optimization goals of product scheduling plans;
求解单元1003,用于调用求解器对该目标模型进行求解,得到该排产计划。The solving unit 1003 is used to call the solver to solve the target model and obtain the production scheduling plan.
本申请实施例在多工厂排产的场景下,数据处理装置通过获取单元1001获取输入数据,并通过建模单元1002基于该输入数据构建目标模型,该目标模型中的供应约束条件为基于目标产品的制造周期,以及该目标产品的供应体系中多个节点之间的转运数据建立;通过该供应约束条件使得该多个工厂的供应联合为一个整体,最后通过求解单元1003对代表该 多个工厂的整体排产问题的该目标模型进行求解,得到关于该多个工厂的排产计划,能够减少各个工厂之间的生产冲突,降低库存成本,提高库存齐套率。In the embodiment of the present application, in the scenario of multi-factory production scheduling, the data processing device obtains input data through the acquisition unit 1001, and builds a target model based on the input data through the modeling unit 1002. The supply constraints in the target model are based on the target product. The manufacturing cycle of the target product, and the transfer data between multiple nodes in the supply system of the target product are established; through the supply constraints, the supply of the multiple factories is combined into a whole, and finally the solving unit 1003 is used to represent the This objective model is used to solve the overall production scheduling problem of multiple factories and obtain the production scheduling plans for the multiple factories, which can reduce production conflicts between factories, reduce inventory costs, and improve the inventory completeness rate.
在一种可能的实现中,该输入数据还包括该工厂节点的产线物料关系;该转运数据包括转运路径和转运周期;该建模单元1002具体用于:基于该BOM、该产线物料关系和该转运路径,从该多个节点中获取加工该目标产品的目标工厂节点和存储该目标产品对应物料的目标仓库节点;基于该制造周期和该转运周期建立每个该目标工厂节点和所述仓库节点的物料库存等式作为该供应约束条件。In a possible implementation, the input data also includes the production line material relationship of the factory node; the transshipment data includes the transshipment path and transshipment cycle; the modeling unit 1002 is specifically used to: based on the BOM, the production line material relationship and the transfer path, obtain the target factory node for processing the target product and the target warehouse node for storing the materials corresponding to the target product from the multiple nodes; establish each target factory node and the said target product based on the manufacturing cycle and the transfer cycle. The material inventory equation of the warehouse node serves as the supply constraint.
在一种可能的实现中,该建模单元1002具体用于:根据该BOM和该制造周期,计算得到该目标工厂节点的加工新增项和加工消耗项;根据该转运路径和该转运周期,计算得到该目标工厂节点和该目标仓库节点的转入新增项和转出消耗项;根据该加工新增项和该转入新增项计算得到库存进项,根据该加工消耗项和该转出消耗项计算得到库存销项;将该库存进项和该库存销项代入预设的库存关系式,建立该物料库存等式作为该供应约束条件。In a possible implementation, the modeling unit 1002 is specifically configured to: calculate new processing items and processing consumption items of the target factory node based on the BOM and the manufacturing cycle; based on the transshipment path and the transshipment cycle, Calculate the transfer-in new items and transfer-out consumption items of the target factory node and the target warehouse node; calculate the inventory input based on the new processing items and the transfer-in new items, and calculate the inventory input items based on the processing consumption items and the transfer-out items. The consumption item is calculated to obtain the inventory output item; the inventory input item and the inventory output item are substituted into the preset inventory relationship equation, and the material inventory equation is established as the supply constraint condition.
在一种可能的实现中,该建模单元1002具体用于:基于该需求优先级信息建立该目标函数。In a possible implementation, the modeling unit 1002 is specifically configured to establish the objective function based on the demand priority information.
在一种可能的实现中,该输入数据还包括业务目标;该建模单元1002具体用于:根据该业务目标建立初始函数,该初始函数为不考虑该目标产品的需求优先级时指示该目标产品的排产计划的优化目标的函数;根据该需求优先级信息确定惩罚系数,该惩罚系数用于调整该初始函数中各个该决策变量在该业务目标下的优先级;将该惩罚系数赋予该初始函数中对应的决策变量,得到该目标函数。In a possible implementation, the input data also includes business goals; the modeling unit 1002 is specifically configured to: establish an initial function based on the business goals, and the initial function indicates the goal without considering the demand priority of the target product. The function of the optimization goal of the product's production scheduling plan; determine the penalty coefficient based on the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal; assign the penalty coefficient to the The corresponding decision variables in the initial function are used to obtain the objective function.
在一种可能的实现中,该装置1000还包括:计算单元1004,用于根据对应于该决策变量的目标约束要素,计算预设的约束要素函数的可行域,该目标约束要素为求解该初始函数时影响该决策变量在该业务目标下的优先级的约束要素;该建模单元1002具体用于:根据该决策变量的需求优先级和该约束要素函数的可行域,确定该惩罚系数。In a possible implementation, the device 1000 further includes: a calculation unit 1004, configured to calculate the feasible region of the preset constraint element function according to the target constraint element corresponding to the decision variable, the target constraint element being to solve the initial The function is a constraint element that affects the priority of the decision variable under the business goal; the modeling unit 1002 is specifically used to determine the penalty coefficient according to the demand priority of the decision variable and the feasible region of the constraint element function.
在一种可能的实现中,该获取单元1001具体用于:从基于该供应体系中各个节点的ERP系统或MES构建的排产计算机网络中获取该输入数据。In one possible implementation, the acquisition unit 1001 is specifically configured to: acquire the input data from a production scheduling computer network constructed based on the ERP system or MES of each node in the supply system.
本申请实施例提供的数据处理装置1000可以参阅前述数据处理方法实施例部分的相应内容进行理解,此处不再重复赘述。The data processing device 1000 provided in the embodiment of the present application can be understood by referring to the corresponding content of the foregoing data processing method embodiment, and the details will not be repeated here.
如图11所示,为本申请的实施例提供的计算机设备1100的一种可能的逻辑结构示意图。计算机设备1100包括:处理器1101、通信接口1102、存储器1103以及总线1104,该处理器1101可以包括CPU,或者,CPU与GPU和NPU和其他类型的处理器中的至少一个。处理器1101、通信接口1102以及存储器1103通过总线1104相互连接。在本申请的实施例中,处理器1101用于对计算机设备1100的动作进行控制管理,例如,处理器1101用于执行图5中的步骤和/或用于本文所描述的技术的其他过程。通信接口1102用于支持计算机设备1100进行通信。存储器1103用于存储计算机设备800的程序代码和数据。As shown in FIG. 11 , a possible logical structure diagram of a computer device 1100 is provided for an embodiment of the present application. The computer device 1100 includes a processor 1101, a communication interface 1102, a memory 1103, and a bus 1104. The processor 1101 may include a CPU, or at least one of a CPU and a GPU, an NPU, and other types of processors. The processor 1101, the communication interface 1102, and the memory 1103 are connected to each other through a bus 1104. In the embodiment of the present application, the processor 1101 is used to control and manage the actions of the computer device 1100. For example, the processor 1101 is used to perform the steps in FIG. 5 and/or other processes for the technology described herein. The communication interface 1102 is used to support the computer device 1100 to communicate. Memory 1103 is used to store program code and data for computer device 800 .
其中,处理器1101可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和 电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。总线1104可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The processor 1101 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and functions described in connection with the disclosure of this application. circuit. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on. The bus 1104 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 11, but it does not mean that there is only one bus or one type of bus.
在本申请的另一实施例中,还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当设备的至少一个处理器执行该计算机执行指令时,设备执行上述图5部分实施例所描述的数据处理方法。In another embodiment of the present application, a computer-readable storage medium is also provided. Computer-executable instructions are stored in the computer-readable storage medium. When at least one processor of the device executes the computer-executed instructions, the device executes the above figure. Data processing methods described in Part 5 embodiments.
在本申请的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;设备的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得设备执行上述图5部分实施例所描述的数据处理方法。In another embodiment of the present application, a computer program product is also provided. The computer program product includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium; at least one processor of the device can obtain data from a computer-readable storage medium. The storage medium is read to read the computer execution instructions, and at least one processor executes the computer execution instructions to cause the device to execute the data processing method described in part of the embodiment in FIG. 5 .
在本申请的另一实施例中,还提供一种芯片系统,该芯片系统包括处理器,用于支持上述数据处理装置实现上述数据处理方法中所涉及的功能。在一种可能的实现中,该芯片系统还包括存储器,该存储器,用于保存该数据处理装置必要的程序指令和数据,以实现上述数据处理方法的功能。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In another embodiment of the present application, a chip system is also provided. The chip system includes a processor and is used to support the above-mentioned data processing device to implement the functions involved in the above-mentioned data processing method. In a possible implementation, the chip system further includes a memory, which is used to store necessary program instructions and data of the data processing device to implement the functions of the above data processing method. The chip system can be composed of chips or include chips and other discrete devices.
以上对本申请实施例进行了详细介绍,本申请实施例方法中的步骤可以根据实际需要进行顺序调度、合并或删减;本申请实施例装置中的模块可以根据实际需要进行划分、合并或删减。The above is a detailed introduction to the embodiments of the present application. The steps in the methods of the embodiments of the present application can be sequentially scheduled, merged or deleted according to actual needs; the modules in the devices of the embodiments of the present application can be divided, merged or deleted according to actual needs. .
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不对应本申请实施例的实施过程构成任何限定。It will be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, which does not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.
应理解,在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B only based on A. B can also be determined based on A and/or other information.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请实施例所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点, 所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the embodiments of this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. another point, The coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请实施例各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。 If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

Claims (17)

  1. 一种数据处理方法,其特征在于,所述方法包括:A data processing method, characterized in that the method includes:
    获取输入数据,所述输入数据为多个工厂生产目标产品的相关数据,所述输入数据包括所述目标产品的需求、所述目标产品的供应体系中多个节点之间的转运数据,以及所述目标产品加工所需的物料清单BOM和制造周期,所述转运数据用于指示物料运输的路径和时间,所述多个节点包括工厂节点和仓库节点;Obtain input data, which is data related to the target product produced by multiple factories. The input data includes the demand for the target product, the transfer data between multiple nodes in the supply system of the target product, and all The bill of materials BOM and manufacturing cycle required for the processing of the target product are described. The transshipment data is used to indicate the path and time of material transportation. The multiple nodes include factory nodes and warehouse nodes;
    基于所述输入数据构建目标模型,所述目标模型包括基于决策变量的供应约束条件和目标函数,其中,所述供应约束条件为基于所述物料清单、所述制造周期和所述转运数据建立,所述供应约束条件用于约束所述工厂节点和所述仓库节点的库存状态保持稳定,所述库存状态基于所述制造周期和所述转运数据决定,所述决策变量为基于所述目标产品的需求得到,所述目标函数用于指示所述目标产品的排产计划的优化目标;A target model is constructed based on the input data, and the target model includes supply constraints and objective functions based on decision variables, wherein the supply constraints are established based on the bill of materials, the manufacturing cycle and the transshipment data, The supply constraints are used to constrain the inventory status of the factory node and the warehouse node to remain stable. The inventory status is determined based on the manufacturing cycle and the transportation data. The decision variable is based on the target product. The demand is obtained, and the objective function is used to indicate the optimization goal of the production schedule of the target product;
    调用求解器对所述目标模型进行求解,得到所述排产计划。The solver is called to solve the target model and the production scheduling plan is obtained.
  2. 根据权利要求1所述的方法,其特征在于,所述输入数据还包括所述工厂节点的产线物料关系;所述转运数据包括转运路径和转运周期;所述基于所述输入数据构建目标模型,包括:The method according to claim 1, wherein the input data also includes production line material relationships of the factory nodes; the transfer data includes transfer paths and transfer cycles; and the target model is constructed based on the input data. ,include:
    基于所述BOM、所述产线物料关系和所述转运路径,从所述多个节点中获取加工所述目标产品的目标工厂节点和存储所述目标产品对应物料的目标仓库节点;Based on the BOM, the production line material relationship and the transfer path, obtain the target factory node that processes the target product and the target warehouse node that stores the corresponding materials of the target product from the multiple nodes;
    基于所述制造周期和所述转运周期建立每个所述目标工厂节点和所述目标仓库节点的物料库存等式作为所述供应约束条件。A material inventory equation for each of the target factory node and the target warehouse node is established as the supply constraint based on the manufacturing cycle and the transfer cycle.
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述制造周期和所述转运周期建立每个所述目标工厂节点和所述目标仓库节点的物料库存等式作为所述供应约束条件,包括:The method according to claim 2, wherein the material inventory equation of each target factory node and the target warehouse node is established as the supply constraint based on the manufacturing cycle and the transfer cycle. ,include:
    根据所述BOM和所述制造周期,计算得到所述目标工厂节点的加工新增项和加工消耗项;According to the BOM and the manufacturing cycle, calculate the new processing items and processing consumption items of the target factory node;
    根据所述转运路径和所述转运周期,计算得到所述目标工厂节点和所述目标仓库节点的转入新增项和转出消耗项;According to the transshipment path and the transshipment cycle, calculate the transfer-in new items and transfer-out consumption items of the target factory node and the target warehouse node;
    根据所述加工新增项和所述转入新增项计算得到库存进项,根据所述加工消耗项和所述转出消耗项计算得到库存销项;The inventory input is calculated based on the new processing items and the transferred-in new items, and the inventory output is calculated based on the processing consumption items and the transferred-out consumption items;
    将所述库存进项和所述库存销项代入预设的库存关系式,建立所述物料库存等式作为所述供应约束条件。The inventory input items and the inventory output items are substituted into the preset inventory relationship equation, and the material inventory equation is established as the supply constraint condition.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述输入数据包括所述目标产品的需求优先级信息;所述基于所述输入数据构建目标模型,包括:The method according to any one of claims 1 to 3, wherein the input data includes demand priority information of the target product; and building a target model based on the input data includes:
    基于所述需求优先级信息建立所述目标函数。The objective function is established based on the demand priority information.
  5. 根据权利要求4所述的方法,其特征在于,所述输入数据还包括业务目标;所述基于所述需求优先级信息建立所述目标函数,包括:The method of claim 4, wherein the input data further includes business goals; and establishing the goal function based on the demand priority information includes:
    根据所述业务目标建立初始函数,所述初始函数为不考虑所述目标产品的需求优先级时指示所述目标产品的排产计划的优化目标的函数; Establish an initial function according to the business goal, and the initial function is a function that indicates the optimization goal of the production schedule of the target product without considering the demand priority of the target product;
    根据所述需求优先级信息确定惩罚系数,所述惩罚系数用于调整所述初始函数中各个所述决策变量在所述业务目标下的优先级;Determine a penalty coefficient according to the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal;
    将所述惩罚系数赋予所述初始函数中对应的决策变量,得到所述目标函数。The penalty coefficient is assigned to the corresponding decision variable in the initial function to obtain the objective function.
  6. 根据权利要求5所述的方法,其特征在于,在所述根据所述需求优先级信息确定惩罚系数之前,所述方法还包括:The method according to claim 5, characterized in that before determining the penalty coefficient according to the demand priority information, the method further includes:
    根据对应于所述决策变量的目标约束要素,计算预设的约束要素函数的可行域,所述目标约束要素为求解所述初始函数时影响所述决策变量在所述业务目标下的优先级的约束要素;Calculate the feasible region of the preset constraint element function according to the target constraint element corresponding to the decision variable. The target constraint element is the factor that affects the priority of the decision variable under the business goal when solving the initial function. Constraint elements;
    所述根据所述需求优先级信息确定惩罚系数,包括:Determining the penalty coefficient based on the demand priority information includes:
    根据所述决策变量的需求优先级和所述约束要素函数的可行域,确定所述惩罚系数。The penalty coefficient is determined according to the demand priority of the decision variable and the feasible region of the constraint factor function.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述获取输入数据,包括:The method according to any one of claims 1 to 6, characterized in that said obtaining input data includes:
    从基于所述供应体系中各个节点的企业资源计划ERP系统或制造执行系统MES构建的排产计算机网络中获取所述输入数据。The input data is obtained from a production scheduling computer network constructed based on an enterprise resource planning ERP system or a manufacturing execution system MES of each node in the supply system.
  8. 一种数据处理装置,其特征在于,所述装置包括:A data processing device, characterized in that the device includes:
    获取单元,用于获取输入数据,所述输入数据为多个工厂生产目标产品的相关数据,所述输入数据包括所述目标产品的需求、所述目标产品的供应体系中多个节点之间的转运数据,以及所述目标产品加工所需的物料清单BOM和制造周期,所述转运数据用于指示物料运输的路径和时间,所述多个节点包括工厂节点和仓库节点;An acquisition unit is used to acquire input data. The input data is data related to the target product produced by multiple factories. The input data includes the demand for the target product and the communication between multiple nodes in the supply system of the target product. Transshipment data, as well as the bill of materials BOM and manufacturing cycle required for processing the target product, the transshipment data is used to indicate the path and time of material transportation, and the multiple nodes include factory nodes and warehouse nodes;
    建模单元,用于基于所述输入数据构建目标模型,所述目标模型包括基于决策变量的供应约束条件和目标函数,其中,所述供应约束条件为基于所述制造周期和所述转运数据建立,所述供应约束条件用于约束所述工厂节点和所述仓库节点的库存状态保持稳定,所述库存状态基于所述制造周期和所述转运数据决定,所述决策变量为基于所述目标产品的需求得到,所述目标函数用于指示所述目标产品的排产计划的优化目标;A modeling unit configured to construct a target model based on the input data, the target model including supply constraints and an objective function based on decision variables, wherein the supply constraints are established based on the manufacturing cycle and the transportation data , the supply constraints are used to constrain the inventory status of the factory node and the warehouse node to remain stable. The inventory status is determined based on the manufacturing cycle and the transshipment data. The decision variable is based on the target product. The demand is obtained, and the objective function is used to indicate the optimization goal of the production schedule of the target product;
    求解单元,用于调用求解器对所述目标模型进行求解,得到所述排产计划。A solving unit is used to call a solver to solve the target model and obtain the production scheduling plan.
  9. 根据权利要求8所述的装置,其特征在于,所述输入数据还包括所述工厂节点的产线物料关系;所述转运数据包括转运路径和转运周期;所述建模单元具体用于:The device according to claim 8, characterized in that the input data also includes production line material relationships of the factory nodes; the transfer data includes transfer paths and transfer cycles; the modeling unit is specifically used to:
    基于所述BOM、所述产线物料关系和所述转运路径,从所述多个节点中获取加工所述目标产品的目标工厂节点和存储所述目标产品对应物料的目标仓库节点;Based on the BOM, the production line material relationship and the transfer path, obtain the target factory node that processes the target product and the target warehouse node that stores the corresponding materials of the target product from the multiple nodes;
    基于所述制造周期和所述转运周期建立每个所述目标工厂节点和所述目标仓库节点的物料库存等式作为所述供应约束条件。A material inventory equation for each of the target factory node and the target warehouse node is established as the supply constraint based on the manufacturing cycle and the transfer cycle.
  10. 根据权利要求9所述的装置,其特征在于,所述建模单元具体用于:The device according to claim 9, characterized in that the modeling unit is specifically used to:
    根据所述BOM和所述制造周期,计算得到所述目标工厂节点的加工新增项和加工消耗项;According to the BOM and the manufacturing cycle, calculate the new processing items and processing consumption items of the target factory node;
    根据所述转运路径和所述转运周期,计算得到所述目标工厂节点和所述目标仓库节点的转入新增项和转出消耗项;According to the transfer path and the transfer cycle, calculate the transferred-in new items and transferred-out consumption items of the target factory node and the target warehouse node;
    根据所述加工新增项和所述转入新增项计算得到库存进项,根据所述加工消耗项和所述转出消耗项计算得到库存销项; The inventory input is calculated based on the new processing items and the transferred-in new items, and the inventory output is calculated based on the processing consumption items and the transferred-out consumption items;
    将所述库存进项和所述库存销项代入预设的库存关系式,建立所述物料库存等式作为所述供应约束条件。The inventory input items and the inventory output items are substituted into the preset inventory relationship equation, and the material inventory equation is established as the supply constraint condition.
  11. 根据权利要求8至10中任一项所述的装置,其特征在于,所述建模单元具体用于:The device according to any one of claims 8 to 10, characterized in that the modeling unit is specifically used for:
    基于所述需求优先级信息建立所述目标函数。The objective function is established based on the demand priority information.
  12. 根据权利要求11所述的装置,其特征在于,所述输入数据还包括业务目标;所述建模单元具体用于:The device according to claim 11, characterized in that the input data also includes business goals; the modeling unit is specifically used to:
    根据所述业务目标建立初始函数,所述初始函数为不考虑所述目标产品的需求优先级时指示所述目标产品的排产计划的优化目标的函数;Establish an initial function according to the business goal, and the initial function is a function that indicates the optimization goal of the production schedule of the target product without considering the demand priority of the target product;
    根据所述需求优先级信息确定惩罚系数,所述惩罚系数用于调整所述初始函数中各个所述决策变量在所述业务目标下的优先级;Determine a penalty coefficient based on the demand priority information, and the penalty coefficient is used to adjust the priority of each decision variable in the initial function under the business goal;
    将所述惩罚系数赋予所述初始函数中对应的决策变量,得到所述目标函数。The penalty coefficient is assigned to the corresponding decision variable in the initial function to obtain the objective function.
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括:The device according to claim 12, characterized in that the device further includes:
    计算单元,用于根据对应于所述决策变量的目标约束要素,计算预设的约束要素函数的可行域,所述目标约束要素为求解所述初始函数时影响所述决策变量在所述业务目标下的优先级的约束要素;A calculation unit configured to calculate the feasible region of a preset constraint element function based on the target constraint element corresponding to the decision variable. The target constraint element affects the decision variable in the business goal when solving the initial function. Priority constraint elements under;
    所述建模单元具体用于:The modeling unit is specifically used for:
    根据所述决策变量的需求优先级和所述约束要素函数的可行域,确定所述惩罚系数。The penalty coefficient is determined according to the demand priority of the decision variable and the feasible region of the constraint factor function.
  14. 根据权利要求8至13中任一项所述的装置,其特征在于,所述获取单元具体用于:The device according to any one of claims 8 to 13, characterized in that the acquisition unit is specifically used to:
    从基于所述供应体系中各个节点的企业资源计划ERP系统或制造执行系统MES构建的排产计算机网络中获取所述输入数据。The input data is obtained from a production scheduling computer network constructed based on an enterprise resource planning ERP system or a manufacturing execution system MES of each node in the supply system.
  15. 一种计算机设备,其特征在于,包括:A computer device, characterized in that it includes:
    处理器、存储器;processor, memory;
    所述存储器中存储有指令操作或代码;Instruction operations or codes are stored in the memory;
    所述处理器配置为与所述存储器通信,并执行所述存储器中的指令操作或代码以执行权利要求1至7中任一所述的方法。The processor is configured to communicate with the memory and execute instruction operations or code in the memory to perform the method of any one of claims 1 to 7.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1至7中任一所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium includes instructions that, when run on a computer, cause the computer to perform the method according to any one of claims 1 to 7.
  17. 一种计算机程序产品,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机设备上运行时,使得所述计算机设备执行如权利要求1至7任一所述的方法。 A computer program product, characterized by comprising computer-readable instructions, which when run on a computer device, cause the computer device to perform the method according to any one of claims 1 to 7.
PCT/CN2023/084017 2022-04-18 2023-03-27 Data processing method and related apparatus WO2023202326A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210405762.4 2022-04-18
CN202210405762.4A CN116976576A (en) 2022-04-18 2022-04-18 Data processing method and related device

Publications (1)

Publication Number Publication Date
WO2023202326A1 true WO2023202326A1 (en) 2023-10-26

Family

ID=88419153

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/084017 WO2023202326A1 (en) 2022-04-18 2023-03-27 Data processing method and related apparatus

Country Status (2)

Country Link
CN (1) CN116976576A (en)
WO (1) WO2023202326A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117350520A (en) * 2023-12-04 2024-01-05 浙江大学高端装备研究院 Automobile production optimization method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050075949A1 (en) * 2000-12-29 2005-04-07 Uhrig Thomas C. Method and system for analyzing and planning an inventory
CN113673885A (en) * 2021-08-25 2021-11-19 浙江中控技术股份有限公司 Method and system for determining scheduling plan
CN114254927A (en) * 2021-12-22 2022-03-29 润联软件系统(深圳)有限公司 Production scheduling method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050075949A1 (en) * 2000-12-29 2005-04-07 Uhrig Thomas C. Method and system for analyzing and planning an inventory
CN113673885A (en) * 2021-08-25 2021-11-19 浙江中控技术股份有限公司 Method and system for determining scheduling plan
CN114254927A (en) * 2021-12-22 2022-03-29 润联软件系统(深圳)有限公司 Production scheduling method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117350520A (en) * 2023-12-04 2024-01-05 浙江大学高端装备研究院 Automobile production optimization method and system
CN117350520B (en) * 2023-12-04 2024-02-27 浙江大学高端装备研究院 Automobile production optimization method and system

Also Published As

Publication number Publication date
CN116976576A (en) 2023-10-31

Similar Documents

Publication Publication Date Title
Karmarkar Lot sizes, lead times and in-process inventories
US8407151B1 (en) System and method for generating shipment forecasts for materials handling facilities
CN110276571A (en) Cargo dispatching method and device and computer readable storage medium
WO2021218553A1 (en) Net-shaped supply chain decision method and device based on robot, and storage medium
Khalili-Damghani et al. A fuzzy bi-objective mixed-integer programming method for solving supply chain network design problems under ambiguous and vague conditions
Jung An available-to-promise model considering customer priority and variance of penalty costs
WO2023202326A1 (en) Data processing method and related apparatus
Saif et al. Drum buffer rope-based heuristic for multi-level rolling horizon planning in mixed model production
Peirleitner et al. A simulation approach for multi-stage supply chain optimization to analyze real world transportation effects
US7386358B2 (en) Available to promise allocation optimization tool
de Kok Modelling short-term manufacturing flexibility by human intervention and its impact on performance
Sai Suraj et al. Positioning of Inventory in Supply Chain Using Simulation Modeling.
Chiang et al. An order fulfillment model with periodic review mechanism in semiconductor foundry plants
WO2016079843A1 (en) Production plan adjustment assisting device and production plan adjustment assisting method
Rabbani et al. A new AATP model with considering supply chain lead-times and resources and scheduling of the orders in flowshop production systems: A graph-theoretic view
Zheng et al. Comparative study on push and pull production system based on Anylogic
Chen et al. An overview of workflow management system structure in the supply chain
Paul et al. Managing supply disruption in a three-tier supply chain with multiple suppliers and retailers
US20040122724A1 (en) System and method for generating priorities of manufacturing orders
Zhou et al. Comparison of production-triggering strategies for manufacturing enterprises under Random Orders
Dolgui et al. Optimization of supply chain planning under uncertainty
CN116384718B (en) Intelligent decision-based supplier joint scheduling method, system and equipment
Yan et al. An analysis of pricing power allocation in supply chains of random yield and random demand
Liu Simulation of lateral transshipment in order delivery under e-commerce environment
Albrecht et al. Scheduling in Supply Chain Management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23790986

Country of ref document: EP

Kind code of ref document: A1